﻿/***********************************************
                  GLOBALS
***********************************************/

html, body {
    height: 100%;
    width: 100%;
    font-family: UniversLTStd-Cn;
    color: #4e4e4e;
    font-size: 14px;
    line-height: 1.475;
}

html, body {
    height: 100%;
}

main {
    min-height: 100%;
}

body #settings-popover-container .popover {
    max-width: 525px !important;
    width: 525px !important;
    min-width: initial;
    display: block;
    margin-left: -180px;
}

#whatIsThisButtonPopoverCloseButton {
    top: 5px;
    right: 8px;
    position: absolute;
}

.not-active {
    pointer-events: none;
    text-decoration: none;
    border: 1px solid #999999 !important;
    background-color: #cccccc !important;
    color: #666666 !important;
    cursor: not-allowed;
    opacity: 0.65;
}

.form-control-drawings {
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555555;
    background-color: #ffffff;
    background-image: none;
    border: 1px solid #cccccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

    .form-control-drawings:focus {
        border-color: #66afe9;
        outline: 0;
        -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
        box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
    }

    .form-control-drawings::-moz-placeholder {
        color: #999999;
        opacity: 1;
    }

    .form-control-drawings:-ms-input-placeholder {
        color: #999999;
    }

    .form-control-drawings::-webkit-input-placeholder {
        color: #999999;
    }

    .form-control-drawings::-ms-expand {
        border: 0;
        background-color: transparent;
    }

    .form-control-drawings[disabled],
    .form-control-drawings[readonly],
    fieldset[disabled] .form-control-drawings {
        background-color: #eeeeee;
        opacity: 1;
    }

    .form-control-drawings[disabled],
    fieldset[disabled] .form-control-drawings {
        cursor: not-allowed;
    }

textarea.form-control-drawings {
    height: auto;
}


body #settings-popover-container .popover .arrow {
    left: 85%;
}

.container, .row {
    width: 100%;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    margin: 0;
}

.row {
    margin-left: 0px;
}

.height-100 {
    height: 100%;
}

@font-face {
    font-family: "UniversLTStd-Bold";
    src: url("../Styles/fonts/UniversLTStd-BoldCn.ttf");
}

@font-face {
    font-family: "UniversLTStd-Cn";
    src: url("../Styles/fonts/UniversLTStd-Cn.ttf");
}

@font-face {
    font-family: "UniversLTStd-Light";
    src: url("../Styles/fonts/UniversLTStd-LightCn.ttf");
}

.btn-primary,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:visited,
.btn-primary:focus {
    background-color: #ffcc00;
    border-color: #ffcc00;
    width: 100%;
    border-radius: 5px;
    color: rgb(78, 78, 78);
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
}

.altbtn-primary,
.altbtn-primary:hover,
.altbtn-primary:active,
.altbtn-primary:visited,
.altbtn-primary:focus {
    background-color: #ffcc00;
    border-color: #ffcc00;
    border-radius: 5px;
    color: rgb(78, 78, 78);
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
}

.btn-danger,
.btn-danger:hover,
.btn-danger:active,
.btn-danger:visited,
.btn-danger:focus {
    background-color: #eb3600;
    border-color: #eb3600;
    border-radius: 5px;
    color: rgb(255, 255, 255);
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
}

.btn-info,
.btn-info:hover,
.btn-info:active,
.btn-info:visited,
.btn-info:focus {
    background-color: #008efb;
    border-color: #008efb;
    border-radius: 5px;
    width: 100%;
    color: rgb(255, 255, 255);
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
}

.btn-info-bbx,
.btn-info-bbx:hover,
.btn-info-bbx:active,
.btn-info-bbx:visited,
.btn-info-bbx:focus {
    background-color: #008efb;
    border-color: #008efb;
    border-radius: 5px;
    color: rgb(255, 255, 255);
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
}

.hacky-button {
    position: relative;
    top: -23px;
}

.srr-hacky-button {
    position: relative;
    top: -40px;
}

button:disabled,
button[disabled] {
    border: 1px solid #999999 !important;
    background-color: #cccccc !important;
    color: #666666 !important;
}

    button:disabled :hover,
    button[disabled] :hover {
        border: 1px solid #999999 !important;
        background-color: #cccccc !important;
        color: #666666 !important;
    }

.error {
    color: red;
}

.pointer {
    cursor: pointer;
}

.field-validation-error {
    color: #ff0000;
}

.test-border {
    border: 1px solid black;
}

.font-weight-bold {
    font-family: UniversLTStd-Bold;
}

.padding-right-0 {
    padding-right: 0;
}

.vertical-center {
    position: relative;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.chosen-container a {
    border-radius: 0 !important;
    background: none !important;
}

.chosen-container.chosen-drop-up .chosen-drop {
    top: auto;
    bottom: 100%;
}

#loading {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    opacity: 0.7;
    background-color: #fff;
    z-index: 10000;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
}

#loading-image {
    z-index: 15000;
}

#admin-filter {
    position: relative;
    z-index: 1;
}

    #admin-filter li {
        display: inline-block;
        font-size: 20px;
        padding-left: 10px;
        padding-top: 5px;
    }

    #admin-filter .active a {
        color: #ffcc00 !important;
        text-decoration: underline;
    }

/***********************************************
              HEADER NAVIGATION
***********************************************/

#cat-logo-header {
    width: 240px;
}

#title-container .title {
    display: inline;
    font-size: 220%;
    font-weight: bold;
    text-align: center;
    font-family: UniversLTStd-Bold;
    color: #828282;
    top: 25%;
    white-space: nowrap;
}

#settings-text {
    font-size: 21px;
    font-family: UniversLTStd-Bold;
    font-weight: bold;
}

#settings-gear {
    width: 30px;
    height: 30px;
    margin-top: -10px;
}

.cat-yellow {
    color: #ffcc00;
}

.bg-cat-yellow {
    background-color: #ffcc00 !important;
}

.yellow-divider {
    background-color: #ffcc00;
    height: 7px;
    margin-bottom: .4%;
    width: 100%;
}

/***********************************************
               TAB NAVIGATION
***********************************************/

#tab-nav ol li {
    display: inline-block;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    font-size: 110%;
    height: 27%;
    background-color: grey;
    background-image: url("../images/tab-nav-gradient.png");
    background-repeat: no-repeat;
    color: black;
    min-width: 150px;
    padding-top: .25%;
    padding-bottom: 4px;
    margin-left: 12px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

#active {
    background-color: #ffcc00 !important;
    background-image: none !important;
}

#tab-nav {
    margin: 0;
    border-bottom: 6px solid #a1a1a1;
    width: 100%;
}

/***********************************************
                ICON STYLING
***********************************************/

.project-information-icon {
    width: 26px;
    height: 26px;
}

.site-information-icon {
    width: 9px;
    height: 23px;
}

.fuel-analysis-icon {
    width: 22px;
    height: 26px;
}

.report-icon {
    width: 24px;
    height: 28px;
}

@media (max-height: 800px) {
    .project-information-icon {
        width: 20px;
        height: 20px;
    }

    .site-information-icon {
        width: 8px;
        height: 19px;
    }

    .fuel-analysis-icon {
        width: 16px;
        height: 20px;
    }

    .report-icon {
        width: 16px;
        height: 20px;
    }

    #main-navigation a {
        top: 20% !important;
    }

    .navbar-icon {
        top: 42% !important;
    }

    #title-container .title {
        top: 15%;
    }
}

@media (min-height: 801px) and (max-height:900px) {
    .project-information-icon {
        width: 23px;
        height: 23px;
    }

    .report-icon {
        width: 20px;
        height: 24px;
    }
}

/***********************************************
             NAVIGATION STYLING
***********************************************/

#main-navigation {
    margin: 0;
    padding: 0;
    height: 5%;
    background-color: #464646;
    border-radius: 0;
    border-bottom: 6px solid #a1a1a1;
}

    #main-navigation a {
        font-weight: bold;
        text-align: center;
        color: #6b6b6b;
        font-size: 108%;
        text-decoration: none;
        top: 25%;
    }

    #main-navigation .active {
        background-color: white;
        color: #464646;
        border-bottom: 6px solid #ffcc00;
        height: calc(100% + 6px);
    }

    #main-navigation .can-access a {
        color: white;
    }

.navbar-icon {
    position: relative;
    top: 50%;
    left: -5px;
}

/***********************************************
                MODEL STYLES
***********************************************/

/*.modal-dialog .close {
    font-size: 33px;
    opacity: 1 !important;
}

.modal-dialog {
    width: 705px;
    height: 705px;
}

.modal-footer button {
    font-size: 16px;
}*/

#new-srr-button {
    min-height: 30px;
    width: auto;
}

.full-width-textarea {
    width: 100%;
}

.red {
    color: red;
}

.overflow-x-auto {
    overflow-x: auto !important;
}

.overflow-x-hidden {
    overflow-x: hidden !important;
}

.overflow-y-auto {
    overflow-y: auto !important;
}

.overflow-y-hidden {
    overflow-y: hidden !important;
}

.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

    .embed-responsive .embed-responsive-item, .embed-responsive embed, .embed-responsive iframe, .embed-responsive object, .embed-responsive video {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

.navbar-flex {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
