﻿.m-a-0 { margin: 0 !important; }
.m-t-0 { margin-top: 0 !important; }
.m-b-0 { margin-top: 0 !important; }
.m-a { margin: 1.5rem !important; }
.m-t { margin-top: 1.5rem !important; }
.m-b { margin-bottom: 1.5rem !important; }
.m-l { margin-left: 1.5rem !important; }
.m-r { margin-right: 1.5rem !important; }
.m-x { margin-left: 1.5rem !important; margin-right: 1.5rem !important; }
.m-y { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }

.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
.text-justify { text-align: justify !important; }
.text-nowrap { white-space: nowrap; }

.awe-5x { font-size: 5em; }
.awe-6x { font-size: 6em; }

.main-navigation > ul > li ul {
  display: none;
  margin: 0 0 10px 28px;
  padding: 0;
  list-style: none;
  color: #088ec8;
}
.main-navigation > ul > li > a [class^="awe-"],
.main-navigation > ul > li > a [class*=" awe-"] {
  margin: 2px 10px 0 0;
}
.main-navigation > ul > li ul a {
    font-size: 12.5px;
}
.navigation-block header h1 {
  font-size: 17px;
  color: #3a87ad;
  text-shadow: 0px 1px 1px rgba(58, 135, 173, 0.25);
}
.navigation-block header h1 a {
  background-image: url("./img/logo.png");
  background-position: -74px -5px;
}

.user-profile figcaption strong {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.panel { border: 1px solid; border-radius: 4px; }
.panel-heading { 
  font-size: 16px; 
  line-height: 16px; 
  height: 16px; 
  border-bottom: 1px solid; 
  border-top-left-radius: 4px; 
  border-top-right-radius: 4px; 
  padding: 10px;
}
.panel-heading > .separator { margin: 0 5px; border-right: 1px solid; }
.panel-body { padding: 10px; }
.panel > .table { border-top: none; }

.panel-default { border-color: #ddd; }
.panel-default > .panel-heading { background-color: #f5f5f5; border-color: #ddd; }
.panel-default > .panel-heading > .separator { border-color: #ddd; }

.list-group-item { position: relative; padding: 10px 15px; border: 1px solid #ddd; margin-bottom: -1px; }
.list-group-item:first-child { border-top-right-radius: 4px; border-top-left-radius: 4px; }
.list-group-item:last-child { border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-bottom: 0px; }
.list-group-item.row-fluid { margin-bottom: -1px; width: auto; }

.accordion.no-border { border-bottom: 0; }
.accordion.no-border .accordion-group { border-style: none; }
.accordion .accordion-toggle { outline: 0; }

pre.no-style { box-shadow: none; border: none; background: none; }

.table.no-border { border-top: none; border-bottom: none; }
.table.no-border td { border-top: none; }

.dropdown-inline { display: inline; }

.datepicker th.prev,
.datepicker th.next {
  font-size: 21px;
}

body.modal-open .datepicker,
body.modal-open .bootstrap-timepicker-widget { z-index: 1060; }

.validation-summary-errors ul {
  list-style-type: none;
  margin: 0;
}

.field-validation-error {
    color: #b94a48;
}

.empty-result {
    margin: 50px 0;
}

.empty-result + table.table {
    display: none;
}

.empty-result > [class^="awe-"], .empty-result > [class*=" awe-"] {
    opacity: 0.2;
}

.bg-blue { background-color: #57889c !important; color: white; }
.bg-blue-dark { background-color: #4c4f53 !important; color: white; }

/* jQuery DataTables */
.dataTables_wrapper > .row:first-child,
.dataTables_wrapper > .row-fluid:first-child {
  margin-bottom: 0px;
}
.dataTables_wrapper .dataTables_processing {
  position: absolute;
  left: 50%;
  font-size: 1.1em;
  margin-left: -50px;
  padding: 8px;
}

.dataTables_wrapper table.table thead .sorting {
    padding-right: 18px;
}

.dataTables_empty {
  text-align: center !important;
  font-size: 1.2em;
  padding: 20px 0 !important;
}

/* horarios */
.shift {
  min-width: 110px;
}

.shift a { 
  margin-left: 3px;
}

.shift:hover a {
  text-decoration: none;
}

.shift a {
    opacity: 0.4;
}

.shift:hover a {
  opacity: 1.0;
}

/* select2 */
.select2-container--bootstrap .select2-selection--single,
.select2-container--bootstrap .select2-selection--multiple {
    border: 1px solid #ccc;
    box-shadow: inset 0 0 4px #d9d9d9;
    padding: 0 6px;
    border-radius: 4px;
}

.select2-container--bootstrap.select2-container--focus .select2-selection--single,
.select2-container--bootstrap.select2-container--focus .select2-selection--multiple {
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(0,0,0,0.2);
}

.select2-container--bootstrap.select2-container--below.select2-container--open .select2-selection {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.select2-container--bootstrap.select2-container--above.select2-container--open .select2-selection {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.select2-container--bootstrap .select2-selection--multiple:focus {
    border-color: #bfbfbf;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(0,0,0,0.2);
}

.select2-container--bootstrap .select2-selection--multiple .select2-selection__rendered {
    margin: 0;
    padding: 0 !important;
    list-style: none;
    width: 100%;
}

.select2-container--bootstrap .select2-search--inline .select2-search__field {
    box-shadow: none;
    margin-bottom: 0;
}

.select2-container--bootstrap .select2-selection--single .select2-selection__clear,
.select2-container--bootstrap .select2-selection--multiple .select2-selection__clear {
    float: right;
    font-size: 1.5em;
    font-weight: bold;
    color: #999;
    width: 20px;
    text-align: center;
}

.select2-container--bootstrap .select2-selection--single .select2-selection__clear {
    left: 8px;
}

.select2-container--bootstrap .select2-selection--multiple .select2-selection__clear {
    margin-top: 7px;
}

.select2-container--bootstrap .select2-selection--multiple .select2-selection__choice {
    float: left;
    padding: 0 5px;
    margin-right: 5px;
    margin-top: 4px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.select2-container--bootstrap .select2-selection--multiple .select2-selection__choice__remove {
    font-size: 1.5em;
    font-weight: bold;
    margin-right: 4px;
    color: #999;
    vertical-align: middle;
}

.select2-container--bootstrap .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: inherit;
}

.select2-search--dropdown .select2-search__field {
    border-radius: 0;
    box-shadow:none;
    height: 25px;
}

.select2-container--bootstrap .select2-results > .select2-results__options {
    max-height: 200px;
    overflow-y: auto;
}

.select2-container--bootstrap .select2-results__option--highlighted[aria-selected] {
    background-color: #0887be;
    color: white;
}

.select2-container--bootstrap .select2-selection--single .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 1px;
    right: 1px;
    width: 20px;
}

.select2-container--bootstrap .select2-selection--single .select2-selection__arrow b {
    border-color: #ccc transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    left: 50%;
    margin-left: -4px;
    margin-top: -2px;
    position: absolute;
    top: 50%;
    width: 0;
}

.select2-container--disabled .select2-selection {
    cursor: not-allowed !important;
    background-color: #eee;
}

.select2-dropdown {
    border-color: #ccc !important;
    border-radius: 0 !important;
}

.select2-selection__rendered {
    padding-top: 4px;
    padding-left: 0 !important;
}

.select2-selection__placeholder {
    color: #aaa;
}

.select2-container .select2-selection--single {
    user-select: text !important;
    -webkit-user-select: text !important;
}

.table-scroll { overflow-x: auto; margin-bottom: 15px; }

.table-grades td {
    width: 30px;
    min-width: 30px;
    border-top: 1px solid #dddddd;
    border-left: 1px solid #dddddd;
    border-right: 1px solid #dddddd;
    vertical-align: middle;
    text-align: center;
    padding: 4px;
}

.table-header-rotated {
    margin-left: 1px; /* Mostrar el borde de la izq. */
    border-bottom: 1px solid #ddd;
}

.table-header-rotated td.row-header{
    width: auto;
    text-align: left;
}

.table-header-rotated th.rotate-45{
    height: 120px;
    width: 40px;
    min-width: 40px;
    max-width: 40px;
    position: relative;
    vertical-align: bottom;
    padding: 0;
    line-height: 0.8;
}

.table-header-rotated th.rotate-45 > div{
    position: relative;
    top: 0px;
    left: 60px; /* 80 * tan(45) / 2 = 40 where 80 is the height on the cell and 45 is the transform angle*/
    height: 100%;
    -ms-transform:skew(-45deg,0deg);
    -moz-transform:skew(-45deg,0deg);
    -webkit-transform:skew(-45deg,0deg);
    -o-transform:skew(-45deg,0deg);
    transform:skew(-45deg,0deg);
    overflow: hidden;
    border-left: 1px solid #dddddd;
    border-right: 1px solid #dddddd;
    border-top: 1px solid #dddddd;
}

.table-header-rotated th.rotate-45 span {
    -ms-transform:skew(45deg,0deg) rotate(315deg);
    -moz-transform:skew(45deg,0deg) rotate(315deg);
    -webkit-transform:skew(45deg,0deg) rotate(315deg);
    -o-transform:skew(45deg,0deg) rotate(315deg);
    transform:skew(45deg,0deg) rotate(315deg);
    position: absolute;
    bottom: 50px; /* cambiar según el alto de th */
    left: -57px; /* cambiar según el alto de th */
    display: inline-block;
    width: 141px; /* 80 / cos(45) - 40 cos (45) = 85 where 80 is the height of the cell, 40 the width of the cell and 45 the transform angle*/
    text-align: left;
}

.table-header-rotated th.rotate-45.text-nowrap div {
    white-space: nowrap;
}

.table-header-rotated th.rotate-45.text-nowrap span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.table-header-rotated th.rotate-90 {
    height: 120px;
    position: relative;
    vertical-align: bottom;
    padding: 0;
    line-height: 0.8;
}

.table-header-rotated th.rotate-90 > div {
    position: relative;
    top: 0px;       
    height: 100%;       
    overflow: hidden;
}

.table-header-rotated th.rotate-90 span {
    -ms-transform:rotate(-90deg);
    -moz-transform:rotate(-90deg);
    -webkit-transform:rotate(-90deg);
    -o-transform:rotate(-90deg);
    transform:rotate(-90deg);
    position: absolute;
    bottom: 70px; 
    left: -58px;
    display: inline-block;
    width: 140px;
    text-align: left;
    letter-spacing: 0.1px;
}

@media (max-width: 800px) {
  .table-responsive {
    width:100%;
	  margin-bottom:15px;
    overflow-y:hidden;
    -ms-overflow-style:-ms-autohiding-scrollbar;
    border:1px solid #ddd
  }
  .table-responsive > .table { margin-bottom:0 }
  .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:nowrap
  }
  .table-responsive > .table-bordered { border:0 }
  .table-responsive > .table-bordered > tbody > tr > td:first-child,
  .table-responsive > .table-bordered>tbody > tr > th:first-child,
  .table-responsive > .table-bordered>tfoot > tr > td:first-child,
  .table-responsive > .table-bordered>tfoot > tr > th:first-child,
  .table-responsive > .table-bordered>thead > tr > td:first-child,
  .table-responsive > .table-bordered>thead > tr > th:first-child {
    border-left:0
  }
  .table-responsive > .table-bordered>tbody > tr > td:last-child,
  .table-responsive > .table-bordered>tbody > tr > th:last-child,
  .table-responsive > .table-bordered>tfoot > tr > td:last-child,
  .table-responsive > .table-bordered>tfoot > tr > th:last-child,
  .table-responsive > .table-bordered>thead > tr > td:last-child,
  .table-responsive > .table-bordered>thead > tr > th:last-child {
    border-right:0
  }
  .table-responsive > .table-bordered > tbody > tr:last-child > td,
  .table-responsive > .table-bordered > tbody > tr:last-child > th,
  .table-responsive > .table-bordered > tfoot > tr:last-child > td,
  .table-responsive > .table-bordered > tfoot > tr:last-child > th {
    border-bottom:0
  }

    .nav-collapse, .nav-collapse.collapse {
        height: auto;
        overflow: hidden;
    }
}

