/**	New Detekt styles 03/2016 */



/** Instant Quote page columns */
.page-template-page-sales #header nav.navigation{display:none;}
article.salesfullwidth div#gform_wrapper_5 {
    display: block !important;
}

article.salesfullwidth div#gform_wrapper_5.gform_wrapper .three-column .gf_page_steps{position:relative; left:0;display: block;
margin-top: 70px;}
article.salesfullwidth div#gform_wrapper_5.gform_wrapper .three-column .gf_page_steps:before {
    content: "Instant Quote";
font: 22px "titillium-web", "Helvetica", "Arial", sans-serif;
    color: #666666;
    line-height: 1.1;
    margin-top: 0;
    margin-bottom: 18px;
margin-right:20px;
}
.page-template-page-sales #feature.with-image{background-color:#FFF;}
.page-id-751 article, article.salesfullwidth {
	width: 100%;
}
.page-id-751 aside {
	display: none;
}
/** GForm containers */

.gform_fields {
	margin: 0;
	padding: 0;
	list-style: none;
}
.gform_fields:after {
	content: '';
	display: table;
	clear: both;
}
.gfield {
	padding-bottom: 15px;
}
.gfield--first {
	clear: left;
}
.gfield--full, .gform_footer {
	clear: both;
	width: 100% !important;
}
/** Full-width with columns */

.gform_fields--contact, .gform_fields--project-details, .gform_fields--contact-detekt {
	margin-left: -30px;
	margin-bottom: -10px;
}
.gform_fields--contact .gfield, .gform_fields--project-details .gfield {
	float: left;
	width: 33.333%;
	padding-left: 30px;
}
.gform_fields--contact-detekt .gfield {
	float: left;
	width: 50%;
	padding-left: 30px;
	padding-left: 0px;
}
.gform_fields--contact-detekt .gfield.gfield--first {
	width: 48%;
	margin-right: 2%;
}
/** Columns */

.gform_columns {
	margin-left: -30px;
	margin-bottom: -25px;
}
.gform_columns:after {
	content: '';
	display: table;
	clear: both;
}
.gform_columns .gform_fields {
	float: left;
	width: 33.333%;
	padding-left: 30px;
}
/** Basic field styles */

.gfield > label {
	display: inline-block;
	margin-bottom: 2px;
}
.gfield input[type="text"], .gfield input[type="email"], .gfield textarea, .gfield select {
	display: block;
	width: 100%;
	height: 35px;
	padding: 10px;
	background: #ebebeb;
	border: 1px solid #ebebeb;
	border-radius: 0;
	font: 14px "titillium-web", "Helvetica", "Arial", sans-serif;
}
.gfield select {
	padding: 0;
}
.gfield textarea {
	height: auto;
}
/**	Error styles */

.gfield.gfield_error input, .gfield.gfield_error textarea, .gfield.gfield_error select {
	border-color: #e31f26;
}
/** Checklists */

.gform_fields--checklist .gfield--legend {
	padding-bottom: 0;
}
.gfield.checklist {
	padding-bottom: 0;
	margin-bottom: -5px;
}
.gfield_checkbox {
}
.gfield_checkbox label {
	display: inline-block;
	margin-bottom: 8px;
}
.gfield_checkbox input {
	margin: 0 4px 0 0;
}
/**	File upload */

.ginput_container_fileupload {
	display: table;
	width: 100%;
	height: 35px;
	background: #ebebeb;
}
.ginput_container_fileupload .fileinput {
	display: table-cell;
	vertical-align: middle;
	padding: 0 10px;
}
.ginput_container_fileupload #extensions_message, .ginput_container_fileupload .value {
	display: none;
}
/**	Titles */

.gfield.gfield--legend {
	width: 100% !important;
	clear: both;
}
.gfield legend {
	display: table;
	width: 100%;
}
.gfield legend .step {
	display: table-cell;
	vertical-align: middle;
	vertical-align: top;
}
.gfield legend .step strong {
	font: 20px "titillium-web", "Helvetica", "Arial", sans-serif;
	text-align: center;
	display: block;
	box-sizing: border-box;
	width: 40px;
	line-height: 40px;
	border-radius: 50%;
	background: #e31f26;
	color: #fff;
}
.gfield legend .title {
	display: table-cell;
	vertical-align: middle;
	padding-left: 10px;
	line-height: 1.8;
	line-height: 1.2;
}
.gfield legend .title strong {
	display: block;
	font: 18px "titillium-web", "Helvetica", "Arial", sans-serif;
	line-height: 1.2;
	color: #e31f26;
}
.gfield legend .title em {
	font-style: normal;
	font-weight: bold;
}
/** Dates */

.gfield--date-my .gfield_date_dropdown_day {
	display: none;
}
.gfield--date-my .gfield_date_dropdown_month {
	width: 60%;
}
.gfield--date-my .gfield_date_dropdown_year {
	float: right;
	width: 40%;
	padding-left: 15px;
	margin-top: -35px;
}
/** Captcha */

.gfield_captcha {
	float: right;
	width: auto;
	height: 35px;
}
.gfield_captcha_input_container {
	width: 50%;
}
/** Product category */

/*

.gform_fields--product-category li ul:after {

	content: '';

	display: table;

	clear: both;

}



.gform_fields--product-category li li {

	float: left;

	width: 95px;

	height: 90px;

	margin-right: 4px;

}

.gform_fields--product-category li li:nth-child(3n) {

	margin-right: 0;

}



.gform_fields--product-category li li input {

	position: absolute;

	opacity: 0;

}



.gform_fields--product-category li li label {

	display: block;

	height: 100%;

	overflow: hidden;

    text-indent: -999em;

	background-color: #fff;

	background-image: url(images/categories.png);

	background-repeat: no-repeat;

	background-size: auto 810px;

}

.gform_fields--product-category li li input:checked + label {

	background-color: #5dcbdc;

}



.gform_fields--product-category #choice_1_8_0 + label {

	background-position: 0 0;

}

.gform_fields--product-category #choice_1_8_0:checked + label {

	background-position: -90px 0;

}



.gform_fields--product-category #choice_1_8_1 + label {

	background-position: 0 -90px;

}

.gform_fields--product-category #choice_1_8_1:checked + label {

	background-position: -90px -90px;

}



.gform_fields--product-category #choice_1_8_2 + label {

	background-position: 0 -180px;

}

.gform_fields--product-category #choice_1_8_2:checked + label {

	background-position: -90px -180px;

}



.gform_fields--product-category #choice_1_8_3 + label {

	background-position: 0 -270px;

}

.gform_fields--product-category #choice_1_8_3:checked + label {

	background-position: -90px -270px;

}



.gform_fields--product-category #choice_1_8_4 + label {

	background-position: 0 -360px;

}

.gform_fields--product-category #choice_1_8_4:checked + label {

	background-position: -90px -360px;

}



.gform_fields--product-category #choice_1_8_5 + label {

	background-position: 0 -450px;

}

.gform_fields--product-category #choice_1_8_5:checked + label {

	background-position: -90px -450px;

}



.gform_fields--product-category #choice_1_8_6 + label {

	background-position: 0 -540px;

}

.gform_fields--product-category #choice_1_8_6:checked + label {

	background-position: -90px -540px;

}



.gform_fields--product-category #choice_1_8_7 + label {

	background-position: 0 -630px;

}

.gform_fields--product-category #choice_1_8_7:checked + label {

	background-position: -90px -630px;

}



.gform_fields--product-category #choice_1_8_8 + label {

	background-position: 0 -720px;

}

.gform_fields--product-category #choice_1_8_8:checked + label {

	background-position: -90px -720px;

}

*/





/**	Form extras */

.gform_button {
	font: 17px "titillium-web", "Helvetica", "Arial", sans-serif;
	color: #fff;
	background: #e31f26;
	line-height: 35px;
	border: 0;
	padding: 0 30px;
}
.gform_validation_container {
	overflow: hidden;
	width: 0;
	height: 0;
	padding: 0;
}
.gfield_required {
	color: #e31f26;
	margin-left: 2px;
}
.gform_wrapper .gfield_required {
	color: #e31f26 !important;
}
.gfield_description {
	margin-top: 10px;
}
.validation_error {
	margin-bottom: 10px;
}
.gfield_description.validation_message, .validation_error {
	color: #e31f26;
}
.gfield--nolabel > label {
	display: none;
}
.gfield .select .value {
	display: none;
}
hr {
	clear: both;
}
/** Footer newsletter subscription */

.footer-subscribe {
	position: relative;
}
.footer-subscribe .email input {
	background: #fff;
}
.footer-subscribe .gform_button {
	position: absolute;
	top: 1px;
	right: 1px;
	background-image: url('images/sprites.png');
	background-position: 1px -3808.5px;
	background-repeat: no-repeat;
	background-color: #fff;
	display: block;
	width: 33px;
	height: 33px;
	padding: 0;
	overflow: hidden;
	text-indent: -999px;
	border: 0;
	margin: 0;
	outline: none;
}
.gf_browser_chrome .footer-subscribe .gform_button, .gf_browser_safari .footer-subscribe .gform_button {
	top: 1px;
}
.footer-subscribe .gform_confirmation_message {
	color: #fff;
	margin-bottom: 2em;
}
.footer-subscribe .gform_hidden, .footer-subscribe .gfield_label, .footer-subscribe .validation_error, .footer-subscribe .validation_message {
	display: none;
}
#frm_form_5_container .value {
	display: none;
}
.page-id-806 #main #content article {
	width: 100%;
}
.page-id-806 #main #content aside {
	display: none;
}
.page-id-806 #main #content h3 img {
	display: inline;
	line-height: 20px;
	vertical-align: middle;
}
.page-id-806 #main #content h3 {
	font-size: 25px;
	font-size: 22px;
	font-family: "titillium-web", "Helvetica", "Arial", sans-serif;
	color: #666666;
	line-height: 1.1;
	margin-bottom: 14px;
	margin-top: 0;
	margin-bottom: 18px;
	margin-bottom: 38px;
}
.gform_wrapper.three-column_wrapper ul.gform_fields {
}
.gform_wrapper.three-column_wrapper ul.gform_fields.gform_column {
	display: block;
	float: left;
	width: 33.33%;
}
.gform_wrapper.three-column_wrapper ul.gform_column li.gsection:first-child {
	display: none;
}
.gform_wrapper.three-column_wrapper .gform_page_fields > :nth-child(3n+3) {
	padding-left: 20px !important;
}
.gform_wrapper.three-column_wrapper .gform_page_fields > :nth-child(4n+4) {
	padding-left: 35px !important;
}
.gform_wrapper .gsection {
	border: none !important;
}
body .gform_wrapper .three-column div.gform_body ul.gform_fields li.gfield.gfield_html ul li, body .gform_wrapper form.three-column div.gform_body ul.gform_fields li.gfield.gfield_html ul li {
	list-style-type: none !important;
}
.gform_wrapper .three-column .top_label .gfield_label {
	min-height: 0.8em;
	max-height: 0.8em;
	font-weight: normal !important;
	margin: .625em 0 .2em !important;
}
.gform_wrapper .three-column .gf_left_half, .gform_wrapper .three-column .gf_right_half {
	width: 33.3% !important;
}
.gform_wrapper .three-column .gfield.gf_right_half {
	margin-left: 7px !important;
}
.gform_wrapper .three-column .gsection {
	margin: 0px !important;
	padding: 0px !important;
}
.gform_wrapper .top_label.gform_column input.medium {
	width: 90% !important;
}
li#field_6_11 {
	margin-top: 25px !important;
}
.gform_wrapper .three-column .gform_page_footer {
	border-top: none;
}
.gform_wrapper .three-column .gf_page_steps {
	border-bottom: none;
	position: absolute;
	display: none;
	top: 6px;
	z-index: 99999;
	left: 150px;
}
.gform_wrapper .three-column .gf_page_steps.steps_visible {
	display: block;
}
.gform_wrapper .three-column .gfield {
	padding-bottom: 0px;
}
.gform_wrapper .three-column .gform_page_footer .button.gform_previous_button {
	margin-right: 10px !important;
}
body .gform_wrapper .three-column label.gfield_label + div.ginput_container {
}
#field_6_15 label.gfield_label, #field_6_9 label.gfield_label, #field_6_16 label.gfield_label {
	display: none;
}
.gform_wrapper .three-column .gf_left_half.para_column {
	width: 50% !important;
}
.gform_wrapper .gf_step span.gf_step_number {
	display: none !important;
}
.gform_wrapper .gf_step.gf_step_completed, .gform_wrapper .gf_step.gf_step_active, .gform_wrapper .gf_step.gf_step_pending {
	background: url(./images/active_tab.png) no-repeat;
	width: 164px !important;
	height: 24px !important;
	opacity: 1 !important;
	text-align: center;
	padding-top: 1px;
	color: #FFF;
	margin: 0 !important;
}
.gform_wrapper .gf_step.gf_step_pending {
	background: url(./images/inactive_tab.png) no-repeat;
}
.gform_wrapper .three-column .gfield_required {
	color: #E31F26;
}
/** Formidable Styling */

.frm_style_formidable-style.with_frm_style input[type="text"], .frm_style_formidable-style.with_frm_style input[type="password"], .frm_style_formidable-style.with_frm_style input[type="email"], .frm_style_formidable-style.with_frm_style input[type="number"], .frm_style_formidable-style.with_frm_style input[type="url"], .frm_style_formidable-style.with_frm_style input[type="tel"], .frm_style_formidable-style.with_frm_style input[type="phone"], .frm_style_formidable-style.with_frm_style input[type="search"], .frm_style_formidable-style.with_frm_style select, .frm_style_formidable-style.with_frm_style textarea, .frm_form_fields_style, .frm_style_formidable-style.with_frm_style .frm_scroll_box .frm_opt_container, .frm_form_fields_active_style, .frm_form_fields_error_style, .frm_style_formidable-style.with_frm_style .chosen-container-multi .chosen-choices, .frm_style_formidable-style.with_frm_style .chosen-container-single .chosen-single {
	background: #ebebeb !important;
	border-radius: 0 !important;
}
.frm_style_formidable-style.with_frm_style .frm_radio label, .frm_style_formidable-style.with_frm_style .frm_checkbox label {
	color: #666666 !important;
}
.frm_style_formidable-style.with_frm_style label.frm_primary_label, .frm_style_formidable-style.with_frm_style.frm_login_form label {
	font-family: "titillium-web", "Helvetica", "Arial", sans-serif !important;
	color: #666666 !important;
	margin-bottom: .375em !important;
	font-weight: normal !important;
}
.frm_style_formidable-style.with_frm_style input[type="submit"], .frm_style_formidable-style.with_frm_style .frm_submit input[type="button"], .frm_form_submit_style, .frm_style_formidable-style.with_frm_style.frm_login_form input[type="submit"], .gform_next_button, .gform_previous_button {
	border: none !important;
	background : #E31F26 !important;
	border-radius: 0 !important;
	color : #FFF !important;
	padding: 6px 11px;
	font-size: 17px;
	font-family: "titillium-web", "Helvetica", "Arial", sans-serif;
	color: #fff;
	background: #e31f26;
	line-height: 35px;
	border: 0;
	padding: 0 30px;
}
.frm_style_formidable-style.with_frm_style .frm_checkbox {
	margin: 0 0 .5em !important;
}
.gfield legend .step {
	width: 45px !important;
}
.gform_fields--contact .gfield, .gform_fields--project-details .gfield {
	padding-left: 0px;
}
.frm_form_field .gform_fields--contact {
}
.cycle-overlay {
	z-index: 99999;
	color: #FFF;
	position: relative;
	top: -250px;
	width: 600px;
	margin: 0 auto;
	padding: 20px;
	font-size: 30px;
	text-align: center;
}
.featured_main_title {
	margin-top: -250px;
	text-align: center;
	font-size: 3em;
	color: #FFF;
	z-index: 99999;
}
#feature div.images a.button {
	display: block;
	width: 300px;
	margin: 0 auto;
	height: auto;
	overflow: hidden;
	text-indent: 0px;
	background: #EC1C24;
	color: #FFF;
	padding: 20px;
	text-align: center;
	font-size: 1.2em;
	margin-top: 30px;
}
nav.links_left, nav.links_right {
	display: none;
}
.links_left_right_clear {
	display: none;
}
#mobile-header, #dtk-menu, #sidr {
	display: none;
}
#main {
	padding-top: 288px !important;
}
header {
	position: fixed !important;
	width: 100%;
	background: #FFF;
	z-index: 99990 !important;
}
header#header.sticky-header {
	position: fixed !important;
	width: 100%;
	height: 144px !important;
	background: #fff !important;
	z-index: 99990 !important;
	top: 0px;
	transition: all 0.1s ease;
}
.gform_wrapper .top_label input.medium, .gform_wrapper .top_label select.medium {
	width: 100% !important;
}
footer#footer .gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type="image"], .gform_wrapper .gform_footer input[type="submit"] {
}
#footer div.top div.connect nav.social ul {
	text-align: left;
}
#footer div.top div.connect nav.social ul li {
	margin-right: 2px;
}
#footer div.bottom {
	padding-top: 20px;padding-top: 60px;
}
.gform_wrapper div.gform_footer.top_label {
	padding: 10px 0px !important;
}
#gform_wrapper_4.gform_wrapper .top_label .gfield_label {
	display: none;
}
#gform_wrapper_3.gform_wrapper ul li.gfield {
	clear: none;
}
#gform_wrapper_3.gform_wrapper textarea.large {
	width: 100%; height:180px !important;
}
#gform_wrapper_5.gform_wrapper textarea#input_5_21 {
	height:120px !important;
}
#gform_wrapper_3.gform_wrapper label.gfield_label{font-weight:normal; margin-bottom:3px;}
#gform_wrapper_3.gform_wrapper li.gfield{padding-bottom:0px;}
#gform_wrapper_5.gform_wrapper .gfield_checkbox li{margin: 0 0 3px;}
#gform_wrapper_5.gform_wrapper .gform_page_footer{padding:1px 0 0;}
#gform_wrapper_5.gform_wrapper li#field_5_27.gsection, #gform_wrapper_5.gform_wrapper li#field_5_31.gfield_html.gfield_no_follows_desc{height:1px; margin-top:0px !important;}
#gform_wrapper_5.gform_wrapper li#field_5_22.gfield label.gfield_label{display:none;}
#gform_wrapper_5.gform_wrapper .instqtinf{padding-top:37px;}
#gform_wrapper_5.gform_wrapper .top_label li.gfield.gf_right_third select.medium{width:90% !important;}
#gform_wrapper_5.gform_wrapper .gfield_checkbox li label#label_5_22_1{max-width:75% !important; padding-top:10px;}

.page-instant-quote .gf_browser_chrome .footer-subscribe .gform_button, .page-instant-quote .gf_browser_safari .footer-subscribe .gform_button, .page-instant-quote .gf_browser_gecko .footer-subscribe .gform_button {
	top: 5px;top: 17px;
	right: -1px;
}
.subscribe .gform_wrapper .gform_footer input.button, .subscribe .gform_wrapper .gform_footer input[type="submit"], .subscribe .gform_wrapper .gform_page_footer input.button, .subscribe .gform_wrapper .gform_page_footer input[type="submit"]{width:30px !important;}

body.blog #footer, body.post-type-post #footer{height:480px;}
body.blog #footer div.top, body.post-type-post #footer div.top{display:block;}
body.blog footer#footer .subscribe .gform_wrapper .top_label .gfield_label, body.post-type-post footer#footer .subscribe .gform_wrapper .top_label .gfield_label{display:none;}
.gform_wrapper ul:not(.top_label) .gfield_label{width:75% !important;}
#gform_wrapper_5.gform_wrapper .gf_step span.gf_step_label, #gform_wrapper_5.gform_wrapper .gf_step span.gf_step_number {
    vertical-align: top !important;
    line-height: 16px !important;
}
#gform_wrapper_5.gform_wrapper .top_label li#field_5_9 label.gfield_label, #gform_wrapper_5.gform_wrapper .top_label li#field_5_15 label.gfield_label, #gform_wrapper_5.gform_wrapper .top_label li#field_5_16 label.gfield_label{display:none !important;}

#gform_wrapper_5.gform_wrapper li#field_5_22{    
width: 63%;

    font-size: 13px;}
#gform_wrapper_5.gform_wrapper li#field_5_22 .gfield_description{font-size:100%; padding-top:0px;}
#gform_wrapper_5.gform_wrapper .gfield_checkbox li label#label_5_22_1{max-width:75% !important; padding-top:0px;}
body #gform_wrapper_5.gform_wrapper ul li.field_description_below div.ginput_container_checkbox li.gchoice_5_22_1 span{padding-top:15px;}
body .gform_wrapper ul li#field_5_22.field_description_below div.ginput_container_checkbox{margin-top:32px;}
span.wpp-views{display:none;}
#header a.logo{height:46px;}

.events_container{display:block; clear:both;}
.events_container_top{ 
background: url(images/red-clock.png) center center no-repeat;
height: 25px;
background-size: contain;
width: 25px;
position: absolute;
top: -6px;
left: -3px;
}
.events_container_bottom{margin-top: -150px;}
.events_red_bar {
    background: #EC1C24;
    width: 100%;
    height: 200px;
    clear: both;
}
.events_col_left, .events_col_right{float:left; width:49%; padding:2% 2% 2% 1%;position:relative;}
.events_col_left img{height:auto;}
.events_col_right ul {
    padding: 20px 25px;
    border-left: solid 1px #F00;
    margin-right: 20px;
    padding-bottom: 0;
}

.events_col_right ul li:before {
    color: #F00;
    content: "\2022";
    font-size: 25px;
    padding: 0;
    margin: 0;
    padding-right: 14px;
    margin-left: -31px;
}

.event_hosted_by {
    color: #FFF;
    padding-top: 30px;
height: 150px;
}
.event_hosted_by span {
    font-size: 36px;
    line-height: 70px;
}
.single-detektevents #map {width: 960px;height: 350px;margin:0 auto;}
.single-detektevents #content{width:960px;}
.events_reserve_btn {
    text-align: center;
    padding: 50px 0 25px 0;
    clear: both;
}
a.button.buttongray {
    background: #4c4c4c;
    color: #FFF;
    padding: 10px 20px;
}

.single-detektevents .events_loc_details {
    max-width: 500px;
    margin: 0 auto;
    font-size: 24px;
    color: #FFF;
    text-align: center;
    margin-top: 7px;
    background-color: rgba(234, 50, 58, 0.6);
    padding: 10px 0;
}
.single-detektevents .featured_main_title {
    text-align: center;
    font-size: 3em;
    color: #FFF;
    z-index: 99999;
    background-color: rgba(0, 0, 0, 0.6);
    max-width: 500px;
    margin: 0 auto;
    margin-top: -250px;margin-top: -290px;
    padding: 30px;
}
.single-detektevents .featured_main_title span {
    color: #e31f26;
}
span.event_loc {
    background: url(images/white-location.png) left center no-repeat;
    padding-left: 40px;
    height: 50px;
    background-size: contain;font-size: 18px;
}
span.event_dt {
    background: url(images/white-calendar.png) left center no-repeat;
    padding-left: 40px;
    height: 50px;
    background-size: contain;
margin-left:50px;font-size: 18px;
}
.featured_title_sub {
    font-size: 30px;
    line-height: 40px;
}
.events_footer_cols{display:block; clear:both;margin:20px 0;}
.events_footer_cols_one, .events_footer_cols_two, .events_footer_cols_three{float:left; width:33%; padding:2%; line-height:0px;height: 37px;
padding-left:45px;margin:15px 0;
}
.single-detektevents #footer{margin-top:0;}
.events_footer_cols_one{
 background: url(images/gray-location.png) left center no-repeat;background-size: contain;
}
.events_footer_cols_two{
 background: url(images/gray-mail.png) left center no-repeat;background-size: contain;
}
.events_footer_cols_three{
 background: url(images/gray-phone.png) left center no-repeat;background-size: contain;
}
.single-detektevents #main{padding-bottom:0px;}
#event_reserve_seat{width:350px; min-height:580px; overflow:hidden;}
.single-detektevents .lightbox, .single-detektevents #footer, .single-detektevents #livesite_engage_button.ls-visible {display:none;}
.single-detektevents #content{padding-bottom:0;}
.single-detektevents #header nav.language {
    display: none;
}
.single-detektevents #cboxClose {
    top: -5px;
    width: 35px;
    height: 25px;
}
.single-detektevents #field_6_6 .instruction{display:none;}

.single-detektevents .gform_wrapper div.validation_error{font-size:12px;margin-bottom:0px;}

.single-detektevents .gform_wrapper li.gfield.gfield_error.gfield_contains_required{margin-bottom:0px;}

.single-detektevents .gform_wrapper li.gfield.gfield_error{padding-top:0px; padding-bottom:0px;}

.single-detektevents .gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container, 
.single-detektevents .gform_wrapper li.gfield.gfield_error.gfield_contains_required label.gfield_label{margin-top:3px;}
.single-detektevents .gform_wrapper .field_description_below .gfield_description{padding-top:0px;}

.single-detektevents #cboxLoadedContent{margin-bottom:0px !important;}
.single-detektevents #colorbox{padding-bottom:0px !important;}
.single-detektevents a.button.buttonred {
    background: #EC1C24;
    color: #FFF;
    padding: 10px 20px;
font-weight:bold;
}
body.page-template-portfolio-php nav.products ul{width:100%;}
body.page-template-portfolio-php nav.products{min-height:172px;}
body.page-template-portfolio-php nav.products ul.lSPager {display:none;}
body.page-template-portfolio-php nav.products ul {min-height:172px;}
body.page-template-portfolio-php nav.products ul .clearimg{clear:both;display:block;height:0px;}
body.page-template-portfolio-php nav.products ul li a{background: #ec1c24;
    background-color: rgba(233, 31, 40,  0.8);padding: 0px;
    top: 0px;
    left: 0px;}

body.page-template-portfolio-php article h1, body.page-template-portfolio-php article p {
    padding: 2px 24px;
    color: #FFF;
}
body.page-template-portfolio-php article h1{margin-top:5px; margin-bottom:5px;}
body.page-template-portfolio-php article a.case-study{padding:0; background-color: rgba(233, 31, 40, 0.1);}

body.page-template-portfolio-php aside, body.page-template-portfolio-php article{width:100%;}

body.page-template-portfolio-php .portfolio-slider-content{background-color: rgba(233, 31, 40, 0.8); width:50%; width:25%; position:absolute; right:0px; bottom:40px; z-index:999;}
body.page-template-portfolio-php nav.products ul li, body.page-template-portfolio-php nav.products ul li a{width:100%;height:100%; }
body.page-template-portfolio-php nav.products ul li img {
    height: auto;
    width: 100%;
}
body.page-template-portfolio #main {
    padding-top: 229px !important;
}
body.page-template-portfolio article #product-images{margin-bottom:7px;}
body.page-template-portfolio-php nav.products ul li a span {
  float: left;
  left: 50%;
  padding: 0 5px;
  position: relative;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%); height:auto; font-size:1.2em;
}
.single-post img.alignleft {
    float: left;
    padding: 2px;
}
 @media only screen and (max-width: 640px) {
body.page.home #content {
	width: 100%;
}
body.page.home article {
	padding: 10px 3%;
	display: block;
	width: 100%;
}
body.page.home article h1 {
	font-size: 24px;
}
body.page.home #main {
	max-width: 100%;
	padding-bottom: 0px;
}
body.page.home aside {
	max-width: 100%;
	padding: 10px 3%;
	display: block;
	clear: both;
	width: 100%;
	float: none;
}
.featured_main_title {
	margin-top: -250px;
	margin-top: -170px;
	text-align: center;
	font-size: 2.5em;
	font-size: 24px;
}
#footer, body.blog #footer, body.post-type-post #footer, body.archive.tag #footer, body.archive.category #footer {
	height: auto;
	display: block;
	clear: both;
	margin-top: 10px;
}
body.blog #footer div.top, body.post-type-post #footer div.top, body.archive.tag #footer div.top, body.archive.category #footer div.top{display:block;}
#footer div.top div.awards {
	position: relative;
	/* bottom: 0; */

	display: block;
	clear: both;
	height: 80px;
	margin-bottom: 15px;
}
.footer_menu {
	margin-bottom: 15px;
}
#footer div.top div.awards p.award {
	display: block;
	clear: both;
	margin: 0 0 20px 20px;
	margin: 0 0 20px 0px;
	clear: none;
	float: left;
	width: 42%;
}
#footer div.top div.awards p.award.reddot {
	margin: 0 0 20px 20px;
	width: 48%;
}
#footer div.inner {
	width: 100%;
}
#footer div.top nav.links {
	float: none;
	display: block;
	width: 100%;
	padding-left: 20px;
}
#footer div.bottom, #footer div.top {
	height: auto;
}
#footer div.top div.connect {
	float: none;
	width: 100%;
	display: block;
	clear: both;
	margin-top: 400px;
	margin-top: 10px;
	height: auto;
}
#footer div.top nav.blog, #footer div.top div.connect {
	padding-left: 20px;
	background: none;
}
#header div.navigation {
	width: 100%;
}
#main {
	padding-top: 198px !important;
}
.page.page-thank-you #main #content {
	padding-top: 60px !important;
}
#header, header#header.sticky-header {
	height: 74px !important;
	position: fixed;
	width: 100%;
	background: #FFF;
}
#header nav.navigation ul#menu-main-navigation {
	background: #FFF;
	padding-bottom: 40px;
}
#header a.logo {
	display: block;
	position: relative;
	clear: both;
	margin: 45px 0 0 25px;
}
#header nav.navigation li {
	float: none;
	display: block;
	clear: both;
	background: #FFF;
	padding-left: 0px;
	text-align: center;
}
#header nav.navigation {
	position: relative;
	clear: both;
	display: block;
	display: none;
}
#livesite_engage_button {
	display: none !important;
}
textarea#input_3_24 {
	max-width: 280px;
}
.home.page #content article section.text_content a.read-more {
	display: none;
}
#footer div.top nav.links, #footer div.top nav.blog {
	display: none;
}
body.page-template-contact-php #header {
	height: 194px;
}
body.page-template-contact-php h1 {
	padding-left: 20px;
	padding-left: 0px;
}
nav.links_left, nav.links_right {
	display: block;
	width: 40%;
	margin-left: 20px;
	float: left;
	min-height: 75px;
}
nav.links_left a, nav.links_right a {
	color: #fff;
	font-weight: bold;
}
nav.links_left li, nav.links_right li {
	padding-top: 2px;
	padding-bottom: 2px;
}
.links_left_right_clear {
	display: block;
	clear: both;
}
#footer div.top div.connect:after {
	display: none;
}
#footer div.bottom nav.links ul {
	text-align: center;
	display: block;
	margin-bottom: 10px;
}
#footer div.bottom nav.links li {
	float: none;
	display: inline;
}
#footer div.bottom {
	padding-top: 10px;
}
#footer div.bottom p.copyright {
	float: none;
	text-align: center;
	font-size: 11px;
}
#mobile-header, #dtk-menu, #sidr {
	display: block;
}
#dtk-menu {
	position: absolute;
	top: -25px;
	right: 30px;
	z-index: 9999999 !important;
}
#overlay {
	position: absolute;
	top: 0px;
	right: 0px;
	color: #333;
	padding: 4px 8px;
	padding: 10px 20px;
	z-index: 8999999;
	font-weight: bold;
	width: 100%;
	text-align: right;
	height: 20px;
	margin-bottom: 5px;
	clear: both;
}
nav.language {
	display: none;
}
nav.language.inner {
	display: block;
	position: relative !important;
}
.sb-slidebar.sb-right nav.language.inner ul, .sb-slidebar.sb-right nav.language.inner ul li {
	border-top: none;
	border-bottom: none;
	text-align: right;
}
.sb-slidebar.sb-right nav.language.inner ul li {
	border-left: none !important;
	float: right !important;
}
body.page.home aside nav.quicklinks ul li.quote a {
	width: 62px;
	height: 62px;
	background-position: 0 -530px;
}
body.page.home aside nav.quicklinks ul li.call a {
	width: 62px;
	height: 62px;
	background-position: 0 -620px;
}
body.page.home aside nav.quicklinks ul li.enquire a {
	width: 62px;
	height: 62px;
	background-position: 0 -256px;
}
#footer div.top div.connect nav.social ul {
	text-align: left;
}
footer#footer .gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type="image"], .gform_wrapper .gform_footer input[type="submit"] {
}
footer#footer .subscribe {
	width: 65%;
	overflow: hidden;
	max-height: 100px;
}
footer#footer .gform_wrapper .top_label input.medium, .gform_wrapper .top_label select.medium {
	width: 100% !important;
}
#gform_wrapper_4.gform_wrapper {
	margin: 0 0 1em 0;
}
#gform_wrapper_4.gform_wrapper .top_label .gfield_label {
	margin-top: 0px;
	margin-bottom: 0px;
}
body.page-template-contact-php #header {
	height: 94px;
}
body.page-template-contact-php #content, body.page-template-contact-php article {
	width: 95%;
}
body.page-template-contact-php .gform_fields--contact-detekt .gfield {
	width: 97%;
}
body.page-template-contact-php aside {
	float: none;
	padding-left: 27px;
	padding-left: 0px;
	width: 92%;
	display: block;
}
body.page-template-contact-php .gform_wrapper .gform_footer input.button {
	margin-left: 27px;
	margin-left: 0px;
}
body.page-template-contact-php section.addresses {
	width: 100%;
	float: none;
	display: block;
	margin-left: 25px;
	margin-left: 0px;
}
body.page-template-contact-php section.addresses.even, body.page-template-contact-php section.addresses.odd {
	float: none;
}
body.page-template-contact-php footer#footer {
	margin-top: -480px;
}
.page.page-about #main, .page.page-about #main #content, .page.page-about #main #content article {
	width: 100%;
	clear: both;
}
.page.page-about #main #content article {
	padding: 0px 10px;
	display: block;
	clear: both;
}
.page.page-about #main #content aside, body.page-template-management-team-php #main #content aside {
	float: none;
	width: 100%;
	display: block;
	clear: both;
}
.page.page-about #main #content aside nav.quicklinks, body.page-template-management-team-php #main #content aside nav.quicklinks {
	padding-left: 15px;
}
.page.page-about footer#footer {
	margin-top: 10px;
}
body.page-template-management-team-php footer#footer {
	margin-top: -470px;
}
body.page-template-management-team-php #content, body.page-template-management-team-php article, .page.page-case-studies #main, .page.parent-case-studies #main {
	width: 100%;
}
body.page-template-management-team-php nav.management-team ul {
	width: 100%;
	padding: 0 5%;
}
body.page-template-management-team-php nav.management-team ul li {
	float: none;
	display: block;
	width: 210px;
	margin: 0 auto;
	margin-bottom: 40px;
}
body.page-template-management-team-php article {
	padding: 0px 20px;
	display: block;
	clear: both;
}
body.page-template-management-team-php div.details ul.connect {
	height: 40px;
}
body.page-template-management-team-php div.content, body.page-template-management-team-php div.details {
	float: none;
	margin-bottom: 12px;
	width: 100%;
	display: block;
	clear: both;
}
.page.page-template-default #main, .page.page-case-studies #main, .page.parent-case-studies #main {
	padding-bottom: 5px;
}
.page.page-template-default #main #content, .page.page-template-default #main #content article, .page.page-template-default #main #content aside, .page.page-case-studies #main #content, .page.page-case-studies #main #content article, .page.page-case-studies #main #content aside, .page.parent-case-studies #main #content, .page.parent-case-studies #main #content article, .page.parent-case-studies #main #content aside {
	float: none;
	width: 100%;
	padding: 0 10px;
	clear: both;
	display: block;
}
.page.page-case-studies #main #content article {
	padding: 0px;
}
.page.page-template-default #main #content, .page.page-case-studies #main #content, .page.parent-case-studies #main #content {
	padding: 40px 10px;
	padding: 0px 10px 20px 10px;	padding: 40px 10px 20px 10px;
}
.page.parent-case-studies #main #content {
	padding: 40px 0;
}
.page.page-case-studies nav.case-studies ul {
	width: 100%;
	padding-left: 10px;
}
.page.page-case-studies nav.case-studies ul li {
	width: 46%;
	float: left;
	height: 153px;
	margin-bottom: 10px;
}
body.page-template-case-studies-php nav.case-studies ul li a {
	width: 100%;
	height: 150px;
}
body.page.parent-case-studies {
	width: 100%;
	overflow-x: hidden;
}
.page.parent-case-studies #main #content iframe {
	max-width: 100%;
	height: auto;
	min-height: 205px;
}
.page.parent-case-studies #feature.with-image, .page.parent-case-studies #feature div.images {
	height: 135px;
}
.page.parent-case-studies #feature div.images div.image {
	background-size: contain;
}
.page.parent-case-studies #feature div.images .featured_main_title, .page.parent-case-studies #feature div.images a.button {
	display: none;
}
body.page-testimonials #content section.testimonial div.details {
	margin-right: 10px;
	margin-right: 15px;
	margin-bottom: 10px;
}
body.page-testimonials #content section.testimonial div.content {
	float: none;
	width: 100%;
}
body.page-testimonials #content section.testimonial div.details {
	float: left;
	width: 33%;
}
body.page-testimonials #content section.testimonial div.content {
	float: left;
	width: 60%;
}
body.page-testimonials #content section.testimonial div.full {
	display: block;
	clear: both;
}
.page.parent-portfolio #main, .page.parent-portfolio #main #content, .page.parent-portfolio #main #content article, .page.parent-portfolio #main #content aside {
	width: 100%;
	display: block;
	float: none;
}
body.page.parent-portfolio {
	overflow-x: hidden;
	width: 100%;
}
body.page.parent-portfolio article #product-images {
	height: auto;
	background: none;
	width: 100%;
	margin: 0 auto;
}
body.page.parent-portfolio #content {
	padding-top: 0px;
}
body.page.parent-portfolio article #product-images img {
	margin-bottom: 5px;
	width: 31%;
	width: 100%;
	margin-right: 1%;
	height: auto !important;
	float: left;
}
.page.parent-portfolio #main #content article, .page.parent-portfolio #main #content aside {
	padding: 20px;
}
.page.parent-portfolio #main, .page.page-instant-quote #main {
	padding-bottom: 1px;
}
.page.page-instant-quote #main, .page.page-instant-quote #main #content, .page.page-instant-quote #main #content article {
	width: 100%;
	display: block;
	float: none;
}
.page.page-instant-quote #main #content {
	padding: 10px;
}
.gform_wrapper .three-column .gf_left_half, .gform_wrapper .three-column .gf_right_half {
	width: 99.3% !important;
}
.gform_wrapper .three-column .gfield.gf_right_half {
	margin-left: 0px !important;
}
.gform_wrapper .three-column .top_label select.medium {
	width: 96% !important;
}
.gform_wrapper.three-column_wrapper ul.gform_fields.gform_column {
	display: block;
	float: none;
	width: 100%;
	display: block;
	clear: both;
}
.gform_wrapper .three-column .gf_page_steps {
	/*display: block !important;*/

	clear: both !important;
	position: relative !important;
	left: 0px;
}
.gform_wrapper.three-column_wrapper .gform_page_fields > :nth-child(3n+3) {
	padding-left: 0 !important;
}
.gform_wrapper.three-column_wrapper .gform_page_fields > :nth-child(4n+4) {
	padding-left: 0px !important;
}
.gform_wrapper.three-column_wrapper #gform_page_6_2.gform_page, .gform_wrapper.three-column_wrapper #gform_page_6_3.gform_page {
}
.gform_wrapper .three-column .gf_left_half.para_column {
	width: 100% !important;
}
.gform_wrapper.three-column_wrapper .gf_step {
	font-size: 11px;
}
.gform_wrapper .gf_step.gf_step_completed, .gform_wrapper .gf_step.gf_step_active, .gform_wrapper .gf_step.gf_step_pending {
	width: 31% !important;
	background-size: contain;
	padding-top: 0px; float:left;
}
body.blog, body.single.single-post.post-type-post, body.archive {
	overflow-x: hidden;
}
body.blog #main, body.blog #main .blog-post div.title, body.single.single-post.post-type-post #main, body.single.single-post.post-type-post #main .blog-post div.title, body.archive #main, body.archive #main .blog-post div.title {
	width: 100%;
	display: block;
}
body.blog #main #content, body.single.single-post.post-type-post #content, body.archive #content {
	width: 96%;
	padding: 40px 10px;
}
body.blog #main #content article, body.single.single-post.post-type-post #content article, body.blog #main #content aside, body.single.single-post.post-type-post #content aside, body.archive #main #content article, body.archive #main #content aside {
	float: none;
	width: 100%;
	clear: both;
	display: block;
}
body.blog #main .blog-post div.image, body.archive .blog-post div.image {
	float: left !important;
}
body.single.single-post.post-type-post #content article span.embed-youtube iframe {
	max-width: 100% !important;
	height: auto !important;height: 180px !important;
}
#feature div.images div.image, #feature div.images, #feature.with-image {
	width: 100% !important;
	height: 200px !important;
	background-size: contain;
}
aside nav.pages {
	display: none !important;
}
body.page.page-airopult #feature.with-image .images div.image:nth-child(3) {
	background-image: none;
	background-image: url(images/banners/mobile-airpult-1.jpg) !important;
}
body.page.page-airopult #feature.with-image .images div.image:nth-child(4) {
	background-image: none;
	background-image: url(images/banners/mobile-airpult-2.jpg) !important;
}
body.page.page-flymount #feature.with-image .images div.image:nth-child(3) {
	background-image: none;
	background-image: url(images/banners/mobile-flymount-1.jpg) !important;
}
body.page.page-flymount #feature.with-image .images div.image:nth-child(4) {
	background-image: none;
	background-image: url(images/banners/mobile-flymount-2.jpg) !important;
}
body.page.page-flymount #feature.with-image .images div.image:nth-child(5) {
	background-image: none;
	background-image: url(images/banners/mobile-flymount-3.jpg) !important;
}
body.page.page-phonesoap #feature.with-image .images div.image:nth-child(3) {
	background-image: none;
	background-image: url(images/banners/mobile-phonesoap-12.jpg) !important;
}
body.page.page-phonesoap #feature.with-image .images div.image:nth-child(4) {
	background-image: none;
	background-image: url(images/banners/mobile-phonesoap-22.jpg) !important;
}
body.page.page-side-arm #feature.with-image .images div.image:nth-child(3) {
	background-image: none;
	background-image: url(images/banners/mobile-sidearm-1.jpg) !important;
}
body.page.page-side-arm #feature.with-image .images div.image:nth-child(4) {
	background-image: none;
	background-image: url(images/banners/mobile-sidearm-2.jpg) !important;
}
body.page.page-side-arm #feature.with-image .images div.image:nth-child(5) {
	background-image: none;
	background-image: url(images/banners/mobile-sidearm-3.jpg) !important;
}
body.page.page-lapworker #feature.with-image .images div.image:nth-child(3) {
	background-image: none;
	background-image: url(images/banners/mobile-lapworker-1.jpg) !important;
}
body.page.page-lapworker #feature.with-image .images div.image:nth-child(4) {
	background-image: none;
	background-image: url(images/banners/mobile-lapworker-2.jpg) !important;
}
.home.page.page-home #feature.with-image .images .image {
	background-image: none;
	background-image: url(images/banners/home-mobile.jpg) !important;
}
body.page-project-evaluation #feature.with-image .images div.image:nth-child(3) {
	background-image: none;
	background-image: url(images/banners/mobile-product-evaluation-1.jpg) !important;
}
body.page-project-evaluation #feature.with-image .images div.image:nth-child(4) {
	background-image: none;
	background-image: url(images/banners/mobile-product-evaluation-2.jpg) !important;
}
body.page-project-evaluation #feature.with-image .images div.image:nth-child(5) {
	background-image: none;
	background-image: url(images/banners/mobile-product-evaluation-3.jpg) !important;
}
body.page.page-product-design #feature.with-image .images div.image:nth-child(3) {
	background-image: none;
	background-image: url(images/banners/mobile-product-design-1.jpg) !important;
}
body.page.page-product-design #feature.with-image .images div.image:nth-child(4) {
	background-image: none;
	background-image: url(images/banners/mobile-product-design-2.jpg) !important;
}
body.page.page-product-design #feature.with-image .images div.image:nth-child(5) {
	background-image: none;
	background-image: url(images/banners/mobile-product-design-4.jpg) !important;
}
body.page.page-prototype-design #feature.with-image .images div.image:nth-child(3) {
	background-image: none;
	background-image: url(images/banners/mobile-prototype-design-1.jpg) !important;
}
body.page.page-prototype-design #feature.with-image .images div.image:nth-child(4) {
	background-image: none;
	background-image: url(images/banners/mobile-prototype-design-2.jpg) !important;
}
body.page.page-prototype-design #feature.with-image .images div.image:nth-child(5) {
	background-image: none;
	background-image: url(images/banners/mobile-prototype-design-3.jpg) !important;
}
body.page.page-electronic-engineering #feature.with-image .images .image {
	background-image: none;
	background-image: url(images/banners/mobile-Electronic-Engineer.jpg) !important;
}
body.page.page-engineering #feature.with-image .images div.image:nth-child(3) {
	background-image: none;
	background-image: url(images/banners/mobile-engineering-1.jpg) !important;
}
body.page.page-engineering #feature.with-image .images div.image:nth-child(4) {
	background-image: none;
	background-image: url(images/banners/mobile-engineering-2.jpg) !important;
}
body.page.page-engineering #feature.with-image .images div.image:nth-child(5) {
	background-image: none;
	background-image: url(images/banners/mobile-engineering-3.jpg) !important;
}
body.page.page-design-for-manufacture #feature.with-image .images div.image:nth-child(3) {
	background-image: none;
	background-image: url(images/banners/mobile-design-for-manufacturing-2.jpg) !important;
}
body.page.page-design-for-manufacture #feature.with-image .images div.image:nth-child(4) {
	background-image: none;
	background-image: url(images/banners/mobile-design-for-manufacturing-3.jpg) !important;
}
body.page.page-design-for-manufacture #feature.with-image .images div.image:nth-child(5) {
	background-image: none;
	background-image: url(images/banners/mobile-design-for-manufacturing-11.jpg) !important;
}
body.page.page-manufacturing-coordination #feature.with-image .images div.image:nth-child(3) {
	background-image: none;
	background-image: url(images/banners/mobile-Manufacture-coordination-1.jpg) !important;
}
body.page.page-manufacturing-coordination #feature.with-image .images div.image:nth-child(4) {
	background-image: none;
	background-image: url(images/banners/mobile-Manufacture-coordination-2.jpg) !important;
}
body.page.page-manufacturing-coordination #feature.with-image .images div.image:nth-child(5) {
	background-image: none;
	background-image: url(images/banners/mobile-Manufacture-coordination-3.jpg) !important;
}
body.page.page-services #feature.with-image .images .image {
	background-image: none;
	background-image: url(images/banners/mobile-Detekt-Services-banner-v2.jpg) !important;
}
body.page.page-about #feature.with-image .images .image {
	background-image: none;
	background-image: url(images/banners/mobile-about-page-1.jpg) !important;
}
.footer-subscribe .gform_button {
	top: 1px;
}
.gf_browser_chrome .footer-subscribe .gform_button, .gf_browser_safari .footer-subscribe .gform_button, .gf_browser_gecko.footer-subscribe .gform_button {
	top: 1px;
	right: 5px;
}
.footer-subscribe .gform_button, .page-thank-you .gf_browser_chrome .footer-subscribe .gform_button, .page-thank-you .gf_browser_safari .footer-subscribe .gform_button, .page-thank-you .gf_browser_gecko .footer-subscribe .gform_button {
	top: 1px;
	right: 5px;
}
.page-instant-quote .gf_browser_chrome .footer-subscribe .gform_button, .page-instant-quote .gf_browser_safari .footer-subscribe .gform_button, .page-instant-quote .gf_browser_gecko .footer-subscribe .gform_button {
	top: 5px;top: 17px;
	right: 14px;
}
#dtk-menu {
	position: absolute;
	top: 10px;
	right: 30px;
	z-index: 9999999 !important;
}
#header a.logo {
	max-height: 35px;max-height: 50px;
	position: absolute;
	clear: both;
	bottom: 10px;
	max-width: 204px;
}
.home.page.page-template-home-php #feature div.images div.image, .home.page.page-template-home-php #feature div.images, #feature.with-image {
	background-size: cover !important;
}
.home.page.page-template-home-php #feature div.images .featured_main_title {
	margin-top: -160px;
}
.home.page.page-template-home-php #main {
	padding-top: 218px !important;
}
.sb-slidebar.sb-right {
	position: fixed;
	top: 0;
	height: 100%;
	z-index: 99999999;
	width: 220px;
	overflow-x: hidden;
	overflow-y: auto;
	font-size: 14px;
	background: #f8f8f8;
	color: #333;
	box-shadow: 0 0 5px 5px #ebebeb inset
}
.sb-slidebar.sb-right ul {
	display: block;
	margin: 0 0 15px;
	padding: 0;
	border-top: 1px solid #dfdfdf;
	border-bottom: 1px solid #fff
}
.sb-slidebar.sb-right ul li {
	display: block;
	margin: 0;
	line-height: 48px;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #dfdfdf
}
.sb-slidebar.sb-right ul li:hover, .sb-slidebar.sb-right ul li.active, .sb-slidebar.sb-right ul li.sb-slidebar.sb-right-class-active {
	border-top: 0;
	line-height: 49px
}
.sb-slidebar.sb-right ul li:hover>a, .sb-slidebar.sb-right ul li:hover>span, .sb-slidebar.sb-right ul li.active>a, .sb-slidebar.sb-right ul li.active>span, .sb-slidebar.sb-right ul li.sb-slidebar.sb-right-class-active>a, .sb-slidebar.sb-right ul li.sb-slidebar.sb-right-class-active>span {
	box-shadow: 0 0 15px 3px #ebebeb inset
}
.sb-slidebar.sb-right ul li a, .sb-slidebar.sb-right ul li span {
	padding: 0 15px;
	display: block;
	text-decoration: none;
	color: #333
}
.sb-slidebar.sb-right ul li ul {
	border-bottom: 0;
	margin: 0
}
.sb-slidebar.sb-right ul li ul li {
	line-height: 40px;
	font-size: 13px
}
.sb-slidebar.sb-right ul li ul li:last-child {
	border-bottom: 0
}
.sb-slidebar.sb-right ul li ul li:hover, .sb-slidebar.sb-right ul li ul li.active, .sb-slidebar.sb-right ul li ul li.sb-slidebar.sb-right-class-active {
	border-top: 0;
	line-height: 41px
}
.sb-slidebar.sb-right ul li ul li:hover>a, .sb-slidebar.sb-right ul li ul li:hover>span, .sb-slidebar.sb-right ul li ul li.active>a, .sb-slidebar.sb-right ul li ul li.active>span, .sb-slidebar.sb-right ul li ul li.sb-slidebar.sb-right-class-active>a, .sb-slidebar.sb-right ul li ul li.sb-slidebar.sb-right-class-active>span {
	box-shadow: 0 0 15px 3px #ebebeb inset
}
.sb-slidebar.sb-right ul li ul li a, .sb-slidebar.sb-right ul li ul li span {
	color: rgba(51,51,51,0.8);
	padding-left: 30px
}
.sb-slidebar.sb-right form {
	margin: 0 15px
}
.sb-slidebar.sb-right label {
	font-size: 13px
}
.sb-slidebar.sb-right input[type="text"], .sb-slidebar.sb-right input[type="password"], .sb-slidebar.sb-right input[type="date"], .sb-slidebar.sb-right input[type="datetime"], .sb-slidebar.sb-right input[type="email"], .sb-slidebar.sb-right input[type="number"], .sb-slidebar.sb-right input[type="search"], .sb-slidebar.sb-right input[type="tel"], .sb-slidebar.sb-right input[type="time"], .sb-slidebar.sb-right input[type="url"], .sb-slidebar.sb-right textarea, .sb-slidebar.sb-right select {
	width: 100%;
	font-size: 13px;
	padding: 5px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	margin: 0 0 10px;
	border-radius: 2px;
	border: 0;
	background: rgba(0,0,0,0.1);
	color: rgba(51,51,51,0.6);
	display: block;
	clear: both
}
.sb-slidebar.sb-right input[type=checkbox] {
	width: auto;
	display: inline;
	clear: none
}
.sb-slidebar.sb-right input[type=button], .sb-slidebar.sb-right input[type=submit] {
	color: #f8f8f8;
	background: #333
}
.sb-slidebar.sb-right input[type=button]:hover, .sb-slidebar.sb-right input[type=submit]:hover {
	background: rgba(51,51,51,0.9)
}

.page-instant-quote .gform_wrapper .gform_page_footer .button.gform_next_button, .page-instant-quote .gform_wrapper .three-column .gform_page_footer .button.gform_previous_button, .page-instant-quote .gform_wrapper .gform_page_footer .button.gform_button, .page-contact .gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type="submit"]{width:47%;}
body .gform_wrapper #gform_page_5_2 .top_label div.ginput_container, body .gform_wrapper #gform_page_5_2 ul li.gfield{margin-top:0px;}
li#field_5_11 label.gfield_label, li#field_5_12 label.gfield_label, li#field_5_13 label.gfield_label{margin-bottom:15px !important;}
.page-contact .gform_wrapper label.gfield_label{font-weight:400;}

li#field_5_24 label.gfield_label{display:none;}

body.blog footer#footer .subscribe .gform_wrapper, body.post-type-post footer#footer .subscribe .gform_wrapper {margin:0px;}
body.blog footer#footer .subscribe .gform_wrapper .top_label .gfield_label, body.post-type-post footer#footer .subscribe .gform_wrapper .top_label .gfield_label{display:none;}

.events_col_left, .events_col_right{float:none; display:block; width:98%; padding:2%;}
.events_col_left{    padding-right: 0%;}
.single-detektevents #content{width: 100%;}
.event_hosted_by {
    color: #EC1C24;
}

.single-detektevents .featured_main_title{font-size:2em;}
.featured_title_sub{font-size:22px;}
.events_col_right {
    margin-left: 15px;
    margin-top: 10px;
}
.events_container_top{
    top: -15px;
    left: -4px;
}
.events_footer_cols_one, .events_footer_cols_two, .events_footer_cols_three{
float: none;
    width: 49%;
    padding: 2%;
    line-height: 0px;line-height: 12px;
    height: 37px;height: 25px;
    padding-left: 59px;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 15px;
}
.single-detektevents #feature div.images div.image, .single-detektevents #feature div.images{background-size:cover;}
 .single-detektevents #main{   padding-top: 218px !important;}
.single-detektevents .featured_main_title{margin-top:-190px;margin-top: -215px;}
.single-detektevents #feature div.images div.image, .single-detektevents #feature div.images, .single-detektevents #feature.with-image{height:225px !important;}
.single-detektevents #map{width:100% !important;}
#event_reserve_seat {
    width: 310px;
    height: 500px;
    overflow: hidden;
}
#event_reserve_seat .gform_wrapper ul li.gfield{margin-top:0px;}
.single-detektevents #cboxClose {
    top: -5px;
    width: 35px;
    height: 25px;
}

.single-detektevents #colorbox{solid 0px #333;}
.events_container_bottom .events_col_right{max-width:90%;text-align: justify;}

.page.page-template-portfolio #main{padding-top: 220px !important;}

.page.page-template-portfolio #feature{min-height:0px;}

.page.page-template-portfolio #main #content article{padding:0px;}

body.page-template-portfolio .portfolio-slider-content {
    background-color: rgba(233, 31, 40, 0.8);background-color: rgba(233, 31, 40, 0.9);
    position: relative;
    bottom: 26px; bottom: 27px;
    z-index: 999;
    width: 100%;
    display: block;
    clear: both;
    padding-bottom: 20px;
}
body.page-template-portfolio .portfolio-slider-content h1{
padding-top:30px;
}
body.page-template-portfolio article #product-images div.pager {
    position: relative;
    bottom: 30px;
    left: 0;
    z-index: 999;
    width: 100%;
    text-align: center;
}

.page.page-template-portfolio #main #content aside {
    padding: 0 20px;padding:0px; margin-top:-25px;
}
body.page-template-portfolio-php nav.products ul li{    width: 50%;
    height: 162px;
    margin: 0px 0% 0% 0;
    border-top: solid 0px #FFF;overflow:hidden;}
body.page-template-portfolio-php nav.products ul li:nth-child(even) {
    margin-left: 0%;
    width: 50%;
}

body.page-template-portfolio-php nav.products ul li a {
        width: 100%;
    height: 162px;
    
}
body.page-template-portfolio-php nav.products ul li img{width:100%; height:100%;}
body.page-template-portfolio-php nav.products ul:nth-child(odd){padding-right:1px;}
article.blog-post img.size-full{height:auto;}
}
 @media only screen and (min-width : 650px) and (max-width : 900px) {
body.page.home #content {
	width: 100%;
}
body.page.home article {
	padding: 10px 3%;
	display: block;
	width: 100%;
}
body.page.home article h1 {
	font-size: 24px;
}
body.page.home #main {
	max-width: 100%;
	padding-bottom: 0px;
}
body.page.home aside {
	max-width: 100%;
	padding: 10px 3%;
	display: block;
	clear: both;
	width: 100%;
	float: none;
}
.featured_main_title {
	margin-top: -230px;
	text-align: center;
	font-size: 2.5em;
}
#footer {
	height: auto;
	display: block;
	clear: both;
	margin-top: 10px;
}
#footer div.top div.awards {
	position: relative;
	/* bottom: 0; */

	display: block;
	clear: both;
	height: 80px;
	margin-bottom: 15px;
}
.footer_menu {
	margin-bottom: 15px;
}
#footer div.top div.awards p.award {
	display: block;
	clear: both;
	margin: 0 0 20px 20px;
	clear: none;
	float: left;
	width: 42%;
}
#footer div.inner {
	width: 100%;
}
#footer div.top nav.links {
	float: none;
	display: block;
	width: 100%;
	padding-left: 20px;
}
#footer div.bottom, #footer div.top {
	height: auto;
}
#footer div.top div.connect {
	float: none;
	width: 100%;
	display: block;
	clear: both;
	margin-top: 400px;
	margin-top: 10px;
	height: auto;
}
#footer div.top nav.blog, #footer div.top div.connect {
	padding-left: 20px;
	background: none;
}
#main {
	padding-top: 218px !important;
}
.page.page-thank-you #main #content {
	padding-top: 60px !important;
}
#header div.navigation {
	width: 100%;
}
#header, header#header.sticky-header {
	height: 74px !important;
	position: fixed !important;
	width: 100%;
	background: #FFF;
}
#header nav.navigation ul#menu-main-navigation {
	background: #FFF;
	padding-bottom: 40px;
}
#header a.logo {
	display: block;
	position: relative;
	clear: both;
	margin: 45px 0 0 25px;
}
#header nav.navigation li {
	float: none;
	display: block;
	clear: both;
	background: #FFF;
	padding-left: 0px;
	text-align: center;
}
#header nav.navigation {
	position: relative;
	clear: both;
	display: block;
	display: none;
}
#livesite_engage_button {
	display: none !important;
}
textarea#input_3_24 {
/*max-width: 280px;*/

}
.home.page #content article section.text_content a.read-more {
	display: none;
}
#footer div.top nav.links, #footer div.top nav.blog {
	display: none;
}
body.page-template-contact-php #header {
	height: 194px;
}
body.page-template-contact-php h1 {
	padding-left: 20px;
}
nav.links_left, nav.links_right {
	display: block;
	width: 40%;
	margin-left: 20px;
	float: left;
	min-height: 75px;
}
nav.links_left a, nav.links_right a {
	color: #fff;
	font-weight: bold;
}
nav.links_left li, nav.links_right li {
	padding-top: 2px;
	padding-bottom: 2px;
}
.links_left_right_clear {
	display: block;
	clear: both;
}
#footer div.top div.connect:after {
	display: none;
}
#footer div.bottom nav.links ul {
	text-align: center;
	display: block;
	margin-bottom: 10px;
}
#footer div.bottom nav.links li {
	float: none;
	display: inline;
}
#footer div.bottom {
	padding-top: 10px;
}
#footer div.bottom p.copyright {
	float: none;
	text-align: center;
	font-size: 11px;
}
#mobile-header, #dtk-menu, #sidr {
	display: block;
}
#dtk-menu {
	position: absolute;
	top: -25px;
	right: 30px;
	z-index: 9999999 !important;
}
#overlay {
	position: absolute;
	top: 0px;
	right: 0px;
	color: #333;
	padding: 4px 8px;
	z-index: 8999999;
	font-weight: bold;
	width: 100%;
	text-align: right;
	height: 20px;
	margin-bottom: 5px;
	clear: both;
}
nav.language {
	display: none;
}
nav.language.inner {
	display: block;
	position: relative !important;
}
.sb-slidebar.sb-right nav.language.inner ul, .sb-slidebar.sb-right nav.language.inner ul li {
	border-top: none;
	border-bottom: none;
	text-align: right;
}
.sb-slidebar.sb-right nav.language.inner ul li {
	border-left: none !important;
	float: right !important;
}
body.page.home aside nav.quicklinks ul li.quote a {
	width: 62px;
	height: 62px;
	background-position: 0 -530px;
}
body.page.home aside nav.quicklinks ul li.call a {
	width: 62px;
	height: 62px;
	background-position: 0 -620px;
}
body.page.home aside nav.quicklinks ul li.enquire a {
	width: 62px;
	height: 62px;
	background-position: 0 -256px;
}
#footer div.top div.connect nav.social ul {
	text-align: left;
}
footer#footer .gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type="image"], .gform_wrapper .gform_footer input[type="submit"] {
}
footer#footer .subscribe {
	width: 65%;
	overflow: hidden;
	max-height: 100px;
}
footer#footer .gform_wrapper .top_label input.medium, .gform_wrapper .top_label select.medium {
	width: 100% !important;
}
#gform_wrapper_4.gform_wrapper {
	margin: 0 0 1em 0;
}
#gform_wrapper_4.gform_wrapper .top_label .gfield_label {
	margin-top: 0px;
	margin-bottom: 0px;
}
body.page-template-contact-php #header {
	height: 94px;
}
body.page-template-contact-php #content, body.page-template-contact-php article {
	width: 95%;
}
body.page-template-contact-php .gform_fields--contact-detekt .gfield {
/*width: 97%;*/

}
body.page-template-contact-php .gform_wrapper ul li.gfield {
	clear: none;
}
body.page-template-contact-php aside {
	float: none;
	padding-left: 27px;
	width: 92%;
	display: block;
}
body.page-template-contact-php .gform_wrapper .gform_footer input.button {
	margin-left: 27px;
}
body.page-template-contact-php section.addresses {
	width: 100%;
	float: none;
	display: block;
	margin-left: 25px;
}
body.page-template-contact-php section.addresses.even, body.page-template-contact-php section.addresses.odd {
	float: none;
}
body.page-template-contact-php footer#footer {
	margin-top: -480px;
}
.page.page-about #main, .page.page-about #main #content, .page.page-about #main #content article {
	width: 100%;
	clear: both;
}
.page.page-about #main #content article {
	padding: 0px 10px;
	display: block;
	clear: both;
}
.page.page-about #main #content aside, body.page-template-management-team-php #main #content aside {
	float: none;
	width: 100%;
	display: block;
	clear: both;
}
.page.page-about #main #content aside nav.quicklinks, body.page-template-management-team-php #main #content aside nav.quicklinks {
	padding-left: 15px;
}
.page.page-about footer#footer {
	margin-top: 10px;
}
body.page-template-management-team-php footer#footer {
	margin-top: -470px;
}
body.page-template-management-team-php #content, body.page-template-management-team-php article, .page.page-case-studies #main, .page.parent-case-studies #main {
	width: 100%;
}
body.page-template-management-team-php nav.management-team ul {
	width: 100%;
	padding: 0 5%;
}
body.page-template-management-team-php nav.management-team ul li {
	/*float: none;

	display: block;

	width: 210px;

	margin: 0 auto;*/

	margin-bottom: 40px;
}
body.page-template-management-team-php article {
	padding: 0px 20px;
	display: block;
	clear: both;
}
body.page-template-management-team-php div.details ul.connect {
	height: 40px;
}
body.page-template-management-team-php div.details {
	margin-bottom: 12px;
	margin-right: 25px;/* float: none;

	width: 100%;

	display: block;

	clear: both; */

}
body.page-template-management-team-php div.content {
	width: 100%;
	float: none;
}
.page.page-template-default #main, .page.page-case-studies #main, .page.parent-case-studies #main {
	padding-bottom: 5px;
}
.page.page-template-default #main #content, .page.page-template-default #main #content article, .page.page-template-default #main #content aside, .page.page-case-studies #main #content, .page.page-case-studies #main #content article, .page.page-case-studies #main #content aside, .page.parent-case-studies #main #content, .page.parent-case-studies #main #content article, .page.parent-case-studies #main #content aside {
	float: none;
	width: 100%;
	padding: 0 10px;
	clear: both;
	display: block;
}
.page.page-case-studies #main #content article {
	padding: 0px;
}
.page.page-template-default #main #content, .page.page-case-studies #main #content, .page.parent-case-studies #main #content {
	padding: 40px 10px;
}
.page.parent-case-studies #main #content {
	padding: 40px 0;
}
.page.page-case-studies nav.case-studies ul {
	width: 100%;
	padding-left: 10px;
}
.page.page-case-studies nav.case-studies ul li {
	width: 46%;
	width: 20%;
	float: left;
	height: 153px;
	margin-bottom: 10px;
}
body.page-template-case-studies-php nav.case-studies ul li a {
	width: 100%;
	height: 150px;
}
body.page.parent-case-studies {
	width: 100%;
	overflow-x: hidden;
}
.page.parent-case-studies #main #content iframe {
	max-width: 100%;
	height: auto;
	min-height: 205px;
	min-height: 315px;
}
.page.parent-case-studies #feature.with-image, .page.parent-case-studies #feature div.images {
}
.page.parent-case-studies #feature div.images div.image {
	background-size: contain;
}
.page.parent-case-studies #feature div.images .featured_main_title, .page.parent-case-studies #feature div.images a.button {
	display: none;
}
body.page-testimonials #content section.testimonial div.details {
	margin-right: 10px;
	margin-right: 15px;
	margin-bottom: 10px;
}
body.page-testimonials #content section.testimonial div.content {
	float: none;
	width: 100%;
}
body.page-testimonials #content section.testimonial div.details {
	float: left;
	width: 33%;
}
body.page-testimonials #content section.testimonial div.content {
	float: left;
	width: 60%;
}
body.page-testimonials #content section.testimonial div.full {
	display: block;
	clear: both;
}
.page.parent-portfolio #main, .page.parent-portfolio #main #content, .page.parent-portfolio #main #content article, .page.parent-portfolio #main #content aside {
	width: 100%;
	display: block;
	float: none;
}
body.page.parent-portfolio {
	overflow-x: hidden;
	width: 100%;
}
body.page.parent-portfolio article #product-images {
	height: auto;
	background: none;
	width: 100%;
	margin: 0 auto;
}
body.page.parent-portfolio #content {
	padding-top: 0px;
}
body.page.parent-portfolio article #product-images img {
	margin-bottom: 5px;
	width: 31%;
	width: 100%;
	margin-right: 1%;
	height: auto !important;
	float: left;
}
.page.parent-portfolio #main #content article, .page.parent-portfolio #main #content aside {
	padding: 20px;
}
.page.parent-portfolio #main, .page.page-instant-quote #main {
	padding-bottom: 1px;
}
.page.page-instant-quote #main, .page.page-instant-quote #main #content, .page.page-instant-quote #main #content article {
	width: 100%;
	display: block;
	float: none;
}
.page.page-instant-quote #main #content {
	padding: 10px;
}
.gform_wrapper .three-column .gf_left_half, .gform_wrapper .three-column .gf_right_half {
	width: 99.3% !important;
}
.gform_wrapper .three-column .gfield.gf_right_half {
	margin-left: 0px !important;
}
.gform_wrapper .three-column .top_label select.medium {
	width: 96% !important;
}
.gform_wrapper.three-column_wrapper ul.gform_fields.gform_column {
	display: block;
	float: none;
	width: 100%;
	display: block;
	clear: both;
}
.gform_wrapper .three-column .gf_page_steps {
	/*display: block !important;

	clear: both !important;

	position: relative !important;

	left: 0px;*/

	top: 3px;
}
.gform_wrapper.three-column_wrapper .gform_page_fields > :nth-child(3n+3) {
	padding-left: 0 !important;
}
.gform_wrapper.three-column_wrapper .gform_page_fields > :nth-child(4n+4) {
	padding-left: 0px !important;
}
.gform_wrapper.three-column_wrapper #gform_page_6_2.gform_page, .gform_wrapper.three-column_wrapper #gform_page_6_3.gform_page {
}
.gform_wrapper .three-column .gf_left_half.para_column {
	width: 100% !important;
}
.gform_wrapper.three-column_wrapper .gf_step {
	font-size: 11px;
}
.gform_wrapper .gf_step.gf_step_completed, .gform_wrapper .gf_step.gf_step_active, .gform_wrapper .gf_step.gf_step_pending {
	/*width: 31% !important; padding-top: 0px;*/

	background-size: contain;
	padding-top: 4px;
}
body.blog, body.single.single-post.post-type-post, body.archive {
	overflow-x: hidden;
}
body.blog #main, body.blog #main .blog-post div.title, body.single.single-post.post-type-post #main, body.single.single-post.post-type-post #main .blog-post div.title, body.archive #main, body.archive #main .blog-post div.title {
	width: 100%;
	display: block;
}
body.blog #main #content, body.single.single-post.post-type-post #content, body.archive #content {
	width: 96%;
	padding: 40px 10px;
}
body.blog #main #content article, body.single.single-post.post-type-post #content article, body.single.single-post.post-type-post #content aside, body.archive #main #content article, body.archive #main #content aside, body.blog.post-type-post #content aside {
	float: none;
	width: 100%;
	clear: both;
	display: block;
}
body.blog #main .blog-post div.image, body.archive .blog-post div.image {
	float: left !important;
}
body.single.single-post.post-type-post #content article span.embed-youtube iframe {
	max-width: 100% !important;
	height: auto !important;height: 360px !important;
}
#feature div.images div.image, #feature div.images, #feature.with-image {
	width: 100% !important;
	height: 290px !important;
	background-size: contain;
}
aside nav.pages {
	display: none !important;
}
#footer {
	height: auto;
	display: block;
	clear: both;
	margin-top: 10px;
}
.footer_menu {
	margin-bottom: 15px;
	width: 40%;
	float: left;
}
#footer div.top div.inner {
	width: 50%;
	margin-left: 5%;
	float: left;
	clear: right;
	height: 200px;
}
#footer div.top div.connect {
	float: left;
	width: 190%;
	display: block;
	clear: both;
	margin-top: 400px;
	margin-top: 10px;
	height: auto;
	margin-left: -90%;
}
footer#footer .subscribe {
	width: 45%;
	overflow: hidden;
	max-height: 100px;
	float: left;
	margin-right: 3%;
}
footer#footer .gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type="image"], .gform_wrapper .gform_footer input[type="submit"] {
}
#footer div.top {
	height: 275px;
}
#footer div.top div.connect nav.social h2 {
	margin-bottom: 0.8em;
}
.page.page-contact #gform_wrapper_3.gform_wrapper {
	padding-left: 20px;
}
body.page-template-contact-php .gform_wrapper .gform_footer input.button {
	margin-left: 0px;
}
body.page-template-contact-php section.addresses {
	margin-left: 20px;
}
body.page-template-contact-php aside {
	padding-left: 20px;
}
.footer-subscribe .gform_button, .page-thank-you .gf_browser_chrome .footer-subscribe .gform_button, .page-thank-you .gf_browser_safari .footer-subscribe .gform_button, .page-thank-you .gf_browser_gecko .footer-subscribe .gform_button {
	top: 1px;
	right: 1px;
}
.footer-subscribe .gform_button, .gf_browser_chrome .footer-subscribe .gform_button, .gf_browser_safari .footer-subscribe .gform_button, .gf_browser_gecko .footer-subscribe .gform_button {
	top: 1px;
	right: 5px;
}
.page-thank-you .gf_browser_chrome .footer-subscribe .gform_button, .page-thank-you .gf_browser_safari .footer-subscribe .gform_button, .page-thank-you .gf_browser_gecko .footer-subscribe .gform_button {
	top: 5px;
	right: 10px;
}
.page-instant-quote .gf_browser_chrome .footer-subscribe .gform_button, .page-instant-quote .gf_browser_safari .footer-subscribe .gform_button, .page-instant-quote .gf_browser_gecko .footer-subscribe .gform_button {
	top: 5px;top: 17px;
	right: 14px;
}
.sb-slidebar.sb-right {
	position: fixed;
	top: 0;
	height: 100%;
	z-index: 99999999;
	width: 260px;
	overflow-x: hidden;
	overflow-y: auto;
	font-size: 15px;
	background: #f8f8f8;
	color: #333;
	box-shadow: 0 0 5px 5px #ebebeb inset
}
.sb-slidebar.sb-right ul {
	display: block;
	margin: 0 0 15px;
	padding: 0;
	border-top: 1px solid #dfdfdf;
	border-bottom: 1px solid #fff
}
.sb-slidebar.sb-right ul li {
	display: block;
	margin: 0;
	line-height: 48px;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #dfdfdf
}
.sb-slidebar.sb-right ul li:hover, .sb-slidebar.sb-right ul li.active, .sb-slidebar.sb-right ul li.sb-slidebar.sb-right-class-active {
	border-top: 0;
	line-height: 49px
}
.sb-slidebar.sb-right ul li:hover>a, .sb-slidebar.sb-right ul li:hover>span, .sb-slidebar.sb-right ul li.active>a, .sb-slidebar.sb-right ul li.active>span, .sb-slidebar.sb-right ul li.sb-slidebar.sb-right-class-active>a, .sb-slidebar.sb-right ul li.sb-slidebar.sb-right-class-active>span {
	box-shadow: 0 0 15px 3px #ebebeb inset
}
.sb-slidebar.sb-right ul li a, .sb-slidebar.sb-right ul li span {
	padding: 0 15px;
	display: block;
	text-decoration: none;
	color: #333
}
.sb-slidebar.sb-right ul li ul {
	border-bottom: 0;
	margin: 0
}
.sb-slidebar.sb-right ul li ul li {
	line-height: 40px;
	font-size: 13px
}
.sb-slidebar.sb-right ul li ul li:last-child {
	border-bottom: 0
}
.sb-slidebar.sb-right ul li ul li:hover, .sb-slidebar.sb-right ul li ul li.active, .sb-slidebar.sb-right ul li ul li.sb-slidebar.sb-right-class-active {
	border-top: 0;
	line-height: 41px
}
.sb-slidebar.sb-right ul li ul li:hover>a, .sb-slidebar.sb-right ul li ul li:hover>span, .sb-slidebar.sb-right ul li ul li.active>a, .sb-slidebar.sb-right ul li ul li.active>span, .sb-slidebar.sb-right ul li ul li.sb-slidebar.sb-right-class-active>a, .sb-slidebar.sb-right ul li ul li.sb-slidebar.sb-right-class-active>span {
	box-shadow: 0 0 15px 3px #ebebeb inset
}
.sb-slidebar.sb-right ul li ul li a, .sb-slidebar.sb-right ul li ul li span {
	color: rgba(51,51,51,0.8);
	padding-left: 30px
}
.sb-slidebar.sb-right form {
	margin: 0 15px
}
.sb-slidebar.sb-right label {
	font-size: 13px
}
.sb-slidebar.sb-right input[type="text"], .sb-slidebar.sb-right input[type="password"], .sb-slidebar.sb-right input[type="date"], .sb-slidebar.sb-right input[type="datetime"], .sb-slidebar.sb-right input[type="email"], .sb-slidebar.sb-right input[type="number"], .sb-slidebar.sb-right input[type="search"], .sb-slidebar.sb-right input[type="tel"], .sb-slidebar.sb-right input[type="time"], .sb-slidebar.sb-right input[type="url"], .sb-slidebar.sb-right textarea, .sb-slidebar.sb-right select {
	width: 100%;
	font-size: 13px;
	padding: 5px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	margin: 0 0 10px;
	border-radius: 2px;
	border: 0;
	background: rgba(0,0,0,0.1);
	color: rgba(51,51,51,0.6);
	display: block;
	clear: both
}
.sb-slidebar.sb-right input[type=checkbox] {
	width: auto;
	display: inline;
	clear: none
}
.sb-slidebar.sb-right input[type=button], .sb-slidebar.sb-right input[type=submit] {
	color: #f8f8f8;
	background: #333
}
.sb-slidebar.sb-right input[type=button]:hover, .sb-slidebar.sb-right input[type=submit]:hover {
	background: rgba(51,51,51,0.9)
}
footer#footer {
	z-index: 51 !important;
}
#footer, body.blog #footer, body.post-type-post #footer, body.archive.tag #footer, body.archive.category #footer {
	height: auto;
	display: block;
	clear: both;
	margin-top: 10px;
}
body.blog #footer div.top, body.post-type-post #footer div.top, body.archive.tag #footer div.top, body.archive.category #footer div.top{display:block;}
.gform_wrapper ul:not(.top_label) .gfield_label{width:75% !important;}
li#field_5_24 label.gfield_label{display:none;}

body.blog footer#footer .subscribe .gform_wrapper, body.post-type-post footer#footer .subscribe .gform_wrapper {margin:0px;}
body.blog footer#footer .subscribe .gform_wrapper .top_label .gfield_label, body.post-type-post footer#footer .subscribe .gform_wrapper .top_label .gfield_label{display:none;}
}

@media only screen 
    and (min-device-width : 374px) 
    and (max-device-width : 415px)
{ 
body.page-template-portfolio .portfolio-slider-content{bottom:24px;margin-bottom:3px;}
body.page-template-portfolio .portfolio-slider-content h1{
padding-top:30px;
}
}