/* #Tablet (Portrait)
================================================== */
/* Note: Design for a width of 768px */

@media only screen and (min-width: 768px) and (max-width: 959px) {

h2 {margin-bottom:10px;}
.latestpost li h4 {margin:0;}

/* Logo */
.logo {padding:15px 0 0; margin-bottom:20px;}
.logo h1,
.logo h2 {
	font-size:2.2em;
	}
	
.top-menu {padding-top:25px;}
	
/* Navigations */
.sf-menu li a {padding:15px 15px 14px;}
.sf-menu li:hover ul,
.sf-menu li.sfHover ul {top:59px;}
.sf-sub-indicator {top:40px;}

/* Search form */
#top-search {padding:11px 10px 0 0;}
#top-search form {width:205px;}
#top-search .input-search {width:180px;}

/* Slider
---------------------------------------- */
.slider-bg {padding-bottom:25px;}
.slider {width:760px; overflow:hidden; padding-top:15px;}
.flexslider {width:100%; height:346px;}
.flexslider-holder {height:346px;}
.flexslider:after {left:40px}
.flexslider:before {right:40px}
.flex-control-nav {bottom:30px;}
.flex-caption {top:170px;}

.border-bot {margin-bottom:25px; padding-bottom:25px;}
    

.post_list.decorate figure span {width:356px; overflow:hidden;}
.post_list.decorate .post-title {margin-bottom:5px;}

.primary_content_wrap {padding:20px 0;}
.widget {padding-bottom:20px; margin-bottom:20px;}
article.testimonial {margin-bottom:15px; padding-bottom:15px;}
.name-testi {padding:0;}
	
/* Flickr widget */
.flickrImages a {
	width:58px;
	height:58px;
	}

.frame.alignleft img,
.frame.alignright img,
.frame.alignnone img	{
	width:100% !important;
	height:auto !important;
	}

/* SlidesJS */
.slides_container {
	width:214px;
}
.slides_container .item {
	width:214px;
	height:170px;
}

/* Address */
.address dt {
	width:139px;
	margin-right:5px;
	padding:0 0 0 55px;
	}
.address dd {
	width:170px;
	padding:0 0 0 50px;
	}
	.address dd span {
		width:70px;
		}

/* Google map */
#map {
	width:418px;
	height:180px;
	margin-bottom:10px;
	overflow:hidden;
	}

/* Portfolio
---------------------------------------- */

/* Default layout 3 columns */
#gallery .portfolio li {
	width:233px;
	margin:0 21px 10px 0;
	}
	#gallery .portfolio li a.image-wrap {
		width:225px;
		height:140px;
		}

/* 1 column portfolio*/
#gallery.one_column .portfolio li a.image-wrap {
	width:447px;
	height:262px;
	}

		
/* 2 columns portfolio*/
#gallery.two_columns .portfolio li {
	width:361px;
	margin-right:23px;
	}
	#gallery.two_columns .portfolio li a.image-wrap {
		width:355px;
		height:213px;
		}

/* 4 columns portfolio*/
#gallery.four_columns .portfolio li {
	width:169px;
	margin-right:21px;
	}
	#gallery.four_columns .portfolio li a.image-wrap {
		width:161px;
		height:100px;
		}
		
/* Contact form */
.wpcf7-form p.field input {
	width:225px;
	}
.wpcf7-form textarea {
	float:left;
	width:225px;
	max-width:225px;
	min-width:225px;
	}
.wpcf7-not-valid-tip {
	width:225px !important;
	position:absolute;
	left:0 !important;
	top:0 !important;
	padding:5px !important;
	background:#f3b7b7 !important;
	color:red !important;
	border:1px solid red !important;
	}
#commentform textarea {width:512px; min-width:512px; max-width:512px;}
.children #commentform textarea {width:450px; min-width:450px; max-width:450px;}

	
/* Sidebar
---------------------------------------- */
#searchform .searching {width:150px;}	
#sidebar #searchform .searching {width:93px;}	
	
/* 404
---------------------------------------*/
#error404 {padding:0;}
.error404-num {font-size:220px;}

    /*Detailed Quote Contact Form*/

    .wpcf7-form p.field .right-field{
        margin-left:31px;
    }
    .wpcf7-form p.field .right-field-narrow{
        margin-left:16px;
    }
    .wpcf7-form p.field.detailed-quote span{
        min-width: 60px;
    }
    .wpcf7-form p.field .detailed-quote-check-box input{
        width:20px;
    }
    .wpcf7-form p.field.detailed-quote input.half{
        width:97px;
    }
    .wpcf7-form p.field.detailed-quote input.quarter{
        width:54px;
    }

    select.detailed-quote-selector{
        width: 100px;
    }

#back-top-wrapper {display:none; width:0; height:0; overflow:hidden;}

/*Float Widget*/
#float-widget {
    margin-top: 22px;
}

/*sidebar widget*/
.wpcf7-form p.field input.half{
    width:150px;
}

/*landing page quote form*/
div#landing{
    float: right;
}
#landing div.wpcf7{
    width: 200px;
}
#landing .wpcf7-form p.field input.half{
    width: 150px;
    }
#landing .wpcf7-form p.submit-wrap input {
    width: 150px;
    margin: -6px 15px -12px 25px;
}
#text-2 .wpcf7-form p.field input.half {
    width: 140px;
    background-color: #fff;
}
.override_contact_form .wpcf7-form textarea{
    width: 485px;
}
.custom-override-faq .wpcf7-form p.field input.half{
    width:240px;
    margin-bottom: 20px;
}
.override_contact_form .wpcf7-form p.field .right-field-narrow {
    margin-left: 0;
}
}
