html {
    --scrollbarBG: #cfd8dc;
    --thumbBG: #90a4ae;
}

body::-webkit-scrollbar-thumb {
    width: 16px;
    border-radius: 8px;
    border: 4px solid transparent;
    background-clip: content-box;
    background-color: rgb(170, 170, 170);
}
body::-webkit-scrollbar-thumb:hover {
    background-color: gray;
}

body::-webkit-scrollbar {
    width: 16px;
}

body::-webkit-scrollbar-track {
    background: transparent;
}

.page-bg-wrapper .page-bg-img:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgb(255, 255, 255);
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.01) 0%,
        rgba(255, 255, 255, 1) 100%
    );
    height: 50%;
    width: 100%;
}

/* Home Slider */
#home-slider {
    width: 100%;
    height: calc((9 / 16) * 100vw);
    /* max-height: calc(100vh - 120px); */
    max-height: 100vh;
    /* min-height: 580px; */
    /* iPhone 6/7/8 */
    min-height: 667px;
}

#home-slider .slide-image::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 220px;
    left: 0%;
    right: 0%;
    top: 0%;
    bottom: 74.01%;
    background: linear-gradient(180deg, #2b303b 0, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

#home-slider .slide-image > * {
    z-index: 10;
}

@media (max-width: 768px) {
    #home-slider .swiper-pagination {
        bottom: 30px !important;
    }
}

#home-slider .swiper-pagination {
    bottom: 160px;
}

#home-slider .swiper-pagination .swiper-pagination-bullet {
    border: transparent;
    height: 10px;
    width: 10px;
    opacity: 0.4;
    /* border: white solid 1px; */
    background-color: rgba(255, 255, 255, 0.7);
    /* transition: 0.3s all linear; */
}

#home-slider .swiper-pagination .swiper-pagination-bullet-active {
    height: 16px;
    width: 16px;
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}

#home-slider .swiper-button-next,
#home-slider .swiper-button-prev,
#home-mayor-slider .swiper-button-next,
#home-mayor-slider .swiper-button-prev {
    color: white !important;
    opacity: 0.4;
}

@media (min-width: 1024px) {
    #home-slider .swiper-button-next {
        right: 70px;
    }
    #home-slider .swiper-button-prev {
        left: 70px;
    }
    #home-slider .swiper-button-prev {
        top: 50%;
    }
}
@media (max-width: 768px) {
    #home-slider .swiper-button-prev,
    #home-slider .swiper-button-next {
        top: unset;
        bottom: 16px;
    }
    #home-slider .swiper-button-prev::after,
    #home-slider .swiper-button-next::after {
        font-size: 24px;
        font-weight: bold;
    }
}

#home-slider .swiper-button-next:hover,
#home-slider .swiper-button-prev:hover,
#home-mayor-slider .swiper-button-next:hover,
#home-mayor-slider .swiper-button-prev:hover {
    /* color: white !important; */
    opacity: 1;
    transition: 0.3s all ease-in-out;
    text-shadow: 0 0 2px #000000;
}

/* Home News Slider */
:is(#home-news-slider, #app-promises-slider) :is(.swiper-button-next, .swiper-button-prev) {
    color: white !important;
    /*opacity: 0.4;*/
}

:is(#home-news-slider, #app-promises-slider) :is(.swiper-button-next, .swiper-button-prev):hover {
    /* color: white !important; */
    opacity: 1;
    transition: 0.3s all ease-in-out;
    text-shadow: 0 0 2px #000000;
}

:is(#home-news-slider, #app-promises-slider) .swiper-button-prev {
    left: 28px;
}

:is(#home-news-slider, #app-promises-slider) .swiper-button-next {
    right: 28px;
}

:is(#home-news-slider, #app-promises-slider) :is(.swiper-button-next, .swiper-button-prev)::after {
    font-size: 24px;
    font-weight: bold;
}

#home-news-slider .slide-image::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 220px;
    left: 0%;
    bottom: 0;
    background: linear-gradient(0, #000 0, rgba(0, 0, 0, 0) 100%);
    z-index: 11;
}

#home-news-slider .slide-image > * {
    z-index: 10;
}

:is(#home-news-slider, #app-promises-slider) .swiper-pagination {
    bottom: 28px;
    left: 28px;
}

:is(#home-news-slider, #app-promises-slider, #home-mayor-slider) .swiper-pagination .swiper-pagination-bullet {
    border: transparent;
    height: 10px;
    width: 10px;
    opacity: 0.4;
    margin: 0 6px;
    /* border: white solid 1px; */
    background-color: rgba(255, 255, 255, 0.7);
    /* transition: 0.3s all linear; */
}

:is(#home-news-slider, #app-promises-slider, #home-mayor-slider) .swiper-pagination .swiper-pagination-bullet-active{
    opacity: 1;
    background-color: white;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}

/* Quick Menu */

.item-nav {
    top: -250px;
    height: 250px;
    overflow-y: auto;
    z-index: 999999;
    scrollbar-color: rgba(255, 255, 255, 0.3) rgba(255, 255, 255, 0.2);
    scrollbar-width: thin;
}

/*.item-nav::-webkit-scrollbar-track*/
/*.item-nav::-webkit-scrollbar-track-piece*/

.item-nav::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}
.item-nav::-webkit-scrollbar {
    width: 8px;
}
.item-nav a {
    transition: all 0.3s;
}
.item-nav a:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.nav-box-border::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.4);
    height: 5px;
    width: 0;
    -webkit-transition: width 0.3s;
    transition: width 0.3s;
}

.nav-box-border:hover::before {
    width: 100%;
}
.nav-box-cyan {
    background-color: rgba(47, 107, 122, 0.8);
}
.nav-box-green {
    background-color: rgba(129, 162, 118, 0.8);
}
.nav-box-blue {
    background-color: rgba(118, 134, 165, 0.8);
}
.nav-box-red {
    background-color: rgba(133, 105, 126, 0.8);
}

article h1 {
    font-size: 3rem;
    line-height: 3.7rem;
}

article h2 {
    font-size: 2.5rem;
    line-height: 3rem;
}

article h3 {
    font-size: 2rem;
    line-height: 2.3rem;
}

article h4 {
    font-size: 1.75rem;
    line-height: 2rem;
}

article h5 {
    font-size: 1.5rem;
    line-height: 1.7rem;
}

article h6 {
    font-size: 1.25rem;
    line-height: 1.5rem;
}

article p,
article ul,
article ol {
    /*font-size: 1.25rem;*/
    /*line-height: 2rem;*/
    font-size: 1.4rem;
    line-height: 2.26rem;
    word-break: break-word;
}

article ul:not(.collapsable) {
    list-style-type: disc;
}

article ol {
    list-style-type: decimal;
}

article :is(ul, ol):not(.collapsable) {
    margin: 0 20px !important;
}

article :is(ol, ul):not(.collapsable) li {
    padding-left: 12px;
}

article a {
    font-weight: bold;
}

article a:hover {
    color: #ffc107e6;
}

article table thead tr {
    background-color: #f9fafb;
    border-bottom: 1px solid #e5e8eb;
}

article table {
    border-style: solid;
    /* border-width: 1px; */
    border-color: #e5e8eb;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

article table tr td {
    padding: 8px 10px;
    font-size: 18px;
}
article table tr:nth-child(even) {
    background-color: #f6f6f7;
}

blockquote {
    width: 100%;
    font-size: 2rem;
    line-height: 1.6;
    border-radius: 8px;
    margin: 50px auto;
    color: #e0e0e0;
    padding: 1.2em 30px 1.2em 75px;
    border-left: 8px solid #78c0a8;
    position: relative;
    background: #425261;
}

blockquote::after {
    content: "";
}

blockquote::before {
    font-family: Arial;
    content: "\201C";
    color: #78c0a8;
    font-size: 4em;
    position: absolute;
    left: 10px;
    top: -10px;
}

blockquote p {
    display: block;
    font-size: 1.6rem;
    line-height: 2rem;
    color: #d0d4d8;
    margin-top: 1em;
}

@media screen and (max-width: 728px) {
    blockquote p {
        font-size: 1.4rem;
        line-height: 1.7rem;
    }
}

blockquote p:last-child {
    margin: 0;
}

video {
    outline: none;
}

.marquee {
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.marquee::before {
    content: "\00a0";
}

/* .marquee:hover .scrolling {
  animation: marquee 0s linear infinite;
} */

.scrolling {
    animation: marquee 16s linear infinite;
    display: inline-block;
    min-width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    white-space: nowrap;
}

@keyframes marquee {
    from {
        transform: translateX(-100);
    }
    to {
        transform: translateX(-100%);
    }
}

ul li.manager-active {
    border-left: 4px solid red;
}

.section-mayor {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    /* width: auto; */
    -webkit-clip-path: polygon(
        50% 40px,
        100% 0,
        100% 100%,
        50% 90%,
        0 100%,
        0 0
    );
    clip-path: polygon(50% 40px, 100% 0, 100% 100%, 100% 100%, 0 100%, 0 0);
    height: 540px;
    z-index: 1;
    background-image: url(/assets/bg/section-cover.jpg);
}

@media (max-width: 768px) {
    .section-mayor {
        /* clip-path: polygon(50% 5%, 100% 0, 100% 100%, 50% 95%, 0 100%, 0 0); */
        clip-path: none;
    }
}
@media (min-width: 1024px) {
    .section-mayor {
        clip-path: polygon(50% 10%, 100% 0, 100% 100%, 100% 100%, 0 100%, 0 0);
    }
}


.pin {
    width: 30px;
    height: 30px;
    border-radius: 50% 50% 50% 0;
    background: #89849b;
    position: absolute;
    transform: rotate(-45deg);
    left: 50%;
    top: 50%;
    margin: -20px 0 0 -20px;
    animation-name: pin_bounce;
    animation-fill-mode: both;
    animation-duration: 1s;
}
.pin:after {
    content: '';
    width: 14px;
    height: 14px;
    margin: 8px 0 0 8px;
    background: #2f2f2f;
    position: absolute;
    border-radius: 50%;
}
.pulse {
    background: rgba(0,0,0,0.2);
    border-radius: 50%;
    height: 14px;
    width: 14px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: 11px 0px 0px -12px;
    transform: rotateX(55deg);
    z-index: -2;
}
.pulse:after {
    content: "";
    border-radius: 50%;
    height: 40px;
    width: 40px;
    position: absolute;
    margin: -13px 0 0 -13px;
    animation: pulsate 1s ease-out;
    animation-iteration-count: infinite;
    opacity: 0;
    box-shadow: 0 0 1px 2px #89849b;
    animation-delay: 1.1s;
}
@-moz-keyframes pulsate {
    0% {
        transform: scale(0.1, 0.1);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1.2, 1.2);
        opacity: 0;
    }
}
@-webkit-keyframes pulsate {
    0% {
        transform: scale(0.1, 0.1);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1.2, 1.2);
        opacity: 0;
    }
}
@-o-keyframes pulsate {
    0% {
        transform: scale(0.1, 0.1);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1.2, 1.2);
        opacity: 0;
    }
}
@keyframes pulsate {
    0% {
        transform: scale(0.1, 0.1);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1.2, 1.2);
        opacity: 0;
    }
}
@-moz-keyframes pin_bounce {
    0% {
        opacity: 0;
        transform: translateY(-2000px) rotate(-45deg);
    }
    60% {
        opacity: 1;
        transform: translateY(30px) rotate(-45deg);
    }
    80% {
        transform: translateY(-10px) rotate(-45deg);
    }
    100% {
        transform: translateY(0) rotate(-45deg);
    }
}
@-webkit-keyframes pin_bounce {
    0% {
        opacity: 0;
        transform: translateY(-2000px) rotate(-45deg);
    }
    60% {
        opacity: 1;
        transform: translateY(30px) rotate(-45deg);
    }
    80% {
        transform: translateY(-10px) rotate(-45deg);
    }
    100% {
        transform: translateY(0) rotate(-45deg);
    }
}
@-o-keyframes pin_bounce {
    0% {
        opacity: 0;
        transform: translateY(-2000px) rotate(-45deg);
    }
    60% {
        opacity: 1;
        transform: translateY(30px) rotate(-45deg);
    }
    80% {
        transform: translateY(-10px) rotate(-45deg);
    }
    100% {
        transform: translateY(0) rotate(-45deg);
    }
}
@keyframes pin_bounce {
    0% {
        opacity: 0;
        transform: translateY(-2000px) rotate(-45deg);
    }
    60% {
        opacity: 1;
        transform: translateY(30px) rotate(-45deg);
    }
    80% {
        transform: translateY(-10px) rotate(-45deg);
    }
    100% {
        transform: translateY(0) rotate(-45deg);
    }
}

.promise-card h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}
