body {
    margin: auto;
	padding: 0;
	color: #666;
	font-family: Tahoma, Geneva, sans-serif;
	font-size: 0.8em;
	line-height: 1.4; 
    /*background-image: url("../images/background_main_page.jpg");
    background-repeat: repeat;*/
    background-image: url("../images/background_main_page.jpg");
    background-size: 100% auto;
    background-position: center;
    background-attachment: fixed;
}

a/*, a:link, a:visited*/ {
    color: #0E8EAB;
    font-weight: 400;
    text-decoration: underline;
}
/*a:hover { color: #930; text-decoration: none; }*/

p {
    margin: 0 0 10px 0;
    padding: 0;
    text-indent: 1em;
}

p.includeList {
    margin: 0;
}

p.afterList {
    text-indent: 0;
}

img { border: none; }
blockquote { font-style: italic; margin: 0 0 0 10px;}

h1, h2, h3, h4, h5, h6 { color: #000; font-weight: normal;  }
h1 { font-size: 2.2em; margin: 0 0 20px; padding: 5px 0 }
h2 { font-size: 2em; margin: 0 0 20px; padding: 5px 0 10px 0; }
h3 { font-size: 1.8em; margin: 0 0 15px; padding: 0; }
h4 { font-size: 1.5em; margin: 0 0 15px; padding: 0; }
h5 { font-size: 1.2em; margin: 0 0 10px; padding: 0;  }
h6 { font-size: 1em; margin: 0 0 5px; padding: 0; }

.cleaner { clear: both }
.h10 { height: 10px }
.h20 { height: 20px }
.h30 { height: 30px }
.h40 { height: 40px }
.h50 { height: 50px }
.h60 { height: 60px }

.float_l { float: left }
.float_r { float: right }

.image_wrapper { position: relative; display: inline-block; width: 300px; height: 168px; margin: 3px 0 10px 0; }
.image_wrapper img { z-index: 1000; position: absolute; top: 0; left: 0; width: 300px; height: 150px; }
.image_wrapper span {  position: absolute; border: 0; left: 0; width: 300px; height: 168px; background: url(images/templatemo_image_bg.jpg) no-repeat }

.image_fl { float: left; margin: 3px 20px 0 0 }
.image_fr { float: right; margin: 3px 0 0 20px }

/*.tmo_list { margin: 20px 0 20px 10px; padding: 0; list-style: none }
.tmo_list li { color:#bfb839; margin: 0; padding: 0 0 5px 15px; background: url(images/templatemo_list.jpg) no-repeat scroll 0 4px  }
.tmo_list li a { color: #bfb839; font-weight: normal; font-size: 12px; text-decoration: none }
.tmo_list li a:hover { color: #bfb839; text-decoration: underline }*/


/*my styles*/
.header {
    display: block;
    position: relative;
    text-align: center;
    height: 250px;
    background-image: url("../images/background_head.jpg");
    background-repeat: repeat;
}

.restHeader {
    padding-top: 203px;
}

footer {
    font-family: 'Roboto';
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    color: white;
    background-image: url("../images/background_head.jpg");
    background-repeat: repeat;
    margin: 100px auto 0 auto;
    padding: 30px;
}

#main_menu {
    text-align: center;
    margin: 20px auto 0 auto;
    background-color: white;
    border: 1px solid black;
    /*border-radius: 10px;*/
    padding: 10px 0;
    width: 1078px;
}

#main_menu ul { padding: 0; margin: 0; list-style: none; }
#main_menu ul li {
    margin: 0;
    padding: 5px; 
    display: inline-block;
    border-radius: 5px;
    background-color: #fae5ac;
    transition: background-color 0.5s;
}
#main_menu ul li:hover {
    background-color: #fcd140;
}

#main_menu ul li.selectedPage {
    background-color: #fdc327;
}

#main_menu ul li a.selectedPage {
    color: #000;
}

#main_menu ul li a {
	float: none;
	display: block;
	font-size: 2em;
	color: #666;	
	margin-left: 20px;
	margin-right: 20px;
	font-weight: 400;
	outline: none;
    text-decoration: none;
}
#main_menu ul li a:hover {
	color: #000;
}
#main_main {
	clear: both;
	width: 800px;
	margin: 0 0 0 6px;
}

.whiteDiv {
    text-align: left;
    background-color: white;
    сolor: #333333;
    font-family: 'Roboto';
    font-size: 2em; 
    line-height: 1.4;
    border: 1px solid black;
    /*border-radius: 10px;*/
    padding: 10px;
    -webkit-box-shadow: 5px 10px 10px rgba(0,0,0,1),10px 20px 40px rgba(0,0,0,.5);
    -moz-box-shadow: 5px 10px 10px rgba(0,0,0,1),10px 20px 40px rgba(0,0,0,.5);
    -ms-box-shadow: 5px 10px 10px rgba(0,0,0,1),10px 20px 40px rgba(0,0,0,.5);
    box-shadow: 5px 10px 10px rgba(0,0,0,1),10px 20px 40px rgba(0,0,0,.5);
}

.gameBody {
    text-align: left;
    сolor: #333333;
    font-family: 'Roboto';
    font-size: 2em; 
    line-height: 1.4;
}

.bodyColumn {
    margin: 40px auto 0 auto;
    text-align: center;
    width: 1078px;
}

a.copyright:link,
a.copyright:visited,
a.copyright:active,
a.copyright:hover {
    color: white;
    text-decoration: none;
}

.inActive {
    visibility: hidden;
}

td.td_games {
    vertical-align: top;
    text-align: left;
    /*border: 1px solid black;*/
    padding: 10px;
}

td.td_games h2 {
    background-image: url("../images/game_title.png");
    background-size: contain;
    background-position: top left;
    background-repeat: no-repeat;
    padding: 30px 0 0 40px;
}

td.td_games a {
    /*text-decoration: none;*/
}

.modalInput {
  display: none;
}

.modalLabel {
  cursor: pointer;
}

.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;
  opacity:0;
  -webkit-transition: opacity 400ms ease-in;
  -moz-transition: opacity 400ms ease-in;
  transition: opacity 400ms ease-in;
  pointer-events: none;
}

.modalDiv  {
    top: -100%;
    right: 0;
    left: 50%;
    font-size: 2em; /*14px*/
    z-index: 20;
    margin: 0;
/* фиксированное позиционирование, окно стабильно при прокрутке */
    position: fixed;
    padding: 3px;
    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;
}

.modalInput:checked ~ .labelBackground .modalDialog {
  opacity: 1;
  pointer-events: auto;
}

.modalInput:checked ~ .labelBackground .modalDialog .modalDiv {
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    top: 10%;
}

/* формируем кнопку закрытия */
.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: 2em; /*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);    
}

img.sn-logo {
    height: 32px;
    width: 32px;
    margin: 0 5px;
}

#game_detail_header {
    text-align: center;
}

#game_detail_photo {
    height: auto;
}

img.detail_photo {
    height: 200px;
    width: auto;
    margin: 5px;
    border: 1px solid #C0C0C0;
    border-radius: 5px;
    -webkit-box-shadow: 5px 5px 5px rgba(0,0,0,.22), 5px 5px 10px rgba(0,0,0,.3);
    -moz-box-shadow: 5px 5px 5px rgba(0,0,0,.22), 5px 5px 10px rgba(0,0,0,.3);
    -ms-box-shadow: 5px 5px 5px rgba(0,0,0,.22), 5px 5px 10px rgba(0,0,0,.3);
    box-shadow: 5px 5px 5px rgba(0,0,0,.22), 5px 5px 10px rgba(0,0,0,.3);
}

img.preview_img {
    position: relative;
    top: -40px;
    margin: 5px;
    border: 1px solid #C0C0C0;
    border-radius: 5px;
    width: 100%;
    -webkit-box-shadow: 5px 15px 20px rgba(0,0,0,.22), 5px 19px 60px rgba(0,0,0,.3);
    -moz-box-shadow: 5px 15px 20px rgba(0,0,0,.22), 5px 19px 60px rgba(0,0,0,.3);
    -ms-box-shadow: 5px 15px 20px rgba(0,0,0,.22), 5px 19px 60px rgba(0,0,0,.3);
    box-shadow: 5px 15px 20px rgba(0,0,0,.22), 5px 19px 60px rgba(0,0,0,.3);
}

.divPrice {
    font-size: 1.5em;
    margin: 10px 0 10px;
    padding: 5px;
    background-color: #bdd4ff;
    border: 1px solid #AAAAAA;
    border-radius: 5px;
}

.divSmallPrice {
    font-size: 1.15em;
    margin: 10px 0 10px;
    padding: 5px;
    background-color: #bdd4ff;
    border: 1px solid #AAAAAA;
    border-radius: 5px;
}

.contact_table {
    width: 100%;
}

.contact_td {
    width: 50%;
    vertical-align: top;
}

.order_div {
    border: 1px solid #C0C0C0;
    border-radius: 5px;
    padding: 15px;
    box-shadow: 2px 2px 10px #999;
    background-color: #ffffbe;
}

.hidden {
    display: none;
}

.order_textarea {
    resize: none;
}

h2.title {
    text-align: center;
}

.aboutImg {
    border: 1px solid #C0C0C0;
    border-radius: 5px;
    float: left;
    margin: 15px;
    -webkit-box-shadow: 5px 15px 20px rgba(0,0,0,.22), 5px 19px 60px rgba(0,0,0,.3);
    -moz-box-shadow: 5px 15px 20px rgba(0,0,0,.22), 5px 19px 60px rgba(0,0,0,.3);
    -ms-box-shadow: 5px 15px 20px rgba(0,0,0,.22), 5px 19px 60px rgba(0,0,0,.3);
    box-shadow: 5px 15px 20px rgba(0,0,0,.22), 5px 19px 60px rgba(0,0,0,.3);
}

td.width50 {
    width: 50%;
}

.divGame {
    background-color: white;
    /*border: 1px solid black;
    border-radius: 10px;*/
    margin-bottom: 40px;
    -webkit-box-shadow: 5px 10px 10px rgba(0,0,0,1),10px 20px 40px rgba(0,0,0,.5);
    -moz-box-shadow: 5px 10px 10px rgba(0,0,0,1),10px 20px 40px rgba(0,0,0,.5);
    -ms-box-shadow: 5px 10px 10px rgba(0,0,0,1),10px 20px 40px rgba(0,0,0,.5);
    box-shadow: 5px 10px 10px rgba(0,0,0,1),10px 20px 40px rgba(0,0,0,.5);
}

.commentDiv {
    text-align: left;
    font-size: 1.5em; 
    line-height: 1.4;
    background-color: white;
    border: 1px solid black;
    /*border-radius: 10px;*/
    margin-top: 30px;
    padding: 10px;
    -webkit-box-shadow: 5px 10px 10px rgba(0,0,0,1),10px 20px 40px rgba(0,0,0,.5);
    -moz-box-shadow: 5px 10px 10px rgba(0,0,0,1),10px 20px 40px rgba(0,0,0,.5);
    -ms-box-shadow: 5px 10px 10px rgba(0,0,0,1),10px 20px 40px rgba(0,0,0,.5);
    box-shadow: 5px 10px 10px rgba(0,0,0,1),10px 20px 40px rgba(0,0,0,.5);
}

.qoutesImg {
    position: relative;
    top: -30px;
    left: 30px;
    height: 40px;
    width: 40px;
    padding: 0;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    border-radius: 20px;
}

.commentImg {
    float: left;
    margin: 15px;
    height: 100px;
    width: 100px;
    padding: 0;
    border: 1px solid #C0C0C0;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    border-radius: 20px;
    -webkit-box-shadow: 5px 15px 20px rgba(0,0,0,.22), 5px 19px 60px rgba(0,0,0,.3);
    -moz-box-shadow: 5px 15px 20px rgba(0,0,0,.22), 5px 19px 60px rgba(0,0,0,.3);
    -ms-box-shadow: 5px 15px 20px rgba(0,0,0,.22), 5px 19px 60px rgba(0,0,0,.3);
    box-shadow: 5px 15px 20px rgba(0,0,0,.22), 5px 19px 60px rgba(0,0,0,.3);
}

.tdQoutes {
    vertical-align: top;
    width: 40px;
}

.tdComments {
    width: 100%;
}

a.commentHref {
    text-decoration: none;
}

li.liAbout {
    list-style: none; /* Скрываем маркеры списка */
    text-indent: 2em;
}

li.liAbout::before {
    content: '\25ba';
    padding-right: 5px;
    color: #fcd140;
}

.divList {
    display: inline;
}

td.td_cert {
    vertical-align: top;
	align: center;
    text-align: left;
    /*border: 1px solid black;*/
    padding: 10px;
}

img.preview_cert {
    position: relative;
    margin: 5px;
    border: 1px solid #C0C0C0;
    border-radius: 5px;
    width: 100%;
    -webkit-box-shadow: 5px 15px 20px rgba(0,0,0,.22), 5px 19px 60px rgba(0,0,0,.3);
    -moz-box-shadow: 5px 15px 20px rgba(0,0,0,.22), 5px 19px 60px rgba(0,0,0,.3);
    -ms-box-shadow: 5px 15px 20px rgba(0,0,0,.22), 5px 19px 60px rgba(0,0,0,.3);
    box-shadow: 5px 15px 20px rgba(0,0,0,.22), 5px 19px 60px rgba(0,0,0,.3);
}
