﻿.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled]
.btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {

    background-color: #6ae2eb;
    border-color: #46b7bf;
}



.alert-info {

    background-color: #fefefe !important;
    color: #31708f !important;
}
.alert-danger {
    background-color: #fefefe !important;
}
.alert-success {
    background-color: #fefefe !important;
}
.alert-warning {
    background-color: #fefefe !important;
}


input.vehoDatePicker {
    cursor: pointer !important;
}


/* CheckBoxListFor element styling */
.vehoCbxList label {
    margin-left: 10px;
}


/* END CheckBoxListFor element styling */

/* MVC VALIDATION */
.validation-summary-errors ul {
    color: red;
}

.validation-summary-errors ul {
    list-style: none;
}
#error-container .alert+div {
    color: #cccccc;
}

table.lastHeaderTextRight thead tr th:last-child
{
    text-align: right;
}

table.lastHeaderTextCenter thead tr th:last-child
{
    text-align: center;
}

/* dropdown-menu in accordian panel-group fix */
.check-item-group.panel-group .panel {overflow: visible;}


/* GENERIC TABLE OVERRIDES */

.table-narrow-header thead > tr > th,
.table thead > tr > td,
.table tfoot > tr > th,
.table tfoot > tr > td {
    padding-top: 7px;
    padding-bottom: 7px;
}


/* vehocheck modal loading mask */

.veho-modal-mask
{
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: white;
    z-index: 20000;
    position: absolute;
    top: 0;
    left: 0;
    -moz-opacity: 0.5;
    opacity: .50;
    filter: alpha(opacity=50);
    text-align: center;
}

.veho-modal-mask-spinner
{
    position: absolute;
    top: 30%;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.veho-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 1;
}

.veho-overlay-container {
    overflow: hidden;
    position: relative;
}

/* end vehocheck modal loading mask */

/* upload image preview */
.preview img 
{
    max-width: 80px;
    max-height: 80px;
}


tr.template-download td, tr.template-upload td {
    text-align: left;
}


/* mini-grid*/
.table.minigrid thead > tr > th {
font-size: 14px;
font-weight: 600;
}


/* modelState Error Message */
.validation-summary-errors {

    color: #e74c3c;
    background-color: #fefefe;
    border: 2px solid #ffb8b0;
    border-radius: 4px;
    padding: 15px;
    margin: 30px 20px 20px;
}

.validation-summary-errors ul {
    padding-left: 0;
}



/* Datepicker over-rides*/

.datetimepicker table tr td.today, .datetimepicker table tr td.today.disabled, .datetimepicker table tr td.today.disabled:hover, .datetimepicker table tr td.today:hover
{
    background-color: #4A5051 !important;
    background-image: -moz-linear-gradient(top,#3b3f40,#595F60) !important;
    background-image: -ms-linear-gradient(top,#3b3f40,#595F60) !important;
    background-image: -webkit-gradient(linear,0 0,0 100%,from(#3b3f40),to(#595F60)) !important;
    background-image: -webkit-linear-gradient(top,#3b3f40,#595F60) !important;
    background-image: -o-linear-gradient(top,#3b3f40,#595F60) !important;
    background-image: linear-gradient(top,#3b3f40,#595F60) !important;
    background-repeat: repeat-x;
    border-color: #595F60 #595F60 #BBBBBB !important;
    border-color: rgba(0,0,0,.1)rgba(0,0,0,.1)rgba(0,0,0,.25);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    color: #EEEEEE;
}



.chart-holder {
    width: 100%;
    height: 225px;
}



@media (min-width: 992px) {
    .form-description-label {
        text-align: right;
    }
}



td.table-cell-ellipsis {
    max-width: 200px; 
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


table.table-tiny thead th, table.table-tiny tr td {
    font-size: 12px;
    padding: 5px;
}
caption {
    text-align: left;
    font-size: 1.2em;
    font-weight: 600;
}


.header-fixed {
    width: 100% 
}

.header-fixed > thead,
.header-fixed > tbody,
.header-fixed > thead > tr,
.header-fixed > tbody > tr,
.header-fixed > thead > tr > th,
.header-fixed > tbody > tr > td {
    display: block;
}

.header-fixed > tbody > tr:after,
.header-fixed > thead > tr:after {
    content: ' ';
    display: block;
    visibility: hidden;
    clear: both;
}

.header-fixed > tbody {
    overflow-y: auto;
    height: 350px;
}

.header-fixed > tbody > tr > td,
.header-fixed > thead > tr > th {
    width: 24%; /* <----- can override this on individual pages to account for more or less than 5 columns*/
    float: left;
}


.dropdown-hover:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    color: red;
 }


.veho-modal-mask-alt {

    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 20000;
    position: absolute;
    top: 0;
    left: 0;   
    filter: alpha(opacity=50);
    text-align: center;

}


.veho-modal-mask-spinner-alt {

    position: absolute;
    top: 20%;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 30000;
}

    
.veho-modal-mask-check-alt {

    position: absolute;
    top: 20%;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 30000;

}

.veho-modal-mask-grid {

    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.55);
    z-index: 20000;
    position: absolute;
    top: 0;
    left: 0;   
    filter: alpha(opacity=50);
    text-align: center;

}


.veho-modal-mask-spinner-grid {

    position: absolute;
    top: 50%;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 30000;
}


.veho-modal-mask-dots-calendar {
    position: absolute;
    top: 100px;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 30000;
}


.veho-mini-menu {
    background-color: #3b3f40;
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 0;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    font-size: 11px;
}

.veho-mini-menu li:first-child.dropdown-header {
    border-top: none;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    background-color: #333;
    border-bottom: 1px solid rgba(0,0,0,0.15);
    color: #ebf2f2;
}

.veho-mini-menu li.dropdown-header {
    background-color: #333;
    border-top: 1px solid rgba(0,0,0,0.15);
    border-bottom: none;
    color: #ebf2f2;
    font-size: 13px;
}

.veho-mini-menu>li>a {
    color: #ebf2f2;
    opacity: 1;
    filter: alpha(opacity: 100);
    margin-right: 0;
}
.veho-mini-menu>li>a:hover, .veho-mini-menu>li>a:focus {
    color: #ffffff;
    text-decoration: none;
    background: url(../img/template/ie8_opacity_dark_15.png) repeat;
    background: rgba(0, 0, 0, 0.15);
}

/* NEW HOMEPAGE HEADER: 20-06-2018 */




.nav.navbar-nav-custom {
    border-right: 1px solid #eeeeee;
}
.stat-box {
    background: #46b7bf;
    background: rgba(70, 183, 191, 0.8);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgb(255,255,255);
    border: 1px solid rgba(255,255,255, 0.5);
    padding: 10px;
    margin: 10px 0;
    min-height: 138px;
}
.stat-box > h2 > small, .stat-box > h2 > a > small  {
    font-size: 60%;
    font-weight: bold;
    text-transform: uppercase; 
}
.stat-box > h2 > a {
    color: white;
}
.stat-box > h2 > a:visited {
    color: white;
    text-decoration: none;
}
    .stat-box > h2 > a:hover, .stat-box > h2 > a:active, .stat-box > h2 > a:focus {
        color: #46b7bf;
        text-decoration: none;
    }

.stat-box-title {
    margin: -10px -10px 10px -10px;
    border-bottom: 1px solid rgb(255,255,255);
    border-bottom: 1px solid rgba(255,255,255, 0.5);
    height: 20px;
    padding: 2px;
    font-size: 12px;
}
    .stat-box-title > h2 {
        font-size: 12px;
        line-height: 16px;
        padding: 0 2px 0;
        margin: 0;
        color: #dddddd;
        text-align: left;
        text-transform: uppercase;
        font-weight: 600;
    }

.stat-box-title-btn {
    margin-top: -2px;
    margin-right: 2px;
    margin-bottom: 2px;
}

.header-alert {
    /*position: relative;*/
    z-index: 101;
    top: 0;
    left: 0;
    right: 0;
    background: #46b7bf;
    color: #eeeeee;
    text-align: center;
    line-height: 2.5;
    overflow: hidden;
    margin: -10px -5px 10px;
    padding: 3px 0 4px 0;
}
.header-alert > a {
    text-decoration: underline;
    color: #222222;
}

.content-header-media {
    height: 100px;
}

.content-header-media .header-section {
    padding: 0 10px 10px;
    background: none !important;
}

.content-header-media .header-section > .row:first-child {
    background: rgba(0, 0, 0, 0.75);
}
.content-header-media .header-section h1 {
    padding: 5px;
    font-size: 20px;
}

@media screen and (min-width: 768px) {
    .header-alert {
        margin: -20px -20px 20px;
    }
    .content-header-media {
        height: 230px;
    }
}


/* END NEW HOMEPAGE HEADER: 20-06-2018 */

/* NEW TEMPLATE HEADER */

.header-section {
    padding-top: 10px;
    padding-bottom: 10px;
    min-height: 70px;
}

    .header-section > h1 {
        font-size: 20px;
        line-height: 24px;
        font-weight: 600;
    }

.header-section > h1 > small {
    font-size: 70%;
}

    .header-section h1 i {
        font-size: 40px;
    }
        /* END NEW TEMPLATE HEADER */


        /* NEW TABLE GRID STYLING*/

        .table thead > tr > th {
            font-size: 15px;
            font-weight: 600;
        }

        .table-condensed > thead > tr > th,
        .table-condensed > tbody > tr > th,
        .table-condensed > tfoot > tr > th,
        .table-condensed > thead > tr > td,
        .table-condensed > tbody > tr > td,
        .table-condensed > tfoot > tr > td {
            padding: 4px
        }

        .table thead > tr > th,
        .table thead > tr > td,
        .table tfoot > tr > th,
        .table tfoot > tr > td {
            padding-top: 12px;
            padding-bottom: 12px;
        }


        /* END NEW TABLE GRID STYLING*/

/* NEW JOB CARD STYLING*/

tr.jobLineHeader th {
    background-color: #4f5353;
    color: #fefefe;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

tr.jobLinePartsHeader th {
    background-color: #818787;
    color: #fefefe;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

tr.jobLineFooter th {
    /*border-top: 2px solid #818787 !important;*/
    background-color: blanchedalmond;
    background: blanchedalmond;
}

tr.jobCardFooter th {
    background-color: oldlace;
    background: oldlace;
    border-top: 3px solid #818787 !important;
    border-bottom: 3px solid #818787 !important;
}
.btn-job-type {
    min-height: 80px;
    text-transform: uppercase;
    overflow: hidden;
}
.btn-job-type span {
    font-weight: bold;
}
/* END NEW JOB CARD STYLING*/

/* PMI CHECK STYLING */
.pmi-brand {
    height: 50px;
    line-height: 50px;
    padding: 0 10px;
    margin: 0;
}


.pmi-action-menu {
    font-size: 24px !important;
    min-width: 100%;
}

.pmi-action-menu i {
    opacity: 1 !important;
    filter: alpha(opacity=100) !important;
}
.pmi-action-menu > li > a:hover, .pmi-action-menu > li > a:focus {
    background-image: none !important;
}
.pmi-action-menu > li > a:hover > i, .pmi-action-menu > li > a:focus > i {
    color: #ffffff;
}
.pmi-action-menu > li:nth-child(1) > a:hover, .pmi-action-menu > li:nth-child(1) > a:focus {
    background-color: #7db831 !important;
}
.pmi-action-menu > li:nth-child(2) > a:hover, .pmi-action-menu > li:nth-child(2) > a:focus {
    background-color: #e74c3c !important;
}
.pmi-action-menu > li:nth-child(3) > a:hover, .pmi-action-menu > li:nth-child(3) > a:focus {
    background-color: #e67e22 !important;
}
.pmi-action-menu > li:nth-child(4) > a:hover, .pmi-action-menu > li:nth-child(4) > a:focus {
    background-color: #999999 !important;
}
.pmi-action-menu > li:nth-child(5) > a:hover, .pmi-action-menu > li:nth-child(5) > a:focus {
    background-color: #999999 !important;
}

button.dropdown-toggle > span > i {
    font-size: 20px;
}

div.itemForAttention {
    background-color: #4f5353;
    color: #fefefe;
    width: 100%;
    min-height: 1px;
    overflow: auto;
    padding: 0 10px;
    margin-bottom: 20px;
}

/* PMI CHECK STYLING */

/* ADDITIONAL FORM STYLING */
.form-group.form-group-narrow {
    padding: 7px;
}

/* ADDITIONAL FORM STYLING */

/* GRID LAYOUT WITHOUT COLUMN PADDING */
.no-gutter > [class*='col-'] {
    padding-right: 0;
    padding-left: 0;
}
/* GRID LAYOUT WITHOUT COLUMN PADDING */


/* CSS LOADING ANIMATION - https://icons8.com/cssload/en/horizontal-bars/2 */

#followingBallsG {
    position: relative;
    width: 77px;
    height: 6px;
    margin: auto;
}

.followingBallsG {
    background-color: rgb(70,183,191);
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 3px;
    -o-border-radius: 3px;
    -ms-border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    animation-name: bounce_followingBallsG;
    -o-animation-name: bounce_followingBallsG;
    -ms-animation-name: bounce_followingBallsG;
    -webkit-animation-name: bounce_followingBallsG;
    -moz-animation-name: bounce_followingBallsG;
    animation-duration: 1.5s;
    -o-animation-duration: 1.5s;
    -ms-animation-duration: 1.5s;
    -webkit-animation-duration: 1.5s;
    -moz-animation-duration: 1.5s;
    animation-iteration-count: infinite;
    -o-animation-iteration-count: infinite;
    -ms-animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    animation-direction: normal;
    -o-animation-direction: normal;
    -ms-animation-direction: normal;
    -webkit-animation-direction: normal;
    -moz-animation-direction: normal;
}

#followingBallsG_1 {
    animation-delay: 0s;
    -o-animation-delay: 0s;
    -ms-animation-delay: 0s;
    -webkit-animation-delay: 0s;
    -moz-animation-delay: 0s;
}

#followingBallsG_2 {
    animation-delay: 0.15s;
    -o-animation-delay: 0.15s;
    -ms-animation-delay: 0.15s;
    -webkit-animation-delay: 0.15s;
    -moz-animation-delay: 0.15s;
}

#followingBallsG_3 {
    animation-delay: 0.3s;
    -o-animation-delay: 0.3s;
    -ms-animation-delay: 0.3s;
    -webkit-animation-delay: 0.3s;
    -moz-animation-delay: 0.3s;
}

#followingBallsG_4 {
    animation-delay: 0.45s;
    -o-animation-delay: 0.45s;
    -ms-animation-delay: 0.45s;
    -webkit-animation-delay: 0.45s;
    -moz-animation-delay: 0.45s;
}



@keyframes bounce_followingBallsG {
    0% {
        left: 0px;
        background-color: rgb(70,183,191);
    }

    50% {
        left: 71px;
        background-color: rgb(255,255,255);
    }

    100% {
        left: 0px;
        background-color: rgb(70,183,191);
    }
}

@-o-keyframes bounce_followingBallsG {
    0% {
        left: 0px;
        background-color: rgb(70,183,191);
    }

    50% {
        left: 71px;
        background-color: rgb(255,255,255);
    }

    100% {
        left: 0px;
        background-color: rgb(70,183,191);
    }
}

@-ms-keyframes bounce_followingBallsG {
    0% {
        left: 0px;
        background-color: rgb(70,183,191);
    }

    50% {
        left: 71px;
        background-color: rgb(255,255,255);
    }

    100% {
        left: 0px;
        background-color: rgb(70,183,191);
    }
}

@-webkit-keyframes bounce_followingBallsG {
    0% {
        left: 0px;
        background-color: rgb(70,183,191);
    }

    50% {
        left: 71px;
        background-color: rgb(255,255,255);
    }

    100% {
        left: 0px;
        background-color: rgb(70,183,191);
    }
}

@-moz-keyframes bounce_followingBallsG {
    0% {
        left: 0px;
        background-color: rgb(70,183,191);
    }

    50% {
        left: 71px;
        background-color: rgb(255,255,255);
    }

    100% {
        left: 0px;
        background-color: rgb(70,183,191);
    }
}
/* END CSS LOADING ANIMATION */

/* FANCY LINES EITHER SIDE OF TEXT */
.fancy {
    line-height: 0.5;
    text-align: center;
}
.fancy span {
    display: inline-block;
    position: relative;  
}
    .fancy span:before,
    .fancy span:after {
        content: "";
        position: absolute;
        height: 5px;
        border-bottom: 1px solid gray;
        border-top: 1px solid gray;
        top: 0;
        width: 600px;
    }
.fancy span:before {
    right: 100%;
    margin-right: 15px;
}
.fancy span:after {
    left: 100%;
    margin-left: 15px;
}
/* END FANCY LINES EITHER SIDE OF TEXT */

/* JQUERY DIALOG OVER-RIDES - BECAUSE DIALOG CSS IS CACHED IN THE MAIN BUNDLE*/
.ui-widget {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif !important; /*Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;*/
    font-size: 1.1em;
}
.ui-widget .ui-widget {
    font-size: 1em;
}
    .ui-widget input,
    .ui-widget select,
    .ui-widget textarea,
    .ui-widget button {
        font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif !important; /*Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;*/
        font-size: 1em;
    }
.ui-widget-overlay {
    background: #666666 !important; /*url("images/ui-bg_diagonals-thick_20_666666_40x40.png") 50% 50% repeat;*/
    opacity: .5;
    filter: Alpha(Opacity=50); /* support: IE8 */
}
/* JQUERY DIALOG OVER-RIDES */



/* RESPONSIVE TABLES FPR BIGGER SCREEN SIZES TOO */

@media all 
    
    and (max-width : 1024px) 
{ 
    
    .table-responsive {
        width: 100%;
        margin-bottom: 15px;
        overflow-y: hidden;
        overflow-x: scroll;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        border: 1px solid #ddd;
        -webkit-overflow-scrolling: touch
    }

        .table-responsive > .table {
            margin-bottom: 0
        }

            .table-responsive > .table > thead > tr > th,
            .table-responsive > .table > tbody > tr > th,
            .table-responsive > .table > tfoot > tr > th,
            .table-responsive > .table > thead > tr > td,
            .table-responsive > .table > tbody > tr > td,
            .table-responsive > .table > tfoot > tr > td {
                white-space: nowrap
            }

        .table-responsive > .table-bordered {
            border: 0
        }

            .table-responsive > .table-bordered > thead > tr > th:first-child,
            .table-responsive > .table-bordered > tbody > tr > th:first-child,
            .table-responsive > .table-bordered > tfoot > tr > th:first-child,
            .table-responsive > .table-bordered > thead > tr > td:first-child,
            .table-responsive > .table-bordered > tbody > tr > td:first-child,
            .table-responsive > .table-bordered > tfoot > tr > td:first-child {
                border-left: 0
            }

            .table-responsive > .table-bordered > thead > tr > th:last-child,
            .table-responsive > .table-bordered > tbody > tr > th:last-child,
            .table-responsive > .table-bordered > tfoot > tr > th:last-child,
            .table-responsive > .table-bordered > thead > tr > td:last-child,
            .table-responsive > .table-bordered > tbody > tr > td:last-child,
            .table-responsive > .table-bordered > tfoot > tr > td:last-child {
                border-right: 0
            }

            .table-responsive > .table-bordered > tbody > tr:last-child > th,
            .table-responsive > .table-bordered > tfoot > tr:last-child > th,
            .table-responsive > .table-bordered > tbody > tr:last-child > td,
            .table-responsive > .table-bordered > tfoot > tr:last-child > td {
                border-bottom: 0
            }
}
 /*END RESPONSIVE TABLES FPR BIGGER SCREEN SIZES TOO */


/* NEW MAIN MENU ICON GLOW */
.menu-glow {
    /*font-size: 80px;
    color: #fff;
    text-align: center;*/
    -webkit-animation: menu-glow 1s ease-in-out infinite alternate;
    -moz-animation: menu-glow 1s ease-in-out infinite alternate;
    animation: menu-glow 1s ease-in-out infinite alternate;
}

@-webkit-keyframes menu-glow {
    from {
        text-shadow: 0 0 1px #fff, 0 0 2px #fff, 0 0 3px #ccc, 0 0 4px #ccc, 0 0 5px #ccc, 0 0 6px #ccc, 0 0 7px #ccc;
    }

    to {
        text-shadow: 0 0 2px #fff, 0 0 3px #aaa, 0 0 4px #aaa, 0 0 5px #aaa, 0 0 6px #aaa, 0 0 7px #aaa, 0 0 8px #aaa;
    }
}


.menu-glow-orange {
    /*font-size: 80px;
    color: #fff;
    text-align: center;*/
    -webkit-animation: menu-glow-orange 1s ease-in-out infinite alternate;
    -moz-animation: menu-glow-orange 1s ease-in-out infinite alternate;
    animation: menu-glow-orange 1s ease-in-out infinite alternate;
}

@-webkit-keyframes menu-glow-orange {
    from {
        text-shadow: 0 0 1px #fff, 0 0 2px #fff, 0 0 3px #FF7800, 0 0 4px #FF7800, 0 0 5px #FF7800, 0 0 6px #FF7800, 0 0 7px #FF7800;
    }

    to {
        text-shadow: 0 0 2px #fff, 0 0 3px #e67e22, 0 0 4px #e67e22, 0 0 5px #e67e22, 0 0 6px #e67e22, 0 0 7px #e67e22, 0 0 8px #e67e22;
    }
}
/* END NEW MAIN MENU ICON GLOW */