/*
Theme Name: Supercasas
Author: Andres J. Villar - Merit Designs
Author URI: https://meritdesigns.com
Description: Theme Wordpress
Version: 1.0
*/
:root {	
	--white: #ffffff;
	--blue: #0099c9;
	--black: #222222;
}
html, body{
	height: 100%;
}
body {
	background: #fff;
	font-family:'Work Sans', sans-serif;
	font-size: 15px;
  	line-height: 1.4em;
	color: var(--black);
	font-weight: normal;
}
.container, .container-fluid {
	width: 1116px;
	max-width: 100%;
	margin: 0 auto;
}
.clear, .clearfix {
	display: block;
	clear: both;
}
.height10 {
	height: 10px;
}
.height20 {
	height: 20px;
}
.height30 {
	height: 30px;
}
.height50 {
	height: 50px;
}
img {
	max-width: 100%;
	height: auto;
}
.black {
	color: var(--black);
}
.white {
	color: var(--white);
}
.blue {
	color: var(--blue);
}
.bg-black {
	background: var(--black);
}
.bg-white {
	background: var(--white);
}
.bg-blue {
	background: var(--blue);
}
.transition, a, button {
	transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
}
a, a:hover, a:focus, a:active {
	text-decoration: none;
	color: var(--blue);
}
h1, h2, h3, h4, h5, h6 {
  	font-family: 'Roboto', sans-serif;
  	color: #111111;
	font-weight: 400;
  	margin: 6px 0 6px 0;
}


/**** HEADER ****/
.top {
	padding-top: 18px;
	padding-bottom: 30px;
}
.top .logo {
	display: inline-block;
	width: 282px;
	height: 52px;
}
.container-menu {
	border-top: 1px solid #e0e0e0;
	border-bottom: 2px solid #e0e0e0;
}
.container-menu .col-xs-12 {
	padding-left: 0;
}
.navbar-default {
    background-color: transparent !important;
    border-color: none;
    border: none;
    margin-top: 8px;
    margin-bottom: 0;
    padding-top: 0;
}
.navbar-default .navbar-nav li a {
	color: #000;
	font-size: 14px;
	border: none;
	padding: 7px 15px;
	text-transform: uppercase;
	font-weight: normal;
	transition: all .2s ease-in-out;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	font-family: 'Work Sans', sans-serif;
}
.navbar-default .navbar-nav li.active a, .navbar-default .navbar-nav li a:hover,
.navbar-default .navbar-nav li a:focus {
	background: none !important;
	color: var(--blue);
}
.navbar-default .navbar-nav > .active > a, 
.navbar-default .navbar-nav > .active > a:focus, 
.navbar-default .navbar-nav > .active > a:hover {
    background: none !important;
	color: var(--blue);
}
.navbar-right li.social a {
	display: inline-block;
	padding: 7px 8px;
}
.navbar-right .submenu a {
	margin-left: 10px;
	font-size: 16px !important;
}
.navbar {
  min-height: 42px;
}
.dropdown-menu {
	list-style-type: none !important;
}
.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:focus, .navbar-default .navbar-nav > .open > a:hover,
.dropdown-menu > .active > a, .dropdown-menu > .active > a:focus, .dropdown-menu > .active > a:hover {
    color: #000 !important;
    background-color: #fff !important;
}
.navbar-nav > li.submenu > .dropdown-menu {
	margin: 0;
	padding: 3px 0 0 0;
	list-style-type: none !important;
	border-top: 3px solid var(--blue);
	background: #fff;
	margin-left: 0 !important;
	min-width: 300px;
	padding: 20px;
}
.navbar-nav > li.submenu > .dropdown-menu li {
	margin: 0; 
	padding: 0;
}
.form-search {
	position: relative;
}
.form-search input {
	width: 100%;
	padding: 10px;
	height: 40px;
	border:1px solid #e0e0e0;
}
.form-search button {
	position: absolute;
	right: 0;
	top: 1px;
	background: #000;
	color:#fff;
	height:40px;
	border:none;
	outline:none;
	font-size: 14px;
	font-family: 'Work Sans', sans-serif;
	padding: 10px;
}
.form-search button:hover {
	background:var(--blue);
}
.relative {
	position:relative;
}
.menu-responsive {
	background:#e9e9e9;
	padding-top: 10px;
	padding-bottom: 10px;
}
.logo-responsive {
	display: inline-block;
	width: 178px;
}
.hamburger {
	display: inline-block;
	font-size: 24px;
	color:#000;
	position: absolute;
	top: 4px;
	left: 15px;
	cursor: pointer;
}
.search {
	display: inline-block;
	font-size: 18px;
	color:#000;
	position: absolute;
	top: 4px;
	right: 15px;
	cursor: pointer;
}
.bg {
	position: fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	z-index:1;
	
	display: none;
}
.sidenav {
 	height: 100%; 
  	width: 0; 
  	position: fixed;
  	z-index: 100; 
  	top: 0; 
  	left: 0;
  	background:rgba(0,0,0,0.8);
  	overflow-x: hidden; 
  	transition: 0.5s; 
}
.sidenav2 {
 	height: 100%; 
  	width: 0; 
  	position: fixed;
  	z-index: 100; 
  	top: 0; 
  	right: 0;
  	background:rgba(0,0,0,0.8);
  	overflow-x: hidden; 
  	transition: 0.5s; 
}
.closebtn {
	position: absolute;
	color:#fff;
	cursor:pointer;
	top: 15px;
	right: 15px;
	font-size: 50px;
	font-family: 'Work Sans', sans-serif;
	font-weight: 100;
}
.closebtn:hover, .closebtn:focus {
	color:#fff;
}
.redes-sidenav {
	padding: 15px 24px;
}
.redes-sidenav a {
	display: inline-block;
	padding: 4px;
	margin-right: 10px;
	font-size: 15px;
	color:#fff;
}
.content-sidenav {
	padding: 20px 0;
}
.content-sidenav ul {
	margin: 0;
	padding:0;
	list-style-type:none;
}
.content-sidenav ul li a {
	padding: 10px 24px;
	display: block;
	white-space:nowrap;
	color:#fff;
}
.content-sidenav ul li a:hover, .content-sidenav ul li a:focus, .content-sidenav ul li.active a {
	color:var(--blue);
}
.menu-responsive {
	display: none;
}
.content-sidenav form {
	width: 400px;
	margin: 100px auto 0 auto;
	font-family: 'Work Sans', sans-serif;
	position: relative;
}
.content-sidenav form input {
	width: 100%;
	-webkit-appearance: none;
	appearance: none;
	border-top: none;
	border-left: none;
	border-right: none;
	border-bottom: 1px solid #e0e0e0;
	color:#fff;
	font-size: 24px;
	background:transparent;
	padding: 10px;
	outline: none !important;
}
.content-sidenav form button {
	position: absolute;
	right: 10px;
	top: 33px;
	font-size: 18px;
	color:#fff;
	-webkit-appearance: none;
	appearance: none;
	border:none;
	outline:none;
	background:transparent;
}

/** HOME **/
.destacado1 {
	display: block;
	width: 100%;
}
.td-module-thumb.big {
  width: 100%;
  height: 400px;
}
.td-module-thumb.small {
  width: 100%;
  height: 196px;
}
.td-module-thumb a {
	display: block;
}
.td-module-thumb img {
	width: 100%;
}
.td-image-wrap {
	position: relative;
	width: 100%;
	height: 100%;
}
.td-module-thumb a.td-image-wrap::before {
  bottom: 0;
  content: "";
  display: block;
  height: 80%;
  width: 100%;
  position: absolute;
  z-index: 1;
  background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.7) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(30%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0.7)));
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.7) 100%);
  background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.7) 100%);
  background: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.7) 100%);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.7) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#b3000000', GradientType=0);
}
.td-module-thumb .contenidos {
	position: absolute;
	bottom:0;
	left:0;
	width: 100%;
	padding: 15px;
	color:#fff;
	z-index: 10;
}
.td-module-thumb .contenidos h3, .td-module-thumb .contenidos h4 {
	color:#fff;
}
h3 {
	font-size: 27px;
  	line-height: 1.4em;
}
h4 {
	font-size: 19px;
  	line-height: 1.4em;
}
.myrow {
	margin:0 -4px;
}
.myrow .col-sm-6, .myrow .col-xs-6 {
	padding: 0 4px;
	margin-bottom: 8px;
}
.fecha {
	font-size: 12px;
}
.categoria span {
	text-transform:uppercase;
	font-size:12px;
	display:inline-block;
	padding:2px 8px;
	background: #111;
	color:#fff;
	font-family:'Work Sans', sans-serif;
	margin-bottom: 10px;
}
.redes-sidebar a {
	display:inline-block;
	border:1px solid #e0e0e0;
	padding: 20px 5px;
	text-align:center;
	width: 96px;
	margin-right: 8px;
	margin-bottom: 8px;
	font-family: 'Work Sans', sans-serif;
	font-size: 14px;
	color:#000;
}
.redes-sidebar .fa {
	color: #516eab;
	font-size: 32px;
}
.redes-sidebar strong {
	font-size: 16px;
	display:inline-block;
	margin-top: 4px;
}
.td-pulldown-size {
	position: relative;
	background:var(--blue);
	text-transform:uppercase;
	display:inline-block;
	padding: 6px 12px;
	font-weight:500;
	color:#fff;
	font-family: 'Work Sans', sans-serif;
}
.td-pulldown-size::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 10px;
  margin: auto;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 7px 0 7px;
  border-color: var(--blue) transparent transparent transparent;
}
.td-pulldown-size-black {
	position: relative;
	background:var(--black);
	text-transform:uppercase;
	display:inline-block;
	padding: 6px 12px;
	font-weight:500;
	color:#fff;
	font-family: 'Work Sans', sans-serif;
}
.td-pulldown-size-black::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 10px;
  margin: auto;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 7px 0 7px;
  border-color: var(--black) transparent transparent transparent;
}
.black a {
	color: var(--black);
}
.black a:hover {
	color: var(--blue);
}
.excerpt {
	margin-top: 10px;
	color:#666;
	font-size: 14px;
	font-weight:400;
	font-family: 'Work Sans', sans-serif;
}
.ficha {
	position: relative;
	padding-left: 240px;
	min-height: 180px;
	border-bottom: 2px solid #e0e0e0;
	padding-bottom: 30px;
}
.ficha .td-image-wrap {
	width: 220px;
	height: 150px;
	position: absolute;
	left: 0;
	top: 0;
}
a.white {
	color:#fff !important;
}
.minificha {
	position: relative;
	padding-left: 110px;
	min-height: 98px;
	padding-bottom: 30px;
}
.minificha .td-image-wrap {
	width: 100px;
	height: 68px;
	position: absolute;
	left: 0;
	top: 0;
}
footer {
	background:#e8f4f4;
	padding-top: 40px;
}
.copyright {
	background:#bed8db;
	padding-top: 20px;
	padding-bottom: 16px;
	font-size: 13px;
}
.redesfooter a {
	margin-right: 30px;
	color:var(--black);
}
.scrollup {
	position: fixed;
	bottom: 5px;
	right: 5px;
	background:var(--blue);
	color:#fff !important;
	text-align:center;
	display:inline-block;
	width: 44px;
	height:44px;
	font-size: 26px;
	line-height: 42px;
}
.bread {
	color: #888;
	font-size: 13px;
}
.bread .fa {
	font-size: 11px;
}
.bread a {
	color:#888;
}
.bread a:hover {
	color:#333;
}
.paginacion a {
	display: inline-block;
	width: 34px;
	height: 34px;
	border-radius:50%;
	border:1px solid #e0e0e0;
	text-align:center;
	line-height: 34px;
	margin-right: 7px;
	color:#222;
}
.paginacion a.selected {
	border:1px solid var(--blue);
	color:#fff;
	background:var(--blue);;
}
h1 {
	font-size: 30px;
    line-height: 40px;
}
.titulocategoria {
	text-transform:uppercase;
	text-align:center;
}
.line {
	height: 2px;
	width: 80px;
	margin: 5px auto 30px auto;
	opacity: 0.5;
	background:var(--blue);
}
.imgcat {
	display: block;
	height: 385px;
}
.metacat {
	width: 90%;
	margin-left:auto;
	margin-right:auto;
	padding: 20px;
	background:#fff;
	margin-top:-80px;
}
.boton {
	color:#fff;
	display:inline-block;
	padding: 9px 12px;
	background:var(--blue);
	font-size:14px;
}
.boton:hover, .boton:focus {
	background:#333;
	color:#fff;
}
h2 {
	line-height:1.2em;
}
.vistas {
	margin-left: 15px;
	font-size:13px;
}
.bars {
	border-top: 1px solid #e0e0e0;
	border-bottom:1px solid #e0e0e0;
	padding-top: 20px;
	padding-bottom: 20px;
	margin-bottom: 30px;
}
.tituloprev {
	margin-bottom: 6px;
	color:#999;
	font-size:12px;
}
.naveg a {
	color:var(--black);
}
.naveg a:hover {
	color:var(--blue);
}


@media(min-width:776px) {
	.sidebar {
		padding-left: 35px;
	}
	h1.singletitle {
		font-size: 42px;
		line-height: 1.2em;
	}
}




@media(max-width:991px) {
	.navbar-right li.social {
		display:none;
	}
	.navbar-default .navbar-nav li a {
		padding: 7px 13px;
	}
}

@media(max-width:767px) {
	header {
		display: none;
	}
	.container-menu {
		display: none;
	}
	.menu-responsive {
		display: block;
	}
}

@media(max-width:498px) {
	h3 {
		font-size: 22px;
  		line-height: 1.4em;
	}
	h4 {
		font-size: 17px;
	  	line-height: 1.4em;
	}
	.td-module-thumb.big {
  		width: 100%;
  		height: 280px;
	}
	.td-module-thumb.small {
 		width: 100%;
  		height: 170px;
	}
	.ficha {
 		padding-left: 130px;
  		min-height: 180px;
  	}
  	.ficha .td-image-wrap {
  		width: 110px;
  		height: 81px;
  	}
  	.imgcat {
 		display: block;
  		height: 254px;
	}
	.h2, h2 {
  		font-size: 24px;
	}
}

@media(max-width: 398px) {
	.myrow .col-xs-6 {
		float:none;
		width: 100%;
	}
}