﻿/*body {
    background-color: #EEEEEE;
}

    body.inverse {
        background: #333333;
    }*/

body.inverse,
body.inverse .form-control {
    color: rgba(255,255,255, 0.84);
}

    body.inverse .modal,
    body.inverse .panel-default,
    body.inverse .card,
    body.inverse .modal .form-control,
    body.inverse .panel-default .form-control,
    body.inverse .card .form-control {
        background-color: initial;
        color: initial;
    }

html body {
    /*background-image: url('../Images/bg_white.png');*/
    width: 100%;
    height: 100%;
}

@media (max-width: 980px) {
    /* Enable use of floated navbar text */
    .navbar-text.pull-right {
        float: none;
        padding-left: 5px;
        padding-right: 5px;
    }
}

@media (max-width: 480px) {
    .navbar-text.pull-right {
        float: none;
        padding-left: 5px;
        padding-right: 5px;
    }
}


.Main_Form, #Main_Form {
    /*content: '';*/
    /*background: transparent url(../Content/themes/FullBackground/images/pattern.png) repeat top left;*/
    /*-webkit-box-reflect: below 5px -webkit-gradient(linear, left top, left bottom, color-stop(0.4,rgba(0,0,0,0)), to(rgba(0,0,0,.5)));*/
    padding-top: 70px; /* 60px to make the container go all the way to the bottom of the topbar */
    min-height: 400px;
}


div.ui-widget-header {
    background-color: #594659;
    color: #a646a6;
}



.btn-group, .btn-group-vertical {
    position: relative !important;
    margin: 1px 1px !important;
}

.radio, .checkbox {
      margin-top: 0px; 
     margin-bottom: 0px; 
}

/* fix font sizes */

@media print {
    .navbar {
        display: inline-block;
        visibility: visible;
    }

    a[href]:after {
        content: none !important;
    }

    body {
        font-size: 10.5px;
    }

    li {
        line-height: 14px;
    }

    .page-break {
        display: block;
        page-break-before: always;
    }

    .no-print, .btn {
        display: none !important;
    }

    .Main_Form, #Main_Form {
        padding-top: 40px;
    }
}

@media screen and (-webkit-device-pixel-ratio: 0.75) {
    body {
        font-size: 10.5px;
    }

    li {
        line-height: 14px;
    }
}
/* desktop browsers */
@media screen and (-webkit-device-pixel-ratio: 1.0) {
    body {
        font-size: 14px;
    }

    li {
        line-height: 20px;
    }
}

/* e.g. Google Nexus S (Samsung Galaxy S) */
@media screen and (-webkit-device-pixel-ratio: 1.5) {
    body {
        font-size: 16px;
    }

    li {
        line-height: 24px;
    }
}

/* e.g. iPad */
@media screen and (-webkit-device-pixel-ratio: 2.0) {
    body {
        font-size: 24px;
    }

    li {
        line-height: 36px;
    }
}

.wrapper {
    width: 100%;
    height: 100%;
    margin: 0;
}

.h_iframe {
    position: relative;
}

    .h_iframe .ratio {
        display: block;
        width: 100%;
        height: 100%;
    }

    .h_iframe iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }


span.radio > label {
    float: left;
    margin: 5px;
    padding: 1px 5px 1px 5px;
}

.input-display {
    background-color: transparent;
    border: 0 solid;
    outline: 0;
    color: black;
}


.panel-default > .panel-heading {
    background-image: none;
}

input-group-addon {
    padding: 0;
}

.panel-body {
    padding-bottom: 1px;
    padding-left :15px;
    padding-right: 15px;
    padding-top: 1px;

}

.panel-gray {
    background: rgba(0,0,0,0.7);
    color: white;
}

    .panel-gray h1, .panel-gray h2, .panel-gray h3, .panel-gray h4, .panel-gray h5, .panel-gray h6, .panel-gray .lead {
        color: white;
    }

.panel-default-gray {
    background: rgb(128, 128, 128);
    color: black;
}

.table a {
    text-decoration: none;
}

.table {
    table-layout: fixed;
}

    .table td {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

input, textarea {
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

.animating_thing {
    animation: spin 10s linear infinite;
    animation-play-state: paused;
}

    .animating_thing:hover {
        animation-play-state: running;
    }


.navbar-text {
    margin-top: 5px;
    margin-bottom: 0;
    padding-left: 0px;
    padding-right: 0px;
    margin-right: 5px;
    margin-left: 5px;
}

.navbar-brand {
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
    padding-top: 5px;
}

.nav-tabs > li.active {
    background-color: white;
    color: black;
    font-weight: 500;
}

    .nav-tabs > li.active > a, .nav-tabs > li > a:hover, .nav-tabs > li > a:focus {
        background-color: transparent !important;
        border: 0 !important;
        color: black !important;
        font-weight: 500;
    }

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    padding-right: 5px;
    padding-left: 5px;
}


.form-group, .page-header {
    padding-bottom: 0 !important;
    margin: 0 !important;
    margin-top: 0 !important;
    font-size: 14px !important;
}

.navbar-nav > li > a {
    padding-top: 10px;
    padding-bottom: 0;
}

.container-fluid {
    padding-right: 5px !important;
    padding-left: 5px !important;
}

.btn, .input-group-btn .btn {
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
}

.ProgressTemplate {
    position: fixed;
    text-align: center;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    left: 0;
    z-index: 9999999;
    background-color: #000000;
    opacity: 0.15;
    background-image: url('../images/loading.gif');
    background-repeat: no-repeat;
    background-position: center center;
}

@media print {

    @page {
        size: letter;
    }

    html, body {
        width: 1024px;
    }

    body {
        line-height: 1em;
        word-spacing: 1px;
        letter-spacing: 0.2px;
        font: 14px "Times New Roman", Times, serif;
        background: white;
        color: black;
        width: 100%;
        float: none;
    }

    /* avoid page-breaks inside a listingContainer*/
    .listingContainer {
        page-break-inside: avoid;
    }

    h1 {
        font: 28px "Times New Roman", Times, serif;
    }

    h2 {
        font: 24px "Times New Roman", Times, serif;
    }

    h3 {
        font: 20px "Times New Roman", Times, serif;
    }

    /* Improve colour contrast of links */
    a:link, a:visited {
        color: #781351;
    }

    /* URL */
    a:link, a:visited {
        background: transparent;
        color: #333;
        text-decoration: none;
    }

    a[href]:after {
        content: "" !important;
    }

    a[href^="http://"] {
        color: #000;
    }

    #header {
        height: 75px;
        font-size: 24pt;
        color: black;
    }
}

@media print {

    .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
        float: left;
    }

    .col-sm-12 {
        width: 100%;
    }

    .col-sm-11 {
        width: 91.66666666666666%;
    }

    .col-sm-10 {
        width: 83.33333333333334%;
    }

    .col-sm-9 {
        width: 75%;
    }

    .col-sm-8 {
        width: 66.66666666666666%;
    }

    .col-sm-7 {
        width: 58.333333333333336%;
    }

    .col-sm-6 {
        width: 50%;
    }

    .col-sm-5 {
        width: 41.66666666666667%;
    }

    .col-sm-4 {
        width: 33.33333333333333%;
    }

    .col-sm-3 {
        width: 25%;
    }

    .col-sm-2 {
        width: 16.666666666666664%;
    }

    .col-sm-1 {
        width: 8.333333333333332%;
    }
}
