/**
 * Title: Bootstrap Adlead Fixes
 * User: Fábio Violante
 * Date: 16/08/2013
 * 
 * LastUpdate: 10/02/2014
 */

body {
  background-repeat: no-repeat;
  background-position: center top;
}

body.modal-open {
  margin-right: 0;
}

.form-horizontal .form-group {
  margin-left: 10px;
  margin-right: 10px;
}

.form-horizontal .control-label-left {
  padding-top: 7px;
  padding-right: 0;
  margin-top: 0;
  margin-bottom: 0;
  text-align: left;
  font-size: 12px;
  font-weight: normal;
}

.form-horizontal .control-label-right {
  padding-top: 12px;
  margin-top: 0;
  margin-bottom: 0;
  text-align: left;
  font-size: 12px;
  font-weight: normal;
}

.form-horizontal .control-label-left.double {
  line-height: 0.9;
  padding-top: 5px;
}
.row{
  margin: 0;
}

.no-margin {
  margin: 0;
}

.no-padding {
  padding: 0;
}

.double-padding {
  padding-left: 30px;
  padding-right: 30px;
}

.no-padding-right {
  padding-right: 0;
}

.no-padding-left {
  padding-left: 0;
}

.color-white {
  background-color: #FFFFFF;
}

.btn.btn-submit {
  padding: 6px 0;
  width: 100%;
}

.modal-dialog {
  width: 300px;
}

.form-group.submit {
  margin-bottom: 0;
}

p.required-fields {
  margin-bottom: 3px;
  font-size: 8px;
}

.btn:active, .btn.active {
  box-shadow: none;
}

.btn, input[type="radio"], option, select {
  outline: 0 none !important;
}

.col-xs-offset-1 {
  margin-left: 8.333333333333332%;
}
.col-xs-offset-2 {
  margin-left: 16.666666666666664%;
}
.col-xs-offset-3 {
  margin-left: 25%;
}
.col-xs-offset-4 {
  margin-left: 33.33333333333333%;
}
.col-xs-offset-5 {
  margin-left: 41.66666666666667%;
}
.col-xs-offset-6 {
  margin-left: 50%;
}
.col-xs-offset-7 {
  margin-left: 58.333333333333336%;
}
.col-xs-offset-8 {
  margin-left: 66.66666666666666%;
}
.col-xs-offset-9 {
  margin-left: 75%;
}
.col-xs-offset-10 {
  margin-left: 83.33333333333334%;
}
.col-xs-offset-11 {
  margin-left: 91.66666666666666%;
}

/* Civility Mobile */
#repWrapper span{
  display:block;
  width: 33.3333%;
  float:left;
  text-align:center;
  font-size:15px;
  font-family: arial;
  background-size: 1px 100%;
  color:#000000;
  line-height: 27px;
  padding: 2% 0;
}

#repWrapper span:hover{
  cursor:pointer;
}

#repWrapper span.first, #repWrapper span.last {
  border:1px solid #ababab;
}

#repWrapper span.middle {
  border-bottom:1px solid #ababab;
  border-top:1px solid #ababab;
}

#repWrapper span.first{
  -webkit-border-top-left-radius: 7px;
  -webkit-border-bottom-left-radius: 7px;
  -moz-border-radius-topleft: 7px;
  -moz-border-radius-bottomleft: 7px;
  border-top-left-radius: 7px;
  border-bottom-left-radius: 7px;
}

#repWrapper span.first:hover, #repWrapper span.first.active{
  background-repeat: repeat;
}

#repWrapper span.middle{
  background-position:center top;
}

#repWrapper span.middle:hover, #repWrapper span.middle.active{
  background-repeat: repeat;
}

#repWrapper span.last{
  -webkit-border-top-right-radius: 7px;
  -webkit-border-bottom-right-radius: 7px;
  -moz-border-radius-topright: 7px;
  -moz-border-radius-bottomright: 7px;
  border-top-right-radius: 7px;
  border-bottom-right-radius: 7px;
}

#repWrapper span.last:hover, #repWrapper span.last.active{
  background-repeat: repeat;
}


/* Birthdate Modal */
#inputBirthdate {
  cursor: pointer;
}

#birthdateModal .modal-dialog {
  width: 320px;
}

#birthdateModal .modal-title {
  cursor: default;
}

#birthdateModal table {
  width: 100%;
}

#birthdateModal table td {
  text-align: center;
  height: 30px;
  margin: 0;
  padding: 2px;
  width: 14%;
  cursor: default;
}

#birthdateModal .form-control {
  width: 47%;
}

#birthdateModal .monthSelect {
  float: left;
}

#birthdateModal .yearSelect {
  float: right;
}

#birthdateModal .daysWeek td {
  color: #999999;
  font-weight: bold;
}

#birthdateModal td.inactive {
  color: #dddddd;
}

#birthdateModal tbody td {
  cursor: pointer;
}

#birthdateModal tbody td:hover {
  background-color: #B1DCFB;
}

#birthdateModal td.selected {
  background-color: #0089EC;
  color: #FFFFFF;
}

#popUp-modal .modal-content{
  width: 100%;
  height: 100%;
  border: none;
}
#popUp-modal .modal-dialog{
  padding: 0;
  border: none;
  margin-top: 3%;
}
#popUp-modal .modal-content .modal-body{
  padding: 0;
  position: relative;
  width: 100%;
  height: 100%;
}
#popUp-modal .modal-content .modal-body iframe{
  width: 100%;
  height: 100%;
  border: none;
}
#popUp-modal .modal-content .close{
  position: absolute;
  right: 5px;
  top: 5px;
  z-index: 100;
  font-size: 30px;
  font-weight: bold;
}
#popUp-modal .modal-body .iframeModalContent{
  z-index: 90;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

/* END BOOTSTRAP ADLEAD FIXES */

/* COOKIES BAR */

#topIndex {
  background-color: #333333;
  height: auto;
  overflow: hidden;
  position: relative;
  top: 0;
  width: 100%;
  z-index: 100;
}

.cookiesBar {
  color: #FFFFFF;
  padding: 4px 0;
  z-index: 10;
}

.cookiesText {
  font-size: 11px;
  line-height: 1;
  margin: 0;
  padding: 4px 0;
}

.cookiesText > a {
  color: inherit;
  text-decoration: underline;
}

.btnOk {
  float: right;
  padding: 0;
}

.btnOk > img {
  float: right;
}

#fancybox-wrap {
  padding: 0;
}

#fancybox-close {
  right: -15px;
}

#cookies-modal{
  z-index: 2000;
}

#cookies-modal iframe {
  width: 100%;
  height: 100%;
  border: none;
  position: relative;
  padding: 0 3%;
}

#cookies-modal .modal-body {
  -webkit-overflow-scrolling: touch;
  overflow-y: inherit;
  padding: 0;
  height: 80%;
}

#cookies-modal .modal-dialog {
  max-width: 600px;
  width: 90%;
  padding: 0;
  height: 90%;
  position: relative;
  left: 0;
  margin: 0 auto;
  max-height: 500px;
}

#cookies-modal .modal-content {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
}

/* END COOKIES */

/* START SELECT TAB */

span.select.focus{
  border-color: #66afe9;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(102, 175, 233, 0.6);
  -moz-box-shadow:    0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(102, 175, 233, 0.6);
  box-shadow:         0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(102, 175, 233, 0.6);
  outline: 0 none;
}

/* END SELECT TAB */


@media (min-width: 992px) and (max-width: 1199px) {
  .btnOk {
    margin-top: 0.5%;
  }
}

@media (max-width: 991px) {
  .cookiesText {
    line-height: 1.2;
  }
}

@media (max-width: 767px) {
  .cookiesText {
    font-size: 9px;
    width: 80%;
  }

  .cookiesBar {
    padding: 4px 10px;
  }

  .btnOk {
    width: 20%;
    padding: 0 0 0 10px;
  }
}

@media (max-width: 410px) {
  .cookiesText {
    font-size: 7px;
  }
}

@media (min-width: 320px) and (max-width: 410px) {

}

/* END COOKIES BAR */