/* 

CUSTOM STYLESHEET
---------------------

Instructions:

Add your custom styles here instead of style.css so it 
is easier to update the theme. Simply copy an existing 
style from style.css to this file, and modify it to 
your liking.

*/
.footer_social {
	border: none;
	width:auto;
}
.footer_social a, .contact-social a {
	margin-right: 5px;
}
.footer_social a {
	float: right;
}
.entry.contenting ul li {
	list-style-type: square;
	margin:0;
}
.entry.contenting ol {
	margin-left:25px;
}
.contenting table {
	width: 100%;
}
.contenting table td {
	padding: 5px;
	border: 1px solid #cecece;
}
.prevo {
	margin:25px 10px;
}
.prevo a {
	display: inline-block;
	border-bottom: 1px dotted;	
	margin-bottom: 5px;
}
input.required, textarea.required {
	border:2px solid red;
}
input.hide-input {
	display: none;
}
a.service-link {
	text-transform: none !important;
	font-weight: normal !important;
	border-bottom: 1px dotted;
    display: inline-block;
    float: left;
    margin-bottom: 10px;
    transition-timing-function: linear;
    transition-duration: 0.2s;
}
a.service-link:hover {
	border-color:transparent;
}
.entry a img:hover {
	opacity: 0.8
}
.service-item {
	padding:10px;
	border:1px solid #EBEBEB;
}
.service-category-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -8px;
    align-items: stretch;
}
.service-grid-item {
    flex: 0 0 calc(33.333% - 16px);
    max-width: calc(33.333% - 16px);
    margin: 0 8px 16px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    min-height: 360px;
    background: #fff;
}
.service-grid-item .service-thumb {
    display: block;
    margin-bottom: 10px;
}
.service-grid-item .service-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin: 0;
}
.service-grid-item .service-title {
    margin: 0 0 8px;
    min-height: 42px;
    line-height: 1.3;
}
.service-grid-item .service-title a {
    display: block;
}
.service-grid-item .service-desc {
    margin: 0;
    flex-grow: 1;
}
.service-grid-item .service-desc p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.service-grid-item .post-meta {
    margin-top: 8px;
}
@media all and (max-width: 980px) {
    .service-grid-item {
        flex: 0 0 calc(50% - 16px);
        max-width: calc(50% - 16px);
    }
}
@media all and (max-width: 640px) {
    .service-grid-item {
        flex: 0 0 calc(100% - 16px);
        max-width: calc(100% - 16px);
        min-height: 0;
    }
}
.intro-service  {
	max-width: 30%;
	display: inline-block;
	vertical-align: top;
	text-align: center;
	margin:0 1.5% 3% 1.5%;
	background: #EBEBEB;
}
.intro-service img.frame_left {
	width: 100%;
	margin-top: 0;
}
#calc label,
#calc input,
#calc .doc_ls {
  display: none;
}
#calc {
	padding: 20px;
	background: #EBEBEB;
	margin:25px 0;
}
#calc h3 {
	margin:0 0 15px 0;
	padding: 0;
}
#calc select {
	height:30px;
	min-width:250px;
	margin-bottom: 15px;
}
#calc input#people {
	width:315px;
	margin-bottom: 15px;
}
#calc_result {
	font-size: 18px;
	font-weight: bold;
	color: #D7002E;
	margin-top: 15px;
}
.side-news a:hover {
	color:#EA617D;
}
.side-news a img:hover {
	opacity: 0.8;
}
.side-news span {
	display: inline-block;
	margin-top: 5px;
	font-style: italic;
}
.side-article {
	margin-bottom: 20px;
}
.side-news.side-article span {
	display: inline;
}
.jcarousel-skin-tango .jcarousel-item {
	width: 148px;
	height: auto;
}
.full_width .jcarousel-skin-tango .jcarousel-clip-horizontal {
	height: auto;
	max-height: 300px;
}
.jcarousel-skin-tango .jcarousel-next-horizontal, .jcarousel-skin-tango .jcarousel-prev-horizontal {
	top:60px;
}
.home-news {
	max-width: 30%;
	display: inline-block;
	vertical-align: top;
	margin:0 1.5% 3% 1.5%;
}
.home-news span {
	font-size: 12px;
	font-style: italic;
	font-weight: bold;
}
.home-news p {
	margin: 0;
}

.postlist article {
	margin:0;
	padding: 30px;
}
a.qlink {
	float: right;
}
.slideshow.slideQuotes .slides_container .quote-text {
	font-size: 14px;
}
.post-detail .entry h2 {
	margin:0;
}
.header_container {
	position: relative;
}
.head-phone {
	position: absolute;
	right: 65px;
	top:-25px;

}
.head-phone p {
	font-size: 22px;
	font-weight: bold;
	color: #D7002E;
		padding:10px 0;
}
@media all and (max-width: 767px) {
	.logo {
		margin-top: 20px;
	}
}

/* Главная: новости / полезное — превью и дата */
.home-news-excerpt {
	overflow: hidden;
	zoom: 1;
}
.home-news-excerpt .frame_left {
	margin-right: 12px;
	margin-bottom: 6px;
}
.home-news-date {
	font-size: 12px;
	font-style: italic;
	font-weight: bold;
}
.home-article-excerpt {
	margin: 0 0 12px;
	line-height: 1.5;
	color: #555;
}

/* Отзывы: Prev / Next не слипаются */
.slideshow.slideQuotes > a.prev,
.slideshow.slideQuotes > a.next {
	display: inline-block;
	margin-top: 10px;
	margin-right: 16px;
	vertical-align: middle;
}
.slideshow.slideQuotes > a.next {
	margin-right: 0;
}

/* Narrower sidebar in two-column layouts */
#middle.cols2 .sidebar {
    width: 200px !important;
    margin-left: 30px !important;
}
#middle.cols2 .content {
    width: 640px !important;
}
#middle.cols2.sidebar_left .sidebar {
    margin-left: 0 !important;
    margin-right: 30px !important;
}