/* custom.css */
.id_captcha input[type="text"]{
    width: 160px !important;
}
#box-10 img {margin-top: 15px;}
header {
    border-top: 8px solid #b03651;
    padding: 5px 0 0 0;
    width: 100%;
    margin: 0 auto;
}
/*NAVIGATION*/
.nav .open>a, .nav .open>a:hover, .nav .open>a:focus {background: transparent;}
.dropdown-menu {    
  border: 0;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}
#main-nav #nav ul li ul li a {padding: 8px 5px;}
/*SIDEBAR NAVIGATION*/
.rt-bx ul {display: none;}
.rt-bx.open #t-main-navbar-nav {display:block;}
/*ROTATOR*/
.carousel {
  position: relative;
}

.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-inner > .item {
  position: relative;
  display: none;
  -webkit-transition: 0.6s ease-in-out left;
  transition: 0.6s ease-in-out left;
}

.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
  display: block;
  height: auto;
  max-width: 100%;
  line-height: 1;
  margin:0 auto;
}

.carousel-inner > .active,
.carousel-inner > .next,
.carousel-inner > .prev {
  display: block;
}

.carousel-inner > .active {
  left: 0;
}

.carousel-inner > .next,
.carousel-inner > .prev {
  position: absolute;
  top: 0;
  width: 100%;
}

.carousel-inner > .next {
  left: 100%;
}

.carousel-inner > .prev {
  left: -100%;
}

.carousel-inner > .next.left,
.carousel-inner > .prev.right {
  left: 0;
}

.carousel-inner > .active.left {
  left: -100%;
}

.carousel-inner > .active.right {
  left: 100%;
}

.carousel-control {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 15%;
  font-size: 20px;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  opacity: 0.5;
  filter: alpha(opacity=50);
}

.carousel-control.left {
  background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.5) 0), color-stop(rgba(0, 0, 0, 0.0001) 100%));
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0.0001) 100%);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
}

.carousel-control.right {
  right: 0;
  left: auto;
  background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.0001) 0), color-stop(rgba(0, 0, 0, 0.5) 100%));
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0, rgba(0, 0, 0, 0.5) 100%);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
}

.carousel-control:hover,
.carousel-control:focus {
  color: #ffffff;
  text-decoration: none;
  outline: none;
  opacity: 0.9;
  filter: alpha(opacity=90);
}

.carousel-control .icon-prev,
.carousel-control .icon-next,
.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: inline-block;
}

.carousel-control .icon-prev,
.carousel-control .glyphicon-chevron-left {
  left: 50%;
}

.carousel-control .icon-next,
.carousel-control .glyphicon-chevron-right {
  right: 50%;
}

.carousel-control .icon-prev,
.carousel-control .icon-next {
  width: 20px;
  height: 20px;
  margin-top: -10px;
  margin-left: -10px;
  font-family: serif;
}

.carousel-control .icon-prev:before {
  content: '\2039';
}

.carousel-control .icon-next:before {
  content: '\203a';
}

.carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  z-index: 15;
  width: 60%;
  padding-left: 0;
  margin-left: -34%;
  text-align: center;
  list-style: none;
}

.carousel-indicators li {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 1px;
  text-indent: -999px;
  cursor: pointer;
  background-color: #000 \9;
  background-color: rgba(0, 0, 0, 0);
  border: 1px solid #ffffff;
  border-radius: 10px;
}

.carousel-indicators .active {
  width: 12px;
  height: 12px;
  margin: 0;
  background-color: #ffffff;
}

.carousel-caption {
  width:40%;
  position: absolute;
  right: 3%;
  left: 57%;
  bottom: 25px;
  z-index: 10;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #ffffff;
  text-align: right;
}
.carousel-caption h1{ font-family:"NovecentowideDemiBold"; font-size:49px;}
.carousel-caption p{ font-family:"Open Sans"; font-size:18px; font-weight:bolder; }
.carousel-caption a{ line-height:40px; border:1px solid #b0536b; display:block; color:#fff; font-family:"NovecentowideDemiBold"; text-transform:uppercase; padding: 0 10px; width:60%; float:right; background: rgba(163,47,70,1);
background: -moz-linear-gradient(top, rgba(163,47,70,1) 0%, rgba(147,13,42,1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(163,47,70,1)), color-stop(100%, rgba(147,13,42,1)));
background: -webkit-linear-gradient(top, rgba(163,47,70,1) 0%, rgba(147,13,42,1) 100%);
background: -o-linear-gradient(top, rgba(163,47,70,1) 0%, rgba(147,13,42,1) 100%);
background: -ms-linear-gradient(top, rgba(163,47,70,1) 0%, rgba(147,13,42,1) 100%);
background: linear-gradient(to bottom, rgba(163,47,70,1) 0%, rgba(147,13,42,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a32f46', endColorstr='#930d2a', GradientType=0 ) ; border-radius:none; text-align:left; text-decoration:none;}
.carousel-caption a:hover{ color:#fff; background: rgba(125,221,250,1);
background: -moz-linear-gradient(top, rgba(125,221,250,1) 0%, rgba(38,148,182,1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(125,221,250,1)), color-stop(100%, rgba(38,148,182,1)));
background: -webkit-linear-gradient(top, rgba(125,221,250,1) 0%, rgba(38,148,182,1) 100%);
background: -o-linear-gradient(top, rgba(125,221,250,1) 0%, rgba(38,148,182,1) 100%);
background: -ms-linear-gradient(top, rgba(125,221,250,1) 0%, rgba(38,148,182,1) 100%);
background: linear-gradient(to bottom, rgba(125,221,250,1) 0%, rgba(38,148,182,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7dddfa', endColorstr='#2694b6', GradientType=0 ); border:1px solid #5dc7e6;}
.carousel-caption .btn {
  text-shadow: none;
}

/*news box*/
.news-box {
  clear: both;  
}

div.forms .form-field .field textarea 
{  width: 920px !important;
  font-size: 16px;
  color: #777;
  margin-top: -50px;
}


/* EMBED FORM - HOMEPAGE */
.block_2 .embed-form label {
    display: none;
}

.block_2 .formbx input {
   color: #777;
  font-size: 16px;
  }
#sidebar-right .block_3 .embed-form label {
  display: none;
  }
/*TENDENCI OVERRIDES*/
.admin-inline {
    background: rgba(0, 0, 0, 0.77);
    padding: 8px 10px;
    font-size: 12px;
}
.admin-links a {
   color: #fff;
   font-weight: normal;
   display:block;
  }
.t-meta-data, .t-meta-editor-bar {
    clear: both;
}

.t-meta-editor-bar {
    background-color: #ebf7fa;
  }
/*MEDIA QUERIES BEGIN*/
@media (max-width: 1280px){
.carousel-caption {top: 21%;}
.carousel-caption h1 {font-size: 26px;}
}
@media (max-width: 990px){
.carousel-caption {
    top: 3%;
    left: 59%;
}
}
@media (min-width: 769px){
nav #main-nav .collapse {display:block; visibility: visible;}
#main-nav { margin-top: 3%;}
}
@media (max-width: 800px) {
    div.forms .form-field .field textarea {
width: 550px !important;
  font-size: 16px;
  color: #777;
  margin-top: 50px;}
#home .formbx .embed-form input[type="submit"] {
  bottom: 0px !important;
}
}

@media (max-width: 768px){
nav #main-nav .collapse {display:none;}
nav #main-nav #nav ul {float: none;}
nav #main-nav #nav ul li {display: block; float: none; padding: 12px;}
nav #main-nav #nav ul li a {float: none; font-size: 16px;}
nav #main-nav .dropdown-menu {position: static; width: 100%; background-color: #2695B6;}
#main-nav #nav ul ul {background-color: #2695B6;}
nav #main-nav #nav ul li:hover ul, nav #main-nav #nav ul ul li:hover ul, nav #main-nav #nav ul ul {position: static;}
nav #main-nav #nav ul ul, nav #main-nav #nav ul ul li a {position: static; width: 100%;}
#box-1 {clear:both;}
#main-nav, #main-nav #nav ul {clear: both;}
.navbar-toggle { 
background: #2695b6;
display: block;
width: 100%;
margin: 0;
border-radius: 0;
}
.navbar-toggle span {color: #fff; float: right; font-size: 16px;}

.carousel-caption h1 {
    font-size: 22px;
}
.carousel-caption p {
    font-size: 16px;
}
}
@media (max-wdith: 767px){

table, thead, tbody, th, td, tr {     
  display: block;  
}    
/* Hide table headers (but not display: none;, for accessibility) */   
thead tr {      
  position: absolute;    
  top: -9999px;     
  left: -9999px;  
}      
tr { 
  border-bottom: 1px solid #717171;
    padding: 5px;
 }      
td {  
  /* Behave  like a "row" */    
  border: none;       
  position: relative;     
  padding-left: 50%;   
}     
td:before {      
  /* Now like a table header */     
  position: absolute;     
  /* Top/left values mimic padding */     
  top: 6px;    
  left: 6px;     
  width: 45%;     
  padding-right: 10px;    
  white-space: nowrap;  
}
}
@media (min-width: 767px){
#main-nav.collapse {display: block; visibility: visible;}
}
@media (max-width: 700px){
.carousel-caption p {
    display:none;
}
}
@media (max-width: 534px) {
    div.forms .form-field .field textarea {
width: 300px !important;
  font-size: 16px;
  color: #777;
  margin-top: 50px;}

#home .formbx .embed-form .form-field:nth-child(3) #id_field_3_1 {
    float: left;
    width: 100% !important;
    position: relative;
    left: 2.5%;
    bottom: 20px;
}
.carousel-inner {
    background: #1d1e1e;
}
.carousel-caption {
top: 100%;
    position: relative;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    background: #1d1e1e;
    bottom: -10px;
    margin-bottom: 40px;
    padding: 12px;
}
.carousel-indicators {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    padding: 5px 0;
    margin: 0;
    text-align: center;
    list-style: none;
    background: #1d1e1e;
    height: auto;
}

}

@media (max-width: 1900px){
.overlay {
  background: url(../images/swoosh.png) top left no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
  -webkit-background-size: 100% 100%;
  -moz-background-size: 100% 100%;
  -o-background-size: 100% 100%;
  background-size: 100% 100%;
}
}