@font-face {
    font-family: 'SansProRl';
    src: url("../fonts/SourceSansPro-Regular copia.otf") format("opentype");
}

@font-face {
    font-family: 'SansProLg';
    src: url("../fonts/SourceSansPro-Light copia.otf") format("opentype");
}

@font-face {
    font-family: 'SansProBd';
    src: url("../fonts/SourceSansPro-Bold copia.otf") format("opentype");
}

@font-face {
    font-family: 'SansProIt';
    src: url("../fonts/SourceSansPro-It copia.otf") format("opentype");
}

@font-face {
    font-family: 'SansProBdIt';
    src: url("../fonts/SourceSansPro-BoldIt copia.otf") format("opentype");
}

.font-SansProRl {
    font-family: SansProRl;
}

.font-SansProLg {
    font-family: SansProLg;
}

.font-SansProBd {
    font-family: SansProBd;
}

.font-SansProIt {
    font-family: SansProIt;
}

.font-SansProBdIt {
    font-family: SansSerif;
}

@-webkit-keyframes click-wave {
    0% {
        height: 30px;
        width: 30px;
        opacity: 0.35;
        position: relative;
    }
    100% {
        height: 150px;
        width: 150px;
        margin-left: -60px;
        margin-top: -60px;
        opacity: 0;
    }
}

@-moz-keyframes click-wave {
    0% {
        height: 30px;
        width: 30px;
        opacity: 0.35;
        position: relative;
    }
    100% {
        height: 150px;
        width: 150px;
        margin-left: -60px;
        margin-top: -60px;
        opacity: 0;
    }
}

@keyframes click-wave {
    0% {
        height: 30px;
        width: 30px;
        opacity: 0.35;
        position: relative;
    }
    100% {
        height: 150px;
        width: 150px;
        margin-left: -60px;
        margin-top: -60px;
        opacity: 0;
    }
}

.vh-45 {
    height: 45vh !important;
}

header {
    background: #003b5c;
}

.navbar-light, .navbar-stick {
    background-color: #003B5C !important;
    border-bottom: none;
}

.navbar .navbar-nav .nav-item .nav-link {
    border-radius: .25rem;
    color: #64748b;
    font-size: .9375rem;
    font-weight: 500;
    padding: .5rem 1rem;
}

.navbar-light .navbar-nav .nav-item .nav-link.active, .navbar-light .navbar-nav .nav-item .nav-link:hover {
    background-color: #f1f5f9;
    color: #1e293b;
}

section.content {
    min-height: calc(100vh - 258px);
}

.h-with-footer {
    min-height: calc(100vh - 258px);
}

#map {
    border: 8px solid #FFFFFF;
    border-radius: 20px;
}

.h-450 {
    max-height: 450px;
}

.display-title {
    font-family: SansProBd;

}


.display-title span.text-primary {
    color: #f1f1f1 !important;
}

.btn-primary {
    background-color: #f1f1f1;
    border-color: #f1f1f1;
    color: #0b0b0b;
}

.btn-primary:hover, .btn-primary:active {
    background-color: #f1f1f1 !important;
    border-color: #f1f1f1 !important;
    color: #0b0b0b;
}

.btn.btn-selectpicker {
    background-color: white;
    color: #003b5c !important;
    line-height: 18px;
    border-radius: 4px;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08);
    transition: box-shadow 200ms cubic-bezier(0.4, 0.0, 0.2, 1);
    font-family: 'SansProRl', sans-serif;
    padding: 15px;
    font-size: 1rem;
    border: none;
}

.btn-custom.btn-blue {
    background-color: #00bcd4;
    border-color: #00bcd4;
    color: #ffffff;
    box-shadow: 0 2px 2px 0 rgba(95, 130, 149, 0.14), 0 3px 1px -2px rgba(95, 130, 149, 0.2), 0 1px 5px 0 rgba(95, 130, 149, 0.12);
}

.btn-custom.btn-blue:hover, .btn-custom.btn-blue:focus, .btn-custom.btn-blue:active, .btn-custom.btn-blue.active {
    background-color: #00bcd4;
    border-color: #00bcd4;
    color: #ffffff;
    box-shadow: 0 14px 26px -12px rgba(0, 188, 212, 0.42), 0 4px 23px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 188, 212, 0.2);
}

.btn-custom.btn-red {
    background-color: #f44336;
    border-color: #f44336;
    color: #ffffff;
    box-shadow: 0 2px 2px 0 rgba(244, 67, 54, 0.14), 0 3px 1px -2px rgba(244, 67, 54, 0.2), 0 1px 5px 0 rgba(244, 67, 54, 0.12);
}

.btn-custom.btn-red:hover, .btn-custom.btn-red:focus, .btn-custom.btn-red:active, .btn-custom.btn-red.active {
    background-color: #f44336;
    border-color: #f44336;
    color: #ffffff;
    box-shadow: 0 14px 26px -12px rgba(244, 67, 54, 0.42), 0 4px 23px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(244, 67, 54, 0.2);
}

.btn-custom.btn-green, .btn-custom.btn-green:active {
    background-color: #4caf50;
    border-color: #4caf50;
    color: #ffffff;
    box-shadow: 0 2px 2px 0 rgba(76, 175, 80, 0.14), 0 3px 1px -2px rgba(76, 175, 80, 0.2), 0 1px 5px 0 rgba(76, 175, 80, 0.12);
}

.btn-custom.btn-green:hover {
    box-shadow: 0 14px 26px -12px rgba(76, 175, 80, 0.42), 0 4px 23px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(76, 175, 80, 0.2);
}

.btn-custom.btn-amber {
    background-color: #FF9800;
    border-color: #FF9800;
    color: #ffffff;
    box-shadow: 0 2px 2px 0 rgba(255, 152, 0, 0.14), 0 3px 1px -2px rgba(76, 175, 80, 0.2), 0 1px 5px 0 rgba(255, 152, 0, 0.12);
}

.btn-custom.btn-amber:hover {
    box-shadow: 0 14px 26px -12px rgba(255, 152, 0, 0.42), 0 4px 23px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(255, 152, 0, 0.2);
}

.btn-custom.btn-lilac {
    background-color: #5e72e4;
    border-color: #5e72e4;
    color: #ffffff;
    box-shadow: 0 2px 2px 0 rgba(255, 152, 0, 0.14), 0 3px 1px -2px rgba(76, 175, 80, 0.2), 0 1px 5px 0 rgba(255, 152, 0, 0.12);
}

.btn-custom.btn-red-l {
    background-color: #f5365c;
    border-color: #f5365c;
    color: #ffffff;
    box-shadow: 0 2px 2px 0 rgba(255, 152, 0, 0.14), 0 3px 1px -2px rgba(76, 175, 80, 0.2), 0 1px 5px 0 rgba(255, 152, 0, 0.12);
}

.btn-custom.btn-blue-l {
    background-color: #11cdef;
    border-color: #11cdef;
    color: #ffffff;
    box-shadow: 0 2px 2px 0 rgba(95, 130, 149, 0.14), 0 3px 1px -2px rgba(95, 130, 149, 0.2), 0 1px 5px 0 rgba(95, 130, 149, 0.12);
}

.btn-custom.btn-inst, .btn-custom.btn-inst:active {
    font-size: 0.875rem;
    background-color: #003B5C;
    box-shadow: 0 2px 2px 0 rgba(0, 59, 92, 0.14), 0 3px 1px -2px rgba(0, 59, 92, 0.2), 0 1px 5px 0 rgba(0, 59, 92, 0.12);
    /* box-shadow: 0 16px 26px -10px rgba(0, 59, 92, 0.56), 0 4px 25px 0px rgba(0, 59, 92, 0.12), 0 8px 10px -5px rgba(0, 59, 92, 0.2); */
}

.toggle.btn-danger.off {
    background-color: #f44336 !important;
    border-color: #f44336 !important;
    box-shadow: 0 2px 2px 0 rgba(244, 67, 54, 0.14), 0 3px 1px -2px rgba(244, 67, 54, 0.2), 0 1px 5px 0 rgba(244, 67, 54, 0.12) !important;
    width: 90% !important;
    /*max-width: 120px;*/
}

.toggle.btn-danger.off:hover {
    box-shadow: 0 14px 26px -12px rgba(244, 67, 54, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(244, 67, 54, 0.2) !important;
}

.toggle.btn-success {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    box-shadow: 0 2px 2px 0 rgba(76, 175, 80, 0.14), 0 3px 1px -2px rgba(76, 175, 80, 0.2), 0 1px 5px 0 rgba(76, 175, 80, 0.12) !important;
    width: 90% !important;
    /*max-width: 120px;*/
}

.toggle-group .toggle-on {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

.toggle.btn-success:hover {
    box-shadow: 0 14px 26px -12px rgba(76, 175, 80, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(76, 175, 80, 0.2) !important;
}


.section-title::before {
    position: absolute;
    content: "";
    width: 60px;
    height: 10px;
    left: 50%;
    bottom: 3px;
    margin-left: -30px;
    background: #e88f2a;
}

.section-title h1, .section-subtitle h1 {
    font-family: SansProBd;
}

textarea.form-control {
    height: auto !important;
    min-height: calc(1.5em + .75rem + calc(var(--bs-border-width) * 2)) !important;
    resize: none;
}

/*.form-floating > label {
    display: flex;
    align-items: center;
    justify-content: center;
}*/

.section-title::after {
    position: absolute;
    content: "";
    width: 180px;
    height: 2px;
    left: 50%;
    bottom: 7px;
    margin-left: -90px;
    background: #e88f2a;
}

.about-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: #00B98E;
    transform: skew(20deg);
    z-index: 1;
}

.about-img.inverse::before {
    left: 50%;
}

.about-img img {
    position: relative;
    z-index: 2;
}

.card-floating {
    position: absolute;
    width: 100%;
    height: 100%;
    right: -40%;
    z-index: 3;
}

.display-button {
    font-size: 1.3rem;
    font-family: SansProBd;
}

.card-transparent {
    background-color: rgba(0, 185, 142, 0.85) !important;
}

@media (max-width: 991px) {
    .card-floating {
        right: -5%;
    }
}

@media (max-width: 768px) {
    .card-floating {
        right: 0;
        position: relative;
    }

    section.content {
        min-height: calc(100dvh - 241px);
    }

    .h-with-footer {
        min-height: calc(100dvh - 241px);
    }
}

@media (max-width: 576px) {
    .form-floating > label {
        font-size: 0.85rem;
        line-height: 1.70rem;
        white-space: normal;
    }

    section.content {
        min-height: calc(100dvh - 365px);
    }

    .h-with-footer {
        min-height: calc(100dvh - 365px);
    }
}

@media (min-width: 992px) {
    .card-floating {
        right: -10%;
    }
}

@media (min-width: 1200px) {
    .card-floating {
        right: -20%;
    }

    .display-title {
        font-size: 3.1rem;
    }
}

@media (min-width: 1370px) {
    .display-title {
        font-size: 4.1rem;
    }
}

.row-eq-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.offcanvas-header img {
    width: 100%;
    height: 34px;
    max-width: 125px;
}

.logo {
    height: 78px;
    height: 68px;
}

.img-logo {
    width: 65%;
    aspect-ratio: 16/9;
    object-fit: contain;
}

.header-mobile {
    height: 60px;
    top: 0;
    width: 100%;
}

.fixed {
    position: fixed !important;
    z-index: 10000;
    border-bottom: none;
}

.uwy .uai {
    background-color: #00b5e2 !important;
}

body .uwy.userway_p1 .userway_buttons_wrapper {
    left: calc(100vw - 77px) !important;
}

.navbar {
    padding: 0 .5rem;
}

.navbar .navbar-brand {
    margin-right: 0;
}

.navbar .navbar-toggler {
    border: 2px solid #00c9f0;
    color: #00c9f0;
}

.social-network {
    width: 215px;
    height: 53px;
    float: right;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.social-network .social-icons {
    list-style: none;
    padding: 10px 10px;
    margin: 0;
    background-color: #003b5c;
    line-height: 12px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-top-color: #00c9f0;
    border-left-color: #00c9f0;
    border-right-color: #00c9f0;
    border-style: solid;
}

.social-icons li {
    display: inline-block;
    margin-right: 4px;
}

.social-icons li a {
    -webkit-border-top-right-radius: 500px;
    -webkit-border-bottom-right-radius: 500px;
    -webkit-border-bottom-left-radius: 500px;
    -webkit-border-top-left-radius: 500px;
    -moz-border-radius-topright: 500px;
    -moz-border-radius-bottomright: 500px;
    -moz-border-radius-bottomleft: 500px;
    -moz-border-radius-topleft: 500px;
    border-top-right-radius: 500px;
    border-bottom-right-radius: 500px;
    border-bottom-left-radius: 500px;
    border-top-left-radius: 500px;
    -moz-background-clip: padding-box;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    width: 30px;
    height: 30px;
    color: #00395E;
    background-color: #00c9f0;
    text-align: center;
    position: relative;
    display: inline-block;
}

.social-icons li a:before {
    font-size: 20px;
    width: 22px;
    height: 22px;
    line-height: 24px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

.navbar-light .navbar-nav .nav-item .nav-link {
    color: #ffffff;
    font-weight: normal;
}


.offcanvas-nav.show .nav-item .nav-link {
    color: #00395E;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
}

.navbar .dropdown .dropdown-toggle:after {
    color: #ffffff;
    content: none;
}

.menu-title {
    font-weight: 800;
}

.border-bottom {
    border-bottom: 1px solid #003b5c !important;
}

.fa-caret-right {
    color: #003b5c;
}

.carousel-control-next-icon, .carousel-control-prev-icon {
    background-image: none;
    height: auto;
    width: auto;
}

.carousel-control-next, .carousel-control-prev {
    width: 10%;
    font-size: clamp(1rem, 10vw, 4rem);
}

.search-form .dropdown-toggle, .search-form .search-button {
    background-color: #00b8e5;
    color: #fff;
    border-color: #00b8e5;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08);
    transition: box-shadow 200ms cubic-bezier(0.4, 0.0, 0.2, 1);
    line-height: 1;
    border-radius: 4px;
    font-size: clamp(0.45rem, 0.75rem, 1.75rem)
}

.search-form .dropdown-menu {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.input-group.search-form {
    border-radius: 4px;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2), 0 0 0 0px rgba(0, 0, 0, 0.2);
    transition: box-shadow 200ms cubic-bezier(0.4, 0.0, 0.2, 1);
    font-family: 'SansProRl', sans-serif;
}

.input-group.search-form > input {
    border: none;
    box-shadow: none;
    -webkit-box-shadow: none;
    -webkit-transition: none;
    transition: none;
    resize: none;
    font-size: clamp(0.45rem, 1.45rem, 1.75rem);
    border-top: 1px solid #d2d2d2;
}

@media (max-width: 992px) {
    .search_input_menu {
        font-size: clamp(0.45rem, 0.75rem, 1.75rem) !important;
    }
}

.search-form .dropdown-toggle:after {
    content: "\f107";
    font-family: 'Font Awesome 6 Free' !important;
    float: right;
}

.dropdown-item {
    color: #003b5c;
}

.dropdown-item:hover {
    color: #00b5e2;
}

.option-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
    position: relative;
    top: 9.3333333333px;
    right: 0;
    bottom: 0;
    left: 0;
    height: 30px;
    width: 30px;
    -webkit-transition: all 0.15s ease-out 0s;
    -moz-transition: all 0.15s ease-out 0s;
    transition: all 0.15s ease-out 0s;
    background: #cbd1d8;
    border: none;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    margin-right: 0.25rem;
    margin-left: .5rem;
    outline: none;
    position: relative;
    z-index: 1000;
}

.option-input:hover {
    background: #9faab7;
}

.option-input:checked {
    background: #00b5e2;
}

.option-input:checked::before {
    height: 30px;
    width: 30px;
    position: absolute;
    font-family: 'Font Awesome 6 Free' !important;
    content: "\f058";
    display: inline-block;
    font-size: 26.6666666667px;
    text-align: center;
    line-height: 30px;
}

.resource-box .search_input_menu, .knowledge-box .search_input_menu {
    display: block;
}

.ordering-box .search_input_menu {
    width: 48%;
}

.option-input.checkbox:checked::before {
    font-family: 'Font Awesome 6 Free' !important;
    content: "\f14a";
    border-radius: 6px;
}

.option-input:checked::after {
    -webkit-animation: click-wave 0.65s;
    -moz-animation: click-wave 0.65s;
    animation: click-wave 0.65s;
    background: #00b5e2;
    content: "";
    display: block;
    position: relative;
    z-index: 100;
}

.option-input.radio {
    border-radius: 50%;
}

.option-input.radio::after {
    border-radius: 50%;
}

/******* Sticky *********************/

.fancy {
    --b: 6px; /* control the border thickness */
    --w: 80px; /* control the width of the line*/
    --g: 15px; /* control the gap */
    --c: #0B486B;

    width: fit-content;
    padding: 0 1em;
    line-height: 1.6em;
    border: 1px solid;
    color: #fff;
    background: conic-gradient(from 45deg at left, var(--c) 25%, #0000 0) 0,
    conic-gradient(from -135deg at right, var(--c) 25%, #0000 0) 100%;
    background-size: 51% 100%;
    background-origin: border-box;
    background-repeat: no-repeat;
    border-image: linear-gradient(
            #0000 calc(50% - var(--b) / 2),
            var(--c) 0 calc(50% + var(--b) / 2),
            #0000 0) 1/0 var(--w)/calc(var(--w) + var(--g));
    margin-inline: auto;
}

.fancy-light {
    --c: #00b5e2;
}

/************************************/

.nav-tabs {
    border: none;
}

.nav-tabs.databases .nav-link {
    font-size: 1.2rem;
    min-height: 75px;
    display: flex;
    align-items: center;
}

.nav.databases .nav-item {
    padding: 3px;
    width: 25%;
}

.nav.databases .nav-item:first-child {
    padding-left: 0;
}

.nav.databases .nav-item:last-child {
    padding-right: 0;
}

.nav.databases .nav-item:first-child .nav-link {
    color: #ffffff;
    background-color: #43b02a;
    border-color: #43b02a;
}

.nav.databases .nav-item:nth-child(2) .nav-link {
    color: #ffffff;
    background-color: #d6006e;
    border-color: #d6006e;
}

.nav.databases .nav-item:nth-child(3) .nav-link {
    color: #ffffff;
    background-color: #ff6720;
    border-color: #ff6720;
}

.nav.databases .nav-item:nth-child(4) .nav-link {
    color: #FFFFFF;
    background-color: #fdda25;
    border-color: #fdda25;
}

.rounded-pill {
    width: 100%;
    max-width: 118px;
    text-wrap: wrap;
    background-color: #FFFFFF;
    color: #FFFFFF;
    border-radius: 10px !important;
    height: 66px;
    max-height: 66px;
    overflow: hidden;
    display: inline-flex;
    flex-wrap: wrap;
    font-size: clamp(0.7rem, 0.6rem, 0.7rem);
    --bs-btn-padding-x: 0.5rem;
    box-shadow: 0 12px 20px -10px rgba(67, 176, 42, 0.28), 0 4px 4px 2px rgba(0, 0, 0, 0.22), 0 7px 8px -5px rgba(67, 176, 42, 0.2);
    border-color: transparent;
}

.rounded-pill-slider {
    width: 100%;
    max-width: 188px;
    text-wrap: wrap;
    background-color: #FFFFFF;
    color: #FFFFFF;
    border-radius: 10px !important;
    height: 78px;
    max-height: 78px;
    overflow: hidden;
    display: inline-flex;
    flex-wrap: wrap;
    font-size: clamp(0.7rem, 0.6rem, 0.7rem);
    --bs-btn-padding-x: 0.5rem;
    box-shadow: 0 12px 20px -10px rgba(67, 176, 42, 0.28), 0 3px 5px 2px rgba(0, 0, 0, 0.22), 0 7px 8px -5px rgba(67, 176, 42, 0.2);
}

.btn-lift:hover {
    border-color: #43b02a;
    background-color: #FFFFFF;
    box-shadow: 0 .125rem .25rem rgba(2, 6, 23, .075);
    transform: translateY(-.25rem);
}

.rounded-pill img, .rounded-pill-slider img {
    width: 100%;
    height: -webkit-fill-available;
}

.resource-details {
    background-color: #ffffff;
    position: relative;
    color: #003b5c;
    box-shadow: 12px 15px 20px 0 rgba(46, 61, 73, 0.15);
    border-radius: 1.3rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    height: 216px;
    overflow: overlay;
}

.resource-row {
    border-radius: 14px;
    background-color: rgba(217, 217, 217, 1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.slick-slide .resource-row {
    position: absolute;
    width: 25%;
    top: 20%;
    display: inline-flex;
    height: 280px;
}

p.resource-description {
    text-align: justify;
}

.white-popup-block {
    background: #FFF;
    /* padding: 20px 30px; */
    text-align: left;
    max-width: 850px;
    margin: 40px auto;
    position: relative;
    border-radius: 10px;
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
}

.white-popup-block-header {
    min-height: 16.43px;
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    background-color: #00b5e2;
    border-top: 6px solid #003B5C;
}

.popup-block-title {
    color: #fff;
    display: inline-block;
    font-size: 18px;
}

.popup-block-close {
    top: 10px;
    top: 0;
    position: absolute;
    opacity: 0.9;
    filter: alpha(opacity=90);
    right: 10px;
    right: 2px;
    z-index: 100;
}

.popup-block-close .popup-close, .popup-block-close .popup-close-off {
    color: #000;
    font-size: 21px;
    text-decoration: none;
    cursor: pointer;
    filter: alpha(opacity=50);
    /* opacity: .5; */
    background-color: transparent;
    border-style: none;
    text-shadow: 0 1px 0 #fff;
}

.slick-initialized .slick-slide {
    padding: 5px;
}

.slick-next .fa, .slick-prev .fa {
    color: #0dcaf0;
    font-size: 2.25rem;
    line-height: 1.7rem;
}

.slick-prev:before, .slick-next:before {
    content: none;
}

.slick-next {
    right: -15px;
}

.slick-prev {
    left: -15px;
}

.slick-prev, .slick-next {
    width: auto;
    height: auto;
    display: inline-flex;
}

.slider-databases .slick-slide {
    margin-top: 6px;
    text-align: center;
}

.slick-dots {
    bottom: -15px;
}

.natural_health, .social_humanities, .engineering_exact, .administrative_economic {
    margin-top: -3px;
}

.natural_health {
    background-color: #43b02a4f;
}

.social_humanities {
    background-color: #d6006e4f;
}

.engineering_exact {
    background-color: #ff67204d;
}

.administrative_economic {
    background-color: #fdda254d;
}

.slick-dotted.slick-slider {
    margin-bottom: 22px;
}

.slick-dots li button:before {
    font-size: 16px;
}

.card-hover {
    cursor: pointer;
    display: block;
    transition: .3s ease-in-out;
    height: 100%;
    --bs-border-width: 2px;
    border-radius: 30px;
    background: #e0e0e0;
    box-shadow: 15px 15px 30px #bebebe,
    -15px -15px 30px #ffffff;
}

.card-main-library {
    display: inline-block;
    position: relative;
    width: 100%;
    margin-bottom: 30px;
    border-radius: 6px;
    color: rgba(0, 0, 0, 0.87);
    background: #fff;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}

.card-main-library .card-image {
    max-height: 230px;
    position: relative;
    overflow: hidden;
    margin-left: 15px;
    margin-right: 15px;
    margin-top: -30px;
    border-radius: 6px;
    box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2);
}

.card-image img {
    width: 100%;
    border-radius: 6px;
    pointer-events: none;
}

.card-main-library .card-body {
    overflow: hidden;
}


.card-hover:hover {
    --bs-border-color: #00b5e2;
}

/*.card-hover:hover .card-text {
    color: #00b5e2;
}*/

.light-blue {
    background-color: #d9eff3;
    margin-top: -150px;
}

.wave-bottom {
    margin-top: -90px;
}

.quick_access {
    --bs-border-width: 2px;
    --bs-border-color: #0000;
    display: block;
    cursor: pointer;
    transition: .3s ease-in-out;
    height: 100%;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: 30px;
    background: #e0e0e08a;
    box-shadow: 15px 15px 30px #bebebe,
    -15px -15px 30px #ffffff;
}

.quick_access:hover {
    --bs-border-color: #00b5e2;
}

.quick_access.loans:hover, .card-hover.loans:hover {
    --bs-border-color: #ff5589;
}

.quick_access.certificate:hover, .card-hover.certificate:hover {
    --bs-border-color: #ffd248;
}

.quick_access.teacher:hover, .card-hover.teacher:hover {
    --bs-border-color: #99ccff;
}

.quick_access.cubicles:hover, .card-hover.cubicles:hover {
    --bs-border-color: #33dbcf;
}

.quick_access.services:hover, .card-hover.services:hover {
    --bs-border-color: #cc99ff;
}

.quick_access.formation:hover, .card-hover.formation:hover {
    --bs-border-color: #f3aa79;
}

.icon-xxl {
    height: 2.5rem;
    line-height: 2.5rem;
    width: 2.5rem;
    fill: #003b5c;
}


.quick_access.loans .icon-shape, .card-hover.loans .icon-shape {
    fill: #ff5589;
}


.quick_access.certificate .icon-shape, .card-hover.certificate .icon-shape {
    fill: #ffd248;
}

.quick_access.teacher .icon-shape, .card-hover.teacher .icon-shape {
    fill: #99ccff;
}

.quick_access.cubicles .icon-shape, .card-hover.cubicles .icon-shape {
    fill: #33dbcf;
}

.quick_access.services .icon-shape, .card-hover.services .icon-shape {
    fill: #cc99ff;
}

.quick_access.formation .icon-shape, .card-hover.formation .icon-shape {
    fill: #f3aa79;
}

/*.card-hover:hover .icon-xxl {
    fill: #00b5e2;
    background-color: #003b5c;
}*/

.card-text {
    font-size: 0.75rem !important;
    color: #003b5c;
}

#discoverSlider .carousel-item {
    background-color: #00B5E2;
    opacity: 0.85;
    background-image: radial-gradient(#003b5c 1.2000000000000002px, transparent 1.2000000000000002px), radial-gradient(#003b5c 1.2000000000000002px, #00B5E2 1.2000000000000002px);
    background-size: 48px 48px;
    background-position: 0 0, 24px 24px;
    padding: 1.5rem;
    border-radius: 14px;
    height: 462px;
}

#discoverSlider .carousel-item .text-uppercase,
#discoverSlider .carousel-item .h1 {
    color: #FFFFFF;
    font-weight: 800;
    text-transform: uppercase;
}

#discoverSlider .carousel-item .btn-primary {
    background-color: #FFFFFF;
    color: #00B5E2;
    border: 1px solid #FFFFFF;
}

#discoverSlider .carousel-item .card-lift {
    background-repeat: no-repeat;
    height: 180px;
    background-size: cover;
    border: 2px dashed #FFFFFF;
}

.h-386 {
    height: 386px !important;
}

.h-90 {
    height: 90%;
}

.text-justify {
    text-align: justify;
}

.table-responsive-lg::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, .5);
    border-radius: 10px;
    border: 3px solid #00B5E2;
}

.text-reset:hover {
    color: #00B5E2 !important;
}

.libraries .card, .news .card {
    box-shadow: 12px 15px 20px 0 rgba(46, 61, 73, 0.15);
    border-radius: 1.3rem;
    transition: all 0.3s ease;
}

.interested .slide {
    width: 100%;
    height: 200px;
    max-height: 200px;
}

.card-slide {
    /*max-height: 200px;*/
}

.card-slide:hover .slide.slide1 {
    transform: translateY(0px);
}

.card-slide:hover .slide.slide2 {
    transform: translateY(0px);
}

.slide.slide1 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    transition: .7s;
    transform: translateY(0px);
    overflow-y: hidden;
}

.slide.slide2 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    transition: .8s;
    transform: translateY(-200px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.slide.slide2::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 4px;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: #2c73df;
}

.slide .content .icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #2c73df;
}

.slide .content .icon .fa {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    color: #fff;
}

.news .card {
    overflow: hidden;
    height: 100%;
}

.news .card-body {
    display: flex;
}

.libraries .card h5, .libraries .card h6 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.libraries .card p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.75rem;
}

.card .thumbnail_link {
    position: relative;
    display: block;
    width: 100%;
}

.card .thumbnail_link:after {
    display: block;
    content: "";
    background-image: linear-gradient(0deg, rgba(0, 0, 0, .35), transparent 75%);
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
    position: absolute;
    bottom: 0;
    opacity: 1;
    transition: all .3s ease-out;
}

.thumbnail_link .thumbnail_img {
    position: relative;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    padding-bottom: calc(0.57 * 100%);
    height: auto;
}

.thumbnail_img img {
    display: block;
    max-height: none;
    max-width: none;
    transition: filter .3s;
    position: absolute;
    top: calc(50% + 1px);
    left: calc(50% + 1px);
    transform: scale(1.01) translate(-50%, -50%);
    height: auto;
    width: 100%;
}

.card-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title a {
    font-family: SansProBd;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    color: #00b5e2;
}

.card-excerpt {
    line-height: 1.7;
    flex-grow: 1;
}

.card-excerpt p {
    font-family: SansProRl;
    margin: 0;
    line-height: 1.5em;
    font-size: 20px;
    color: #777;
}

.read-more {
    font-family: SansProBd;
    font-size: 16px;
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 10px;
    text-transform: uppercase;
    display: inline-block;
    color: #003b5c;
}


@media (max-width: 768px) {
    .news .card-title {
        font-size: clamp(0.7rem, 0.6rem, 0.7rem);
    }

    .postcard {
        margin-bottom: 0.75rem !important;
    }

    body .uwy.userway_p1 .userway_buttons_wrapper {
        top: 8px !important;
    }
}

/********************************/
.postcard {
    flex-wrap: wrap;
    display: flex;
    box-shadow: 0 4px 21px -12px rgba(0, 0, 0, 0.66);
    border-radius: 10px;
    margin: 0 0 2rem 0;
    overflow: hidden;
    position: relative;
    color: #ffffff;
}

.postcard.blue {
    background-color: #ABDCFF;
}

.postcard.pink {
    background-color: #F6CEEC;
}

.postcard.yellow {
    background-color: #FDEB71;
}

.postcard.green {
    background-color: #28C76F;
}

.postcard.orange {
    background-color: #FEC163;
}

.postcard .t-dark {
    color: #18151f;
}

.postcard a {
    color: inherit;
}

.postcard h1, .postcard .h1 {
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}

.postcard .small {
    font-size: 80%;
}

.postcard .postcard__title {
    font-size: 1.25rem;
}

.postcard .postcard__img {
    max-height: 180px;
    width: 100%;
    object-fit: cover;
    position: relative;
}

.postcard .postcard__img_link {
    display: contents;
}

.postcard .postcard__bar {
    width: 50%;
    height: 10px;
    margin: 0 auto;
    border-radius: 5px;
    background-color: #424242;
    transition: width 0.2s ease;
}

.postcard .postcard__text {
    padding: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: center;
}

.postcard:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 1;
    border-radius: 10px;
}

.postcard.blue:before {
    background-image: linear-gradient(-70deg, #0396FF, transparent 50%);
}

.postcard.pink:before {
    background-image: linear-gradient(-70deg, #D939CD, transparent 50%);
}

.postcard.green:before {
    background-image: linear-gradient(-70deg, #81FBB8, transparent 50%);
}

.postcard.orange:before {
    background-image: linear-gradient(-70deg, #ff6720, transparent 50%);
}

.postcard.yellow:before {
    background-image: linear-gradient(-70deg, #F8D800, transparent 50%);
}

.postcard:hover .postcard__bar {
    width: 100px;
}

@media screen and (min-width: 769px) {
    .postcard {
        flex-wrap: inherit;
    }

    .postcard .postcard__title {
        font-size: 1.7rem;
    }

    .postcard .postcard__img {
        max-width: 220px;
        max-height: 100%;
        transition: transform 0.3s ease;
    }

    .postcard .postcard__text {
        padding: 3rem;
        width: 100%;
        justify-content: center;
    }

    .postcard .media.postcard__text:before {
        content: "";
        position: absolute;
        display: block;
        background: #18151f;
        top: -20%;
        height: 130%;
        width: 55px;
    }

    .postcard:hover .postcard__img {
        transform: scale(1.1);
    }

    .postcard:nth-child(2n+1) {
        flex-direction: row;
    }

    .postcard.reverse:nth-child(2n+1) {
        flex-direction: row-reverse;
    }

    .postcard:nth-child(2n+1) .postcard__text::before {
        left: -12px !important;
        transform: rotate(4deg);
    }

    .postcard.reverse:nth-child(2n+1) .postcard__text::before {
        right: -12px !important;
        transform: rotate(-4deg);
    }


}


@media (min-width: 1520px) {
    .container-fluid {
        max-width: 1410px;
    }
}

@media (min-width: 1720px) {
    .container-fluid {
        max-width: 1650px;
    }
}


@media screen and (min-width: 1024px) {
    .postcard__text {
        padding: 2rem 3.5rem;
    }

    .postcard__text:before {
        content: "";
        position: absolute;
        display: block;
        top: -20%;
        height: 130%;
        width: 55px;
    }

    .postcard.blue .postcard__text:before {
        background: #ABDCFF;
    }

    .postcard.pink .postcard__text:before {
        background: #F6CEEC;
    }

    .postcard.green .postcard__text:before {
        background: #28C76F;
    }

    .postcard.orange .postcard__text:before {
        background: #FEC163;
    }

    .postcard.yellow .postcard__text:before {
        background: #FDEB71;
    }
}

.learn_title {
    text-align: center;
    font-size: 5vw;
    margin: 20px 12px 0 0;
    font-family: 'SansProBd';
    color: #00b5e2;
}

.lower-text {
    text-transform: uppercase;
    font-family: SansProBd;
    color: #00b5e2;
}

@media (max-width: 768px) {
    .learn_title {
        margin: 0;
        font-size: 18dvw;
    }

    .card-title a {
        font-size: .8rem;
        line-height: normal;
    }
}

/*******************************/

/***************** ACCORDION********************/

.accordion-item {
    margin-bottom: 1.25rem;
    border: none;
}

.accordion-header {
    border: 2px solid #00b5e2;
    border-radius: 0.75rem !important;
}

.interested .accordion-header {
    border: 2px solid #efefef;
}

.accordion-collapse {
    margin-top: 0.5rem;
    border: 2px solid #7367F0;
    border-radius: 0.75rem !important;
}

.accordion-item > .accordion-header .accordion-button, .accordion-item > .accordion-collapse {
    border-radius: 0.75rem !important;
    box-shadow: 12px 15px 20px 0 rgba(46, 61, 73, 0.15);
}

.accordion-button {
    font-family: SansProBd;
    color: #00b5e2;
    box-shadow: 12px 15px 20px 0 rgba(46, 61, 73, 0.15);
}

.accordion-button:after {
    background-image: none;
    content: "\f078";
    font-family: "FontAwesome";
    font-size: 1.3rem;
    line-height: 1.45rem;
    transform: none;
}

.accordion-button:not(.collapsed):after {
    background-image: none;
    content: "\f077";
    font-family: "FontAwesome";
    font-weight: 900;
    transform: none;
    color: #7367F0;
}

.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: #7367F0;
    font-family: SansProBd;
}

.accordion-button:focus {
    border-color: transparent !important;
    box-shadow: none;
}

.accordion-body {
    background-color: #7367f00d;
}

/***********************************************/

/*===================================
  Footer
  ===================================*/
footer {
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    /*min-height: 60px;
    position: absolute;*/
    bottom: 0;
    width: 100%;
    max-height: 209px;
}

.ls-toggle-menu footer {
    padding-left: 0;
}

.ls-mobile footer {
    padding-left: 0;
}

footer .footer-up {
    background: #003B5C;
}

footer .img-fluid {
    max-height: 120px;
}

footer .logo-buap {
    max-height: 135px;
}

footer .footer-up ul {
    margin-left: 0;
    padding-left: 0;
    margin-top: 1rem;
    font-size: 12px;
    list-style-type: none;
}

footer .footer-up ul li a {
    display: block;
    text-decoration: none !important;
    font-size: 11px;
    color: #00B5E2 !important;
}

footer .footer-down {
    background: #FFFFFF;
    border-top: 1px solid #DDDDDD;
    padding-top: 10px;
    padding-bottom: 10px;
}

footer .footer-down .copyright {
    font-size: 16px;
    margin: 0;
}

@media (max-width: 1345px) and (min-width: 1291px) {
    .navbar .navbar-nav .nav-item .nav-link {
        padding: .5rem .8rem;
    }
}

@media (max-width: 1291px) and (min-width: 1200px) {
    .navbar .navbar-nav .nav-item .nav-link {
        padding: .5rem .4rem;
    }
}

@media (max-width: 1199px) and (min-width: 991px) {
    .navbar .navbar-nav .nav-item .nav-link {
        padding: .5rem .75rem;
    }

    .navbar .dropdown-menu.show {
        display: block;
    }
}

@media (max-width: 992px) {
    .logo {
        height: 30px;
    }

    .nav.databases .nav-item {
        padding: 3px;
        width: 50%;
    }

    .nav-tabs.databases .nav-link {
        font-size: 1.1rem;
    }

    .navbar {
        padding: .75rem .5rem;
    }

    .card-text {
        font-size: 0.85rem !important;
        color: #003b5c;
    }

    body .uwy.userway_p1 .userway_buttons_wrapper {
        top: 8px !important;
        left: calc(100vw - 55px) !important;
    }
}

@media (max-width: 768px) {
    footer {
        max-height: 344px;
    }

    footer .footer-up {
        text-align: center;
    }


    footer .footer-down .copyright {
        font-size: 14px;
    }

    .natural_health {
        margin-top: 0;
    }

    .nav-tabs.databases .nav-link {
        border-bottom-right-radius: 0.5rem;
        border-bottom-left-radius: 0.5rem;
    }
}

@media (max-width: 575px) {
    footer .footer-up ul {
        margin: 10px;
    }

    .slick-slide .resource-row {
        top: 2%;
        height: 456px;
    }

    .resource-details {
        height: 390px;
    }

    .libraries .card-profile .card-body {
        padding: .95rem;
    }
}


@media (min-width: 991px) {
    .offcanvas-body {
        width: calc(100% - 142px);
        width: 100%;
    }

    .footer-up .columns {
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }

    .navbar .dropdown:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        display: block;
    }

    .rounded-pill-slider.dropdown-toggle:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        display: block;
    }

    .navbar .navbar-nav .dropdown > .dropdown-menu {
        left: 50%;
        transform: translate(-50%, -15px);
    }
}

@media screen and (max-width: 1200px) {
    .w-lg-90 {
        width: 90% !important;
    }
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.bootstrap-select .dropdown-menu li a {
    max-width: 100%;
    white-space: normal;
}

.dropdown-menu > li > a:hover {
    color: #FFFFFF;
    background-color: #003B5C;
    border-left: 5px solid #00b5e2;
}

.dropdown-menu > li.selected > a {
    color: #FFFFFF;
    background-color: #003B5C;
    border-left: 5px solid #00b5e2;
}

.content-title {
    background-color: #00b5e2;
    padding: 15px;
    font-weight: 700;
    font-size: 1.25rem;
    text-transform: uppercase;
    color: #FFFFFF;
    border-left: 30px solid #003b5c;
}

.mail-sendTo {
    color: #00b5e2;
    font-weight: bolder;
}

.input-group:focus-within {
    box-shadow: 0 .125rem .25rem 0 rgba(105, 108, 255, 0.45);
    border-radius: 5px;
}

.input-group-text {
    background-color: #003b5c;
    color: #FFFFFF;
    border-color: #003b5c;
}

.form-control, .form-control:focus {
    width: 100%;
    font-weight: 500;
    font-family: 'SansProRl';
    border-radius: 4px;
    font-size: 1rem;
    letter-spacing: 0.5px;
    outline: none;
    color: #003b5c;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
    box-shadow: 0 4px 8px 0 rgba(21, 21, 21, .2);
}

.input-group-text {
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
    box-shadow: 0 4px 8px 0 rgba(21, 21, 21, .2);
}

.form-control:focus {
    border-color: #003a5b;
    border-left: none;
    border-top: none;
    border-width: medium;
}

.form-floating > .form-control-plaintext:focus, .form-floating > .form-control-plaintext:not(:placeholder-shown), .form-floating > .form-control:focus {
    padding-top: 1.25rem;
    padding-bottom: .45rem;
}

.form-floating > .form-control, .form-floating > .form-control-plaintext {
    padding: .75rem .75rem;
}


.form-floating > .form-control, .form-floating > .form-control-plaintext, .form-floating > .form-select {
    height: calc(3rem + calc(var(--bs-border-width) * 2));
    min-height: calc(3rem + calc(var(--bs-border-width) * 2));
    line-height: 1.25;
}

.form-floating > .form-control-plaintext ~ label::after, .form-floating > .form-control:focus ~ label::after, .form-floating > .form-control:not(:placeholder-shown) ~ label::after, .form-floating > .form-select ~ label::after {
    height: 1em;
}

.form-floating > label {
    padding: .65rem;
    font-weight: 500;
    font-family: SansProRl;
    left: 0 !important;
}

.form-floating > .form-control-plaintext ~ label, .form-floating > .form-control:focus ~ label, .form-floating > .form-control:not(:placeholder-shown) ~ label, .form-floating > .form-select ~ label {
    transform: scale(.9) translateY(-0.8rem) translateX(0.10rem);
    font-weight: 500;
}

.form-floating > .form-control-plaintext ~ label, .form-floating > .form-control:focus ~ label, .form-floating > .form-control:not(:placeholder-shown) ~ label, .form-floating > .form-select ~ label {
    color: rgb(0 181 226);
}

.funkyradio {
    display: contents;
}

.row > * > [class^="funkyradio-"] {
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-top: var(--bs-gutter-y);
}

.funkyradio div {
    clear: both;
    overflow: hidden;
}

.funkyradio label {
    width: 100%;
    border-radius: 4px;
    border: 1px solid var(--bs-border-color);
    box-shadow: 0 4px 8px 0 rgba(21, 21, 21, .2);
    font-weight: normal;
}

.funkyradio input[type="radio"]:empty,
.funkyradio input[type="checkbox"]:empty {
    display: none;
}

.funkyradio input[type="radio"]:empty ~ label,
.funkyradio input[type="checkbox"]:empty ~ label {
    position: relative;
    line-height: 2.5em;
    text-indent: 3.25em;
    margin-top: 0.5em;
    margin-bottom: 0.4em;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.funkyradio input[type="radio"]:empty ~ label:before,
.funkyradio input[type="checkbox"]:empty ~ label:before {
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    left: 0;
    content: '';
    width: 2.5em;
    background: #D1D3D4;
    border-radius: 3px 0 0 3px;
}

.funkyradio input[type="radio"]:hover:not(:checked) ~ label,
.funkyradio input[type="checkbox"]:hover:not(:checked) ~ label {
    color: #888;
}

.funkyradio input[type="radio"]:hover:not(:checked) ~ label:before,
.funkyradio input[type="checkbox"]:hover:not(:checked) ~ label:before {
    content: '\f00c';
    font-family: FontAwesome;
    text-indent: .9em;
    color: #C2C2C2;
}

.funkyradio input[type="radio"]:checked ~ label,
.funkyradio input[type="checkbox"]:checked ~ label {
    color: #777;
    border-color: #003a5b;
    border-left: none;
    border-top: none;
    border-width: medium;
}

.funkyradio input[type="radio"]:checked ~ label:before,
.funkyradio input[type="checkbox"]:checked ~ label:before {
    content: '\f00c';
    font-family: FontAwesome;
    text-indent: .9em;
    color: #333;
    background-color: #ccc;
}

.funkyradio input[type="radio"]:focus ~ label:before,
.funkyradio input[type="checkbox"]:focus ~ label:before {
    box-shadow: 0 0 0 3px #999;
}

.funkyradio-default input[type="radio"]:checked ~ label:before,
.funkyradio-default input[type="checkbox"]:checked ~ label:before {
    color: #333;
    background-color: #ccc;
}

.funkyradio-primary input[type="radio"]:checked ~ label:before,
.funkyradio-primary input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #337ab7;
}

.funkyradio-success input[type="radio"]:checked ~ label:before,
.funkyradio-success input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #5cb85c;
}

.funkyradio-danger input[type="radio"]:checked ~ label:before,
.funkyradio-danger input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #d9534f;
}

.funkyradio-warning input[type="radio"]:checked ~ label:before,
.funkyradio-warning input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #f0ad4e;
}

.funkyradio-info input[type="radio"]:checked ~ label:before,
.funkyradio-info input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #5bc0de;
}

.custom-file-input {
    position: relative;
    z-index: 2;
    width: 100%;
    height: calc(2.25rem + 2px);
    margin: 0;
    opacity: 0;
    padding: 0.75rem !important;
    line-height: 1.5 !important;
}

.form-floating > .form-control:not(:placeholder-shown) ~ label::after {
    inset: auto;
}

.custom-file-input:lang(es) ~ .custom-file-label::after {
    content: "Elegir" !important;
}

.custom-file-label {
    left: 0 !important;
    display: block !important;
    padding: 0.75rem .75rem !important;
    border: 0 solid #ced4da !important;
    transform: none !important;
    right: 0 !important;
    left: auto !important;
    color: var(--bs-secondary-color) !important;
}

.custom-file-label::after {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 3 !important;
    display: block !important;
    height: 2.25rem !important;
    padding: .375rem .75rem !important;
    line-height: 1.65 !important;
    color: #495057;
    content: "Browse";
    background-color: #e9ecef;
    text-align: center !important;
    border-left: 1px solid #ced4da !important;
    border-radius: 0 .25rem .25rem 0 !important;
}

.custom-file-label::after {
    height: 3.15rem !important;
    padding: 0.75rem .75rem !important;
    background-color: #00b5e2 !important;
    border: none !important;
    color: #fff !important;
}

.custom-file-input:focus ~ .custom-file-label {
    border-color: transparent;
    box-shadow: none;
}

@media (max-width: 768px) {
    .funkyradio label {
        font-weight: 500;
        font-size: 0.85rem;
    }
}

/* Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
    .w-sm-100 {
        width: 100% !important;
    }

    .w-sm-75 {
        width: 75% !important;
    }

    .w-sm-50 {
        width: 50% !important;
    }

    .w-sm-25 {
        width: 25% !important;
    }

    .h-sm-100 {
        height: 100% !important;
    }

    .h-sm-75 {
        height: 75% !important;
    }

    .h-sm-50 {
        height: 50% !important;
    }

    .h-sm-25 {
        height: 25% !important;
    }
}


/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
    .w-md-100 {
        width: 100% !important;
    }

    .w-md-75 {
        width: 75% !important;
    }

    .w-md-50 {
        width: 50% !important;
    }

    .w-md-25 {
        width: 25% !important;
    }

    .h-md-100 {
        height: 100% !important;
    }

    .h-md-75 {
        height: 75% !important;
    }

    .h-md-50 {
        height: 50% !important;
    }

    .h-md-25 {
        height: 25% !important;
    }
}

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
    .w-lg-100 {
        width: 100% !important;
    }

    .w-lg-75 {
        width: 75% !important;
    }

    .w-lg-50 {
        width: 50% !important;
    }

    .w-lg-25 {
        width: 25% !important;
    }

    .h-lg-100 {
        height: 100% !important;
    }

    .h-lg-75 {
        height: 75% !important;
    }

    .h-lg-50 {
        height: 50% !important;
    }

    .h-lg-25 {
        height: 25% !important;
    }
}

/* Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
    .w-xl-100 {
        width: 100% !important;
    }

    .w-xl-75 {
        width: 75% !important;
    }

    .w-xl-50 {
        width: 50% !important;
    }

    .w-xl-25 {
        width: 25% !important;
    }

    .h-xl-100 {
        height: 100% !important;
    }

    .h-xl-75 {
        height: 75% !important;
    }

    .h-xl-50 {
        height: 50% !important;
    }

    .h-xl-25 {
        height: 25% !important;
    }
}

.form-floating > .form-control.font-3x {
    height: calc(4.5rem + calc(var(--bs-border-width) * 2));
    font-size: 2rem;
    font-family: SansProBd;
}

.form-floating > .form-control[readonly] {
    background-color: #e9ecef;
    opacity: 1;
}

.h-certificate{
    min-height: calc(100vh - 362px);
}