/* Copyright (C) YOOtheme GmbH, http://www.gnu.org/licenses/gpl.html GNU/GPL */

/*
 * Layout Style Sheet - Provides a fluid grid and helper classes to create any layout and some layout defaults
 */


/* Grid and Clearing Tools
----------------------------------------------------------------------------------------------------*/

.clearfix:before,
.clearfix:after,
.grid-block:before,
.grid-block:after,
.deepest:before,
.deepest:after {
	content: "";
    display: table;
}
.clearfix:after,
.grid-block:after,
.deepest:after { clear: both; }

.grid-box { float: left; }

/* Grid Units */
.width16 { width: 16.666%; }
.width20 { width: 20%; }
.width25 { width: 25%; }
.width33 { width: 33.333%; }
.width40 { width: 40%; }
.width50 { width: 50%; }
.width60 { width: 60%; }
.width66 { width: 66.666%; }
.width75 { width: 75%; }
.width80 { width: 80%; }
.width100 { width: 100%; }

[class*='width'] {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

/* Create new Block Formatting Contexts */
.bfc-o { overflow: hidden; }
.bfc-f {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	width: 100%;
	float: left;
}

/* Align Boxes */
.float-left { float: left; }
.float-right { float: right; }

/* Grid Gutter */
.grid-gutter.grid-block { margin: 0 -15px; }
.grid-gutter > .grid-box > * { margin: 0 15px; }

.grid-gutter > .grid-box > * > :first-child { margin-top: 0; }
.grid-gutter > .grid-box > * > :last-child { margin-bottom: 0; }


/* Layout Defaults
----------------------------------------------------------------------------------------------------*/

/* Center Page */
.wrapper {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	margin: auto;
}

/* Header */
#header { position: relative; }

#toolbar .float-left .module,
#toolbar .float-left > time {
	margin: 0 15px 0 0;
	float: left;
}

#toolbar .float-right .module {
	margin: 0 0 0 15px;
	float: right;
}

#headerbar .module {
	max-width: 300px;
	margin-right: 0;
	float: right;
}

#logo, #logo > img,
#menu { float: left; }
#search { float: right; }

#banner {
	position: absolute;
	top: 0;
	right: -200px;
}

/* Footer */
#footer {
	position: relative;
	text-align: center;
}

/* Absolute */
#absolute {
	position: absolute;
	z-index: 15;
	width: 100%;
}





/********************************vi**********************************/

/*#headerbar .module.deepest img {
    width: 100% !important;
}
*/
.tel_im {
    display: none;
}
.menu-dropdown a.level1 > span, .menu-dropdown span.level1 > span {
    padding: 0 7.8px !important;
}
@media only screen and (min-width: 320px) and (max-width: 360px){
	.tel_im img {
	    width: 100% !important;
	}
	.content.clearfix p:nth-child(2) img {
	    width: 100%;
	}
	/*****************fast-fencing-quote**********************/
	#chronoform-New-Quote-page .control-label.gcore-label-left.required_label {
	    font-size: 14px;
	}
	#form-row-checkbox_group30 .control-label.gcore-label-left.gcore-label-checkbox.required_label {
	    float: left;
	    min-width: 35%;
	    color: #000000;
	}
	#form-row-checkbox_group31 .control-label.gcore-label-left.gcore-label-checkbox.required_label {
	    float: left;
	    min-width: 35%;
	    color: #000000;
	}
	#form-row-checkbox_group32 .control-label.gcore-label-left.gcore-label-checkbox.required_label {
	    float: left;
	    min-width: 35%;
	    color: #000000;
	}
	#chronoform-New-Quote-page .control-label.gcore-label-checkbox {
	    margin-left: 6px;
	    font-size: 12px !important;
	}
	.gcore-input.gcore-display-table {
	    float: left;
	}
	#chronoform-New-Quote-page .form-control.A{
	    width: 100% !important;
	}
	#chronoform-New-Quote-page .control-label.gcore-label-left {
	    min-width: 100%;
	}
	/************contact*****************/
	#chronoform-contact-form .control-label {
	    margin-left: 0;
	}

}

@media only screen and (min-width: 361px) and (max-width: 420px){
	/*************************contact********/
	#chronoform-contact-form .control-label {
	    margin-left: 0;
	}
	#chronoform-contact-form #fin-textarea5 {
	    width: 50% !important;
	}
	#chronoform-contact-form #textarea5 {
	    width: 100% !important;
	}
}


@media only screen and (min-width: 361px) and (max-width: 520px){
	.content.clearfix p:nth-child(2) img {
	    width: 100%;
	}
	/*****************fast-fencing-quote**********************/
	#chronoform-New-Quote-page .control-label.gcore-label-left.required_label {
	    font-size: 14px;
	}
	#form-row-checkbox_group30 .control-label.gcore-label-left.gcore-label-checkbox.required_label {
	    float: left;
	    min-width: 35%;
	    color: #000000;
	}
	#form-row-checkbox_group31 .control-label.gcore-label-left.gcore-label-checkbox.required_label {
	    float: left;
	    min-width: 35%;
	    color: #000000;
	}
	#form-row-checkbox_group32 .control-label.gcore-label-left.gcore-label-checkbox.required_label {
	    float: left;
	    min-width: 35%;
	    color: #000000;
	}
	#chronoform-New-Quote-page .control-label.gcore-label-checkbox {
	    margin-left: 6px;
	    font-size: 12px !important;
	}
	.gcore-input.gcore-display-table {
	    float: left;
	}
	#chronoform-New-Quote-page .form-control.A{
	    width: 100% !important;
	}
	#chronoform-New-Quote-page .control-label.gcore-label-left {
	    min-width: 100%;
	}
	/*************************contact********/
	#chronoform-contact-form .control-label {
	    margin-left: 0;
	}
	#chronoform-contact-form #fin-textarea5 {
	    width: 50% !important;
	}
	#chronoform-contact-form #textarea5 {
	    width: 100%;
	}

}

@media only screen and (min-width: 480px) and (max-width: 580px){
		
	.module.mod-line.g1.deepest {
	    float: left;
	    min-width: 95% !important;
	    width: 95% !important;
	}
	#sidebar-a .module.mod-line.g1.deepest p img{
	    width: 77% !important;
	    min-width: 100% !important;
	}
	#fin-captcha2 > img{
		min-width: inherit !important; 
	}
}
@media only screen and (max-width: 767px){
	#page #main #maininner {
	    margin-top: 13px;
	}
	.tel_im {
	    display: block;
	    text-align: center;
	    width: 100%;
	}
	.wk-slideshow.wk-slideshow-default {
	    margin-top: 10px;
	    display: none;
	}
	.tel_im img {
	    width: auto;
	}
	.content.clearfix #fenc_ing {
	    text-align: center;
	}
	#content #system .clearfix #fenc_quote img {
	    width: 100%;
	}
	#footer {
	    padding-bottom: 5%;
	}
	.dark > a {
	    margin-left: 24px;
	}
	.dark > a:nth-child(2) {
	    margin-right: 15px !important;
	}
	.dark {
	    float: left;
	    padding-left: 10px;
	    padding-right: 0;
	    text-align: left !important;
	    width: 97%;
	}
	body {
	    overflow-x: hidden;
	}
	/**********fast-quote************/
	.gcore-form-row .control-label.gcore-label-left {
	    margin-left: 0;
	}
	#chronoform-container-15 .gcore-input.gcore-display-table {
	    float: left;
	    width: 60%;
	}
	.form-control.A {
	    float: left;
	    margin-left: 0 !important;
	    width: 100%;
	}
	.gcore-checkbox-item {
	    float: left;
	    width: auto;
	}
	#chronoform-New-Quote-page .control-label.gcore-label-left.required_label {
	    /*font-family: Verdana;
	    font-weight: normal;*/
	    margin-left: 0;
	}
	#chronoform-container-15 .control-label.gcore-label-left{
		margin-left: 0;
	}
	#chronoform-New-Quote-page .control-label.gcore-label-left {
	    margin-left: 0;
	}
	#fitem34 {
	    float: left;
	    width: 100%;
	}
	#chronoform-New-Quote-page #fitem33 .control-label.gcore-label-top {
	    margin-left: 0;
	}
	#chronoform-Quote {
	    padding-left: 10px;
	}
	/****/
	#fitem1 {
	    float: left;
	    width: 100%;
	}
	#chronoform-Quote .control-label.gcore-label-top.required_label {
	    margin-left: 0;
	}
	#chronoform-Quote .control-label {
	    margin-left: 0;
	}
	#main #sidebar-a {
	    margin-top: 5%;
	}
	#header-responsive .logo {
	    float: left;
	    text-align: center;
	    width: 100% !important;
	}
	#header #header-responsive {
	    float: left;
	    text-align: center;
	    width: 100%;
	}
	.menu-responsive {
	    width: auto !important;
	    padding: 10px;
	    border: 1px solid #e5e5e6;
    	border-radius: 5px;
	}

}