/*   
Theme Name: Secretarias | Gobierno del Estado de Tamaulipas 2016-2022
Theme URI: http://www.tamaulipas.gob.mx
Description: Tema de Secretarias de Gobierno del Estado de Tamaulipas 2016-2022
Author: Departamento de Diseño Gráfico y Producción Web | Dirección de Internet
Author URI: http://www.tamaulipas.gob.mx
Version: 1.0
*/

/** Fonts **/
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,800);
/* font-family: 'Open Sans', sans-serif; */
@import url(https://fonts.googleapis.com/css?family=Roboto+Condensed:300,400,700);
/* font-family: 'Roboto Condensed', sans-serif; */
@import url(//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css);

.fade-enter-active, .fade-leave-active {
  transition: opacity .5s
}
.fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {
  opacity: 0
}

/* Generales */
body{
	font-family: 'Open Sans', sans-serif;
	color:#555;
	font-size:14px;
	font-weight:400;
	line-height:23px;
	overflow-x: hidden;
}

a {
	transition:all .5s;
	-webkit-transition:all .5s;
	-moz-transition:all .5s;
	-ms-transition:all .5s;
	-o-transition:all .5s;
}

a:hover {
	text-decoration:none;
}

.clean-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.clean-list li{
	display: inline-block;
}

.clean-list ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.scrolloff {
  pointer-events: none;
}

.img-gobernador {
  border: 1px solid #dbdbdb;
  padding: 10px;
  width: 350px;
  display: block;
  margin: 0 auto !important;
}

.ssba-wrap{
	margin-bottom: 20px;
}

form label span.requerido {
	color: red;
	font-size: 12px;
}


/* Logo - Redes */
a.logo-a {
    min-height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Menú Principal */

#menu-secretarias {
  background: #005cb9;
  height: 60px;
}

#menu-secretarias #menu-menu-principal {
  width: 100%;
}

#menu-menu-principal > li {
	height:60px;
	float: left;
}

#menu-menu-principal > li > a {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 1em;
  padding: 0 20px;
  position: relative;
  text-transform: uppercase;
  font-weight: 300;
  height: 60px;
  display: flex;
  align-items: center;
  line-height: 1.3em;
  color: #FFF;
}

#menu-menu-principal > li:hover > a{
	background: #014e9c;
}

.menu-item.menu-item-has-children {
  position: relative;
}

.sub-menu {
  margin: 0;
  padding: 0;
}

#menu-menu-principal li .sub-menu .menu-item:hover {
  background: #e8e8e8;
}

#menu-menu-principal li .sub-menu {
  position: absolute;
  background: #fbfbfb;
  border-bottom: 3px solid #014e9c;
  display: none;
}

#menu-menu-principal li.derecha .sub-menu{
	right:0;
}

#menu-menu-principal .sub-menu li a {
  font-family: 'Open Sans';
  font-size: .9em;
  color: #014e9c;
  padding: 0 20px;
  display: block;
  line-height: 3em;
  white-space:nowrap;
}

#menu-menu-principal .sub-menu li {
  display: block;
}

#menu-menu-principal .menu-item:hover > .sub-menu {
  z-index: 999;
  display: block;
}

#menu-menu-principal .sub-menu i.mas{
  position: absolute;
  right: 5px;
  top: 13px;
  color: #014e9c;
}

#menu-menu-principal li:hover > .sub-menu > li > .sub-menu{
	background: #fbfbfb;
}

#menu-menu-principal li:hover > .sub-menu > li > .sub-menu > li:hover{
	background: #e8e8e8;
}

#menu-menu-principal .sub-menu .menu-item .sub-menu{
	top: 0;
	left: 100%;
}

/* http://codepen.io/tbatch/pen/gMYWrM */

/* Menu Movil */
#barras-boton {
  line-height: 100px;
  font-size: 3em;
  text-align: right;
}

input[name="menu-toggle"] {
  display: none;
}

#menu-btn {
  top: 0px;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  cursor: pointer;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
} 

.menu-bars {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: 35px;
  height: 20px;
  margin-top: -5px;
}

.menu-bars span {
  display: block;
  width: 100%;
  height: 4px;
  background-color: #fff;
  margin-bottom: 7px;
  transition: all 300ms ease;
}

.menu-bars span:last-child {
  margin-bottom: 0;
}

#menu-open:checked + .container #row-cabecera > #barras-boton .menu-btn-container label .menu-bars span {
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  top: 10px;
  left: 0;
}

#menu-open:checked + .container #row-cabecera > #barras-boton label .menu-bars span:last-child {
  -webkit-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  transform: rotate(135deg);  
}

#menu-open:checked ~ #row-menu-movil {
  transform: scaleY(1);
  display: block;
}

#row-menu-movil {
  overflow: hidden;
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 0.26s ease;
  display: none;
}

#row-menu-movil.showing-menu {
  transform: scaleY(1); 
}

.nav-menu li{ 
  list-style: none; 
  position: relative;
  display: inherit;
}  
  
.nav-menu li a { 
  transition: 0.2s;
  display: block;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: lighter;
  color: #fff;
  line-height: 50px;
  /*white-space: nowrap;*/
  text-transform: uppercase;
}

.sub-open, .nav-menu li a:hover {
  transition: all 0.3s;
  text-indent:10px;
} 

.nav-menu .menu-item-has-children .menu-flecha  {
  position: absolute;
  cursor: pointer;
  top: 0px;
  right: 0px;
  width: 65px;
  line-height: 50px;
  transition: all 0.5s;
  content: "\f107";
  background-size: 14px; 
  color: #fff;
  text-align: center;
  font-size: 1.5em;
}
 
.open{
  transform: rotateX(180deg);
}

.nav-menu .sub-menu{
  display:block;
  width: 100%;
  height: 0px;
  overflow: hidden;
  z-index: 2;
}

.nav-menu .sub-menu li a{
  text-indent:30px;
  font-family: 'Open Sans';
  font-size: .9em;
  color: #fff;
  display: block;
  line-height: 50px;
  white-space: nowrap;
  text-transform: initial;
}

.nav-menu li a > br{
  content: " ";
  display: inline-block;
  width: 3px;
}

.nav-menu li ul {
  position: absolute;
  right: 0;
  margin: 0;
  padding: 0;
}

li.hijo > ul.sub-menu > li a{
  text-indent:50px;
}

/* Bloques configurables */
.bloque-index {
	margin-bottom: 30px;
}
.bloque-index ~ .bloque-index {
	margin-top: 30px;
}

.owl-theme .owl-controls {
  margin: 0;
}

.owl-controls .owl-nav [class*=owl-] {
  background: #FFF !important;
  color: #333 !important;
  font-size: 20px !important;
  padding: 15px !important;
  border-radius: 0;
  opacity: .7;
}

.owl-controls .owl-nav [class*=owl-]:hover {
  background: #FFF !important;
  color: #333 !important;
  opacity: 1;
}

.owl-controls .owl-prev,
.owl-controls .owl-next {
  position: absolute;
  top: 0;
  bottom: 0;
  height: 50px;
  margin: auto !important;
}

.owl-controls .owl-prev {
  left: 0;
}

.owl-controls .owl-next {
  right: 0;
}

.owl-controls .owl-dots {
  display: none !important;
}



/** Interiores **/

/* Breadcrumbs */
div#breadcrumbs {
  margin-top: 10px;
  margin-bottom: 20px;
  color: #777c80;
  font-size: .9em;
}

div#breadcrumbs a span{
  color: #40B4E5;
}

/* Content */

#the_content {
  color: #333;
}

h1#the_title {
	margin: 20px 0;
  font-size: 2.5em;
  text-transform: uppercase;
  color: #333;
  font-family: 'Roboto condensed', sand-serif;
	border-left: 5px solid #95d600;
  font-weight: 600;
  padding-left: 20px;
}

#the_category a {
  color: #40b4e5;
  font-size: 0.9em;
}

table.table-gobtam thead tr {
border-top: 4px solid #005cb9;
background: #f5f5f5;
}

table.table-gobtam thead td {
font-size: 12px;
text-transform: uppercase;
font-weight: bold;
padding: 12px !important;
}

table.table-gobtam tbody td {
font-size: 13px;
}
.owl-gallery .item + .item {
  display: none;
}

#the_meta {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 5px 0;
  font-size: 11px;
}

#the_meta li{
	margin-right: 10px;
}

#the_meta li a {
	color: #646569;
}


/* Footer */

#footer {
	overflow: hidden;
}

#footer-bg {
  background: -moz-linear-gradient(left, #005CB9 0%, #005CB9 50%,#f5f5f5 50%, #f5f5f5 100%);
  background: -webkit-linear-gradient(left, #005CB9 0%, #005CB9 50%,#f5f5f5 50%,#f5f5f5 100%);
  background: linear-gradient(to right, #005CB9 0%,#005CB9 50%,#f5f5f5 50%,#f5f5f5 100%);
}

#footer-links {
  background: #f5f5f5;
}

#footer h2 {
  font-size: .9em;
  text-transform: uppercase;
  font-weight: bold;
  color: #333e48;
  font-family: 'Roboto Condensed', sans-serif;
  margin-bottom: 20px;
  padding-top: 20px;
  margin-top: 0;
}

#footer .info h2 {
  color: white;
}

#footer .menu li {
    display: block;
    line-height: 1.2;
    margin-bottom: 7px;
}

#footer .menu li a {
  color: #5c6670;
  font-size: 0.9em;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: lighter;
}

#footer .info p {
  font-size: .8em;
  color: white;
  margin-bottom: 0;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: lighter;
}

#footer .info p:last-child {
  padding-bottom: 30px;
}

.diag-spacer {
	display: inline-block;
	position: absolute;
	transform: rotate(-20deg);
	bottom: -100px;
	z-index: 0;
	left: 50%;
	z-index: 9;
}

.diag-spacer .mask {
	overflow: hidden;
	width: 20px;
	height: 400px;
}

.diag-spacer .mask:after {
	content: '';
	display: block;
	margin-left: -20px;
	width: 20px;
	height: 100%;
	border-radius: 12px / 125px;
	box-shadow: 0 0 10px #95D600;
}

div#footer-diagonal-color {
  overflow: hidden;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

div#footer-diagonal-color:after {
  content: '';
  background: #f5f5f5;
  height: 400px;
  width: 100%;
  display:block;
  transform: rotate(-20deg);
  position:absolute;
  z-index: 0;
  bottom: -100px;
  left: 53%;
  z-index: 0;
}

#footer-rows > div {
  min-height: 200px;
}


/* Liston inferior */

#liston-inferior {
  text-align: center;
  color: white;
  font-size: .9em;
  line-height: 35px;
  height: 35px;
  background: #646569;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: lighter;
  position: relative;
}

.titulo-sidebar {
    margin: 0;
    padding: 0;
    margin-top: 30px;
    font-size: 1.3em;
    overflow: hidden;
    background: -moz-linear-gradient(left, #1f5fac 0%, #1f5fac 50%,#FFFFFF 50%, ##FFFFFF 100%);
    background: -webkit-linear-gradient(left, #1f5fac 0%, #1f5fac 50%,#FFFFFF 50%, #FFFFFF 100%);
    background: linear-gradient(to right, #1f5fac 0%, #1f5fac 50%,#FFFFFF 50%, #FFFFFF 100%);
    position: relative;
    font-family: 'Roboto Condensed', sans-serif;
}
h2.titulo-sidebar a {
    color: white;
    background: #1f5fac;
    display: block;
    width: 100%;
    height: 100%;
    padding: 10px;
    transform: skew(20deg);
    width: 90%;
}
.titulo-sidebar a:before {
    content: '';
    position: absolute;
    right: 0px;
    width: 5px;
    top: 0;
    height: 100%;
    background: -moz-linear-gradient(bottom, #95c03a 0%, #3fabde 100%);
    background: -webkit-linear-gradient(bottom, #95c03a 0%, #3fabde 100%);
    background: linear-gradient(to top, #95c03a 0%, #3fabde 100%);
}
.titulo-sidebar a span {
    transform: skew(-20deg);
    display: block;
}

a.link-foto {
    display: block;
    width: 100%;
    height: 100%;
}



#img-secretario {
    width: 150px;
    height: 150px;
    background-position: center center;
    background-size: cover;
    border-radius: 75px;
    border: 10px solid white;
    box-shadow: 0px 0px 4px rgba(0,0,0,0.3);
}

/* Footer especial */
#footer-no-diagonal {
    background: -moz-linear-gradient(left, #005CB9 0%, #005CB9 50%,#f5f5f5 50%, #f5f5f5 100%);
    background: -webkit-linear-gradient(left, #005CB9 0%, #005CB9 50%,#f5f5f5 50%,#f5f5f5 100%);
    background: linear-gradient(to right, #005CB9 0%,#005CB9 50%,#f5f5f5 50%,#f5f5f5 100%);
}

/* Tabs */
.nav-tabs > li > a {
  margin-right: 2px;
  line-height: 1.42857143;
  border-bottom: 1px solid #ddd;
  border-radius: 4px 4px 0 0;
  background: #FFF;
  border-top: 3px solid #ddd;
  color: #666;
}

.nav-tabs > li > a:hover{
	background: #fcfcfc;
	border-top: 3px solid #ddd;
}

.nav-tabs > li.active > a, 
.nav-tabs > li.active > a:focus, 
.nav-tabs > li.active > a:hover {
  color: #555;
  cursor: default;
  background-color: #fff;
  border: 1px solid #ddd;
  border-bottom-color: transparent;
  border-top: 3px solid #005CB9;
  color: #005CB9;
}
/* Media Querys */

@media (max-width: 767px)  {
	/* Tabs Responsive */
	.nav-tabs.responsive > li {
	  display: none;
	  width: 23%;
	}
	
	.nav-tabs.responsive > li > a {
	  max-width: 100%;
	  overflow: hidden;
	  text-overflow: ellipsis;
	  white-space: nowrap;
	  word-wrap: normal;
	  width: 100%;
	  width: 100%;
	  text-align: center;
	  vertical-align: top;
	}
	
	.nav-tabs.responsive > li.active {
	  width: 54%;
	}
	
	.nav-tabs.responsive > li.active:first-child {
	  margin-left: 23%;
	}
	
	.nav-tabs.responsive > li.active, .nav-tabs.responsive > li.prev, .nav-tabs.responsive > li.next {
	  display: block;
	}
	
	.nav-tabs.responsive > li.prev, .nav-tabs.responsive > li.next {
	  -webkit-transform: scale(0.9);
	  transform: scale(0.9);
	}
	
	.nav-tabs.responsive > li.next > a, .nav-tabs.responsive > li.prev > a {
	  -webkit-transition: none;
	  transition: none;
	}
	
	.nav-tabs.responsive > li.next > a .text, .nav-tabs.responsive > li.prev > a .text {
	  display: none;
	}
	
	.nav-tabs.responsive > li.next > a:after, .nav-tabs.responsive > li.next > a:after, .nav-tabs.responsive > li.prev > a:before, .nav-tabs.responsive > li.prev > a:before {
	  position: relative;
	  top: 1px;
	  display: inline-block;
	  font-family: 'Glyphicons Halflings';
	  font-style: normal;
	  font-weight: 400;
	  line-height: 1;
	  -webkit-font-smoothing: antialiased;
	  -moz-osx-font-smoothing: grayscale;
	}
	
	.nav-tabs.responsive > li.prev > a:before {
	  content: "\e079";
	}
	
	.nav-tabs.responsive > li.next > a:after {
	  content: "\e080";
	}
	
	.nav-tabs.responsive > li.dropdown > a > .caret {
	  display: none;
	}
	
	.nav-tabs.responsive > li.dropdown > a:after {
	  content: "\e114";
	}
	
	.nav-tabs.responsive > li.dropdown.active > a:after {
	  display: none;
	}
	
	.nav-tabs.responsive > li.dropdown.active > a > .caret {
	  display: inline-block;
	}
	.nav-tabs.responsive > li.dropdown .dropdown-menu.pull-xs-left {
	  left: 0;
	  right: auto;
	}
	
	.nav-tabs.responsive > li.dropdown .dropdown-menu.pull-xs-center {
	  right: auto;
	  left: 50%;
	  -webkit-transform: translateX(-50%);
	  -moz-transform: translateX(-50%);
	  -ms-transform: translateX(-50%);
	  -o-transform: translateX(-50%);
	  transform: translateX(-50%);
	}
	
	.nav-tabs.responsive > li.dropdown .dropdown-menu.pull-xs-right {
	  left: auto;
	  right: 0;
	}
	
}

@media (max-width: 767px)  {
	
	#links-liston-superior{
    float: none !important;
    clear: both;
    text-align: center;
  }
    
  #liston-superior {
    height: auto;
    overflow: hidden;
  }
  
  .form-buscador.showing-search .form-control {
    width: 160px;
  }
  
  
  #liston-inferior {
    height: auto;
    line-height: 2;
    padding: 0 10px;
	}
	
	#to-break {
		display: block;
		font-size: 0;
	}
		
}

@media (max-width: 991px) {
	
	#menu-secretarias {
    background: #005cb9;
    height: auto;
	}
	
	#links-liston-superior {
		font-size: 16px;
	}
	
	#footer-bg {
		text-align: center;
	  background: #f5f5f5;
	}
	
	#footer-rows.cols-same-height > div {
    height: auto !important;
	}
	
	div.info {
    background: #005CB9;
	}
	
	#footer {
    padding-top: 30px;
    font-size: 17px;
	}
	  	
}

@media (min-width: 992px) and (max-width: 1199px)  {
	
	#menu-menu-principal > li > a {
		padding: 0 14px;
	}
   
	#row-cabecera .menu-escritorio{
		height: 116px;
	}
		
  #links-servicios-linea li {
    line-height: 1.3;   
  }
  
}

/** NO Padding/Margin **/

.no-padding{padding:0;}
.no-left-padding{padding-left:0;}
.no-right-padding{padding-right:0;}
.no-top-padding{padding-top:0;}
.no-bottom-padding{padding-bottom:0;}
.no-margin{margin:0;}
.no-left-margin{margin-left:0;}
.no-right-margin{margin-right:0;}
.no-top-margin{padding-top:0;}
.no-bottom-margin{margin-bottom:0;}

/** Margenes **/
.mt5{margin-top:5px !important;}				.mt10{margin-top:10px !important;} 			.mt15{margin-top:15px !important;}
.mt20{margin-top:20px !important;}			.mt30{margin-top:30px !important;} 			.mt40{margin-top:40px !important;}
.mt50{margin-top:50px !important;} 			.mt60{margin-top:60px !important;}
.mb5{margin-bottom:5px !important;} 		.mb10{margin-bottom:10px !important;} 	.mb15{margin-bottom:15px !important;}
.mb20{margin-bottom:20px !important;} 	.mb30{margin-bottom:30px !important;} 	.mb40{margin-bottom:40px !important;}
.mb50{margin-bottom:50px !important;} 	.mb60{margin-bottom:60px !important;}


/** Wordpress Core **/
.alignnone{margin: 5px 20px 20px 0;}
.aligncenter, div.aligncenter{display: block; margin: 5px auto 5px auto;}
.alignright{float:right; margin: 5px 0 20px 20px;}
.alignleft{float: left; margin: 5px 20px 20px 0;}
.aligncenter{display: block; margin: 5px auto 5px auto;}
a img.alignright{float: right; margin: 5px 0 20px 20px;}
a img.alignnone{margin: 5px 20px 20px 0;}
a img.alignleft {float: left; margin: 5px 20px 20px 0;}
a img.aligncenter {display: block; margin-left: auto;  margin-right: auto}
.wp-caption {background: #fff; border: 1px solid #f0f0f0; max-width: 96%; padding: 5px 3px 10px; text-align: center;}
.wp-caption.alignnone {margin: 5px 20px 20px 0;}
.wp-caption.alignleft {margin: 5px 20px 20px 0;}
.wp-caption.alignright {margin: 5px 0 20px 20px;}
.wp-caption img {border: 0 none; height: auto; margin: 0; max-width: 98.5%; padding: 0; width: auto;}
.wp-caption p.wp-caption-text {font-size: 11px; line-height: 17px; margin: 0; padding: 0 4px 5px;}

svg#Layer_2 {height: 290px;}