﻿/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-bottom: 20px;
    font-family: Arial;
}


div.body-content {
    padding-bottom: 80px;
    padding-left: 40px;
}


/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 15px !important;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    /*max-width: 280px;*/
}


/* Responsive: Portrait tablets and up */
@media screen and (min-width: 1200px) {
    .jumbotron {
        margin-top: 20px;
    }
}

.loginTCsPanel, td.LoginControl img {
    display: none;
}

/* Responsive: Small screens */
@media screen and (max-width: 1200px) {
    .loginTCsPanel {
        padding-top: 10px;
        display: inline-block;
    }
    .loginTCs {
        display: none;
    }
    td.LoginControl img {
        display: inline;
        margin-bottom: 20px;
    }
}

@media (max-width: 430px) {
	table.switches thead th:nth-child(5),
		table.switches tbody td:nth-child(5){
		display: none;
	}
	div.card-heading {
		font-size: 0.8em !important;
	}
	div.huge {
		font-size: 20px !important;
	}
	.fa-5x {
		font-size: 3em !important;
	}
    div.schedule a {
        width: 100% !important;
        margin-top: 10px;
    }

    div.body-content {
        padding-left: 20px;
    }
}

.navbar-header {
    margin-left: 10px !important;
}

@media (max-width: 1200px) {
	.navbar-brand {
		margin-left: 20px;
	}
    section#MainContent {
	    padding: 0px 10px;
    }
    div.footerRow {
        margin: 0 20px;
    }
}

/* Responsive: Small screens */



@media screen and (max-width: 576px) {
    #navbar {
        padding-top: 15px;
    }
}

    /*
@media screen and (max-width: 380px) {
    .dashboard {
        margin-left: 10px;
    }
    .dashboard .card {
        margin-left: 10px;
        width: 80px;
    }
    .dashboard .card .card-heading {
        height: 95px;
    }

    .dashboard .card {
        width: 40% !important;
    }
}
@media screen and (max-width: 420px) {
    .dashboard {
        margin-left: 10px;
    }
    .dashboard .card {
        margin-left: 10px;
        width: 80px;
    }
    .dashboard .card .card-heading {
        height: 95px;
    }
    .dashboard-alerts .alert {
        height: 80px !important;
    }
    .dashboard-alerts a {
        margin-top: 0px !important;
    }
}
*/
    .title_shade {
        color: #888;
    }


    table.entryform tr td {
        padding: 3px;
    }

        table.entryform tr td:nth-child(1) {
            font-weight: bold;
            padding-right: 50px;
            width: 150px;
        }

        table.entryform tr td input[type=text] {
            border-radius: 2px;
            border: none;
            background-color: #eee;
            width: 100%;
            float: left;
        }

    table.common tr td {
        padding: 4px 5px;
    }

    table.itemcalculator tr td {
        line-height: 24px !important;
        padding: 2px !important;
    }

    table.itemcalculator input {
        height: 24px !important;
        padding: 1px 3px !important;
    }



    table.filter tr td {
        padding: 2px;
    }

    table.filter input[name*='Date'] {
        width: 100px;
        display: inline-block;
    }

    span.peak {
        color: green;
        font-weight: bold;
    }

    span.offpeak {
        color: blue;
        font-weight: bold;
    }



    .huge {
        font-size: 40px;
    }
    /*
    .card {
        width: 100%;
    }
        */
    .card-green {
        border-color: #5cb85c;
    }

        .card-green > .card-heading {
            border-color: #5cb85c;
            color: #fff;
            background-color: #5cb85c;
        }

        .card-green > a {
            color: #5cb85c;
        }

            .card-green > a:hover {
                color: #3d8b3d;
            }

    .card-red {
        border-color: #d9534f;
    }

        .card-red > .card-heading {
            border-color: #d9534f;
            color: #fff;
            background-color: #d9534f;
        }

        .card-red > a {
            color: #d9534f;
        }

            .card-red > a:hover {
                color: #b52b27;
            }

    .card-yellow {
        border-color: #f0ad4e;
    }

        .card-yellow > .card-heading {
            border-color: #f0ad4e;
            color: #fff;
            background-color: #f0ad4e;
        }

        .card-yellow > a {
            color: #f0ad4e;
        }

            .card-yellow > a:hover {
                color: #df8a13;
            }

    table.itemcalculator input {
        width: 60px;
    }

    h1 {
        font-size: 24px !important;
        font-weight: bold !important;
        width: 100% !important;
    }

    .breadcrumbs {
        font-size: 17px;
        clear: both;
        margin: 10px 25px;
        display: block;
    }

        .breadcrumbs span {
            font-style: italic;
            color: #5CB85C;
        }

        .breadcrumbs a {
            text-decoration: underline !important;
        }

            .breadcrumbs a.btn {
                margin-left: 80px;
                text-decoration: none !important;
            }

    a.btn {
        margin: 0 10px 5px 0;
    }


    .logpanel {
        font-size: 12px;
        max-height: 150px;
        overflow-y: scroll;
        margin-top: -90px;
        width: 650px;
        margin-left: -280px;
    }

        .logpanel ul {
            padding: 0 0 0 0 !important;
        }

            .logpanel ul li {
                list-style: none;
            }

                .logpanel ul li span {
                    font-weight: bold;
                    width: 130px;
                    display: inline-block;
                    color: #797979;
                }

                .logpanel ul li i {
                    margin-right: 10px;
                    color: #337AB7;
                }

    h2.total_M3 span {
        margin-left: 10px;
        color: blue;
    }


    .footer {
        border-top: solid 1px #c2d545;
        margin-top: 50px;
        padding-top: 20px;
        width: 98%;
        color: #a1a1a1;
        margin-right: 10px !important;
    }

        .footer a {
            color: #8587eb;
        }

    td.formlabel {
        padding-right: 10px !important;
    }

    table.loginTable td {
        padding: 3px 5px;
    }

    td.LoginControl input[type=checkbox] {
        margin-right: 10px;
    }

    span.ErrorMessageStyle {
        background-color: #FFDADA;
        border: solid 1px #FFBEBE;
        border-radius: 4px;
        margin: 10px 2px;
        color: #D46868;
        padding: 10px 8px;
        display: inline-block;
        position: absolute;
        margin-top: -20px;
    }

    span.ErrorInline {
        color: red;
        font-weight: bold;
        display: inline-block;
    }


    table.PadTable tr td, table.PadTable tr th {
        padding: 2px 6px;
    }

    table.table th {
        font-size: 0.9em;
    }

    div.footerRow {
        margin-top: 50px;
    }

    .actionbuttons a {
        margin: 6px;
    }

    ul.navbar-nav li.logo {
        margin-left: -30px;
    }

        ul.navbar-nav li.logo a {
            padding: 0 0 0 0 !important;
            margin: 0 0 0 0 !important;
            line-height: inherit !important;
        }

    .navbar {
        border-bottom: solid 2px #C1D72E;
    }

    a.nav-link {
        padding: .3rem .8rem !important;
        font-size: 0.9em;
    }

    ul.dropdown-menu a.nav-link {
        color: black !important;
    }

    .navbar-brand {
        background: url(/images/eswitch-nav.png) no-repeat 0 0px;
        width: 150px;
        background-size: 150px;
    }


    li.dropdown hr {
        margin: 5px !important;
    }

    .ErrorBold {
        font-weight: bold;
        color: red;
        display: inline-block;
    }


    a.action-sms {
        padding: 6px 40px;
    }


    .gly-spin {
        -webkit-animation: spin 2s infinite linear;
        -moz-animation: spin 2s infinite linear;
        -o-animation: spin 2s infinite linear;
        animation: spin 2s infinite linear;
    }

    @-moz-keyframes spin {
        0% {
            -moz-transform: rotate(0deg);
        }

        100% {
            -moz-transform: rotate(359deg);
        }
    }

    @-webkit-keyframes spin {
        0% {
            -webkit-transform: rotate(0deg);
        }

        100% {
            -webkit-transform: rotate(359deg);
        }
    }

    @-o-keyframes spin {
        0% {
            -o-transform: rotate(0deg);
        }

        100% {
            -o-transform: rotate(359deg);
        }
    }

    @keyframes spin {
        0% {
            -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
        }

        100% {
            -webkit-transform: rotate(359deg);
            transform: rotate(359deg);
        }
    }

    .ajax__calendar_container TD {
        padding: 1px !important;
    }

    .col-centered {
        float: none;
        margin: 0 auto;
    }

    .switchlist label {
        margin-left: 5px;
    }

    tfoot span[id*='DataPager'] span {
        color: black;
        font-weight: bold;
        border: solid 2px green;
        padding: 4px 10px;
        border-radius: 5px;
        background-color: #c0ffc0;
    }

    tfoot span[id*='DataPager'] {
        width: 100%;
        text-align: center;
        display: block;
        margin-top: 20px;
    }


        tfoot span[id*='DataPager'] a {
            background-color: #e1e1e1 !important;
            margin-left: 5px;
            border: none;
            padding: 6px 12px;
            border-radius: 3px;
            color: #8b8b8b;
            font-weight: normal;
        }

            tfoot span[id*='DataPager'] a:hover {
                background-color: #b6fdbf !important;
                text-decoration: none;
            }

    input.aspNetDisabled {
        /*
    display: none;
    background-color: #F3F3F3;
    border: none;
    padding: 3px 12px;
    border-radius: 3px;
    color: #D8D8D8;*/
    }

    table.ListView tr td {
        vertical-align: middle;
    }
    /*
.dashboard .card {
    float: left;
    margin-left: 20px;
    width: 110px;
}

.dashboard .card .card-heading {
    text-align: center;
}

.dashboard .card-success a {
    color: green !important;
}

.dashboard .card-warning a {
    color: #F56747 !important;
}

.dashboard .card-primary a {
    color: #fff !important;
}

.dashboard {
    width: 95%;
}


.dashboard-alerts .alert {
    margin-bottom: 10px;
}

div.dashboard div.card-heading a {
    height: 90px;
    display: block;
}
*/

    table.switches {
        margin-bottom: 0px;
    }


    input[name*='DataPager'].aspNetDisabled {
        display: none;
    }


    table tr:first-child td, table tr:first-child th {
        border-top: none !important;
    }


    .validationerror {
        border: solid 3px red !important;
    }






    .checkbox {
        padding-left: 20px;
    }

        .checkbox label {
            display: inline-block;
            position: relative;
            padding-left: 5px;
        }

            .checkbox label::before {
                content: "";
                display: inline-block;
                position: absolute;
                width: 17px;
                height: 17px;
                left: 0;
                margin-left: -20px;
                border: 1px solid #cccccc;
                border-radius: 3px;
                background-color: #fff;
                -webkit-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
                -o-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
                transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
            }

            .checkbox label::after {
                display: inline-block;
                position: absolute;
                width: 16px;
                height: 16px;
                left: 0;
                top: 0;
                margin-left: -20px;
                padding-left: 3px;
                padding-top: 1px;
                font-size: 11px;
                color: #555555;
            }

        .checkbox input[type="checkbox"] {
            opacity: 0;
        }

            .checkbox input[type="checkbox"]:focus + label::before {
                outline: thin dotted;
                outline: 5px auto -webkit-focus-ring-color;
                outline-offset: -2px;
            }

            .checkbox input[type="checkbox"]:checked + label::after {
                font-family: 'FontAwesome';
                content: "\f00c";
            }

            .checkbox input[type="checkbox"]:disabled + label {
                opacity: 0.65;
            }

                .checkbox input[type="checkbox"]:disabled + label::before {
                    background-color: #eeeeee;
                    cursor: not-allowed;
                }

        .checkbox.checkbox-circle label::before {
            border-radius: 50%;
        }

        .checkbox.checkbox-inline {
            margin-top: 0;
        }

    .checkbox-primary input[type="checkbox"]:checked + label::before {
        background-color: #428bca;
        border-color: #428bca;
    }

    .checkbox-primary input[type="checkbox"]:checked + label::after {
        color: #fff;
    }

    .checkbox-danger input[type="checkbox"]:checked + label::before {
        background-color: #d9534f;
        border-color: #d9534f;
    }

    .checkbox-danger input[type="checkbox"]:checked + label::after {
        color: #fff;
    }

    .checkbox-info input[type="checkbox"]:checked + label::before {
        background-color: #5bc0de;
        border-color: #5bc0de;
    }

    .checkbox-info input[type="checkbox"]:checked + label::after {
        color: #fff;
    }

    .checkbox-warning input[type="checkbox"]:checked + label::before {
        background-color: #f0ad4e;
        border-color: #f0ad4e;
    }

    .checkbox-warning input[type="checkbox"]:checked + label::after {
        color: #fff;
    }

    .checkbox-success input[type="checkbox"]:checked + label::before {
        background-color: #5cb85c;
        border-color: #5cb85c;
    }

    .checkbox-success input[type="checkbox"]:checked + label::after {
        color: #fff;
    }

    .radio {
        padding-left: 20px;
    }

        .radio label {
            display: inline-block;
            position: relative;
            padding-left: 5px;
        }

            .radio label::before {
                content: "";
                display: inline-block;
                position: absolute;
                width: 17px;
                height: 17px;
                left: 0;
                margin-left: -20px;
                border: 1px solid #cccccc;
                border-radius: 50%;
                background-color: #fff;
                -webkit-transition: border 0.15s ease-in-out;
                -o-transition: border 0.15s ease-in-out;
                transition: border 0.15s ease-in-out;
            }

            .radio label::after {
                display: inline-block;
                position: absolute;
                content: " ";
                width: 11px;
                height: 11px;
                left: 3px;
                top: 3px;
                margin-left: -20px;
                border-radius: 50%;
                background-color: #555555;
                -webkit-transform: scale(0, 0);
                -ms-transform: scale(0, 0);
                -o-transform: scale(0, 0);
                transform: scale(0, 0);
                -webkit-transition: -webkit-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
                -moz-transition: -moz-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
                -o-transition: -o-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
                transition: transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
            }

        .radio input[type="radio"] {
            opacity: 0;
        }

            .radio input[type="radio"]:focus + label::before {
                outline: thin dotted;
                outline: 5px auto -webkit-focus-ring-color;
                outline-offset: -2px;
            }

            .radio input[type="radio"]:checked + label::after {
                -webkit-transform: scale(1, 1);
                -ms-transform: scale(1, 1);
                -o-transform: scale(1, 1);
                transform: scale(1, 1);
            }

            .radio input[type="radio"]:disabled + label {
                opacity: 0.65;
            }

                .radio input[type="radio"]:disabled + label::before {
                    cursor: not-allowed;
                }

        .radio.radio-inline {
            margin-top: 0;
        }

    .radio-primary input[type="radio"] + label::after {
        background-color: #428bca;
    }

    .radio-primary input[type="radio"]:checked + label::before {
        border-color: #428bca;
    }

    .radio-primary input[type="radio"]:checked + label::after {
        background-color: #428bca;
    }

    .radio-danger input[type="radio"] + label::after {
        background-color: #d9534f;
    }

    .radio-danger input[type="radio"]:checked + label::before {
        border-color: #d9534f;
    }

    .radio-danger input[type="radio"]:checked + label::after {
        background-color: #d9534f;
    }

    .radio-info input[type="radio"] + label::after {
        background-color: #5bc0de;
    }

    .radio-info input[type="radio"]:checked + label::before {
        border-color: #5bc0de;
    }

    .radio-info input[type="radio"]:checked + label::after {
        background-color: #5bc0de;
    }

    .radio-warning input[type="radio"] + label::after {
        background-color: #f0ad4e;
    }

    .radio-warning input[type="radio"]:checked + label::before {
        border-color: #f0ad4e;
    }

    .radio-warning input[type="radio"]:checked + label::after {
        background-color: #f0ad4e;
    }

    .radio-success input[type="radio"] + label::after {
        background-color: #5cb85c;
    }

    .radio-success input[type="radio"]:checked + label::before {
        border-color: #5cb85c;
    }

    .radio-success input[type="radio"]:checked + label::after {
        background-color: #5cb85c;
    }






    .cal {
        margin: 0 0 30px 10px;
    }

        .cal h2 {
            width: 100%;
            display: block;
            margin: 15px 0px !important;
            font-size: 16px;
            color: #5f5f5f;
            padding: 4px 10px;
            border-bottom: solid 1px #cacaca;
        }

        .cal .times {
            width: 100%;
            display: block;
        }

        .cal .times {
            font-size: 12px;
            width: 100%;
            display: block;
            padding: 2px 6px;
            color: #7d7d7d;
            line-height: 15px;
            vertical-align: text-top;
            background: repeating-linear-gradient(to bottom, #ffffff, lightgrey 1px, transparent 1px, transparent 30px);
        }

            .cal .times hr {
                margin: 0 0 0 0 !important;
                padding: 0 0 0 0 !important;
            }

        .cal .overlay {
            position: absolute;
            display: block;
            color: #525252;
            padding: 4px 8px;
            font-size: 11px;
        }

            .cal .overlay.bs {
                width: 95%;
                background: rgba(255, 25, 25, .1);
                margin-left: 0px;
                z-index: 50;
            }

            .cal .overlay.booking {
                width: 75%;
                margin-left: 42px;
                cursor: pointer;
                z-index: 100;
            }

                .cal .overlay.booking.bs {
                    background: rgba(25, 25, 255, .3);
                    border: solid 1px #fff;
                }

                .cal .overlay.booking.es {
                    background: rgba(25, 255, 25, .3);
                    border: solid 1px #fff;
                }

            .cal .overlay.requested {
                width: 90%;
                background: rgba(255, 248, 25, 0.3);
                border: dashed 1px #000;
                z-index: 200;
                padding-left: 50px;
            }

            .cal .overlay.pending {
                width: 90%;
                background: rgba(255, 248, 25, 0.3);
                border: dashed 1px #000;
                z-index: 200;
                padding-left: 50px;
            }

        .cal .night {
            width: 280px;
            margin-left: 0px;
            position: absolute;
            padding-left: 40px;
            background: linear-gradient(to right, #FFF, rgba(25, 25, 25, .3) 0%, rgba(25, 25, 25, 0.1) 10%, rgba(25, 25, 25, 0) 100%);
            font-size: 11px;
            z-index: 10;
        }

    .ui-datepicker {
        z-index: 10000 !important;
    }

    .table-striped > tbody > tr:nth-of-type(odd) {
        background-color: #fbfbfb !important;
    }

    .table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
        border-top: 1px solid #f5f5f5 !important;
    }

    table.table th {
        vertical-align: middle !important;
    }


    tr .tablesorter-headerAsc {
        background-image: url(/images/sort_up.png);
        background-repeat: no-repeat;
        background-position: -171px;
        padding-left: 25px !important;
    }

    tr .tablesorter-headerDesc {
        background-image: url(/images/sort_down.png);
        background-repeat: no-repeat;
        background-position: -171px;
        padding-left: 30px !important;
    }


    input.tablesorter-filter.disabled {
        display: none !important;
    }

    input.tablesorter-filter {
        border: solid 1px #cbcbcb;
        border-radius: 5px;
    }

    table thead tr.tablesorter-filter-row input {
        width: 100%;
        padding: 4px 8px !important;
    }

    ul.dropdown-menu {
        width: 200px;
    }

        ul.dropdown-menu li.nav-item.active a {
            background-color: #c2d545 !important;
        }

    li.nav-item a:hover {
        background-color: #f3f3f5 !important;
    }


    table.table tbody tr td {
        padding: 5px !important;
        font-size: 0.9em;
    }


    h3.card-header {
        font-size: 1.2em;
    }

    .form-control {
        /*   font-size: 0.8rem !important;*/
    }

    .btn-link {
        text-decoration: none !important;
    }

    .btn-warning {
        color: white !important;
    }

.btn-success, .bg-success {
    background-color: #00b500 !important;
    border: solid 1px #40ad40 !important;
}

    .btn-success:hover {
        background-color: #0d7b0d !important;
        border: solid 1px #0d7b0d !important;
        color: white !important;
    }

.btn-warning:hover {
    background-color: #a9810a !important;
    border: solid 1px #a9810a !important;
    color: white !important;
}



.loginPage .logo {
    background: url(/App_Themes/Default/Images/eswitch-logo.png) no-repeat;
    background-size: 184px;
    display: block;
    width: 200px;
    height: 86px;
    margin: auto;
}


.input-group .input-group-text:nth-child(1), .input-group .input-group-text:nth-child(1) {
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
    border-right: none !important;
}

input + .input-group-text {
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
    border-left: none !important;
}


.float-end {
    float: right;
}