

.mayor-section {
    position: relative;
    padding: 100px 0px 110px;
    background: #f1f1f1;
}

.mayor-section.alternate {
    background: none;
}

.mayor-section .sec-title {
    margin-bottom: 50px;
}

.mayor-block {
    position: relative;
    margin-bottom: 10px;
}

.owl-theme .mayor-block {
    padding: 0;
    margin-bottom: 0;
}

.mayor-block .inner-box {
    position: relative;
    display: block;
    text-align: center;
}

.mayor-block .image-box {
    position: relative;
    display: block;
    overflow: hidden;
    padding: 0;
}

.mayor-block .image,
.mayor-block .image img {
    display: block;
    width: 100%;
}

.mayor-block .hover-box {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgb(10 89 158 / 80%);
    color: #dedede;
    opacity: 0;
    visibility: hidden;
    -ms-transform: translateY(-30px);
    transform: translateY(-30px);
    transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

.mayor-section.alternate .hover-box {
    background: rgba(255, 255, 255, 0.95);
}

.mayor-block .inner-box:hover .hover-box {
    opacity: 1;
    visibility: visible;
    -ms-transform: translateY(0px);
    transform: translateY(0px);
}

.mayor-block .hover-box .hover-inner {
    position: relative;
    display: block;
    padding: 60px 20px 20px;
}

.mayor-block .hover-box .icon-box {
    position: relative;
    display: block;
    font-size: 48px;
    line-height: 1em;
    color: #ffffff;
    margin: 0 0 20px;
}

.alternate .mayor-block .hover-box .icon-box {
    color: #ed1c24;
}

.alternate .mayor-block .hover-upper h6 {
    color: #222222;
}

.alternate .mayor-block .hover-upper {
    border-bottom-color: rgba(0, 0, 0, 0.10);
}

.mayor-block .hover-upper {
    position: relative;
    display: block;
    margin: 40px 10px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.30);
}

.mayor-block .hover-upper h6 {
    font-size: 24px;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 0 10px;
}

.mayor-block .hover-lower {
    position: relative;
    display: block;
}

.mayor-block .info {
    position: relative;
    font-size: 15px;
    line-height: 24px;
}

.mayor-block .info li {
    position: relative;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 5px;
}

.mayor-block .info li a {
    color: #dedede;
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

.alternate .mayor-block .info li,
.alternate .mayor-block .info li a {
    color: #757575;
}

.mayor-block .info li a:hover {
    color: #ed1c24;
    text-decoration: underline;
}

.mayor-block .social-links {
    position: relative;
    padding-top: 20px;
}

.mayor-block .social-links li {
    position: relative;
    display: inline-block;
    vertical-align: top;
    margin: 0px 8px;
}

.mayor-block .social-links li a {
    color: #dedede;
    font-size: 14px;
    line-height: 24px;
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

.alternate .social-links li a {
    color: #aaaaaa;
}

.mayor-block .social-links li a:hover {
    color: #ed1c24;
}

.mayor-block .lower-box {
    position: relative;
    display: block;
    padding: 15px 15px 15px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-top: none;
    overflow: hidden;
    background: #fcfcfc;
}

.mayor-block .lower-box:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #ed1c24;
    opacity: 0;
    visibility: hidden;
    -ms-transform: translateY(30px);
    transform: translateY(30px);
    transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

.mayor-block .inner-box:hover .lower-box:before {
    opacity: 1;
    visibility: visible;
    -ms-transform: translateY(0px);
    transform: translateY(0px);
}

.mayor-block .lower-box h4 {
    position: relative;
    margin-bottom: 5px;
    font-weight: 700;
    z-index: 1;
}

.mayor-block .lower-box h4 a {
    color: #222222;
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

.mayor-block .inner-box:hover .lower-box h4 a {
    color: #ffffff;
}

.mayor-block .lower-box h4 a:hover {
    text-decoration: underline;
}

.mayor-block .lower-box .designation {
    position: relative;
    color: #ed1c24;
    font-weight: 500;
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    z-index: 1;
}

.mayor-block .inner-box:hover .lower-box .designation {
    color: #ffffff;
}

.mayor-carousel .owl-nav {
    display: none;
}

.mayor-carousel .owl-dots {
    position: relative;
    display: block;
    padding-top: 40px;
    width: 100%;
    text-align: center;
}

.mayor-carousel .owl-dots .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0px 10px;
}

.mayor-carousel .owl-dots .owl-dot span {
    position: relative;
    display: block;
    width: 3px;
    height: 3px;
    background: #aaaaaa;
    outline: 2px solid rgba(0, 0, 0, 0);
    outline-offset: 4px;
}

.mayor-carousel .owl-dots .owl-dot.active span {
    background: #ed1c24;
    outline-color: #ed1c24;
}



.services-row ul li {
    position: relative;
    padding-left: 20px;
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 15px;
}

.services-row ul li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border: 2px solid rgba(255, 255, 255, 0.70);
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

.services-row ul li:hover:before {
    background: #ffffff;
    border-color: #ffffff;
}

.services-row ul li a {
    position: relative;
    display: inline-block;
    color: #ffffff;
}

.services-row ul li a:hover {
    position: relative;
    display: inline-block;
    color: #2ea0ff;
}

.services-row ul li a:after {
    content: "\f1bd";
    font-family: 'Flaticon';
    position: relative;
    display: inline-block;
    vertical-align: middle;
    padding-left: 7px;
    font-size: 16px;
    font-weight: 400;
}
