* {
margin: 0;
padding: 0;
border: 0;
}
#html, body{
    padding:0;
    margin:0;
    height:100%; 
    position:relative;
    font-size: 1em;
}
		
#global {
    max-width: 1100px;
	/*width: 1024px;*/
	margin: 0 auto;
    position: relative;
    min-height: 100%;
}

#header {
	height: 288px;
	width: 100%;
	float:left;
	/*background-image: url(/img/head-back.gif);*/
    border-style: solid;
    border-width: 0px 30px 0px 30px;
 -moz-border-image: url(/img/body_1.gif) 0 30 0 30 repeat round;
 -webkit-border-image: url(/img/body_1.gif) 0 30 0 30 repeat round;
 -o-border-image: url(/img/body_1.gif) 0 30 0 30 repeat round;
  border-image: url(/img/body_1.gif) 0 30 0 30 fill repeat round;
  text-align: center;       
}

#info {
    width: 200px;
	float:left;
	margin: 10px 0 0 0px;
}

#body {
	width: 100%;
	float: left;
	/*background-image: url(/img/body_1.gif);
	background-repeat: repeat-y;
    */
    border-style: solid;
    border-width: 0px 30px 0px 30px;
 -moz-border-image: url(/img/body_1.gif) 0 30 0 30 repeat round;
 -webkit-border-image: url(/img/body_1.gif) 0 30 0 30 repeat round;
 -o-border-image: url(/img/body_1.gif) 0 30 0 30 repeat round;
  border-image: url(/img/body_1.gif) 0 30 0 30 fill repeat round;    
    
}

#left {
	height: 100%;
	float: left;
	text-align: center;
	font-weight: bold;
	line-height: 1.8em;
	margin:0 0 5px 0;
    width: 18%;
    max-width: 210px;    
}
#left ul { 
	list-style: none; 
	width: 150px; 
}

#center {
	min-height:450px;
	width: 64%;
	float: left;
    background-color: #ECECEB;
}
#center h1{
    text-align: center;
	/*font-style: italic;*/
	color: #960018;
}

#center h2{
	text-align: center;
	/*font-style: italic;*/
	font-size: 1.5em;
}

#center p {
	padding: 2px;
	color: #000000;
	/*font-style: italic;*/
	text-align: justify;
	font-size: medium;
}
	
#right {
    width: 18%;
	max-width: 204px;
	height: 100%;
	float: left;
	text-align: center; 
	/*font-weight: bold;
	line-height: 1.8em;*/
}
#right_layer {
    margin: 40px 0px 20px 30px;
}
#right_layer p {
	padding: 2px;
	text-align: center;
}

div.news-left {
    font-size:0.8em; font-decoration:none; text-align:left; margin:0 15px 20px 0;
    border: 1px solid #bbb;
    padding: 5px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px; 
    text-align: center;    
}
div.news-left a, div.news-left-title a {color:#6F6F6F; }
div.news-left-title {color:#6F6F6F; margin-bottom:3px;text-align: center;}





body {
    background: url("/img/bg_11.jpg") fixed;
    background-position: center top;
    background-size: 100% auto;       
}

.layer {
    padding: 0 5 0 5;
}

ul li {position: relative; }

ul li a {
    display: block; 
    text-decoration: none; 
    padding: 5px 0 5px 0;
    font-weight: bold;
    color: #960018;
    background-color: #efefef;
    border-right: 1px solid #b7b7b6;
    border-bottom: 1px solid #b7b7b6;
    border-left: 1px solid #b7b7b6; 
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;       
}
ul li:first-child a {
   border-top: 1px solid #b7b7b6; 
}   

#left_layer {
    padding: 40px 20px 20px 10px;
}

      
#left_layer	ul {margin-left:10px;}
#left_layer ul li {
    display: table;
    width: 100%;
}


a.menu:hover{
	color: #960018;
    text-decoration: none;
    background-color: #fff;
    box-shadow: 0 1px 13px rgba(0, 0, 0, 0.31), 0 1px 1px 1px rgba(0, 0, 0, 0.1);    
    
} 
a.menu:link{ color: #960018; text-decoration: none;} 
a.menu:visited{font-weight: bold; color: #960018; text-decoration:none;}

a.menuSelected {
    /*
    box-shadow: 0 1px 13px rgba(0, 0, 0, 0.31), 0 1px 1px 1px rgba(0, 0, 0, 0.1);
    */
    background-color: #fff; 
    
    -webkit-box-shadow: inset 0px 0px 5px 0px rgba(112,112,112,0.8);
    -moz-box-shadow: inset 0px 0px 5px 0px rgba(112,112,112,0.8);
    box-shadow: inset 0px 0px 5px 0px rgba(112,112,112,0.8);    
    
}
li.menuSelected a {
    background-color: #fff; 
    border: none;    
}

div.info_footer p a.menu:hover {font-size: 1em !important;}

a:focus { outline: none; }

table.photos-albom-list {
    border:1px solid #aaa; width:100%;background-color:#fff;margin-bottom:15px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;     
}
table.photos-albom-list td {padding:5px; vertical-align:top;}
table.photos-albom-list td.albom-text {
    padding-left:7px; padding-right:10px; text-align:justify;
}
table.photos-albom-list td.albom-date {font-size:0.8em; padding-left:7px; padding-right:10px; color:#4F4F4F}
table.photos-albom-list td a h2 {margin-bottom:5px; color:#4F4F4F; text-decoration: none;}
table.photos-albom-list td a:hover h2 {text-decoration: underline;}
table.photos-albom-list td a img {border: 1px solid #eee;}
table.photos-albom-list td a:hover img {border: 1px solid #4F4F4F;}

table.photos-albom-list td.albom-text img {
    margin: auto !important;
    max-width: 100%;
}

table.photos-albom {
	text-align:center;
	margin:auto;
	width:100%;
}

table.photos-albom td {
	width: 33%;
	text-align:center;
}
table.photos-albom td div {
	border:1px solid #aaa;
	padding:5px;
	margin:auto;
	text-align:center;
	background-color:#fff;
}

div.albom {text-align:justify;}

div.photos-photo {color: #4F4F4F; text-align:justify; margin: 20px auto 10px;}
div.photos-photo h3 {text-align: center; margin-top: 10px; font-size: 1.1em;}
div.photos-photo div {text-align: left;}
div.photos-photo div a img {margin:auto; border:1px solid #AAAAAA; margin-top:10px;}
div.photos-photo div a:hover img {border:1px solid #4F4F4F;}

h1 {margin-bottom:15px;}
a h1 {text-decoration: underline;}
a:hover h1 {text-decoration: none;}

a.albom img {border: 1px solid #eee;}
a.albom:hover img {border: 1px solid #4F4F4F;}

a.albom, a.albom h2 {color:#4F4F4F;text-decoration: underline;}
a.albom:hover, a.albom:hover h2 {text-decoration: none;}

a.albom h3 {color:#4F4F4F;text-decoration: none; margin-bottom:5px;}
a.albom:hover h3 {text-decoration: underline;}

div.grey {text-align:left; color:#6F6F6F; font-size:0.8em; margin-top:10px;}


div.pages {width:100%; margin: 5px 0 35px 0; line-height: 2em;}

div.pages strong, div.pages span, div.pages a {
    text-align:center;
    display:block;
    float: left;
    width:32px;
    color:#000;
    margin-left: 5px;
}
div.pages span {
        margin-right: 10px;
        text-align:left;
        padding:0px;
        color:#6F6F6F;
        width: 90px;
}
div.pages a {
    padding: 2px;
    color:#6F6F6F;
    text-decoration:none;
   /* font-size: 1.3em; */
    border: 1px dotted #b7b7b6;
}
div.pages a:hover {
    /*padding: 0px;*/
    background-color: #fff;
    border: 1px solid #b7b7b6;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;  
    -webkit-box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.2);
    box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.2);  
} 
div.pages strong {
    padding: 2px;
    /*font-size: 1.3em;*/
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;      
    -webkit-box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.2);
    box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.2);    
}

div.spacer {height:1px;display:block; border:none !important; background:none !important;}

a.more {color:#6F6F6F;text-decoration: underline;}
a.more:hover {text-decoration:none;}

p a {color:#6F6F6F; text-decoration: none;}
p a:hover {text-decoration: underline;}

table.legio-tree-item {border: 2px solid #888; text-align: center; border-collapse:collapse; height: 170px;}
table.legio-tree-item  td {padding: 5px; border: 1px solid #888; text-align: center;}
table.left {float: left; margin: 5px 10px 10px 10px;}

a.tree {color:#4F4F4F;text-decoration: none; font-weight:bold;}
a.tree:hover {text-decoration: underline;}

div.tree {padding:5px;}


div.ad, div.ad a, div.ad a:hover, div.ad a:visited {color:#222 !important;}

table#dv1, table#dv2 {float: left; width:370px;}
table#dv2 {margin-left: 150px;}

#tooltip {
    display: block;
    width: 300px;
    background: #ffffff;
    border: 1px solid #ef9595;
    font-size: 0.8em; color: #e0302d;
    margin: 0px; padding: 3px;
    position: absolute;
    z-index: 5;
    visibility: hidden;
    text-align: center;
    opacity: 0.9; speed: 100;
    -moz-border-radius:8px;
    -webkit-border-radius: 8px;
}


a.randomphoto {color:#4F4F4F;text-decoration: underline;display:block; margin-top:20px;
    font-size:0.8em;font-weight:normal;line-height:1em;}
a.randomphoto:hover {text-decoration: none;}

a.randomphoto img {border: 1px solid #eee;}
a.randomphoto:hover img {border: 1px solid #4F4F4F;}

div#vk {clear:both; width: 830px; margin: 20px auto 30px; height: 40px;}
div#vk>div {float:left; margin:7px;}

div#vk_save {margin-top: 10px; text-align: center;}
div#vk_comments {margin-top: 30px;margin: auto;}

div#googleplus {width: 70px !important;}
div#tweet_share {width: 90px !important;}

table.info {margin-top:10px; border-collapse: collapse;}
table.info td, table.info th {padding: 3px; border: 1px #aaa solid; }
table.info th {background-color: #dcdcdc; color: #555;}



.photosList {
    margin-top: 10px;
    width: 75% !important;
}

.b-share-btn__wrap {
    margin-left: 20px !important;
}


.myButton {
    -moz-box-shadow:inset 0px 1px 0px 0px #cf866c;
    -webkit-box-shadow:inset 0px 1px 0px 0px #cf866c;
    box-shadow:inset 0px 1px 0px 0px #cf866c;
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #d0451b), color-stop(1, #bc3315));
    background:-moz-linear-gradient(top, #d0451b 5%, #bc3315 100%);
    background:-webkit-linear-gradient(top, #d0451b 5%, #bc3315 100%);
    background:-o-linear-gradient(top, #d0451b 5%, #bc3315 100%);
    background:-ms-linear-gradient(top, #d0451b 5%, #bc3315 100%);
    background:linear-gradient(to bottom, #d0451b 5%, #bc3315 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#d0451b', endColorstr='#bc3315',GradientType=0);
    background-color:#d0451b;
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    border-radius:10px;
    border:1px solid #a83f2a;
    display:inline-block;
    cursor:pointer;
    color:#ffffff;
    font-family:Arial;
    font-size:1.2em;
    padding:6px 12px;
    text-decoration:none;
    text-shadow:0px 1px 0px #854629;
}
.myButton:hover {
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #bc3315), color-stop(1, #d0451b));
    background:-moz-linear-gradient(top, #bc3315 5%, #d0451b 100%);
    background:-webkit-linear-gradient(top, #bc3315 5%, #d0451b 100%);
    background:-o-linear-gradient(top, #bc3315 5%, #d0451b 100%);
    background:-ms-linear-gradient(top, #bc3315 5%, #d0451b 100%);
    background:linear-gradient(to bottom, #bc3315 5%, #d0451b 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#bc3315', endColorstr='#d0451b',GradientType=0);
    background-color:#bc3315;
}
.myButton:active {
    position:relative;
    top:1px;
}



label {
    font-size: 1.2em;
    display: block;
}
label:hover, label:active, input:hover+label, input:active+label {
    text-shadow: 2px 2px 8px #FF0000;
}


.radio {
    vertical-align: top;
    width: 17px;
    height: 17px;
    margin: 0 3px 0 0;
}
.radio + label {
    cursor: pointer;
}
.radio:not(checked) {
    position: absolute;
    opacity: 0;
}
.radio:not(checked) + label {
    position: relative;
    padding: 0 0 0 35px;
}
.radio:not(checked) + label:before {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    width: 20px;
    height: 20px;
    border: 1px solid #CDD1DA;
    border-radius: 50%;
    background: #FFF;
}
.radio:not(checked) + label:after {
    content: '';
    position: absolute;
    top: 1px;
    left: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #C83E19;
    /*box-shadow: inset 0 1px 1px rgba(0,0,0,.5);*/
    opacity: 0;
    transition: all .2s;
}
.radio:checked + label:after {
    opacity: 1;
}
.radio:focus + label:before {
    /*box-shadow: 0 0 0 3px rgba(255,255,0,.5);*/
}



input#socialLink {
    width: 100%; 
    margin:10px 0 20px 0;
    border: 1px solid #C83E19;
    font-size: 1.2em;
    padding: 3px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;    
}

#vk_quiz_share {margin:auto; text-align: center;}

.vkShare {
    margin: 10px auto;
    -moz-box-shadow:inset 0px 1px 0px 0px #7a8eb9;
    -webkit-box-shadow:inset 0px 1px 0px 0px #7a8eb9;
    box-shadow:inset 0px 1px 0px 0px #7a8eb9;
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #637aad), color-stop(1, #5972a7));
    background:-moz-linear-gradient(top, #637aad 5%, #5972a7 100%);
    background:-webkit-linear-gradient(top, #637aad 5%, #5972a7 100%);
    background:-o-linear-gradient(top, #637aad 5%, #5972a7 100%);
    background:-ms-linear-gradient(top, #637aad 5%, #5972a7 100%);
    background:linear-gradient(to bottom, #637aad 5%, #5972a7 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#637aad', endColorstr='#5972a7',GradientType=0);
    background-color:#637aad;
    -moz-border-radius:7px;
    -webkit-border-radius:7px;
    border-radius:7px;
    border:1px solid #314179;
    display:inline-block;
    cursor:pointer;
    color:#ffffff;
    font-family:Arial;
    font-size:1.1em;
    font-weight:bold;
    padding:6px 12px;
    text-decoration:none;
}
.vkShare:hover {
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #5972a7), color-stop(1, #637aad));
    background:-moz-linear-gradient(top, #5972a7 5%, #637aad 100%);
    background:-webkit-linear-gradient(top, #5972a7 5%, #637aad 100%);
    background:-o-linear-gradient(top, #5972a7 5%, #637aad 100%);
    background:-ms-linear-gradient(top, #5972a7 5%, #637aad 100%);
    background:linear-gradient(to bottom, #5972a7 5%, #637aad 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5972a7', endColorstr='#637aad',GradientType=0);
    background-color:#5972a7;
}
.vkShare:active {
    position:relative;
    top:1px;
}


.quizResult {
    width: 90%;
    margin: 40px auto;
    color: #333;
    font-size: 1.1em;
    -moz-user-select: none;
    -khtml-user-select: none;
    user-select: none;   
    -webkit-user-select: none;
}
.quizResult h2 {
    color: #96003C;
}    
.quizResult span.question {
    font-weight: bold;
}

.answerGood {
    color: #22C916;
}
.answerBad {
    color: red;
}


textarea:focus, input:focus{
    outline: none;
}


#quizMain {
    margin-top: 30px;
}

.shareCount {
    float: left;
    margin: 20px 0 0 10px;
    height: 34px;
    line-height: 35px;
    text-align: center;
    width: 40px;
    border: 1px solid #aaa;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px; 
    background-color: #fff;    
}



.vbShare {
    -moz-box-shadow:inset 0px 1px 0px 0px #7a8eb9;
    -webkit-box-shadow:inset 0px 1px 0px 0px #7a8eb9;
    box-shadow:inset 0px 1px 0px 0px #7a8eb9;
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #1c3f8a), color-stop(1, #3e63ad));
    background:-moz-linear-gradient(top, #1c3f8a 5%, #3e63ad 100%);
    background:-webkit-linear-gradient(top, #1c3f8a 5%, #3e63ad 100%);
    background:-o-linear-gradient(top, #1c3f8a 5%, #3e63ad 100%);
    background:-ms-linear-gradient(top, #1c3f8a 5%, #3e63ad 100%);
    background:linear-gradient(to bottom, #1c3f8a 5%, #3e63ad 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#1c3f8a', endColorstr='#3e63ad',GradientType=0);
    background-color:#1c3f8a;
    border:1px solid #05258c;
    display:inline-block;
    cursor:pointer;
    color:#ffffff;
    font-family:Arial;
    font-size:1.1em;
    font-weight:bold;
    padding: 6px 15px;
    text-decoration:none;
}
.vbShare:hover {
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #3e63ad), color-stop(1, #1c3f8a));
    background:-moz-linear-gradient(top, #3e63ad 5%, #1c3f8a 100%);
    background:-webkit-linear-gradient(top, #3e63ad 5%, #1c3f8a 100%);
    background:-o-linear-gradient(top, #3e63ad 5%, #1c3f8a 100%);
    background:-ms-linear-gradient(top, #3e63ad 5%, #1c3f8a 100%);
    background:linear-gradient(to bottom, #3e63ad 5%, #1c3f8a 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#3e63ad', endColorstr='#1c3f8a',GradientType=0);
    background-color:#3e63ad;
}
.vbShare:active {
    position:relative;
    top:1px;
}

a.randomphoto img, .photos-albom-list td a img {
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;  
}


img {
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;  
}

p {margin-top: 5px;}


div.view_mode {
    display: inline-block;
    line-height: 32px;
    background-color: #fff;
    padding: 5px 20px 5px 20px;
    opacity: 0.7;
    margin: 10px auto 20px;
    vertical-align: middle;
    -moz-border-radius: 10px; /* Firefox */
    -webkit-border-radius: 10px; /* Safari, Chrome */
    -khtml-border-radius: 10px; /* KHTML */
    border-radius: 10px; /* CSS3 */    
}

div.view_mode div {
    float: left; 
    margin: 0 15px 0 5px;
    white-space: nowrap;
}

div.view_mode div img {
    float: left;
    margin-top: 5px;
    margin-right: 5px;
}

#mainlogodiv {
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;     
    width: 720px;
    margin: 0 auto; 
}

#imgtitle {
    width: 80%; float: left; margin-top: 5px; padding: 0px; text-align: center;
}



    /*
#footer {
    width: 1024px;
    clear: both;
    height: 134px;
    background-image: url(/img/footer.gif);
    
}

 #info_footer{
     float: left;
     height: 50px;
     width: 923px;
     margin: 47px 0 0 47px;
 }
 #info_footer_left{
     float: left;
     margin: 10px 0 0 5px;
 }
 #info_footer_right{
     float: right;
     margin: 2px 0 5px 0;
 }

 #footer a {
     color: #ff0;
 }
 #footer a:hover {
     color: #f00;
 }
 #footer p {
     padding : 2px;
     text-align : center;
 }
 .clearfloat {
 clear: both;
 } 
 #info_footer p {
     margin-top: 0.5px;
 }
 */
 
 #footer {

    clear: both;
    height: 70px;
    width: 950px;
    margin: -30px auto;
    overflow: hidden;
    
    background: url(/img/footer.jpg) no-repeat;
    padding-top: 30px;
    text-align: center;

 } 
    
 #info_footer{
     float: left;
     height: 50px;
     width: 923px;
     margin: 47px 0 0 47px;
 }
 #info_footer_left{
     float: left;
     margin: 10px 0 0 5px;
 }
 #info_footer_right{
     float: right;
     margin: 2px 0 5px 0;
 }

 #footer a {
     color: #ff0;
 }
 #footer a:hover {
     color: #f00;
 }
 #footer p {
     padding : 2px;
     text-align : center;
 }
 .clearfloat {
 clear: both;
 } 
 #info_footer p {
     margin-top: 0.5px;
 }

 em {
     margin-top: 3px;
 }

 .newsImg {
     width: 100%;
 }