@font-face {
    font-family: 'SansProRl';
    src: url("../fonts/SourceSansPro-Regular.otf") format("opentype");
}

@font-face {
    font-family: 'SansProLg';
    src: url("../fonts/SourceSansPro-Light.otf") format("opentype");
}

@font-face {
    font-family: 'SansProBd';
    src: url("../fonts/SourceSansPro-Bold.otf") format("opentype");
}

@font-face {
    font-family: 'SansProIt';
    src: url("../fonts/SourceSansPro-It.otf") format("opentype");
}

* {
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: 'SansProRl';
    background-color: #E5E5E5;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: SansProRl;
}

.wrapper {
    width: 100%;
    height: 100%;
    margin-top: 0 !important;
}

header {
    width: 100%;
}

header .navbar {
    height: 45px;
    background-color: #00395E;
}

.navbar-brand {
    line-height: 1.25rem;
}

.navbar-brand img {
    height: 25px;
}

footer {
    background: #0f3b5c;
    height: auto;
}

footer .img-fluid {
    max-height: 120px;
}

footer .logo-buap {
    max-height: 135px;
}

.footer ul {
    font-size: 12px;
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
    margin-top: 15px;
    color: #7F8C8D;
}

.footer ul li a {
    display: block;
    text-decoration: none !important;
    font-size: 10px;
    color: #00B5E2 !important;
}

.footer-bottom {
    background: #fff;
    padding: 15px;
    color: #455a64;
    border-top: 1px solid #d2d6de;
}

.min-h-fullscreen.bg-img, .min-h-fullscreen .bg-img {
    background-image: url("../img/bg-certificate.jpg");
    position: relative;
    border-bottom: none;
    background-position: center;
    -webkit-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
}

.full-main-content {
    height: calc(100% - 235px);
}

.form-control:focus {
    box-shadow: none;
}

/*===================================
  Card
  ===================================*/

.card {
    transition: .5s;
    border: 0;
    position: relative;
    width: 100%;
    padding: 10px 0 0 0;
    background-color: #ffffff;
    -moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.card-custom {
    right: 145px;
    width: 120%;
    min-width: 410px;
    max-width: 415px;
}

.primary {
    color: #00B5B8 !important;
}

.danger {
    color: #FF7588 !important;
}

.link_card {
    color: inherit;
}

.link_card:hover {
    text-decoration: none;
    color: inherit;
}

/*===================================
  Navbar
  ===================================*/
.bg-light {
    margin-top: -45px;
    background-color: #003B5C !important;
}

.bg-light .navbar-nav .nav-item.active .nav-link {
    color: #00B5E2;
}

.bg-light .navbar-nav .nav-link:hover, .bg-light .navbar-nav .nav-item.active .nav-link:hover {
    background-color: #00B5E2;
    color: white;
}

.bg-light .navbar {
    padding: 4px;
}

.navbar.navbar-light {
    background: #fff;
    border: none;
    border-radius: 0;
    padding: 1px 15px;
    position: fixed;
    width: 100%;
    z-index: 4;
}

.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link:focus {
    color: #ffffff;
}

.navbar-light .navbar-nav .nav-link {
    color: #ffffff;
}

.navbar .btn-custom {
    background-color: #00B5E2;
    color: #ffffff;
    margin-top: 2px;
    margin-bottom: 3px;
}

svg:not(:root).svg-inline--fa {
    overflow: visible;
}

.svg-inline--fa.fa-w-14 {
    width: .875em;
}

.svg-inline--fa {
    display: inline-block;
    font-size: inherit;
    height: 1em;
    overflow: visible;
    vertical-align: -.125em;
}

/*===================================
  Modal popup
  ===================================*/
.mfp-container {
    padding: 0 10px;
}

.white-popup-block {
    background: #FFF;
    /*padding: 20px 30px;*/
    text-align: left;
    max-width: 720px;
    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 {
    font-size: 20px;
    float: right;
    opacity: 0.9;
    filter: alpha(opacity=90);

}

.popup-block-close .popup-close {
    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;
    font-weight: bold;
}

.popup-block-close .popup-close:focus {
    outline: none;
}

.white-popup-block-body {
    position: relative;
    padding: 15px;
}

.white-popup-block-footer {
    padding: 3px;
    background-color: #003B5C;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
}

.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);
    padding: 10px 10px;
    min-width: 40px;
}

/********************************
* FAQ THEME
********************************/
.jag-faq-theme5 .jag-faq-title {
    background: #ffffff;
    color: #000;
    padding: 20px;
    font-size: 15px;
    margin-top: 15px;
    cursor: pointer;
    position: relative;
    border-left: 5px solid #ff0044;
    box-shadow: 0px 0px 10px #dddddd;
}

.jag-faq-theme5 .jag-faq-title i {
    margin-right: 5px;
    font-size: 15px;
    color: #000;
    line-height: 20px;
}

.jag-faq-theme5 .panel-body img,
.jag-faq-theme5 .panel-body iframe,
.jag-faq-theme5 .panel-body video {
    margin: 10px;
}

/*Random Theme color*/
.jag-faq-theme5.jag-faq-random-colors .jag-faq-wrapper:nth-child(3n+2) .jag-faq-title {
    border-left-color: #ea3566;
}

.jag-faq-theme5.jag-faq-random-colors .jag-faq-wrapper:nth-child(4n+3) .jag-faq-title {
    border-left-color: #ea4e00;
}

.jag-faq-theme5.jag-faq-random-colors .jag-faq-wrapper:nth-child(5n+4) .jag-faq-title {
    border-left-color: #00aac4;
}

/*Default Theme color*/
.jag-faq-theme5 .jag-faq-title {
    border-left-color: #ff0044;
}

/*Theme orange*/
.jag-faq-theme5.jag-faq-theme-orange .jag-faq-title {
    border-left-color: #ea4e00;
}

/*Theme dark red*/
.jag-faq-theme5.jag-faq-theme-darkred .jag-faq-title {
    border-left-color: #c40000;
}

/*Theme pink*/
.jag-faq-theme5.jag-faq-theme-pink .jag-faq-title {
    border-left-color: #f90f90;
}

/*Theme blue*/
.jag-faq-theme5.jag-faq-theme-blue .jag-faq-title {
    border-left-color: #00aac4;
}

.toggle.btn-success {
    background-color: #4caf50;
    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);
    width: 100% !important;
    /*max-width: 120px;*/
}

.toggle-handle.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.btn-danger {
    background-color: #f44336 !important;
}

.toggle.btn-danger.off {
    background-color: #f44336;
    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);
    width: 100% !important;
    /*max-width: 120px;*/
}

.page-header-module {
    margin: 0;
    border: 0;
    padding: 0;
    color: #003b5c;
    text-transform: uppercase;
    font-family: SansproBd;
}

.separator {
    height: 3px;
    background-color: #00B5E2;
    margin-bottom: 20px;
    display: block;
    text-align: right;
}

.timepicker > .timepicker-picker table td span {
    width: 20px;
    height: 25px;
    display: block;
    line-height: 25px;
    margin: auto;
}

.timepicker > .timepicker-picker table td {
    height: 0;
    width: 0;
    padding: 0 !important;
    line-height: normal;
}

.picker__select--month, .picker__select--year {
    padding: 0.25em !important;
}

.timepicker > .timepicker-picker table td.separator {
    background-color: transparent !important;
    line-height: 30px !important;
    width: 54px !important;
}

.timepicker > .timepicker-picker .timepicker-hour, .timepicker > .timepicker-picker .timepicker-minute, .timepicker > .timepicker-picker .timepicker-second {
    width: 100%;
}

.bootstrap-datetimepicker-widget table th {
    height: 30px !important;
}

.bootstrap-datetimepicker-widget table td.day {
    height: 25px !important;
}

.bootstrap-datetimepicker-widget a[data-action] {
    color: #003b5c !important;
}

.btn {
    cursor: pointer;
    color: #FFFFFF !important;
    padding: 0.5rem;
    min-width: 35px;
    font-size: 0.875rem;
    line-height: 1.42857143;
}

.white-popup-block.size-lg {
    max-width: 980px;
}

.white-popup-block.size-xl {
    max-width: 85%;
}

/*===================================
  Block Info
  ===================================*/
.block-info {
    padding: 5px 10px 5px 10px;
    position: relative;
    margin-bottom: 0.625rem;
    background: #FFF;
    border-left: solid 3px #003b5c;
    -webkit-box-shadow: 0 2px 1px 0 rgba(0, 59, 92, .2);
    -moz-box-shadow: 0 2px 1px 0 rgba(0, 59, 92, .2);
    box-shadow: 0 2px 1px 0 rgba(0, 59, 92, .2);
}

.block-info span {
    font-size: 0.9375rem;
    color: #00B5E2;
}

.block-info h4 {
    font-weight: bold;
    color: #003b5c;
    font-size: 1.0625rem;
    margin: 0;
}



@media only screen and (min-width: 991px) {
    .footer .columns {
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }


}

@media (max-width: 768px) {
    .bg-light .navbar-nav .nav-link {
        padding: 5px 5px;
        margin-bottom: 5px;
        text-align: center;
        font-size: 0.875rem;
        width: 100%;
        line-height: 25px;
    }

    .white-popup-block.size-xl {
        max-width: 100%;
    }
}

@media only screen and (max-width: 575px) {
    .card-custom {
        right: 0;
        width: 100%;
        min-width: 100%;
    }

    .white-popup-block.size-xl {
        max-width: 100%;
    }
}

.csi-subtitle, .csi-title {
    font-size: 5.5rem;
    line-height: 6.5rem;
    font-family: SansProBd;
    color: #00B5E2;
    text-shadow: 3px 0 3px rgba(0, 0, 0, 0.8);
}

.csi-subtitle {
    font-weight: 300;
    margin: 0;
    font-size: 4.5rem;
    line-height: 5.5rem;
}


/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199px) {
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991px) {
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767px) {
    /*.csi-subtitle, .csi-title {
        /*font-size: calc(42px + 0 * ((100vw - 320px) / 680));
        line-height: calc(42px + 0 * ((100vw - 320px) / 680));
        margin-top: 40px;
        line-height: 4.5rem;
    }*/
    .heading h2 {
        font-size: 3rem;
    }

    .btn {
        font-size: 1rem !important;
        line-height: 1 !important;
    }
}


/*Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
    .csi-subtitle, .csi-title {
        font-size: calc(52px + 0 * ((100vw - 320px) / 680));
        line-height: calc(52px + 0 * ((100vw - 320px) / 680));
        margin-top: 15px;
        margin-bottom: 10px;
    }

    .heading h2 {
        font-size: 2.5rem;
    }
}
