﻿html {
    height: 100%;
}

body {
    padding-bottom: 80px; /* for footer spacing */
    min-height: 100%;
    overflow: auto;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    max-width: 280px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

nav.pagin span.pageNavHeader {
    display: none;
}

.pagin {
    float: right;
}

nav ul.pagination {
    margin: -10px 0px 0px !important;
}

.ajax-loader {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -32px;
    margin-top: -32px;
    display: block;
    z-index: 1001;
}


.ajax-loader-sm {
    height: 15px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -32px;
    margin-top: -32px;
    display: block;
    z-index: 1001;
}

.mainTableStyle th {
    font-weight: normal;
    font-size: 13px;
    color: #fff; /*#039;*/
    background: #3A4856; /* #b9c9fe; */
    padding: 8px;
}

.mainTableStyle td {
    background: #f5f5f5; /*#e8edff;*/
    border-top: 1px solid #fff;
    font-size: 12px;
    color:  #011404;
    padding: 8px;
    border: 1px solid silver !important;
}

.mainTableStyle tbody tr:hover td {
    background: #d0dafd;
}

.mainTableStyle {
    font-size: 1.2125rem;
    line-height: 1.5;
    font-family: Gotham Narrow, Arial, sans-serif;
    text-align: left;
    border-collapse: separate;
    border-radius: 4px;
    border-collapse: collapse;
}

.legalWarning {
    font-weight: bold;
    font-size: 110%;
    margin-bottom: 15px;
    padding-left: 5px;
    padding-right: 5px;
}

.legalWarningBox {
    border: 1px red solid;
    padding: 15px;
    margin-bottom: 10px;
}

.sweet-btn-group label {
    border: 1px solid #ccc;
}

.btn-sweet-toggle.btn-on.active {
    background-color: #DA4F49;
    color: white;
}

.btn-sweet-toggle.btn-off.active {
    background-color: #369;
    color: white;
}

/* Fancy radio buttons*/
div.fancyRadios input[type="checkbox"], div.fancyRadios input[type="radio"] {
    position: absolute;
    right: 9000px;
}

    /*Check box*/
    div.fancyRadios input[type="checkbox"] + .label-text:before {
        content: "\f096";
        font-family: "FontAwesome";
        speak: none;
        font-style: normal;
        font-weight: normal;
        font-variant: normal;
        text-transform: none;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        width: 1em;
        display: inline-block;
        margin-right: 5px;
    }

    div.fancyRadios input[type="checkbox"]:checked + .label-text:before {
        content: "\f14a";
        color: #2980b9;
        animation: effect 250ms ease-in;
    }

    div.fancyRadios input[type="checkbox"]:disabled + .label-text {
        color: #aaa;
    }

        div.fancyRadios input[type="checkbox"]:disabled + .label-text:before {
            content: "\f0c8";
            color: #ccc;
        }

    /*Radio box*/
    div.fancyRadios input[type="radio"] + .label-text:before {
        content: "\f10c";
        font-family: "FontAwesome";
        speak: none;
        font-style: normal;
        font-weight: normal;
        font-variant: normal;
        text-transform: none;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        width: 1em;
        display: inline-block;
        margin-right: 5px;
    }

    div.fancyRadios input[type="radio"]:checked + .label-text:before {
        content: "\f192";
        color: #8e44ad;
        animation: effect 250ms ease-in;
    }

    div.fancyRadios input[type="radio"]:disabled + .label-text {
        color: #aaa;
    }

        div.fancyRadios input[type="radio"]:disabled + .label-text:before {
            content: "\f111";
            color: #ccc;
        }

div.fancyRadios .label-text {
    font-weight: normal;
}
/*Radio Toggle*/
.toggle input[type="radio"] + .label-text:before {
    content: "\f204";
    font-family: "FontAwesome";
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    width: 1em;
    display: inline-block;
    margin-right: 10px;
}

.toggle input[type="radio"]:checked + .label-text:before {
    content: "\f205";
    color: #16a085;
    animation: effect 250ms ease-in;
}

.toggle input[type="radio"]:disabled + .label-text {
    color: #aaa;
}

    .toggle input[type="radio"]:disabled + .label-text:before {
        content: "\f204";
        color: #ccc;
    }

@keyframes effect {
    0% {
        transform: scale(0);
    }

    25% {
        transform: scale(1.3);
    }

    75% {
        transform: scale(1.4);
    }

    100% {
        transform: scale(1);
    }
}
/* this keeps the bootstrap back drop from covering the buttons we are trying to click in chrome.*/
ul.no-back-drop li.dropdown .dropdown-backdrop {
    display: none;
}
/* these taken from green.css and changed to btn-primary. did not see a definition for btn-primary*/
.btn-primary {
    color: #ffffff;
    background-color: #24a828;
    border-color: #1f9123;
}

    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary.focus,
    .btn-primary:active,
    .btn-primary.active,
    .open > .dropdown-toggle.btn-primary {
        color: #ffffff;
        background-color: #1f9123;
        border-color: #1f9123;
    }

.inline-space {
    margin-right: 6px;
    display: inline-block;
}

.small-label {
    display: inline-block;
    margin-right: 5px;
    font-weight: bold;
}

/* //todo: this class to be removed. The bootstrap validation classes aren't working properly because I think something hooked up incorrectly, this was just to make the errors show up until somebody fixes the root cause. */
label.error {
    background: pink;
}


.mainTableStyle tr.borderless-tight td {
    border: none !important;
    padding: 3px 8px 3px 8px;
}

.mainTableStyle tr.borderless-tight {
    /*margin-top: 3px;
    margin-bottom: 3px;*/
}

.btn-half-width {
    width: 140px;
}


div.toggle-group {
    display: inline;
}

.toggle-group .btn-default {
    background: lightgrey;
    border-color: #011404;
    color: black;
}

    .toggle-group .btn-default.active {
        background: #369;
        color: #fff;
    }

        .toggle-group .btn-default.active:hover {
            background: #369;
            color: #fff;
        }

    .toggle-group .btn-default:hover {
        background: lightblue;
        color: black;
    }

.form-group-inline {
    width: 100%;
    margin: 0;
    padding: 0;
}

.tight-alerts .alert {
    margin: 0;
}

.fancyRadios-inline, .fancyRadios-inline * {
    display: inline;
}
.has-error .form-label {
    color: #777777;
}

.field-validation-valid {
    display: none;
}

/*menu bar form the datatables export buttons*/
div.dt-buttons {
    float: right;
    margin: 0px, 4px, 0px, 4px;
}
.dataTables_filter {
    margin-top: 10px;
    float: right;
}

.checkbox-with-paragraph{
    width: 3%;
    z-index: 2;
}

.panel-heading .accordion-toggle:after {
    /* symbol for "opening" panels */
    font-family: 'Glyphicons Halflings'; /* essential for enabling glyphicon */
    content: "\e114"; /* adjust as needed, taken from bootstrap.css */
    float: right; /* adjust as needed */
    color: grey; /* adjust as needed */
}

.panel-heading .accordion-toggle.collapsed:after {
    /* symbol for "collapsed" panels */
    content: "\e080"; /* adjust as needed, taken from bootstrap.css */
}