/*************************************************
 * Components CSS
 * Style for general components
 * that not specified in bootstrap
*/


/*****----- Navbar Menu -----*****/

.nav-link {
    font-size: 18px;
    font-weight: 400;   /* medium weight */
    letter-spacing: 0.15px;
    color: #ffffff !important;
}

.nav-link:hover
{
    color: #bdbdbd !important;
}


/*****----- Buttons -----*****/
/* Note that .btn class is from bootstrap */
.btn.rounded-full-btn {
    border-radius: 100px;
}

/* Override bootstrap btn:hover button */
.btn:hover {
    box-shadow: 0 0 10px 100px rgba(255,255,255,0,0.15) inset;

}

.btn.primary-btn, a.btn.primary-btn, a.btn.primary-btn:link, a.btn-primary-btn:active, a.btn.primary-btn:visited {
    background:  #4285F4;
    color: #FAFAFA;
}
.btn.primary-btn:hover, a.btn.primary-btn:hover {
    /* background: #1974D2; */
    background: #0d47a1;
}

.btn.primary-outline-btn, a.btn.primary-outline-btn, a.btn.primary-outline-btn:link, 
a.btn.primary-outline-btn:active, a.btn.primary-outline-btn:visited {
    border: 1px solid #0000CC;
    color: #0000CC;
    /* border-radius: 0px; */
}

.btn.primary-outline-btn:hover, a.btn.primary-outline-btn:hover {
    background: #0000cc; /* #0033CC; /* #002C75; */
    color: #FAFAFA;
}

.btn:disabled, a.btn:disabled, .disabled
{
    pointer-events: none;
}

.btn.secondary-btn, a.btn.secondary-btn, a.btn.secondary-btn:link, a.btn.secondary-btn:active, a.btn.secondary-btn:visited {
    background: #444444; /*none repeat scroll 0 0; */
    color: #FAFAFA;
}

.btn.secondary-btn:hover, a.btn.secondary-btn:hover {
    background: #AFAFAF;
}

.btn.secondary-outline-btn, a.btn.secondary-outline-btn, a.btn.secondary-outline-btn:link, 
a.btn.secondary-outline-btn:active, a.btn.secondary-outline-btn:visited {
    border: 1px solid #444444;
    color: #444444;
}

.btn.secondary-outline-btn:hover, a.btn.secondary-outline-btn:hover {
    background: #444444;
    color: #FAFAFA;
}

.btn.cancel-btn, a.btn.cancel-btn, a.btn.cancel-btn:link, a.btn.cancel-btn:active, a.btn.cancel-btn:visited {
    background: #dc003a none repeat scroll 0 0;
}

.btn.submit-btn, a.btn.submit-btn, a.btn.submit-btn:link, a.btn.submit-btn:active, a.btn.submit-btn:visited {
    background: #b4bf04 none repeat scroll 0 0;
}

.btn.reload-btn, a.btn.reload-btn, a.btn.reload-btn:link, a.btn.reload-btn:active, a.btn.reload-btn:visited {
    background: #ff9800 none repeat scroll 0 0;
}

/* ---------------------------------------------------------- */
/*
/* ---  Collapse directory --- */
/*
/* ---------------------------------------------------------- */

/* --- Default style for collapsing directory

/* hiding checkbox by moving to out of screen
   this way, the input checkbox still clickable
*/
input.directory-column-section-state {
    position: absolute;
    left: -9999px; 
}

ul.directory-column-section-list {
    list-style: none;
    margin: 0;
    padding: 0;
    /* white-space: nowrap; */
}

a.directory-column-section-link {
    color: #616161;
    /* font-weight: 300; */
}

a.directory-column-section-link:hover {
    color: #424242; /* #545454; */
    text-decoration: underline;
}

/* --- small screen (mobile device portriat orientation) --- */
@media screen and (max-width: 576px) {
    .directory-column {
        margin-top: 0px;
        margin-bottom: 0px;
        padding-top: 10px;
        padding-bottom: 0;
        border-top: 1px solid #e0e0e0;
    }

    /* Collapsing ul using transform */
    .directory-column-section-list {
        height: 0;
        transform: scaleY(0);
    }

    input.directory-column-section-state ~ label {
        position: relative;
        display: block;
        cursor: pointer;
        width: 100%;
        padding: 0;
        margin: 0;
        font-weight: bold;
    }

    input.directory-column-section-state ~ label:after {
        position: absolute;
        display: inline-block;

        top: 5px;
        left: 90%;
        
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        font-family: "Font Awesome 5 Pro";
        font-size: 10px;
        font-weight: 900;
        content: "\f067";
    }
    
    input.directory-column-section-state:checked ~ label:after  {
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        font-family: "Font Awesome 5 Pro";
        font-size: 10px;
        font-weight: 900;
        content: "\f068";
    }

    input.directory-column-section-state:checked ~ ul.directory-column-section-list {
        height: 100%;
        transform-origin: top;
        transition: transform .2s ease-out;
        transform: scaleY(1);
    }
}

/** ----- Accordion custom style  ----- **/

.custom-accordion {
    /* max-width: 800px; */
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
}

.custom-accordion .card,
.custom-accordion .card:last-child  .card-header {
    border: none;
}

.custom-accordion .card-header {
    border-bottom-color: #EDEFF0;   /* may change color later */
    background: transparent;
}

.custom-accordion .fa-stack {
    font-size: 18px;
}

.custom-accordion .btn {
    width: 100%;    /* same affect as bootstrap btn-block */
    font-size: 18px;
    font-weight: normal;
    letter-spacing: 0.15px;
    color: #212121;/* #004987; */   /* may change color later */
    padding: 0;
}

.custom-accordion .btn span {
    color: #4285F4;
}

.custom-accordion .btn-link:hover,
.custom-accordion .btn-link:focus {
    text-decoration: none;
}

.custom-accordion li + li {
    margin-top: 10px;
}


/**----------- Owl Carousel Style -----------**/
.owl-carousel-wrapper {     /* product menu wrapper */
    position: relative;
    font-weight: 300;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #F5F5F5;
}

.owl-nav {
    position: absolute;
    top: 5%;
    left: 0;
    right: 0;
}
    .owl-prev, .owl-next {
        position: absolute;
        /*top: 50%; */
    }
        .owl-prev {
            left: 0;
        }
        .owl-next {
            right: 0;
        }

        .owl-prev span:hover, .owl-next span:hover {
            color: #1974D2;
            background-color: none;
        }
    .owl-dots {
        text-align: center;
        -webkit-tap-highlight-color: transparent;
        margin-top: 10px;
    }
    .owl-dots .owl-dot {
        display: inline-block;
        zoom: 1;
        *display: inline; 
    }     
        .owl-dots .owl-dot span {
            width: 10px;
            height: 10px;
            margin: 5px 7px;
            background: #3949AB;
            display: block;
            -webkit-backface-visibility: visible;
            transition: opacity 200ms ease;
            border-radius: 30px; 
        }
        .owl-dots .owl-dot.active span, .owl-dots .owl-dot:hover span {
            background: #869791;
        }