﻿/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
  padding-top: 50px;
}

.body_view {
    padding-top: 26px;
}

.text-centered{
    text-align: center;
}
h2 {
    color: #900505
}
h1 {
    color: #000;
}
/*
 * Global add-ons
 */

.margin-bottom {
    padding-bottom: 48px;
}

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
  border: 0;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}



@media (min-width: 768px) {

  .sidebar {
    position: fixed;
    top: 51px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
  }


}

/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #fff;
  background-color: #428bca;
}


/*
 * Main content
 */

.main {
  padding: 24px;
}
@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}
.main .page-header {
  margin-top: 0;
}

.filter-bg-color {
  background: #fff;
}



/*
 * Placeholder dashboard ideas
 */

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholders h4 {
  margin-bottom: 0;
}
.placeholder {
    margin-bottom: 20px;
}

.bs-panel {
    padding: 8px;
    margin: 16px 0px;
    border: 1px solid #eee;    
    border-radius: 3px;
}

.bs-callout {
    padding: 8px;
    margin: 20px 16px;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}

.bs-callout-nomargin {
    padding: 8px;
    margin: 16px 0px;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}

.bs-callout-danger {
    border-left-color: #ce4844;
}

.tab-content-border {
    border-left:  1px solid #eee;
    border-right:  1px solid #eee;
    border-bottom:   1px solid #eee;
}

.no-top-margin {
    margin-top: 0;
}

.modal-body .form-horizontal .col-sm-2,
.modal-body .form-horizontal .col-sm-10 {
    width: 100%
}

.modal-body .form-horizontal .control-label {
    text-align: left;
}
.modal-body .form-horizontal .col-sm-offset-2 {
    margin-left: 15px;
}

 /*
.modal {
    ... *  /
    overflow-y: scroll;  
    /*box-sizing:border-box;* /
}*/

 .modal { 
  overflow-y: scroll;
}

.modal-open { 
  overflow-y: scroll;
}

 

.modal-header-success {
    color:#fff;
    padding:9px 15px;
    border-bottom:1px solid #eee;
    background-color: #5cb85c;
    -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;
}
.modal-header-warning {
	color:#fff;
    padding:9px 15px;
    border-bottom:1px solid #eee;
    background-color: #f0ad4e;
    -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;
}
.modal-header-danger {
	color:#fff;
    padding:9px 15px;
    border-bottom:1px solid #eee;
    background-color: #d9534f;
    -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;
}
.modal-header-info {
    color:#fff;
    padding:9px 15px;
    border-bottom:1px solid #eee;
    background-color: #5bc0de;
    -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;
}
.modal-header-primary {
	color:#fff;
    padding:9px 15px;
    border-bottom:1px solid #eee;
    background-color: #428bca;
    -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;
}



.vertical-alignment-helper {   
    width: 100%; 
    display:table;
    height: 100%;
}

 

.vertical-align-center {
    /* To center vertically */
    display: table-cell;
    vertical-align: middle;
}

.modal-content-center {
    /* Bootstrap sets the size of the modal in the modal-dialog class, we need to inherit it */
    width:inherit;
    height:inherit;
    /* To center horizontally */
    margin: 0 auto;
}

.debug {
    background: red;
}

.view_container {
    width: 100%;
    padding-top: 26px;
}

.search_label_width {
     width: 80px;
}

.margin-all {
    margin: 0px;
}

.input_title_w {
    width:100px;
}

.bottom-right-align {
    position: absolute;
    bottom: 0;
    right: 0;
  }


.with-border {
    border-style: solid;
    border-width: 1px;
    border-color: #DDD;
}

 .st-sort-ascent:before{
    content: '\25B2';
  }

  .st-sort-descent:before{
    content: '\25BC';
  }
  /*
 * Placeholder dashboard ideas
 */

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholders h4 {
  margin-bottom: 0;
}
.placeholder {
  margin-bottom: 20px;
}
.placeholder img {
  display: inline-block;
  border-radius: 4%;
}

.input-inline {

display: inline-block;
}


.num {
  mso-number-format:"0\.000";
}
.date {
  mso-number-format:"Short Date";
}
 
/* .modal-fullscreen size: we use Bootstrap media query breakpoints * /

.modal-fullscreen .modal-dialog {
  /*margin: 0 auto;
  margin-right: auto;
  margin-left: auto;* /
  width: 100%;/* /
}
@media (min-width: 768px) {
  .modal-fullscreen .modal-dialog {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .modal-fullscreen .modal-dialog {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .modal-fullscreen .modal-dialog {
     width: 1170px;
  }
}

*/
.modal-fullscreen .modal-dialog {
     width: 90%;
  }
@media (min-width: 0px) and (max-width: 480px) {
  .modal-fullscreen .modal-dialog {
     width: 100%;
  }
}

@keyframes fadeAndScale {
    from {
        opacity: 0; opacity: 1\9; /* IE9 only */
        transform: scale(.9, .9);
    }
    to {
        opacity: 1;
        transform: scale(1, 1);
    }
}

@-moz-keyframes fadeAndScale {
    from {
        opacity: 0; opacity: 1\9; /* IE9 only */
        transform: scale(.9, .9);
    }
    to {
        opacity: 1;
        transform: scale(1, 1);
    }
}
@keyframes fadeAndScale {
    from {
        opacity: 0; opacity: 1\9; /* IE9 only */
        transform: scale(.9, .9);
    }
    to {
        opacity: 1;
        transform: scale(1, 1);
    }
}
 

.animation_menu {   
    opacity: 0;
    animation-timing-function: cubic-bezier(.71,.55,.62,1.57);
    -webkit-animation-timing-function: cubic-bezier(.71,.55,.62,1.57);
    -moz-animation-timing-function: cubic-bezier(.71,.55,.62,1.57);

    -webkit-animation:fadeAndScale ease-in 1;  /* call our keyframe named fadeIn, use animattion ease-in and repeat it only 1 time */
    -moz-animation:fadeAndScale ease-in 1;
    animation:fadeAndScale ease-in 1;

    -webkit-animation-fill-mode:forwards;  /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/
    -moz-animation-fill-mode:forwards;
    animation-fill-mode:forwards;

    -webkit-animation-duration:0.5s;
    -moz-animation-duration:0.5s;
    animation-duration:0.5s;
}

.animation_menu.one {
-webkit-animation-delay: 0s;
-moz-animation-delay: 0s;
animation-delay: 0s;
}

.animation_menu.two {
-webkit-animation-delay: 0.3s;
-moz-animation-delay:0.3s;
animation-delay: 0.3s;
}

.animation_menu.three {
-webkit-animation-delay: 0.2s;
-moz-animation-delay:0.2s;
animation-delay: 0.2s;
}

.animation_menu.four {
-webkit-animation-delay: 0.1s;
-moz-animation-delay:0.1s;
animation-delay: 0.1s;
}


.line_divider {
  height: 1px;
  width:100%;
  display:block; /* for use on default inline elements like span */
  margin: 9px 0;
  overflow: hidden;
  background-color: #e5e5e5;
}


.no-margin {
    margin: 0;
}

.no-padding {
    padding: 0;
}

.margin-buttons {
    margin-top: 8px;
    margin-bottom: 20px;
}

.full-width{
  width:100%; 
}

.navbar-full-width{
  width:100%; 
}

.small-text {
    font-size: x-small;
}