﻿/*body {
    padding-top: 50px;
    padding-bottom: 20px;
}*/

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

body {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    background-color: #4b545d;
}

input, button {
    outline: none !important;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1370px;
    }
}

hr {
   border-top: 1px solid #939da7;
}

/* 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;
}

/* Set width on the form input elements since they're 100% wide by default */
/*input,
select,
textarea {
    max-width: 280px;
}*/


.required:before { 
    
    content:"* "; 
    color:red; 
    font: bold;
   
    /* background-image: url('/Img/required.png');
	    background-repeat: no-repeat;
	    background-position: 50% 50%; */

}


.validation-error {
    color: Maroon;
    font-weight: bold;   
    background-color: #ffeeee;
    border-bottom-color:red;   
    border-top-color:red;   
    border-left-color:red;   
    border-right-color:red;   
}


.panel-body .btn:not(.btn-block) { 
    /*width:120px; */
    margin-bottom:10px; }

.yn-option {
    max-width: 70px !important;
}

/* login
.login-box, .register-box {
    width: 360px;
    margin: 7% auto;
}.login-page, .register-page {
    background: #d2d6de;
}

.login-logo, .register-logo {
    font-size: 35px;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 300;
}.login-box-msg, .register-box-msg {
    margin: 0;
    text-align: center;
    padding: 0 20px 20px 20px;
}.login-box-body, .register-box-body {
    background: #fff;
    padding: 20px;
    border-top: 0;
    color: #666;
}.has-feedback {
    position: relative;
}
.form-group {
    margin-bottom: 15px;
}.has-feedback .form-control {
    padding-right: 42.5px;
}.login-box-body .form-control-feedback, .register-box-body .form-control-feedback {
    color: #777;
}

.panel-title {
    text-align: center;
}
.form-control-feedback {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    display: block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    pointer-events: none;
}.checkbox, .radio {
    position: relative;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
}.icheck>label {
    padding-left: 0;
}
.checkbox label, .radio label {
    min-height: 20px;
    padding-left: 20px;
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
}


/*select2*/
 .select2 > .select2-choice.ui-select-match {
    /* Because of the inclusion of Bootstrap */
    height: 29px;
}

.selectize-control > .selectize-dropdown {
    top: 36px;
}
/* Some additional styling to demonstrate that append-to-body helps achieve the proper z-index layering. */
.select-box {
    background: #fff;
    position: relative;
    z-index: 1;
}
.alert-info.positioned {
    margin-top: 1em;
    position: relative;
    z-index: 10000; /* The select2 dropdown has a z-index of 9999 */
}

.form-control-red {
    border-color: red !important;
    outline: 0 !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px red !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px red !important;
}


.bg-red {
    border-color: red;
}
.bg-white {
    color: #555555;
    background-color: #ffffff;
    border: 1px solid #cccccc;
}

.navbar {
    margin-bottom: 40px !important;
    border-radius: 0;
}

.navbar-brand {
    color: #FFF !important;
    font-style: italic;
    background: #d9534f;
}

.navbar-default {
    background-color: #f5f5f7;
    border-color: #c9cbce;
}

.navbar-default .navbar-nav > li > a {
    color: #666e74;
    font-weight: 600;
}

    .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
    color: #8d98a0;
    
    }

    .navbar-default .navbar-nav > .dropdown > a .caret {
    
        border-top-color: #666e74 !important;
    border-bottom-color: #666e74 !important;
    }
.navbar-brand:hover, .navbar-brand:focus {
    background-color: #d9534f !important;
}

.panel-primary {
    border-color: #9da8b1;
}
.panel-primary > .panel-heading {
    background-color: #8a97a2;
    border-color: #8a97a2;
}

.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
    background-color: #d9534f;
}

.page-header {
    margin-top: 0px !important;
    text-align: center;
}

.panel-heading {
    position: relative;
    text-align: center;
}

.back-link {
    float: right;
    position: absolute;
    right: 20px;
    top: 10px;
    font-style: italic;
    color: #FFF !important;
}

    .back-link > .glyphicon {
        font-style: italic;
        margin-right: 7px;
    }

.global-settings-glyph {
    font-size: 26px;
    display: block;
    margin-bottom: 12px;
}


.form-inline div.form-group.align-top
{
    vertical-align: top !important;
}

.hidden {
  visibility:hidden
}

.visible {
  visibility:visible
}

.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

footer {
    text-align: center;
    background: #33393e;
    padding: 20px 20px 0;
    font-size: 13px;
    height: 60px;
}

.modal-header {
    background-color: #8a97a2;
    color: #fff;
    text-align: center;
    padding: 9px 15px;
    border-bottom: 0;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.alert-warning {
    color: #947c52;
    font-weight: 600;
}

.close {
    float: right;
    font-size: 25px;
    font-weight: normal;
    line-height: 1;
    color: #FFF;
    text-shadow: 0 1px 0 #ffffff;
    opacity: 0.6;
    filter: alpha(opacity=20);
}

    .close:hover, .close:focus {
        color: #ffffff;
        cursor: pointer;
        opacity: 1;
    }

.margin-bottom-5 {
    margin-bottom: 5px;
}

.margin-bottom-10 {
    margin-bottom: 10px;
}

.margin-bottom-20 {
    margin-bottom: 20px;
}


.margin-top-5 {
     margin-top: 5px;
}

.margin-top-10 {
    margin-top: 10px;
}

.margin-top-20 {
    margin-top: 20px;
}


.fixed-td {
    word-wrap:break-word;
    max-width: 30px !important;
}