
html,body{
background-image:url(../images/bg1.jpg);
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
margin: 0px;
margin-top: 0px;
border: 0px;
padding: 0px;
background-attachment: fixed;

}
img { border: 0; }
#toper{
background-image:url(../images/top.png);
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
width:1000px;
height: 231px;
position: relative;
margin: 0px auto;
left: 50%;
margin-left: -500px;
z-index:1;
}
#logolink{
position: absolute;
left: 50%;
margin-left: -450px;
top: 20px;
z-index:1;
}
#navigation{
position: relative;
top: -20px;
}
#upercontact{
position: absolute;
margin-top: -230px;
margin-left: 45%;
z-index:1;
}
#country{
position: absolute;
margin-top: -220px;
left: 45%;
margin-left: 500px;
z-index:1;
}

#upercontact span{
text-shadow: black 1px 1px 2px, black 0 0 1em;
    color: white; 
    font-size: 40px;
font-family: "Trebuchet MS";
}
#upercontact p{
color: white; 
font-size: 15px;
font-family: "Trebuchet MS";
margin-top: -5px;
}



#upermenu{
background-color: #ffffff;
width:1000px;
height: 50px;
position: relative;
margin-top:0px;
left: 50%;
margin-left: -500px;
z-index:1;
}
.upermenutext{
position:relative;
left: 300px;
width: 700px;
z-index:2;
}

#upermenu a{
color: #3a3a3a;
font-size:18px; 
font-family: Trebuchet MS;
text-transform:uppercase; 
position: relative;
z-index:2;
font-weight: bold;
text-decoration: none;

}
#upermenu a:link{
color: #3a3a3a;
font-size:18px; 
font-family: Trebuchet MS;
text-transform:uppercase; 
position: relative;
z-index:2;
font-weight: bold;
text-decoration: none;

}
#upermenu a:hover{
color:#59a5bb; 
font-size:18px; 
font-family: Trebuchet MS;
text-transform:uppercase; 
position: relative;
z-index:2;
font-weight: bold;
text-decoration: none;
text-shadow: #ffffff 1px 1px 2px, #bababa 0 0 1em;
}
#linkerup{
width: 20px;
position: relative;
margin-top:-75px;
right: -850px;
z-index:1;
}

#bodytext{
background-color: #ffffff;
width:1000px;
position: relative;
top:-21px;
left: 50%;
height: 1500px;
margin-left: -500px;
z-index:2;
}
#centertext{
width:600px;
position: absolute;
top: 20px;
left: 350px;
z-index:2;
vertical-align: top;
background-color: #ffffff;
text-align: justify;
}

#centermail{
width:600px;
position: relative;
top: 20px;
left: 350px;
z-index:2;
vertical-align: top;
background-color: #ffffff;
text-align: justify;
}
#centertext span{
color:#02222c; 
font-size:16px; 
font-family: Trebuchet MS;
}
#centertext h1,h2,h3{
color:#E11874; 
font-size:30px; 
font-family: Trebuchet MS;
}
#centertext h2,h3{
color:#4e6749; 
font-size:22px; 
font-family: Trebuchet MS;
}

#centertext table{
border-spacing: 10px 10px;
vertical-align: top;
}
#centertext .tder{
width: 270px;
margin-left: 10px;
margin-top: -20px;
font-size:14px; 
font-family: Trebuchet MS;

}

#worker {
border-spacing: 50px 50px;
vertical-align: top;
}
#worker span {
color:#424141; 
font-size:12px; 
font-family: Trebuchet MS;
}
#worker a {
color:#b2452e; 
font-size:14px; 
font-family: Trebuchet MS;
text-decoration: none; 
border-bottom: 1px dashed #b2452e;  
font-weight: bold;
}
#worker .workahref {
color:#7c1803; 
font-size:12px; 
font-family: Trebuchet MS;
text-decoration: none; /* Убираем подчеркивание */
border-bottom: 1px dashed #7c1803; /* Добавляем свою линию */ 
}
#worker .imgahref {
border:0;
text-decoration: none;
border-bottom: 0px;
}
#manright{
position: fixed;
left: 50%;
margin-left: 490px;
z-index:0;
bottom:-10px;
}
#manleft{
position: fixed;
left: 50%;
margin-left: -704px;
z-index:0;
bottom:-10px;
}
#news{
position: relative;
margin-top:10px;
width: 300px;
margin-left: 30px;
z-index: 1;
}
#news h1{
font-size:20px; 
font-family: Trebuchet MS;
text-transform:uppercase; 
text-decoration: none;
z-index: 1;
}
#news b{
font-size:16px; 
font-family: Trebuchet MS;
text-transform:uppercase; 
text-decoration: none;
}
#news span {
font-size:14px; 
font-family: Trebuchet MS;
}
#logocanal1{
position: absolute;
margin-top: -3px;
width: 50px;
margin-left: 230px;
z-index: 1;
}
#logocanal2{
position: absolute;
margin-top: -3px;
width: 50px;
margin-left: 230px;
z-index: 1;
}
#logocanal3{
position: absolute;

margin-top: -3px;
width: 50px;
margin-left: 230px;
z-index: 1;
}
#logoline{
position: relative;
background-color: #CDCDCD;
width: 95%;
height: 15px;
z-index: 0;
top: 10px;
}
#pers{
position: relative;
margin-top:10px;
width: 300px;
margin-left: 30px;
z-index: 1;
}
#pers b{
font-size:16px; 
font-family: Trebuchet MS;
text-transform:uppercase; 
text-decoration: none;
}
#pers span {
font-size:12px; 
font-family: Trebuchet MS;
}
#pers a {
color:#6E8193;
font-size:14px; 
font-family: Trebuchet MS;
}
#pers h1{
color:#9A0000;
font-size:20px; 
font-family: Trebuchet MS;
text-decoration: none;
z-index: 1;
}
#logopartners{
position:absolute;
top: -10px;
right: 10px;
}
#minititle{
position:relative;
top: -20px;
left: 3px;
}
#minititle span{
color: #CDCDCD; /* Красный цвет символов */ 
     font-size: 16px; /* Размер шрифта в процентах */ 
     font-family: Tahoma;
font-style: oblique;
}
.partnerslink{
color: #692d1f; /* Красный цвет символов */ 
     font-size: 16px; /* Размер шрифта в процентах */ 
     font-family: Trebuchet MS;

}

.thise{
color: #CDCDCD; /* Красный цвет символов */ 
     font-size: 16px; /* Размер шрифта в процентах */ 
     font-family: Trebuchet MS;
font-weight: 600;
}
.preview_no_href{
color: #e6e6e6; /* Красный цвет символов */ 
     font-size: 16px; /* Размер шрифта в процентах */ 
     font-family: Trebuchet MS;
font-weight: 600;


}
.thise_format{
color: #CDCDCD; /* Красный цвет символов */ 
     font-size: 16px; /* Размер шрифта в процентах */ 
     font-family: Trebuchet MS;
font-weight: 600;

}
.navigator{
color: #3d4345; /* Красный цвет символов */ 
     font-size: 16px; /* Размер шрифта в процентах */ 
     font-family: Trebuchet MS;
font-weight: 600;
}

#footer{
background-color: #e0e0e0;
width:1000px;
height: 70px;
position: fixed;
left: 50%;
margin-left: -500px;
z-index:0;
bottom: 0px;
z-index:5;
}
#copyright{
position:relative;
top: 10px;
left: 20px;
}

#copyright span{
color: #595858; 
font-size: 10px;
font-family: "Trebuchet MS";
margin-top: -2px;
}
#plus {
background-image:url(../images/18plus.png);
position: absolute;
top: -10px;
width: 85px;
height:80px;
right: -9px;
z-index: 10;
}
#tabfoot{
position:relative;
top:-20px;
width:500px;
height: 70px;
left: 45%;
z-index:0;
bottom: 0px;
text-align: right;
margin-right: 10px;
}

#tabfoot span{
    color: black; 
    font-size: 24px;
font-family: "Trebuchet MS";
}
#tabfoot p{
color: #595858; 
font-size: 12px;
font-family: "Trebuchet MS";
margin-top: -2px;
}
#phone{
background-image:url(../images/phone.png);
width:150px;
height: 155px;
position: relative;
left: 900px;
top: -170px;
z-index:0;
}
#tbod{
text-align: justify;
}
#uptable{
width:115px; 
height: 26px;
}
/*Всплывающее окно*/
.popup {
    background-color: #fff;
    border: 3px solid #fff;
    display: inline-block;
    left: 50%;
    opacity: 0;
    padding: 35px;
    position: fixed;
    text-align: justify;
    top: 10%;
    visibility: hidden;
    z-index: 10;

    -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-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    -moz-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    -ms-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    -o-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;

    -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: 30%;
    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: 16px;
    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 h2{
font-size:18px; 
font-family: Trebuchet MS;
text-transform:uppercase; 
text-decoration: none;
z-index: 1;
}
.popup span {
    display: inline-block;
    text-align: left;
    width: 120px;
vertical-align: top;
font-size:18px;
color: #4f5050;
font-family: Trebuchet MS;
}
.popup textarea
{
    border: 1px solid;
    border-color: #999 #ccc #ccc;
    margin: 0;
    padding: 2px;

    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
    border-radius: 2px;
}
.popup input
{
    border: 1px solid;
    border-color: #999 #ccc #ccc;
    margin: 0;
    padding: 2px;

    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
    border-radius: 2px;
}

.button{
  display: inline-block;
  padding: 6px 20px;
  margin: 0;
  cursor: pointer;
  border: 1px solid #bbb;
  overflow: visible;
  font: bold 13px;
  font-family: Arial, Helvetica, sans-serif;
  text-decoration: none;
  color: #555;
  background-color: #ddd;
   text-shadow: 0 1px 0 rgba(255,255,255, .9);  
}

.button:hover{
  background-color: #eee;
  color: #555;
}

.button:active{
  background: #e9e9e9;
  position: relative;
  top: 1px;
  text-shadow: none;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .3) inset;
}
.button.large{
  padding: 12px 30px;
  text-transform: uppercase;
}

.button.large:active{
  top: 2px;
}

/**********logolink***************/
#slidemesto{
top:8px;
left: 50%;
margin-left: -471px;
			position:absolute;
			height:213px;
			width:266px;
}
#slidemesto .slideshow-block{
	position: relative;
	width: 266px;
	height: 213px;
	overflow: hidden;
	background: #111 url('../images/slide1.jpg');
}
.linksl{
top: 20px;
left: 25px;
	position: absolute;
        z-index: 10;
}
#slidemesto a.link{
	position:absolute;
	height: 213px;
	width: 266px;
	display: block;
	z-index: 10;
	
}
#slidemesto a.link:hover{
	background-position: center -150px;
}
#slidemesto .slides{
top:-16px;
	z-index:0;
	visibility:hidden;
}
#slidemesto .slides.active{
	visibility:visible;
}
.otpravit{
text-align: center; 
}
	.modalDialog {
		position: fixed;
		font-family: Arial, Helvetica, sans-serif;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		background: rgba(0,0,0,0.8);
		z-index: 99999;
		-webkit-transition: opacity 400ms ease-in;
		-moz-transition: opacity 400ms ease-in;
		transition: opacity 400ms ease-in;
		display: none;
		text-align: center; 
	}


	.modalDialog:target {
		display: block;
		
	}
.videomode{
top: 30%;
}
.videomode span{
vertical-align: top;
font-size:18px;
color: #4f5050;
font-family: Trebuchet MS;
}

	.modalDialog > div {
		top: 5%;
		width: 590px;
		position: relative;
		margin: 10% auto;
		padding: 5px 20px 13px 20px;
		border-radius: 10px;
		background: #fff;
		background: -moz-linear-gradient(#fff, #999);
		background: -webkit-linear-gradient(#fff, #999);
		background: -o-linear-gradient(#fff, #999);
	}

	.closed {
		background: #606061;
		color: #FFFFFF;
		line-height: 25px;
		position: absolute;
		right: 0px;
		text-align: center;
		top: -10px;
		width: 24px;
		text-decoration: none;
		font-weight: bold;
		-webkit-border-radius: 12px;
		-moz-border-radius: 12px;
		border-radius: 12px;
		-moz-box-shadow: 1px 1px 3px #000;
		-webkit-box-shadow: 1px 1px 3px #000;
		box-shadow: 1px 1px 3px #000;
	}

	.closed:hover { background: #00d9ff; }
