@font-face {
  font-family: montserrat;
  src: font-url('montserrat.eot');
  src: local('montserrat'), font-url('montserrat.ttf') format('truetype');
}

body{
  background: #fff; //#043E56;
  font-family: montserrat;
}

.blue-bg{
  background: image-url("shared/bg-header.jpeg") no-repeat center center #042C50 fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.header-pages-alt{
  margin: 40px auto;
  text-align: center;
}

.header-pages{
  background: #054261;
  border-bottom: 5px solid #043752;
}

h1.index-header{
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  font-size: 100px;
}

h2.index-header{
  color: #fff;
  text-align: center;
  font-size: 36px;
}

p.app-text{
  color: #fff;
  padding: 20px 0;
  text-shadow: 1px 1px #000;
  margin: 20px 0;
}

h2.index-title{
  text-align: center;
  color: #333;
  font-size: 1.8em;
  line-height: 1.5;
  margin: 25px 0;
}

h1.show-title{
  margin-top: 10px;
}
/*Bootstrap custom Overwrites*/
header{
  label.btn.btn-default.active{
    background: linear-gradient(to bottom, #0071bd, #25a3dd) !important;
  }
  .navbar-default{
    background: none;
    border: none;
    box-shadow: none;
    color: #fff;
    margin-bottom: 0;
  }
  .navbar-brand{
    height: auto;
  }
  .navbar-top-menu{
    margin: 45px 10px 10px;
    color: #fff;
    a, a:visited, a:hover, a:focus{
      color: inherit !important;
    }
    span{
      color: #fff;
    }
    span.glyphicon-search{
      color: #333;
    }
    .has-feedback .form-control{
      padding-right: 0;
    }
  }
  .navbar-nav > li > a{
    padding: 15px 5px;
    text-transform: uppercase;
    font-size: 12px;
  }
  .navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:focus, .navbar-default .navbar-nav > .open > a:hover{
    background: transparent;
  }
  .dropdown-menu{
    background: #054261;
  }
  .dropdown-menu > li > a{
    padding: 5px 20px;
  }
  .dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover{
    background: #337ab7;
  }
}

.checkbox, .radio{
  padding-left: 20px;
}

label{
  font-weight: normal;
}


.form-actions{
  margin-bottom: 20px;
  margin-top: 20px;
}

.alert{
  background-color: #fcf8e3;
  border: 1px solid #fbeed5;
  border-radius: 4px;
  margin-bottom: 15px;
  padding: 8px 35px 8px 14px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.alert-danger, .alert-error{
  background-color: #f2dede;
  border-color: #eed3d7;
  color: #b94a48;
}

/* end overwrite */

.applications{
  margin: 50px 0;
  .app-item{
    width: 24%;
    display: inline-block;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    font-size: 16px;
    a{
      color: inherit;
      p{
        margin: 5px 0;
      }
    }
  }
}

.more-applications{
  text-align: center;
  text-transform: uppercase;
  margin: 20px 0;
  p{
    color: #fff;
    margin: 20px 0;
    a{
      color: inherit;
      text-decoration: none;
    }
  }
}

#signIn{
  margin: 15px auto 30px;
}

#timeline-actions, #side-menu {
  background: #d8e9f3; /* Old browsers */
  background: -moz-linear-gradient(top, #d8e9f3 0%, #ffffff 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d8e9f3), color-stop(100%,#ffffff)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #d8e9f3 0%,#ffffff 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #d8e9f3 0%,#ffffff 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #d8e9f3 0%,#ffffff 100%); /* IE10+ */
  background: linear-gradient(to bottom, #d8e9f3 0%,#ffffff 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d8e9f3', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
  .item-action{
    color: #2EADE3;
    text-transform: uppercase;
    font-size: 1.4em;
  }
  .timeline-action{
    margin: 20px auto 30px;
    background: url('dot.png') 8px top repeat-y;
    .action-comment{
      list-style: none;
      width: 100%;
      padding: 0px 10px 0px 30px;
      background: url('bigdot.png') left 12px no-repeat;
      .timeline-title{
        display: block;
        color: #333;
        margin: 0px;
        padding: 10px;
      }
      a.link-title{
        color: #2EADE1;
      }
      .timeline-divider{
        border-bottom: 1px solid #E7E7E7;
      }
      h2{
        margin: 0 0 5px;
        font-size: 1.2em;
        color: #0272BC;
        line-height: 1.5;
      }
    }
  }
}

#side-menu{
  background: none;
}

#open-data{
  .item-wrap{
    width: 24%;
    display: inline-block;
    text-align: center;
    .item-detail{
      color: #757575;
      font-size: 16px;
    }
    .item-title{
      color: #8BB9CF;
      font-size: 14px;
    }
  }
}

ul#lightSlider{
  li.slide{
    width: 100%;
  }
}

#ta-news, #open-data, #timeline-actions, #social-media{
  display: block;
  padding: 10px 0;
}

#ta-news{
  background: #d7e9f3;
  background: -moz-linear-gradient(top,  #d7e9f3 0%, #f4fcff 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d7e9f3), color-stop(100%,#f4fcff));
  background: -webkit-linear-gradient(top,  #d7e9f3 0%,#f4fcff 100%);
  background: -o-linear-gradient(top,  #d7e9f3 0%,#f4fcff 100%);
  background: -ms-linear-gradient(top,  #d7e9f3 0%,#f4fcff 100%);
  background: linear-gradient(to bottom,  #d7e9f3 0%,#f4fcff 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d7e9f3', endColorstr='#f4fcff',GradientType=0 );
}

#open-data{
  margin-bottom: 30px;
}

#mobile-app{
  background: image-url("www/bg-app-download.jpeg") no-repeat center center #042C50 fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  min-height: 300px;
  padding: 20px 0;
  text-align: center;
}

#map{
  width: 100%;
  height: 300px;
}

.breadcrumb-wrap{
  background: #F2F2F2;
  border-top: 5px solid #C2C9CB;
  border-bottom: 1px solid #C2C9CB;
  margin-bottom: 15px;
  ul.breadcrumb{
    background: inherit;
    margin-bottom: 0;
    span.divider{
      display: none;
    }
  }
}

#social-networks{
  margin-top: 20px;
}

#information-ranking-result{
  margin: 10px 0 40px;
}

.social-networks{
  margin-top: 20px;
  a{
    display: inline-block;
    margin-right: 20px;
  }
}

.attachment-list{
  display: table;
  .attachment-row{
    display: table-row;
    text-decoration: none;
    font-weight: normal;
    p{
      color: #2eade1;
      display: table-cell;
      padding: 5px 10px;
    }
    p.document{
      color: #333;
    }
  }
}

.attachment_categories{
  margin: 10px 0;
  padding: 30px 0;
}

.attachment-categories-list, .institutions-io-list{
  display: table;
  .attachment-category, .institutions-io{
    display: table-cell;
    padding: 10px;
    background: #fff;
    border-bottom: 5px solid #29AAE3;
    float: left;
    width: 260px;
    height: 130px;
    text-align: center;
    margin: 10px;
    font-size: 13px;
    vertical-align: middle;
    position: relative;
    .attachment-category-title, .institution-io-title{
      color: #333;
      text-align: center;
      font-size: 14px;
      a{
        color: inherit;
      }
    }
    .attachment-category-size{
      position: absolute;
      bottom: 10px;
      color: #1B81C3;
      text-align: center;
      width: inherit;
    }
  }
  .institutions-io{
    display: inline-block;
    height: 65px;
    margin: 10px;
    width: 180px;
    float: none !important;
  }
}

.institutions-io-list{
  display: table;
  text-align: center;
}

.accordion{
  text-align: center;
  margin-bottom: 35px;
  .accordion-group{
    display: inline-block;
    height: auto; /*170px*/
    margin: 5px;
    text-align: left;
    vertical-align: top;
    width: 425px;
  }
}

.centered{
  margin: 0 auto;
  text-align: center;
}

.content{
  padding: 20px 0 25px 0;
}

.contact-form{
  margin: 10px 0 30px;
  padding: 18px;
}

h2.attachment-categories, h2.attachment-categories-inhome{
  color: #054261;
  margin: 5px 0 15px;
}

h2.attachment-categories{
  text-align: center;
}

.field-with-errors{
  label.message{
    color: red;
  }
  .form-control:focus{
    border-color: #D03B21;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px #F59E8F;
  }
}

.submit-wrapper{
  padding-left: 20px;
}

.pagination {
    border-radius: 4px;
    display: inline-block;
    margin: 20px 0;
    padding-left: 0;
}
.pagination{
  li{
    display: inline;
    a, span{
      background-color: #fff;
      border: 1px solid #ddd;
      color: #337ab7;
      float: left;
      line-height: 1.42857;
      margin-left: -1px;
      padding: 6px 12px;
      position: relative;
      text-decoration: none;
    }
  }
  li:first-child{
    a, span{
      border-bottom-left-radius: 4px;
      border-top-left-radius: 4px;
      margin-left: 0;
    }
  }
  li:last-child{
    a, span{
      border-bottom-right-radius: 4px;
      border-top-right-radius: 4px;
    }
  }
  .active{
    li{
      a:focus, a:hover, span:focus, span:hover{
        background-color: #eee;
        border-color: #ddd;
        color: #23527c;
        z-index: 3;
      }
    }
    a, a:focus, a:hover, span, span:focus, span:hover{
      background-color: #337ab7;
      border-color: #337ab7;
      color: #fff;
      cursor: default;
      z-index: 2;
    }
  }
  .disabled{
    a, a:focus, a:hover, span, span:focus, span:hover{
      background-color: #fff;
      border-color: #ddd;
      color: #777;
      cursor: not-allowed;
    }
  }
}

.pagination-lg{
  li{
    a, span {
      font-size: 18px;
      line-height: 1.33333;
      padding: 10px 16px;
    }
  }
  li:first-child{
    a, span{
      border-bottom-left-radius: 6px;
      border-top-left-radius: 6px;
    }
  }
  li:last-child{
    a, span{
      border-bottom-right-radius: 6px;
      border-top-right-radius: 6px;
    }
  }
}

.pagination-sm{
  li{
    a, span {
      font-size: 12px;
      line-height: 1.5;
      padding: 5px 10px;
    }
  }
  li:first-child{
    a, span{
      border-bottom-left-radius: 3px;
      border-top-left-radius: 3px;
    }
  }
  li:last-child{
    a, span{
      border-bottom-right-radius: 3px;
      border-top-right-radius: 3px;
    }
  }
}

.search-tools{
  padding: 20px 10px 10px;
}

.accountability-section{
  h2, img{
    display: inline;
  }
}

.tooltip {
  color:#333;
  .tooltip-inner{
    padding:10px;
    background:#00793C;
    font-size: 15px;
    border: 1px solid #3e8f3e;
  }
  .tooltip-arrow{

  }
}

div.calendar {
  margin: 20px 0;
  .header {
    background: #d1131a;
    color: #ffffff;
    font-size: 16px;
    font-weight: bolder;
    padding: 5px 0;
    text-align: center;
  }
  .clearfix {
    background: #fff;
    border-bottom: 1px solid #ccc;
  }
  /* for week view */
  .week {
    font-size: 12px;
    .date-wrapper{
      background: #C8FFFA;
      border: 1px solid #7DD0C9;
      border-radius: 5px;
      padding: 5px 0 10px;
      .day { 
        color: #444;
        font-size: 16px;
        font-weight: bolder;
        padding: 4px 0;
        text-align: center;
        border-bottom: 2px solid #36958D;
      }
      .current-day { }
      .event { 
        border-bottom: 2px dotted #43ABA1;
        padding: 10px;
        position: relative; 
      }
      .event-empty { border: none; }
      .highlight { position: absolute; right: -4px; top: 3px; }
    }  
  }
}

#aniimated-thumbnials{
  margin: 20px 0;
}

.lSPager.lSGallery{
  display:none;
}

.btn-accountability{
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 10px 40px;
  color: #3AB1E3 !important;
}
.accountability-citizen-evaluations{
  margin: 15px 0 20px; 
}
.btn-evaluation{
  padding: 10px;
  width: 188px;
  margin: 10px;
  background: #00E070 !important;
  height: 110px;
  font-size: 30px;
  font-weight: bold;
  .institution-score{
    font-size: 11px;
    white-space: normal;
    font-weight: normal;
  }
}

@media (max-width: 1024px) {
  h1.index-header{
    font-size: 72px;
  }
  h2.index-header{
    font-size: 30px;
  }
  .applications{
    .app-item{
      width: 49%;
    }
  }
}

@media (max-width: 640px) {
  .blue-bg{
    background: #042C50;
  }
  h1.index-header{
    font-size: 54px;
  }

  h2.index-header{
    font-size: 24px;
  }

  .applications{
    .app-item{
      width: 100%;
      margin: 10px auto;
      img{
        max-width: 100px;
      }
      p{
        font-size: 14px;
      }
    }
  }
  .more-applications{
    font-size: 14px;
  }
  #open-data{
    .item-wrap{
      width: 49%;
    }
  }

  .accordion{
    .accordion-group{
      width: 100%;
    }
  }

}
