/*
Some Basic Settings
*/

@font-face {
    font-family: nexa;
    src: url('fonz/nexalight.otf');
    src: local('nexa'), url('fonz/nexalight.otf') format('opentype');
}
body{
/*    background: url("bg.png") 1% 97% no-repeat ;*/

    font-family:nexa;
    font-size:1.2em;
    font-weight:normal;
    background-color: black;
    color: white;
    z-index:1;
    overflow-x:hidden;
    overflow-y:hidden;
    top: 0em;
    right: 0em;

    /*background-image: url(pics/back.jpg);*/
   }
html, body {
       min-height: 100%;
       max-height: 100%;
       min-width: 100%;
       background-color: black;
   }

.clear{
    clear: both;
}

.visible{
    display: block;
    z-index:105;
}

.invisible{
    height:0px;
    display:none;
}
.left{
    float:left;
}
.right{
    float:left;
}
#intro a:link,a:visited,a:hover,a:active{
    color:white;
    text-decoration: underline;

}
/*
GALLERY STARTS HERE
*/
/*img{
    /*position: relative;*/
    /*width:15%;
    display: block;
    margin: 5px 0px;
}*/
.gall{
    /*width: 320px;*/
    height: 120px;
    /*margin-top: 3px;*/
    margin-left: 3px;
    border:1px solid black ;
    float: left;

    border-radius: 5px;
    background-size: cover;
    background-clip: border-box;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0px 0px 10px rgba(172, 168, 156,0.3);
    -webkit-box-shadow: 0px 0px 10px rgba(172, 168, 156,0.3);
}
.gall:hover{
    box-shadow: 0px 0px 20px rgba(172, 168, 156,0.8);
    -webkit-box-shadow: 0px 0px 20px rgba(172, 168, 156,0.8);
    -moz-box-shadow: 0px 0px 20px rgba(172, 168, 156,0.8);
}


.gall_title{
    margin-right: 3px;
    height: 25px;
    width: 78px;
    float: left;
    padding-top: 4px;
}
/*
MAIN ELEMENTS START HERE
*/





nav{
    position:fixed;
    left:0;
/*     top: calc(100vh - 8vh); */
    top: 4vh;
    z-index: 16;
    width: 90vw;
    height: 6vh;
    max-height: 6vh;
    padding-top: 1vh;

    /*padding-right: 25%;*/


}


nav a{
    position: relative;
    display:block;
    margin-right: 0.5%;
    margin-left: 0.5%;
    margin-top:0.9%;
    padding:1% 0%;
    border: 1pt solid white;
    border-radius: 6px 0px;
    cursor: pointer;
    background-color: none;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    color: inherit;


}

/*nav > a:last-child {
   margin-right: 0;
}*/
/*nav > a:first-child {
   margin-left: 0;
}*/



nav a:hover{
    border-color: orange;
    border-radius: 0px 6px;

}

.liselect{
    border-color: orange;
    color: orange;
    border-radius: 0px 6px;
}

footer{
    position: fixed;
    bottom:5%;
    left: 0px;
    width: 100%;
    height: 20px;
    z-index: 16;
}
footer p {
    display: inline;
}




/*
RESULT BOXES ARE HERE
*/
.resboxb, .resboxa,.resboxc, .resboxd{
    position:fixed;


    background-color: rgba(0,0,0,0.1);
    z-index: 15;
    overflow-x: visible;
    background-clip:content-box;

    background-repeat: no-repeat;
    background-origin: content-box;

}


.resboxb, .resboxa,.resboxc, .resboxd{
    left: 0;
    width: 100%;
    height: 0;
    background-size: 100% 100%;
    top: 0px;
}

/*.resboxc, .resboxd{
    top: 0;
    width: 0;
    height:100%;
    background-size: auto 100%;

}*/




/*
IMAGES START HERE
*/
.txtimg{
    display:inline-block;
    position: relative;
    width: 28%;
    /*height: 120px;*/
    min-height: 88vh;
    max-height: 88vh;
    margin-top: 5px;
    margin-bottom: 5px;
    border-radius: 8px;
    float: left;
    margin-right: 10px;
    background-clip:border-box;
    background-size: cover;
    background-repeat: no-repeat;
    background-origin: padding-box;

    overflow:hidden;

}
.floatclear{
  float:none;
  display:block;
}
div.left{

}

div.right{
    float:right ;
    margin-left: 10px;
}


.pet_1{
    background-position:center center;
    background-image: url(../pics/demoreel/events/img_4.jpg);
}
.pet_2{
    background-position:bottom center;
    background-image: url(../pics/demoreel/visual/img_1.jpg);
}
.pet_3{
    background-position:bottom center;
    background-image: url(../pics/code.jpg););
}
.pet_4{
    background-position:bottom center;
    background-image: url(../pics/graphics_p.jpg);
}
.wraper h2 {
    font-family:helvetica,sans-serif;
    display: block;
    position: absolute;
    bottom: 1%;
    left: 1%;


}


img.wrapl, img.wrapr {
    position: relative;
    width: 250px;
    /*max-height: 30px;*/
    margin-top: 5px;
    margin-bottom: 3px;
    border-radius: 8px;

}

 img.wrapr{
    float: right;
    margin-left: 10px;
}
img.wrapl {
    float: left;
    margin-right: 10px;
}




/*
SINGLE PAGES START HERE
*/

/*MAIN DEFS*/

.info{
    font-family:helvetica,sans-serif;
    position: absolute;
    display: inline;
    padding: 5px;
    opacity: 0;
    /*float:right;*/
    cursor: pointer;
    min-height:5%;
    background-color: rgba(18,18,18,0.3);
    z-index: 15;
    font-size: 110%;
}

@media (max-width: 1920px),(max-width: 2560px) {
.code_detail, .visual_detail, .events_detail, .contact_detail {
    overflow-y:scroll;
    -webkit-overflow-scrolling:touch;
    }
.info{
        right:-1vw;
        bottom:8vh;
        min-width: 25vw;
        margin-left: 0px;
    }
.events_detail article, .visual_detail article,.code_detail article, .contact_detail article{
    width: 50%;
    max-width: 50%;
    min-height: 100vh;
    /*min-width: 50%*/
    /*max-width: 800px;*/
    left: 25%;
    right: 25%;
}

p{
    word-wrap: break-word;
    word-break: keep-all;
    padding-left: 10%;
    padding-right: 1%;
}

nav{
    background-color: none;
    padding-left: 3%;
    padding-bottom: 3vh;
}
nav a{
   height: 2vh;
   max-width: calc(45%/3);
   min-width: calc(45%/3);
}
}

/*@media (max-width: 2560px) {
    .events_detail article, .visual_detail article,.code_detail article, .contact_detail article{
        min-height: 100vh;
        float:left;
    }
    .events_detail article{
        width: 16.6%;
        max-width: 16.6%;
    }
    .visual_detail article,.code_detail article, .contact_detail article{
        width: 25%;
        max-width: 25%;
    }
    body{
        font-family:nexa;
        font-size:1.3em;
    }
}*/





@media (max-width: 1280px) {
.code_detail, .visual_detail, .events_detail, .contact_detail {
    overflow-y:scroll;
    -webkit-overflow-scrolling:touch;
        }
.info{
    right:-1.5vw;
    bottom:8vh;
    min-width: 25vw;
    margin-left: 0px;
    }
    .events_detail article, .visual_detail article,.code_detail article, .contact_detail article{
        width: 50vw;
        /*min-width: 50%*/
        /*max-width: 800px;*/
        min-height: 100vh;
        left: 25%;
        right: 25%;
    }
    p{
        word-wrap: break-word;
        word-break: keep-all;
        padding-left: 10%;
        padding-right: 1%;
    }
    nav{
        background-color:none;
        padding-left: 3%;
        padding-bottom: 3vh;
    }
    nav a{
       max-width: calc(45%/4);
       min-width: calc(45%/4);
       max-height: 2vh;
    }


}

@media (max-width: 800px),(max-width: 700px)  {

.info{
    display:none;
    }
.code_detail, .visual_detail, .events_detail, .contact_detail {
    overflow-y:scroll;
    -webkit-overflow-scrolling:touch;
}
.events_detail article, .visual_detail article,.code_detail article, .contact_detail article{
        width: 100vw;
        height: auto;
        /*min-height: 60vh;*/
        /*max-height:99vh;*/
        min-width: 100vw;
        /*max-width: 800px;*/
        left: 0%;
    }
    p{
        word-wrap: break-word;
        word-break: keep-all;
        padding-left: 3%;
        padding-right: 3%;
        }

    nav{
        background-color:black;
        padding-left: 0%;
        padding-bottom: 1vh;
    }

    nav a{
       height: 2vh;
       max-width: calc(96vw/4);
       min-width: calc(96vw/4);
       margin-right:auto;
       margin-left: auto;

    }

    h2{
        font-weight: normal;
    }
.txtimg{
    display: none;
}
.pet_1,.pet_2,.pet_3,.pet_4{
    background-image: none;
}
}
@media (max-width: 400px) {

.info{
    display:none;
    }
.code_detail, .visual_detail, .events_detail, .contact_detail {
    overflow-y:scroll;
    -webkit-overflow-scrolling:touch;
}
.events_detail article, .visual_detail article,.code_detail article, .contact_detail article{
        width: 100vw;
        /*min-height: calc(100vh*2);*/
        min-height:auto;
        /*min-height: 500px;*/
        /*max-height:99vh;*/
        min-width: 100vw;
        /*max-width: 800px;*/
        left: 0%;
    }
    p{
        word-wrap: break-word;
        word-break: keep-all;
        padding-left: 3%;
        padding-right: 3%;
        }

    nav{
        background-color:black;
        padding-left: 0%;
        padding-bottom: 1vh;
    }

    nav a{
        font-size: .8em;
       min-height: 2vh;
       max-width: calc(92vw/4);
       min-width: calc(92vw/4);
       margin-right:auto;
       margin-left: auto;

    }

    h2{
        font-weight: normal;
    }
.txtimg{
    display: none;
}
.pet_1,.pet_2,.pet_3,.pet_4{
    background-image: none;
}
}



.info a {
    display:block;
    text-decoration: none;
    color:white;

}
.info a:hover {
    color:orange;

}

.act{
    background-color: orange;
}




.code_detail, .visual_detail, .events_detail, .contact_detail {
    /*display: none;*/
    position: relative;
    min-width: 99vw;
    max-width: 100vw;
    max-height: 100vh;
    z-index: 7;
    margin-right: 0;
    margin-left: 0;


}
.events_detail article, .visual_detail article,.code_detail article, .contact_detail article{

    position: relative;
    display: block;
    min-height: 100vh;
    background-color: rgba(18,18,18,0.3);
    border-radius: 5px;
    padding: 5px;
    line-height: 1.3;
    /*max-height: 90vh;*/

}

/*.events_detail article{
    float:left;
}*/
#vis{


}





.wrapper{
    /*position: absolute;*/
    overflow-x:hidden;
    display: block;
    top:0;
    left:0;
    background:none;
    min-width:100%;
    min-height:100%;
    max-width:100%;
    max-height:100%;
    margin:0;
    padding: 0;

}

#bgGall{
    background-color: none;
    width:400vw;
    height:100vh;
    position: absolute;
    left:0;
    margin:0;
    padding: 0;
    -webkit-filter: blur(0px);
    -moz-filter: blur(0px);
    -o-filter: blur(0px);
    -ms-filter: blur(0px);
    filter: blur(0px);
    transition: filter 0.6s ease-in-out;
    -moz-transition:  0.6s -moz-filter ease-in-out;
    transition: 0.6s -webkit-filter ease-in-out ;

}

#petrit_bg,#about_bg,#joey_bg,#portfolio_bg{
    z-index: 5;
    float:left;
    margin:0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    background-clip:content-box;
    background-size: 100% 100% ;
    background-repeat: no-repeat;
    background-origin: content-box;
    background-position: left top;
    overflow:hidden;


}

#petrit_bg{
    background-image: url(../pics/overlay/events.jpg);
}


#portfolio_bg{
    /*position: absolute;*/
    background-image: url(../pics/overlay/amphi.png);
}

#joey_bg{
	/*background-color: red;
    background-image: url(../pics/overlay/visual.jpg);*/
}

#about_bg{
    /*background-color: red;*/
    background-image: url(../pics/overlay/events.jpg);
}

#petrit_bg,#about_bg,#joey_bg,#portfolio_bg{
    transition: filter 0.6s ease-in-out,  0.6s -webkit-filter ease-in-out,  0.4s -moz-filter ease-in-out;
    -moz-transition:  0.6s filter ease-in-out;
    /*transition: ;*/
}

.blur{
    -webkit-filter: blur(3px);
    -moz-filter: blur(3px);
    -o-filter: blur(3px);
    -ms-filter: blur(3px);
    filter: blur(3px);
}


.events_detail article/*,.visual_detail article>p,.contact_detail article,.events_detail article */{
    /*text-align: justify;*/
    word-wrap: break-word;
}

h2 {
    font-family:helvetica,sans-serif;
    -webkit-column-span: all; /* Chrome, Safari, Opera */
    column-span: all;
    -moz-column-span:all;
}

/*
LIST DEFS
*/
#mainul >li{
    height: 20px;
    border-bottom:2px solid black;
    background-color: rgba(0,0,0,.8);
    display: block;
    vertical-align:top;
    cursor: pointer;

}

#mainul{

   /*display: block;*/

}


/*
CODING
*/

.code_detail #mainul{
   position: relative;
   list-style-type: none;
   margin: 0;
   padding: 0;
   /*display: block;*/
   width: 200px;
}

/*
EVENTS
*/


.events_img{
    border-radius: 5px;
    background-color: rgba(18,18,18,0.4);
    position: absolute;
    text-align: left;
    list-style-type: none;
    padding: 3px;
    margin:0;
    /*float:left;*/
    left: 0%;
    bottom: 15%;
}

/*
VISUAL
*/



@keyframes example {
    0%   {z-index: 6;height: 170px;opacity: .6;}
    25%  {height: 190px; opacity: .7;}
    50%  {height: 210px; opacity: .7;}
    75%  {height: 230px; opacity: .87;}
    100% {height: 250px; opacity: 1;}
}
/****


LIGHTBOX alpha

****/
#picshow{
  max-height: 700px;
  z-index:1052;
}

.backdrop
{
        position:absolute;
        top:0px;
        left:0px;
        width:100%;
        height:100%;
        background:black;
        opacity: .0;
        filter:alpha(opacity=0);
        z-index:1050;
        display:none;
}
.box{
        position:fixed;
        top:5%;
        left:25%;
        right:25%;
        z-index:1051;
/*        right:50%*/
        /*background:rgba(120,120,120,0.6);*/
        display:none;
}

.close
{
        z-index:1056;
        background: rgba(120,120,120,0.3);
        background: url('close.png') ;
        background-size:100% 100%;
        position:absolute;
        top:-10px;
        leftt:125px;
        /* left: 25px; */
        height: 25px;
        width: 25px;
        /* float:right; */
        opacity:0.5;
/*        margin-right:6px;*/
        cursor:pointer;
}
.close:hover{
    opacity:1.0;
}


.upframe{
    position:absolute;
    /* top:5%; */
    max-height: 700px;
    min-height:200px;
}
.frame{
  max-height: 700px;
  min-height:200px;
  background:black;
  border: 2px white solid;
  z-index:1052;


/*        border: 5px rgba(120,120,120,0.6) solid;*/
/*        padding:10px;*/

}
.inframe{
        position:absolute;
        /* float: left; */
        /* left: 24px;
        top:36px; */
        z-index:1052;
        background-color: black;
        /* max-width:900; */
        max-height: 700px;
/*        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;*/
/*        -moz-box-shadow:0px 0px 5px rgba(200,200,200,0.6);
        -webkit-box-shadow:0px 0px 5px rgba(200,200,200,0.6);
        box-shadow:0px 0px 5px rgba(200,200,200,0.6);*/
}
.pnxt{
    z-index:1060;
    background: url('next.png') 50% 50% no-repeat;
    /* height: 700px; */
    height: 100%;
    width: 60px;
    float:right;
    right: 0px
    opacity:.0;
    cursor:pointer;
    position:absolute;
    /* margin-top: 10%; */
}
.pnxt:hover{
    opacity:1.0;
}
.plst{
    z-index:1060;
    opacity:.0;
    background: url('prev.png') 50% 50% no-repeat;
    height: 100%;
    width: 60px;
    left: : 0px;
    float: left;
    cursor:pointer;
    position:relative;

}

.plst:hover{
    opacity:1.0;
}
