﻿body {
    margin-top: 55px;
    background-color: rgb(241, 241, 241);
}

footer {
    border-top: 1px solid lightgray;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 50px;
    background-color: #f5f5f5;
    z-index: 100;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    min-height: 600px;
    padding-bottom: 70px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

.row {
    margin: 15px -15px;
}
/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    /*max-width: 280px;*/
}

.clear {
    clear: both;
}

.report-table, .report-table tr, .report-table th, .report-table td {
   text-align: center;   
   vertical-align:middle !important
}

@media (min-width: 768px) {
    .with-margin {
        margin-bottom: 18px !important;
    }
}

.form-control {
    border-radius: 2px;
}

.greyout {
    pointer-events: none;
    opacity: 0.4;
}

/* Bootstrap Dropdown Submenu */
.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
        margin-left: -1px;
        -webkit-border-radius: 0 6px 6px 6px;
        -moz-border-radius: 0 6px 6px 6px;
        border-radius: 0 6px 6px 6px;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu > a:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #777777;
        margin-top: 5px;
        margin-right: -10px;
    }

    .dropdown-submenu:hover > a:after {
        border-left-color: #777777;
    }

    .dropdown-submenu.pull-left {
        float: none;
    }

        .dropdown-submenu.pull-left > .dropdown-menu {
            left: -100%;
            margin-left: 10px;
            -webkit-border-radius: 6px 0 6px 6px;
            -moz-border-radius: 6px 0 6px 6px;
            border-radius: 6px 0 6px 6px;
        }



/*.navbar-nav .divider-vertical {
    height: 40px;
    margin: 0 9px;
    border-left: 1px solid #f2f2f2;
    border-right: 1px solid #ffffff;
}*/

.navbar {
    background-color: #5e8222;
    border: none;
}

.navbar-default .navbar-nav > li > a {
    color: white;
}

.navbar-default .navbar-nav > li {
    color: white;
}

    .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
        color: white;
        background-color: #72943a;
    }

.navbar-default .navbar-nav > .dropdown > a:hover .caret, .navbar-default .navbar-nav > .dropdown > a:focus .caret {
    border-top-color: white;
    border-bottom-color: white;
}

.dropdown-toggle {
    cursor: pointer;
}

.navbar-default .navbar-nav > .open > a .caret, .navbar-default .navbar-nav > .open > a:hover .caret, .navbar-default .navbar-nav > .open > a:focus .caret {
    border-top-color: #777777;
    border-bottom-color: #777777;
}

.tab-content > .tab-pane, .pill-content > .pill-pane {
    padding-top: 25px;
}

/* checkbox tick */
.toggle {
    width: 25px;
    margin: 5px 0 5px 0;
    position: relative;
}

    .toggle label {
        cursor: pointer;
        position: absolute;
        width: 25px;
        height: 25px;
        top: 0;
        left: 0;
        background: #fff;
        border: 1px solid #ccc;
    }

    .toggle.grey label:after {
        border: 3px solid #333;
        opacity: 0.2;
        content: '';
        position: absolute;
        width: 9px;
        height: 5px;
        background: transparent;
        top: 8px;
        left: 7px;
        border-top: none;
        border-right: none;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    .toggle.green label:after {
        border: 3px solid #40c55d;
        opacity: 0.2;
        content: '';
        position: absolute;
        width: 9px;
        height: 5px;
        background: transparent;
        top: 8px;
        left: 7px;
        border-top: none;
        border-right: none;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    .toggle.red label:after {
        border: 3px solid #d9534f;
        opacity: 0.2;
        content: '';
        position: absolute;
        width: 9px;
        height: 5px;
        background: transparent;
        top: 8px;
        left: 7px;
        border-top: none;
        border-right: none;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    .toggle label:hover::after {
        opacity: 0.8;
    }

    .toggle input[type=checkbox]:checked + input[type=hidden] + label:after {
        opacity: 1;
    }

input[type=checkbox][disabled] + input + label {
    background-color: #eeeeee;
    cursor: not-allowed;
    pointer-events: none;
}
/* checkbox tick */



.text-muted {
    color: #777 !important;
}

.text-primary {
    color: #337ab7 !important;
}

.text-success {
    color: #3c763d !important;
}

.text-info {
    color: #31708f !important;
}

.text-warning {
    color: #8a6d3b !important;
}

.text-danger {
    color: #a94442 !important;
}

.linkspan {
    cursor: pointer;
    text-decoration: underline;
    color: #428bca;
    font-weight: normal;
    font-size: small;
}

textarea.form-control {
    margin-top: 10px;
    min-height: 100px;
}

.grecaptcha-badge {
    z-index: 1;
}

.unavailable {
    color: #c33535;
}

.disabled {
    cursor: not-allowed;
    background-color: #f1f1f1;
    pointer-events: none;
}

.card {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 0;
    background-color: #FFF;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.16), 0 0 2px 0 rgba(0,0,0,.12);
    width: 100%;
}

.indextextarea{
    margin-top:initial !important;
    width:235px !important;
    min-height:50px !important;
    height:auto !important;
    display:inline
}



.modal-content {
    background-color: rgb(241, 241, 241);
}

.modal-header {
    border-bottom: 1px solid #cccccc;
}

hr {
    border-top: 1px solid #fbd888;
}

.modal, .loading .modal-body {
    background-image: url('/Resources/loading.gif');
    background-repeat: no-repeat;
    background-position: center;
}

    .modal, .loading .modal-body #iframe1 #iframeaxiol {
        display: none;
    }

.navbargray {
    background-color: #616161;
}

.dropdown-menu > li > form > button {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.428571429;
    color: #333333;
    white-space: nowrap;
    width: 100%;
    text-align: left;
}

    .dropdown-menu > li > form > button:hover, .dropdown-menu > li > form > button:focus {
        color: #ffffff;
        text-decoration: none;
        background-color: #428bca;
    }

.dropdown-menu > li > form > input[type="submit"] {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.428571429;
    color: #333333;
    white-space: nowrap;
    width: 100%;
    text-align: left;
}

    .dropdown-menu > li > form > input[type="submit"]:hover, .dropdown-menu > li > form > input[type="submit"]:focus {
        color: #ffffff;
        text-decoration: none;
        background-color: #428bca;
    }

@media(max-width: 767px) {
    .navbar-default .navbar-nav .open .dropdown-menu > li > a {
        color: #fff;
    }

        .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
            color: #fff;
            background-color: #72943a;
        }

    .navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
        color: #fff;
        background-color: #72943a;
    }

    .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {
        color: #fff;
        background-color: #72943a;
    }
}

.dropdown-menu > li > a.danger:hover, .dropdown-menu > li > a.danger:focus {
    color: #fff !important;
    background-color: #a94442;
}

.open > .dropdown-menu {
    z-index: 1000;
}

.modal {
    text-align: center;
    padding: 0 !important;
}

    .modal:before {
        content: '';
        display: inline-block;
        height: 100%;
        vertical-align: middle;
        margin-right: -4px;
    }

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}
