html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 15px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-top: 100px;
    margin-bottom: 60px;
    font-size: 15px;
}


#mar_top{
    margin-top:100px;
}
.mar_top {
    margin-top:100px;
}
#home_bg {
    background-image: url(../lib/imgs/home/municipal.jpg);
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    width: 100%;
    height: 500px;
    background-size: cover;
    opacity: 0.9;
}
#Authentication{
    color:white;
    width:350px;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif

}
#auth_bg {
    background-image: url(../lib/imgs/home/municipal.jpg);
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    color: white;
    border-radius: 4px 0px 0px 4px;
    border-top: 3px solid orange;
}

#myInput {
    background-image: url('/css/searchicon.png'); /* Add a search icon to input */
    background-position: 10px 12px; /* Position the search icon */
    background-repeat: no-repeat; /* Do not repeat the icon image */
    width: 100%; /* Full-width */
    font-size: 16px; /* Increase font-size */
    padding: 12px 20px 12px 40px; /* Add some padding */
    border: 1px solid #ddd; /* Add a grey border */
    margin-bottom: 12px; /* Add some space below the input */
}

#myTable {
    border-collapse: collapse; /* Collapse borders */
    width: 100%; /* Full-width */
    border: 1px solid #ddd; /* Add a grey border */
    font-size: 18px; /* Increase font-size */
}

    #myTable th, #myTable td {
        text-align: left; /* Left-align text */
        padding: 12px; /* Add padding */
    }

    #myTable tr {
        /* Add a bottom border to all table rows */
        border-bottom: 1px solid #ddd;
    }

        #myTable tr.header, #myTable tr:hover {
            /* Add a grey background color to the table header and on hover */
            background-color: #f1f1f1;
        }



/* Style the button that is used to open and close the collapsible content */
.collapsible {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
}

    /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
    .active, .collapsible:hover {
        background-color: #ccc;
    }

/* Style the collapsible content. Note: hidden by default */
.content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: #f1f1f1;
}

/*-------------------------------------------------------------
  #-START#  GENERAL CSS STYLE - COVERS THE WHOLE SITE
---------------------------------------------------------------*/

/*--------------------------------------------------------------------------------------
       PRE LOADER   (Remember to return flex-flow, align-item, display to oringinal)           
  --------------------------------------------------------------------------------------*/

/* Absolute Center Spinner */
.loading {
    position: fixed;
    display: none;
    z-index: 1031;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

    /* Transparent Overlay */
    .loading:before {
        content: '';
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(147, 249, 121, 0.18);
    }

    /* :not(:required) hides these rules from IE9 and below */
    .loading:not(:required) {
        font: 0/0 a;
        color: transparent;
        text-shadow: none;
        background-color: transparent;
        border: 0;
    }

        .loading:not(:required):after {
            content: '';
            display: block;
            font-size: 10px;
            width: 1em;
            height: 1em;
            margin-top: -0.5em;
            -webkit-animation: spinner 1500ms infinite linear;
            -moz-animation: spinner 1500ms infinite linear;
            -ms-animation: spinner 1500ms infinite linear;
            -o-animation: spinner 1500ms infinite linear;
            animation: spinner 1500ms infinite linear;
            border-radius: 0.5em;
            -webkit-box-shadow: rgba(15, 8, 226, 1) 1.5em 0 0 0, rgba(15, 8, 226, 1) 1.1em 1.1em 0 0, rgba(15, 8, 226, 1) 0 1.5em 0 0, rgba(15, 8, 226, 1) -1.1em 1.1em 0 0, rgba(15, 8, 226, 1) -1.5em 0 0 0, rgba(15, 8, 226, 1) -1.1em -1.1em 0 0, rgba(15, 8, 226, 1) 0 -1.5em 0 0, rgba(15, 8, 226, 1) 1.1em -1.1em 0 0;
            box-shadow: rgba(254, 214, 0, 1) 1.5em 0 0 0, rgba(254, 214, 0, 1) 1.1em 1.1em 0 0, rgba(254, 214, 0, 1) 0 1.5em 0 0, rgba(254, 214, 0, 1) -1.1em 1.1em 0 0, rgba(254, 214, 0, 1) -1.5em 0 0 0, rgba(254, 214, 0, 1) -1.1em -1.1em 0 0, rgba(254, 214, 0, 1) 0 -1.5em 0 0, rgba(254, 214, 0, 1) 1.1em -1.1em 0 0;
        }

/* Animation */
@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}


#toast-container > .toast {
    width: 1200px; /* width: 100% */
}
/*--------------------------------------------------------------------------------------
       CONTROLS  (Remember this includes form controls etc.)           
  --------------------------------------------------------------------------------------*/

/* Search Textboxes on each page */
.searchPhraseTextbox {
    height: 30px;
    border-radius: 0px;
    padding-left: 2px;
    padding:2px;
    width: 215px;
    border: 1px solid #808080;
}

/* dropdown control css on each page */
.wardDropdownFilter {
    border-radius: 0px;
    height: 28px;
    padding-left: 2px;
    width: 205px;
    border: 1px solid grey;
}
.dd {
font-size: 14px;
padding: 12px 15px;
box-shadow: none;
border-radius: 0;
color: var(--default-color);
background-color: var(--surface-color);
border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.tb {
    height:42px;
    font-size: 14px;
    padding: 12px 15px;
    box-shadow: none;
    border-radius: 0;margin-right:5px;
    color: var(--default-color);
    background-color: var(--surface-color);
    border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

/*-------------------------------------------------------------
  #-END#  GENERAL CSS STYLE - COVERS THE WHOLE SITE
---------------------------------------------------------------*/
.ag-format-container {
    width: 100%;
    margin: 0 auto;
}


body {
    background-color: forestgreen;
}

.ag-courses_box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 50px 0;
}

.ag-courses_item {
    -ms-flex-preferred-size: calc(33.33333% - 30px);
    flex-basis: calc(33.33333% - 30px);
    margin: 0 15px 30px;
    overflow: hidden;
    border-radius: 28px;
}

.ag-courses-item_link {
    display: block;
    padding: 30px 20px;
    background-color: #121212;
    overflow: hidden;
    position: relative;
    background-color: forestgreen;
}

    .ag-courses-item_link:hover,
    .ag-courses-item_link:hover .ag-courses-item_date .ag-span{
        text-decoration: none;
        color: #FFF;
    }

        .ag-courses-item_link:hover .ag-courses-item_bg {
            -webkit-transform: scale(10);
            -ms-transform: scale(10);
            transform: scale(10);
        }

.ag-courses-item_title {
    min-height: 87px;
    margin: 0 0 25px;
    overflow: hidden;
    font-weight: bold;
    font-size: 27px;
    color: #FFF;
    z-index: 2;
    position: relative;
}

.ag-courses-item_date-box {
    font-size: 18px;
    color: #FFF;
    z-index: 2;
    position: relative;
}

.ag-courses-item_date {
    font-weight: bold;
    color: #f9b234;
    -webkit-transition: color .5s ease;
    -o-transition: color .5s ease;
    transition: color .5s ease
}

.ag-courses-item_bg {
    height: 128px;
    width: 128px;
    background-color: #f9b234;
    z-index: 1;
    position: absolute;
    top: -75px;
    right: -75px;
    border-radius: 50%;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.ag-courses_item:nth-child(2n) .ag-courses-item_bg {
    background-color: #4c49ea;
}

.ag-courses_item:nth-child(3n) .ag-courses-item_bg {
    background-color: #e44002;
}

.ag-courses_item:nth-child(4n) .ag-courses-item_bg {
    background-color: #952aff;
}

.ag-courses_item:nth-child(5n) .ag-courses-item_bg {
    background-color: #cd3e94;
}

.ag-courses_item:nth-child(6n) .ag-courses-item_bg {
    background-color: #3ecd5e;
}



@media only screen and (max-width: 979px) {
    .ag-courses_item {
        -ms-flex-preferred-size: calc(50% - 30px);
        flex-basis: calc(50% - 30px);
    }

    .ag-courses-item_title {
        font-size: 24px;
    }
}

@media only screen and (max-width: 767px) {
    .ag-format-container {
        width: 96%;
    }
}

@media only screen and (max-width: 639px) {
    .ag-courses_item {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
    }

    .ag-courses-item_title {
        min-height: 72px;
        line-height: 1;
        font-size: 24px;
    }

    .ag-courses-item_link {
        padding: 22px 40px;
    }

    .ag-courses-item_date-box {
        font-size: 16px;
    }
}
/*--------------------------------------------------------------------------------------
     START  BREADCRUMBS  ()           
  --------------------------------------------------------------------------------------*/

/*--------------------------------------------------------------------------------------
       END           
  --------------------------------------------------------------------------------------*/

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    background-color: #eee;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

    .sidenav a {
        padding: 8px 8px 8px 32px;
        text-decoration: none;
        font-size: 20px;
        color: darkgreen;
        display: block;
        transition: 0.3s;
    }

        .sidenav a:hover {
            color: #f1f1f1;
        }

    .sidenav .closebtn {
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 36px;
        margin-left: 50px;
    }

.logo-img-front {
    width: 132px;
    height: 200px;
    border-radius: 10px;
    background-color: ghostwhite;
    font-family: Bahnschrift;
}

    .logo-img-front .main-header {
        font-family: Corbel;
        font-size: 60px;
    }

.Authentication {
    border-left: 2px solid orange;
    background-color: forestgreen;
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

        .sidenav a {
            font-size: 18px;
        }
}


@media only screen and (max-width: 600px) {
}

@media only screen and (max-width: 560px) {
}

@media only screen and (max-width: 500px) {

    .logo-img-front {
        width: 62px;
        height: 70px;
        border-radius: 5px;
        background-color: ghostwhite;
        font-family: Bahnschrift;
    }

        .logo-img-front .main-header {
            font-family: Corbel;
            font-size: 15px;
        }

        .logo-img-front .h1 {
            font-size: 10px;
        }

    .Authentication {
        border-bottom: 2px solid orange;
        background-color: forestgreen;
        align-content: center;
        justify-content: center;
        margin-top: 5px;
    }
}

@media only screen and (max-width: 480px) {

    .navbar-mobile .dropdown > .dropdown-active {
        display: block;
        width: 340px;
    }

    .logo-img-front {
        width: 82px;
        height: 90px;
        border-radius: 5px;
        background-color: ghostwhite;
        font-family: Bahnschrift;
    }

        .logo-img-front .main-header {
            font-family: Corbel;
            font-size: 15px;
        }

        .logo-img-front .h1 {
            font-size: 10px;
        }

    .Authentication {
        border-bottom: 2px solid orange;
        background-color: forestgreen;
        align-content: center;
        justify-content: center;
        margin-top: 5px;
        text-align: center;
    }
}
/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .content h3 {
    font-weight: 400;
    font-size: 34px;
}

.faq .content p {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.faq .faq-container {
    margin-top: 15px;
}

    .faq .faq-container .faq-item {
        background-color: var(--surface-color);
        position: relative;
        padding: 20px;
        margin-bottom: 20px;
        box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }

        .faq .faq-container .faq-item:last-child {
            margin-bottom: 0;
        }

        .faq .faq-container .faq-item h3 {
            font-weight: 600;
            font-size: 17px;
            line-height: 24px;
            margin: 0 30px 0 32px;
            transition: 0.3s;
            cursor: pointer;
        }

            .faq .faq-container .faq-item h3 span {
                color: var(--accent-color);
                padding-right: 5px;
            }

            .faq .faq-container .faq-item h3:hover {
                color: var(--accent-color);
            }

        .faq .faq-container .faq-item .faq-content {
            display: grid;
            grid-template-rows: 0fr;
            transition: 0.3s ease-in-out;
            visibility: hidden;
            opacity: 0;
        }

            .faq .faq-container .faq-item .faq-content p {
                margin-bottom: 0;
                overflow: hidden;
            }

        .faq .faq-container .faq-item .faq-icon {
            position: absolute;
            top: 22px;
            left: 20px;
            font-size: 22px;
            line-height: 0;
            transition: 0.3s;
            color: var(--accent-color);
        }

        .faq .faq-container .faq-item .faq-toggle {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 16px;
            line-height: 0;
            transition: 0.3s;
            cursor: pointer;
        }

            .faq .faq-container .faq-item .faq-toggle:hover {
                color: var(--accent-color);
            }

    .faq .faq-container .faq-active h3 {
        color: var(--accent-color);
    }

    .faq .faq-container .faq-active .faq-content {
        grid-template-rows: 1fr;
        visibility: visible;
        opacity: 1;
        padding-top: 10px;
    }

    .faq .faq-container .faq-active .faq-toggle {
        transform: rotate(90deg);
        color: var(--accent-color);
    }



#portfolio-flters {
    display: inline-block;
    background: #E8F5E9;
    padding: 10px 15px;
}

    #portfolio-flters li {
        display: inline-block;
        font-weight: 500;
        color: #348E38;
        cursor: pointer;
        transition: .5s;
        border-bottom: 2px solid transparent;
    }

        #portfolio-flters li:hover,
        #portfolio-flters li.active {
            color: #0F4229;
            border-color: #0F4229;
        }

.portfolio-inner {
    position: relative;
    overflow: hidden;
}

    .portfolio-inner::before,
    .portfolio-inner::after {
        position: absolute;
        content: "";
        width: 0;
        height: 100%;
        top: 0;
        left: 0;
        background: rgba(15, 66, 41, .6);
        transition: .5s;
    }

    .portfolio-inner::after {
        left: auto;
        right: 0;
    }

    .portfolio-inner:hover::before,
    .portfolio-inner:hover::after {
        width: 50%;
    }

    .portfolio-inner .portfolio-text {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: .5s;
        z-index: 3;
        opacity: 0;
    }

    .portfolio-inner:hover .portfolio-text {
        transition-delay: .3s;
        opacity: 1;
    }

    .portfolio-inner .portfolio-text .btn {
        background: #E8F5E9;
        color: #348E38;
    }

        .portfolio-inner .portfolio-text .btn:hover {
            background: #348E38;
            color: #E8F5E9;
        }
