/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
    width: 100%;
    background: url("../images/wave1.png") top center;
    background-size: cover;
    position: relative;
    z-index: 3;
    min-height: 50vh !important;
    padding: 60px 0 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero:after {
    width: 0 !important;
}
.hero .hero-logo {
    width: 150px;
    /*margin: 0 auto;*/
}

.img-hero-avatar {
    max-width: 250px;
    /*height: 220px;*/
    max-height: 300px;
    margin: 0 auto;
    background-size: cover;
    background-position: center center;
    border: 4px solid #E8E9EE;
    border-radius: 5%;
    background-repeat: no-repeat;
    transition: 0.5s;
    overflow:hidden;
}
.img-hero-avatar:hover{
    box-shadow:0 0 8rem -2rem #eeeeee;
}

.img-hero-avatar img{
    width:100%;
    transition: 0.5s;
}
.img-hero-avatar:hover img{
    transform:scale(1.1);
}

@media (min-width: 1365px) {
    .hero {
        background-attachment: fixed;
    }
}
@media (min-width: 1034px) {
    .hero:after {
        position: absolute;
        content: "";
        width: 40%;
        top: 0;
        bottom: 0;
    }
}

.hero:before {
    position: absolute;
    content: "";
    background: rgba(27, 47, 69, 0.48);
    inset: 0;
}

@media (max-width: 1034px) {
    .hero:before {
        background: rgba(27, 47, 69, 0.48);
    }
}

.hero .container {
    z-index: 1;
}


.hero h2.title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    padding-top: 50px;
}

.hero h2 {
    margin: 0;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

@media (max-width: 640px) {
    .hero h2 {
        font-size: 36px;
        line-height: 1;
    }
}


@media (max-width: 767px) {
    .hero{
        padding-top: 20px;
    }
    .hero h2 {
        padding-top: 10px;
        font-size: 2rem;
    }
}

@media (max-width: 577px) {
    .hero .icon-logo-text span {
        display: inline !important;
    }

    .hero .hero-line {
        width: 100% !important;
        height: 1px !important;
    }

}


@media (max-width: 640px) {
    .hero h2.title {
        font-size: 36px;
    }

    .section-title h2{
        line-height: normal;
    }
    .section-title h2::after{
        display: block;
        margin: 4px 10px 4px 0;
        width: 100%;
        background: linear-gradient(#e01c0e, #f9e10b 80%, #fcfbb3);
    }

}

@media (min-width: 1365px) {
    .hero {
        background-attachment: fixed;
    }
}


.hero .icon-boxes {
    padding-bottom: 10px;

}

@media (max-width: 992px) {
    .hero .hero-logo {
        margin: 0 auto;

    }

    .hero h2 {
        text-align: center;
    }
}

@media (min-width: 1200px) {
    .hero .icon-boxes:before {

    }
}

.hero .icon-box {
    padding: 20px;
    position: relative;
    overflow: hidden;
    background: #413e97;
    box-shadow: 0 0 29px 0 rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease-in-out;
    border-radius: 8px;
    z-index: 1;
    height: 100%;
    width: 100%;
    text-align: center;
}

.hero .icon-box .title {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 24px;
}

.hero .icon-box .title a {
    color: red;
    transition: 0.3s;
}

.hero .icon-box .icon {
    margin-bottom: 20px;
    padding-top: 10px;
    display: inline-block;
    transition: all 0.3s ease-in-out;
    font-size: 48px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.6);
}

.hero .icon-box:hover {
    background: #413e97e6;
    box-shadow: 0 0 29px 0 rgba(0, 0, 0, 0.4);
}

.hero .icon-box:hover .title a,
.hero .icon-box:hover .icon {
    color: #fff;
}


.hero .hero-line {
    /*width: 3px;*/
    /*height: 100%;*/
    width: 100% !important;
    height: 1px !important;
    /*background: linear-gradient(#e01c0e, #f9e10b 80%, #fcfbb3);*/
    background: linear-gradient(#e01c0e, #cd3333 80%, #fcfbb3);
}

.hero .icon-logo-text {
    color: #fff;
    text-align: center;
}

.hero .icon-logo-text span {
    display: block;
}

@media (max-width: 768px) {
    .hero{
        padding: 0;
    }
    .hero h2.title{
        font-size: 1.5rem;
    }

    .hero .hero-waves{
        height: 20px;
    }

    .top_feature_page_menu li{
        padding: 10px;
    }
    .top_feature_page_menu li a{
        font-size: 1.25rem !important;
    }
}
.municipality-services-front-header{
    margin-top: 0 !important;
}


/* Waves effect */

.hero-waves {
    display: block;
    width: 100%;
    height: 25px;
    position: absolute;
    bottom: 0;
}

#preloader .hero-waves {
    /*background: #354c5ed1;*/
    background: #f1b20f;
    top: 0;
    height: 10px;
}

.wave1 use {
    -webkit-animation: move-forever1 10s linear infinite;
    animation: move-forever1 10s linear infinite;
    -webkit-animation-delay: -2s;
    animation-delay: -2s;
}

.wave2 use {
    -webkit-animation: move-forever2 8s linear infinite;
    animation: move-forever2 8s linear infinite;
    -webkit-animation-delay: -2s;
    animation-delay: -2s;
}

.wave3 use {
    -webkit-animation: move-forever3 6s linear infinite;
    animation: move-forever3 6s linear infinite;
    -webkit-animation-delay: -2s;
    animation-delay: -2s;
}

@-webkit-keyframes move-forever1 {
    0% {
        transform: translate(85px, 0%);
    }

    100% {
        transform: translate(-90px, 0%);
    }
}

@keyframes move-forever1 {
    0% {
        transform: translate(85px, 0%);
    }

    100% {
        transform: translate(-90px, 0%);
    }
}

@-webkit-keyframes move-forever2 {
    0% {
        transform: translate(-90px, 0%);
    }

    100% {
        transform: translate(85px, 0%);
    }
}

@keyframes move-forever2 {
    0% {
        transform: translate(-90px, 0%);
    }

    100% {
        transform: translate(85px, 0%);
    }
}

@-webkit-keyframes move-forever3 {
    0% {
        transform: translate(-90px, 0%);
    }

    100% {
        transform: translate(85px, 0%);
    }
}

@keyframes move-forever3 {
    0% {
        transform: translate(-90px, 0%);
    }

    100% {
        transform: translate(85px, 0%);
    }
}
.municipality-services-front-header{
    position: relative;
}
