/*
 Theme Name:   Understrap Child for BSc
 Theme URI:    http://example.com/understrap-child/
 Description:  Understrap Child Theme for BSc
 Author:       John Doe
 Author URI:   http://example.com
 Template:     understrap
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  understrapchild
*/

/* ====== */
/* GLOBAL */
/* ====== */

a {
    color: #0682B8;
}

a:hover {
    text-decoration:none; 
    color: gray;
}

h1 {
    font-size: 2rem;
}

h4 {
    padding-top: 6px;
}

.breadcrumbs {
    background: #f7f7f7 !important;
    padding: 9px 7px;
    border-radius: 7px;
    font-size: 90%;
    margin-bottom: 10px;
}

.entry-title {
    margin-bottom: 1.5rem;
}

/* ====== */
/* HEADER */
/* ====== */

.navbar {
    padding:0px;
}

#wrapper-navbar {
    position: fixed;
    top:0 !important;
    width:100%;
    z-index:900;
}

#wrapper-navbar .navbar {
    border-bottom: 1px solid #d6d9d0;
}

#wrapper-navbar .navbar, #frontpage-buttons {
    background: #f7f7f7 !important;
}

#wrapper-navbar .custom-logo-link  {
    max-width: 350px;
}


#wrapper-navbar .custom-logo-link-en {
    max-width: 395px;
}

#wrapper-navbar .custom-logo-link img {
    padding-bottom: 8px !important;
}

#pojo-a11y-toolbar-toggle {
  font-size: 10px !important;
}

/* ==== */
/* MEGA MENU */
/* ==== */

#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator::after {
    margin:0px; 
}

li.mega-menu-item {
    padding-right: 3px !important;
    padding-left: 5px !important;
}

.mega-menu-primary .mega-menu-item:last-child ul {
    max-width: 50px !important;
}

.mega-sub-menu {
    -webkit-box-shadow: 0 2px 6px rgba(0,0,0,0.1);
-moz-box-shadow: 0 2px 6px rgba(0,0,0,0.1);
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: none !important;
    width: 220px;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
    padding: 8px 0px 8px 5px;
  line-height: normal;
}

#mega-menu-primary > .mega-menu-item > .mega-sub-menu {
    margin-top:0px !important;
}

.mega-sub-menu > li > .mega-sub-menu {
    top: -4px !important;
}

.mega-menu-link {
    transition: none !important;
}

.mega-sub-menu .mega-menu-item {
    border-bottom: 1px solid #f1f1f1 !important;
}

.mega-sub-menu .mega-menu-item a {
}

/* FOR FIXED HEADER  */
.wrapper {
    padding-top:125px;
}
#page-wrapper-frontpage {
    padding-top: 102px;
}

/* ================== */
/* FRONTPAGE ELEMENTS */
/* ================== */

.carousel-caption {
    padding-bottom: 10px;
}

.carousel-caption-inner {
    background: #f7f7f7ad;
    color: black;
    width: 40% !important;
    min-width: 300px;
    margin: 0px auto;
    padding: 0px;
    padding-top: 5px;
        padding-left:3px;
        padding-right:3px;
}

.carousel-caption-inner h5 {
/*     color: #0682B8; */
    font-weight: 600;
    text-shadow: 1px 1px #e1e1e1;
}
.carousel-caption-inner p {
    padding-bottom: 6px;
}

#frontpage-buttons {
    padding: 10px 0px 5px 0px;
    margin: 0px;
}

.frontpage-button-inner {
    background: #fff;
    padding: 15px 5px;
    margin:0px;
    text-align:center;
    line-height:17px;
    margin-bottom: 5px;
}

.frontpage-button a {
    color: black;
}

.frontpage-button a:hover {
    color: gray;
}

.frontpage-button-title {
  font-weight: 600;
}

.frontpage-button-subtitle {
  font-size:80%;
}

.frontpage-button-icon {
    margin-bottom:5px;
    font-size:110%;
    color: #272727 !important;
}

.frontpage-button-text {
}

#frontpage-main {
    padding-top: 20px;
}

/* NEWS TABLE */
#frontpage-main table td {
  border:0px;
    background:white;
    border-bottom: 1px solid #ddd;
  word-break: normal;
    padding: 5px;
}

#frontpage-main table tr:last-child td{
    border-bottom:0px;
    }

/* ====== */
/* FOOTER */
/* ====== */

.entry-footer {
    margin-bottom: 1rem;
}
.footer-widget {
    padding-top:10px;
}

#wrapper-footer-full {
    margin-top: 50px;
    padding-top: 17px;
    background: #272727;
    color: rgb(204, 204, 204);
}

#wrapper-footer-full .dep a {
    color: rgb(204, 204, 204);
}

#wrapper-footer-full a:hover {
    color: white;
}


body.modal-open {
    overflow: visible !important;
    position: inherit;
}

/* ====== */
/* DATATABLES */
/* ====== */


.page-link {
    color: #0682B8 !important;
}

.page-link:hover {
    color: #0682B8 !important;
}
.page-item.disabled .page-link  {
    color: #6c757d !important;
}

.page-item.active .page-link {
    color: #fff !important;
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}


table.dataTable > tbody > tr.child span.dtr-title {
    min-width: 90px !important;
}

/* ====== */
/* STAFF CARDS */
/* ====== */

.staff-img {
    max-width: 75px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    border-radius: 5px;
}

.staff-card {
    max-width: 400px;
}

.staff-card-body {
    padding-left: 12px !important;
}

.staff-card-text {
    font-size:97%;
}
.card-title .staff-name {
    font-weight:bold;
}

.staff-card-img {
    border-radius: calc(.25rem - 1px) 0 calc(.25rem - 1px)
}

.staff-card-img-div {
    background:#f7f7f7;
}

/* ====== */
/* e-services */
/* ====== */
.eservices h3 {
    padding-top: 1.5rem;
}
.eservices #buttons .btn {
    height: 60px;
    margin-bottom: 7px;
}

.eservices #buttons svg {
    float:left; 
    margin-right:8px;
    font-size: 130%;
}

.eservices #btnText {
    vertical-align: middle;
    display:inline-block;
}


/* ===============================================================================================================================*/
/* ===============================================================================================================================*/
/* ===============================================================================================================================*/
/* ===============================================================================================================================*/


/* =============
 * MEDIA QUERIES
 * ============= */

/* RESPONSIVE MENU 
   breaks at 1200px
*/

@media (max-width: 1200px) {
    #mega-menu-primary {
        width: 70% !important;
    }
    #wrapper-navbar {
        position: relative;
        padding-top: 40px;
    }
    .navbar-toggler {
        display:none; 
    }
    .wrapper {
        padding-top:15px;
    }
    
    #mega-menu-wrap-primary {
        position: fixed;
    top: 0;
    width: 100%;
    left: 0px;
        border-radius:0px;
    }
    
    .mega-sub-menu  a {
        font-size:15px !important;
    }
    
    .mega-toggle-animated-slider {
        margin-right: 11px !important;
    }
    
    .mega-menu-toggle {
        border-radius: 0px !important;
    }
    
    #mega-menu-primary > .mega-menu-item > .mega-sub-menu {
        margin-top:0px !important;
    }

    #page-wrapper-frontpage {
        padding-top: 0px;
    }

    #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row > ul.mega-sub-menu > li.mega-menu-column {
        width: 100%;
    }
}


/* ====================================== */
/* Medium devices (tablets, 768px and up) */
/* ====================================== */

@media (min-width: 768px) { 
}

@media (max-width: 768px) {
    .carousel-caption {
        display:none;
    }
}


/* ========================= */
/* Xtra-Small devices-phones *
/* ========================= */

@media (max-width: 575px) {
    .custom-logo-link, .custom-logo-link-en {
        margin-left: 14px;
    }
    
    #wrapper-navbar .custom-logo-link-en {
        max-width: 350px;
    }
    
    .footer-widget {
        padding-bottom:20px;
    }
    
    #mega-toggle-block-1::after {
        content: 'MENU' !important;
        color: white;
    }
    
    #mega-toggle-block-1 {
        padding-left: 5px
    }
    
    .mega-menu-link, .mega-menu-item {
        font-size: 17px !important;
    }
    
    .mega-sub-menu> .mega-menu-item {
        padding-left: 5px !important;
    }
    
    li.mega-menu-item {
        padding: 2px 0px !important;
    }
    
    .frontpage-button-inner {
        margin-bottom:10px;
    }
    
    #frontpage-buttons {
        padding: 10px 0px 0px 0px;
        margin: 0px;
    }
    
    h1 {
        font-size:2rem;
    }

    #courseChooser {
        margin-top:0px;
    }
    
    /* Switch carousel captions to below image in mobile*/
    .carousel-caption {
        bottom: -20px !important;
        left:0 !important;
        right:0 !important;
        padding: 0px !important;
    }

    .carousel-caption-inner {
        width: 100%;
        font-size: 80%;
        min-width: 90%;
        padding-bottom:10px;
    }

    .carousel-caption-inner h5 {
        font-size: 1rem;
        padding: 0px !important;
        margin: 0px !important;
    }

    .carousel-indicators, .carousel-control-prev, .carousel-control-next {
        display: none !important;
    }

    table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child::before, table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child::before {
        /*top: 7px !important;*/
        background-color: #0682B8 !important;
        box-shadow: 0 0 1px #444 !important;
        border: 0px !important;
    }

    table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td:first-child::before, table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th:first-child::before {
        background-color: #808080 !important;
    }

    table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child, table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child {
        /*padding-left: 12px !important; */
    }

}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { 
}

/*  Large devices (desktops, 992px and up) */
@media (min-width: 992px) { 
}

/*  Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 
}
