*{
    margin:0;
    padding:0;
}
body{
    background-color:#fff;
    font-family: Georgia, serif;
    font-size: 20px;
    font-style: italic;
    font-weight: normal;
    letter-spacing: normal;
    line-height: 1.4em;
    background:transparent url(../images/paperbg.jpg) repeat bottom center;
}
#contact{
    background:transparent url(../images/formbg.png) no-repeat bottom center;
    width:680px;
    height:540px;
    margin:20px auto 0px auto;
}
#contact h1{
    color:#e73c00;
    text-shadow:2px 1px 2px #f9f9f9;
    margin-left:10px;
}
#contact form{
    width:680px;
    height:460px;
    margin:0px auto;
    padding:40px 0px 0px 0px;
    clear:both;
}
#contact p{
    width:100%;
    float:left;
    clear:both;
    position:relative;
    padding:5px 0px;
}
#contact label{
    float:left;
    width:210px;
    text-align:right;
    margin:10px 0px 5px 0px;
    padding-right:10px;
    text-shadow:1px 1px 1px #f0f0f0;
    line-height:20px;
}
#contact input[type="text"],
#contact textarea{
    float:left;
    margin:5px 0px 5px 0px;
    font-family: Georgia, serif;
    font-size: 16px;
    font-style: italic;
    font-weight: normal;
    letter-spacing: normal;
    padding:4px 4px 6px 4px;
    width:398px;
    border:1px solid #ddd;
    font-weight:bold;
    color:#e73c00;;
    text-shadow:-1px 1px 1px #aaa;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border-radius:5px;
    -moz-box-shadow:1px 1px 3px #000;
    -webkit-box-shadow:1px 1px 3px #000;
    box-shadow:1px 1px 3px #000;
}
#contact textarea{
    overflow-x:hidden;
}
#contact input[type="text"]:focus,
#contact textarea:focus{
    -moz-box-shadow:0px 0px 8px #e73c00;
    -webkit-box-shadow:0px 0px 8px #e73c00;
    box-shadow:0px 0px 8px #e73c00;
}
#contact input[type="button"]{
    background:transparent url(../images/submit.png) no-repeat bottom center;
    width:177px;
    height:83px;
    cursor:pointer;
    color:#e73c00;
    float:right;
    border:none;
    font-family: Georgia, serif;
    font-weight:bold;
    font-size:26px;
    padding-left:15px;
    cursor:pointer;
    margin:5px -10px 0px 0px;
    text-shadow:1px 1px 1px #000;   
}
#contact input[type="button"]:hover{
    color:#fff;
}
#contact p.submit{
    height:40px;
}
#contact label span{
    font-size:11px;
    line-height:20px;
    float:right;
    margin-left:3px;
    font-weight:bold;
    color:#f0f0f0;
    text-shadow:1px 0px 1px #000;
}
.error{
    background:transparent url(../images/errormsg.png) no-repeat top left;
    width:203px;
    height:50px;
    position:absolute;
    top:-15px;
    right:-153px;
    font-size:11px;
    color:#fff;
}
.error span{
    margin-left:25px;
    line-height:40px;
    text-shadow:1px 1px 1px #555;
}
.loader{
    background:transparent url(../images/ajax-loader.gif) no-repeat top left;
    width:31px;
    height:31px;
    float:right;
    margin-top:35px;

}
.success{
    height:31px;
	float:right;
	margin:35px 10px 0px 0px;
}
.envelope img{
    position:fixed;
    top:50%;
    left:50%;
    margin-top:-88px;
    margin-left:-123px;
}

/* Стили адаптивного аккордеона */
.wrapper{
	width:90%;
	max-width:800px;
	margin:30px auto;
}
.st-accordion{
    width:100%;
    min-width:270px;
    margin: 0 auto;
}
.st-accordion ul li{
    height: 100px;
    border-bottom: 1px solid #c7deef;
    border-top:1px solid #fff;
    overflow: hidden;
}
.st-accordion ul li:first-child{
    border-top:none;
}
.st-accordion ul li > a{
    font-family: 'Josefin Slab',Georgia, serif;
    text-shadow: 1px 1px 1px #fff;
    font-size: 26px;
    display: block;
	position: relative;
    line-height: 50px;
	outline:none;
    -webkit-transition:  color 0.2s ease-in-out;
	-moz-transition:  color 0.2s ease-in-out;
	-o-transition:  color 0.2s ease-in-out;
	-ms-transition:  color 0.2s ease-in-out;
	transition:  color 0.2s ease-in-out;
}
.st-accordion ul li > a span{
	background: transparent url(../images/down.png) no-repeat center center;
	text-indent:-9000px;
	width: 26px;
	height: 14px;
	position: absolute;
	top: 50%;
	right: -26px;
	margin-top: -7px;
	opacity:0;
	-webkit-transition:  all 0.2s ease-in-out;
	-moz-transition:  all 0.2s ease-in-out;
	-o-transition:  all 0.2s ease-in-out;
	-ms-transition:  all 0.2s ease-in-out;
	transition:  all 0.2s ease-in-out;
}
.st-accordion ul li > a:hover{
    color: #F05D67;
}
.st-accordion ul li > a:hover span{
	opacity:1;
	right: 10px;
}
.st-accordion ul li.st-open > a{
    color: #F05D67;
}
.st-accordion ul li.st-open > a span{
	-webkit-transform:rotate(180deg);
	-moz-transform:rotate(180deg);
    transform:rotate(180deg);
	right:10px;
	opacity:1;
}
.st-content{
    padding: 5px 0px 30px 0px;
}
.st-content p{
    font-size:  16px;
    font-family:  Georgia, serif;
    font-style: italic;
    line-height:  28px;
    padding: 0px 4px 15px 4px; 
}
.st-content img{
    width:125px;
    border-right:1px solid #fff;
    border-bottom:1px solid #fff;
}
@media screen and (max-width: 320px){
	.st-accordion ul li > a{
		font-size:36px;
	}
}