﻿/*
Theme Name: СДД
Theme URI: http://sdd ufa.ru/
Description:  Современные деревянные дома
Author: INTRIGA - creative group
Author URI: http://intriga.me/
Version: 1.0
License: GNU General Public License
License URI: license.txt
*/
@charset "utf-8";
/* CSS Document */

html, body {
	margin:0;
	padding:0;
	font-family:"Arial";
	background:#f7e9c2;
	color:#5c282a;
}
h1, h2, h3, h4, h5, h6 {
	margin:0;
	padding:0;
	font-family:"Arial";
}

#container {
	width:908px;
	margin:0 auto;
}
#header {
	margin-top:10px;
}
#header .logo {
	float:left;
}
#header #contact {
	float:right;
	width:250px;
	text-align:right;
	font-weight:bold;
	font-size:14px;
}
#header #contact h1.phone {
	color:#5c282a;
	font-family:"Arial";
	font-size:27px;
}
#header #desc {
	width:500px;
	margin-top:-57px;
	margin-left:20px;
	float:left;
}
#header .spr {
	float:right;
	margin-top:10px;
}
#header #menu {
	float:right;
	margin-right:10px;
}
#header #menu a {
	color:#5c282a;
	font-size:20px;
	font-weight:bold;
	display:block;
	float:left;
	margin:0 9px;
	text-decoration:none;
}
#content {
	float:left;
	width:908px;
}


#content  a {
	color:#000;
}

#content #sliderst {
	width:636px;
	float:right;
}
#content #sidebar {
width:200px;
float:left;
color:#5c282a;
}
#content #text {
	float:right;
	width:698px;
	color:#5c282a;
}
#content #text a {
	color:#273e5b;
	text-decoration:underline;
}
input .calcleft {float:left; width: 50px;}
.wp_calculate_description {float:left; width: 300px;}
#sidebar li {list-style:none;margin:0;padding:0;}
h2 .widgettitle {font-size:14px;}
#sidebar li ul li a{margin-left:-25px;padding:0;color:#000;text-decoration:none;}
.call {width:50px;height:200px;display:block; background:url(http://intriga.me/sdd/wp-content/uploads/2012/07/call_n.png);}
.call:hover {background:url(http://intriga.me/sdd/wp-content/uploads/2012/07/call_h.png);}









/* Базовые стили страницы  */
body { 
     background: #474747 url(imges/bg3.jpg);font: 18px Helvetica, Arial, Sans-Serif;
}
h1 a {
display: block; text-decoration: none;
font: 72px Helvetica, Arial, Sans-Serif; letter-spacing: -5px;  
text-align: center;
color: #999; text-shadow: 0px 3px 8px #2a2a2a;
}
h1 a:hover {
color: #a0a0a0; text-shadow: 0px 5px 8px #2a2a2a;
}
h2 {
font: 28px Tahoma, Helvetica, Arial, Sans-Serif;
text-align: center;
color: #222; text-shadow: 0px 2px 3px #555;
}
#wrap {
width: 960px;
margin: 0px auto 0px;
padding: 0px;
}
/* Базовые стили модального окна  */
.overlay {
    background-color: rgba(0, 0, 0, 0.7);
    bottom: 0;
    cursor: default;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    visibility: hidden;
    z-index: 1;
    -webkit-transition: opacity .5s;
    -moz-transition: opacity .5s;
    -ms-transition: opacity .5s;
    -o-transition: opacity .5s;
    transition: opacity .5s;
}
.overlay:target {
    visibility: visible;
    opacity: 1;
}
.popup img{
	display: inline;
	border: none;
	padding: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	background: #ffffff;	
}
.popup {
    background-color: #fff;
    border: 3px solid #fff;
    display: inline-block;
    left: 50%;
    opacity: 0;
    padding: 15px;
    position: fixed;
    text-align: justify;
	font: 14px Helvetica, Arial, Sans-Serif;
    top: 40%;
    visibility: hidden;
    z-index: 10;
	
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);

    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;

    -webkit-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    -moz-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    -ms-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    -o-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;

    -webkit-transition: opacity .5s, top .5s;
    -moz-transition: opacity .5s, top .5s;
    -ms-transition: opacity .5s, top .5s;
    -o-transition: opacity .5s, top .5s;
    transition: opacity .5s, top .5s;
}
.overlay:target+.popup {
    top: 50%;
    opacity: 1;
    visibility: visible;
}
.close {
    background-color: rgba(0, 0, 0, 0.8);
    height: 30px;
    line-height: 30px;
    position: absolute;
    right: 0;
    text-align: center;
    text-decoration: none;
    top: -15px;
    width: 30px;

    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    border-radius: 15px;
}
.close:before {
    color: rgba(255, 255, 255, 0.9);
    content: "X";
    font-size: 24px;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
}
.close:hover {
    background-color: rgba(64, 128, 128, 0.8);
}
.popup p, .popup div {
    margin-bottom: 10px;
}

.links {

clear:both; font-size:12px; font-color:#5C282A; padding-top:40px;
}

a.links:link {
font-color:#000;
text-decoration:underline;
font-size:12px;


}

a.links:active {
font-color:#000;
text-decoration:underline;
font-size:12px;


}

a.links:hover {
font-color:#000000;
text-decoration:underline;
font-size:12px;


}