html, body {
    height: 100%;
}

html {
    display: table;
    margin: auto;
}
@media (min-width: 240px)  and (max-width: 1199px) {
.hidden-small-hidden {
display: none !important;
}
.hidden-small-hidden2 {
display: block;
}
}
@media (min-width: 1200px)  and (max-width: 5599px) {
.hidden-small-hidden22 {
display: none !important;
}
.hidden-small-hidden2 {
display: none !important;
}
}

/* Базовые стили слоя затемнения и модального окна  */
.overlay {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    display: none;
/* фон затемнения */
    background-color: rgba(0, 0, 0, 0.65);
    position: fixed; /* фиксированное поцизионирование */
    cursor: default; /* тип курсара */
}
/* активируем слой затемнения */
.overlay:target {
    display: block;
}
/* стили модального окна */
.popup {
    top: -100%;
    right: 0;
    left: 50%;
    font-size: 14px;
    z-index: 20;
    margin: 0;
    width: 85%;
    min-width: 320px;
    max-width: 600px;
/* фиксированное позиционирование, окно стабильно при прокрутке */
    position: fixed;
    padding: 15px;
    border: 1px solid #383838;
    background: #fefefe;
/* скругление углов */
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    font: 14px/18px 'Tahoma', Arial, sans-serif;
/* внешняя тень */
    -webkit-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -moz-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -ms-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -webkit-transform: translate(-50%, -500%);
    -ms-transform: translate(-50%, -500%);
    -o-transform: translate(-50%, -500%);
    transform: translate(-50%, -500%);
    -webkit-transition: -webkit-transform 0.6s ease-out;
    -moz-transition: -moz-transform 0.6s ease-out;
    -o-transition: -o-transform 0.6s ease-out;
    transition: transform 0.6s ease-out;
}
/* активируем модальный блок */
.overlay:target+.popup {
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    top: 20%;
}
/* формируем кнопку закрытия */
.close {
    top: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    position: absolute;
    padding: 0;
    border: 2px solid #ccc;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    border-radius: 15px;
    background-color: rgba(61, 61, 61, 0.8);
    -webkit-box-shadow: 0px 0px 10px #000;
    -moz-box-shadow: 0px 0px 10px #000;
    box-shadow: 0px 0px 10px #000;
    text-align: center;
    text-decoration: none;
    font: 13px/20px 'Tahoma', Arial, sans-serif;
    font-weight: bold;
    -webkit-transition: all ease .8s;
    -moz-transition: all ease .8s;
    -ms-transition: all ease .8s;
    -o-transition: all ease .8s;
    transition: all ease .8s;
}
.close:before {
    color: rgba(255, 255, 255, 0.9);
    content: "X";
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
    font-size: 12px;
}
.close:hover {
    background-color: rgba(252, 20, 0, 0.8);
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);    
}
/* изображения внутри окна */
.popup img {
    width: 100%;
    height: auto;
}
/* миниатюры слева/справа */
.pic-left, 
.pic-right {
    width: 25%;
    height: auto;
}
.pic-left {
    float: left;
    margin: 5px 15px 5px 0;
}
.pic-right {
    float: right;
    margin: 5px 0 5px 15px;
}
/* элементы м-медиа, фреймы */
.popup embed, 
.popup iframe {
    top: 0;
    right: 0;
    bottom: 0; 
    left: 0; 
    display:block;
    margin: auto;
    min-width: 320px;
    max-width: 600px;
    width: 100%;
}
.popup h2 { /* заголовок 2 */
    margin: 0;
    color: #008000;
    padding: 5px 0px 10px;
    text-align: left;
    text-shadow: 1px 1px 3px #adadad;
    font-weight: 500;
    font-size: 1.4em;
    font-family: 'Tahoma', Arial, sans-serif;
    line-height: 1.3;
}
/* параграфы */
.popup p {margin: 0; padding: 5px 0}

body { color: #ffffff;
background-color: #191919;
background-image : url(../files/squares.png);
font-family:Verdana, Arial;
font-size: 14px;

width: 100%;

display: table-cell;
vertical-align: middle;
 }
@media (min-width: 1200px) {
.container {
width: 1250px !important;
}
}
@media (min-width: 1024px)  and (max-width: 1199px) {
.container {
width: 1024px !important;
}
}

@media (min-width: 240px)  and (max-width: 1199px) {
.hidden-small-hidden {
display: none !important;
}
}

.effect {FILTER: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1, xray=0, mirror=0, invert=0, opacity=1, rotation=0)}


a:link { color: #999999; text-decoration: none;  }
a:visited { color: #999999; text-decoration: none; }
a:hover { color: #999999; text-decoration: none; }
a:active { color: #999999; text-decoration: none; }

.fields {
	BORDER: #e3e3e3 1px solid;

    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;

	font-family:Arial;
        font-size: 10pt;
	margin-bottom:5px;
    
    padding-left: 5px;
}




.myselect{
        BORDER-RIGHT: #cccccc 1px solid;
	BORDER-TOP: #cccccc 1px solid;
	BORDER-LEFT: #cccccc 1px solid;
	BORDER-BOTTOM: #cccccc 1px solid;
	BACKGROUND-COLOR: #999999;
	font-family:Arial;
        font-size: 10px;
	margin-bottom:5px;
	width: 400px;
}
.myselect option{
  width: 400px;
}
	
	#vert-ban{margin-bottom:10px;}
#registr{color:#dedede; text-align:left;}
#registr b{display:block; color:white; text-align:center; padding-bottom:10px;}
#registr span{display:block; font-size:11px;}
#registr i{display:block; font-size:11px; text-align:center;}
#registr s{display:block; text-decoration: none; font-size:11px; padding:10px 0 10px 0;}
#registr span input{border: #cccccc 1px solid; -moz-appearance:none;
    -webkit-appearance:none;
    -o-appearance:none; font-family:Arial; background:#dedede;}
#registr  textarea{border: #cccccc 1px solid; font-family:Arial; font-size:12px; width:180px; height:70px; background:#dedede;}
#registr i input{border: #999999 1px solid; background:white; font-size:16px; font-family:Arial; cursor:pointer; cursor:hand; font-weight:bold;}

#marq img{margin:0 2px 0 2px;}
#company span{display:block; color:white; font-size:18px;  padding:10px;}
#company  s{display:block; text-decoration: none; border:white 1px solid; padding:10px;}
#company{margin:10px 0 20px 0; text-align:justify; text-indent:20px;}

#stat{font-size:9px; color:#777777; padding-top:50px; text-align:center;}

form{margin:0; padding:0;}

.menu {background-color: #cccccc; color:#000000;}
.menuon {background-color: #ffffff; color:#000000;}

#registrtb td{padding:5px; vertical-align:top;}
#reg-tit{text-align:center; color:white; background-color: #777777; color:#000000; font-weight:bold;}

.marquee{text-align:center;}

.textboxstyle{
  background: url('../files/textboxleft.png') no-repeat 1px 1px;
  border-top: 1px solid #e2e2e2;
}


#largeImg {
	border: solid 0px #ccc;
    border-radius: 70px;
	width: 516px;
	height: 516px;
}
.thumbs img {
	border: solid 0px #ccc;
	border-radius: 15px;
	width: 100px;
	height: 100px;
	margin: 2px;
}

.thumbsLeft img {
	border: solid 0px #ccc;
    border-radius: 15px;
    width: 170px;
	height: 170px;
    margin: 3px;
}

.tovars {
	border: solid 0px #ccc;
    border-radius: 15px;
    width: 160px;
    height: 160px;
    margin: 5px;
}

.rubrika {
	border: solid 0px #ccc;
	border-radius: 15px;
	width: 160px;
	height: 160px;
	margin: 5px;
}
.r_tovar {
	border: solid 0px #ccc;
	border-radius: 15px;
	width: 160px;
	height: 160px;
	margin: 5px;
    margin-top:  10px;
}

.facebook_icon {
	width: 24px;
   	height: 24px;
	background: url(../images/b-social-icons.png) 0 0;
}

.vk_icon {
	width: 24px;
   	height: 24px;
	background: url(../images/b-social-icons.png) -28px 0;
}

.gplus_icon {
	width: 24px;
   	height: 24px;
	background: url(../images/b-social-icons.png) -56px 0;
}

.ok_icon {
	width: 24px;
   	height: 24px;
	background: url(../images/b-social-icons.png) -84px 0;
}


.twitter_icon {
	width: 24px;
   	height: 24px;
	background: url(../images/b-social-icons.png) -112px 0;
}

.instagram_icon {
	width: 24px;
   	height: 24px;
	background: url(../images/b-social-icons.png) -140px 0;
}

.youtube_icon {
	width: 24px;
   	height: 24px;
	background: url(../images/b-social-icons.png) -168px 0;
}

