/************************/
/* Global HTML elements */
/************************/
html,
body
{
	height: 100%;
}

/*************************/
/* Globally used classes */
/*************************/
.container
{
	margin: 0 auto;
}
.row .row
{
	margin: 0 -10px;
}
.col
{
	min-height: 1px;
	padding: 0 10px;
}

/********/
/* Logo */
/********/
#logo
{
}
#logo img
{
	height: auto;
	max-width: 100%;
	width: auto;
}

/***************/
/* Mobile menu */
/***************/
#mobile_nav
{
	background: #333;
	bottom: 0;
	font-size: 15px;
	line-height: 19px;
	position: fixed;
	right: 0;
	text-transform: uppercase;
	top: 0;
	width: 260px;
}
#mobile_nav ul
{
	margin: 0;
	padding: 0;
}
#mobile_nav li
{
	display: block;
}
#mobile_nav li a
{
	display: block;
	padding: 10px 20px;
}
#mobile_nav li a:hover,
#mobile_nav li.fw_active a
{
	background: #fff;
}
#menu_toggler
{
	float: right;
	margin: 31px 0;
	padding: 0 5px;
	width: 44px;
	zoom: 0.65;
}
#menu_toggler span
{
	background:  #0076b8;
	display: block;
	height: 8px;
	margin: 6px 0;
}

/* Mobile menu additional stylings */
#main
{
	background: #f5f5f5;
	left: 0;
	position: relative;
	transition: left 300ms linear;
	-webkit-transition: left 300ms linear;
	z-index: 10;
}
body.mobile_opened #main
{
	box-shadow: 2px 0 5px 2px rgba(0,140,189,0.15);
	left: -260px;
}
#wrapper
{
	height: 100%;
}
#main
{
	min-height: 100%;
}

/************************/
/* Slider & slider keys */
/************************/
#slider
{
}
#slider .royalSlider,
#slider .rsOverflow
{
	width: 100%;
}
#slider img.rsImg
{
	width: 100%;
}
#slider .item_link
{
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 10;
}
.fw_rs_title
{
	background: #fff;
	cursor: pointer;
	font-size: 14px;
	line-height: 20px;
	padding: 14px 0;
	text-align: center;
	text-transform: uppercase;
}
#slider .fw_rs_title
{
	border-bottom: 3px solid  #0076b8;
	color:  #0076b8;
	display: none;
}
.slider_keys
{
	border-bottom: 3px solid #dddddd;
}
.slider_keys .fw_rs_title
{
	background: #fff;
	display:block;
}

.slider_keys .col.active
{
	color:  #0076b8;
}
.slider_keys .col.active:after
{
	background:  #0076b8;
	bottom: -6px;
	content: '';
	height: 6px;
	left: 10px;
	position: absolute;
	right: 10px;
	z-index: 20;
}
#slider .fw_rs_text
{
	background-image: url('/img/bg/home_side.png');
	bottom: 0;
	display: none;
	position: absolute;
	right: 0;
	top: 0;
	width: 243px;
}
#slider .fw_rs_text ul
{
	padding: 2px 14px;
}
#slider .fw_rs_text a
{
	color:  #0076b8;
	font-size: 14px;
	line-height: 1.35em;
	text-transform: uppercase;
}

/***********/
/* Content */
/***********/
#content
{
	padding-top: 32px;
}
body.b #content
{
	padding-top: 0;
}
#text_img #content
{
	padding-top: 0;
}
.text_node img
{
	width: auto;
	height: auto;
	max-width: 100%;
}

.text_node ul,
.text_node ol,
.text_node table,
.text_node p
{
	margin-bottom: 1em;
}

.text_node *:last-child
{
	margin-bottom: 0;
}

.text_node table td
{
	padding: 3px 15px 3px 0;
}

/*****************/
/* FAQ accordion */
/*****************/
#faq
{
	padding: 16px 0 30px;
}
#faq h3
{
	color: #9f9f9f;
	cursor: pointer;
	font-size: 14px;
	line-height: 24px;
	margin-bottom: 0;
}
#faq h3:before
{
	content: '• ';
}
#faq h3 span
{
	text-decoration: underline;
}
#faq .ui-accordion-content
{
	margin: 0;
}
#faq .ui-accordion-content p
{
	margin: 0;
}

/*********/
/* Forms */
/*********/
input[type="text"],
input[type="search"],
input[type="password"],
input[type="email"],
textarea
{
	background: #f5f5f5;
	border: 1px solid #dddddd;
	border-radius: 3px;
	box-sizing: border-box;
	display: block;
	font-size: 11px;
	height: 38px;
	line-height: 16px;
	outline: none;
	padding: 6px 15px 7px;
	-webkit-appearance: none;
	width: 100%;
}
textarea
{
	height: 100px;
	resize: none;
}
.fw_error input[type="text"],
.fw_error input[type="search"],
.fw_error input[type="password"],
.fw_error input[type="email"],
.fw_error textarea
{
	border: 1px solid #f13333;
}
select
{
	display: block;
	width: 100%;
}
.fw_form_wrapper
{
	margin: 0 -6px;
}
.fw_form_row
{
	box-sizing: border-box;
	margin: 0 0 12px;
	padding: 0 6px;
}
.fw_form_feedback
{
	margin-bottom: 1em;
	padding: 0 6px;
}
.fw_form_feedback_error
{
	color: #f13333;
	font-weight: 700;
}
a.fw_form_submit_link
{
	background:  #0076b8;
	border-radius: 3px;
	color: #fff;
	display: inline-block;
	font-size: 11px;
	line-height: 19px;
	padding: 11px 29px 10px;
}
.fw_form_wrapper .fw_form_sub_field, .fw_form_wrapper .fw_form_option_label
{
	display: inline-block;
	vertical-align: top;
}
.fw_form_wrapper .fw_form_option_label
{
	margin: 1px 0 0 3px;
}

/********/
/* Maps */
/********/
.fw_google_maps,
fw-component
{
	height: 200px;
	width: 100%;
}

/**********************/
/* Detail page slider */
/**********************/
#detail_slider img
{
	width: 100%;
}
#detail_slider .bx-controls-direction
{
	display: none;
}
#detail_slider ul
{
	margin: 0;
	padding: 0;
}
#detail_slider li
{
	display: block;
}
#detail_slider .bx-pager
{
	padding: 6px 0;
	text-align: right;
}
#detail_slider .bx-pager .bx-pager-item
{
	display: inline-block;
	height: 18px;
	margin-left: 4px;
	vertical-align: top;
	width: 18px;
}
#detail_slider .bx-pager .bx-pager-item:first-child
{
	margin-left: 0;
}
#detail_slider .bx-pager .bx-pager-item a
{
	border: 1px solid #bebebe;
	border-radius: 50%;
	box-sizing: border-box;
	display: block;
	height: 100%;
	position: relative;
	text-align: left;
	text-indent: -999em;
	width: 100%;
}
#detail_slider .bx-pager .bx-pager-item a:before
{
	background: #bebebe;
	border-radius: 50%;
	content: '';
	height: 12px;
	left: 50%;
	margin: -6px 0 0 -6px;
	position: absolute;
	top: 50%;
	width: 12px;
}
#detail_slider .bx-pager .bx-pager-item a:hover:before,
#detail_slider .bx-pager .bx-pager-item a.active:before
{
	background:  #0076b8;
}

/*****************/
/* Media queries */
/*****************/
@media(min-width: 768px)
{
	#menu_toggler
	{
		margin: 12px 0 11px;
		zoom: 1;
	}
	#slider .fw_rs_title
	{
		display: none;
	}
	.slider_keys
	{
		background: #fff;
	}
	.slider_keys .container
	{
		background: transparent;
	}
	.slider_keys .row .row
	{
		margin: 0;
	}
	.slider_keys .col .col
	{
		padding: 0;
	}
	.fw_rs_title
	{
		font-size: 16px;
		height: 48px;
		line-height: 20px;
		padding: 33px 20px;
	}
	#slider .fw_rs_text
	{
		display: block;
	}
	#slider
	{
		max-height: 400px;
		overflow: hidden;
	}
	.fw_google_maps,
	fw-component
	{
		height: 397px;
	}
	/* .slider_keys .col.active
	{
		padding-bottom: 30px;
	} */
	.slider_keys .col .row
	{
		border-left: 1px solid #ddd;
		border-right: 1px solid #ddd;
	}
	.slider_keys .col .col
	{
		border-left: 1px solid #ddd;
	}
	.slider_keys .col .col:first-child
	{
		border-left: 0;
	}
	.slider_keys .col.active:after
	{
		left: 0;
		right: 0;
	}
}
@media(min-width: 1024px)
{
	body.mobile_opened #main
	{
		box-shadow: none;
		left: 0;
	}
	#slider .fw_rs_text li
	{
		padding: 2px 0;
	}
	#faq .ui-accordion-content
	{
		margin-left: 58px;
	}
	.fw_form_row.half
	{
		float: left;
		width: 50%;
	}
	.fw_form_row.half.last:after
	{
		clear: both;
		content: '';
		display: block;
	}
}
@media(min-width: 1280px)
{
	#nav ul
	{
		font-size: 17px;
	}
	.fw_rs_title
	{
		font-size: 20px;
		line-height: 24px;
	}
	#slider .fw_rs_text li
	{
		padding: 4px 0;
	}
	#slider .fw_rs_text a
	{
		font-size: 16px;
		line-height: auto;
	}
}
@media(min-width: 768px) and (min-height: 768px)
{
	#slider
	{
		max-height: none;
	}
}

body.index [data-on-homepage="0"],
body.index [data-on-homepage="no"],
body.index [data-on-homepage="none"]
{
	display: none;
}