/*
Theme Name: peephole
Description: peephole Theme
Author: Dev AM
Version: 1.0
*/

/* Ok, this is where the fun starts.
-------------------------------------------------------------------------------*/

@font-face {
  font-family: 'ArialNarrow';
  src: url('fonts/ArialNarrow.eot?#iefix') format('embedded-opentype'),  url('fonts/ArialNarrow.woff') format('woff'), url('fonts/ArialNarrow.ttf')  format('truetype'), url('fonts/ArialNarrow.svg#ArialNarrow') format('svg');
  font-weight: normal;
  font-style: normal;
}


@font-face {
	font-family: 'FreeSans';
	src: url('fonts/FreeSans.eot');
	src: local('☺'), url('fonts/FreeSans.woff') format('woff'), url('fonts/FreeSans.ttf') format('truetype'), url('fonts/FreeSans.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}





body {
    font-size: 1vw;
    font-family: 'FreeSans';
}

/* We like off-black for text. */
body, select, input, textarea {color: #000;}

a {color: #000; text-decoration: none;}
#about-intro a:hover,
nav a:hover{
    background-color: #ffff00;
}
/*a:hover {background-color: #ffff00;}*/

/* Custom text-selection colors (remove any text shadows: http://twitter.com/miketaylr/status/12228805301) */
::-moz-selection{background: #ffff00; text-shadow: none;}
::selection {background: #ffff00; text-shadow: none;}

/*	j.mp/webkit-tap-highlight-color */
a:link {-webkit-tap-highlight-color: #ffff00;}

ins {background-color: #ffff00; text-decoration: none;}
mark {background-color: #ffff00; }

/* Mozilla dosen't style place holders by default */
input:-moz-placeholder { color:#000; }
textarea:-moz-placeholder { color:#000; }


h2{
    font-size: 1.5vw;
    font-family: 'ArialNarrow';
}
.clearafter:after{
    content: '';
    display: block;
    clear: both;
}
/* And here begins the WordPress fun.
-------------------------------------------------------------------------------*/

header#header {
    padding: 10px;
}

#main-logo {
    height: 4vw;
}



#nav {
    font-family: 'ArialNarrow';
    font-size: 1.5vw;
    padding: 10px;
    padding-bottom: 2vw;
}

#nav #menu-main_menu li,
#nav #menu-main_menu_en li {
    font-size: 1.5vw;
    display: inline;
    font-family: 'ArialNarrow';
}
#nav #menu-main_menu li:last-child span,
#nav #menu-main_menu_en li:last-child span{
    display: none;
}

#about-intro {
    padding: 10px;
}




/* LANGUAGE SELECTOR ******************/
.wpml-ls-legacy-list-horizontal{
    padding: 0 !important;
}
.wpml-ls-legacy-list-horizontal a{
    display: inline-block !important;
    padding: 0 !important;
    margin-bottom: 10px !important;
}
.wpml-ls-legacy-list-horizontal .wpml-ls-item.wpml-ls-current-language{
    display: none !important;
}


/*******************/



/*****/
.home #main-container{
    padding: 10px;
}

.section-title{
    font-size: 1.5vw;
    font-family: 'ArialNarrow';
    margin-bottom: 1vw;
}

.event-cover {
/*    padding-bottom: 40%;*/
/*    width: 60%;*/
/*    background-size: cover;*/
/*    background-position: center;*/
/*    margin-bottom: 1vw;*/
    
    padding-bottom: 40%;
    width: 60%;
    background-size: contain;
    background-position: bottom left;
    background-repeat: no-repeat;
    margin-bottom: 1vw;
    
}




.section-mostre {
    margin-bottom: 3vw;
}
.section-eventi {
    margin-bottom: 3vw;
}
.section-peepholesheet {
    margin-bottom: 3vw;
}


.section-peepholesheet .event-cover{
    width: 35%;
    padding-bottom: 50%;
}


.show-all {
    font-size: 1.5vw;
    font-family: 'ArialNarrow';
}




.event-row article {
    padding-right: 10px;
    padding-bottom: 1vw;
}
.event-row article .inner-wrapper{
    padding-bottom: 1vw;
}
.event-row article:hover .inner-wrapper {
    background-color: #ffff00;
}

.show-all:hover {
    background-color: #ffff00;
}
.show-all .padding {
    padding-bottom: 44%;
    width: 60%;
    background-size: cover;
    background-position: center;
    margin-bottom: 1vw;
}
.section-peepholesheet .show-all .padding {
    padding-bottom: 54%;
}


/* ABOUT ******************************************************/
.page-template-page-about .entry{
    padding: 10px;
    
}
.page-template-page-about .entry p{
    padding-bottom: 1vw;
}


/* page archives ******************************************************/

.page-template-page-mostre .event-row,
.page-template-page-eventi .event-row,
.page-template-page-peepholesheet .event-row{
    padding: 0 10px;
}


.event-row .details {
    line-height: 1.2vw;
}


/* PAGE PEEPHOLE SHEET ******************************************************/
.page-template-page-peepholesheet .event-cover {
    width: 35%;
    padding-bottom: 50%;
}


/* SINGLE ******************************************************/
.single .entry-content{
    padding: 0 10px;
}

.single .readmore{
    cursor: pointer;
}
.single .readmore:hover{
    background-color: #ffff00;
}
.single .hidden-temp{
    display: none;
}
.single .exploded{
/*    font-family: 'ArialNarrow';*/
    font-family: serif;
    font-size: 1.75vw;
}

.single .entry-content .content{
    margin-bottom: 1vw;
}
.single .entry-content .content p{
    margin-bottom: 1vw;
}

.single .entry-content .entry-title,
.single .entry-content .subtitle,
.single .entry-content .date{
    font-family: 'ArialNarrow';
    font-size: 1.5vw;
}
.single .entry-content .subtitle{
    margin-bottom: 1vw;
}

.single .entry-content .date{
    margin-bottom: 1vw;
}


.single .entry-content .event-row.desktop {
    padding-bottom: 1vw;
}

.event-row .single-gallery-image {
    padding-right: 10px;
}
.event-row .single-gallery-image:hover .inner-wrapper {
    background-color: #ffff00;
}

.single .full-slider .full-image{
    height: calc(100vh - 40px);
    background-position: center top;
    background-size: auto 85vh;
    background-repeat: no-repeat;
}

.single .full-slider .didascalia{
    
}
.single .full-slider.single-image-gallery .full-image {
    background-size: contain !important;
    background-repeat: no-repeat;
    width: 100vw !important;
    left: -50vw;
    position: relative;
}

.single .slick-slide{
    outline: none;
}
.single .full-slider.slick-slider {
/*    visibility: hidden;*/
/*    z-index: -1;*/
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background-color: rgba(255, 255, 0, 0.8);
    background-color: rgba(255, 255, 0, 1);
    padding: 20px;
    display: none;
}
.slick-list {
    visibility: hidden;
}
.slick-prev {
    left: 20px !important;
    width: 3vw !important;
    text-align: left !important;
    height: 2vw !important;
    z-index: 999;
}
.slick-next {
    right: 20px !important;
    width: 3vw !important;
    text-align: right !important;
    height: 2vw !important;
    z-index: 999;
}
.slick-prev:before, .slick-next:before{
    opacity: 1 !important;
    font-family: initial !important;
    font-size: 2vw !important;
    color: #000 !important;
    font-family: 'ArialNarrow';
}


.close-slider {
    color: #000;
    font-size: 1.5vw;
    position: fixed;
    top: 1vw;
    right: 1vw;
    font-family: 'ArialNarrow';
    cursor: pointer;
    display: none;
}





/* EXTRA ******************************************************/


.col-md-1{
    float: left;
    width: 10%;
}
.col-md-2{
    float: left;
    width: 20%;
}
.col-md-25{
    float: left;
    width: 25%;
}
.col-md-3{
    float: left;
    width: 30%;
}
.col-md-4{
    float: left;
    width: 40%;
}
.col-md-5{
    float: left;
    width: 50%;
}
.col-md-6{
    float: left;
    width: 60%;
}
.col-md-7{
    float: left;
    width: 70%;
}
.col-md-8{
    float: left;
    width: 80%;
}
.col-md-9{
    float: left;
    width: 90%;
}
.col-md-10{
    float: left;
    width: 100%;
}

/* Media queries!
-------------------------------------------------------------------------------*/
@media screen and (max-width: 980px) {
    
    body {
        font-size: 4vw;
        line-height: 5vw;
    }
    
    
    h2 {
        font-size: 6vw;
        line-height: 6vw;
        margin-top: 5vw;
        margin-bottom: 2vw;
    }
    
    #main-logo {
        height: 15vw;
    }
    
    #nav {
        font-size: 6vw;
        padding: 0 10px;
        line-height: 7vw;
    }


    #nav #menu-main_menu li,
    #nav #menu-main_menu_en li {
        font-size: 6vw;
    }
    
    
    
    .section-title {
        font-size: 6vw;
        margin-bottom: 2vw;
    }
    .show-all {
        font-size: 6vw;
        margin-bottom: 10vw;
    }

    .show-all .padding {
        display: none;
    }
    
    .event-row .details{
        line-height: 5vw;
    }
    
    
    
    /****/
    .page-template .archive-title {
        font-family: 'ArialNarrow';
        font-size: 6vw;
        margin-left: 10px;
        margin-top: 5vw;
        margin-bottom: 5vw;
    }
    .event-row article{
        padding-right: 2vw;
        padding-bottom: 4vw;
    }
    .event-cover {
        padding-bottom: 60%;
        width: 90%;
        
    }
    .single .event-cover {
        padding-bottom: 90%;
        width: 90%;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: bottom left;
    }
    
    .single .entry-content .event-row{
        margin-top: 3vw;
    }
    
    .single .entry-content .entry-title, .single .entry-content .subtitle, .single .entry-content .date {
        font-size: 6vw;
    }

    
    
    /****/
    .section-peepholesheet .event-cover {
        width: 70%;
        padding-bottom: 100%;
    }
    
    /* PAGE general */
    .single .entry-content .entry-title{
        font-family: 'ArialNarrow';
        font-size: 6vw;
        line-height: 7vw;
        margin-top: 5vw;
    }
    .single .entry-content .date{
        font-family: 'ArialNarrow';
        font-size: 6vw;
        line-height: 7vw;
        margin-bottom: 5vw;
    }
    .single .exploded {
        font-size: 6vw;
        line-height: 6.5vw;
    }
    
    /* PAGE peepholesheet */
    .page-template-page-peepholesheet .event-cover {
        width: 72%;
        padding-bottom: 100%;
        background-size: contain;
    }
    
    
    /* SINGLE */
    .close-slider {
        font-size: 8vw;
        top: 20px;
        right: 20px;
    }
    .slick-prev, .slick-next {
        position: fixed !important;
        top: calc(100% - 3vh) !important;
        width: 15vw !important;
        height: 8vw !important;
    }

    .slick-prev:before, .slick-next:before {
        font-size: 8vw !important;
    }
    
    
    .single .full-slider .full-image {
        background-size: 100% auto !important;
    }
        
        
    /**********************/

    .col-sm-50{
        float: left;
        width: 50%;
    }
    .col-sm-100{
        float: left;
        width: 100%;
    }
    

} 
