body {
    font-family: Arial, 'Helvetica Neue', Helvetica, "sans-serif";
    font-size: 12px;
    background-attachment: fixed;
    background-size: 66.666666% 86%;
}
body.page-frame{
    background: url(../images/us_flag.jpg) no-repeat bottom 12px center;
    background-size: 66.666666% 86%;
}
a{
    text-decoration: none;
    color: inherit;
}
a:hover, a:focus, a:active{
    text-decoration: none !important;
}
h1{
    margin-bottom: 30px;
}
.hidden{
    display: none;
}
.cb{
    clear: both;
}
.green{
    background-color: #5cb85c !important;
}
.yellow{
    background-color: yellow !important;
}
.p15{
    padding-top: 15px;
    padding-bottom: 15px;
}
.np{
    padding-left: 0;
    padding-right: 0;
}
.np-all{
    padding: 0;
}
.npl{
    padding-left: 0;
}
.npr{
    padding-right: 0;
}
.nm-all{
    margin: 0;
}
.nm{
    margin-left: 0;
    margin-right: 0;
}
.nml{
    margin-left: 0;
}
.nmr{
    margin-right: 0;
}
.mb15{
    margin-bottom: 15px;
}
.font-size-14 {
    font-size: 14px !important;
}
.alert-container{
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1031;
}
.alert-container .alert{
    min-width: 300px;
    margin-bottom: 0;
}

/* ---------------------------------------------------- */

html,
body,
body.page-frame > .container-fluid,
body.page-frame > .container-fluid > .row,
body.page-frame .column-left,
body.page-frame .column-right,
body.page-frame .column-center,
body.page-frame .column-center .wrapper{
    height: 100%;
}
body.page-frame .column-center .row-main-container {
    height: 100%;
    min-height: 100%;
    margin-top: -60px;
    padding-top: 60px;
    margin-bottom: -80px;
    padding-bottom: 80px;
}
body.page-frame .column-center .row-header{
    height: 60px;
}
body.page-frame .column-center .row-footer{
    height: 80px;
}
body.page-frame .column-center .row-main{
    height: 100%;
    width: 100%;
    margin-left: 0;
    margin-right: 0;

    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    /*-webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;*/
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}
body.page-frame .column-center .row-main > div{
    display: block;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}
body.page-frame .column-center .row-footer > div{
    height: 100%;
}

.captcha {
    display: none;
}

.row-header img,
.row-footer img{
    max-width: 100%;
    max-height: 100%;
}
.column-left > a,
.column-right > a{
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    height: 20%;
    width: 100%;
    justify-content: center;
    text-align: center;

}
.column-left > a img, .column-right > a img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* -------------------------------------------- */

.tgs-logos {
    /*display: inline-block;*/
    margin-top: 5px;
    padding: 5px;
    border: 1px solid #000;
    background-color: #ffffff;
}
.tgs-logos img {
    max-width: 100%;
    border: 1px solid #000;
}


.container-white{
    background-color: #ffffff;
}

a.link-top, a.link-block{
    display: inline-block;
    text-align: center;
    font-weight: bold;
    font-size: 14px;

    background-color: #4f81bc;
    border: 3px solid #425782;
}
a.link-top{
    margin-top: 7px;
    padding: 10px 15px;
}
a.link-block{
    display: table-cell;
    height: 150px;
    width: 200px;
    padding: 20px 0;
    /*margin-bottom: 20px;*/
    font-size: 24px;
    vertical-align: middle;

    color: #333;
    background-color: #35AA17;
    border: 3px solid #2D8E15;
}
a.link-block.blue{
    background-color: #4f81bc;
    border: 3px solid #425782;
    color: #fff;
}
a.link-block.inactive{
    background-color: #c55;
    border: 3px solid #a94442;
    display: none;
}
a.link-block:hover{
    color: #333;
}
.login-as {
    display: table;
    height: 100%;

    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 4;

    transition: all 0.5s ease-out 0s;
}
.login-as.login-close{
    right: -200px;
}
.login-as > div:first-child {
    display: table-cell;
}
.login-as > div:first-child i{
    padding: 6px 0;
    width: 30px;
    cursor: pointer;
    font-size: 20px;
    text-align: center;
    box-shadow: 1px 0 7px 2px rgba(0, 0, 0, 0.75);
    background-color: #222222;
    color: #ffffff;
}
.login-as > div:last-child {
    display: table-cell;
    height: 100%;

    padding: 20px;
    width: 200px;
    text-align: left;
    font-size: 15px;
    box-shadow: 3px 0 5px 4px rgba(0, 0, 0, 0.75);
    background-color: #222222;
    color: #ffffff;
}
.login-as > div:last-child > div {
    margin-bottom: 5px;
}
.login-as .to-home,
.login-as .to-signout{
    display: none;
}


.btn-fixed {
    position: fixed;
    top: 0;
    right: 30px;
    z-index: 3;
}
.btn-fixed:after {
    content: url("../images/check.png");
    position: absolute;
    top: 6px;
    left: 0;
    right: 0;
    bottom: 0;
}


.login-form{
    padding: 15px;
    background-color: #ffffe0;
    border: 2px solid;
}
.page-login .img img {
    width: 100%;
}
.page-account-rollup-list table td{
    padding: 4px !important;
}
.page-account-rollup-list table td:nth-child(4){
    white-space: nowrap;
}
.page-account-rollup-list table tbody a{
    color: #337ab7;
}
.page-account-rollup-list table tbody select{
    width: 100%;
}
.page-account-rollup-list .summary {
    clear: both;
}


.grid-view-header-fixed{
    position: fixed;
    top: 0;
    left: 160px;
    right: 175px;
    z-index: 1;
    height: 35px;
    border-top: 1px solid #787375;
    border-bottom: 1px solid #787375;
    background-color: #c5c5c5;
}
.page-fit .grid-view-header-fixed{
    left: 30px;
    right: 30px;
}
.tabel-header-fixed thead tr th {
    padding: 0;
}
.tabel-header-fixed thead tr th span,
.tabel-header-fixed thead tr th a {
    position: fixed;
    top: 1px;
    z-index: 2;
    padding: 8px;
    margin-left: -1px;
    border-left: 1px solid #787375;
    background-color: #c5c5c5;
}
.tabel-header-fixed thead tr th:last-child span,
.tabel-header-fixed thead tr th:last-child a {
    border-right: 1px solid #787375;
}

.grid-view table thead tr {
    background-color: #c5c5c5;
}
.grid-view table > tbody > tr:nth-of-type(2n+1){
    background-color: #c4dbcb;
}
.grid-view table {
    border: 1px solid #787375;
}
.grid-view table > thead > tr > th,
.grid-view table > tbody > tr > th,
.grid-view table > tfoot > tr > th,
.grid-view table > thead > tr > td,
.grid-view table > tbody > tr > td,
.grid-view table > tfoot > tr > td {
    border: 1px solid #787375;
}

.modal-dialog .modal-header h3{
    margin-top: 0;
}




/* ------------------------------------------------------------- */
.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* -------------------------------------------------------*/

.swiper-container {
    width: 600px;
    height: 300px;
}
.swiper-slide img {
    max-width: 100%;
    max-height: 100%;
}
table.contract_1_fields{
    max-width: 650px;
    margin: auto;
}
.contract_1_fields td:nth-of-type(2n){
    width: 550px;
}
table.contract_1_fields tr,
table.contract_1_fields td{
    border: none !important;
}
.contract_form input,
table.contract_1_signatures input{
    max-width: 160px;
    border: none;
    border-bottom: 1px solid #000;
    border-radius: 0px;
    outline: none !important;
    box-shadow: none !important;
    margin: 0px;
    padding: 0 6px;
}
table.contract_1_fields .form-group{
    margin-bottom: 0px;
}
.inline_inputs .form-group {
    display: inline-block;
}
.contract_1_signatures {
    border: 1px solid;
    max-width: 650px;
    margin: 20px auto;
}
.contract_1_signatures th{
    text-align: center;
}
.contract_1_signatures th:first-child,
.contract_1_signatures td:nth-of-type(2n){
    border-right: 1px solid;
}
.contract_1_signatures td{
    padding: 5px 10px;
}
.contract_form_1_checkbox_2 label {
    width: 25%;
    display: block;
    float: left;
    padding: 0px 15px;
}
.contract_form_1_checkbox_2{
    margin-top: 30px;
    margin-bottom: 30px;
}

.contract_form_1_checkbox_1 label {
    width: 33%;
    display: block;
    float: left;
    padding: 0px 15px;
}
#contract_1{
    max-width: 800px;
    margin: auto;
    padding: 15px;
}
#contract_1 h3{
    font-size: 24px;
    text-decoration: underline;
    margin: 20px 0px;
}
.container_padding{
    padding-bottom: 30px;
}
.am_form div.required label.control-label:after {
    content:" * ";
    color:red;
}

.idependent_contract_form {
    width: 550px;
    margin: auto;
}

.idependent_contract_form .field_value{
    font-size: 16px;
    line-height: 26px;
    border-bottom: 1px solid;
    max-width: 220px;
}
.idependent_contract_form > .flex_row {
    margin: 14px 0px;
}


.flex_row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}
.flex_row > * {
    flex-shrink: 0;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.align-items-center {
    align-items: center !important;
}
.flex-nowrap {
    flex-wrap: nowrap !important;
}
.busines_form .form-group{
    width: 122px;
    margin-bottom: 0px;
    padding: 0px 3px;
}
#contract_2{
    max-width: 900px;
    margin: auto;
}
#contract_2 iframe{
    width:100%;
    height:500px;
}
.busines_form label {
    margin: 0;
    padding: 0;
    margin-top: 3px;
    margin-right: 3px;
}
@media screen and (max-width: 768px) {
    .contract_form_1_checkbox_1 label{
        width: 100%;
    }
    .contract_form_1_checkbox_2 label{
        width: 100%;
    }
}
.grid-view a{
    color: #3c8dbc !important;
}
.padding_top_15{
    padding-top: 15px;
}
.display_inline{
    display: inline-block;
}

#create_invoice_table_form{
    padding: 0px 30px;
}
#create_invoice_table{
    /*width: 100%;*/
    table-layout: fixed;
    position: relative;
}
table#create_invoice_table.history_readonly:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
}
table#create_invoice_table tbody input {
    display: inline-block;
    border: none;
    width: 100px;
    outline: none;
    box-shadow: none;
    background: transparent;
    text-align: center;
}
#create_invoice_table thead input,
#create_invoice_table thead select{
    display: inline-block;
    border: none;
    width: 100%;
    outline: none;
    box-shadow: none;
    background: transparent;
    border-bottom: 1px solid;
    border-radius: 0px;
}
#create_invoice_table tbody tr:nth-of-type(even){
    background:#ccffcc ;
}
#create_invoice_table th {
    background-color: #d0cece;
    text-align: center;
}
#create_invoice_table tr th:nth-of-type(1){
    width: 150px;
}
#create_invoice_table  tr th:nth-of-type(2){
    width: 300px;
}
#create_invoice_table  tr th:nth-of-type(3){
    width: 300px;
}
#create_invoice_table  tr th:nth-of-type(4),
#create_invoice_table  tr th:nth-of-type(5),
#create_invoice_table  tr th:nth-of-type(6){
    width: 100px;
}
#create_invoice_table td,
#create_invoice_table th{
    border: 1px solid #ddd;
    position: relative;
    padding: 0px 10px;
}

#create_invoice_table .form-group{
    margin-bottom: 0px;
}
#create_invoice_table .help-block{
    margin-top: 0;
    margin-bottom: 0;
    line-height: 30px;
}

#create_invoice_table thead .has-error input,
#create_invoice_table thead .has-error select{
    border-bottom: 1px solid red;
}
img.tg_small_logo {
    position: absolute;
    left: 10px;
}

img.client_logo {
    position: absolute;
    left: 0px;
    top: 0px;
    max-width: 180px;
    max-height: 60px;
    object-fit: contain;
}
#new_menu {
    list-style: none;
    padding: 0;
    background: #222d32;
    color: #b8c7ce;
    width: 320px;
    font-size: 18px;
    margin-bottom: 0;
    flex-shrink: 0;
}
#new_menu ul{
    list-style: none;
    padding: 0;
}
ul#new_menu a  {
    width: 100%;
    display: inline-block;
    padding: 13px 35px;
}
#new_menu > li a{
    position: relative;
}
#new_menu > li > a:before,
#new_menu .has_sub:before{
    content: "\f007";
    font: normal normal normal 14px/1 FontAwesome;
    display: block;
    position: absolute;
    left: 13px;
    top: 20px;
}
#new_menu .has_sub{
    padding: 13px 35px;
    position: relative;
    cursor: pointer;
}

#new_menu > li{
    border-left: 4px solid #222d32;

}
#new_menu > li:hover,
#new_menu > li.open {
    border-left: 4px solid #3c8dbc;
    background-color: #1e282c;
}
#new_menu .has_sub ul{
    margin-left: -39px;
    margin-right: -35px;
    background: #2c3b41;
    margin-top: 15px;
    margin-bottom: -15px;
}
#new_menu .has_sub ul li:hover a{
    color: #444;
    background: #f7f7f7;
}
.has_sub:after {
    position: absolute;
    content: '\f104';
    font: normal normal normal 14px/1 FontAwesome;
    right: 10px;
    top: 20px;
    font-size: 18px;
}
.has_sub.open:after{
    -webkit-transform: rotate(
            -90deg
    );
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(
            -90deg
    );

}
#new_menu li ul{
    display: none;
}

#new_menu .has_sub.open ul{
    display: block;
}
ul#new_menu a:hover{
    color: #ffffff;
}
.ln_center{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.ln_header{
    height: 80px;
    flex-shrink: 0;
    margin-bottom: 20px;
}
.ln_content {
    min-height: 100%;
    flex: 1;
    width: 100%;
}
#contractor_replace_grid .changed{
    background-color: yellow;
}
div#page-account-index {
    display: flex;
    justify-content: space-between;
    height: 100%;
}
#calendar {
    margin-bottom: 30px;
    width: 100%;
}
#calendar img {
    width: 100%;
}
#contractor_replacement_form .modal-body{
    margin-top: 130px;
}