/*
Theme Name: Diametec
Theme URI: https://doopla.org/
Description: OceanWP WordPress theme example child theme.
Author: Richard Burbano
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */
body {
	color:#212121;
}
p {color:#212121;
}
 #top-bar-wrap {
	 display:none;
	}
#site-logo {
	float: inherit !important;
	width: 100%;
	text-align: center;
}
#site-navigation-wrap {
	width: 100%;
	text-align: center;
}
#menu-principal {
	width: auto;
	margin: 0 auto !important;
	display: table;
	text-transform: uppercase;
}
#menu-principal li a {
	border-right: 1px solid #cdcdcd;
	line-height: 28px !important;
}
#menu-principal li:last-child a {
	border:none;
}
.container {
	max-width:100% !important;
}
#main #content-wrap {
	padding-top: 0 !important; 
	padding-bottom: 0 !important;
}
.metaslider .caption-wrap {
	position: absolute;
	bottom: auto !important;
	left: auto !important;
	background: white !important;
	color: #212121 !important;
	opacity: 0.7;
	margin: 0;
	padding:16px;
	display: block;
	width: 300px !important;
	line-height: 1.8em;
	text-align: left;
	text-transform: uppercase;
	border-radius: 8px;
	right: 5% !important;
	top: 35%;
	font-size:16px;
	font-weight:600;
}
.metaslider .caption strong {
	color: #ff4848 !important;
	text-align: center;
	display: block;
	font-size: 20px;
	margin-bottom:12px;
}
.flexslider {
	margin-bottom:0 !important;
}
#site-header {
	position: fixed;
	background-color: rgba(255,255,255,0.85);
	padding-bottom: 8px;
	border-color: #cdcdcd;
}
#big_slider {
	/*height: 100vh;*/
}
#metaslider_127 ol {
	display:none;
}
#pad {
	min-height: 145px;
	display: block;
	width: 100%;
	background: #0d3a64;
	height: 100%;
	color: #fff !important;
	font-size: 22px;
	text-align: center;
}
#pad p {
	min-height: 85px;
	line-height: 4;
	max-width: 58%;
	margin: 0 auto;
	padding-top: 32px;
	color:#ffffff !important;
}
#pad span {
float:right;
	background-image: url(images/pad.png);
	background-size: contain;
	width: 340px;
	height: 73px;
	background-repeat: no-repeat;
	background-position: center;
}
#pad span:hover {
	background-image: url(images/pad_h.png);
}
#pad span a {
	display: block;
	width: 100%;
	height: 100%;
}
.main_contenedores {
	float:left;
	width:100%;
}
.tit {
	background: #ff4848;
	border-left: 15px solid #ffd800;
	color: #ffffff !important;
	width: auto !important;
	display: table;
	padding: 10px 18px;
	font-size: 24px;
	margin-bottom: 50px;
}
.cpadding {
	padding:50px 0;
}
#servicios {
	padding-bottom: 5px;
}
#servicios ul {
	padding: 0;
	margin: 0;
	display: table;
	width: 100%;
}
#servicios li {
	list-style: none;
	width: 49%;
	float: left;
	text-align: center;
	background-size: cover;
	background-position: center;
	color: #fff !important;
	background-repeat: no-repeat;
	min-height: 440px;
	display: ;
	padding: 50px;
	margin: 0.5%;
} 
#servicios li h3 {
	font-size: 20px;
	text-transform: uppercase;
	background: #ff4848;
	width: auto;
	display: table;
	margin: 0 auto;
	padding: 6px 18px;
	border-radius: 8px;
	color: #fff;
	margin-top: 50px;
	margin-bottom: 25px;
}
#servicios li div {
	width: auto;
	margin: 0 auto;
	text-align: left;
	display: table;
	color:#ffffff !important;
}
#servicios li div p {
	color:#ffffff !important;
}
#horario {
	min-height: 145px;
	display: block;
	width: 100%;
	background: #0d3a64;
	height: 100%;
	color: #fff;
	font-size: 22px;
	text-align: center;
}
#horario .cont_horario {
	width: 655px;
	margin: 0 auto;
	float: none;
	padding-top: 10px;
}
#horario p {
	min-height: 85px;
	line-height: 4;
	margin: 0 auto;
	padding-top: 16px;
	float: left;
	font-size: 22px;
	color:#ffffff;
}
#horario .cont_horario div {
	padding-top: 22px;
	font-size: 14px;
	line-height: 1.2;
	text-align: left;
	float: right;
}
#horario div strong {
	color: #ffd800;
	display: block;
	margin-top:5px;
}
#horario div img {
	margin: 0 15px;
}
#valores {}
#valores table {
	margin: 0 auto !important;
}
#valores th {
	background: #0d3a64;
	color: #fff;
	font-weight: 600;
	font-size: 16px;
}
#valores .cont_valores {
	width: 96%;
	margin: 0 auto;
	border-radius: 9px;
	border: 1px solid #e3e3e3;
	overflow: hidden;
}
#valores td, #valores th {
	padding: 6px 12px;
	border-color: #e3e3e3;
}
.cont_valores table tr:nth-child(2n+2), .second span:nth-child(2n+2), .third span:nth-of-type(2n+2) {
	background-color: #d4d4d4; 
}
#consulta {
	min-height: 145px;
	display: block;
	width: 100%;
	background: #0d3a64;
	height: 100%;
	color: #fff !important;
	font-size: 22px;
	text-align: center;
}
#consulta p {
	min-height: 85px;
	line-height: 4;
	max-width: 58%;
	margin: 0 auto;
	padding-top: 32px;
	color:#ffffff !important;
}
#consulta strong {
	font-weight: normal;
	width: 400px;
	float: left;
	line-height: 1.2;
	text-align: justify;
	padding-top: 12px;
	letter-spacing: 0.25px;
}
#consulta strong a {
	color:#ffffff;
	font-weight:600;
}
#consulta strong a:hover {
	color:#ffd800;
}
#consulta span {
float:right;
	background-image: url(images/consulta.png);
	background-size: contain;
	width: 329px;
	height: 71px;
	background-repeat: no-repeat;
	background-position: center;
}
#consulta span:hover {
	background-image: url(images/consulta_h.png);
}
#consulta span a {
	display: block;
	width: 100%;
	height: 100%;
}
#galeria {}
#galeria .masonry {
    column-count: 4;
    column-gap: 5px;
}

#galeria .mass_item {
    background-color: #eee;
    display: inline-block;
    margin: 0 0 5px;
    width: 100%;
}
#equipo {}
#equipo .content_galeria {
	background-image: url(images/bg_nuestro.jpg);
	display: block;
	text-align: center;
	padding: 180px;
}
#equipo img {
	margin: 0 auto;
	margin-bottom: 50px;
	max-width: 260px;
}
#equipo p {
	color:#ffffff;
	line-height:1.2;
}
#equipo strong {
	color:#ffd800;
}
.content_contacto ul {
	display:table;
	width:90%;
	margin:0 auto;
}
.content_contacto ul li {
	text-align:center;
	list-style:none;
	width:33.33%;
	float:left;
}
.content_contacto ul li a {
	color:#212121;
}
.content_contacto ul li a:hover {
	color:#ff4848;
}
.content_contacto iframe {
	margin-top:15px;
}
#contacto {
	padding-bottom:0;
}
.formulario {
	border: 1px solid #ff4848;
	width: 90%;
	margin: 35px auto;
	border-radius: 12px;
	display: table;
	padding: 25px 0;
}
#wpcf7-f62-o1 br {display:none;}
#wpcf7-f62-o1 input {
	width: 46%;
	float: left;
	margin: 2%;
}
#wpcf7-f62-o1 textarea {
	width: 96%;
	margin: 2%;
	min-height: 101px !important;
	height: 101px;
}
#wpcf7-f62-o1 .wpcf7-submit {
	margin: 0 auto;
	text-align: center;
	float: none !important;
	display: table;
	width: 180px;
	border-radius: 8px;
	background:#ff4848;
}
#wpcf7-f62-o1 .wpcf7-submit:hover {
	background:#1d7fd5;
}
#wpcf7-f62-o1 .ajax-loader {
	margin: 0 auto;
	display: table;
	margin-top: -20px;
	margin-right: 40%;
}
#wpcf7-f62-o1 div.wpcf7-response-output {
	margin: 2em 0.5em 1em;
	padding: 0.2em 1em;
	border: 2px solid #ff0000;
	width: 96%;
	text-align: center;
	border-radius: 5px;
	margin: 0 auto;
	font-size:12px;
	left: 0;
	right: 0;
	display: table !important;
}
#wpcf7-f62-o1 span.wpcf7-not-valid-tip {
	color: #f00;
	font-size: 12px;
	font-weight: normal;
	display: table;
	width: 48%;
	line-height: 1.2;
}
#footer-widgets {
	display:none;
}
.logo_foot {
	width: 25%;
	float: left;
}
.logo_foot img {}
.info_foot {
	float: right;
	width: 73%;
	margin-right: 2%;
}
.info_foot ul {}
.info_foot ul li {
	float: left;
	width: 31%;
	margin: 0 1%;
	text-align: left;
	list-style: none;
	font-size: 11px;
}
.info_foot ul li strong {
	color: #ffd800;
	display: block;
	font-weight: 700;
	font-size: 12px;
}
#footer-bottom {
	padding: 30px 5px;
}
#equipo {
	padding-bottom:0;
}
.sl_show {
	display:none !important;
}
.esg-loadmore-wrapper {
	margin-top:20px;
}
.esg-loadmore-wrapper div {
	margin: 0 auto;
	text-align: center;
	float: none !important;
	display: table;
	width: 180px;
	border-radius: 5px !important;
	background: #ff4848 !important;
	color: #fff !important;
	text-transform: uppercase;
	box-shadow: none !important;
	border: 0 !important;
}
.esg-loadmore-wrapper div:hover {
	background:#1d7fd5 !important;
}
/* Col-MD */
.col-md-12 {
	float:left;
	width:98%;
	margin:1%;
	padding:0;
}
.col-md-6 {
	float:left;
	width:48%;
	margin:1%;
	margin-top:0;
	padding-top:0;
}
/* Col-MD*/

@media (max-width: 959px) {
#site-logo {
	float: left !important;
	width: auto;
	text-align: center;
}
#site-header-inner {
	padding: 0 18px;
}
#consulta p {
	max-width: 96%;
}
.content_contacto ul li {
	line-height: 1;
}
#primary {
	padding-bottom:0;
	margin-bottom:0;
}
}

@media (max-width: 800px) {
#pad p {
	max-width: 96%;
}
#servicios li {
	min-height: 380px;
}
#valores .cont_valores {
	width: 94%;
}
#equipo .content_galeria {
	padding: 100px;
	background-size: cover;
}
.content_contacto ul li {
	float: left;
}
.info_foot {
	width: 75%;
	margin-right: 0%;
}
}

@media (max-width: 768px) {
.col-xs-12 {
	width:98%;
	float:left;
}	
.logo_foot {
	width: 100%;
	float: left;
	margin-bottom: 7px;
}
.info_foot {
	width: 100%;
	margin-right: 0%;
}
#footer-bottom {
	padding: 20px 5px;
}
#pad p {
	max-width: 96%;
	padding-top: 0;
	line-height:2.5;
}
#pad span {
	float: inherit;
	display: table;
	margin: 0 auto;
}
#servicios li h3 {
	font-size: 16px;
}
.tit {
	font-size: 20px;
}
#horario p {
	min-height:45px;
	line-height: 1;
	margin: 0 auto;
	padding-top: 12px;
	font-size: 0;
	margin-left: 18%;
}
#horario .cont_horario div {
	padding-top: 12px;
	font-size: 14px;
	line-height: 1.2;
	float: inherit;
}
#horario .cont_horario {
	width: 100%;
}
.cont_horario p:last-item {display:none;}
#consulta strong {
	font-weight: normal;
	width: 96%;
	float: inherit;
	line-height: 1.2;
	text-align: center;
	padding-top: 8px;
	letter-spacing: 0.25px;
	margin: 0 auto;
	display: table;
}
#consulta p {
	min-height: 45px;
	line-height: 2;
	max-width: 100%;
	margin: 0 auto;
	padding-top: 22px;
	color: #ffffff !important;
}
#consulta span {
	float: inherit;
	display: table;
	margin: 0 auto;
	margin-bottom: 10px;
}
.content_contacto ul li {
	width: 100%;
	margin-bottom: 10px;
}
#valores td, #valores th {
	line-height: 1.2;
}
}

@media (max-width: 640px) {
.sl_show {
	display:block !important;
}
.sl_hide {
	display:none !important;
}
}

@media (max-width: 600px) {
	#pad {
	min-height: 85px;
}
#pad p {
	font-size: 0;
}
#pad span {
	margin-top: 10px;
	height:63px;
}
#servicios li {
	min-height: 290px;
	width: 99%;
	padding: 0;
}
#servicios li h3 {
	font-size: 20px;
	border-radius: 5px;
}
#horario {
	min-height: 130px;
	max-height: 130px;
}
#valores td, #valores th {
	font-size: 14px;
	vertical-align: middle;
padding: 10px 12px;	
}
#consulta strong {
	padding-top: 0px;
	font-size: 16px;
}#consulta span {
	margin-bottom: 0px;
	height: 61px;
	margin-top: 10px;
}
#consulta {
	min-height: 125px;
}
#equipo .content_galeria {
	padding: 70px 30px;
	background-size: cover;
}
#equipo img {
	max-width: 240px;
}
.content_contacto ul li {
	width: 100%;
	margin-bottom: 12px;
	font-size: 16px;
}
.info_foot ul li {
	width: 98%;
	margin: 1.5% 1%;
text-align:center;
}
.info_foot ul li:last-child  {
	margin-bottom:0;
}
#pad span a, #consulta span a {
	display: table;
}
.info_foot ul {
	margin-left: 0;
}
.cpadding {
	padding: 30px 0;
}
.tit {
	margin-bottom: 30px;
}
}

@media (max-width: 480px) {
	#wpcf7-f62-o1 input {
	width: 96%;
	float: left;
	margin: 1% 2%;
}
#wpcf7-f62-o1 textarea {
	width: 96%;
	margin: 1% 2%;
	min-height: 101px !important;
	height: 120px;
}
#consulta p {
	padding-top: 12px;
	padding-bottom: 10px;
}
}

@media (max-width: 440px) {
	#horario p {
	margin-left: 10px;
}
#horario .cont_horario div {
	padding-top: 20px;
	font-size: 12px; 
}
#footer-bottom {
	padding: 20px 5px;
	padding-bottom: 5px;
}
}

@media (max-width: 360px) {
.cpadding {
	padding: 20px 0;
}
.tit {
	margin-bottom: 20px;
}	
	.tit span {display:none;}
#horario .cont_horario div {
	padding-top: 12px;
	font-size: 12px;
}	
}