@import url(https://fonts.googleapis.com/css?family=PT+Sans:400,700italic,700,400italic&subset=latin,cyrillic-ext);

body {
  font-family: 'PT Sans',Helvetica,sans-serif;
  font-size: 15px;
  margin: 0;
  padding: 0;
  background-color: #EEEEEE;
  background-image: url('/bg.png');
}

table, td { padding: 0; margin: 0; }

#conteiner {
  margin: 0 auto;
  max-width: 640px; background-color: #ffffff; border-left: 1px solid #DEDEDE; border-right: 1px solid #DEDEDE; }

#shapka {
  padding: 0px 10px 20px 10px;
/*border-bottom: 1px dotted #37a078;*/
}

.button { float: right; margin: 5px 0px 10px 10px; }

#share { font-size: 11px; margin-top: 10px; }

#disqus_thread { margin-top: 30px; }

#shapka #logo { line-height: 110%; }

#shapka h3 { color: #5e6758; margin: 0; padding: 0; font-size: 11px; font-weight: normal; text-transform: uppercase; }

#content { padding: 25px 0px 0px 0px; line-height: 135%; }
#content .metro { background:url("metro.png") no-repeat scroll left 1px transparent; padding-left: 20px; }
#content p { text-align:justify; padding: 0px 0px 20px 0px; margin: 0; }
#content h1 { color: #37a078; margin: 0px 0px 10px 0px; padding: 0; font-size: 26px; text-transform: uppercase; }
#content h2 { margin: 0px 0px 10px 0px; padding: 0; font-size: 20px; text-transform: uppercase; color: #37A078; }

#footer { border-top: 1px dotted #999999; padding-top: 10px; margin-top: 10px; font-size: 11px; color: #999999; line-height: 120%; }
#footer a { color: #999999; }


#menu {
  padding: 0px 0px 0px 0px;
  list-style-type:none;
  margin-left: 20px;
  }

@media(max-width: 320px) {
  #menu { margin-left: 5px; }
}

@media(min-width: 320px) {
  #menu li { padding: 3px 0px; }
}
  

#menu ul {
  
  }
#menu li {
  text-align: center;
  float:left;
  width:130px;
  display: inline;
  }
#menu li img {
  margin-bottom: 5px;
  }
#menu a {
  display:block;
  width:100%;
  color:#1111CC;
  text-align:center; 
  padding:0px 0;
  font-size: 14px;
  float:left; 
  }
#menu a:hover {
  color:#CC1111; 
  }








.trans {
		opacity:0.3;
		filter:alpha(opacity=30);
		-moz-opacity:0.3;
	}

#lastposts {
	margin-top: 25px;
	color: #999999;
}

#lastposts .title {
	color: #000000;
	font-size: 150%;
}

#lastposts .post {
	margin: 5px 0px 10px 0px;
	line-height: 130%;
}

#lastposts a {
	
}

#lastposts .postdetail {
	font-size: 85%;
	color: #999999;
}

#lastposts .postdetail a {
	color: #999999;
}

.sdvadp {
  width: 320px;
  height: 100px;
}
@media(min-width: 500px) { .sdvadp { width: 468px; height: 60px; } }
@media(min-width: 800px) { .sdvadp { width: 468px; height: 60px; } }
@media(min-width: 1000px) { .sdvadp { width: 468px; height: 60px; } }










.toggleMenu {
    display:  none;
    background: #666;
    padding: 10px 15px;
    color: #fff;
}
.nav {
    list-style: none;
     *zoom: 1;
     background:#175e4c;
}
.nav:before,
.nav:after {
    content: " "; 
    display: table; 
}
.nav:after {
    clear: both;
}
.nav ul {
    list-style: none;
    width: 9em;
}
.nav a {
    padding: 10px 15px;
    color:#fff;
}
.nav li {
    position: relative;
}
.nav > li {
    float: left;
    border-top: 1px solid #104336;
}
.nav > li > .parent {
    background-image: url("images/downArrow.png");
    background-repeat: no-repeat;
    background-position: right;
}
.nav > li > a {
    display: block;
}
.nav li  ul {
    position: absolute;
    left: -9999px;
}
.nav > li.hover > ul {
    left: 0;
}
.nav li li.hover ul {
    left: 100%;
    top: 0;
}
.nav li li a {
    display: block;
    background: #1d7a62;
    position: relative;
    z-index:100;
    border-top: 1px solid #175e4c;
}
.nav li li li a {
    background:#249578;
    z-index:200;
    border-top: 1px solid #1d7a62;
}

@media screen and (max-width: 768px) {
    .active {
        display: block;
    }
    .nav > li {
        float: none;
    }
    .nav > li > .parent {
        background-position: 95% 50%;
    }
    .nav li li .parent {
        background-image: url("images/downArrow.png");
        background-repeat: no-repeat;
        background-position: 95% 50%;
    }
    .nav ul {
        display: block;
        width: 100%;
    }
   .nav > li.hover > ul , .nav li li.hover ul {
        position: static;
    }

}


/*




.header__nav {
    position: absolute;
    top: 0;
    right: 34%;
    left: 225px;
    margin: 0 -20px;
    font-size: 14px
}

.header__nav li {
    display: inline-block;
    list-style: none;
    font: 19px/1 'PT Sans Narrow', sans-serif
}

.header__nav .current-menu-item {
    background: #fff
}

.header__nav a {
    display: block;
    box-sizing: border-box;
    padding: 0 23px 3px;
    transition: all .2s;
    line-height: 67px;
    color: #fff;
    text-decoration: none
}

.header__nav li:not(.current-menu-item) a:hover {
    background: #2980b9
}

.header__nav .current-menu-item a {
    color: #3498db
}




.header__nav-toggle {
    position: absolute;
    top: 23px;
    right: 30px;
    margin-right: 8px;
    border-radius: 5px;
    transition: all .3s;
    cursor: pointer
}

.header__nav-toggle span,
.header__nav-toggle span:after,
.header__nav-toggle span:before {
    content: '';
    position: relative;
    display: block;
    width: 34px;
    height: 4px;
    margin: 10px 0;
    border-radius: 2px;
    background: #ecf0f1
}

.header__nav-toggle span:after,
.header__nav-toggle span:before {
    position: absolute;
    top: 0;
    transition: all .2s ease-out
}

.header__nav-toggle span:after {
    top: auto;
    bottom: 0
}

@media screen and (max-width:949px) {
    .header__nav,
    .search-form {
        display: none;
        -webkit-animation-name: fadeIn;
        animation-name: fadeIn;
        -webkit-animation-duration: .4s;
        animation-duration: .4s;
        -webkit-animation-delay: .2s;
        animation-delay: .2s;
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both
    }
    .header__checkbox:checked~.header__nav,
    .header__checkbox:checked~.search-form {
        display: block
    }
    .header__nav {
        top: 70px;
        right: 0;
        left: 0;
        margin: 0;
        background: #2980b9
    }
    .header__nav li:not(.current-menu-item) a:hover {
        background: #3498db
    }

    .header__nav-toggle:before {
        content: '';
        position: absolute;
        top: -8px;
        left: -8px;
        width: 50px;
        height: 40px;
        border-radius: 5px;
        background: #2980b9;
        transition: all .3s ease-out;
        -webkit-transform: scale(1);
        transform: scale(1)
    }
    .header__checkbox:checked+.header__nav-toggle:before {
        background: #3498db;
        transition: all .3s ease-out;
        -webkit-transform: scale(100, 5.2);
        transform: scale(100, 5.2)
    }
    .header__checkbox:checked+.header__nav-toggle span {
        background: #3398db
    }
    .header__checkbox:checked+.header__nav-toggle span:before {
        top: -10px;
        transition: all .2s ease-out;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%
    }
    .header__checkbox:checked+.header__nav-toggle span:after {
        bottom: -10px;
        transition: all .2s ease-out;
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%
    }

}