/*
Theme Name: Octagon
Author: Andres J. Villar - Merit Designs
Author URI: https://meritdesigns.com
Description: Theme Wordpress
Version: 1.0
*/
@font-face {
    font-family: 'Akrobat';
    src: url('fonts/Akrobat-Black.woff2') format('woff2'),
        url('fonts/Akrobat-Black.woff') format('woff'),
        url('fonts/Akrobat-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Akrobat';
    src: url('fonts/Akrobat-Regular.woff2') format('woff2'),
        url('fonts/Akrobat-Regular.woff') format('woff'),
        url('fonts/Akrobat-Regular.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Akrobat';
    src: url('fonts/Akrobat-Bold.woff2') format('woff2'),
        url('fonts/Akrobat-Bold.woff') format('woff'),
        url('fonts/Akrobat-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

:root {	
	--white: #ffffff;
	--blue: #0077C8;
	--black: #1B1B1B;
}
html, body{
	height: 100%;
}
body {
	background: #fff;
	font-family: 'Akrobat', sans-serif;
	font-size: 18px;
	color: var(--black);
	font-weight: normal;
}
.container, .container-fluid {
	width: 1200px;
	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);
}
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);
}
.boton {
	text-transform: uppercase;
	display: inline-block;
	color: var(--white);
	background: var(--blue);
	border: none;
	padding: 9px 30px;
	border-radius: 4px;
	font-weight: 700;
	font-family: 'Akrobat', sans-serif;
}
.readmore:hover, .boton:hover, .readmore:focus, .boton:focus {
	color: var(--white);
	background: #1076a7;
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'Akrobat', sans-serif;
	font-weight: bold;
}
.video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio (height/width * 100) */
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.mapa iframe {
	width: 100%;
	height: 300px;
}

/**** HEADER ****/
header {
	padding-top: 10px;
	padding-bottom: 17px;
}
.relative {
	position: relative;
}
.language-switcher {
	position: absolute;
	right: 0;
	top: 16px;
}
.language-chooser {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: inline-block;
}
.language-chooser li.active {
	display: none;
}
.language-chooser a {
	font-weight: 900;
	color: var(--black);
	font-size: 17px;
	text-transform: uppercase;
}
header .relative {
	padding-right: 84px;
}
header {
	z-index: 100;
	position: relative;
	width: 100%;
	background: #fff;
}
header .navbar-brand {
	padding: 10px 0px;
	min-height: none;
	height: auto !important;
	z-index: 9999 !important;
}
header .navbar-brand img {
    height: 34px;
}
.navbar-header {
    position: relative;
    z-index: 999;
}
.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: var(--black);
	font-size: 17px;
	border: none;
	text-transform: uppercase;
	font-weight: 900;
	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: 'Akrobat', sans-serif;
	border-bottom: 3px solid transparent;
	padding: 10px 5px;
}
.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(--black);
	border-bottom: 3px solid var(--blue);
}
.navbar-default .navbar-nav > .active > a, 
.navbar-default .navbar-nav > .active > a:focus, 
.navbar-default .navbar-nav > .active > a:hover {
  color: var(--black);
	border-bottom: 3px solid var(--blue);
}
.navbar-default .navbar-nav li {
	padding-right: 8px;
	padding-left: 8px;
}
.navbar-default .navbar-nav li.sep span {
	display: inline-block;
	width: 1px;
	height: 13px;
	background: var(--black);
	position: relative;
	top: 9px;
}
.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: var(--black) !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: 1px solid var(--blue);
	background: #fff;
	margin-left: 0 !important;
	min-width: 200px;
}
.navbar-nav > li.submenu > .dropdown-menu li {
	margin: 0; 
	padding: 0;
}
.navbar-nav > li.submenu > .dropdown-menu li a {
	border-bottom: 1px solid #f0f0f0 !important;
	font-size: 16px !important;
	color: var(--black);
	font-weight: 700;
	padding: 12px 15px;
  display: block;
  background: #fff;
}
.navbar-nav > li.submenu > .dropdown-menu li a:hover {
	border-bottom: 1px solid #f0f0f0 !important;
	background: #fff !important;
	color: var(--blue);
}

.slider img {
	width: 100%;
	display: none;
}
.slider {
	background: url(images/slider.jpg) no-repeat center center;
	background-size: cover;
	width: 100%;
	height: 540px;
}
h1 {
	font-size: 48px;
	margin-bottom: 20px;
	font-weight: 900;
}
.intro-image {
	text-align: center;
}
.intro-image img {
	width: 400px;
}
.intro {
	padding-top: 30px;
}
.bg {
	padding-top: 50px;
	background: url(images/tractor.jpg) no-repeat center center;
	background-size: cover;
}
.logos {
	text-align: center;
}
.logos a {
	display: inline-block;
	margin: 0 2px 10px 2px;
	border: 1px solid #ccc;
}
.logos a img {
	filter: grayscale(100%);
	opacity: 0.5;
}
.logos a.active img {
	filter: none;
	opacity: 1;
}
.contenidos {
	width: 900px;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}
.logos img {
	width: 260px;
}
.contenidos img {
	width: 240px;
}
.imgnoticia {
	display: block;
	width: 100%;
	height: 250px;
}
.noticia {
	border: 1px solid #d0d0d0;
	margin-bottom: 30px;
}
.contenidonoticia {
	padding: 10px 15px 15px 15px;
	font-size: 17px;
}
.fecha {
	font-size: 16px;
}
h4 {
	line-height: 1.4em;
}
.contenidonoticia h4 a {
	color: var(--black);
	font-weight: bold;
}
.contenidonoticia h4 a:hover {
	color: var(--blue);
}
@media(min-width:767px) {
	.contenidonoticia {
		min-height: 225px;
	}
}
footer {
	background: var(--blue);
	color: var(--white);
	padding-top: 30px;
	padding-bottom: 24px;
	font-size: 16px;
}
@media(min-width:767px) {
	.floatright {
		float: right;
	}
}
.menulateral a {
	display: inline-block;
	border: 1px solid #d0d0d0;
	margin-bottom: 12px;
}
.menulateral a img {
	filter: grayscale(100%);
	opacity: 0.5;
}
.menulateral a.active img {
	filter: none;
	opacity: 1;
}
.redes {
	margin-top: 30px;
}
.redes a {
	display: inline-block;
	width: 38px;
	height: 38px;
	background: var(--blue);
	color: #fff !important;
	text-align: center;
	line-height: 36px;
	margin-right: 2px;
	border-radius: 50%;
	border: none;
}
.contactos {
	margin-top: 20px;
	margin-bottom: 30px;
}
.contactos img {
	margin-right: 4px;
}
.contactos a {
	color: var(--black) !important;
}


@media(max-width:767px) {
	header {
  	padding-top: 4px;
  	padding-bottom: 7px;
	}
	header .navbar-brand img {
		height: 25px;
	}
	header .relative {
  	padding-right: 58px;
	}
	.navbar-toggle {
  	padding: 6px 10px;
 		border: none !important;
  	font-size: 22px;
  	margin: 0 10px 0 0;
  	background: #fff !important;
	}
	.navbar-default .navbar-nav li.sep {
		display: none;
	}
	.navbar-default .navbar-nav li a {
  	padding: 15px 5px;
  	border-bottom: 1px solid #e0e0e0;
  }
  .navbar-default .navbar-nav li.active a, .navbar-default .navbar-nav li a:hover,
	.navbar-default .navbar-nav li a:focus {
		border-bottom: 1px solid var(--blue);
	}
	.navbar-default .navbar-nav > .active > a, 
	.navbar-default .navbar-nav > .active > a:focus, 
	.navbar-default .navbar-nav > .active > a:hover {
	  border-bottom: 1px solid var(--blue);
	}
	.slider {
  	height: 400px;
	}
	h1 {
  	font-size: 38px;
  	margin-top: 0;
	}	
	.logos img {
  	width: 200px;
	}
	.noticia {
		width: 480px;
		max-width: 100%;
		margin-left: auto;
		margin-right: auto;
	}
}