
body {
margin: 0 0 0 0;
background-color: #fff;
}

a {
text-decoration: none;
color: #063;
}

a:hover {
text-decoration: underline;
color: #063;
}

#preload {
width: 0;
height: 0;
display: inline;
}

#header {
display: flex;
flex-direction: row;
flex-wrap: wrap;
margin: 0px;
background: #008D40;
}

#headerr {
width: 100%; 
height: 184px;
/*min-width: 1200px;*/
margin: 0;
}

#header h1{
margin: 0; 
padding: 0;
background-color: transparent;
font-family: 'trebuchet ms', verdana, sans-serif;
font-size: 1.75em;
font-weight: 400;
font-style: italic;
color: white;
}

#big {
margin: 0; 
padding: 0;
font-family: 'trebuchet ms', verdana, sans-serif;
font-size: 3.5em;
font-weight: 600;
color: white;
}

img#logo {
float: left;
margin-top: 5px;
}

img#glaz {
float: right;
margin-top: 10px;
margin-right: 80px;
}

@media only screen and (max-width: 767px) {
  img#glaz, .tegi {
    display:none;
  }
}

@media only screen and (max-width: 767px) {
#extras {
    position: fixed;
    right: 10px;
    top: 20px;
    cursor: pointer;
    opacity: 0.8;
  }
#big {
	font-size: 2em;
	}  
}

@media only screen and (max-width: 767px) {
#container {
	flex-direction: column;
			}
}

@media only screen and (min-width: 768px) {
ul.topnav {
	width: 150px;
	flex-direction: column;
	flex-wrap: wrap;
	}
}
@media only screen and (max-width: 767px) {
ul.topnav {
	width: 100%;
	flex-direction: row;
	flex-wrap: wrap;
	}
} 

#headcenter {
text-align: center;
width: 97%;
margin: 0 auto;
}

#zagolovok {
padding-top: 15px;
padding-bottom: 15px;
}

#menu {
width: 100%;
margin: 0;
padding-top: 0px;
background-color: #00AD4E;
text-align: center;
vertical-align: middle;
}

#footer_menu {
display: flex;
width: 100%;
margin: 0;
background: #00AD4E;
text-align: center;
font-family: Helvetica,Arial,sans-serif;
}

#menu ul {
margin-top: 0px;
margin-bottom: 0px;
}

#footer_menu  ul {
margin-top: 4px;
margin-bottom: 0px;
}

#menu ul li, #footer_menu  ul li {
display: inline-flex;
}

#menu ul li a {
padding: 10px 12px 10px 12px;
font-size: 1em;
font-family: Helvetica, Arial, sans-serif;
color: #fff;
font-weight: bold;
text-decoration: none;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
background: #00AD4E;

}


#footer_menu  ul li a {
/*background-color: transparent;
background-repeat: repeat-x; */
padding: 8px 8px 10px 8px;
font-size: 1em;
font-weight: bolder;
font-family: Helvetica, Arial, sans-serif;
color: #fff;
text-decoration: none;
vertical-align: -8px;
border-radius: 10px;
}

#menu ul li a:hover, #menu ul li.current> a, #menu ul li a:active {
text-decoration: none;
color: #fff;
background: #063;
}

#footer_menu  ul li a:hover, #footer_menu ul li.current> a {
background: #063;
color: #FFF;
text-decoration: none;
}

#main {
width: 100%;
}

#container {
padding: 10px 10px 0px 10px;
margin: 0 auto;
display: flex;
font-family: arial;
}

#subnav {
clear: left;
float: left;
padding: 0;
}

.space10 {
margin-top: 10px;
padding-top: 10px;
}

#content {
margin: 0px 0px 0px 10px;
float: left;
padding: 0px 0px 0px 0px;
line-height: 1.6em;
color: #000;
font-size: 0.9em;
overflow: hidden;
}

#content p {
padding-bottom: 5px;
}

h1 {
margin-top: 0px;
color: #063;
letter-spacing: 0px;
font-family: 'trebuchet ms', 'century gothic', verdana, sans-serif;
line-height: 1.2em;
}

h2 {
margin-top: 0px;
color: #063;
letter-spacing: -1px;
font-family: 'trebuchet ms', 'century gothic', verdana, sans-serif;
}

h3 {
margin-top: 0;
margin-bottom: 10px;
color: #666;
letter-spacing: -1px;
font-size: 1.3em; font-weight: 400;
font-family: 'trebuchet ms', 'century gothic', verdana, sans-serif;
}

#oblojka {
float: left;
margin: 12px;
border: none;
}

#autors {
font-size: 1.3em;
}

.autoblock {
height: 2em;
overflow: hidden;
font-size: 0.9em;
}

.nameblock {
max-height: 5.4em;
overflow: hidden;
}

.right {
float: right;
margin: 0 0 8px 12px;
padding: 4px;
background-color: #FFF;
border: 1px solid #CCC;
}

#footer {
color: #00CE5C;
font-size: 0.8em;
background-color: #444;
font-family: Helvetica,Arial,sans-serif;
}

#extras {
clear: right;
float: right;
width: 160px;
padding: 0;
color: #666;
}

#extras p {
line-height: 1.5em;
margin: 0 0 0.5em 0;
font-size: 0.9em;
}

#box1 {
background: #fff url('boxbg.jpg') repeat-x top;
border: 1px solid #ccc;
width: 30%;  
float: left; 
margin: 0 2px; text-align: left;
padding: 1px; 
}

#box2 { 
background: #fff url('boxbg.jpg') repeat-x top;
border: 1px solid #ccc;
margin: 0 auto;
width: 30%;  text-align: left; 
padding: 1px;
}

#box3 { 
background: #fff url('boxbg.jpg') repeat-x top;
border: 1px solid #ccc;
width: 30%; 
float: right; 
margin: 0 2px; text-align: left;
padding: 1px;
}


#box1 h2, #box2 h2, #box3 h2 {
margin-left: 4px;
}

.center {
text-align:center;
display:block;
margin-top: 15px;
}

.box {
margin: 0 4px 10px 4px;
line-height: 1.3em;
font-size: 0.8em;
border: 0;
}

#templatemo_footer_wrapper {
	background: #008d40;
	text-align: left;
}

#templatemo_footer_wrapper h4 {
	width: 80%;
    padding-left: 30px;
	padding-top: 20px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
}

#templatemo_footer_wrapper ul li a {
	color: #FFF;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 14px;
	font-weight: 400;
	padding: 2px;
}

#templatemo_footer ul {

}

#templatemo_footer ul li a:hover, #templatemo_footer ul li.current> a {

}

#templatemo_footer {
    width: 80%;
    padding-left: 30px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
}

.col { 
	float: left; 
	margin: 0 30px 30px 0; 
}

.one_fourth { 
	width: 25%; 
}

@media only screen and (max-width: 768px) { .one_fourth { width:100%; } }
@media only screen and (max-width: 768px) { #templatemo_footer { flex-direction: column; } }

#templatemo_footer

.no_margin_right { 
	margin-right: 0; 
}

.no_bullet { 
	margin: 0; 
	padding: 0; 
	list-style: none; 
}

.no_bullet li { 
	margin: 0 0 20px 0; 
	padding: 0; 
}

.clear { clear: both; display: block; }

#w2b-StoTop {
-moz-border-radius: 5px;
-webkit-border-radius: 5px;border-radius: 5px; width:100px;background-color: #EEEEEE;
background-color: rgba(238, 238, 238, 0.6);
text-align:center;
padding:5px;
position:fixed;
bottom:10px;
right:10px;
cursor:pointer;
color:#444;
text-decoration:none;
font-family:  Helvetica, Arial, sans-serif;
border:1px solid #C9C9C9;
}

/* menu */

.topnav {
	padding: 10px 28px 25px 0;
	font-family:  Helvetica, Arial, sans-serif;
	text-decoration: none;
/*	text-shadow: 0 1px 0 #fff; */
	background-color:#00AD4E;
	/* -webkit-border-radius: 4px;
	-moz-border-radius: 4px; */
	border-radius: 10px;
}

ul.topnav {
	padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
	flex-wrap: wrap;

}

ul.topnav li {
list-style-type: none;
}

ul.topnav li a {
	line-height: 16px;
	padding: 10px 10px;
	color: #fff;
	display: block;
	text-decoration: none;
	font-size: 18px;
	font-weight: bolder;
	border-radius: 10px;
}

ul.topnav > li:first-child>a {
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	border-top: 0;
}

ul.topnav > li:last-child>a {
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	border-bottom: 0;
}

/* The hover state of the menu/submenu links */
ul.topnav > li a:hover, ul.topnav > li:hover>a, ul.topnav li.current> a, ul.topnav li.active> a {
	color: #fff !important;
	background: #063;
	border-color: transparent !important;
}

ul.topnav ul {
	margin: 0;
    padding: 0;
}

ul.topnav ul li {
	margin: 0;
	padding: 0;
	clear: both;
}

ul.topnav li.podrazdel a {
	padding-left: 10px;
	font-size: 13px;
        font-weight: bolder;
	outline:0;
}

ul.topnav li.podrazdel a:hover, ul.topnav li.current> a {
	color: #FFF;
	/* text-shadow: 0 1px 0 rgba(0, 0, 0, .25); */
}

ul.topnav ul li a {
	font-weight: normal;
	color:#FFF;
	padding-left: 10px;
}

ul.topnav ul li a:hover {
	color: #FFF;
	/* text-shadow: 0 1px 0 rgba(0, 0, 0, .25);*/
}

ul.topnav span{
	float:right;
}

.look {
background-color:#00AD4E;
-moz-border-radius:10px;
-webkit-border-radius:10px;
border-radius:10px;
padding: 5px 10px 5px 10px;
color:#FFF;
font-family:arial;
font-weight:bold;
text-decoration:none;
width: 95%;
margin-bottom: 40px;
}

ul.pages {
	text-align: center;
}

ul.pages li {
display:inline-block;
}

ul.pages li a {
	padding: 0 7px 0 7px;
	color:#063;
	font-family:arial;
	font-size:16px;
	font-weight:bold;
	text-decoration:none;
}

ul.pages li a:hover, ul.pages li.current> a {
padding: 5px 7px 5px 7px;
color: #063;
text-decoration: underline;
}

a.categ {
cursor: pointer;
font-size: 16px !important;
letter-spacing: -1px;
}

/* form */
.searchform {
padding: 8px 10px 0 10px;
width: 95%;
margin-bottom: 20px;
text-align: center;
height: 42px;
}

div.searchform form {
display: block;
}

div.searchform form input[type="text"] {
font-size: 1.2em;
}

.rowsearch {
font-size: 1.2em;
}

span.highlight {
color: #5566ff;
}

/* login */

.loginForm {
width: 160px;
}

.loginFormInVxod {
width: 95%;
}

.loginForm input[type="text"] {
width: 125px;
}

.loginForm input[type="password"] {
width: 125px;
}

.loginFormInVxod input[type="text"] {
font-size: 1.2em;
width: 250px;
}

.loginFormInVxod input[type="password"] {
font-size: 1.2em;
width: 250px;
}

.loginLoginFieldset {
-webkit-border-radius: 4px !important;
-moz-border-radius: 4px !important;
border-radius: 4px !important;
}

/* Related */

.related0 a, .related1 a, .related2 a, .related3 a, .related4 a {
font-weight: bold;
}

span.related {
font-weight: bold;
color: #063;
}

.related-resources li {
font-size: 1.2em;
margin-top: 1em;
}

/* tagcloud */

ul.tagcloud {
width:760px;
margin-bottom:20px;
overflow:hidden;
border-top:1px solid #ccc;
}

li.tl-tag{
line-height:1.5em;
border-bottom:1px solid #ccc;
float:left;
display:inline;
width:33.333%; 
}

#counters {
margin: 10px 35px;
}

img {
border: 0;
}

/* social */
#share42 {display: inline-block; padding: 6px 0 0 6px; background: #FFF; border: 1px solid #E9E9E9; border-radius: 4px;}
#share42:hover {background: #F6F6F6; border: 1px solid #D4D4D4; box-shadow: 0 0 5px #DDD;}
#share42 a {opacity: 0.5}
#share42:hover a {opacity: 0.7}
#share42 a:hover {opacity: 1}

#share42 a {position:relative;}
#share42 a span {display:none;position:absolute;z-index:10;top:0;left:100%;height:19px;margin-left:5px;padding:0 5px;background:#FFF;border-radius:4px;border:1px solid#AAA;box-shadow:0 0 5px rgba(0,0,0,0.25);text-align:center;color:#666;font:12px/20px Arial,sans-serif;}
#share42 a:hover span {display:block;}
#share42 a span:before {content:'';position:absolute;top:50%;left:-5px;margin-top:-3px;width:5px;height:7px;}

.gruppa {
padding: 5px;
border: solid 3px #ccffcc;
}
.more {
cursor: pointer;
color: #063;
}

.formset input[type="text"], #content textarea, #shopOrderForm input[type="text"]  {
width: 299px;
padding: 5px;
margin: 3px 0;
}

.formset form label {
    float: left;
    width: 150px;
    text-align: right;
    padding: 0px 20px 0px 0px;
}

.alphabet {
text-align: center;
font-size: 1.1em;
margin-bottom: 30px;
}

.tegi .tagcloud .tl-tag {
    line-height:normal;
}
.tegi .tagcloud .tl-tag a {
    color:#777777;
    padding:2px;
    background-color:#F9F9F9;
    text-decoration:none;
}
.tegi .tagcloud .tl-tag a:hover {
    background:#CFC;
    color:#000000;
}
.tegi .tagcloud .tl-tag-weight5 {font-size:1.3em;}
.tegi .tagcloud .tl-tag-weight4 {font-size:1.2em;}
.tegi .tagcloud .tl-tag-weight3 {font-size:1.1em;}
.tegi .tagcloud .tl-tag-weight2 {font-size:1.0em;}
.tegi .tagcloud .tl-tag-weight1 {font-size:0.9em;}

.tegi ul.tagcloud {
    margin-bottom: 20px;
    width: 159px;
    padding-left: 0px;
    overflow: hidden;
    border: 0;
}

.tegi .tagcloud li.current a {
 background:#CFC;
 color: #f00;
}

.tegi li.tl-tag {
    width: auto;
    display: block;
    float: left;
    border: 0;
}


#___gcse_0 {
margin-inline: auto;
width: 70%;
}
