/* CSS Document */

/* CSS Document */
a:hover{
	color:#C2DF00;
	}
a{
	text-decoration:none;}
#header{
	width:100%;
	margin:0 auto;
	
	}
#logo{ display: block; margin:0 auto;}

@media screen and (min-width:1367px) and (max-width : 1920px){
#navigation ul{
	margin-left:28%;
	margin-right:30%;
}
#navigation li{
	display:inline;
	font-size:0.56em;
	margin-left:0.5%;
	margin-right:0.5%;
	font-family:Verdana, sans-serif;
	}
}
@media screen and (min-width : 1281px) and (max-width : 1366px){
#navigation ul{
	margin-left:10%;
	margin-right:13%;
}
#navigation li{
	display:inline;
	font-size:0.56em;
	margin-left:0.13%;
	margin-right:0.13%;
	font-family:Verdana, sans-serif;
	}
}

@media screen and (min-width : 1025px) and (max-width : 1280px){
#navigation ul{
	margin-left:10%;
	margin-right:13%;
}
#navigation li{
	display:inline;
	font-size:0.55em;
	margin-left:0.45%;
	margin-right:0.45%;
	font-family:Verdana, sans-serif;
	}
}



@media screen and(min-width : 0px) and (max-width : 1024px){
#navigation ul{
	margin-left:11%;
	margin-right:15%;
}
#navigation li{
	display:inline;
	font-size:0.56em;
	margin-left:0.52%;
	margin-right:0.52%;
	font-family:Verdana, sans-serif;
	}
}
#sub-container{
	width:800px;
	margin:0 auto;
	padding-right:45px;
	padding-top:10px;
}
#sub-container img{
	display:block;
	margin: 0 85px;
	position:relative;
	}
#container{
	width:100%;
	background-color:#001670;
	}
#textholder{
	background-color: rgba(0,0,0,0.7);
	text-align:center;
	color:#fff;
	width:600px;
	margin:-27px 120px;
	font-size:14pt;
	font-family:"Courier New", monospace;
	position:absolute;
	}
#textholder h2{
	margin:10px; 0;
	}
#info-holder {
	width:680px;
	margin-left:86px;
	margin-top:-14px;
	background-color:#FFFFFF;
	color:black;
	font-size:10pt;
	text-align:justify;
	font-family:Verdana;
	}
#info-holder p {
	padding-top:50px;
	margin-left:200px;
	margin-right:45px;
}
#title{
	font-size:14pt;
	font-family: "Courier New";
	font-weight:bold;
	color:#662D80;
	margin-top:-40px;
	}
.infotext{
	margin-top:-50px;
	}
#contacts{
	padding-top:60px;
	margin-left:90px;
}

/* Popup CSS */
.panel {
    height: 34px;
    padding: 10px;
}
.overlay {
    background-color: rgba(0, 0, 0, 0.6);
    bottom: 0;
    cursor: default;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    visibility: hidden;
    z-index: 2999;

    -webkit-transition: opacity .5s;
    -moz-transition: opacity .5s;
    -ms-transition: opacity .5s;
    -o-transition: opacity .5s;
    transition: opacity .5s;
}
.overlay:target {
    visibility: visible;
    opacity: 1;
}
.popup {
	border-radius:25px;
	display: inline-block;
    left: 50%; color:#666;
    opacity: 0;
    padding: 15px;
    position: fixed;
    text-align: justify;
    top: 40%;
    visibility: hidden;
    z-index: 4000;

    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);

    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;


    -webkit-transition: opacity .5s, top .5s;
    -moz-transition: opacity .5s, top .5s;
    -ms-transition: opacity .5s, top .5s;
    -o-transition: opacity .5s, top .5s;
    transition: opacity .5s, top .5s;
}
.overlay:target+.popup {
    top: 50%;
    opacity: 1;
    visibility: visible;
}
.close {
    background-color: rgba(0, 0, 0, 0.8);
    height: 30px;
    line-height: 30px;
    position: absolute;
    right: 0;
    text-align: center;
    text-decoration: none;
    top: -15px;
    width: 30px;

    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    border-radius: 15px;
}
.close:before {
    color: rgba(255, 255, 255, 0.9);
    content: "X";
    font-size: 24px;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
}
.close:hover {
    background-color: rgba(64, 128, 128, 0.8);
}
.popup p, .popup div {
    margin-bottom: 10px;
}
.popup label {
    display: inline-block;
    text-align: left;
    width: 180px;
}
#contacts img{

-moz-transition:-moz-transform 0.05s ease-in; /*animate transform property */
-webkit-transition:-webkit-transform 0.05s ease-in; 
-o-transition:-o-transform 0.05s ease-in; /*animate transform property in Opera */
}

#contacts img:hover{

-moz-transform:scale(1.2); /*scale up image 1.8x*/
-webkit-transform:scale(1.2);
-o-transform:scale(1.2);
}
