/* Bootstrap own CSS modifications */

/** La declaración de abajo es para sobreescribir la declaración por defecto de Bootstrap que hace servir 'box-sizing: border-box;' y debemos poco a poco implementar el nuevo modelo de caja para finalmente eliminarla **/
* {
	box-sizing: inherit;
}

#vt_left form, #choose_dropdowns {
    box-sizing: content-box;
}
/** fin de declaración que debemos eliminar una vez finalizado el diseño **/

/** Override default Bootstrap styles **/
html, body {
	background-color: rgba(0, 0, 0, 0);
  color: #404040;
  font-size: 13px;
	line-height: inherit;	
	position: relative;
	top: 0;
}

html, body, .tooltip, .popover {
  font-family: Arial, Helvetica, sans-serif;
}

/* IE0+ */
@media screen and (min-width:0\0) {
	img {
		vertical-align: middle;
	}
  .popover {
    width: auto;
  }
}

h1, h2, h3, h4, h5, h6, p {
	margin: 0;
	line-height: inherit;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
	font-size: inherit;
}

ol, ul {
    margin-bottom: inherit;
    margin-top: inherit;
}

table {
    border-collapse: unset;
}

td, th {
    padding: 4px;
}

th {
    text-align: center;
}

.nav > li > a:focus, .nav > li > a:hover {
    background-color: transparent;
}

.table-responsive > .table > tbody > tr > td, .table-responsive > .table > tbody > tr > th, .table-responsive > .table > tfoot > tr > td, .table-responsive > .table > tfoot > tr > th, .table-responsive > .table > thead > tr > td, .table-responsive > .table > thead > tr > th {
    white-space: inherit;
}

.table-responsive > .table > tbody > tr > td
 {
  padding-left: 7px;
  padding-right: 7px;
}

a {
	color: #0071aa;
}

a:focus, a:link, a:visited {
  text-decoration:none;
	outline: medium none;
	color: #0071aa;
}

.row {
    margin-left: inherit;
    margin-right: inherit;
}

.btn.active.focus, .btn.active:focus, .btn.focus, .btn.focus:active, .btn:active:focus, .btn:focus {
	outline: none;
  color: inherit;
}

.btn.active, .btn:active {
	box-shadow: none;	
}

#application .modal-backdrop.in, #paymentContainer .modal-backdrop.in, #school .modal-backdrop.in, #school_overview.uniGuru .modal-backdrop.in {
    z-index: 11;
}

.modal {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.modal-header .close {
  margin-left: 10px;
}

/* tooltips */
.tooltip.in {
  opacity: 1;
}

.tooltip a {
    font-weight: bold;
}

.tooltip a:hover {
    text-decoration: underline;
}

/* popovers */
.popover {
  border-radius: 4px;
  border: 1px solid #c2c2c2;
  box-shadow: 0 2px 10px -2px rgba(0, 0, 0, 0.2);
  padding: 0;
  text-indent: 0;
  max-width: none;
}

.popover-content {
  white-space: nowrap;
  color: #555;
  padding: 9px 14px 14px;
}

ul.popover-content {
    list-style: outside none none;
}

.popover.bottom > .arrow {
    border-bottom-color: #c2c2c2;
}

/* Form control */
.input-sm {
	box-sizing: border-box;
}

/* Affix */
.affix {
	position: fixed !important;
}

/* Dropdown */
.dropdown-menu {
	left: auto;
	top: auto;
  width: auto;
  font-size: 13px;
}
.dropdown-menu > li > a {
	cursor: pointer;
}

/*!
 * Datepicker for Bootstrap
 *
 * Copyright 2012 Stefan Petre
 * Licensed under the Apache License v2.0
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 */
.datepicker {
  top: 0;
  padding: 4px;
  margin-top: 7px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  /*width: 118%;*/
}
.datepicker:before {
  content: '';
  display: inline-block;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #ccc;
  border-bottom-color: rgba(0, 0, 0, 0.2);
  position: absolute;
  top: -7px;
  left: 30px;
}
.datepicker:after {
  content: '';
  display: inline-block;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #ffffff;
  position: absolute;
  top: -6px;
  left: 31px;
}
/*.datepicker > div {
  display: none;
}*/
.datepicker table {
  width: 100%;
  margin: 0;
}
.datepicker td,
.datepicker th {
  text-align: center;
  width: 97px;
  height: 20px;
}
.datepicker td.day:hover {
  background: #eeeeee;
  cursor: pointer;
}
.datepicker td.day.disabled, .datepicker td span.month.disabled, .datepicker td span.year.disabled  {
  color: #e2e2e2;
}
.datepicker td.day.disabled:hover, .datepicker td span.month.disabled:hover, .datepicker td span.year.disabled:hover  {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    cursor: default;
}
.datepicker td.old,
.datepicker td.new {
  color: #999999;
}
.datepicker td.active,
.datepicker td.active:hover {
	font-weight: bold;
}
.datepicker td.active:hover,
.datepicker td.active:hover:hover,
.datepicker td.active:focus,
.datepicker td.active:hover:focus,
.datepicker td.active:active,
.datepicker td.active:hover:active,
.datepicker td.active.active,
.datepicker td.active:hover.active,
.datepicker td.active.disabled,
.datepicker td.active:hover.disabled,
.datepicker td.active[disabled],
.datepicker td.active:hover[disabled] {
  color: #ffffff;
  background-color: #fdd119;
}
.datepicker td.active:active,
.datepicker td.active:hover:active,
.datepicker td.active.active,
.datepicker td.active:hover.active {
  background-color: #003399 \9;
}
.datepicker td span {
  display: block;
  width: 63px;
  height: 54px;
  line-height: 54px;
  float: left;
  margin: 2px;
  cursor: pointer;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.datepicker td span.decade,
.datepicker td span.century{
   width: 135px; 
}

.datepicker td span:hover {
  background: #eeeeee;
}
.datepicker td span.active {
	font-weight: bold;
}
.datepicker td span.active:hover,
.datepicker td span.active:focus,
.datepicker td span.active:active,
.datepicker td span.active.active,
.datepicker td span.active.disabled,
.datepicker td span.active[disabled] {
  color: #ffffff;
  background-color: #f76301;
}
.datepicker td span.active:active,
.datepicker td span.active.active {
  background-color: #003399 \9;
}
.datepicker td span.old {
  color: #999999;
}
.datepicker th.switch {
  width: 145px;
}
.datepicker th.next, 
.datepicker th.prev {
    font-size: 1.2em;
    font-weight: normal;
}
.datepicker-days .clear, .datepicker th.next, .datepicker th.prev, .datepicker-switch, .datepicker-months .clear, .datepicker-years .clear {
    cursor: pointer;
}

.datepicker-years.datepicker-switch,
.datepicker-decades.datepicker-switch,
.datepicker-centuries.datepicker-switch{
    visibility: hidden;
}
.datepicker thead tr:first-child th:hover {
  background: #eeeeee;
}
.input-append.date .add-on i,
.input-prepend.date .add-on i {
  display: block;
  cursor: pointer;
  width: 16px;
  height: 16px;
}
/* END => Datepicker for Bootstrap */

.open > .dropdown-menu {
  display: block !important;
}

/* School page Bootstrap Carousel */
.carousel {
    background-color: #000;
    max-height: 480px;
    max-width: 1900px;
    margin: 0 auto; 
    position: relative;
}
.carousel-control.right, .carousel-control.left {
    background-image: none;
}
.carousel-control {
	width: 39%;
}
.carousel-control:hover .carouselArrows {
    opacity: 1;
}
.carousel-control .carouselArrows {
	opacity: 0.6;
}
#headerBigImgSchool a:focus, #headerBigImgSchool a:hover, #headerBigImgSchool a:link, #headerBigImgSchool a:visited {
    color: #fff;
}
/* END OF => School page Bootstrap Carousel */

/*
  Bootstrap Carousel Fade Transition (for Bootstrap 3.3.x)
  CSS from:       http://codepen.io/transportedman/pen/NPWRGq
  and:            http://stackoverflow.com/questions/18548731/bootstrap-3-carousel-fading-to-new-slide-instead-of-sliding-to-new-slide
  Inspired from:  http://codepen.io/Rowno/pen/Afykb 
*/
.carousel-fade .carousel-inner .item {
	opacity: 0;
	-webkit-transition-property: opacity;
	-moz-transition-property: opacity;
	-o-transition-property: opacity;
	transition-property: opacity;
	
	-webkit-transition-duration: 400ms;
	-moz-transition-duration: 400ms;
	-o-duration: 400ms;
	transition-duration: 400ms;
}

.carousel-fade .carousel-inner .active {
  opacity: 1;
}

.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  opacity: 0;
  z-index: 1;
}

.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}

.carousel-fade .carousel-control {
  z-index: 2;
}
/*
  WHAT IS NEW IN 3.3: "Added transforms to improve carousel performance in modern browsers."
  Need to override the 3.3 new styles for modern browsers & apply opacity
*/
@media all and (transform-3d), (-webkit-transform-3d) {
    .carousel-fade .carousel-inner > .item.next,
    .carousel-fade .carousel-inner > .item.active.right {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              -ms-transform: translate3d(0, 0, 0);
              -o-transform: translate3d(0, 0, 0);
              -moz-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.prev,
    .carousel-fade .carousel-inner > .item.active.left {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              -ms-transform: translate3d(0, 0, 0);
              -o-transform: translate3d(0, 0, 0);
              -moz-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.next.left,
    .carousel-fade .carousel-inner > .item.prev.right,
    .carousel-fade .carousel-inner > .item.active {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
              -ms-transform: translate3d(0, 0, 0);
              -o-transform: translate3d(0, 0, 0);
              -moz-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
}

/*** Forms ***/
.form-control:not(.defaultField) {
  border: medium none;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-border-radius: 4px !important;
  border-radius: 4px !important;
}

#paymentContainer .form-control {
    display: inline-block;
}

.form-group-sm .form-control:not(.defaultField) {
    color: #404040;
}

input[type="checkbox"], input[type="radio"] {
  margin: 0;
}
/* Chrome */
@supports (contain: paint) and (not (-moz-appearance: none)) {
  input[type="checkbox"], input[type="radio"] {
    vertical-align: middle;
  }
}
/**/

/** Clockpicker **/
.clockpicker-popover .popover-title span {
    color: #0071aa;
}

.clockpicker-button {
    color: #404040;
    font-size: 19px;
    font-weight: bold;
}


/* https://github.com/Artur-A/Bootstrap-Checkbox  */
label.checkbox-bootstrap input[type="checkbox"] {
  /* hide original check box */
  opacity: 0;
  position: absolute;
  cursor: pointer;
  /* find the nearest span with checkbox-placeholder class and draw custom checkbox */
  /* draw checkmark before the span placeholder when original hidden input is checked */
  /* disabled checkbox style */
  /* disabled and checked checkbox style */
  /* when the checkbox is focused with tab key show dots arround */
}

label.checkbox-bootstrap input[type="checkbox"] + span.checkbox-placeholder {
  display: inline-block;
  cursor: pointer;
  vertical-align: middle;
  text-align: center;
}

label.checkbox-bootstrap input[type="checkbox"]:checked + span.checkbox-placeholder::before {
  display: inline-block;
  position: relative;
  vertical-align: middle;
  /*checkmark arrow color*/
  border: solid #404040;
  border-width: 0 2px 2px 0;
  /*can be done with post css autoprefixer*/
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  content: "";
}

label.checkbox-bootstrap input[type="checkbox"]:disabled + span.checkbox-placeholder {
  background: #ececec;
  border-color: #c3c2c2;
}

label.checkbox-bootstrap input[type="checkbox"]:checked:disabled + span.checkbox-placeholder {
  background: #d6d6d6;
  border-color: #bdbdbd;
}

label.checkbox-bootstrap input[type="checkbox"]:focus:not(:hover) + span.checkbox-placeholder {
  outline: 1px dotted black;
}

label.checkbox-bootstrap.checkbox-lg input[type="checkbox"] + span.checkbox-placeholder {
  width: 26px;
  height: 26px;
  border: 1px solid;
  border-color: #404040;
}

label.checkbox-bootstrap.checkbox-lg input[type="checkbox"]:checked + span.checkbox-placeholder::before {
  width: 8px;
  height: 20px;
}

/** DEFAULT CALLOUTS **/
.bs-callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}
.bs-callout h4 {
    margin-top: 0;
    margin-bottom: 5px;
}
.bs-callout p:last-child {
    margin-bottom: 0;
}
.bs-callout code {
    border-radius: 3px;
}
.bs-callout+.bs-callout {
    margin-top: -5px;
}
.bs-callout-default {
    border-left-color: #777;
}
.bs-callout-default h4 {
    color: #777;
}
.bs-callout-primary {
    border-left-color: #428bca;
}
.bs-callout-primary h4 {
    color: #428bca;
}
.bs-callout-success {
    border-left-color: #5cb85c;
}
.bs-callout-success h4 {
    color: #5cb85c;
}
.bs-callout-danger {
    border-left-color: #d9534f;
}
.bs-callout-danger h4 {
    color: #d9534f;
}
.bs-callout-warning {
    border-left-color: #f0ad4e;
}
.bs-callout-warning h4 {
    color: #f0ad4e;
}
.bs-callout-info {
    border-left-color: #5bc0de;
}
.bs-callout-info h4 {
    color: #5bc0de;
}
/* END OF CALLOUTS */