/*
Theme Name: RST Theme
Theme URI: 
Author: CIC Consulting Informático
Author URI: http://www.cic.es/
Description: Responsive Bootstrap RST Theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: CIC Consulting Informático, RST
*/

* {margin: 0; padding: 0; outline: none; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; font-size: 12px;}
html {font-family: sans-serif; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;}
body {font-family: 'Roboto', sans-serif;text-rendering: optimizeLegibility; font-size: 15px; line-height: 1.4; color: #707070;}
a, a:hover, a:focus, a:active {text-decoration: none; color: #008845; outline:none !important;}
.btn:hover, .btn.active.focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn:active:focus, .btn:focus {outline: none; box-shadow: none;}
::selection{background-color: #008845; color:#FFF; text-shadow: none;}
p { line-height: 1.3;color: #707070; font-size: 16px;}
p.small {font-size: 14px; color: #b9b9b9; font-weight: 500; margin: 10px 0px 0px;font-family: 'Montserrat', sans-serif;}
p.small img {width: 20px; height: 20px; margin: -2px 0 0;}
a:hover h2 {color:#008845;}
@-ms-viewport{width: device-width;}

h1, h2, h3, h4 {font-family: 'Montserrat', sans-serif;}
h1 {color: #313131; font-weight: 700;}
h2 {color: #313131; margin: 5px 0px; font-size: 18px;line-height: 24px;}
h3 {color: #313131; text-transform:uppercase; font-weight: 700; margin:50px 15px 30px;font-size: 20px;}
h4 {color: #008845; font-weight: 700; text-transform: uppercase;margin:15px 0;}

button.ghost-button {background-color: transparent; border:2px solid #008845; color:#008845; font-weight: 700;border-radius: 3px; padding: 5px 15px;font-family: 'Montserrat', sans-serif;}
button.ghost-button:hover, button.ghost-button:focus{background-color: #008845; color:#FFF;}

.btn.ver-mas {border: none; background-color: transparent; font-size: 14px; font-weight: 700; color: #333;text-transform: uppercase;font-family: 'Montserrat', sans-serif;float: right;}
.btn.ver-mas:hover {color:#008845;}
.u-capitalize {text-transform: capitalize;}

/** NAVIGATION **/
.navbar-default {background-color: transparent; border: none; z-index: 10; text-align: center;margin: 0 auto; font-family: 'Montserrat', sans-serif;}
.navbar-header {width: 100%; text-align: center; height:180px}
.container-fluid>.navbar-collapse, .container-fluid>.navbar-header, .container>.navbar-collapse, .container>.navbar-header {
    margin-right: -15px !important; 
}
.navbar-brand {padding:0px; margin:0 auto; float: none; height: 120px;}
.navbar-brand>img {display: inline-block;margin:10px auto -40px;}
.navbar-nav>li>a {text-transform: uppercase;}

.navbar-main {margin: 1px auto 0; display: inline-block; float: none;width:100%;}
.navbar-default .navbar-nav.navbar-main>li {float: none; display: inline-block;}
.navbar-default .navbar-nav.navbar-main>li>a, .navbar-default .navbar-nav.navbar-main>.active>a, .navbar-default .navbar-nav.navbar-main>.active>a:focus, .navbar-default .navbar-nav.navbar-main>.active>a:hover, .navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav.navbar-main>.open>a:focus, .navbar-default .navbar-nav.navbar-main>.open>a:hover {color: rgba(255,255,255,1); background-color: transparent;}
.navbar-default .navbar-nav.navbar-main>li>a:hover, .navbar-default .navbar-nav.navbar-main>li.active>a:hover, .navbar-default .navbar-nav.navbar-main>li.active>a {color: rgba(255,255,255,.7);}
.navbar-shadow { height: 100px; width: 100%; position: absolute;z-index: 5;
  background: transparent;
  background: -webkit-linear-gradient(rgba(0,0,0,.3),rgba(0,0,0,0));
  background: -o-linear-gradient(rgba(0,0,0,.3),rgba(0,0,0,0));
  background: -moz-linear-gradient(rgba(0,0,0,.3),rgba(0,0,0,0));
  background: linear-gradient(rgba(0,0,0,.3), rgba(0,0,0,0));
}

.navbar-default .navbar-nav.navbar-right>li>a:hover {opacity: .5;}

.navbar-default .navbar-nav.navbar-left>.active>a, .navbar-default .navbar-nav.navbar-left>.active>a:focus, .navbar-default .navbar-nav.navbar-left>.active>a:hover {background-color: #FFF; color: #796C2B;font-weight: 700; padding: 10px; font-size: 15px; line-height: 1;}
.navbar-default .navbar-nav.navbar-left>.active>a:hover {color: #605720;}
.navbar-default .navbar-nav.navbar-left>.active>a img {width: 35px; height: 35px; margin:-3px 10px 0 0;}
.navbar-nav.navbar-right>li>a {padding: 7px}

ul.dropdown-menu {background-color: #333333; border-radius: 0px; border: none; box-shadow: none; padding: 0px;left:50%;transform: translateX(-50%);-webkit-transform: translateX(-50%);-moz-transform: translateX(-50%);-ms-transform: translateX(-50%);-o-transform: translateX(-50%);}
.dropdown-menu>li>a {text-transform: uppercase; color:#808080; text-align: center; text-decoration:none; font-size: inherit !important;}
.dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover, .dropdown-menu>li.active>a {background-color: transparent; color:#FFF !important;}
.dropdown:hover ul.dropdown-menu {display: block;}
.dropdown-menu>.active>a, .dropdown-menu>.active>a:focus, .dropdown-menu>.active>a:hover {background-color: transparent;}
.dropdown-toggle .caret{display: none;}

.navbar-nav li span.nombre-usuario{    
	padding: 5px;
    text-transform: uppercase;
    color: #FFF;
	background-color: rgba(0, 136, 69);
	font-weight: bold;
    font-size: 15px;
}

/* CAROUSEL */
.carousel-wrapper {margin: -50px 0 0; width: 100%; display: block; position: relative;z-index: 9;}
.flickity-enabled.is-draggable .flickity-viewport {cursor: default; max-height: 600px; min-width: 100%;}
.carousel {background: #FFF;}
.carousel-cell {margin-right: 20px; overflow: hidden;width: 100%;max-height: 600px;}
.carousel-cell img, .carousel-cell video {display: block; height:auto; height: 600px; width: auto; min-height: 600px; min-width: 100%; object-fit: cover;}
.no-objectfit.no-object-fit .carousel-cell img, .no-objectfit.no-object-fit .carousel-cell video {height:auto; width:100%;}

.flickity-page-dots {bottom: 50px; z-index: 15; right: 45px; text-align: right;max-width: 300px;}
.flickity-page-dots .dot {width: 24px; height: 7px; background: rgba(255,255,255,.7); opacity: 1; border-radius: 0px;}
.flickity-page-dots .dot.is-selected, .flickity-page-dots .dot:hover {background: #008845; }

.carousel-cell-content {display: none;}
.noticia-carousel {width: 500px; position: absolute; z-index: 9; right: 50px; bottom: 70px; background-color: rgba(0, 136, 69, 0.8); color: #FFF; padding: 30px 45px;cursor:default;}
.noticia-carousel h2 {color:#FFF; margin: 0 0 10px;}
.noticia-carousel p {opacity: .7;color:#FFF;}
.noticia-carousel a {color: #FFF;}
a:hover > .noticia-carousel {background-color: rgba(0, 136, 69, .95); cursor: pointer; }
a:hover > .noticia-carousel h2{color:#FFF;}

.date-col {padding: 0 25px 0 0; text-align: center; margin: 0 0 10px; color: #C2C2C2; font-family: 'Montserrat', sans-serif;}
.date-col .day {font-size: 40px;}
.date-col .month {line-height: 5px;display: block; font-size: 24px;}

.evento-portada {border-bottom: 1px solid #eaeaea;padding: 0 0 12px; margin:0 -15px 12px;}
.evento-portada:last-of-type {border-bottom: none;}

/* STATIC HEADER */
.static-header {margin: -50px 15px 30px; overflow: hidden; width: calc(100% - 30px); height: 425px; position: relative; padding: 0px; background-color: #008845;border-radius:3px;}
.static-header img {position: absolute; top: 50%; transform: translateY(-50%); max-width: 100%; min-width: 100%; height: auto; object-fit: cover; height: 425px;}
.no-objectfit.no-object-fit .static-header img {width: 100%; height: auto;}
.static-header video {width: 100%; object-fit: cover; height: 425px;}
.static-header .navbar-shadow {width: 100%;}

/* PATROCINADORES */
/*.patrocinadores ul {text-align: center;}*/
.patrocinadores li {display: inline-block; list-style: none;}
.patrocinadores li img {max-width: 180px; height:auto; -webkit-filter: grayscale(100%); filter: grayscale(100%);}

/* EVENTO MIN */
.evento-min {border-bottom: 1px solid #eaeaea; margin:0; padding: 15px 0;}
.evento-min h2 {margin:0 0 5px; padding: 0; width: calc(100% + 15px); line-height: 1.3;}
.evento-min p.date {margin:0; padding: 0; font-family: 'Montserrat', sans-serif; color:#9d9c9c; font-size: 15px;}

/* RELACIONADAS */
.relacionadas {margin: 50px 0 30px; border-top: 1px solid #008845; padding: 20px 0 0; float: left; width: 100%; position: relative; display: block;}
.relacionadas h4 {width: auto; float: left; margin: 5px 0 25px 15px;}
.relacionadas .noticia-min h2 {margin: 7px 0px;}
.relacionadas .col-md-4 {padding: 0px;}
	/* Tags */
	ul.tags {border: none; padding: 0; margin: 0 15px 0 0;font-family: 'Montserrat', sans-serif;float: right;}
	ul.tags li{display: inline-block; margin: 0 3px 0 0;}
	ul.tags li a, ul.tags li a:active, ul.tags li a:visited {letter-spacing:.5px; padding: 5px 14px; color: #008845; background-color: #FFF; font-size: 11px;text-transform: uppercase; border: 1px solid #008845; font-weight: 700; border-radius: 3px;}
	ul.tags li a:hover {color: #FFF; background-color: #008845;}
 
/* FOOTER */
footer {position:relative; font-family: 'Montserrat', sans-serif; background-color: #F0F0F0;padding: 35px 0px; margin:30px 0 0;border-left: 15px solid #FFF; border-right: 15px solid #FFF;}
footer p{color: #A9A9A9; line-height: 1.5; margin: 0; font-size: 15px;}
.three-columns {-webkit-column-count: 3; -moz-column-count: 3; column-count: 3; -webkit-column-gap: 40px; column-gap: 40px; -moz-column-gap: 40px;}
footer .three-columns li{margin: 0 0 5px; list-style: none;}
footer .three-columns li a{color: #A9A9A9; transition: padding 100ms ease-out; -webkit-backface-visibility: hidden;}
footer .three-columns li a:hover {padding-left: 3px;color: #008845;}

.sellos {padding: 0; margin: 0;}
.sellos li {display: inline-block; margin: 0 3px 10px;}
.sellos li img {max-height: 52px; width: auto;}

/* ELLIPSIS PLUGIN STYLES */
.ellip {display: block; height: 100%;}
.ellip-line {display: inline-block; text-overflow: ellipsis; white-space: nowrap; word-wrap: normal;}
.ellip, .ellip-line {position: relative; overflow: hidden; max-width: 100%;}

/* CONTENT */
.content .row {margin: 30px -15px; padding: 0;}
.content .row div[class^="col-md-"]{}
.content h2 {font-size: 18px; margin:10px 0;font-weight: 500;}
.content h3 {margin: 20px 0 10px;}
.content ul {list-style: none; border-left: 42px solid #F0F0F0;padding: 5px 0;}
.content ul li {margin: 5px 0 10px -20px;}
.content p {line-height: 1.4;}
.content a, .content a:hover, .content a:focus, .content a:active {text-decoration: none; color: inherit; border-bottom: 1px solid #008845; padding: 0 0 2px;}
.content a:hover {color:#008845;}
.content b, .content strong {font-weight: 700; color: #7b7b7b;}
.content img {width: 100%; height: auto; border-radius: 5px; margin:15px 0;}
.content img.alignnone {max-width: 100%; margin: 15px 0; border-radius: 5px; height: auto; width: auto;}
.content img.alignleft, .content img.alignright {float: right; max-width: 40%; margin: 10px 0 10px 25px; border-radius: 5px; height: auto; width: auto;}
.content img.alignleft {float: left; margin: 10px 25px 10px 0;}
.content blockquote {text-align: justify; padding: 10px 0 10px 20px;}
.content .card {border: 1px solid #eaeaea; border-radius: 3px; padding: 15px 30px;}
.content .cardFilled {background-color: #F0F0F0; padding: 30px 50px 50px; border-radius: 3px;}
.content .cardFilled .col-md-12 {margin: 0 0 30px; background-color: #F0F0F0;}
.content .cardFilled h2 {margin: 0 0 5px;}
.content .cardFilled p {margin: 0; opacity: .8;}
.content a < img { border: none !important; }

/* SHARE LINKS */
ul.shareLinks {border: none; padding: 0 0 15px; margin: 15px 0;font-family: 'Montserrat', sans-serif; border-bottom: 1px solid #DCDCDC;}
ul.shareLinks li{border-radius:3px; display: inline-block; text-transform: uppercase; color: #989897; background-color: #DCDCDC; margin: 0 5px 0 0; color:#FFF; font-size: 11px; padding: 9px 18px; letter-spacing:.5px;}
ul.shareLinks img {width: 15px; height: 15px; margin: -2px 7px 0 0;}
ul.shareLinks li.facebook {background-color: #3b5999;}
ul.shareLinks li.facebook:hover {background-color: #355087;}
ul.shareLinks li.whatsapp {background-color: #25D366; display: none;}
ul.shareLinks li.whatsapp:hover {background-color: #29B257;}
ul.shareLinks li.twitter {background-color: #55acee;}
ul.shareLinks li.twitter:hover {background-color: #4b93c9;}
ul.shareLinks li.mail {background-color: #34465d;}
ul.shareLinks li.mail:hover {background-color: #2f3e52;}

/* GALLERY */
.gallery {height:300px; margin: 45px -15px;}
.gallery img, .gallery video {max-width:initial; float: none; width: auto; height:100%; border-radius:5px; margin: 0; opacity: .7; transform: scale(.9); transition: transform 200ms ease-out;}
.gallery img.is-selected, .gallery video.is-selected {opacity: 1;transform: scale(1);}

.gallery .flickity-prev-next-button {width: 100px; height: 100%; background: transparent; border-radius: 0px;}
.gallery .flickity-prev-next-button:hover {background: transparent; }
.gallery .flickity-prev-next-button .arrow {fill: white;}
.gallery .flickity-prev-next-button.no-svg {color: white;}
.gallery .flickity-prev-next-button:disabled {display: none;}
.gallery .flickity-page-dots {display: none;}

.fancybox-overlay {}
.fancybox-overlay .fancybox-skin{padding: 0 !important;}

/* BLOQUE NOTICIAS */
	.noticia {padding: 0 15px;}
	.noticia.noticia-min {padding: 0 30px;}
	.noticia:hover h2{color: #008845;}
	
	.noticia .img-container {border-radius: 3px; overflow:hidden; padding: 0px;height: 230px; position: relative; display: block;}
	.noticia.noticia-min .img-container {max-height: 230px;}

	.noticia .img-container img{width:100%; height:auto; transition: all 100ms ease-out;opacity: .9; position:absolute; top:50%; left:50%; transform: translate(-50%, -50%); object-fit: cover; height: 230px; display: none;}
	.noticia .img-container img:first-child{display: block;}
	.no-objectfit.no-object-fit .noticia .img-container img{width:inherit; height:inherit;}
	.no-objectfit.no-object-fit .bloque-portada .noticia .img-container img{width:auto; height:inherit;}
	.noticia:hover .img-container img{transform: scale(1.03) translate(-50%, -50%);opacity: 1;}
	.noticia .img-container video{width:100%; height:auto; object-fit: cover; height: 230px;}
	
	.bloque-portada .noticia {margin: 30px 0;}
	.bloque-portada .noticia .img-container {height: 180px;}
	.bloque-portada .noticia .img-container img {height: 180px;}
	.bloque-portada-eventos h3 {margin: 50px 0 30px -15px;}

	.relacionadas-180 .noticia.noticia-min .img-container {max-height: 180px;}
	.relacionadas-180 .noticia.noticia-min .img-container img,  .relacionadas-180 .noticia.noticia-min .img-container video{height: 180px;}
	.relacionadas-140 .noticia.noticia-min .img-container {max-height: 140px;}
	.relacionadas-140 .noticia.noticia-min .img-container img, .relacionadas-140 .noticia.noticia-min .img-container video {height: 140px;}

	/* Categorias Noticias */
	.categorias-noticias {padding: 0 30px;}
	.categorias-noticias ul.categories {list-style: none; padding: 0px; margin: 15px 0 0;}
	.categorias-noticias ul.categories li a {font-family: 'Montserrat', sans-serif; display: inline-block;width: 100%; position: relative;font-size:16px; color: #809e8f; margin: 10px 0;transition: padding 100ms ease-out; -webkit-backface-visibility: hidden; font-weight: 700; text-transform: uppercase;}
	.categorias-noticias ul.categories li a:hover {padding-left: 3px;color: #008845;}
	.categorias-noticias ul.categories li {border-bottom: 1px solid #dcdcdc;}
	.categorias-noticias ul.categories li:last-child {border: none;}
	.categorias-noticias ul.categories li a:after{top:3px; margin:0; content:''; background-image: url('img/icons/next.svg'); width: 15px; height: 15px;display: none; position: relative; background-size: cover;right:0;position: absolute;}
	.categorias-noticias ul.categories li a:hover:after{display: inline-block;}

	/* Página Categoría */
	.wrapper {margin: -300px auto 0; background-color: #FFF; position: relative; border-radius: 3px; padding: 0 45px;}
	.wrapper h3.section-title {color: #313131; font-weight: 700; margin: 45px 15px 30px;}
	.archive .wrapper h3.section-title {color: #809e8f;}
	.wrapper h3.section-title span{color: #008845;}
	.wrapper h3.section-title a{color: #809e8f;}
	.wrapper h3.section-title a:hover{color: #008845;}
	.wrapper > .row {margin: 0 0 45px;}

	/* Gallery */
	.img-container .gallery {height:230px; margin: 0; padding: 0;}
	.img-container .gallery img, .gallery video {max-width:initial; float: none; width: auto; height:100%; border-radius:5px; margin: 0; opacity: .7; transform: scale(.9); transition: transform 200ms ease-out;}
	.img-container .gallery img.is-selected, .gallery video.is-selected {opacity: 1;transform: scale(1);}

	.img-container .gallery .flickity-prev-next-button {width: 35px; height: 35px; background-color: rgba(0,0,0,.4); border-radius: 0px; top:inherit; bottom: 0; right: 10px; left: inherit;}
	.img-container .gallery .flickity-prev-next-button.previous {right: 50px;}
	.img-container .gallery .flickity-prev-next-button:hover {background-color: rgba(0,0,0,.9);}
	.img-container .gallery .flickity-prev-next-button .arrow {fill: white;}
	.img-container .gallery .flickity-prev-next-button.no-svg {color: white;}
	.img-container .gallery .flickity-prev-next-button:disabled {display: none;}
	.img-container .gallery .flickity-page-dots {display: none; }
	.noticia .img-container .gallery img{opacity:1; width:100%; height:auto; transition: all 100ms ease-out;position:relative; top:0; left:0; transform: translate(0); border-radius: 0px;}

	/* Pagination */
	.pagination {margin: 15px auto; width: 100%; text-align: center;}
	.pagination .next, .pagination .prev {margin: 0 10px; display: inline-block; font-family: 'Montserrat', sans-serif;}
	.pagination .next a, .pagination .prev a{font-size:16px;  font-weight: 700; border: 2px solid #008845; padding: 4px 10px; border-radius: 3px; text-transform: uppercase;}
	.pagination .prev a{color: #C2C2C2; border: none;}
	.pagination .next:hover a{background-color: #008845; color: #FFF;}
	.pagination .prev:hover a{color: #313131;}

/**
.agenda .grouped-events {-moz-column-count: 2; -moz-column-gap: 20px; -webkit-column-count: 2; -webkit-column-gap: 20px; column-count: 2; column-gap: 20px;}
.agenda .grouped-events > .row {display: block; position: relative; float: left;margin: 0; overflow: hidden; break-inside: avoid-column; -webkit-column-break-inside: avoid; }
**/

/* SIDEBAR */
.sidebar {padding: 0 0 0 45px; border-left: 1px solid #eaeaea;}
.sidebar h3.month {margin: 25px 0 15px -15px;}
.sidebar .evento-item-details {border: none; padding: 5px 0 0 10px;}

/* LOGIN FORM */
#loginform {border-left: 1px solid #eaeaea; padding: 0 30px; margin: -50px 0 0;}
#loginform label {font-family: 'Montserrat', sans-serif; font-weight: 500; margin: 15px 0 5px;}
#loginform input.input {color:#313131; font-size:16px; border: 1px solid #CCC; border-radius: 3px; box-shadow: none; display: block; width: 100%; height: 45px; line-height: 44px; padding: 0 15px; background-color: transparent;}
#loginform input.input:focus {border-color: #008845;}
#loginform input:-webkit-autofill {-webkit-box-shadow: 0 0 0px 1000px white inset; }
#loginform input[type=submit] {float:right; font-size:16px; background-color: transparent; border: 2px solid #008845; padding: 4px 10px; border-radius: 3px; color: #008845; text-transform: uppercase; font-family: 'Montserrat', sans-serif; font-weight: 700;}
#loginform input[type=submit]:hover {background-color: #008845; color:#FFF;}
#loginform .recover-password {float: left;}
#loginform .login-remember {text-align: right;}

/* AGENDA */
	h4.section-title {padding: 15px 30px 0; margin: -50px 0 0; color: #FFF; font-size: 22px; opacity: .9; font-weight: 500;}
	h4.section-title.noticias {margin: -65px 0 30px;}
	.sync-wrapper {padding: 0 0 0 25px; }
	.sync-wrapper .oculto {display: none; padding: 0 0 0 20px; margin: 20px 0 0 0;}

	.agenda {margin: 0 auto 50px; padding: 0 30px 0 0;}
	.agenda .date-col {padding: 0;}
	
	.categorias-noticias.categorias-agenda {padding: 0 15px;}

	/* LISTA EVENTOS */
	.evento-item {border-bottom: 1px solid #eaeaea; padding: 10px 0;}
	.evento-item:last-of-type {border: none}
	.evento-item-details {padding: 5px 0 0 20px;border-left: 1px solid #eaeaea;}
	
	.em-pagination {float: right; margin: 15px auto; width: 100%; text-align: center; border-top: 1px solid #eaeaea; padding: 30px 0;}
	.em-pagination .page-numbers {display: none;}
	.em-pagination .page-numbers.next, .em-pagination .page-numbers.prev {font-size:16px; margin: 0 10px; display: inline-block; font-family: 'Montserrat', sans-serif; font-weight: 700; border: 2px solid #008845; padding: 4px 10px; border-radius: 3px; text-transform: uppercase;}
	.em-pagination .page-numbers.prev {color: #C2C2C2; border: none;}
	.em-pagination .page-numbers.next:hover {background-color: #008845; color: #FFF;}
	.em-pagination .page-numbers.prev:hover {color: #313131;}

	/* CALENDARIO */
	.em-calendar {font-family: 'Montserrat', sans-serif; width: 90%; text-align: center; margin: 30px auto;}
	.em-calendar td.month_name {text-transform: uppercase; font-size: 20px; font-weight: 700; color: #313131;}
	.em-calendar tr {border-bottom: 1px solid #eaeaea;}
	.em-calendar thead tr {border-bottom: none;}
	.em-calendar tr td, .em-calendar tr th {width: 15px; height: 65px; font-size: 18px; color: #313131; position: relative;z-index: 0;}
	.em-calendar tr td:after {z-index: -1;border-radius:50%; content:''; width:35px; height:35px; position:absolute; top:14px; left: 50%; transform: translateX(-50%); background-color: transparent;}
	.em-calendar tr.days-names td, .em-calendar tr.days-names th{height: 35px; font-size: 12px;}
	.em-calendar tr td.eventful:after, .em-calendar tr th.eventful:after {width: 7px; height: 7px; background-color: #DCDCDC; bottom: 8px; top: inherit;}
	table.em-calendar td.eventful a {color:#008845 !important;}
	table.em-calendar td.eventless-today, table.em-calendar td.eventful-today {color: #FFF; background-color: transparent !important;}
	.em-calendar tr td.eventless-today:after, table.em-calendar td.eventful-today a, .em-calendar tr td.eventful-today:after  {background-color: #008845; color: #FFF;}
	.em-calendar tr td.eventless-post, .em-calendar tr td.eventless-pre, table.em-calendar td.eventful-pre a, table.em-calendar td.eventful-post a {color: #CCC !important; text-decoration: none !important;}

	/* SINGLE EVENTO */
	ul.single-evento-details {font-family: 'Montserrat', sans-serif; margin: 20px 0; border:none;padding:0;font-size: 16px;}
	ul.single-evento-details li {display:block;margin: 10px 0; padding: 0 15px 0 0;color:#9d9c9c;}
	ul.single-evento-details li:last-child {border: none;}
	.single-evento-details img {width: 20px; height: 20px; margin: -5px 10px 0 0; }
	
/* CONTACTO */
	/* Contact Details */
	.contact-details {padding: 0;}
	.contact-details h4{font-size: 28px; font-weight: 500;}
	.contact-details ul{list-style: none; padding: 0; margin: 0px; color:#008845; font-size: 16px; border: none;}
	.contact-details ul li {margin: 0 20px 20px 2.5em;padding-left: 0;text-indent: -2.5em; display: block;}
	.contact-details ul li:before{top:7px; margin:0 15px 0 0; content:''; background-image: url('img/icons/location_contact.svg'); width: 25px; height: 25px; display: inline-block; position: relative; background-size: cover;}
	.contact-details ul li.email:before{background-image: url('img/icons/mail.svg');}
	.contact-details ul li.phone-number:before{background-image: url('img/icons/telefono.svg');}

	/* Contact Form */
	.bloque-contacto .contact-form {padding: 50px 100px; height: 450px;}
	.btn-submit {float:right; border: 2px solid #008845; border-radius: 3px; color: #008845; background-color: transparent; font-size: 16px; text-transform: uppercase; font-weight: 500; height: 44px; margin: 15px 0; padding: 0 50px;}
	.btn-submit:hover, .btn-submit:focus, .btn-submit:active {color: #FFF; background-color: #008845;}
	.form-control {border-radius: 0px; border: none; border-bottom: 1px solid #DCDCDC;box-shadow: none;padding: 0px;font-size: 16px;height: 44px;}
	textarea.form-control {resize: none; overflow:hidden; height: 44px; padding: 10px 0 0;}
	.form-control::-webkit-input-placeholder {color: #989897;}
	.form-control:-moz-placeholder {color: #989897;}
	.form-control::-moz-placeholder {color: #989897;}
	.form-control:-ms-input-placeholder {color: #989897;}
	.btn,
	.btn.active, .btn:active,
	.form-control:focus,
	textarea:focus,
	input[type="text"]:focus,
	input[type="password"]:focus,
	input[type="datetime"]:focus,
	input[type="datetime-local"]:focus,
	input[type="date"]:focus,
	input[type="month"]:focus,
	input[type="time"]:focus,
	input[type="week"]:focus,
	input[type="number"]:focus,
	input[type="email"]:focus,
	input[type="url"]:focus,
	input[type="search"]:focus,
	input[type="tel"]:focus,
	input[type="color"]:focus,
	.uneditable-input:focus {   
	  border-color: #008845;
	  outline: 0 none;
	  box-shadow: none;
	}

	/* Contact Map */
	.bloque-contacto .contact-map {padding: 0px;}
	.bloque-contacto .contact-map iframe {width: 100%;}

/* HISTORIA */
.page-template-page-historia .container .content p{margin: 30px auto; width: 88%;}
.establishmentDate {width: 100%; position: absolute; z-index: 5; height:160px;font-family: 'Montserrat', sans-serif; color: #FFF; text-align: center; position: absolute; left: 0; bottom: 0; font-size: 160px; font-weight: 700;}

.carousel-historia {margin: 0 -15px;}
.carousel-historia.flickity-enabled.is-draggable > .flickity-viewport {transition: height 0.4s; max-height: inherit;}
.carousel-historia > .flickity-viewport > .flickity-slider:before{content: ''; height: 40px; border-radius: 3px; display: block; width: 400%; top:40px; left: -30px; position: absolute; background-color: #fafafa;}
.carousel-historia .carousel-cell {width: 75%;opacity: .5; max-height: inherit;}
.carousel-historia .carousel-cell.is-selected, .carousel-historia .carousel-cell:hover {opacity: 1; }
.carousel-historia .carousel-cell.is-selected {max-height: inherit;}
.carousel-historia .carousel-cell:hover {cursor: pointer;} 
.carousel-historia .carousel-cell.is-selected:hover {cursor: default;} 
.carousel-historia .carousel-cell h1 {font-size: 60px;color: #d7d8dc;}
.carousel-historia .carousel-cell.is-selected h1, .carousel-historia .carousel-cell:hover h1 {color: #008845;}
.carousel-historia .carousel-cell h2 {font-size: 18px;color: #d7d8dc; text-transform: uppercase; font-weight: 700;}
.carousel-historia .carousel-cell.is-selected h2, .carousel-historia .carousel-cell:hover h2 {color: #313131;}
.carousel-historia .carousel-cell .row {margin:30px -15px;}
.carousel-historia .carousel-cell > img {height: 300px; min-height: inherit; border-radius: 6px;}
.carousel-historia .gallery .flickity-viewport {max-height: 300px !important; height: 300px !important;}
.carousel-historia .gallery img, .carousel-historia .gallery video {max-height: inherit;min-height: inherit; min-width: inherit; object-fit: inherit;}
.no-object-fit.no-objectfit .carousel-historia .gallery img, .no-object-fit.no-objectfit .carousel-historia .gallery video {height: 100%; width: auto;}
.carousel-historia .carousel-cell:after {
	content: '';
	height: 210px;
	width: 100%;
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 100;
	background: transparent;
    background: -webkit-linear-gradient(rgba(255,255,255,0),rgba(255,255,255,1));
    background: -o-linear-gradient(rgba(255,255,255,0),rgba(255,255,255,1));
    background: -moz-linear-gradient(rgba(255,255,255,0),rgba(255,255,255,1));
    background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,1));
    height: 100%;    
	background: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,0)), to(rgba(255,255,255,1)), color-stop(0.4, #FFF));
}
.carousel-historia .carousel-cell.is-selected:after {content: none;}

/* LOCATION */
#map-canvas {width: 100%; height: 450px;}
.location-header {margin: -50px 15px 30px; overflow: hidden; width: calc(100% - 30px); height: 450px; position: relative; padding: 0px; background-color: #008845;border-radius:3px;}
.location-header .navbar-shadow {width: 100%;}

.page-template-page-location .static-header {height: 500px;}
.page-template-page-location .static-header .navbar-shadow {
    background: transparent;
    background: -webkit-linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,0));
    background: -o-linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,0));
    background: -moz-linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,0));
    background: linear-gradient(rgba(0,0,0,.2), rgba(0,0,0,0));
}
/* TABS */
ul.nav-tabs {padding: 0; margin: 0 0 30px 0; border: none;}
ul.nav-tabs>li {margin: 0 0 0 30px; padding: 0 0 0 30px; border-left: 1px solid #CCC;}
ul.nav-tabs>li:first-child {border: none; margin: 0; padding: 0;}
ul.nav-tabs>li>a {font-family: 'Montserrat', sans-serif; font-size: 20px; padding: 0; border: none; margin: 0; color:#CCC; line-height: 28px;}
ul.nav-tabs>li:first-child>a {font-size: 36px; font-weight: 700; border: none;}
ul.nav-tabs>li>a:hover, ul.nav-tabs>li>a:active, ul.nav-tabs>li>a:focus {padding: 0; border: none; color: #313131; background-color: #FFF;}

ul.nav-tabs>li.active>a, ul.nav-tabs>li.active>a:focus, ul.nav-tabs>li.active>a:hover {color: #008845; cursor: default; background-color: #fff; border: none;}


/* COOKIES */
#cookie-msg {padding: 0; height: 0; overflow:hidden;border-bottom: 1px solid #dcdcdc; background-color: #fafafa; transition: cursor: all 150ms ease-out;}
.loaded #cookie-msg {height: auto;}
#cookie-msg .row {padding: 15px 0;}
#cookieClose {cursor: pointer;background-color: transparent;box-shadow: none; border: 2px solid #b9b9b9;border-radius: 3px; line-height: 30px; padding: 0 7px; font-size: 30px; margin: 5px;}
#cookieClose:hover {border-color:#008845; color: #008845;}

/* ACCORDION  */
.panel-group > h3 {margin:0; padding: 15px;}
.panel-default {background-color: transparent; border: none; box-shadow: none;}
.panel-default>.panel-heading {background-color: #F0F0F0; border: none; padding: 15px; border-radius: 3px;}
.panel-default>.panel-heading h3{margin:0;}
.panel-default>.panel-heading h3 .caret {float: right; border-top: 8px dashed; border-right: 8px solid transparent; border-left: 8px solid transparent; margin-top: 8px; -ms-transform: rotate(180deg); -webkit-transform: rotate(180deg); transform: rotate(180deg);}
.panel-default>.panel-heading h3 .caret {float: right; border-top: 8px dashed; border-right: 8px solid transparent; border-left: 8px solid transparent; margin-top: 8px; -ms-transform: rotate(180deg); -webkit-transform: rotate(180deg); transform: rotate(180deg);}
.panel-default>.panel-heading .collapsed h3 .caret {-ms-transform: rotate(0deg); -webkit-transform: rotate(0deg); transform: rotate(0deg);}
.panel-body {background-color: #FFF; padding: 0;}
.panel-body h2{margin:0;}
.panel-body p{margin:0;}
.panel-body .card-correspondencia {padding: 20px 15px 20px 0; margin: 10px 0; position: relative;}
.panel-body .card-correspondencia .card-correspondencia-content {z-index: 5; margin: 0 21px; position: relative; display: block;}
.panel-body .card-correspondencia:after {content:''; width: 42px; height: 100%; position: absolute; left: 0; top:0; display: block; background-color: #F0F0F0;}
.panel-default>.panel-heading+.panel-collapse>.panel-body {border: none;}

/* BUGS */
.flickity-viewport {touch-action: pan-y !important;}

@media (max-width: 1200px) {
	/** NAVBAR **/
	.navbar-nav>li>a {padding: 15px 7px; font-size: 11px;}
}

@media (max-width: 992px) {
	/** NAVBAR **/
	.navbar-nav>li>a {padding: 15px 5px; font-size: 9px;}
	/** HISTORIA **/
	.establishmentDate {font-size: 130px; height: 130px;}
	/** TABS **/
	ul.nav-tabs {margin: 30px 0;}
	ul.nav-tabs>li {display: block; width: 100%; margin: 0; padding: 0; border: none;}
	ul.nav-tabs>li:first-child {margin:0 0 10px 0;}
}

@media (max-width: 700px) {
	.img-webcam {width: 100%;}
}

@media (max-width: 767px) {
	/** NAVBAR **/
	.navbar-default {margin: 0 0 15px; z-index: 16; min-height: 200px;}
	.navbar-default .navbar-toggle {border: none; position: fixed; z-index: 10; width: 100%; text-align: right; float: right; background-color: #FFF; border-radius: 0px; top: 0px; right: 0px; margin: 0px; height: 50px;}
	.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {background-color: #FFF;}
	.navbar-header {height: 200px; margin: 0 !important;}
	.nav.navbar-nav.navbar-right {display: none;}
	.navbar-default .navbar-nav.navbar-left {padding: 0 0 0 25px; margin:30px 0 5px;}
	.navbar-default .navbar-nav.navbar-left>.active>a {padding: 0; font-size: 26px; font-weight: 700; line-height: 36px;}
	.navbar-default .navbar-nav.navbar-left>.active>a, .navbar-default .navbar-nav.navbar-left>.active>a:focus, .navbar-default .navbar-nav.navbar-left>.active>a:hover {padding: 10px 0; font-size: 16px; font-weight: 700; line-height: 16px;}
	.navbar-default .navbar-nav.navbar-left>.active>a img {display: none;}
	.navbar-default .navbar-nav.navbar-left>.active>a span, .navbar-default .navbar-nav.navbar-left>.active>a:hover span {opacity: 1; transform: translate3d(0, 0, 0) scale(1); -webkit-transform: translate3d(0, 0, 0) scale(1);}
	.navbar-default .navbar-nav.navbar-main {padding: 0 0 0 25px; margin:0;}
	.navbar-default .navbar-nav.navbar-main>li {display: block;}
	.navbar-default .navbar-nav.navbar-main>li>a, .navbar-default .navbar-nav.navbar-main>li>a:hover, .navbar-default .navbar-nav.navbar-main>li>a:active, .navbar-default .navbar-nav.navbar-main>li>a:visited {color:#313131 !important; padding: 10px 0; font-size: 16px; font-weight: 700; line-height: 16px;}
	.navbar-brand>img {max-width: 100%; margin: 50px 0 0; height: 150px;}
	.navbar-default .navbar-collapse, .navbar-default .navbar-form {border: none;}
	.navbar-collapse {max-width:400px;transition: right 250ms ease-out; position: fixed; width: 85vw; background-color: #FFF; right: -80vw; height: 100vh; top: 0px; z-index: 10; display: block; text-align: left;}
	.navbar-collapse.collapse.in { right: 0; box-shadow: 0 0 12px rgba(0,0,0,.15);}
	.dropdown:hover ul.dropdown-menu {display: none;} 
	.dropdown.open:hover ul.dropdown-menu {display: block; margin: 0;}
	.navbar-nav .open .dropdown-menu {margin:10px 0;position: relative; background-color: transparent; text-align: left; color: #FFF; width: 100%;}
	.dropdown-menu>li>a {text-align: left; color: #FFF; text-transform: none;}
	.navbar-default .navbar-nav .open .dropdown-menu>li>a {color: #989897; line-height: 16px; font-size: 14px; padding: 5px 0;}
	.navbar-default .navbar-nav .open .dropdown-menu>.active>a, .navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus, .navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover {background-color: transparent;}
    color: #313131;
	/** PORTADA **/
	.bloque-portada h3 {margin: 15px 0; text-align: center;}
	.btn.ver-mas {float: none; text-align: center; width: 100%;}

		/** Carousel **/
		.carousel-wrapper {margin: 0 0 50px; padding: 0}
		.carousel-wrapper .noticia-carousel {bottom: 0; width: 100%; right: inherit; padding: 15px 25px 10px;}
		.carousel-wrapper .flickity-page-dots {display: none;}
		.flickity-enabled.is-draggable .flickity-viewport, .carousel-cell {max-height: 400px;}
		.carousel-cell img, .carousel-cell video {min-height: 400px;}

		/** Noticias Portada **/
		.bloque-portada .noticia .img-container {height: inherit;border-radius: 0px; width: calc(100% + 30px); margin: 0px -15px 10px;}
		.noticia:hover .img-container img {transform: scale(1) translate(0,0);}
		.noticia h2 {font-size: 26px; line-height: 32px;}

		/** Eventos Portada **/
		.bloque-portada-eventos {margin: 50px 0;}
		.bloque-portada-eventos h3{font-size: 32px; line-height: 42px; padding: 30px; border-bottom: 1px solid #eaeaea; margin: 0;}
		.bloque-portada-eventos .evento-item {margin: 0; text-align: center;}
		.bloque-portada-eventos .evento-item:last-of-type {border-bottom: 1px solid #eaeaea;}
		.bloque-portada-eventos .date-col {padding: 0;}
		.bloque-portada-eventos .evento-item-details {padding: 10px 15px;}
		p.small {font-size: 16px; margin: 5px 0;}
		.evento-item h2 {font-size: 26px; line-height: 32px;}

	/** FOOTER **/
	.patrocinadores h3 {text-align: center;}
	.patrocinadores li {display: block; width: 50%; float: left;}
	footer {text-align: center; border: none;}
	footer img {width: 100%; margin: 25px 0;}
	#menu-menu-footer {display: none;}
	.sellos li {max-height: 62px;}
	.sellos li img {margin: 0; height: auto;}

	/** LOCATION **/
	.location-header {margin: 0;  width: auto; height: auto; background-color: transparent; border-radius: 0; padding: 0;} 

	/** SINGLE **/
	.navbar-shadow {display: none;}
	.static-header {margin: 0;  width: auto; height: auto; background-color: transparent; border-radius: 0; padding: 0;} 
	.static-header img{position: relative; transform: translate(0,0); height: 225px;}


	ul.shareLinks li {margin: 0 5px 10px 0; font-size: 12px;}
	ul.tags {display: none;}
	iframe {max-width: 100%;}

		/** Sidebar **/
		.sidebar {border: none; padding: 0; margin: 50px 0; text-align: center;}
		.sidebar h3.month {margin: 0; padding: 30px; font-size: 32px; line-height: 42px; border-bottom: 1px solid #eaeaea;}
		.sidebar .evento-item {margin: 0; text-align: center;}
		.sidebar .date-col {padding: 0;}
		.sidebar .evento-item-details {padding: 10px 15px;} 

		/** Relacionadas **/
		.relacionadas {padding: 0; float: inherit;}
		.relacionadas h4{ width: 100%; text-align: center; float: none; margin: 15px 0; }
		.relacionadas-140 .noticia.noticia-min .img-container {height: auto; max-height: inherit; border-radius: 0px; margin: 0 -30px;}
		.noticia .img-container img {opacity: 1; position: static; transform: translate(0,0);}
		.relacionadas .noticia-min {text-align: left;margin: 0 0 30px;}
		.relacionadas .noticia-min h2{font-size: 26px; line-height: 36px;}


	/** SINGLE EVENTO **/
	ul.single-evento-details li {padding: 0 0 0 30px;text-indent: -30px; margin: 15px 0;}

	/** AGENDA **/
	.page-template-page-agenda .static-header {display: none;}
	.wrapper, .agenda {margin: 0; padding: 0; text-align: center;}
	.agenda .evento-item {margin: 0; padding: 10px 0;}
	.agenda .date-col {padding: 0;}
	.agenda .evento-item-details {padding: 10px 15px; border: none;} 

	.agenda h3 {padding: 30px; font-size: 32px; line-height: 42px; border-bottom: 1px solid #eaeaea; margin: 0;}
	.categorias-agenda {display: none;}

	/** NOTICIAS **/
	.page-template-page-noticias .static-header {display: none;}
	.page-template-page-noticias  h3.section-title {font-size: 32px; line-height: 42px; padding: 30px; margin: 0;}
	.page-template-page-noticias .noticia {margin: 0 -15px 30px; text-align: left;}
	.page-template-page-noticias .noticia .img-container {border-radius: 0px; overflow: visible; position: static; width: calc(100% + 30px); margin: 10px -15px; height: auto;}
	.page-template-page-noticias .wrapper > .row {margin: 0;}

	/** CONTENT **/
	.content p {line-height: 1.5;}
	.content blockquote {padding: 0; border: none;}
	.content img.alignleft, .content img.alignright {float: none; max-width: inherit; border-radius: 0px; margin: 15px -30px; width: calc(100% + 45px);}
	.content .row div[class^="col-md-"] {padding: 0 15px;}
	.content .row div[class^="col-md-"] img {float: none; max-width: inherit; border-radius: 0px; margin: 15px -30px; width: calc(100% + 45px);}
	.content .card, .content .cardFilled  {padding:15px;}
	.gallery {margin: 45px 0; padding: 0; }

	/** HISTORIA **/
	.establishmentDate {display: none;}
}
/*ACICATECH (pdiego) Ocultar opcion recuperar contraseña en el formulario de acceso de los socios*/
#loginform .recover-password{
	display:none;
}
/*ACICATECH (pdiego) Resaltar opcion del menu*/
.menu-green a{
    font-size: 1.2em;
    text-decoration: underline;
    font-weight: bold;
}