﻿:root {
    --table-header-bgcolor: #300000;
    --table-header-color: #FFFFFF;
    --color-primary: #300000;
    --color-secondary: #f2f2f2;
    --color-info: #300000;
    --color-green: #6e7e1b;
    --color-green-2: #6ca342;
    --color-gray: #d7d7d7;
    --color-gray-2: #d8d8d8;
    --color-gray-3: #797979;
    --color-alert: #FFD100;
    --border-radius: 4px;
    --border-radius-top: 4px 4px 0 0;
}

button {
    background-color: inherit;
    font-size: inherit;
    border: none;
    cursor: pointer;
    outline: none;
    margin: auto;
    display: block;
    height: inherit;
}
/* *** BS Additions ****/
h2 {
    font-family: Segoe UI;
    font-style: italic;
    font-size: 24px;
    font-weight: 600;
    text-align: left;
    color: #300000;
}

h3 {
    font-family: Segoe UI;
    font-style: italic;
    font-size: 20px;
    font-weight: 600;
    text-align: left;
    color: #300000;
}
h4 {
    font-family: Segoe UI;
    font-style: italic;
    font-size: 30px;
    font-weight: 600;
    text-align: left;
    color: #330000;
    padding-bottom: 20px;
}

p {
    font-size: 14px;
    font-weight: 400;
    text-align: justify;
}

/*Alerts*/

.alert {
    margin: 0;
}

    .alert.box hr {
        display: none;
    }

    .alert.box p {
        background-color: rgba(255,255,255,0.4);
        padding: 40px 20px;
        width: calc(100% + 64px);
        margin: 15px -16px;
    }

.alert-warning {
    color: #300000;
    background-color: var(--color-alert);
    border: 0;
    border-radius: 0;
}

.btn-close {
    background: url("../img/icon-close-brown.svg") center no-repeat;
    opacity: 1
}


.alert-dismissible .btn-close {
    position: absolute;
    top: 11px;
    right: 14px;
    z-index: 2;
    width: 30px;
    height: 30px;
    padding: 0;
    cursor: pointer;
}

/*Accordion*/
.accordion {
    position: relative;
}

.accordion-header {
    margin-bottom: 0;
    width: calc(100%);
}

.accordion-items {
    width: 100%;
    position: relative;
}

    .accordion-items:after {
        background-color: var(--color-green);
        content: "";
        display: block;
        height: 5px;
        position: absolute;
        width: 100%;
        bottom: 0;
        left: 0;
    }

    
.accordion-item {
    margin-right: 20px;
    margin-bottom: 20px;
    border: none;
    border-bottom: 5px solid var(--color-green);
}


    .accordion-header button {
    border-radius: var(--border-radius-top) !important;
        background-color: var(--color-green);
        width: 300px;
        border: 0;
        height: 35px;
        color: #fff;
        text-transform: uppercase;
        margin-left:24px;
        padding-right: 45px;
    }

        .accordion-header button:hover {
            color: #fff;
        }

        .accordion-header button:hover {
            z-index: 0;
        }

        .accordion-header button::after {
            background: url(../img/icon-arrow-circle-down-white.svg);
            position: absolute;
            top: 10px;
            right: 14px;
        }

    .accordion-item:last-child {
        border-radius: 4px 4px 0 0;
    }

    .accordion-item .accordion-body {
        border-top: 5px solid var(--color-green);
        margin-bottom: 20px;
        padding: 1rem 1.25rem;
    }

.accordion-button:not(.collapsed) {
    background-color: var(--color-green);
    color: white;
    box-shadow: none;
}


    .accordion-button:not(.collapsed)::after {
        background: url(../img/icon-arrow-circle-down-white.svg);
        transform: rotate(-180deg);
    }

.bg-secondary {
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 30px;
    opacity: 0.895;
    justify-content: space-around;
}

    .bg-secondary span {
        color: white;
        text-shadow: 3px 1px 2px black;
    }

/*Buttons*/
.btn {
    height: 40px;
    border: 0px;
    border-radius: 4px;
    color: #ffffff;
    padding: 9px 12px;
    font-family: Segoe UI;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    width: 200px;
}

    .btn:disabled {
        background-color: #F2F2F2;
        color: #D6D6D6;
    }

    .btn:focus,
    .btn:active {
        box-shadow: none;
    }


.btn-primary {
    background-color: var(--color-green);
}

    .btn-primary:hover {
        background-color: #939F54;
    }

    .btn-primary:focus {
        background-color: #B0B882;
        box-shadow: 0 0 0 0.0rem #B0B882;
    }

.btn-secondary {
    background-color: #426DA9;
    border: 0px;
}
max
    .btn-secondary:hover {
        background-color: #7191BE;
    }

    .btn-secondary:focus {
        background-color: #97AFD0;
        box-shadow: 0 0 0 0.0rem #97AFD0;
    }

.btn-info {
    background-color: #016862;
}

    .btn-info:hover {
        background-color: #00857D;
        color: #ffffff;
    }

    .btn-info:focus {
        background-color: #03A197;
        box-shadow: 0 0 0 0.0rem #03A197;
    }

.btn-slim {
    width: 140px;
}

.btn-wide {
    width: 250px;
}

.btn-with-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: inherit;
    padding: 6px 12px 10px; 
}

.btn-with-icon i{
    margin-right: 14px;
}
/* Cards*/
.card {
    background: #d3d3d3;
    border-radius: 14px;
    padding: 20px 20px 30px;
}

.learning-center .card-title {
    margin-bottom: 0.4rem;
    line-height: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}


    .learning-center .card-title i {
        margin-right: 0.4rem;
    }
    .card-wrapper, .card-wrapper-2 {
    margin: 20px 0;
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(1,1fr);
}

.learning-center .card-wrapper-2 {
    overflow-y: scroll;
    max-height: 596px;
    margin-bottom: 21px;
}
.learning-center .well .card .card-body p {
    padding: 20px 14px;
    font-size: 16px;
    line-height:1.2;
}
.learning-center .accordion-item {
    margin-right:0;
}

.well {
    background: var(--color-gray);
    padding: 0 20px;
    padding-bottom: 0;
    border-radius: 10px;
    margin: 0;
    overflow:hidden;
    margin-bottom: 20px;
}

    .well .card {
        background: white;
        padding: 10px 0px;
    }
    .well .card .btn{
        background-color: var(--color-green-2);
    }


        .well .card .card-body {
            padding: 0;
            padding-left: 7px;
            padding-right: 7px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .well .card .card-body img {
            width:100%;
            max-height: 200px;
        }
    @media only screen and (min-width: 576px) {
        .card-wrapper {
        grid-template-columns: repeat(2,1fr);
    }
}


@media only screen and (min-width: 960px) {

    .card-wrapper {
        grid-template-columns: repeat(1,1fr);
    }
    .card-wrapper-2 {
        grid-template-columns: repeat(2,1fr);
    }
    .card-wrapper-3 {
        grid-template-columns: repeat(3,1fr);
    }
}


/*Forms*/
.form-group {
    margin-bottom: 10px;
}

    .form-group > .form-group {
        margin-left: 20px;
    }

    .form-group label {
        background-color: transparent;
        font-family: Segoe UI;
        font-size: 14px;
        font-weight: 400;
        text-align: left;
        color: #330000;
        margin: 0px;
    }

.form-control {
    background-color: #F2F2F2;
    border: 1px solid #D1CAC2;
    border-radius: 4px;
}

    .form-control:focus {
        border-color: #939F54;
        box-shadow: 0 0 0 0.0rem #B0B882;
    }

.form-select {
    background-color: #F2F2F2;
    border: 1px solid #D1CAC2;
    border-radius: 4px;
    background-image: url("../img/icon-arrow-triangle-down-brown.svg");
}


    .form-select:focus {
        border-color: #939F54;
        box-shadow: 0 0 0 0rem #b0b882
    }

.form-check-label {
    background-color: transparent;
    padding-top: 4px;
    font-family: Segoe UI;
    font-size: 14px;
    font-weight: 400;
    text-align: left;
    color: #330000;
}

.form-check-input {
    width: 21px;
    height: 21px;
    background-color: #ffffff;
    border: 1px solid #D1CAC2;
}

    .form-check-input:checked {
        background-color: var(--color-green);
        border-color: var(--color-green);
        color: var(--color-green);
        background-image: url("../img/icon-checkmark-white.svg")
    }

    .form-check-input:focus {
        border: 1px solid var(--color-green);
        box-shadow: 0 0 0 0.0rem var(--color-green);
    }

    .form-check-input:checked[type=checkbox] {
        background-image: url("../img/icon-checkmark-white.svg");
        background-size: 15px 16px;
    }

    .form-check-input:checked[type=radio] {
        background-image: url("../img/icon-ribbon-language.svg");
        background-size: 15px 16px;
    }



.invalid-feedback,
.valid-feedback {
    background: #ffe8a6;
    color: #7d3f16 !important;
    display: block;
    font-size: 14px;
    font-style: italic;
    line-height: 1;
    margin: 0;
    padding: 11px 14px;
    width: 100%;
}

.valid-feedback {
    color: #016862 !important;
}
/*Icons*/
.icon {
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: inline-block;
    background-repeat: no-repeat;
}
.icon-sm {
    width: 20px;
    height: 40px;
}

button.icon {
    border: none;
    background-color: transparent;
}

.icon {
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: inline-block;
}


.icon-sm {
    width: 26px;
    height: 26px;
}

.icon-lg {
    width: 60px;
    height: 60px;
}

.icon-xl {
    width: 80px;
    height: 80px;
}
.icon-boxes {
    width: 120px;
    height: 40px;
    background-image: url(../img/boxes.gif);
}

.icon-truck {
    width: 120px; 
    height: 61px;
    background-image: url(../img/truck-animation.gif);
}
input[type='button'].icon {
    border: none;
    background-color: transparent;
}

input[type='submit'].icon {
    border: none;
    background-color: transparent;
}


/* Loaders */


#loading {
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    width: 120px;
    height: 61px;
    top: 300px;
    position: relative;
    margin: 0 auto
}
#overlay {
    background: rgba(51, 51, 51, .7);
    width: calc(100vw);
    height: calc(100vw);
    position: fixed;
    top: 0;
    display: none;
    left: 0;
}

/*Table*/
.table {
    border-collapse: separate;
    border-spacing: 0px;
}

    .table thead tr {
        background-color: #330000;
        color: #ffffff;
    }

    .table > :not(:last-child) > :last-child > * {
        border-bottom-color: #330000;
        border-bottom: 1px solid #330000 ;
        border-top: 1px solid #330000 ;
        border-radius: 0;
    }

    .table thead tr td {
    }

        .table thead tr td:first-child {
            border-top-left-radius: 4px;
        }

        .table thead tr td:last-child {
            border-top-right-radius: 4px;
        }

    .table thead tr th {
        /*text-align: center; - no. just no. */
        border: 1px solid #330000;
    }

        .table thead tr th:first-child {
            border-top-left-radius: 0;
        }

        .table thead tr th:last-child {
            border-top-right-radius: 4px;
        }


    .table tbody tr::-webkit-meter-even-less-good-value:nth-child(even){
        color: #333333;
        background: #FFF;
    }
    .table tbody tr::odd {
    }

    .table tbody tr:nth-child(even) {
        color: #330000;
        background: #f2f1ef;
    }

        .table tbody tr td {
            border: 0;
        }

        .table tbody tr:last-child td:first-child {
            border-bottom-left-radius: 4px;
        }

        .table tbody tr:last-child td:last-child {
            border: 0;
            border-bottom-right-radius: 4px;
        }

.small-input{
    max-width: 220px;
}
/*Tabs*/
.nav.nav-tabs {
    border-bottom: 5px solid var(--color-green);
    overflow: auto;
    display: inline-flex;
    flex-wrap: nowrap;
    width: calc(100%);
    white-space: nowrap;
}

    .nav.nav-tabs .nav-item:first-child {
        margin-left: 10px;
    }

    .nav.nav-tabs .nav-link {
        background-color: #D6D6D6;
        color: #330000;
        margin: 0px 4px;
        border-bottom: 1px solid #D6D6D6;
        padding: 7px 15px;
        text-transform: uppercase;
    }

    .nav.nav-tabs > li.nav-item > a.nav-link {
        margin: 0px 2px;
    }


        .nav.nav-tabs .nav-link:first-child {
            margin-left: 14px;
        }

        .nav.nav-tabs .nav-link:hover {
            background-color: #939F54;
            color: #ffffff;
            border-bottom: 0;
        }

        .nav.nav-tabs .nav-link:focus {
            background-color: #B0B882;
            color: #ffffff;
            border-bottom: 0;
        }

        .nav.nav-tabs .nav-link.active {
            background-color: var(--color-green);
            color: #ffffff;
            border-bottom: 0;
        }

        .nav.nav-tabs .nav-link:disabled {
            background-color: #F2F2F2;
            color: #D6D6D6;
        }


.table thead tr {
    background-color: transparent;
    color: #330000;
}

    .table thead tr th{
        border: 0;
        border-bottom: solid 1px solid !important;
    }
    /*Pagination*/
    .pagination .page-item {
        padding: 0 5px;
    }

    .pagination .page-item:first-child {
        padding: 0 5px 0 0;
    }

.pagination .page-link {
    color: #330000;
    background-color: #F2F2F2;
    border: 1px solid #D1CAC2;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    font-size:20px;
}

.pagination .page-item.active .page-link {
    color: #ffffff;
    background-color: var(--color-green);
    border: 1px solid var(--color-green);
}

.pagination .page-link:hover {
    color: #ffffff;
    background-color: #939F54;
    border: 1px solid #939F54;
}

.pagination .page-link:focus {
    color: #ffffff;
    background-color: #B0B882;
    border: 1px solid #B0B882;
}

.pagination .page-item input[type=text] {
    width: 70px;
}

/*Modal*/
.modal.modal-loader .modal-dialog {
    top: 30%;
    width: fit-content;
    border: none;
    background-color: transparent;
    border: none;
    box-shadow: none;
}

    .modal.modal-loader .modal-dialog .modal-content {
        background-color: transparent;
        width: fit-content;
        border: 0;
    }

.modal .modal-content {
    background-color: #F2F2F2
}

.modal.modal-notification.show .modal-dialog {
    transform: none;
    max-width: none;
    margin: 0;
}


.modal.fade .modal-dialog {
    transform: none;
}


.modal-content {
    background-color: #F2F2F2;
    border: 1px solid #797979;
}

    .modal-content .modal-header {
        flex-direction: column;
        border: 0px;
    }


        .modal .modal-dialog .modal-content .modal-header .modal-title {
            font-family: Segoe UI;
            font-size: 22px;
            font-weight: 400;
            text-align: center;
            color: #330000;
        }


    .modal .modal-dialog .modal-content .modal-footer {
        flex-direction: row;
        justify-content: center;
        border: 0px;
    }

    .modal .modal-dialog .modal-content .form-control {
        background-color: #ffffff;
    }

    .modal .modal-dialog .modal-content .form-select {
        background-color: #ffffff;
    }





.modal-content {
    background-color: var( --color-secondary);
    border: 1px solid #300000;
    border-radius: 6px;
}

.modal-header .btn-close {
    padding: 0;
    margin: 0;
    position: absolute;
    right: 14px;
}

.modal .modal-dialog .modal-content .modal-footer {
    justify-content: space-evenly;
}


@media only screen and (min-width: 576px) {

    .modal.modal-notification .modal-dialog {
        margin: 0;
        max-width: none !important;
    }
}


/*Marquees*/
@keyframes moveSlideshow {
    100% {
        transform: translateX(-66.6666%);
    }
}

.ticker {
    height: 40px;
    width: 100% !important;
    float: left;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
    background-color: #FFE8A6;
    color: #330000;
    padding: 4px 0;
    text-align: left;
    display: block;
}

.mover {
    animation: moveSlideshow 25s linear infinite;
    display: inline-block;
    width: max-content;
    height: 40px;
}

    .mover h1 {
        display: inline;
        float: left;
        font-size: 28px;
        margin: 0 0 0 40px;
        font-style: italic;
    }

    .mover p {
        width: max-content;
        display: inline;
        float: left;
        margin: 8px 0 0 10px;
        text-align: left;
    }

    .mover strong {
        font-style: italic;
    }

#close-ticker {
    display: block;
    position: absolute;
    top: 8px;
    right: 5px;
    width: 25px;
    height: 25px;
    border-radius: 4px;
    background-color: #426DA9;
    z-index: 5000;
    padding: 4px 4px 0 4px;
}

    #close-ticker:hover {
        background-color: #7191BE;
    }

    #close-ticker:active {
        background-color: #97AFD0;
    }

    #close-ticker img {
        width: 15px;
        height: 15px;
    }

.carousel-body {
    padding: 0;
    display: inline-block;
    position: relative;
    height: 200px;
    overflow: hidden;
}

.carousel-heading {
    box-shadow: inset 1px 5px 10px -12px #000;
    margin: 20px 0;
    justify-content: space-between;
    height: 60px;
    border-bottom: 3px solid #fec400;
    align-items: center;
}
.carousel-heading h4 {
    line-height: 1.5;
    padding-top: 5px;
    padding-bottom: 0;
}


.carousel-item {
    position: relative;
    display: block;
    float: left;
    width: 33%;
    margin-right: inherit;
    -webkit-backface-visibility: initial;
    backface-visibility: initial;
    transition: transform .6s ease-in-out;
    border-right: 3px solid var(--color-gray-2);
    padding: 20px;
}



.carousel-heading  h3{
    font-size: 30px;
    font-style:normal;
}



.carousel-btn {
    width: 24px;
    height: 24px;
}



.infographic {
    display: none;
    overflow: hidden;
}

    .infographic img {
        width: 100%;
    }

        .infographic img:first-child {
            width: 100%;
            margin-bottom: 20px;
        }


    .learning-center h2 {
        font-style: normal;
        font-size: 28px;
    }

.infographic p {
    font-size: 18px;
    font-weight: 400;
    text-align: justify;
    line-height: 1.4;
    margin-bottom: 0;
}

.infographic .btn {
    position: absolute;
    right: 0;
    background-color: var(--color-green-2);
}
.infographic a {
    font-weight: 500;
    line-height: 1.2;
    font-size: 18px;
}


.card-footer {
    padding: 0.5rem 1rem;
    background-color: transparent;
    border-top: none;
    justify-content: revert;
    display: flex;
    justify-content: flex-start;
    position: relative;
    height: 60px;
}

@media only screen and (min-width: 768px) {

    .infographic {
        display: block;
    }
}
