/*** SLIDER ***/

#slider-grid { display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 7px 0px;
    text-align: center;}

.element-entry.box {
    min-height: 1px; 
    position: relative;
	text-align:left;
    /*padding: 4px; */
        outline: 7px solid #fff;
}


.element-entry .icon-video  {position: absolute;
    bottom: 30px;
    right: 30px;
    color: #fff;
    background-image: url(../css/film.svg);
    width: 30px;
    height: 30px;
    background-size: 100%;}
.icon-video:before {
    content: "\f008";
}
.icon-moreinfo {position: absolute;
  top: 8px;
  left: 8px;
  color: #fff;
    background: #333;
  z-index: 333;padding:8px;}
.icon-moreinfo:before {
    content: "\f129";
}

/* Post loop styling */
@media screen and (min-width: 1290px)  {
    body.vertical-view-type #page > .row, body.single-gallery #page > .row, body.vertical-gallery-slider #page > .row, body.horizontal-scroll-view #page > .row{
        width: 100%;
    }
}



.element-entry.small-entry, .element-entry.medium-entry{
      width:  25%;
    height: auto;
}
.element-entry.big-entry{
     width: 50%;
    height: auto;
}
.element-entry{
    overflow: visible;
    -webkit-perspective: 1700px;
    -moz-perspective: 1700px;
    perspective: 1700px;
    -webkit-perspective-origin: 0 50%;
    -moz-perspective-origin: 0 50%;
    perspective-origin: 0 50%;
	  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}



.element-entry article{ 
    color: #FFF;
    position: relative; 
    -webkit-transition: background .2s linear;  
    -moz-transition: background .2s linear;  
    -o-transition: background .2s linear;  
    -ms-transition: background .2s linear;  
    transition: background .2s linear;
    line-height: 0;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d; 
}

.element-entry.no-feat-img article{
    background: #F9F1D1;
}
.element-entry.no-feat-img article h4{
    -webkit-transition: opacity .3s ease-out;  
    -moz-transition: opacity .3s ease-out;  
    -o-transition: opacity .3s ease-out;  
    -ms-transition: opacity .3s ease-out;  
    transition: opacity .3s ease-out;
}
.featimg {overflow:hidden;}
.element-entry article .featimg img{
    -webkit-transition: -webkit-transform 0.4s;
    -moz-transition: -moz-transform 0.4s;
    transition: transform 0.4s;
}
.element-entry article:hover .featimg img{
    -webkit-transform: translateX(25%);
    -moz-transform: translateX(25%);
    -ms-transform: translateX(25%);
    transform: translateX(25%);
}
.element-entry.no-feat-img article a{
    color: #576272;
}
.element-entry.no-feat-img article a.feat-overlay{
    color: #FFF;
}
.element-entry.no-feat-img article:hover h4{
    opacity: 0;
}
.element-entry article header .featimg img{
    width: 100%;
    height: auto;
}
 
.element-entry article section.entry-content{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
	padding:10px;
    opacity: 0;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: rotateY(-90deg);
    -moz-transform: rotateY(-90deg);
    transform: rotateY(-90deg);
    -webkit-transition: -webkit-transform 0.4s, opacity 0.1s 0.3s;
    -moz-transition: -moz-transform 0.4s, opacity 0.1s 0.3s;
    transition: transform 0.4s, opacity 0.1s 0.3s; 
	  line-height: 20px;
	z-index:3000;
	cursor:pointer;
}
.element-entry article section .colorbox {position:absolute;top:10px;left:10px;right:10px;bottom:10px;font-size: calc(16px + 1vw);
    line-height: normal !important;
	    overflow: hidden;}
.element-entry.big-entry article section.entry-content{
    width: 35%;
	
}
.hasvideo {}
 .hasvideo.big-entry article section.entry-content {width: 70% !important;}

  .hasvideo.medium-entry article section.entry-content {width: 90%;}
.element-entry article:hover section.entry-content{
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    transform: rotateY(0deg);
    -webkit-transition: -webkit-transform 0.4s ease 0s, opacity 0.1s linear;
    transition: transform 0.4s ease 0s, opacity 0.1s linear;
    opacity: 1;
	z-index:300000;
}
 .element-entry article.clickopen section.entry-content{
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    transform: rotateY(0deg);
    -webkit-transition: -webkit-transform 0.4s ease 0s, opacity 0.1s linear;
    transition: transform 0.4s ease 0s, opacity 0.1s linear;
    opacity: 1;
	z-index:300000;
}
 
.entry-content a{font-family: 'Arvo', serif;display:inline-block;
  padding: 5px 10px;
}
.entry-content a:hover {background: rgba(0, 0, 0, 0.44);}
.entry-content h4 a {background:none !important;padding: 0 !important;}
.entry-content h4 a:hover {opacity:.8;}
.element-entry article h4{ 
    font-size: calc(16px + .5vw);
    font-family: 'Arvo', serif;
    font-weight: normal !important;
    margin: 5px 0 10px 0;
    line-height:normal !important;
    word-break: keep-all;
    margin-top: 0 !important;
}
.element-entry article .category-list{
    list-style-type: none;
}
.element-entry article .category-list li{
    display: inline-block;
    text-transform: uppercase;
    font-size: 11px;
}
.element-entry article .entry-content-excerpt{
    margin-bottom: 15px; 
    font-size: 11px;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    filter: alpha(opacity=80);
    opacity: 0.8;
}
@media only screen and (max-width: 1260px) {
   .element-entry article section.entry-content {font-size: 12px;
  line-height: 16px;}
	
}
.element-entry article .entry-content-date{
    display: inline-block;
}
.element-entry article .entry-content-date > a{
    font-size: 11px;
    font-weight: normal;
    font-style: italic;
    color: #FFF;
    text-transform: uppercase;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
    filter: alpha(opacity=60);
    opacity: 0.6;
}

.element-entry article .entry-content-category{
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 10px;
}

article .feat-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #2F3641;
    background: rgba(47,54,64,0.8);
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
    -webkit-transition: opacity .4s ease-out;  
    -moz-transition: opacity .4s ease-out;  
    -o-transition: opacity .4s ease-out;  
    -ms-transition: opacity .4s ease-out;  
    transition: opacity .4s ease-out;
}
.element-entry article:hover .featimg .feat-overlay{
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;
}
.element-entry article .feat-overlay i{
    height: 30px;
    font-size: 48px;
    top: 60px;
    position: absolute;
    left: 0;
    text-align: right;
    padding-right: 30px;
    width: 100%;
    margin-top: 15px;
    color: #FFF;
    -webkit-transition: margin-top .5s ease-out;  
    -moz-transition: margin-top .5s ease-out;  
    -o-transition: margin-top .5s ease-out;  
    -ms-transition: margin-top .5s ease-out;  
    transition: margin-top .5s ease-out;
}
.element-entry article:hover .featimg .feat-overlay i{
    margin-top: -15px;
}
.no-feat-title{
    top: 50%;
    position: absolute;
    text-align: center;
    width: 100%;
    margin-top: -50px;
    padding: 0 15px;
}

@media screen and (max-width: 1000px){ 
.element-entry article .feat-overlay i {top: 30px;padding-right: 20px;} 
    
}

 
 
/* View post between 960 and 1170 */
@media screen and (min-width: 960px) and (max-width: 1170px){
    
 
    .element-entry article section.entry-content{
        width: 65%;
    }
    .element-entry.big-entry article section.entry-content{
        width: 40%;
    }

}
/* View post between 768 and 960 */
@media screen and (min-width: 600px) and (max-width: 1000px){
    
   .element-entry.small-entry, .element-entry.medium-entry{
        width: 50% !important; 
        float: none;
    }
    .element-entry.big-entry {width:100% !important}
 
    .element-entry.big-entry article section.entry-content{
        width: 40%;
    }
    
    

}
/* View post lower than 767*/
@media screen and (max-width: 599px){
   
    .element-entry {
        width: 100% !important; 
        float: none;
		    box-shadow: none !important;
			margin-bottom:10px;
    }
    .element-entry.big-entry{
        width: 100%;
        height: auto;
        float: none;
    }
    .element-entry.big-entry article section.entry-content{
        width: 50%;
    }

	.element-entry .colorbox p {    font-size: 13px !important;
    font-size: 3vw !important;}
}

body.fade-in #big-article-container > .element-entry{
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
    -webkit-transition: opacity .4s ease-out;  
    -moz-transition: opacity .4s ease-out;  
    -o-transition: opacity .4s ease-out;  
    -ms-transition: opacity .4s ease-out;  
    transition: opacity .4s ease-out;
}
body.slide-in #big-article-container > .element-entry{
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
    transform: rotate(30deg);
    -webkit-transition: all .4s ease-out;  
    -moz-transition: all .4s ease-out;  
    -o-transition: all .4s ease-out;  
    -ms-transition: all .4s ease-out;  
    transition: all .4s ease-out;
}

 .element-entry article .feat-overlay .icon-next:hover {color:rgba(255, 255, 255, 0.5)!important;}




/*** END SLIDER ***/