@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";
@import url('https://fonts.googleapis.com/css?family=Arizonia');

/* Variable Color Definition */
:root {
    /* TERiX Web Palette - https://www.color-hex.com/color-palette/705 */
    --darkgrey: #363636;
    --grey: #636363;
    --lightgrey: #c3c3c3;
    --black: #003333;
    --orange: #ff510c;
    --lightorange: #FFD9B9;
    --white: #ffffff;
    --cloudtricblue: #17a2b8;
}


/* ---------------------------------------------------
    PRINTING
----------------------------------------------------- */
@media print {
    @page {
        size: portrait;
        margin: 0.75cm;
    }

    body {
        position: absolute !important;
        top: 0 !important;
        width: 100%;
        margin-top: 0;
    }

    body, h1, h2, h3, ol, ul, div, span, p {
        display: block !important;
        width: auto !important;
        float: none !important;
        position: static !important;
        overflow: visible !important;
    }

    #content {
        width: 100% !important;
        padding: 0 !important;
        position: absolute !important;
        top: 0 !important;
    }

    .bg-dark {
        background-color: #999999!important;
        -webkit-print-color-adjust: exact;
    }
}

/* ---------------------------------------------------
    OVERRIDES
----------------------------------------------------- */

body {
    font-family: 'Poppins', sans-serif;
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.debug {
    border: 1px solid red;
}

textarea {
    resize: none;
}

.btn-primary {
    background-color: var(--orange);
    border: none;
}

.btn-primary:hover {
    background-color: var(--darkgrey);
}

.form-control:focus {
    border-color: var(--orange);
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px var(--grey), 0 0 8px var(--orange);
    box-shadow: inset 0 1px 1px var(--grey), 0 0 8px var(--orange);
}

table tr.spacer {
    height: 10px;
}

#sort {
    font-family: fontAwesome, serif
}

/* ---------------------------------------------------
    CUSTOM SCROLLBAR
----------------------------------------------------- */

.scrollbar::-webkit-scrollbar {
    width: 6px;
    background-color: #f5f5f5
}

.scrollbar::-webkit-scrollbar-thumb {
    background-color: var(--orange)
}

.scrollbar::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #f5f5f5
}

/* ---------------------------------------------------
    LOGIN STYLE
----------------------------------------------------- */
body.login-background {
    background-color: #29323c;
}

.login-background {
    background: #29323c; /* fallback for old browsers */
    background: -webkit-linear-gradient(to top, #29323c, #485563); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to top, #29323c, #485563); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background-repeat: no-repeat;
}

.card {
    background-color: var(--darkgrey);
    color: var(--white);
    width: 600px;
    /* just in case there no content*/
    padding: 20px 25px 30px;
    margin: 65px auto 100px;
    /* shadows and rounded borders */
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -moz-box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}

.reauth-email {
    display: block;
    color: #404040;
    line-height: 2;
    margin-bottom: 10px;
    font-size: 14px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.form-signin #inputEmail,
.form-signin #inputPassword {
    direction: ltr;
    height: 44px;
    font-size: 16px;
}

.form-signin input[type=email],
.form-signin input[type=password],
.form-signin input[type=text] {
    width: 100%;
    display: block;
    margin-top: 15px;
    z-index: 1;
    position: relative;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.forgot-password {
    color: var(--white);
    padding-top: 15px;
}

/* ---------------------------------------------------
    NAVBAR STYLE
----------------------------------------------------- */

.navbar {
    min-height: 90px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, .2);
}

.navbar-dark {
    color: var(--white);
    background-color: var(--darkgrey) !important;
}

.navbar-brand {
    font-size: 1rem;
}

.navbar-sub-brand {
    font-size: .75rem;
    letter-spacing: 0.11em;
    font-weight: lighter;
    margin-top: -5px;
    margin-left: 2px;
}

.navbar .form-control {
    padding: .75rem 1rem;
    border-width: 0;
    border-radius: 0;
}

.link-white {
    color: var(--white);
}

.link-white:hover {
    color: var(--lightgrey);
    text-decoration: none;
}

.link-orange {
    color: var(--orange);
}

.link-orange:hover {
    color: var(--white);
    text-decoration: none;
}

.badge {
    background: var(--orange);
    position: relative;
    top: -2.5em;
    right: 0px;
    color: var(--white);
    font-weight: normal;
    font-size: 14px;
    text-align: center;
}

.badge-sm {
    top: -0.1em;
    right: -0.5em;
    font-size: 10px;
    min-width: 15px;
}

.profile-link {
    font-size: 14px;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

#sidebar {
    width: 250px;
    position: fixed;
    top: 90px;
    left: -250px;
    height: 90vh;
    padding-bottom: 20px;
    z-index: 999;
    background: var(--darkgrey);
    color: #fff;
    transition: all 0.5s;
    overflow-y: scroll;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}

#sidebar.active {
    left: 0;
}

#sidebar-toggler {
    cursor: pointer;
    position: fixed;
    z-index: 999;
    top: 90px;
    left: 0;
    border-bottom-right-radius: 4px;
    padding: 8px;
    color: var(--white);
    background-color: var(--darkgrey);
    transition: all 0.5s;
}

@media only screen and (max-width: 600px) {
    #sidebar-toggler {
        position: fixed;
        z-index: 999;
        top: 45%;
        left: 0;
        transition: all 0.5s;
        border-top-right-radius: 4px;
        height: 10%;
    }
}

#sidebar-toggler:hover {
    background: var(--lightgrey);
    color: var(--darkgrey);
}

#sidebar-toggler .container {
    position: relative;
    width: 25px;
    height: 35px;
}

#sidebar-toggler.active {
    left: 250px;
    color: var(--orange);
}

#sidebar-toggler .fas {
    position: absolute;
    left: 0;
    top: 0;
}

#sidebar-toggler .fa-bars {
    opacity: 1;
}

#sidebar-toggler .fa-arrow-left {
    opacity: 0;
    transform: rotate(90deg);
    transition: all 0.7s;
}

#sidebar-toggler.active .fa-bars {
    opacity: 0;
    transform: rotate(-90deg);
    transition: all 0.7s;
}

#sidebar-toggler.active .fa-arrow-left {
    opacity: 1;
    transform: rotate(0deg);
}

.overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.overlay.active {
    display: block;
    opacity: 1;
}

#sidebar ul.components {
    padding: 20px 0;
    border-bottom: 1px solid var(--orange);
}

#sidebar ul p {
    color: var(--white);
    margin-left: 10px;
    margin-bottom: 0;
    margin-top: 5px;
    font-weight: 500;
    text-decoration: underline;
}

#sidebar ul li a {
    padding: 3px;
    font-size: 0.8em;
    display: block;
    margin-left: 20px;
}

#sidebar ul li a:hover {
    color: var(--lightgrey);
}

#sidebar ul li.active > a,
a[aria-expanded="true"] {
    color: var(--orange);
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: var(--grey);
}


.support {
    font-size: 0.8em;
    padding: 5px 5px 20px 8px;
}

.support .font-weight-bold {
    font-weight: 500 !important;
}

.developedby {
    border-top: 1px solid var(--orange);
    padding: 20px 5px 5px 5px;
    font-size: 0.68em;
}

.developedby a {
    color: var(--cloudtricblue);
}

.developedby a:hover {
    color: var(--lightgrey);
}

/* ---------------------------------------------------
    DASHBOARD
----------------------------------------------------- */

.circle-tile {
    margin-bottom: 15px;
    text-align: center;
}

.circle-tile-heading {
    border: 3px solid var(--orange);
    border-radius: 100%;
    color: var(--white);
    height: 80px;
    margin: 0 auto -40px;
    position: relative;
    transition: all 0.3s ease-in-out 0s;
    width: 80px;
    box-shadow: 0 0 7px var(--darkgrey);
    z-index: 100;
    background-color: var(--white);
}

.circle-tile-description {
    font-size: 22px;
    color: var(--lightgrey);
}

.circle-tile-heading .fa, .circle-tile-heading .far, .circle-tile-heading .fas, .circle-tile-heading .fab {
    line-height: 78px;
    color: var(--darkgrey);
    transition: all 0.3s ease-in-out 0s;
}

.circle-tile-heading .fa:hover, .circle-tile-heading .far:hover, .circle-tile-heading .fas:hover, .circle-tile-heading .fab:hover {
    color: var(--orange);
}

.circle-tile-content {
    padding-top: 50px;
    border-radius: 3px;
    border: 3px solid var(--orange);
    background-color: var(--darkgrey);
}

.circle-tile-number {
    font-size: 68px;
    font-weight: 700;
    line-height: 1;
    padding: 5px 0 15px;
    color: var(--white) !important;
}

.circle-tile-description {
    text-transform: uppercase;
}

.circle-tile-heading:hover {
    color: var(--white);
    background-color: var(--black);
}

.tile-img {
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.9);
}

/* ---------------------------------------------------
    PROJECT SHEET
----------------------------------------------------- */
.project-header {
    color: var(--orange);
    font-weight: bold;
    margin-top: 8px;
    margin-bottom: 4px;
    background: var(--darkgrey);
}

.header-border {
    margin-bottom: 5px;
}

.header-border:after {
    content: ""; /* This is necessary for the pseudo element to work. */
    display: block; /* This will put the pseudo element on its own line. */
    margin: 0 auto; /* This will center the border. */
    width: 100%; /* Change this to whatever width you want. */
    height: 25%;
    padding-top: 5px; /* This creates some space between the element and the border. */
    border-bottom: 1px solid var(--darkgrey); /* This creates the border. Replace black with whatever color you want. */
    border-left: 1px solid var(--darkgrey);
    border-right: 1px solid var(--darkgrey);
}

.bid-result-box {
    border-radius: 3px;
    border: 3px solid var(--orange);
    background-color: var(--darkgrey);
    padding: 10px;
    color: var(--white);
    margin-bottom: 15px;
}

.rotate {
    -moz-transition: all 0.1s ease-in;
    -webkit-transition: all 0.1s ease-in;
    transition: all 0.1s ease-in;
}

.rotate.down {
    -ms-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}


/* ---------------------------------------------------
    TABLES
----------------------------------------------------- */
.t-width-10 {
    width: 10%;
}

.t-width-15 {
    width: 15%;
}

.t-width-25 {
    width: 25%;
}

.t-width-33 {
    width: 33%;
}

.t-width-50 {
    width: 50%;
}

.t-width-75 {
    width: 75%;
}

/* ---------------------------------------------------
    CONTINUE DRAFT
----------------------------------------------------- */

.sticky {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 150px;
}

.autocomplete-suggestion {
    cursor: pointer;
    border-bottom: 1px solid var(--lightgrey);
    padding: 0.6em;
}

/* ---------------------------------------------------
    FILE UPLOAD
----------------------------------------------------- */


.file-upload-content {
    display: none;
    text-align: center;
}

.file-upload-input {
    position: absolute;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    outline: none;
    opacity: 0;
    cursor: pointer;
}

.upload-wrap {
    margin-top: 20px;
    border: 2px solid var(--darkgrey);
    position: relative;
}

.file-dropping,
.file-upload-wrap:hover {
    color: var(--white) !important;
    background-color: var(--orange);
}

.file-title-wrap {
    padding: 0 15px 15px 15px;
    color: #222;
}

.drag-text {
    text-align: center;
    font-weight: 100;
    text-transform: uppercase;
    color: var(--orange);
    padding: 60px 0;
}

.progress-bar-orange {
    background-color: var(--orange);
}

/* ---------------------------------------------------
    WATCHLIST ALERTS
----------------------------------------------------- */
.watchlist-alert {
    font-size: 0.93em;
}

.mark-as-read {
    display: none;
    text-align: right;
}

.watchlist-alert .watchlist-note {
    cursor: pointer;
}

.watchlist-alert:hover .mark-as-read {
    display: block;
    color: var(--cloudtricblue);
}

.mark-as-read:hover {
    color: var(--darkgrey);
    text-decoration: underline;
    cursor: pointer;
}


/* ---------------------------------------------------
    OTHER CONTENT STYLE
----------------------------------------------------- */
.smaller {
    font-size: 0.7em;
}

#content {
    width: 100%;
    padding: 20px 70px 20px 70px;
    /* min-height: 75vh; */
    transition: all 0.3s;
    position: absolute;
    top: 90px;
    right: 0;
}

@media only screen and (max-width: 600px) {
    #content {
        top: 140px;
    }
}

.search-highlight {
    font-weight: bold !important;
    background-color: #ffffb2 !important;
}

.clickable {
    cursor: pointer;
}

.anim-spin {
    -webkit-animation: spin 2s linear infinite;
    -moz-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.row-selectable {
    cursor: pointer;
}

.row-selectable:hover {
    background-color: var(--lightorange) !important;
}

.pointer {
    cursor: pointer;
}

.text-primary {
    color: var(--orange) !important;
}

.map {
    height: 35em;
    border-radius: 3px;
    z-index: 50;
}

.input-group-text {
    color: var(--white);
    background-color: var(--orange);
}

/* ---------------------------------------------------
   FUNKYRADIO
----------------------------------------------------- */


.funkyradio div,
.funkyradio-division div {
    clear: both;
    overflow: hidden;
}

.funkyradio label,
.funkyradio-division label {
    width: 100%;
    border-radius: 3px;
    border: 1px solid #D1D3D4;
    font-weight: normal;
}

.funkyradio input[type="radio"]:empty,
.funkyradio input[type="checkbox"]:empty,
.funkyradio-division input[type="checkbox"]:empty {
    display: none;
}

.funkyradio input[type="radio"]:empty ~ label,
.funkyradio input[type="checkbox"]:empty ~ label {
    position: relative;
    line-height: 2.3em;
    text-indent: 3.25em;
    cursor: pointer;
    color: var(--lightgrey);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.funkyradio input[type="radio"]:empty ~ label:before,
.funkyradio input[type="checkbox"]:empty ~ label:before {
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    left: 0;
    content: '';
    width: 2.5em;
    background: #D1D3D4;
    border-radius: 3px 0 0 3px;
}

.funkyradio input[type="radio"]:hover:not(:checked) ~ label,
.funkyradio input[type="checkbox"]:hover:not(:checked) ~ label {
    color: #888;
}

.funkyradio input[type="radio"]:hover:not(:checked) ~ label:before,
.funkyradio input[type="checkbox"]:hover:not(:checked) ~ label:before {
    content: '\2714';
    text-indent: .9em;
    color: #C2C2C2;
}

.funkyradio input[type="radio"]:checked ~ label,
.funkyradio input[type="checkbox"]:checked ~ label {
    color: #777;
}

.funkyradio input[type="radio"]:checked ~ label:before,
.funkyradio input[type="checkbox"]:checked ~ label:before {
    content: '\2714';
    text-indent: .9em;
    color: #333;
    background-color: #ccc;
}

.funkyradio input[type="radio"]:focus ~ label:before,
.funkyradio input[type="checkbox"]:focus ~ label:before {
    box-shadow: 0 0 0 3px #999;
}

.funkyradio-primary input[type="radio"]:checked ~ label:before,
.funkyradio-primary input[type="checkbox"]:checked ~ label:before {
    color: var(--white);
    background-color: var(--orange);
}


.funkyradio-division input[type="checkbox"]:empty ~ label {
    position: relative;
    font-size: 0.75em;
    color: var(--grey);
    padding-left: 2.2em;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


.funkyradio-division input[type="checkbox"]:empty ~ label:before {
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    left: 0;
    content: '';
    width: 2em;
    padding-top: 0.55em;
    background: #D1D3D4;
    border-radius: 2px 0 0 2px;
}

.funkyradio-division input[type="checkbox"]:hover:not(:checked) ~ label {
    color: var(--darkgrey);
}

.funkyradio-division input[type="checkbox"]:hover:not(:checked) ~ label:before {
    content: '\2714';
    text-indent: .6em;
    color: #C2C2C2;
}

.funkyradio-division input[type="checkbox"]:checked ~ label {
    color: var(--black);
    font-weight: 500;
}

.funkyradio-division input[type="checkbox"]:checked ~ label:before {
    content: '\2714';
    text-indent: .6em;
    color: #333;
    background-color: #ccc;
}

.funkyradio-division input[type="checkbox"]:focus ~ label:before {
    box-shadow: 0 0 0 3px #999;
}

.funkyradio-primary input[type="checkbox"]:checked ~ label:before {
    color: var(--white);
    background-color: var(--orange);
}

/* ---------------------------------------------------
    BILLING REPORT
----------------------------------------------------- */
.strike {
    text-decoration: line-through;
    color: var(--lightgrey);
}


.signature {
    font-family: 'Arizonia', cursive;
}