@CHARSET "UTF-8";
/*****************************************************************************
*    Proyect: Xunta Galicia - Notifica.gal
*    Description: Styles for table module
*    Índice:
        1. GRID
        2. TABLAS TRABAJO
        3. TABLA NOTIFICACIONES
        4. DATATABLES
        5. TABLA RESPONSIVE
******************************************************************************/

/* 1. GRID */

.col-sm-1, .col-md-1, .col-xs-2, .col-sm-2, .col-md-2, .col-xs-3, .col-sm-3, .col-md-3, .col-xs-4, .col-sm-4, .col-md-4, .col-xs-5, .col-sm-5, .col-md-5, .col-xs-6, .col-sm-6, .col-md-6, .col-xs-7, .col-sm-7, .col-md-7, .col-xs-8, .col-sm-8, .col-md-8, .col-xs-9, .col-sm-9, .col-md-9, .col-xs-10, .col-sm-10, .col-md-10, .col-xs-11, .col-sm-11, .col-md-11, .col-xs-12, .col-sm-12, .col-md-12 {
   position: relative;
   min-height: 1px;
   padding-left: 15px;
   padding-right: 15px;
 }

 @media (min-width: 992px) {
   .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
     float: left;
   }
   .col-md-12 {
     width: 100%;
   }
   .col-md-11 {
     width: 91.66666667%;
   }
   .col-md-10 {
     width: 83.33333333%;
   }
   .col-md-9 {
     width: 75%;
   }
   .col-md-8 {
     width: 66.66666667%;
   }
   .col-md-7 {
     width: 58.33333333%;
   }
   .col-md-6 {
     width: 50%;
   }
   .col-md-5 {
     width: 41.66666667%;
   }
   .col-md-4 {
     width: 33.33333333%;
   }
   .col-md-3 {
     width: 25%;
   }
   .col-md-2 {
     width: 16.66666667%;
   }
   .col-md-1 {
     width: 8.33333333%;
   }
 }

 @media (min-width: 1100px) and (max-width: 1500px)  {
     .col-sm-8 {
       width: 76% !important;
     }
  }

 @media (min-width: 576px) and (max-width: 1100px)  {
    .col-sm-12 {
      width: 100%;
    }
    .col-sm-8 {
      width: 100% !important;
    }
 }

 @media (max-width: 800px) {
    .col-md-11 {
      width: 100% !important;
    }

    .col-md-9 {
          width: 100% !important;
    }
 }

/* 2. TABLAS TRABAJO */

a.tablasTrabajo {
	display: block;
	color: #333333;
	text-decoration: none;
	padding: 3px;
}

a.tablasTrabajo:hover {
	text-decoration: none;
	color: white;
}

th.tablaTitulo a {
	text-decoration: none;
	color: #007BC4;
}

th.tablaTitulo a:hover {
	text-decoration: underline;
}

table.tablasTrabajo th.tablaTitulo {
	background-color: white;
	white-space: nowrap;
	text-align: center;
	color: #333;
	padding: 6px 3px;
	border-bottom: 2px solid #007BC4 !important;
}

table.tablasTrabajo th.tablaTitulo.esquerda {
	text-align: left;
}

table.tablasTrabajo td.esquerda {
	text-align: left;
}

table.tablasTrabajo td.subApartado {
	border-bottom: 1px solid #CCCCCC;
}

table.tablasTrabajo tr.destacadoTablas td {
	background-color: #D7F1FB;
	cursor: pointer;
}

a.tablasTrabajo {
	display: block;
	color: #333333;
	text-decoration: none;
	padding: 3px;
}

a.tablasTrabajo:hover {
	text-decoration: none;
	color: #007BC4;
}

table.tablasTrabajo td input {
	padding: 1px;
	margin: 4px 3px 4px 25px;
	color: #666666;
}

table.tablasTrabajo td select {
	border: 1px solid #007BC4;
	margin: 4px 3px 4px 25px;
	padding: 1px 0;
	width: 224px;
}

table.tablasTrabajo td input.centrado {
	margin-left: 110px;
}

/* 3. TABLA NOTIFICACIONES */

#tablaNotificaciones table.dataTable tbody th, table.dataTable tbody td {
	padding: 8px 5px !important;
}

#tablaNotificaciones table.dataTable tbody th, table.dataTable tbody td input {
	margin:5px 8px 5px 8px !important;
}

/* 4. DATATABLES */
table {
	width: 100%;
	font-size: 0.95rem;
	border-collapse: collapse;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  margin: 0 0.45455em 0 0;
  padding: 0.18182em 0.54545em;
  font-size: 0.75em;
  color: #666666;
  text-indent: 0;
  text-decoration: none;
  background: #FFF;
  border: 1px solid #666666;
  border-radius: 0;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.previous, .dataTables_wrapper .dataTables_paginate .paginate_button.next {
  position: relative;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.previous:after, .dataTables_wrapper .dataTables_paginate .paginate_button.next:after {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  text-indent: 0;
  height: 16px;
  margin-top: -8px;
  margin-left: -9px;
}

.dataTables_length {
    margin-bottom:20px;
}

.dataTables_wrapper .dataTables_info {
    padding-top: 0.955em !important;
    padding-bottom: 1.0em !important;
    font-size: 1.00rem !important;
}

.dataTables_wrapper .dataTables_paginate {
	padding-top: 0.35em !important;
	padding-bottom: 1.0em !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  color: #FFF !important;
  background: #007BC4 !important;
  border: 1px solid #007BC4 !important;
  border-radius: 0 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  color: #007BC4 !important;
  background: #FFFFFF !important;
  border: 1px solid #007BC4 !important;
  border-radius: 0 !important;
}

table.tablasTrabajo td {
	color: #333333;
	background-color: #FFFFFF;
	font-weight: normal;
	text-align: center;
	border-bottom: 1px solid #007BC4;
	text-overflow: ellipsis;
	overflow: hidden;
}

table.tablasTrabajo td a {
    color: #333333;
    text-decoration: none;
}

.dataTables_wrapper label {
    font-size: 1.00rem !important;
}

table.dataTable, table.dataTable th, table.dataTable td {
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    box-sizing: border-box !important;
}

/* 5. TABLA RESPONSIVE */

.table-responsive::-webkit-scrollbar {
    height: 13px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #fff;
    border: 4px solid #fff;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #007bc4;
    border-radius: 20px;
    cursor: pointer;
}

.table-responsive {
    scrollbar-width: thin;
    scrollbar-color: #007bc4 #FFFFFF;
}