/* 
    Document   : style
    Created on : 28.05.2012, 18:14:43
    Author     : winBrain
    Description:
        Purpose of the stylesheet follows.
*/

/* 
   TODO customize this sample style
   Syntax recommendation http://www.w3.org/TR/REC-CSS2/
*/
@import url(http://fonts.googleapis.com/css?family=Bad+Script&subset=latin,cyrillic);
root { 
    display: block;
}

body {
	font-family: Verdana, Tahoma, sans-serif;
	margin: 0px;
	padding: 0px;
	color: #181d1f;
        background: #de252e;
        width: 100%;
        text-align: center;
        font-size: 14px;
}
header.main{
    background: url(img/gor-bg3.png) repeat-x;
    height: 189px;
	position: relative;
} 
header.main img{
    margin-top: 38px;
}
p{ 
 margin: 0.5em 0;   
}
a, a:visited{
	color: #de252e;
}
.menu a:visited{
color: #fff;
}
#wrap{
    background: url(img/derevo_fon1.jpg);
    height: 100%;
    margin: 0 10% 2em;
    min-width: 850px;
    border-bottom: 1px #777 solid;
    border-left: 1px #777 solid;
    border-right: 1px #777 solid;
        box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
#flag{
    background: url("img/flag4.png") no-repeat scroll 0 0 transparent;
  height: 220px;
    padding-right: 15px;
    padding-top: 15px;
    position: fixed;
    right: 10%;
	top: 0;
    width: 188px;
    *position: absolute;     
    *top: expression((document).body.scrollTop );
  }
  .admin-bar #flag{
  top: 32px;
  }
#flag p{
    color: #fff;
    font-size: 12px;   
    font-weight: 600;
	line-height: 1.3;
	padding: 0 10px;
}
#flag a{
    color: #fdf5f5;
    font-size: 0.75em;
}
.bl_bad{    
    
    font-size: 1.4em;
}
p.bl_bad{
    margin:30px 0 18px;
}
img.main_img{
    border: 13px #fff solid;
    height: 428px;
    width: 650px;
}
nav ul {
    margin: 40px auto;
    padding: 0;
    list-style: none;
}
nav ul li{
    line-height: 32px;
  
    background: #454c4f;
    display: inline-block;
    margin:0 1px;
	padding: 2px 10px;
    vertical-align: top;
    *zoom: 1;
    *display: inline;  
}
nav ul li a{
    color: #fff;
    font-size: 0.85em;
    text-decoration: none;
    display: block;
    height: 100%;
    width: 100%;
}
nav ul li a:hover,nav ul li:hover, nav ul .current-menu-item{
    background: #de252e;
    -webkit-transition: 500ms;
    -moz-transition: 500ms;
    transition: 500ms;    
}
section.item .attachment-thumbnail{
    width: 16.5em;
    height: 11.5em; 
    text-align: center;
}
section {
        background: #fff;
}
/*СТРАНИЦА*/
section#page{
    margin: 10px 5%;
    border: 1px solid #aaa;
    padding-bottom: 5%;
}
section#page h1{
    font-family: 'Bad Script', cursive;
    color: #de252e;
    margin: 1em auto;
    font-size: 2em;
}
section#page h2{    
    font-family: 'Bad Script', cursive;
    margin: 0.5em 0;
    font-size: 1.7em;
    font-weight: 400;
}
/*КОНЕЦ СТРАНИЦЫ*/


section.item{
    padding: 26px 19px;
    min-height: 300px;
	 height: 350px;
    width: 17em;
    display: inline-block;
    vertical-align: top;
    margin: 0 0 50px 25px; 
    text-align: right;
/*    border: 1px solid #AFAFAF;*/
}
section.item header{
    color: #de252e;
    font-size: 2.3em;
    line-height: 1em;
    margin: 0.5em 0 1em;
}
section.item em{
    color:#454c4f; 
    font-size: 1.2em;
    font-style: normal;
    margin-bottom: 0.85em;
    display: block;
}
section.item p i{
    color: #de252e;
    font-style: normal;
}
footer.main{
    margin: 2em 0;
    padding: 1em;
    font-size: 0.7em;
}
section.item header, .bl_bad, section.item em
{
    font-family: 'Bad Script', cursive;
}

#go-top {
    background: url("img/button1.png") no-repeat scroll center center transparent;
    border-radius: 15px 15px 15px 15px;
    bottom: 10px;
    height: 108px;
    left: 2%;
    margin: 0;
    position: fixed;
    width: 108px;
    box-shadow:0 0 10px rgba(1, 0, 0, 0.5);
    display: none;
}

#go-top a {
    height:60%;
    display: block;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    color: #fdf5f5;
     padding-top: 40%;
}
#go-top a:hover {
    color: #000;
}

/* изображение со стрелкой (тег span) */
#go-top span {

}
#go-top a:hover span {
    background-color: #777;
}
#abc{
    margin: 0 auto;
}

header.sin {
    font-family: 'Bad Script',cursive;

    color: #DE252E;
    font-size: 2.3em;
    line-height: 2.1em;
}
section.sin{
    border: 1px solid #EEEEEE;
    border-radius: 16px 16px 16px 16px;
    margin: 2% 10%;
    padding: 1em;
}
section.sin img{
	max-width:640px;
	height:auto;
	 border: 20px solid #EEEEEE;
}
#vslider_options{
	margin: 0 auto;
}

/*.event_agency {
    background: rgba(255, 255, 255, 0.5) none repeat scroll 0 0;
    border: 1px solid #fff;
    line-height: 1.4;
    margin: 0 40px 20px;
    padding: 20px 60px;url("img/prazdnik.png") 
}*/
.event_agency {
  background: rgba(255, 255, 255, 0.5) repeat scroll 0 0;
  line-height: 1.4;
  margin: 0 0 40px;
  padding:10px 60px;
}
/*.event_agency h2 {
  color: #222;
  font-family: "Bad Script";
  font-size: 28px;
  font-weight: 400;
}*/
.event_agency h2 {
  background: #fff none repeat scroll 0 0;
  color: red;
  font-family: "Bad Script";
  font-size: 28px;
  font-weight: 400;
  padding: 10px;
}
.event_agency > p {
  background: #fff none repeat scroll 0 0;
  margin: 0 0 0px;
  padding-bottom: 5px;
}
.event_agency_gallery a {
  background: #fff none repeat scroll 0 0;
  display: inline-block;

  padding: 8px 8px 0;
  text-align: left;
}
.event_agency em {
  display: block;
  margin: 10px 0 25px;
}
.header_addr {
  bottom: 20px;
  font-size: 11px;
  line-height: 1.3;
  position: absolute;
  right: 20px;
  text-align: right;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
}
@media (max-width: 960px) {
.admin-bar  #flag{
	top: 20px;
}
 #flag{
	 background: #de252e  none repeat scroll 0 0;
    height: 70px;
    margin-bottom: 40px;
    margin-top: -40px;
    padding-right: 0;
    padding-top: 0;
    position: relative;
	right: 0;
	top: 20px;
    width: 100%;
 }
 #wrap{
	margin: 0;
 }
}
@media (max-width: 1200px) {}