﻿
.section_title{
    max-width:900px !important;
}

#app {
    margin-top: 20px;
    padding: 10px;
    background: #6079a53b;
}

.app h2, .app .controls, .app .buttons{
    text-align:center !important;
}

.app .buttons{
    display:table;
    border-spacing:3px;
    margin-bottom:30px;
    margin-top:30px;
}

    .app .buttons .button {
        display: table-cell;
        width: 25%;
        background: grey;
        padding: 10px;
        color: white;
        vertical-align: middle;
        font-size: 16px;
        font-family: 'Montserrat', sans-serif !important;
    }

    .app .buttons .button:nth-child(1) {
        background: #CEE3FD;
        color: #444;
    }

    .app .buttons .button:nth-child(2) {
        background: #236AB9;
        color: white;
    }
        .app .buttons .button:nth-child(3) {
            background: #B85000;
            color: white;
        }
        .app .buttons .button:nth-child(4) {
            background: #773B0D;
            color: white;
        }
.pager {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: left;
    display: inline-block;
}

    .pager a {
        webkit-touch-callout: none; /* iOS Safari */
        -webkit-user-select: none; /* Chrome/Safari/Opera */
        -khtml-user-select: none; /* Konqueror */
        -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
        user-select: none;
    }

    .pager a {
        border-style: solid;
        border-width: 1px;
        padding: 3px 6px 3px 6px;
        margin-right: 4px;
        border-radius: 2px;
        font-size: 16px;
        border-color: #bbbbbb;
    }

    .pager .current {
        background: #105CB6;
        color: white;
    }

.data-table {
    border-style: none !important;
    width: 100%;
}

    .data-table thead th {
        background: none;
        color: #105CB6 !important;
        font-weight: bold;
        cursor: pointer;
        -webkit-touch-callout: none; /* iOS Safari */
        -webkit-user-select: none; /* Chrome/Safari/Opera */
        -khtml-user-select: none; /* Konqueror */
        -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
        user-select: none;
    }


    .data-table td, .data-table th {
        padding: 5px 5px 5px 10px !important;
        border-color: #666 !important;
        border-right: 1px solid #ccc !important;
        border-bottom: 1px solid #ccc !important;
        border-style: none !important;
        vertical-align: middle;
    }

    .data-table td{
        padding:0 !important;
    }


    .data-table tbody tr:nth-child(odd) {
        background: #ededed;
    }

.data-table .datacell{
    display:table;
}

.data-table .datacell a{
    display:table-cell;
    vertical-align:middle;
    padding:5px;
}

.data-table .datacell a:nth-child(1){
    width:auto;
    padding-left:10px !important;
    padding-right:0 !important;
}

    .data-table .datacell a:nth-child(2) {
        width: 100%;
        padding-left:0 !important;
    }
.loaderdiv{
    margin-top:20px;
}


.loader {
    width: 30px;
    height: 30px;
    margin-bottom: 0px;
    padding-bottom: 0px;
}


#app .noresults {
    margin-top: 12px;
    font-size: 16px;
}

.note {
    margin-top: 5px;
    font-size: 11px;
}



#app button.reset {
    margin-left: 0px;
}


#app input {
    height: 32px !important;
    padding-left: 5px !important;
    min-width: 220px;
    margin-right: 1px;
}

#app .datarow:nth-child(odd){
    background-color:white;
}

#app .datarow:nth-child(even) {
    background-color: #CEE3FD;
}

#app .datarow td a:nth-child(1)::before {
    content: '\f05a';
    font-family: FontAwesome;
    margin-right: 8px;
    display: inline-block;
    font-size: 18px;
    color: #005696;
    position: relative;
    top: 1px;
}

#app .currentcontractor {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50000;
    background: white;
    padding: 20px;
}

.show {
    opacity: 1 !important;
    display: block !important;
    transition: opacity 1s !important;
    overflow-y: auto;
}

.hide {
    opacity: 0 !important;
    display: block !important;
    transition: opacity 1s !important;
    pointer-events: none !important;
}

.modal-body span, .modal-body div, .modal-body p {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 16px !important;
    line-height: normal !important;
    color: #444 !important;
    margin: 0 !important;
}

.modal-header {
    background: #001840;
}

#fm-modal {
    z-index: 155000;
    -webkit-overflow-scrolling: touch;
    background-color: rgba(0,0,0,.6);
    text-align:center;
}

.modal-body div.video-wrapper {
    margin-bottom: 20px !important;
}

.modal-dialog {
    padding-top: 0px;
    transform: none !important;
    max-width: 600px !important;
}

.modal-body{
    padding-bottom:0px !important;
}


#fm-modal .close {
    position: absolute;
    top: 0;
    right: 0;
    border-style: none;
    text-shadow: none;
    box-shadow: none;
    padding: 5px;
    margin: 0;
    opacity: 1;
    font-size: 40px;
    padding-right: 10px;
    color: white;
}

.modal-title {
    font-size: 20px;
    font-weight: bold;
    padding-right: 40px;
    color: white;
}

.hide .modal-content, .hide .modal-header, .hide .modal-title, .hide button, .hide .modal-body, .hide .modal-footer, .hide a {
    pointer-events: none;
}

#fm-modal .label {
    margin-left: 0;
    padding: 0;
}

#fm-modal .general-information {
    margin-bottom: 20px !important;
}

.modal-footer {
    text-align: center;
    display: block;
}

    .modal-footer .button {
        background-color: #236AB9;
        border-radius: 4px;
        padding: 6px 30px;
        color: white;
        font-size: 20px;
        display: inline-block;
        font-weight: normal !important;
        min-width: 170px;
        margin: 10px;
        border-style: none;
        font-family: 'Montserrat', sans-serif !important;
    }

.modal .label, .modal th{
    font-weight:bold;
}

.modal .field{
    margin-bottom:1em !important;
}

.modal table{
    width:100%;
    border-collapse:collapse;
    margin-top:5px;
}

.modal table, .modal th, .modal td {
    border: 1px solid;
    border-color:#ddd;
    text-align:center;
}

.modal td, .modal th{
    padding:5px;
}

.modal th {
    background: #001840;
    color:white;
}

.modal .warning{
    background:yellow;
}

.modal .active {
    background: #00a804;
    color:white;
}

.modal .critical, .modal .inactive {
    background: #a70000;
    color:white !important;
}

.messages .critical td:nth-child(1) span{
    color:white !important;
}


.messages td:nth-child(2){
    text-align:left;
}

.controls button {
    height: 32px;
    position: relative;
    top: -1px;
    margin-left: 5px;
    margin-right: 2px;
    min-width: 80px;
    background-color: #236AB9;
    border-radius: 3px;
    color: white;
    font-weight: normal !important;
    border-style: none;
    font-family: 'Montserrat', sans-serif !important;
}

@media(max-width:600px){

    #app{
        padding:0;
        background:none;
    }

    .controls input{
        display:block;
        margin-bottom:5px;
        width:100%;
    }

    .app .buttons{
        display:block;

    }

    .app .buttons .button{
        display:block;
        width:100%;
        margin-bottom:10px;
    }

    .app .controls .button{
        width:100%;
        display:block;
        margin:0;
    }

    #fm-modal table{
        font-size:14px;
    }



}
