﻿/* ########## FONT FACES ########## */
@font-face {
    font-family: 'Calibri';
    src: url('../img/fonts/calibri.woff2') format('woff2');
}

@font-face {
    font-family: 'Calibri';
    src: url('../img/fonts/calibri-bold.woff2') format('woff2');
    font-weight: bold;
}

@font-face {
    font-family: 'Calibri';
    src: url('../img/fonts/calibri-italic.woff2') format('woff2');
    font-style: italic;
}

@font-face {
    font-family: 'Calibri';
    src: url('../img/fonts/calibri-bolditalic.woff2') format('woff2');
    font-weight: bold;
    font-style: italic;
}


/* ########## NAV BAR ########## */
.navbar {
    padding: 0rem 0rem;
}

.nav-item li {
    padding-right: 3rem;
}

.nav-item a {
    padding-right: 2rem;
    padding-left: 2rem;
}

.navbar-dark .navbar-nav .nav-link {

    padding: 1.8rem 1.5rem 1.2rem 1.5rem;
}



.navbar-brand {
    margin-right: 0rem;
    padding: 0.2rem 0.2rem;
}

.nav-link {
    padding: 1rem 10rem;
}

.navbar-nav {
    color: rgba(255, 255, 255, 1);
    overflow: hidden;
}

    .navbar-nav a {
        color: #f2f2f2;
        text-align: center;
        text-decoration: none;
        font-size: 17px;
        border-bottom: 5px solid transparent;
    }

        


/* ########## FOOTER ########## */
html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    font-family: Calibri, Arial, sans-serif;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}


/* ########## LAYOUT ########## */
body {
    color: #444;
    min-width: 650px !important;
}

.container-fluid {
    padding-top: 1.5rem;
    padding-left: 10rem;
    padding-right: 10rem;
}

@media only screen and (max-width: 1200px) {
    .container-fluid {
        padding-top: 1.5rem;
        padding-left: 15px;
        padding-right: 15px;
    }
}

.card, .card-underlined {
    border-radius: 5px;
    padding: 7.5px 15px;
    margin-bottom: 16px;
}



.alert-danger {
    margin-top: -6px;
}

h1 + .alert-danger {
    margin-top: 6px;
}

.alert-success {
    margin-top: 6px;
}

.form-control-div {
    border: 1px solid #ced4da;
    border-radius: .25rem;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    background: white;
}

.card-row {
    overflow: hidden;
    position: relative;
    display: table;
}

    .card-row > .right {
        display: table-cell;
    }

    .card-row > .left {
        height: 100%;
        display: table-cell;
    }


/* ########## TEXT ########## */
h1 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: bold;
}

h2 {
    font-size: 1.25rem;
    margin-top: 1rem;
}

a {
    color: #2A7682;
}

    a:hover, a:active, a:focus {
        color: #24656f;
    }

label {
    font-weight: bold;
    margin: 0;
}

.alert > p {
    margin-bottom: 0;
}

.fa-building {
    color: rgba(255, 106, 0, 0.75) !important;
    font-size: 28px !important;
}

.fa-history {
    color: rgba(86, 61, 124, 0.75) !important;
    font-size: 28px !important;
}

.fa-tree {
    color: rgba(40, 167, 69, 0.75) !important;
    font-size: 28px !important;
}

.fa-clipboard {
    color: rgba(0, 123, 255, 0.75) !important;
    font-size: 28px !important;
}


/* ########## BUTTONS ########## */
.btn-primary, .btn-primary:focus {
    outline: none !important;
    box-shadow: none !important;
}

    .btn-primary:hover, .btn-primary:active {
        /*background-color: #24656f !important;*/
        color: white !important;
        /*border: 2px solid #24656f !important;*/
    }



.btn-primary-outline, btn-primary-outline:focus {
    cursor: pointer !important;
}




.btn-group-xs > .btn, .btn-xs {
    padding: .25rem .35rem;
    font-size: .875rem;
    line-height: .5;
    border-radius: .2rem;
}


/* ########## TABS ########## */
.btn-group {
    background-color: #F8F8F8;
    margin-bottom: -1px;
    z-index: 999;
}

    .btn-group > button {
        border-bottom: none;
    }

    .btn-group > .tabBtn.primary {
        background-color: #F8F8F8;
    }

    .btn-group > .tabBtn.secondary {
        background-color: #F0F0F0;
    }

    .btn-group > button.primary {
        border: none;
        border-top: #ced4da solid 1px;
        padding: 7.5px 13.5px;
        color: #2A7682;
    }

    .btn-group > button.primary:hover, .btn-group > button.primary.active:hover {
        color: #fff;
        background-color: #24656f;
    }

    .btn-group > button.secondary {
        border: none;
        border-top: #ced4da solid 1px;
        padding: 7.5px 13.5px;
        color: #6c757d;
    }

    .btn-group > button.secondary:hover, .btn-group > button.secondary.active:hover {
        color: #fff;
        background-color: #5a6268;
    }

    .btn-group > button:active, .btn-group > button:focus {
        outline: none !important;
        box-shadow: none !important;
    }



    .btn-group > button:first-child {
        border-top-left-radius: .25rem;
    }

    .btn-group > button:last-child {
        border-top-right-radius: .25rem;
    }

    .btn-group > button:first-child {
        border-bottom-left-radius: 0;
    }

    .btn-group > button:last-child {
        border-bottom-right-radius: 0;
    }

    .btn-group + .card-underlined {
        border-top-left-radius: 0;
    }

    .btn-group + .card {
        border-top-left-radius: 0;
    }


/* ########## TABLES ########## */
th {
    font-size: 0.9rem;
    border-top: none !important;
}

td {
    font-size: 0.9rem;
}

.table td, .table th {
    vertical-align: middle;
}

.dataTables_wrapper .dataTables_filter input {
    border-radius: 3px;
    border: 1px solid #ced4da;
    height: 38px;
    outline: none;
    box-shadow: none;
    padding: 6px 12px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border: 2px solid transparent !important;
    border-radius: 3px;
    outline: none !important;
    box-shadow: none !important;
    padding: 5px 12px !important;
}

    .dataTables_wrapper .dataTables_paginate .paginate_button:hover, .dataTables_wrapper .dataTables_paginate .paginate_button:active {
        border: 2px solid #2A7682 !important;
        border-radius: 3px !important;
        background: #2A7682 !important;
        color: #fff !important;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
        background: #fff !important;
        border: 2px solid transparent !important;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button.current {
        background: #24656f !important;
        color: #fff !important;
        border: 2px solid #24656f !important;
    }

        .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.current:active {
            background: #24656f !important;
            color: #fff !important;
            border: 2px solid #24656f !important;
        }


/* ########## FORMS ########## */
select {
    border: 1px solid #ced4da;
    border-radius: 3px;
    height: 38px;
    outline: none;
    box-shadow: none;
}

.form-control {
    outline: none !important;
    box-shadow: none !important;
}

.select2-container--default {
    font-size: 0.9rem;
    border: none;
}

.select2-dropdown {
    font-size: 16px;
    border: 1px solid #ced4da;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #ced4da;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #ced4da;
    height: 38px;
}

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 2.25;
        font-size: 16px;
        padding: 0 12px;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        margin-top: 3px;
    }

    .select2-container--default .select2-selection--single .select2-selection__placeholder {
        color: #495057;
        font-size: 16px;
        padding: -6px;
        line-height: 2.25;
    }

.presentation {
    color: #495057 !important;
}

textarea {
    min-height: 38px;
}

.textarea {
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    min-height: 38px;
}

.form-content{
    border: solid 1px #ced4da; border-bottom: 3px solid #2a7682; border-radius: 5px; padding: 10px 10px 0 10px; margin-bottom: 10px; margin-bottom: 10px; background-color: #F8F8F8;
}


/* ########## DASHBOARD ########## */
.periodmenu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.periodmenu li {
    float: left;
    margin-right: 2rem;
    height: 3em;
}

.periodmenu a {
    color: #2A7682;
    font-weight: bold;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

    .periodmenu a:hover {
        color: #fff;
        background: #2A7682;
        text-decoration: none;
    }

.statusbox {
    text-align: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-radius: 5px;
}

.statusbox-table {
    text-align: center;
    height: 100%;
    display: block;
    overflow: auto
}

.statusbox h2 {
    font-size: 4rem;
}

.statusbox p {
    font-size: 1.5rem;
}

.statusbox-green {
    background: rgba(38,127,0,0.75);
    color: #fff;
}

.statusbox-amber {
    background: rgba(255,106,0,0.75);
    color: #fff;
}

.statusbox-red {
    background: rgba(255,0,0,0.75);
    color: #fff;
}

.statusbox-grey {
    background: rgba(128,128,128,0.75);
    color: #fff;
}

.statusbox-blue {
    background: rgba(42,118,130,0.75);
    color: #fff;
}


/* ########## SLIDER ########## */
.ui-slider-horizontal .ui-slider-range {
    background-color: #cfebf0;
}

.ui-state-default, .ui-widget-content .ui-state-default {
    margin-top: 1px;

}

    .ui-state-default:focus, .ui-widget-content .ui-state-default:focus {
        background-color: #2a7682;
        outline: none !important;
        box-shadow: none !important;
    }

    .ui-state-default:active, .ui-widget-content .ui-state-default:active {
        background-color: #2a7682;
        outline: none !important;
        box-shadow: none !important;
    }

.slider-range {
    margin-left: 10px;
    margin-right: 10px;
}

.slider-range-min {
    margin-left: 10px;
    margin-right: 10px;
}


/* ########## CHECKBOX ########## */
.checkboxContainer {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .checkboxContainer input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    border: 1px solid #ced4da;
    border-radius: 3px;
    height: 25px;
    width: 25px;
    background-color: #eee;
}

    .checkmark.checkmark-white {
        background-color: white;
    }

.checkboxContainer:hover input ~ .checkmark {
    background-color: #ccc;
}

.checkboxContainer input:checked ~ .checkmark {
    background-color: #2a7682;
}

.checkboxContainer input:checked:disabled ~ .checkmark {
    background-color: #e9ecef;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkboxContainer input:checked ~ .checkmark:after {
    display: block;
}

.checkboxContainer .checkmark:after {
    left: 8px;
    top: 4px;
    width: 8px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}


/* ########## LEAFLET ########## */
.leaflet-interactive {
    cursor: grab !important;
}


/* ########## SWITCHES ########## */
/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

    /* Hide default HTML checkbox */
    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* The slider */
.switchSlider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #dc3545;
    -webkit-transition: .4s;
    transition: .4s;
}

    .switchSlider:hover {
        background-color: #c82333;
    }

    .switchSlider:before {
        position: absolute;
        content: "";
        height: 22px;
        width: 22px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .switchSlider {
    background-color: #28a745;
}

    input:checked + .switchSlider:hover {
        background-color: #218838;
    }

input:focus + .switchSlider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .switchSlider:before {
    -webkit-transform: translateX(30px);
    -ms-transform: translateX(30px);
    transform: translateX(30px);
}

/* Rounded sliders */
.switchSlider.round {
    border-radius: 34px;
}

    .switchSlider.round:before {
        border-radius: 50%;
    }


/* ########## MODAL WINDOW ########## */
/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 40%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

@@media only screen and (max-width: 1199px) {
    .my-2 {
        float: right;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .mr-sm-2 {
        width: 187px !important;
        margin-right: 12px;
    }

    .form-inline {
        float: right;
        margin: 12px 12px 12px 0;
    }

    .nav-link {
        width: 25%;
        margin: 0 auto;
        text-align: center;
    }

    #logoutBtn {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    #notificationBell {
        padding: 28.8px 0 19.2px 0;
        margin: 0 auto;
    }

    #notificationNumContainer {
        margin: -30px auto 12.5px !important;
        padding-left: 52.5px;
    }
}

.fa-bell {
    color: #fff;
    font-size: 22px;
    margin: 30px 15px 25px 20px;
    cursor: pointer;
    transform: rotate(30deg);
    -webkit-transform: rotate(30deg);
    -moz-transform: rotate(30deg);
    -ms-transform: rotate(30deg);
    -o-transform: rotate(30deg);
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=-1);
}

    

#notificationNum {
    color: #fff;
    font-size: 14px;
    z-index: 100;
    background-color: #dc3545;
    border-radius: 10px;
    padding: 1px 3px;
}

#notificationNumContainer {
    display: none;
    margin-top: 40px;
    margin-left: -12px;
}

#notificationTray {
    display: none;
    position: absolute;
    top: 77.98px;
    right: 275px;
    width: 350px;
    z-index: 1001;
    background-color: #F8F8F8;
    padding: 10px;
    box-shadow: rgba(0, 0, 0, 0.176) 0px 6px 12px;
    border-bottom: #2a7682 3px solid;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

    #notificationTray > h2 {
        margin-top: 0;
    }

.notification {
    padding: 2.5px;
    width: 350px;
    margin-left: -10px;
    cursor: pointer;
}

    .notification:hover {
        background-color: rgba(0, 148, 255, 0.15) !important;
    }

    .notification:nth-child(odd) {
        background-color: #ededed;
    }

    .notification > div > p {
        margin: 0;
    }

    .notification > .my-auto {
        margin-right: 10px;
    }

        .notification > .my-auto > i {
            font-size: 24px;
        }


.fa-sticky-note {
    color: rgba(255,106,0,0.75);
}

.tc-text {
    height: 900px;
    overflow-y: scroll;
}