@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap');

@font-face {
    font-family: 'TNR';
    src: url(./TNR.ttf);
}

@font-face {
    font-family: 'OPTIBankGothic-Medium';
    src: url(./OPTIBankGothic-Medium.otf);
}

* {
    font-family: 'Montserrat', sans-serif;
    transition: all .4s ease-in-out;
}

h1,
p {
    font-family: TNR !important;
}

.font-bank {
    font-family: 'OPTIBankGothic-Medium';
}

body {
    background-image: url(./img/bg.png);
    background-size: cover;
}

.bg-custom {
    background-color: #175989;
}

.text-custom {
    color: #175989;
}

.panel {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    width: 100%;
    height: 100%;
}

.panel .left {
    width: 20%;
    height: 100%;

    overflow-y: auto;

    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
}

.panel .left .logo {
    max-width: 9vw;
    margin-bottom: 0.8rem;
}

.panel .left .item {
    font-size: 0.9rem;
    font-family: Arial;
    letter-spacing: 0.5px;
    background-color: #FFFFFF;
    border-radius: 10px;
    color: #000C4E;
    padding: 0.4rem 1rem;
    padding-bottom: 0.6rem;
    width: 100%;

    text-decoration: none;

    -webkit-box-shadow: inset -5px -5px 9px 0px rgba(0, 0, 0, 0.54);
    -moz-box-shadow: inset -5px -5px 9px 0px rgba(0, 0, 0, 0.54);
    box-shadow: inset -5px -5px 9px 0px rgba(0, 0, 0, 0.54);

    margin-bottom: 0.5rem;
}

.panel .left .item:hover, .panel .left .item.active {
    opacity: .7;
}

.panel .right {
    width: 80%;
    height: 100%;

    overflow-y: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;

    padding: 1rem;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.panel .right .menu {
    background-color: #E12F31;
    width: 90%;

    display: flex;
    justify-content: center;
    align-items: center;

    -webkit-border-top-left-radius: 30px;
    -webkit-border-top-right-radius: 30px;
    -moz-border-radius-topleft: 30px;
    -moz-border-radius-topright: 30px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.panel .right .menu a {
    color: white;
    text-decoration: none;
    font-size: 1.8rem;

    font-weight: bold;
    padding: 0.5rem 2rem;
}

.panel .right .menu a:hover,
.panel .right .menu a.active {
    background: white;
    color: #E12F31;
}

.panel .right .page {
    width: 100%;
    border-radius: 30px;
    background-color: white;
    padding: 2rem;
}

.panel .right .page .title {
    color: #175989;
    text-align: center;
    font-weight: bold;
    font-size: 1.8rem;
}

.panel .right .page .text {
    color: #175989;
    font-size: 1.2rem;
    text-align: justify;
}

.panel .right .search {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 20px;
    margin-right: 1.5rem;
}

.panel .right .search .form-control {
    border: 0;
}

.panel .right .button-contact {
    border: 5px solid white;
    padding: 1rem;
    border-radius: 20px;
    color: white;
    font-size: 1.3rem;
    font-weight: bold;
    text-decoration: none;

    background-image: url(./img/bg_button.png);
    background-size: cover;
}

.panel .right .button-contact:hover {
    opacity: .7;
}

.panel .right .footer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    color: white;
}

.panel .right .footer a {
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;

    padding: 0.5rem;
}

.panel .right .footer a:hover {
    text-decoration: underline;
}

.panel .right .header {
    width: 100%;
    margin-bottom: 1rem;

    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.panel .right .header a {
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    padding: 0.5rem 0.8rem;
    text-decoration: none;
}

.panel .right .header a i {
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.panel .right .header a:hover,
.panel .right .header .cart-button:hover {
    opacity: .7;
    cursor: pointer;
}

.panel .right .header .cart-button {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: white;
    border: 5px solid #175989;

    display: flex;
    justify-content: center;
    align-items: center;

    color: #175989;
    font-size: 1.3rem;

    position: relative;
}

.panel .right .header .cart-button .number {
    position: absolute;
    width: 30px;
    height: 30px;

    left: -10px;
    bottom: -10px;

    border-radius: 50%;
    color: white;
    display: flex;
    font-weight: bold;
    justify-content: center;
    align-items: center;

    font-size: 0.9rem;

    background-color: #E12F31;
}

.owl-item {
    display: flex;
    justify-content: center;
    align-items: center;

    height: 116px;
}

.owl-carousel .owl-item img {
    width: initial !important;
    max-width: 80% !important;
}

.bar {
    display: none;
}

th,
td {
    vertical-align: middle;
}

.pdf:hover {
    opacity: .7;
    cursor: pointer;
}

.about-content .about-content-item h1 {
    font-size: 1.8rem;
    color: #E12F31;
    font-weight: bold;

    display: flex;
    align-items: center;
}

.about-content .about-content-item h1 img {
    margin-left: 0.5rem;
}

.about-content .about-content-item p {
    font-size: 0.95rem;
    white-space: pre-line;
    text-align: justify;
    color: #175989;
}

.search-float {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    width: 100%;

    display: none;
    justify-content: center;
    align-items: center;

    z-index: 9999;

}

.search-float .search-content {
    background-color: #000C49;
    padding: 0.5rem;

    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.search-float .form-control {
    border: 0;
    border-radius: 0;
    border-bottom-left-radius: 5px;

    height: 100%;
}

.search-float i {
    background-color: white;
    color: black;
    padding-left: 1rem;
    padding-right: 1rem;
    border-bottom-right-radius: 5px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.page-link {
    color: #175989;
}

.page-item.active .page-link {
    border-color: #175989;
    background-color: #175989;
}

.collapse-into {
    display: flex;
    flex-direction: column;
    align-items: center;
    
    overflow-y: scroll;
}

#tidio-chat-iframe {
    left: 20vw !important;
}

@media only screen and (max-width: 576px) {
    .panel {
        top: initial;
        bottom: initial;
        left: initial;
        right: initial;
        width: 100%;
        height: auto;
        position: relative;

        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .panel .left {
        width: 100%;
        height: auto;
        position: relative;
        top: initial;
        bottom: initial;
        left: initial;

        padding-bottom: 0;
    }

    .panel .right {
        width: 100%;
        height: auto;
        position: relative;
        top: initial;
        bottom: initial;
        right: initial;
    }

    .panel .right .menu {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .panel .right .menu a {
        font-size: 1.2rem;
    }

    .search-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center !important;
    }

    .panel .right .search {
        margin: 0;
    }

    .panel .right {
        padding-top: 0;
    }

    .panel .right .search,
    .panel .right .button-contact {
        width: 100%;
        margin-top: 1rem;
        text-align: center;
    }

    .panel .right .footer {
        margin-top: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .panel .right .header {
        justify-content: center;
    }

    .panel .right .header a {
        font-size: 1rem;
        padding: 0.5rem;
    }

    .panel .right .header a i {
        font-size: 1.5rem;
    }

    .panel .right .header .cart-button {
        position: fixed;
        bottom: 15px;
        right: 15px;
    }

    .panel .right .header .cart-button .number {
        border: 1px solid white;
    }

    .bar-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 1rem;
        width: 100%;
    }

    .bar {
        display: block;
        color: white;
        font-size: 2.5rem;
        
        position: relative;
        top: -5px;
    }

    .owl-carousel .owl-item img {
        max-width: 150px;
    }

    .panel .right .page {
        border-radius: 20px;
    }
    
    .panel .left {
    }
    
    .collapse-into {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
    }
    
    .panel .left .item {
        width: 45%;
        height: 100%;
        
        font-size: 0.7rem;
    }
    
    #tidio-chat-iframe {
    left: initial !important;
}

}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-thumb {
    background: #a5a5a5;
}

::-webkit-scrollbar-thumb:hover {
    background: #838383;
}