﻿/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!
!!  If this stylesheet is changed, also change version of this stylesheet in:
!!    
!!      _controls/head.ascx:208
!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/

/******************************************************************************
    Colours 
******************************************************************************/
.bb-bg-dark {
    background-color: #993800;
}

.bb-bg-middle, .dropdown-menu {
    background-color: #662e00;
}

.bb-bg-light {
    background-color: #ffe999;
}

.bb-fg-light, .navbar a, .carousel-caption h5, .carousel-caption p, .carousel-control-prev, .carousel-control-next {
    color: #ffe999 !important;
}

.carousel-indicators li {
    background-color: #ffe999;
}

a, h1, h2, h3, h4, h5, .bb-fg-middle, .fa-li, .h4 {
    color: #662e00 !important;
}

.figure-caption {
    color: inherit;
}

/******************************************************************************
    Borders
******************************************************************************/
.dropdown-menu, .card {
    border: none;
}

.card, .card-img, .card-img-top, .card-img-bottom {
    border-radius: 0px;
}

#content a {
    border-bottom-style: dotted;
    border-bottom-width: 1px !important;
}

#content .carousel-control-prev, #content .carousel-control-next {
    border-bottom-style: none;
}

a:hover {
    text-decoration: none;
    color: black !important;
    border-bottom-style: solid !important;
    border-bottom-width: 1px !important;
}

/******************************************************************************
    Margins and Paddings
******************************************************************************/

.navbar {
    margin-bottom: 30px;
}

img.float-right {
    padding-left: 10px;
}

img.float-left {
    padding-right: 10px;
}

.navbar-nav .d-inline-flex .dropdown-toggle {
    padding-left: 0rem;
}

/******************************************************************************
    Tables
******************************************************************************/
table {
    margin-bottom: 1rem;
}

    table.bb-table td, table.bb-table th {
        border-style: dotted;
        border-color: #cc5c00;
        border-width: 1px;
        padding: 0px 5px 0px 5px;
        vertical-align: top;
    }

/******************************************************************************
    Index columns
******************************************************************************/
@media (min-width: 576px) {
    .bb-index {
        -moz-column-count: 1;
        -webkit-column-count: 1;
        column-count: 1;
    }
}

@media (min-width: 768px) {
    .bb-index {
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-count: 2;
    }
}

@media (min-width: 992px) {
    .bb-index {
        -moz-column-count: 3;
        -webkit-column-count: 3;
        column-count: 3;
    }
}

/******************************************************************************
    Fonts and RFS (Responsive Font Scaling)
******************************************************************************/
.font-smaller {
    font-size: smaller;
}

.font-larger {
    font-size: larger;
}

@media (max-width: 1200px) {
    legend {
        font-size: calc(1.275rem + 0.3vw);
    }

    h1,
    .h1 {
        font-size: calc(1.375rem + 1.5vw);
    }

    h2,
    .h2 {
        font-size: calc(1.325rem + 0.9vw);
    }

    h3,
    .h3 {
        font-size: calc(1.3rem + 0.6vw);
    }

    h4,
    .h4 {
        font-size: calc(1.275rem + 0.3vw);
    }

    .display-1 {
        font-size: calc(1.725rem + 5.7vw);
    }

    .display-2 {
        font-size: calc(1.675rem + 5.1vw);
    }

    .display-3 {
        font-size: calc(1.575rem + 3.9vw);
    }

    .display-4 {
        font-size: calc(1.475rem + 2.7vw);
    }

    .close {
        font-size: calc(1.275rem + 0.3vw);
    }
}

.formula {
    font-family: "Times New Roman", Times, serif;
    font-style: italic;
    font-weight: bold;
    font-size: large;
}

/******************************************************************************
    Miscelleanous
******************************************************************************/
.fa-li {
    font-size: 0.5em;
    top: 0.9em;
}

.logo {
    max-height: 200px;
    max-width: 200px;
    width: auto;
    height: auto;
    margin-left: 10px;
    float: right;
}

.nav-link:hover {
    margin-bottom: -0.5rem;
    /*border-bottom-style: none;*/
    border-bottom-width: 0px !important;
    color: white !important;
}

.external:after {
    font-family: 'FontAwesome';
    font-size: 0.7rem;
    margin-left: 0.25rem;
    content: "\f360";
    opacity: 0.5;
}

hr {
    border-color: #cc5c00;
    border-style: none none dotted none;
    border-width: 0px 0px 2px 0px;
}
