﻿.nopadding {
   padding: 0 !important;
   margin: 0 !important;
}
.fill { 
    min-height: 100%;
    height: 100%;
}

.border-top{
    border-top: 1px solid #e7eaec;
}

.border-bottom {
  border-bottom: 1px solid #e7eaec;
}

.border-left{
    border-left: 1px solid #e7eaec;
}

.border-right {
  border-right: 1px solid #e7eaec;
}

a {
    color: #2B6597;
}

html, body {
    /*height: 100%;*/
}

body {
    /*font-family: Arial;*/
    background: #DBDBDC; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(#DBDBDC, #FFF); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#DBDBDC, #FFF); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#DBDBDC, #FFF); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#DBDBDC, #FFF); /* Standard syntax (must be last) */
    color: #404244;
    font-family: "open sans", Arial, sans-serif;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* 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;
}


.link-spanner {
    position:absolute; 
    width:100% !important;
    height:100%;
    top:0;
    left: 0;
    z-index: 101;
}

.branch-box {
    /*margin-top: 10px;
    height:80px;
        border-radius: 5px;*/
    position:relative;
    
}
ul {
    clear: both;
}

.float-left {
    float: left;
}

.branch-box-text {
    padding:10px;
    overflow: hidden;
}

.nav-header {
    padding: 5px 0 0 0;
    margin: 0 0 0 0;
    background-image: url('patterns/header-profile-scc.png');
}
.nav-header a{
    padding: 0 0 0 0;
    margin: 0 0 0 0;
}

.header-logo-text{
    padding: 5px 10px 15px 10px;
}
.header-logo-text h1, .header-logo-text h2 {
    /*font-family: 'Source Sans Pro';*/
    font-weight: bold;
    text-align: center;
    color: #1F94B7;
    text-transform: uppercase;
    /*font-size: 1.2em;*/
    /*margin-top: 0.6em;*/
    /*text-shadow: 3px 3px 1px rgba(0, 0, 0, 0.6);*/
}
    .header-logo-text h2 {
        padding-bottom: 0;
        margin-bottom: 5px;
            color: #00AFF0;
    }

    .header-logo-text h3 {
        padding-bottom: 0;
        margin-bottom: 5px;
            color: #DFE4ED;
    }

    .header-logo-text h4 {
        padding-bottom: 0;
        margin-bottom: 5px;
            color: #DFE4ED;
    }

    .header-logo-text h5 {
        padding-bottom: 0px;
        margin-bottom: 0px;
        font-weight: 100;
        color: #DFE4ED;
    }
    .header-logo-text span {
        font-size: 10px;
    }

    .header-logo-text .nav-header-darklink {
        padding-bottom: 0px;
        margin-bottom: 0px;
        font-weight: 100;
        color: #7D95B5;
    }

.sidebar-collapse {
        height: 100%;
}
.clearfix:after {
   content: " "; /* Older browser do not support empty content */
   visibility: hidden;
   display: block;
   height: 0;
   clear: both;
}
.navbar-inner {
    background-color: #fff;
    background-image: none;
    box-shadow: none;
}
.nav .header-logo{
    display: block;
}
.header-logo-min{
    display: none;
}

.navbar-top-links li a{
    min-height: 30px;
      padding: 10px 10px 10px 10px !important;
      margin-top: 5px;
}
 .mini-navbar .header-logo,  .mini-navbar .header-logo-text {
  display: none;

}
 .mini-navbar .header-logo-min{
    display: inline;
    /*padding: 0px 10px 0px 10px;*/
    width: 50px;
    
 }
 .mini-navbar .nav-header a{
     padding: 0;
 }

 .videoWrapper {
	position: relative;
     padding-bottom: 60.25%;/*56.25%;  16:9 */
	padding-top: 25px;
	height: 0;
}
 .contentVideo {
     margin-top: -2em;
 }
.videoWrapper iframe, .videoWrapper video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
 .imgthumb {
     /*min-height: 280px;*/
     min-height: 218px;
     border-radius: 3px;
     
 }

 .topicdiv {
     padding-top: 2em;
     min-height: 130px;
 }

 .rclinks {
     list-style: none;
     padding: 0;
 }
.rightcol h2{
    border-top: 1px solid #b3b3b3;
    text-align: center;
    margin-bottom: 0em;
    line-height: 1.2em;
}
    .rightcol h2 span {
        text-align: center;
    position: relative;
    top: -10px;
    background-color: white;
    padding: 0px 5px;
    }
.rightcol h4 {
    margin-bottom: 0.5em;
    margin-top: 0.5em;
}
 .rclinks {
     margin-left: 0;
     margin-bottom: 2em;
 }
 .rclinks li {
     border-bottom: 1px dotted #949494;
         padding: 0.5em 0em;
 }
 .rclinks li:before {
    content: "\f105"; /* FontAwesome Unicode */
    font-family: FontAwesome;
    display: inline-block;
    /*margin-left: -1.3em;*/ /* same as padding-left set on li */
    /*width: 1.3em; /* same as padding-left set on li */
    
    display: block;
    float: left;
    
    padding-right: 0.5em;
    padding-bottom: 1em;
    line-height: 1.2;
}
 #remote {
    position: relative;
}
 #q {
    margin-bottom: 10px;
    width: 100%;
}
.search-submit {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    border: none;
    outline: none;
    background: url('../content/img/search-blue.png') no-repeat center;
    background-size: 18px;
    z-index: 1;
    transition: all 0.2s;
}
  .topicdiv h2 {
      line-height: 1.3em;
  }
 .imgthumb img {
     max-height: 226px;
     width: 100%;
     height: auto;
 }
 .line-clamp {
    display: block;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    position: relative;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 !important;
}
 .line-clamp-3 {
    -webkit-line-clamp: 3;
    height: calc(1em * 1.18 * 3);
}

 /*.imgthumb img:hover {
     -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
 }*/
 .row-fluid [class*="span"]:nth-of-type(3n+4) {
     margin-left: 0;
 }
 .float-right {
     text-align: right;
 }
 .footer.fixed{
    /*background-color: #f3f3f4;*/
    text-align: center;
    margin-left: 200px;
    padding: 2px 0 2px 0;
}
body.mini-navbar.body-small .fixed.footer {
    margin: 0;
}
.contacts .span3 {
    white-space: nowrap;
    
}
.contacts .span3 h4 {
    margin-top: 0.4em;
}
.fa-close {
    color: red;
    font-size: 1.5em;
}
.fa-check {
    color: green;
    font-size: 1.5em;
}
#footer-copyright .container {
    text-align: right;
}
.btn-primary{
    /*background-color: #00B5AF;*/
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary{
  background-color: #00CCC5;
  border-color: #00CCC5;
}


.wrapper-content{
    padding: 0;
}

body.mini-navbar .nav-header{
    background-color: none;
    height: 57px;
}


 #page-wrapper{
     /*margin-left: 200px;*/
     /*min-height: 1200px;*/
     min-height: 100%;
     margin-top: 8.5em;
   
    

 }
 
.navbar-static-side{
    height: 100%;
    background-color: #343741;
    /*width: 200px;*/
}

body.mini-navbar #page-wrapper{
    margin-left: 50px;
}
body.mini-navbar .footer.fixed{
    margin-left: 50px;
}
body.mini-navbar .sidebar-collapse{
    width: 50px;
}
body.mini-navbar .navbar-static-side{
    width: 50px;
}

#wrapper {
    width: 100%;

}
#_logo5{
    max-width: 330px;
    width: 100%;
   
}
.header-logo-text {
    margin-left: 3em;
}
.header-logo-text h1 {
    margin-bottom: 0;
}

.navbar-header{
    /*min-width: 200px;*/

    /*width: -moz-calc(100% - 100px);*/ /* Firefox */
    /*width: -webkit-calc(100% - 200px);*/ /* Chrome, Safari */
    /*width: calc(100% - 200px);*/  /*IE9+ and future browsers */
}
.navbar-minimalize {
    margin-right: 15px;
}
label.col-md-2.control-label {
    padding-right: 10px;
}


.nav>li:not(.active, .nav-header){
     /*border-left: 4px solid #343741;*/
     padding-left: 4px;
}


.nav>li>a{
    padding-left: 15px;
    font-size: 15px;
}

.nav>li:not(.active)>a{
    padding-left: 19px;
}

.nav>li>a>.fa{
    width: 15px;
    text-align: center;
}

.navbar-default .nav > li > a:focus, .nav > li.active, .navbar-default .nav > li:not(.nav-header) > a:hover {
  background-color: #40434F;
}

.navbar-default .nav .nav-header > a{
    padding: 10px 10px 5px 10px;
}
.navbar-default .nav .nav-header > a:hover{
    background-color: transparent;
}

.navbar-fixed-top {
        background: -webkit-linear-gradient(#ffffff 0%, rgba(186, 188, 193, 0.2) 100%);
    background: linear-gradient(#ffffff 0%, rgba(186, 188, 193, 0.2) 100%);
    -moz-box-shadow: 0 -1px 3px 4px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 -1px 3px 4px rgba(0, 0, 0, 0.1);
    box-shadow: 0 -1px 3px 4px rgba(0, 0, 0, 0.1);
}

#bodyContent {
    height: 100%;
    height: -moz-calc(100% - 82px); /* Firefox */
    height: -webkit-calc(100% - 82px); /* Chrome, Safari */
    height: calc(100% - 82px);  /*IE9+ and future browsers */
    margin-bottom: 23px;
}
#content {
    /*background-color: #F3F3F4;*/
    margin-bottom: 2em;

}
#content-center {
    /*padding-left: 1em;*/
    background-color: #FFF;
    border-radius: 3px;
}
    #content-center .span12 {
        padding: 1em;
    }

    #content-center .ceo-message img {
        width:20%;
        height:auto;
        display:inline-block;
    }

    #content-center .ceo-message h1 {
        display:inline-block;
        vertical-align:bottom;
    }

    #content-center .ceo-message p {
       text-align: left;
    }

        #content-center .ceo-message p a {
            font-size: 15px;
            text-decoration: underline;
            color: #0088cc;
        }

  .col-md-offset-2 {
    margin-left: 12.666667%;
  }
.navbar-top-links.navbar-right{
    display: inherit;
}

.navbar-top-links.navbar-right li a{
    padding-top: 20px;
}

.carousel.fade {
  opacity: 1;
}
.carousel.fade .item {
  -moz-transition: opacity ease-in-out .7s;
  -o-transition: opacity ease-in-out .7s;
  -webkit-transition: opacity ease-in-out .7s;
  transition: opacity ease-in-out .7s;
  left: 0 !important;
  opacity: 0;
  top:0;
  position:absolute;
  /*width: 100%;*/
  display:block !important;
  z-index:1;
}
.carousel.fade .item:first-child {
  top:auto;
  position:relative;
}
.carousel.fade .item.active {
  opacity: 1;
  -moz-transition: opacity ease-in-out .7s;
  -o-transition: opacity ease-in-out .7s;
  -webkit-transition: opacity ease-in-out .7s;
  transition: opacity ease-in-out .7s;
  z-index:2;
}
.carousel-control {
    z-index: 3;
    top: 50%;
    display:none; /*remove this if you want to show the slider controls*/
}
.carouselcontainer {
    
}
.breadcrumb{
    background-color: transparent;
    margin-top: 0;
    margin-bottom: 0;
    /*font-size: 16px;*/
}
.breadcrumb a:hover{
    text-decoration: underline;
}

.breadcrumb .active{
    font-weight: bold;

}

/*Home Page*/
#homePageText{
    padding: 0px;
    background-color: #f3f3f4;
    font-size: 14px;
    min-height: 100%;
}
#homePageText h3{
    margin-bottom: 0px;

}
#homePageText a:hover, .underlinetext a:hover{
    text-decoration: underline;
}
#homePageText a, .underlinetext a{
     text-decoration: underline;
}

/*pad out link to external site icon*/
#homePageText a + img{
    /*border: 1px solid red;*/
    margin-left: 3px;
}

/*Scraped Content*/
#homePageText h1{
    font-size: 20px;
    font-weight: 600;
}
#homePageText h2{
    font-size: 18px;
    font-weight: 600;
}

#homePageText h3{
    font-size: 16px;
    font-weight: 600;
}


#homePageText table{
    width:auto !important;
    margin-bottom: 15px;

}
#homePageText table td {
    padding: 2px !important;
}
.widget-link{
    color: #fff;
}



@media (max-width: 768px) {
  #page-wrapper {
    /*margin: 0 0 0 0px;*/
      margin-top: 2em;
  }
  #homePageText img{
      width: 150px;
  }
  #mapControl .slider{
      display: none;
  }
   #mapCanvas{
          max-height: 600px;
      }
   #mapControlColumn{
       padding: 0px 10px 0px 10px;
   }
   #mapCanvasColumn{
       padding: 0px 5px 0px 5px;
   }
 .fixed-sidebar.body-small .navbar-static-side {
    display: none;
    z-index: 1;
    position: fixed;
    width: 220px;
  }
  .fixed-sidebar.body-small.mini-navbar .navbar-static-side {
    display: block;
  }

}

@media (max-width: 350px){
      #homePageText img{
      width: 60px;
  }
      #mapCanvas{
          max-height: 400px;
      }

}

@media (min-width: 338px) and (max-width: 360px){
    h4,
    .h4 {
      font-size: 16px;
    }
}

@media (min-width: 324px) and (max-width: 338px){
    h4,
    .h4 {
      font-size: 14px;
    }
}

@media (max-width: 324px){
    h4,
    .h4 {
      font-size: 12px;
    }
}

.file-list-item  {
    list-style-type: circle;
    padding: 10px;
    padding-left: 0;
}


.underlinetext a { text-decoration:underline}


/* Styles for dashboard page */
div.ibox-title {
    height: auto;
    min-height: 48px;
}
/* This is to fix the display of the "legend" (the summary list in the title block */
div.ibox-title div.on {
    display: inline-block;
    width: 100%;
}
.badge-unknown,
.badge-open {
    background-color: rgb(56, 83, 164);
    color: #FFFFFF;
}
.badge-ok {
    background-color: rgb(105, 189, 69);
    color: #FFFFFF;
}
.badge-bad {
    background-color: rgb(249, 162, 86);
    color: #FFFFFF;
}
.badge-baddest {
    background-color: rgb(237, 31, 36);
    color: #FFFFFF;
}

/* Intended as a temporary fix for messed up table background on road list page (and probably others) on small devices */
div.white-bg>table.table-striped>tbody>tr:nth-child(even)>td {
    background-color: white;
}