#catalog_plans {font-family: 'Open Sans','PT Sans',Arial;color:#343434;}
#catalog_plans #errors {min-width:775px;width:100%;max-width:1050px;text-align:center;margin:0 auto;}
#catalog_plans #catalog_plans_filters {padding:10px 0;min-width:775px;width:100%;max-width:1050px;margin:0 auto;background-color: #fafafa;margin-bottom:6px;padding:10px;}
#catalog_plans #catalog_plans_filters .catpl_filter{font:14px/30px 'Open Sans','PT Sans',Arial;font-weight:bold;}
label[for=terr], label[for=garag]{float:left;margin-right: 10px;}
#catalog_plans #catalog_plans_filters{font:16px/30px 'Open Sans','PT Sans',Arial;}
#catalog_plans #catalog_plans_filters input {width:40px;height:30px;border:1px solid #ccc;font:14px/30px 'Open Sans','PT Sans',Arial;text-align:center;}

#catalog_plans #catalog_plans_filters #code {width:100px;}

#catalog_plans #loading {margin:20px 0;}

#catalog_plans #catalog_plans_filters #floor1,#catalog_plans #catalog_plans_filters #floor2 {width:24px;}

#catalog_plans #catalog_plans_filters .line{
    width: 100%;
    height: 1px;
    background: #eee;
    margin: 12px 0;
}

#catalog_plans .noprojects {
    border: 1px solid #F8B67C;
    padding: 17px 0;
    margin-top: 20px;
    background-color: rgba(248, 182, 124,0.05);
}

#catalog_plans #catalog_plans_filters input[type="checkbox"] {
  vertical-align: top;
  margin: 0 3px 0 0;
  width: 16px;
  height: 16px;
}
/* Это для всех браузеров, кроме совсем старых, которые не поддерживают
селекторы с плюсом. Показываем, что label кликабелен. */
#catalog_plans #catalog_plans_filters input[type="checkbox"]  + label {
  font:14px/30px 'Open Sans','PT Sans',Arial;font-weight:bold;
  cursor:pointer;
}

/* Далее идет оформление чекбокса в современных браузерах, а также IE9 и выше.
Благодаря тому, что старые браузеры не поддерживают селекторы :not и :checked,
в них все нижеследующие стили не сработают. */

/* Прячем оригинальный чекбокс. */
#catalog_plans #catalog_plans_filters input[type="checkbox"]:not(checked) {
  position: absolute;
  opacity: 0;
}
#catalog_plans #catalog_plans_filters input[type="checkbox"]:not(checked) + label {
  position: relative; /* будем позиционировать псевдочекбокс относительно label */
  padding: 0 0 0 46px; /* оставляем слева от label место под псевдочекбокс */
}
/* Оформление первой части чекбокса в выключенном состоянии (фон). */
#catalog_plans #catalog_plans_filters input[type="checkbox"]:not(checked) + label:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 20px;
  border-radius: 13px;
  background: #f8b67c;
  box-shadow: inset 0 2px 3px rgba(0,0,0,.2);
}
/* Оформление второй части чекбокса в выключенном состоянии (переключатель). */
#catalog_plans #catalog_plans_filters input[type="checkbox"]:not(checked) + label:after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height:16px;
  border-radius: 10px;
  background: #FFF;
  box-shadow: 0 2px 5px rgba(0,0,0,.3);
  transition: all .2s; /* анимация, чтобы чекбокс переключался плавно */
}
/* Меняем фон чекбокса, когда он включен. */
#catalog_plans #catalog_plans_filters input[type="checkbox"]:checked + label:before {
  background: #06a7ea;
}
/* Сдвигаем переключатель чекбокса, когда он включен. */
#catalog_plans #catalog_plans_filters input[type="checkbox"]:checked + label:after {
  left: 14px;
}
/* Показываем получение фокуса. */
#catalog_plans #catalog_plans_filters input[type="checkbox"]:focus + label:before {
  /*box-shadow: 0 0 0 3px rgba(248,180,124,.5);*/
}


#catalog_plans #catalog_plans_filters select{padding:0 6px 0 10px;height:30px;border:1px solid #ccc;font:14px/30px 'Open Sans','PT Sans',Arial;text-align:center;}


#catalog_plans #catalog_plans_filters .catpl_m2 {color:#999;font:16px/30px 'Open Sans','PT Sans',Arial;}
#catalog_plans #catalog_plans_filters #catpl_submit {margin-left:15px;height:31px;font:16px/27px 'Open Sans','PT Sans',Arial;
background-color: #06a7ea;border:none;color:#fff;width:178px;cursor:pointer;}
#catalog_plans #catalog_plans_filters #catpl_submit:hover {background-color: #0584b8;-webkit-transition: background-color .2s ease-in;
    -moz-transition: background-color .2s ease-in;
    -o-transition: background-color .2s ease-in;
    transition: background-color .2s ease-in;}

#catalog_plans_container {min-width:775px;max-width:1050px;margin:0 auto;}
#catalog_plans_container:after  {content:'';display:block;clear: both;}
 
#catalog_plans_container .catpl_item {cursor:pointer;}

#catalog_plans_container .catpl_item:hover .catpl_image {opacity:0.9;}
#catalog_plans_container .catpl_item:hover .for_item_catalog {background-color:#06a7ea;}

#catalog_plans_container .catpl_tab_im {width:97%;height:97%;margin:0 2% 0 1%;}

#catalog_plans_container .catpl_table_cont1,#catalog_plans_container .catpl_table_cont2 {width:50%;float:left;margin-top:15px;}

#catalog_plans_container .catpl_imgas {border:1px solid #ccc;width:47%;height:47%;margin:1% 1%;}

#catalog_plans_container .catpl_table_cont2 {margin-left:2%;width:38%;}

#catalog_plans_container .catpl_button {width:100%;height:60px;background-color: #06a7ea;-webkit-transition: background-color .2s ease-in;
    -moz-transition: background-color .2s ease-in;
    -o-transition: background-color .2s ease-in;
    transition: background-color .2s ease-in;color:#fff;text-align:center;font:18px/60px 'Open Sans','PT Sans',Arial;cursor:pointer;margin-bottom:10px;}

#catalog_plans_container .catpl_button:hover{background-color: #0584b8;}

#catalog_plans_container .catpl_table_cont1 {width:57%;margin-left:1%;}

#catalog_plans #back_loading {
    float: left;
    display: inline-block;
    margin: 24px 0 0 33px;
}

#catalog_plans_container .catpl_table {width:100%;border-collapse:collapse;}
#catalog_plans_container .catpl_table  td {border:1px solid #ccc;padding:5px 10px;font:15px/18px 'Open Sans','PT Sans',Arial;}
#catalog_plans_container .catpl_table  tr td:nth-child(even) {text-align:left;}
#catalog_plans_container .catpl_table  tr td:nth-child(odd) {text-align:center;font-weight:bold;}

#catalog_plans_container .catpl_desc{font:14px/18px 'Open Sans','PT Sans',Arial;}

#catalog_plans_container .catpl_thp{margin-right:2%;float:right; font:bold 35px/35px 'Open Sans','PT Sans',Arial;    margin-top: 20px;}

#catalog_plans_container .catpl_back {width:120px;height:32px;background-color: #06a7ea;color:#fff;text-align:center;font:16px/32px 'Open Sans','PT Sans',Arial;cursor:pointer;margin-left:1%;margin-top: 20px;float: left;    margin-bottom: 20px;}
#catalog_plans_container .catpl_back:hover {background-color: #0584b8;    -webkit-transition: background-color .2s ease-in;
    -moz-transition: background-color .2s ease-in;
    -o-transition: background-color .2s ease-in;
    transition: background-color .2s ease-in;}

#catpl_load_more {width:250px;height:50px;background-color: #06a7ea;color:#fff;text-align:center;font:18px/50px 'Open Sans','PT Sans',Arial;margin:10px auto;cursor:pointer;}

#catpl_load_more:hover {background-color: #0584b8;    -webkit-transition: background-color .2s ease-in;
    -moz-transition: background-color .2s ease-in;
    -o-transition: background-color .2s ease-in;
    transition: background-color .2s ease-in;}

#catalog_plans .for_item_catalog {width:33%;max-width:350px;min-width:250px;float:left; transition: background-color 0.5s ease;}
#catalog_plans .for_item_catalog .catpl_content {margin:15px;}

#catalog_plans .for_item_catalog .catpl_content .catpl_image {background-size:cover; background-repeat:no-repeat; background-position:center center;
outline: 0; height:210px;}

@media only screen and (max-width: 1050px) {
#catalog_plans .for_item_catalog .content .catpl_image {height:150px;}
}

#catalog_plans .for_item_catalog .catpl_content .catpl_text {margin-top:5px; border-bottom: 3px solid #06a7ea;}
#catalog_plans .for_item_catalog .catpl_content .catpl_text .catpl_n1 {float:left;width:25%;color:#ffffff;background: #06a7ea;text-align:center;font:16px/32px 'Open Sans','PT Sans',Arial;}
#catalog_plans .for_item_catalog .catpl_content .catpl_text .catpl_n2 {float:left;width:35%;color:#000;background: #ffffff;text-align:center;font:16px/32px  'Open Sans','PT Sans',Arial;}
#catalog_plans .for_item_catalog .catpl_content .catpl_text .catpl_n3 {float:left;width:40%;color: #ffffff;background: #e72222;text-align:center;font:16px/32px  'Open Sans','PT Sans',Arial;}
#catalog_plans .catpl_clear {clear:both;}
#catalog_plans .for_item_catalog .catpl_content .catpl_text:after {content:'';display:block;clear: both;}

#catalog_plans_container   .catpl_bottom{width:100%;height:10px;display:block;clear: both;}

#catalog_plans #slider0 {
    width: 214px;
    margin: 0px 15px 4px 20px;
    display: inline-block;
}

#catalog_plans #slider1 {
    width: 112px;
    margin: 0px 15px 4px 20px;
    display: inline-block;
}
#catalog_plans #slider2 {
    width: 112px;
    margin: 0px 15px 4px 20px;
    display: inline-block;
}

#catalog_plans #slider3 {
    width: 112px;
    margin: 0px 15px 4px 20px;
    display: inline-block;
}


#catalog_plans #sorting {width:220px;}

/*! jQuery UI - v1.11.4 - 2015-08-04
* http://jqueryui.com
* Includes: core.css, slider.css
* Copyright 2015 jQuery Foundation and other contributors; Licensed MIT */

/* Layout helpers
----------------------------------*/
 .ui-helper-hidden { display: none; } .ui-helper-hidden-accessible { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; } .ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } .ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; border-collapse: collapse; } .ui-helper-clearfix:after { clear: both; } .ui-helper-clearfix { min-height: 0; /* support: IE7 */ } .ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); /* support: IE8 */ }  .ui-front { z-index: 100; }   /* Interaction Cues ----------------------------------*/ .ui-state-disabled { cursor: default !important; }   /* Icons ----------------------------------*/  /* states and images */ .ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }   /* Misc visuals ----------------------------------*/  /* Overlays */ .ui-widget-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; } .ui-slider { position: relative; text-align: left; } .ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; -ms-touch-action: none; touch-action: none; } .ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }  /* support: IE8 - See #6727 */ .ui-slider.ui-state-disabled .ui-slider-handle, .ui-slider.ui-state-disabled .ui-slider-range { filter: inherit; }  .ui-slider-horizontal { height: .8em; } .ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; } .ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; } .ui-slider-horizontal .ui-slider-range-min { left: 0; } .ui-slider-horizontal .ui-slider-range-max { right: 0; }  .ui-slider-vertical { width: .8em; height: 100px; } .ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; } .ui-slider-vertical .ui-slider-range { left: 0; width: 100%; } .ui-slider-vertical .ui-slider-range-min { bottom: 0; } .ui-slider-vertical .ui-slider-range-max { top: 0; }

/*-------------FLAT----------------------*/

.flat-slider.ui-corner-all,
.flat-slider .ui-corner-all {
  border-radius: 0;
}

.flat-slider.ui-slider {
  border: 0;
  background: #ccc;
  border-radius: 0px;
}

.flat-slider.ui-slider-horizontal {
  height: 4px;
}

.flat-slider.ui-slider-vertical {
  height: 15em;
  width: 4px;
}

.flat-slider .ui-slider-handle {
  width: 16px;
  height: 16px;
  background: #06a7ea;
  border-radius: 100%;
  border: none;
  cursor: pointer;
}

.flat-slider.ui-slider-horizontal .ui-slider-handle {
  top: 50%;
  margin-top: -8px;
}

.flat-slider.ui-slider-vertical .ui-slider-handle {
  left: 50%;
  margin-left: -8px;
}

.flat-slider .ui-slider-handle:hover {
  opacity: .8;
}

.flat-slider .ui-slider-range {
  border: 0;
  border-radius: 0;
  background: #f8b67c;
}

.flat-slider.ui-slider-horizontal .ui-slider-range {
  top: 0;
  height: 4px;
}

.flat-slider.ui-slider-vertical .ui-slider-range {
  left: 0;
  width: 4px;
} 
  
  
  
  
  /**
 * Featherlight – ultra slim jQuery lightbox
 * Version 1.3.1 - http://noelboss.github.io/featherlight/
 *
 * Copyright 2015, Noël Raoul Bossart (http://www.noelboss.com)
 * MIT Licensed.
**/
@media all {
	.featherlight {
		display: none;

		/* dimensions: spanning the background from edge to edge */
		position:fixed;
		top: 0; right: 0; bottom: 0; left: 0;
		z-index: 2147483647; /* z-index needs to be >= elements on the site. */

		/* position: centering content */
		text-align: center;

		/* insures that the ::before pseudo element doesn't force wrap with fixed width content; */
		white-space: nowrap;

		/* styling */
		cursor: pointer;
		background: #333;
		/* IE8 "hack" for nested featherlights */
		background: rgba(0, 0, 0, 0);
	}

	/* support for nested featherlights. Does not work in IE8 (use JS to fix) */
	.featherlight:last-of-type {
		background: rgba(0, 0, 0, 0.8);
	}

	.featherlight:before {
		/* position: trick to center content vertically */
		content: '';
		display: inline-block;
		height: 100%;
		vertical-align: middle;
		margin-right: -0.25em;
	}

	.featherlight .featherlight-content {
		/* make content container for positioned elements (close button) */
		position: relative;

		/* position: centering vertical and horizontal */
		text-align: left;
		vertical-align: middle;
		display: inline-block;

		/* dimensions: cut off images */
		overflow: auto;
		padding: 25px 25px 0;
		border-bottom: 25px solid transparent;

		/* dimensions: handling small or empty content */
		min-width:  30%;
        max-width:700px;
        width:700px;
		/* dimensions: handling large content */
		margin-left: 5%;
		margin-right: 5%;
		max-height: 95%;

		/* styling */
		background: #fff;
		cursor: auto;

		/* reset white-space wrapping */
		white-space: normal;
	}

	/* contains the content */
	.featherlight .featherlight-inner {
		/* make sure its visible */
		display: block;
	}

	.featherlight .featherlight-close-icon {
		/* position: centering vertical and horizontal */
		position: absolute;
		z-index: 9999;
		top: 3px;
		right: 3px;

		/* dimensions: 25px x 25px */
		line-height: 25px;
		width: 25px;

		/* styling */
		cursor: pointer;
		text-align: center;
		font: Arial, sans-serif;
		background: #fff; /* Set the background in case it overlaps the content */
		background: rgba(255, 255, 255, 0.3);
		color: #000;
	}


	.featherlight .featherlight-image {
		/* styling */
		width: 100%;
	}


	.featherlight-iframe .featherlight-content {
		/* removed the border for image croping since iframe is edge to edge */
		border-bottom: 0;
		padding: 0;
	}

	.featherlight iframe {
		/* styling */
		border: none;
	}
}

/* handling phones and small screens */
@media only screen and (max-width: 1024px) {
	.featherlight .featherlight-content {
		/* dimensions: maximize lightbox with for small screens */
		margin-left: 10px;
		margin-right: 10px;
		max-height: 98%;

		padding: 10px 10px 0;
		border-bottom: 10px solid transparent;
	}
}

#catalog_plans .lightbox { display: none; }
