﻿
/*------------------------------------------------------------------*/
/*Customisations for AWAG - general styles*/
body {
    font-family: 'Raleway', sans-serif;
    color:#999999;
}

.btn {
    border-radius:20px;
}

.btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn.active.focus {
    outline: none;
    /*outline: 5px auto -webkit-focus-ring-color;*/
    outline-offset: 0px;
}
.panel {
    border-radius:20px;
    border:none;

    -webkit-box-shadow: 0px 0px 8px #bfbfbf;
      box-shadow: 0px 0px 8px #bfbfbf;

}

.panel-heading {
        border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #F2F2F2;
    background-image: none;
    border: 1px solid #fff;
    border-bottom-color: #bfbfbf;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
}

    .form-control:focus {
        border-color: #bfbfbf;
        webkit-box-shadow:none;
    box-shadow: none;
    }
.input-group-btn > .btn {
        background-color: #F2F2F2;
    background-image: none;
    border: 1px solid #fff;
    border-bottom-color: #bfbfbf;
    border-radius: 0;

}
/*------------------------------------------------------------------*/

.navbar {
    background-color: #fff;
    border-color: #e7e7e7;
}

.navbar-top-links > li > a, .sidebar-nav  li > a /*.navbar a.dropdown-toggle */
{
    color:#999999;
}

.navbar-top-links ul.dropdown-menu li > a
{
    color:auto;
}


.nav > li > a:hover, .nav > li > a:focus {
    background-color: #F2F2F2;
}
.nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
    background-color: #e7e7e7;
}
.navbar-brand {
    padding: 7px 15px;
}
.navbar-brand img{
    max-height:30px;
    max-width:120px;
}


.sidebar-nav
{
    background-color: #9b9b9b;
    border-color: #e7e7e7;
}

.sidebar ul li a.active {
    background-color: #bfbdbd;
}

.login 
{
    background-color: #231f20;
}
.login #logo {
    margin-top: 100px;
    text-align: center;
}
.login-box 
{
     margin-top: 30px;
   background-color: #e7e7e7;
   background-color: rgba(231,231,231,0.75);
    padding:1em 2em 2em 2em;
    border-radius:10px;
}


.avatar {
    border-radius: 15px;
    font-size: 12px;
    height: 30px;
    line-height: 1.42857;
    width: 30px;
}
.dropdown .avatar 
{
    margin: -5px 0 -5px 0;
}


 /*
.sidebar li.menuLevel1,
.sidebar li.menuLevel2,
.sidebar li.menuLevel3 {
    border-bottom: 0!important;
}

.sidebar li.menuLevel1 a {
    padding-left: 37px;
}
.sidebar li.menuLevel2 a {
    padding-left: 52px;
}
.sidebar li.menuLevel3 a {
    padding-left: 67px;
}*/
.sidebar .nav-fourth-level li a {
    padding-left: 67px;
}

/* Bootstrap overrides */

/*fix for inline radio / checks renered by radiobuttonlist / checkboxlist*/
span.radio-inline
{
    margin-left: 0px;
    display:inline-block;
}

span.radio-inline input[type="radio"],
span.checkbox input[type="checkbox"],
span.checkbox-inline input[type="checkbox"]
{
   position: static;
   margin-top: 6px;
   margin-left: 15px;
}

span.radio-inline label,
span.checkbox label,
span.checkbox-inline label
{
   margin-left: 5px;
   font-weight:normal;
}


h1,
.h1,
h2,
.h2,
h3,
.h3 {
  margin-top: 10px;
  margin-bottom: 10px;
}

h1,
.h1 {
  font-size: 25px;
}
h2,
.h2 {
  font-size: 20px;
}
h3,
.h3 {
  font-size: 18px;
}
h4,
.h4 {
  font-size: 16px;
}
h5,
.h5 {
  font-size: 14px;
}
h6,
.h6 {
  font-size: 12px;
}

.page-header {
  padding-bottom: 9px;
  margin: 20px 0 10px;
  border-bottom: 1px solid #eee;
}
.panel-heading h2 
{
margin:5px 0;
}


.fullscreen {
    position:fixed;
    top:5px;
    bottom:5px;
    left:5px;
    right:5px;
    z-index:1000;

}

.pointer {
    cursor:pointer;
}

/*fix for drop downs in ie8*/
.navbar-inner{filter:none;}


.bg-grey {
    background-color:#bfbdbd;
}
.bg-grey-l {
    background-color:#e7e7e7;
}
.bg-grey-vl {
    background-color:#eee;
}

/*Alias for FA Icons*/
/*fa-plus*/
.fa-add:before {
  content: "\f067";
}


.newsImage {
    float:left;
    width:20%;
}
.newsImage img {
    max-width:100%;
    /*max-height:100%;*/
}

.tab-pane {
    border-color: #ddd ;
    border-image: none;
    border-style: solid;
    border-width: 1px;
    border-top:0;
    padding: 10px 15px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}
.nav-tabs > .active > a, .nav-tabs > .active > a:hover {
    outline: 0;
}
.nav-tabs > li > a:hover {
    background-color:#ddd;
}


.previewBrowser .modal-dialog {
    width: 990px; /*added 30px for padding*/
}
.previewBrowser .bootstrap-dialog-message {
    height: 700px;
}
.previewMobile .modal-dialog {
    width: 350px; /*added 30px for padding*/
}
.previewMobile .bootstrap-dialog-message {
    height: 480px;
}
.previewTablet .modal-dialog {
    width: 798px; /*added 30px for padding*/
}
.previewTablet .bootstrap-dialog-message {
    height: 1024px;
}
.previewDesktop .modal-dialog {
    width: 1500px; /*added 30px for padding*/
}
.previewDesktop .bootstrap-dialog-message {
    height: 760px;
}
.previewLaptop .modal-dialog {
    width: 1300px; /*added 30px for padding*/
}
.previewLaptop .bootstrap-dialog-message {
    height: 700px;
}


.tree-branch {
    cursor:row-resize;
}

.tree-open {
     cursor:pointer;
}

.switchList {

}
.switchList > label, .switchList > div > label {
    float:left;
    width:200px;
    clear:both;
}

    .switchList .make-switch {
     float:left;
   }

    .switchList .help-block {
     clear:both;
    float:left;
   }


.switchList h2, .switchList h3 {
    clear:both;
}

.img-fluid {
    max-width:100%;
}

.margTop-05em {
    margin-top: -0.5em;
}
.margTop0em {
    margin-top: 0em;
}

.margTop05em {
    margin-top: 0.5em;
}

.margTop1em {
    margin-top: 1em;
}

.margTop15em {
    margin-top: 1.5em;
}

.margTop2em {
    margin-top: 2em;
}


.margBottom05em {
    margin-bottom: 0.5em;
}

.margBottom1em {
    margin-bottom: 1em;
}

.margBottom2em {
    margin-bottom: 2em;
}

.margBottom15em {
    margin-bottom: 1.5em;
}



.margLeft05em {
    margin-left: 0.5em;
}

.margLeft1em {
    margin-left: 1em;
}

.margLeft15em {
    margin-left: 1.5em;
}

.margLeft2em {
    margin-left: 2em;
}

.margRight0em {
    margin-right: 0 !important;
}

.margRight05em {
    margin-right: 0.5em;
}


.margRight1em {
    margin-right: 1em;
}

.margRight15em {
    margin-right: 1.5em;
}

.margRight2em {
    margin-right: 2em;
}
/*https://css-tricks.com/rotated-table-column-headers/*/
table.rotateHeaders {
    border:0px;
}
    table.rotateHeaders th {
   border:0 ;
         border-bottom: 1px solid #ccc;
          vertical-align:bottom;
    padding:2px;
    }
    table.rotateHeaders td {
   border: 1px solid #ccc;
    padding:2px;
    }
table.rotateHeaders th.rotate {
  /* Something you can count on */
  height: 120px;
  white-space: nowrap;
}

th.rotate > div {
  transform: 
    /* Magic Numbers */
    translate(35px, -13px)
    /* 45 is really 360 - 45 */
    rotate(315deg);
  width: 45px;
}
th.rotate > div > span {
  border-bottom: 1px solid #ccc;
  padding: 3px 25px 10px 0px;
  margin-left:-8px;
  display:inline-block;
}

table.dataTable {
}

table.dataTable th, table.dataTable td {
    padding:2px;
       border: 1px solid #ccc;

}
/*------------------slider----------------http://danielstern.ca/range.css/#/ */

input[type=range] {
  width: 100%;
  margin: 0px 0;
  background-color: transparent;
  -webkit-appearance: none;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  background: #3071a9;
  background-image: linear-gradient(to right, gray,#3e8235, #ffb95a, #ff5a5f);
  border: 1px solid #010101;
  border-radius: 18.1px;
  width: 100%;
  height: 36px;
  cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
  margin-top: -1px;
  width: 36px;
  height: 36px;
  background: #ffffff;
  border: 1px solid #000000;
  border-radius: 18px;
  cursor: pointer;
  -webkit-appearance: none;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: #367ebd;
  background-image: linear-gradient(to right, gray, green, yellow, red);
}

input[type=range]::-moz-range-track {
  background: #3071a9;
  background-image: linear-gradient(to right, gray, green, yellow, red);
  border: 1px solid #010101;
  border-radius: 18.1px;
  width: 100%;
  height: 36px;
  cursor: pointer;
}
input[type=range]::-moz-range-thumb {
  width: 36px;
  height: 36px;
  background: #ffffff;
  border: 1px solid #000000;
  border-radius: 18px;
  cursor: pointer;
}
input[type=range]::-ms-track {
  background: #3071a9;
  background-image: linear-gradient(to right, gray, green, yellow, red);
  border-color: #fff;
  border-width: 1px 0;
  color: transparent;
  width: 100%;
  height: 36px;
  cursor: pointer;
  border-radius: 36.2px;
}

input[type=range]::-ms-fill-lower {
 background: transparent;
  /*background-image: linear-gradient(to right, gray, green, yellow, red);*/
  border: 1px solid #010101;
  border-radius: 36.2px 0 0 36.2px;
}
input[type=range]::-ms-fill-upper {
 background: transparent;
  /*background-image: linear-gradient(to right, gray, green, yellow, red);*/
  border: 1px solid #010101;
  border-radius: 0 36.2px 36.2px 0;
}
input[type=range]::-ms-thumb {
  width: 36px;
  height: 36px;
  background: #ffffff;
  border: 1px solid #000000;
  border-radius: 18px;
  cursor: pointer;
  margin-top: 0px;
  /*Needed to keep the Edge thumb centred*/
}
input[type=range]:focus::-ms-fill-lower {
 background: transparent;
  /*background-image: linear-gradient(to right, gray, green, yellow, red);*/
}
input[type=range]:focus::-ms-fill-upper {
 background: transparent;
  /*background-image: linear-gradient(to right, gray, green, yellow, red);*/
}

input[type=range]:disabled::-webkit-slider-runnable-track, input[type=range]:disabled::-webkit-slider-thumb {
  background-image: none;
  background: #ccc;
  border: 1px solid #ccc;
  cursor:not-allowed;
}
input[type=range]:disabled::-ms-fill-upper,input[type=range]:disabled::-ms-fill-lower, input[type=range]:disabled::-ms-thumb {
  background-image: none;
  background: #ccc;
  border: 1px solid #ccc;
  cursor:not-allowed;
}

input[type=range]:disabled::-moz-range-track, input[type=range]:disabled::-moz-range-thumb {
  background-image: none;
  background: #ccc;
  border: 1px solid #ccc;
  cursor:not-allowed;
}
/*TODO: Use one of the selectors from https://stackoverflow.com/a/20541859/7077589 and figure out
how to remove the virtical space around the range input in IE*/
@supports (-ms-ime-align:auto) {
  /* Pre-Chromium Edge only styles, selector taken from hhttps://stackoverflow.com/a/32202953/7077589 */
  input[type=range] {
    margin: 0;
    /*Edge starts the margin from the thumb, not the track as other browsers do*/
  }
}





/*------------------slider----------------*/