body {
  font-family: 'Roboto Condensed', sans-serif;
}
h1 {
  font-size: 24px;
}
h2 {
  font-size: 18px;
}
.features {
  text-align: center;
}
footer {
  background-color: #053f69;
  color: #FFFFFF;  
}
.navbar-brand {
    padding: 0 15px;
}
.navbar {
  min-height: 78px;
  border-bottom: 2px solid #ba0c2f;
  color: #053f69;
  text-transform: uppercase;
  font-weight: bold;
  background: #FFFFFF;
}
.navbar-nav > li > a {
    padding-bottom: 5px;
    padding-top: 5px;
}
.navbar-holder {
  border-bottom: 1px solid #c4c7cc;
}
.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
  background-color: #FFF;
}
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
  color: #ba0c2f;
}
.navbar-inverse .navbar-nav > li > a {
    color: #053f69;
}
.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:focus, .navbar-inverse .navbar-nav > .active > a:hover {
    background-color: #ba0c2f;
    color: #fff;
}
.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:focus, .navbar-inverse .navbar-nav > .open > a:hover {
    background-color: #ba0c2f;
    color: #fff;
}
.carousel-control {
  width: 5%;
}
.carousel-control.right {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 0%);
    background-repeat: repeat-x;
}
.carousel-control.left {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 0%);
    background-repeat: repeat-x;
}
#myBannerCarousel {
  margin-top: 110px;
}
#myItemGridCarousel {
  height: 150px;
}
#myItemGridCarousel .item {
  height: 150px;
}

.thumbnails {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.thumbnail {
    width: 100%;
    overflow: hidden; /* contain images within thumbnail boundaries */
    border: 0; /* removes Bootstrap's default border */
    padding: 0; 
    box-shadow: 0 12px 12px -10px #a4a4a4;
    -webkit-box-shadow: 0 17px 22px -20px #a4a4a4;
    -moz-box-shadow: 0 12px 12px -10px #a4a4a4;
}
.thumbnail img { width:100%; height:auto; } /* to keep proportions */
.thumbnails p { text-align: center; padding: 10px; } /* captions can be styled with an inline element */

.left {
  text-align: left;
}
.right {
  text-align: right;
}
.center {
  text-align: center;
}
.align-right {
  position: absolute;
  right: 0;
}
.image {
    border: 0;
    margin: 10px 20px; /* removes Bootstrap's default border */
    box-shadow: 0 12px 12px -10px #a4a4a4;
    -webkit-box-shadow: 0 17px 22px -20px #a4a4a4;
    -moz-box-shadow: 0 12px 12px -10px #a4a4a4;
}

@media (min-width: 1199px) {
  #item-slider {
    visibility: visible; 
  }
}
@media (max-width: 1199px) {
  #item-slider {
    visibility: hidden; 
    height: 0;
  }
}

footer {
  margin-top: 35px;
  font-size: 11px;
  padding: 20px;
}
.menu ul {
  display: block;
  list-style-type: none;
}
.menu ul li {
  float: left; 
  padding: 2px 5px;
  border-right: 1px dotted #0098D2;
}
.menu ul li:last-child {
  border-right: 0;
}
/*.portlet {
  margin-top: 5px;
}*/
#highlights { display:block; width: 100%; height: 170px; margin: 3px 0 18px 0; }
#highlights li { float: left; margin-right: 18px; margin-top: 15px; overflow: hidden; max-width: 217px; position: relative !important; }
#highlights li h2 { position: absolute; padding: 12px; /*color: #FFFFFF;*/ color: #333333; font-family: Arial, sans-serif; font-size: 16px; text-align: right; text-shadow: -1px 0 #FFFFFF, 0 1px #FFFFFF, 1px 0 #FFFFFF, 0 -1px #FFFFFF; right: 0; top: 0; margin-top: 0; }
#highlights li img { width: 100%; height: auto; }


*:before, *:after {
    box-sizing: border-box;
}
.navbar-inverse .navbar-toggle {
    border-color: #FFF;
}
.navbar-inverse .navbar-toggle .icon-bar {
    background-color: #000;
}
.navbar-toggle { background-color: #FFF; }

#right_menu {
  float: right;
}
#sectionbanner {
  margin-bottom: 25px;
}
.col1 ul {
  border-top: 1px dotted #999;
  list-style-type: none;
}
.col1 ul li {
  padding: 2px 0 2px 10px;
  border-bottom: 1px dotted #999;
  font-weight: bold;
}

.col1 ul li ul li {
  font-weight: normal;
}

.col1 ul li ul li:last-child {
    border-bottom: 0px;
}

.col3 h1, .col3 .h1, .col3 h2, .col3 .h2, .col3 h3, .col3 .h3 {
    margin: 10 0 5px;
}
.col3 hr {
  margin: 5px 0;
  background-color: #CCCCCC;
  color: #CCCCCC;
  height: 1px;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}
.logo {
  padding: 10px 5px 0 0;
}

.navbar-header {
  height: 0;
}

ul.latest {
  list-style-type: none;
}

li.news-latest-item {
  border-bottom: 1px solid #CCCCCC;
}
li.news-latest-item:last-child {
  border-bottom: none;
}





#mask {
  position:absolute;
  left:0;
  top:0;
  z-index:9000;
  background-color:#000;
  display:none;
}  
#boxes .window {
  position:absolute;
  left:0;
  top:0;
  display:none;
  z-index:9999;
  text-align: center;
  box-shadow: 0 0 100px #000;
}
#boxes #dialog {
  font-size: 15pt;
}
#popupfoot {
  position: absolute;
    right: 0px;
    top: 0px;
    z-index: 1000;
}


.close {
  opacity: 1;
}

.clearfix {
float: none;
clear: both;
}

.pager2 {
    margin:0 auto;
    text-align: center;
    float: left;
    width: 300px;
    text-align: center;
}
/* Style the pagination button with dot */
/* Same as prev and next button, we use the same css sprite */
.pager2 a {
    margin: 0 5px 0 0;
    text-decoration: none;
    display:inline-block;
    width:8px;
    height:8px;
    background: transparent url('../images/carousel_control.png') no-repeat -2px -32px;
    text-indent:-999em;
}
.pager2 a.selected {
    text-decoration: underline;
    background: transparent url('../images/carousel_control.png') no-repeat -12px -32px;                
}
.news-latest-item IMG {
    margin: 0 5px 50px 0;
    float: left;
    border: none;
}

.home-banner {
  width: 100%;
}

@media (max-width: 751px) {
  .aaa {
     text-align: center;
  }
}
