
/*.tester{
	position: absolute;
	top:50px;
	left:50px;
	background-color: #ccc;
	width: 200px;
	height: 200px;
	z-index: 500;
}*/
footer{
  	position: fixed;
    display: none;
}
html {
	box-sizing: border-box;
}

*, *:before, *:after {
	box-sizing: inherit;
}
img{
		box-shadow: 0 2px 3px 0px #ccc;
}

/* clearfix */
.group:before,
.group:after { content: " "; display: table; }
.group:after { clear: both; }

@font-face {
	font-family: 'lato';
    font-family:lato;
  	src: url('../fonts/LatoLatin-Thin.eot');
   	src: url('../fonts/LatoLatin-Thin.ttf'),
		 url('../fonts/LatoLatin-Thin.woff');
}

.test{
	z-index: 100;
	display: block;
	position: fixed;
	left: 10px;
	top: 150px;
	width: 200px;
	height: 200px;
	background-color: white;
}
body{
	position: absolute;
	left: 0px;
	top: 0px;
	padding: 0;
	margin: 0;
	/*overflow: hidden;*/
	font-family: 'lato';
    font-family:lato;
    width: 100%;
    height: 100%;
}
header{

	position: fixed;
    top: 0px;
    z-index: 10;
    text-align: center;
    display: inline;
    background-color: rgba(255,255,255,0.99);
    width: 100%;
    height: 73px;
}
h1{
	font-weight: 100;
	font-size: 40px;
	text-align: center;
	margin: 4px 0px;
}
a{
	text-decoration: none;
	  color: black;
}
ul{
	display: inline-block;
	width: auto;
	margin: 5px auto;
}
li{
	display: inline-block;
	text-decoration: none;
	float: left;
	list-style: none;
	margin-right: 10px;
	margin-left: 10px;
}
li a{
	text-transform: lowercase;
}
a{
	text-decoration: none;
	color:black;
}
a:hover{
	text-shadow: 0px 0px 20px black;
}
nav{
	display: block;
	width: 558px;
	margin: 0 auto;
}



footer .left{
	background-color: white;
    padding-right: 13px;
    padding-left: 4px;
    width: 56px;
    height: 52px;
    border-radius: 18px;
}
.namegalery{
	position: absolute;
    bottom: 24px;
    display: none;
    width: 26%;
    height: auto;
    text-align: center;
    margin: 0 37%;
    background-color: rgba(256,256,256,0.8);
    border-radius: 4px;
    padding:3px; 
    text-transform: uppercase;
}
footer .right{
	    background-color: white;
    margin-left: 36px;
    padding-left: 20px;
    margin-right: 10px;
    width: 56px;
    height: 52px;
    border-radius: 10px;
}
footer .left{
	float: left;
	}
footer .right{
	float: right;
}
.left, .right{
	margin: 5px 20px;

}
main{
    display: inline-block;
    left: 0px;
    right: 0px;
    width: 100%;
    position: relative;
    clear: both;
    overflow: hidden;
}
main>img{
	
	display: inline-block;
	/*float: left;*/
	position: absolute;
	
}
/* skrite preve menu*/
.menu0{
	display: none;
}

.center{
	text-align: center;
	padding-top: 73px;
	display: block;
	max-width: 1220px;
	margin: 0 auto;


}
.box{
    display: inline-block;
	width: 400px;
	height: 266px;
	line-height: 0px;
	box-shadow: 0 2px 3px 0px #ccc;
	overflow: hidden;
}
.box2{
	padding-top: 73px;
	display: block;
	max-width: 1120px;
	margin: 0 auto;
	text-align: center;
}
.box2>.box{
    display: inline-block;
	width: 272px;
	height: 384px;
	line-height: 0px;
	overflow: hidden;
	box-shadow: 0 2px 3px 0px #ccc;
}
.box2>.box img{
	height: 384px;
	width: auto;
}
p{
    line-height: 39px;
    margin-bottom: 10px;
    padding: 0px;
    font-size: 32px;
}

.box img{
	width: 400px;
	height: auto;
}
.box:hover img{
	opacity: 0.2;
}
section>h2{
	opacity: 0;
}
.uvodpict{
	text-align: center;
	opacity: 0;
}
.box:hover .uvodpict{
	opacity: 1;
}
.box:hover section{
	color: black;
	text-shadow: 0px 0px 20px black;
}
.box:hover section>h2{
	opacity: 1;
}
.uvodpic2{
    position: relative;
    top: -220px;
    height: 0px;
    /* width: 400px; */
    color: white;
}

.uvodpict{
    position: relative;
    top: -171px;
    height: 0px;
    width: 400px;
    color: white;

	}

.aabout{
	display: block;
	color: white;
	width: 100%;
	height: 100%;
	padding: 0;
	
	background-image: url('../img/about/schopinski_about.jpg');
	background-image: url('..img/about/schopinski_about.jpg') no-repeat center center fixed ;
	-webkit-background-image: url('..img/about/schopinski_about.jpg') center center no-repeat ;
	
	-webkit-background-position: center center;
	-moz-background-position: center center;
	-o-background-position: center center;
	background-position: center center;

	-webkit-background-attachment: fixed;
	-moz-background-attachment: fixed;
	-o-background-attachment: fixed;
	background-attachment: fixed;

	-webkit-background-size: cover;          /* Safari 3.0 */
    -moz-background-size: cover;        /* Gecko 1.9.2 (Firefox 3.6) */
    -o-background-size: cover;           /* Opera 9.5 */
    background-size: cover; 
  
}

.contact{
	display: block;
	color: white;
	width: 100%;
	height: 1000px;
	padding: 0;
	
	background-image: url('../img/about/intro.jpg');
	background-image: url('../img/about/intro.jpg') no-repeat center center fixed ;
	-webkit-background-image: url('../img/about/intro.jpg') center center no-repeat ;
	
	-webkit-background-position: center center;
	-moz-background-position: center center;
	-o-background-position: center center;
	background-position: center center;

	-webkit-background-attachment: fixed;
	-moz-background-attachment: fixed;
	-o-background-attachment: fixed;
	background-attachment: fixed;

	-webkit-background-size: cover;          /* Safari 3.0 */
    -moz-background-size: cover;        /* Gecko 1.9.2 (Firefox 3.6) */
    -o-background-size: cover;           /* Opera 9.5 */
    background-size: cover; 
  
}


.pull-up{
	display: block;
    margin: 0 auto;
    padding-top: 113px;

}
.pull-left, .pull-down{    /* float: left; */

    width: 335px;
    text-align: left;
    padding: 11px;
    margin: 0 auto;
    padding-bottom: 16px;

}
.pull-left label{
    display: block;

    letter-spacing: 1px;
}

.pull-right{    height: 350px;
	float: left;
	border: 1px solid white;
	border-radius: 5px;
	width: 315px;
	text-align: left;
	padding: 11px;
}
.pull-right label{
	float: left;
	letter-spacing: 1px
}

input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), textarea {
       padding: 7px 5px;
    margin-left: -4px;
    margin-bottom: 10px;
    font-size: inherit;
    background: #fff;
    border: 1px solid #888;
    border-radius: 5px;
    display: block;
    width: 91%;
  
}
textarea{
    height: 300px;
}
button{
	display: block;
	margin: 0 auto;
}
.pull-down {
	text-align: left;

}
.pull-down textarea{
	height: 330px;
    display: inline-block;
    width: 91%;


}

	.instagram >img{
		box-shadow: none;
	}

.instagram{
		display: inline-block;
	    position: relative;
	    right: -45px;
	    top: -40px;
	}
	
/**/
@media (min-width:808px){
	.instagram{
	    right: -126px;
	}

}
@media (min-width:1216px){
	.instagram{
	    right: -325px;
	}

}


@media (max-width:  600px), (max-height: 600px){
	.instagram {
	    display: inline-block;
	    position: fixed;
	    right: 13px;
	    top: 4px;
	}
	footer{
		display: none;
	}
	header>a>h1{
		padding: 0 50px 0 50px;
		width: 50%;
		margin: 0 auto;
	}
	.center>.box,.box img{
		width: 100%;
		height: auto;
	}
	.center, .box2, .pull-up{
		padding-top: 29px;
	}
	h1{
		font-size: 20px;
	}
	.menu0{
	display: block;
	}
	ul{
		margin: 5px auto 0px auto;
	}
	li> img{
		height: 21px;
	    width: 21px;
	    display: block;
	    box-shadow: none;
	}
	nav{
		position: absolute;
		top: 0;
		left: 0;
		width: 100px;
	/*	background-color: rgba(255,255,255,0.9);  */
		border-radius: 5px;

	}
	li{	text-align: left;
		float: none;
		display: block;
		height:25px;		

			padding: 5px;
	}
	li:first-child { 
		padding-top: 0px;
    background-color: transparent;
}
	li:nth-child(2) {
    padding-top: 5px;
}
	nav ul{
		height: 21px;
    	overflow: hidden;
	}
	ul:first-child { 
		height:21px;
	}
	nav ul:hover{
	/*	background-color: rgba(255,255,255,0.7);*/
	background-color: rgba(255,255,255,0.9);  
		height: auto;
	}
	.center>.box,.box img{
		width: 101%;
		height: auto;
	}

	.box2>.box>a>img{
		width: 100%;
		height: auto;
	}
	.box2>.box{
		width: 60%;
		height: auto;
	}
	.center>.box,.box{
		width: 95%;
	    margin-top: 6px;
	    height: auto;
	}
	header>a>h1{
		padding: 6px 50px 6px 50px;
		width: 100%;
		margin: 0 auto;
	}
	.uvodpict{
	    position: relative;
	    top: -131px;
	    height: 0px;
	    width: auto;
	}
	header{
		height: auto;
	}
	footer .left,footer .right{
		height: 22px;
	    width: 20px;
	 margin: 0px 0px 0px 0px;
		padding:0px 0px 0px 0px;
	    display: block;
	}
	.left, .right{
		margin: 0px 0px 0px 0px;
		padding:0px 0px 0px 0px;
	}
	.namegalery {
    bottom: -16px;
    display: none;
    width: 80%;
    height: auto;
    text-align: center;
    margin: 0 10%;
	}
}

.load{
	display: block;
	width: 100%;
	height: 100px;
	text-align: center;
	padding-top: 80px;
}