/*  
Theme Name: Агенство недвижимости
Theme URI:
Description: Тема для san48.ru
Version: 1.0
Author: Stanislav 'StilSam' Babaev
Author URI: stilsam.ru
*/

@charset "utf-8";
/* CSS Document */

* {
	padding:0;
	margin:0;
}

body {
	background: url(images/bgd.png);}

.main {
	background: #fff;
	width: 1068px;
	padding: 0 10px;
	margin:0 auto;
	font-family: Arial, Helvetica, sans-serif;
	}

.header {
	text-align:right;
	}
	.header img{
		margin: 10px auto 0 auto}

.menu {
	min-width: 500px;
	max-width: 1068px;
	}
	
	.menu ul{
		background: #8b8195; /* Для старых браузров */
		background: -moz-linear-gradient(to bottom, #dbd8de, #8b8195);
		background: -webkit-linear-gradient(to bottom, #dbd8de, #8b8195);
		background: -o-linear-gradient(to bottom, #dbd8de, #8b8195);
		background: linear-gradient(to bottom, #dbd8de, #8b8195);
		display: table-row;
		
		}
		.menu ul li{
			display: table-cell;
			width:auto;
			text-align:center;
			vertical-align:bottom;

			}
		.menu ul li a{
			color:#333;
			font: bold 16px Arial;
			line-height: 15px;
			display: table-cell;
			text-decoration: none;
			height: 40px;
			width: 1060px;
			vertical-align: middle;
			/*height: auto;*/
			}

		.menu ul li a:hover{
			color:#333;
			font: bold 16px Arial;
			line-height: 15px;
			display: table-cell;
			text-decoration: none;
			background: -moz-linear-gradient(to top, #dbd8de, #8b8195);
			background: -webkit-linear-gradient(to top, #dbd8de, #8b8195);
			background: -o-linear-gradient(to top, #dbd8de, #8b8195);
			background: linear-gradient(to top, #dbd8de, #8b8195);
			}



.middle {
	overflow: hidden;}
	
	.middle .content .post-main a,
	.nav a{
		text-decoration: none;
	}
	
	.middle .content .post-main a:hover,
	.nav a:hover{
		text-decoration: underline;
	}


.sidebar-left {
	width: 220px;
	float:left;}

.sidebar-right {
	width: 220px;
	float: right;}
.widget-red{
	border: 0px;
	background-color:#F00;
	border-radius: 10px;
	margin: 10px 0;
	padding: 15px 10px;
	text-align: center;}
	
	.compact-text p{
		line-height: 110% !important;}
	
	.widget-red p,
	.widget-red li{	
		font:bold 13pt Arial, Helvetica, sans-serif;
		color: #FF6;
		line-height: 150%;}
		
	.widget-red ul{
		list-style: none;}
	
	.widget-red ul li{
		height:25px;
		display: block;
		padding: 5px 0;}
		
	.widget-red ul li a{
		/*text-decoration: none;*/
		font:bold 13pt Arial, Helvetica, sans-serif;
		color: #ff6;
		line-height: 150%;}
		
	.widget-red ul li:hover{
		text-decoration: none;
		font:bold 13pt Arial, Helvetica, sans-serif;
		background: #CCC;}

	.widget-red ul li a:hover{
		text-decoration: none;
		font:bold 13pt Arial, Helvetica, sans-serif;
		color: #333;
		line-height: 150%;}
	
	/*Форма захвата*/
	.form-input, .wpcf7-form-control {
		background: #FF6;
		height: 25px;
		margin:5px;
		border-radius: 5px;
		font: 11pt Arial, Helvetica, sans-serif;
		color: #999;
		text-align: center;}


	.btn-send, .wpcf7-submit {
		margin: 7px;
		width: 162px;
		height: 36px;
		vertical-align: middle;
		border: 0;
		border-radius: 12px;
		margin-left: 13px;
		background: url(images/btn.png);
	}

	.btn-send:hover, .wpcf7-submit:hover {
		margin: 7px;
		width: 162px;
		height: 36px;
		vertical-align: middle;
		border: 0;
		border-radius: 12px;
		margin-left: 12px;
		background: url(images/btn-clk.png);
		cursor: pointer;}

	.wpcf7-not-valid-tip{
		font: #fff;
	}


.content {
		margin: 10px auto;
		width: 600px;
		border-radius: 10px;
		/*text-align: center;*/
		overflow:hidden;
		line-height: 1.5em;
	}
	
	.content p{
		text-align: justify;
		/*margin-top: 0.5em;*/
	}

		.content p span{
			font-weight: 700;
			color:#834F99;
		}

		.content h2{
			font: bold 1.3em;
			color:#834F99;
			margin: 10px 0;

		}

		.content  h2{

		}


	.content h3{
		font: bold;
		text-align: center;
	}
		.content h3 a{
			font: bold;
			text-align: center;
			text-decoration: none;
		}

		.content h3 a:hover{
			font: bold;
			text-align: center;
			text-decoration: underline;
		}

	.content img{		
		border-radius: 5px;}

	.content .center-widget{
		padding: 10px;
		margin: 10px 0 0 0;
		border-radius: 10px;
		background: #CCC;}

	.content .center-widget p{
		text-align: justify;
		font: 12pt Arial, Helvetica, sans-serif;
		color: #000;
		margin-bottom: 1.3em;}

	.post-main{
		margin-top: 5px;
		overflow: hidden;
		}

		.post-main img{
			float: left;
			margin: 0 10px 10px 0;
		}

		.post-main .nazv{
			height: 1.5em;

		}

		.post-main h3{
			display: block;
			text-align: left;
		}

		.content p{
			text-indent: 40px;
			margin-bottom: 10px;
		}

		.content .post-main p{
			text-indent: 0;
			/*margin-bottom: 10px;*/
		}
	
.footer {
		background: #a5a1a9; /* Для старых браузров */
		background: -moz-linear-gradient(to bottom, #a5a1a9, #fff);
		background: -webkit-linear-gradient(to bottom, #a5a1a9, #fff);
		background: -o-linear-gradient(to bottom, #a5a1a9, #fff);
		background: linear-gradient(to bottom, #a5a1a9, #fff);
		height:200px;
		text-align: center;}
		
	.footer img{
		margin-top: 0;}

.end{}
	
/* Images */
.alignleft {
	float: left;
	margin-right: 5px;
	margin-bottom: 5px;
}
.alignright {
	float: right;
	margin-left: 10px;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.entry-content img,
.comment-content img,
.widget img,
img.header-image,
.author-avatar img,
img.wp-post-image {
	/* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */
	border-radius: 3px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.wp-caption {
	max-width: 100%; /* Keep wide captions from overflowing their container. */
	padding: 4px;
}
.wp-caption .wp-caption-text,
.gallery-caption,
.entry-caption {
	font-style: italic;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 2;
	color: #757575;
}
img.wp-smiley,
.rsswidget img {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.entry-content dl.gallery-item {
	margin: 0;
}
.gallery-item a,
.gallery-caption {
	width: 90%;
}
.gallery-item a {
	display: block;
}
.gallery-caption a {
	display: inline;
}
.gallery-columns-1 .gallery-item a {
	max-width: 100%;
	width: auto;
}
.gallery .gallery-icon img {
	height: auto;
	max-width: 90%;
	padding: 5%;
}
.gallery-columns-1 .gallery-icon img {
	padding: 3%;
}

/* /images */

/*
.page-id-5 h2 {
	display: none;
	color: white;
}*/
/*.sidebar-left .widgettitle{
	display: none;
}*/

/*.search-main{
	padding: 10px;
}*/


input.search-btn{
	height:25px;
	margin-left: -25px;
	margin-top: -2px;
	position: absolute;
	-webkit-appearance: none;
	
	/*overflow: hidden;*/
	/*margin-left: -20px;
	margin-bottom: -6px; 	
*/
}

.search-txt{
	display: inline;
	background: #FF6;
	height: 25px;
	padding-right: 22px !important;
	margin: -3px;
	/*margin: 5px;*/
	border-radius: 5px;
	font: 11pt Arial, Helvetica, sans-serif;
	color: #999;
	text-align: center;
	-webkit-appearance: none;
}

/*
.widget-red .li .search-form .screen-reader-text{
	display: none;
}*/

.widget-red li{
	list-style: none;
}

.widget-red .nav_menu-6 .menu{
	display: inline;
}
/*не работате то что свекрху*/


.wpcf7{
	/*background-color: #28166F;*/ /*фиолетовый*/
	/*background-color: #E77817; /*орнжевый*/*/
    /*border: 1px solid #000;*/
    border-radius: 5px;
    width: 
    /*margin: 10px;*/
    /*padding: 0px 10px !important;*/
    /*padding: 5px 20px;*/
}

.wpcf7-textarea{
	min-height: 40px !important;
	max-height: 200px !important;
	max-width: 95% !important;
}

.wpcf7 p{
	text-align: center;
	margin-top: 0;

}
	
	.wpcf7 p span{
		text-align: center;
	}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea{
    /*background-color: #ccc;*/
	color: #000;
    text-align: center;
}

.wpcf7-response-output{
	color: #28166F;
	margin-top: 0.5em !important;
	background: #F7E700;
	font-weight: normal;
	font-style: italic;
}
.wpcf7 .wpcf7-not-valid-tip{
	font-weight: normal;
	font-style: italic;
	color: #000;
}

/*форма заявки online*/

.cf7ol .wpcf7 input[type="text"],
.cf7ol .wpcf7 input[type="email"],
.cf7ol .wpcf7 input[type="tel"],
.cf7ol .wpcf7 input[type="date"],
.cf7ol .wpcf7 select,
.cf7ol .wpcf7 textarea{
    background-color: #ccc;
	color: #000;
    text-align: left;
}

	.cf7ol .wpcf7 .wpcf7-not-valid-tip{
		display: block;
		background-color: red; 
	}
	.cf7ol p,
	.cf7ol .wpcf7-form span{
		text-align: left;
	}
	
	/*как таблица*/
	/*.cf7ol span.wpcf7-list-item { display: table-row; }
	.cf7ol span.wpcf7-list-item * { display: table-cell; }*/
	
	/*как блок*/
	.cf7ol span.wpcf7-list-item { display: block; }