/*Classes without one-letter prefixes are global*/
/*
_ = свойства данного элемента (формируется как одно слово #block_wide)
- = дочерние элементы
*/

/*Global classes*/
.wrapper {
	position: relative;
	margin: 0 auto;
	width: 960px;
    padding: 0 20px;
}
.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

/*Columns*/
.col{
    display: inline-block;
    vertical-align: top;
}
.col_last {
    margin-right: -10px !important;
}

/*Buttons*/
.btn {
    position: relative;
    display: inline-block;
    text-align: center;
	vertical-align: top;
    font-size: 115%;
	line-height: 1;
    color: #fff;
	font-weight: 500;
    padding: 14px 24px;
	border: 0 none;
	text-decoration: none !important;
	cursor: pointer;
    transition: all 0.16s ease-out;
    -webkit-transition: all 0.12s ease-out;
    -moz-transition: all 0.12s ease-out;
    background: #6cc560;
    border-bottom: 1px solid #61b156;
	box-sizing: content-box;
	-moz-box-sizing: content-box;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
    border-radius: 3px;
}
.btn:active{
    top: 2px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.3);
}
.btn:hover{
    background: #73d466;
    border-bottom: 1px solid #67be5c;
    color: #fff;
}
.btn_pink{
	background: #e20457;
    border-bottom: 1px solid #b40345;
}
.btn_pink:hover{
    background: #ff0462;
    border-bottom: 1px solid #bd0348;
}
.btn_link{
	background: transparent;
	color: #2e2d3c;
	cursor: pointer;
	text-decoration: underline;
	padding: 0;
}
.btn_grey{
    background: #ccc;
    color: #444;
    border-bottom: 1px solid #aaa;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.35);
}
.btn_grey:hover{
    background: #bbb;
    color: #fff;
    border-bottom: 1px solid #aaa;
}

/*Icons*/
.ico{
	display: inline-block;
	vertical-align: middle;
	width: 16px;
	height: 16px;
	border: 0 none;
	text-decoration: none;
	background-image: url(../images/ico.png);
	background-repeat: no-repeat;
	background-position: 0 0;
	background-color: transparent;
}

/*Pagination*/
.pagination{
	border-top: 1px solid #bbb;
	margin: 22px 0 0;
	padding: 33px 20px 20px;
	font-size: 13px;
	color: #D80000;
	text-align: center;
}
.pagination a{
	color: #D80000;
	text-decoration: none;
}

/*Fancybox*/
.fancybox-bg{
	display: none;
}
#fancybox-wrap {
	padding: 0;
}
#fancybox-outer{
	box-shadow: 0 0 1px rgba(0, 0, 0, 0.35) !important;
	border: 1px solid #ccc !important;
}
#fancybox-outer #fancybox-close {
	background: none;
	cursor: pointer;
	width: 80px;
	height: 20px;
	right: 20px;
	top: 15px;
	text-align: right;
}
#fancybox-outer #fancybox-close:after{
	content: "закрыть";
	text-decoration: underline;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	color: #D90000;
	font-size: 13px;
}

/*Jcheckbox*/
.jchbx, .jchbx-block{
    display: inline-block;
    vertical-align: top;
}
.jchbx input[type="checkbox"]{
    display: none;
}
.jchbx-block{
    width: 10px;
    height: 10px;
    border: 1px solid #ccc;
    transition: all 0.16s ease-out;
    -webkit-transition: all 0.12s ease-out;
    -moz-transition: all 0.12s ease-out;
}
.jchbx input[type="checkbox"]:checked + .jchbx-block{
    background: url(../images/jchbx-tick.png) no-repeat center center;
    border-color: #666;
}

/*Colors*/
.color_lilac{
    color: #af2467;
}
.color_red{
	color: #D80452;
}
.color_green{
	color: #004600;
}
.color_grey{
	color: #aaa;
}


/*Forms*/
.form-row{
    position: relative;
    padding: 6px 0;
}
.form-row-submits{
    position: relative;
    padding: 26px 0 0;
}
.form-label{
	width: 20%;
    padding: 6px 14px 4px 0;
	vertical-align: middle;
	text-align: right;
}
.form-data{
    position: relative;
	width: 70%;
	vertical-align: middle;
}
.form-data [type="text"]:focus, .form-data textarea:focus {
	border-color: #777;
}
.form-row-submits .btn{
	width: auto !important;
	margin: 0 10px 0 0;
}
.form-col{
	padding: 0 20px 0 0;
}
.form-note{
	margin: 0 0 0 20%;
	font-style: italic;
	font-size: 90%;
	padding: 0 0 12px 16px;
}
.js-datepicker{
	width: 80px;
}


/*Fancybox*/
.fancybox-body{
    min-height: 0;
    height: auto;
    width: auto;
	overflow: hidden !important;
}


/*Tables*/
.table{
    width: 100%;
}
.table th, .table td{
    padding: 6px 20px 6px 0;
    border-bottom: 1px dotted #ccc;
}
.table tr:last-child th, .table tr:last-child td{
	border: 0 none;
}
.table th{
    font-weight: 300;
    color: #777;
}

/*Pagination*/
.pager {
	padding: 20px 0 0;
	font-size: 32px;
}
.pager a, .pager b {
	margin: 0 10px 0 0;
}



/*Service classes*/
.hidden{
	display: none !important;
}
.plink{
	text-decoration: none;
	border-bottom: 1px dotted !important;
}
.right{
	float: right;
}
.fleft {
	float: left;
}
.small{
	font-size: 11px;
}


