/* CSS Document */

/*

----------------------
Stylesheet Guide
-------------------------

GALLERY CAROUSEL
GALLERY SQUARE
GALLERY (BLOG STYLE)
GALLERY (GRID STYLE)
GALLERY (GRID STYLE) FILTERS
PAGER
MEDIA

*/
.row-evento .dv-gallerycontainer{height:375px;}

#dv-g2152{height:320px;}

.row-intervenciones .dv-gallerycontainer{height:310px;}
.row-otros .dv-gallerycontainer{height:310px;}
.row-cartelsolo .dv-gallerycontainer{height:780px;}
.row-cartel-twitter .dv-gallerycontainer{height:720px;}




.clear {
    clear: both;
}
/* ================= GALLERY CAROUSEL ================== */
.latest-dvgalleries {
    position: relative;
    overflow: hidden !important;
}
.latest-dvgalleries  > figcaption > div > .dvh5 {
    margin: 0px !important;
    text-decoration: none;
    line-height: 1 !important;
    font-weight: 700;
    outline: none !important;
}
.latest-dvgalleries  > figcaption > div > .dvh5 > a {
    text-decoration: none;
    -webkit-transition:all 0.2s ease-in-out;
    -moz-transition:all 0.2s ease-in-out;
    -o-transition:all 0.2s ease-in-out;
    -ms-transition:all 0.2s ease-in-out;
    transition:all 0.2s ease-in-out;
}
.latest-dvgalleries .button {
    display: block;
}
.latest-dvgalleries > a {
    outline: none !important;
}
.latest-dvgalleries > a > img {
    width: 100%;
    display: block;
    padding: 0px !important;
    margin: 0px !important;
    -webkit-border-radius: 0px !important;
    -moz-border-radius: 0px !important;
    border-radius: 0px !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
    border:none !important;
    -webkit-transition:border 0.2s ease-in-out;
    -moz-transition:border 0.2s ease-in-out;
    -o-transition:border 0.2s ease-in-out;
    -ms-transition:border 0.2s ease-in-out;
    transition:border 0.2s ease-in-out;
    vertical-align: bottom;
    overflow: hidden;
}
.latest-dvgalleries > figcaption {
    width: 100%;
    height: 100%;
}
.latest-dvgalleries > figcaption > div {
    height: 100%;
}
.latest-dvgalleries > figcaption > div > p {
    margin-top: 0px;
    line-height: 1.5;
}
.latest-dvgalleries > figcaption > div > hr {
    height: 1px !important;
    border:none !important;
    outline: none !important;
    padding: 0px !important;
}
/* ================= GALLERY SQUARE ================== */
.dvsquare {
    position: relative;
    overflow: hidden !important;
}
.dvsquare > a {
    outline: none !important;
    display: block;
}
.dvsquare > a > img {
    width: 100%;
    display: block;
    padding: 0px !important;
    margin: 0px !important;
    -webkit-border-radius: 0px !important;
    -moz-border-radius: 0px !important;
    border-radius: 0px !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
    border:none !important;
    -webkit-transition:opacity 0.2s ease-in-out;
    -moz-transition:opacity 0.2s ease-in-out;
    -o-transition:opacity 0.2s ease-in-out;
    -ms-transition:opacity 0.2s ease-in-out;
    transition:opacity 0.2s ease-in-out;
    vertical-align: bottom;
    overflow: hidden;
    opacity: 1;
}
.dvsquare > a:hover img {
    opacity: 0.1;
    -webkit-transition:opacity 0.2s ease-in-out;
    -moz-transition:opacity 0.2s ease-in-out;
    -o-transition:opacity 0.2s ease-in-out;
    -ms-transition:opacity 0.2s ease-in-out;
    transition:opacity 0.2s ease-in-out;
}
/* ================= GALLERY (BLOG STYLE) ================== */
.dv-gallerycontainer {
    position: relative;
    width: 100%;
    height: 275px;
    display: inline-block;
    margin-left: 0px !important;
    margin-right: 0px !important;
    margin-top: 0px !important;
    padding: 0px !important;
    vertical-align: bottom;
}
.dv-gallerycontent-inner {
    margin: 0px !important;
}
.dv-gallerycontent-inner > .dvh4{
    margin-top: 0px !important;
    margin-right: 0px !important;
    margin-left: 0px !important;
    line-height: 1 !important;
    font-weight: 700;
}
.dv-gallerycontent-inner > p {
    margin-top: 0px !important;
    line-height: 1.5;
    margin-top: 0px;
}
.dv-gallerycontent-inner > .dvh4 > a{
    text-decoration: none !important;
    -webkit-transition:all 0.2s ease-in-out;
    -moz-transition:all 0.2s ease-in-out;
    -o-transition:all 0.2s ease-in-out;
    -ms-transition:all 0.2s ease-in-out;
    transition:all 0.2s ease-in-out;
    outline: none !important;
}
.dv-gallerycontent {
    float: right;
    padding: 0px !important;
    margin: 0px !important;
    position: relative;
}
.dv-gallerycontent.withoutfimage {
    width: 100% !important;
}
.dv-galleryimage {
    position: absolute;
    left:0;
    top:0;
    height: 100%;
    vertical-align: bottom;
    overflow: hidden;
    cursor: pointer;
}
.dv-galleryimage a{
    position: absolute;
    left:0;
    top:0;
    width: 100%;
    height: 100%;
    opacity: 0;
    -webkit-transition:all 0.4s ease-in-out;
    -moz-transition:all 0.4s ease-in-out;
    -o-transition:all 0.4s ease-in-out;
    -ms-transition:all 0.4s ease-in-out;
    transition:all 0.4s ease-in-out;
    vertical-align: bottom;
    overflow: hidden;
    outline: none !important;
}
.dv-galleryimage:hover a{
    opacity: 0.9;
}
.dv-gallerycontent.vertical {
    float:none;
    width: 100% !important;
}
.dv-galleryimage.vertical {
    position: relative !important;
    width: 100% !important;
}
.dv-gallery-title {
	height: 50px;
	left: 0;
	position: absolute;
    display: inline-block;
	right: 0;
	top: 0;
	z-index: 9;
    line-height: 50px;
    margin: 0px;
    padding: 0px;
}
.dv-readmore-button {
    word-spacing: 0.1em;
    letter-spacing: 0.01em;
    padding: 10px 0px !important;
    line-height: 1;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    display: inline-block;
    outline: none !important;
    text-decoration: none !important;
    font-weight: 700;
    margin: 0px !important;
}
.dv-readmore-button:hover {
    padding: 10px 15px !important;
}
/* ================= GALLERY (GRID STYLE) ================== */
.dvgrid {
    list-style-type: none !important;
    position: relative;
    margin: 0px !important;
    padding: 0px !important;
    overflow: hidden !important;
    display: none;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
.dvgrid li {
    padding: 0px !important;
    margin: 0px !important;
    display: none;
}
.dvgrid.withanim li {
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
.dvgrid li.inactive {
  visibility: hidden;
  opacity: 0;
}
/* ================= GALLERY (GRID STYLE) FILTERS ================== */
.dvfilters {
    list-style-type: none !important;
    text-align: center;
    margin: 0px !important;
    padding: 0px !important;
    display: inline-block;
}
.dvfilters-clear {
    clear: both;
    border:none !important;
    outline: none !important;
    background: none !important;
}
.dvfilters li {
    float: left;
    cursor: pointer;
    margin: 0px 1px 1px 0px!important;
    width: auto;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
}
/* ================= PAGER ================== */
.dv-blogpager {
    width:100%;
    position:relative;
    display:inline-block;
    vertical-align:bottom;
    margin: 0px !important;
}
.dv-blogpager .button {
    margin: 0px !important;
}
.dv-previous {
    float:left;
    width:50%;
    padding:0px !important;
}
.dv-next {
    float:right;
    width:50%;
    text-align:right;
    padding:0px !important;
}
.dv-previous a,.dv-next a {
    text-decoration: none !important;
    outline: none !important;
    width: auto;
    cursor: pointer;
    display: inline-block;
    line-height: 1;
    margin: 0px;
    padding: 15px 20px 15px 20px !important;
    position: relative;
    text-align: center;
    text-decoration: none !important;
    -webkit-transition: background-color 0.2s ease-in-out;
    -moz-transition: background-color 0.2s ease-in-out;
    -o-transition: background-color 0.2s ease-in-out;
    transition: background-color 0.2s ease-in-out;
    border: none !important;
    font-weight: 700;
    word-spacing: 0.1em;
    letter-spacing: 0.01em;
}





/* ================= MEDIA ================== */
@media only screen and (min-width: 768px) {
    .dv-galleryimage a{
        -webkit-transform: translateX(100%);
	   -moz-transform: translateX(100%);
	   -ms-transform: translateX(100%);
	   transform: translateX(100%);
    }
    .dv-galleryimage:hover a{
        -webkit-transform: translateX(0px);
	   -moz-transform: translateX(0px);
	   -ms-transform: translateX(0px);
	   transform: translateX(0px);
    }
    .dv-galleryimage a.vertical{
       -webkit-transform: translateX(0%);
	   -moz-transform: translateX(0%);
	   -ms-transform: translateX(0%);
	   transform: translateX(0%);
        -webkit-transform: translateY(100%);
	   -moz-transform: translateY(100%);
	   -ms-transform: translateY(100%);
	   transform: translateY(100%);
    }
    .dv-galleryimage:hover a.vertical{
        -webkit-transform: translateY(0px);
	   -moz-transform: translateY(0px);
	   -ms-transform: translateY(0px);
	   transform: translateY(0px);
    }
	
	
}


@media(min-width:1200px){


}
@media only screen and (min-width: 992px) and (max-width: 1200px) {

.row-cartelsolo .dv-gallerycontainer{height:640px;}
.row-cartel-twitter .dv-gallerycontainer{height:640px;}

}



@media only screen and (min-width: 768px) and (max-width: 992px) {

.row-cartelsolo .dv-gallerycontainer{height:600px;}
.row-cartel-twitter .dv-gallerycontainer{height:700px;}
	
.row-evento .dv-gallerycontainer{height:420px;}
}



@media only screen and (max-width: 768px) {
   /* .dv-gallerycontent {
        float:none;
        width: 100% !important;
    }
    .dv-galleryimage {
        position: relative !important;
        width: 100% !important;
    }*/
	.row-eventos a.openlightbox{height:275px;}
	/*.row-intervenciones .dvintervencion{height:310px}
	.row-intervenciones .dv-gallerycontainer{height:250px;}
	.row-intervenciones  a.openlightbox{height:250px;}*/
	
	.row-cartelsolo .dv-gallerycontainer{height:540px;}
	.row-cartel-twitter .dv-gallerycontainer{height:520px;}
	.row-evento .dv-gallerycontainer{height:275px;}
}







/* ANADIDOS */

.dv-galleryimage.vertical {height: 250px !important;}
.dvfilters li {font-size: 16px;padding: 5px 15px;}
.dvfilters-clear {height: 20px;}
.latest-dvgalleries hr {margin-right: -25px;margin-left: -25px;margin-top: 25px;margin-bottom: 20px;}
.latest-dvgalleries > figcaption > div {padding: 25px; !important;}
.latest-dvgalleries > figcaption > div > p {margin-bottom: 20px !important;}
.dv-gallerycontent-inner > .dvh4{margin-bottom: 20px !important;}
.dv-gallerycontent-inner > p {margin-bottom: 35px !important;}
.dv-gallerycontent-inner {padding: 40px; !important;}
/*.dv-gallerycontainer {margin: 40px; !important;}
.dv-gallerycontent {width: 60%;}
.dv-galleryimage {width: 40%;}*/
 .dv-gallerycontainer {margin-bottom:20px;}
 .dv-galleryimage {width:100%}

.owl-theme .owl-controls .owl-nav .owl-prev {background-image: url('icons/c-left.png');background-position: center center;background-repeat: no-repeat;}
.owl-theme .owl-controls .owl-nav .owl-next {background-image: url('icons/c-right.png');background-position: center center;background-repeat: no-repeat;}
.dv-galleryimage a,.dvsquare > a{background-position:center center;background-repeat:no-repeat;background-image:url('icons/zoom.png');}
.dv-galleryimage a.videogal,.dvsquare > a.videogal {background-image:url('icons/video.png');}
.dv-galleryimage a.linkgal,.dvsquare > a.linkgal {background-image:url('icons/link.png');}
.dv-gallerycontent-inner > .dvh4{font-size: 24px;}
.latest-dvgalleries  > figcaption > div > .dvh5 {font-size: 18px;}
.dv-gallery-title {font-size: 16px;}
.latest-dvgalleries > figcaption > div > p,.dv-gallerycontent-inner > p {font-size: 14px;}

.dv-galleryimage,#lightGallery-slider .lightGallery-slide {background:url('icons/loader2.gif') no-repeat scroll center center transparent;}
.dvsquare > a {background-color: #0c925d;}
.dvfilters li {background-color: #f5f1f0;}
.dvfilters li:hover {background: #92bfdb;color: #fff;}
.dvfilters li.gridactive {background: #174827;color: #fff;}
.latest-dvgalleries > figcaption > div > p,.dv-gallerycontent-inner > p {color: #6C7476}
.latest-dvgalleries  > figcaption > div > .dvh5,.dv-gallerycontent-inner > .dvh4 {color: #313536 !important}
.dv-gallerycontainer {/*background-color: #f5f1f0;*/}
.dv-galleryimage a{background-color: #0c925d;}
.dv-gallerycontent-inner > .dvh4 > a,.latest-dvgalleries  > figcaption > div > .dvh5 > a{color:#313536 !important;}
.dv-gallerycontent-inner > .dvh4 > a:hover,.latest-dvgalleries  > figcaption > div > .dvh5 > a:hover{color:#0c925d !important;}
.dv-readmore-button {color: #313536  !important;}
.dv-readmore-button:hover {color: #fff !important;background-color: #174827;}
.dv-previous a,.dv-next a {color: #fff !important;background-color: #174827;}
.dv-next a:hover,.dv-previous a:hover {color: #fff !important;background-color: #313536;}
.latest-dvgalleries > a > img {border-bottom: 3px solid #d9d5d4 !important;}
.latest-dvgalleries > a > img:hover {border-bottom: 3px solid #0c925d !important;}
/* ================= LIGHTGALLERY  ================== */
#lightGallery-outer {/*background-color: #f5f1f0;*/ background-color:rgba(245, 241, 240, 0.90); box-shadow: inset 0 50px 0 0 #174827;}
#lightGallery-action a {background-color: #174827;color:#fff; width:50px; height:50px; font-size:36px;}
#lightGallery-action a.disabled {background-color: #0c925d;}
#lightGallery-action a:hover, #lightGallery-action a:focus {background-color: #000;}
#lightGallery_counter {color: #fff;}
#lightGallery-Gallery .thumb_cont {background-color: #f5f1f0;}
#lightGallery-Gallery .thumb_cont .thumb_info {background-color: #0c925d;}
#lightGallery-Gallery .thumb_cont .thumb_info .count {color: #fff;}
#lightGallery-Gallery .thumb_cont .thumb_info .close {color: #174827;background-color: #f5f1f0;}
#lightGallery-Gallery .thumb_cont .thumb_info .close:hover {background-color: #f5f1f0;}
#lightGallery-Gallery .thumb_cont .thumb.active, #lightGallery-Gallery .thumb_cont .thumb:hover {border-color: #fff;}
#lightGallery-close {color: #fff;background-color: #000000; opacity:0.9; padding-top:5px;}
#lightGallery-close:hover {background-color: #313536;}
.external #lightGallery-Gallery,.external #lightGallery-slider.on .lightGallery-slide,.external #lightGallery-slider .lightGallery-slide {background-color: #f5f1f0;}
.dv-gallery-title {background: #174827;color: #fff;}
/* ================= OWL CAROUSEL  ================== */
.owl-theme .owl-controls .owl-nav {color: #fff;background-color: #f5f1f0;}
.latest-dvgalleries > figcaption {background-color: #f5f1f0;}
.latest-dvgalleries > figcaption > div > hr {background-color: #fff !important;}
.latest-dvgalleries .dvh5 a {color: #313536;}
.latest-dvgalleries .dvh5 a:hover {color: #0c925d;}
/*@media only screen and (max-width: 768px) {.dv-galleryimage,.dv-galleryimage.vertical {height: 200px !important;}}  */


#lightGallery-action a#lightGallery-prev:before, #lightGallery-action a#lightGallery-next:after {
  bottom: 15px;
}
#lightGallery-close:after {
  top: 5px;
}
#lightGallery-action a.cLthumb:after {
  bottom: 6px;

}
#lightGallery-Gallery.showAfterLoad .lightGallery-slide > * {
  opacity: 1;
}
/* como he hecho mas grandes los botones ... */
#lightGallery-action { margin-left: -53px;}






/* PARA MOSTRAR MEJOR LOS VIDEOS */

.dv-gallerycontainer.dv-galvideo{background: #000 url(../img/play-button-2.png) center center no-repeat;}
.dv-gallerycontainer.dv-galvideo .backstretch{opacity: 0.7;}



