




/*
     FILE ARCHIVED ON 23:01:09 Mar 22, 2016 AND RETRIEVED FROM THE
     INTERNET ARCHIVE ON 19:28:07 Sep 5, 2016.
     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.

     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
     SECTION 108(a)(3)).
*/
/*  #Mobile (Portrait)
================================================== */
/* Note: Design for a width of 320px */

@media only screen and (max-width: 767px) {

	h2 {margin-bottom:10px;}
	
	.indent-left {padding:0;}
	.indent-right {padding:0;}
	
	.list-1 {margin-bottom:25px;}
	
	/* Navigations
	---------------------------------------- */
	
	/* Primary navigation */
	#topnav {
		display:none;
	}
	nav.primary {
		clear:both;
		width:288px;
		margin:0;
		text-align:center;
		padding:5px;
	}
	.row-top {
		padding:20px 0 0 0;
	}
	/* Logo */
	.logo {
		padding:0;
		float:none;
		width:150px;
		margin:0 auto 6px auto;
		}
	.logo img{
		width:150px;
		height:auto;
		}
	.logo .tagline {
		display:block;
		position:relative;
		z-index:2;
		text-align:center;
		margin:0;
		}
	.logo h1,
	.logo h2 {
		font-size:1.5em;
		}
			
	.top-menu {padding:0;}
		
	
	/* Top search */
	#top-search {padding:5px 5px 0 5px; float:none;}
	#top-search form {width:275px;}
	#top-search .input-search {
		width:240px;
		margin-right:0;
		}
		
	#searchform .searching {width:165px; margin-right:10px;}
	
	
	/* Header widget */
	#widget-header {
		text-align:center;
		}
	
	
	/* Slider
	---------------------------------------- */
	#slider-wrapper {margin-top:0;}
	.slider-bg {padding:95px 0 10px;}
	.slider {width:300px; overflow:hidden;}
	.flexslider-holder {height:95px;}
	.flexslider {width:100%; height:auto;}
	.flexslider:after,
	.flexslider:before {display:none; background:none;}
	.flex-control-nav {bottom:auto; top:15px; right:10px;}
	.flex-caption {display:none;}
	
body.home .primary_content_wrap,
.primary_content_wrap {padding:50px 0 20px;}
	
.top-box {margin-bottom:10px; padding-bottom:15px; background:url(wp-content/themes/theme1838/images/hr.gif) 0 100% repeat-x;}
.top-box p {margin:0 0 8px; overflow:hidden;}

.border-bot {padding:0; margin:0; background:none;}
		
	
	/* Flickr widget */
	.flickrImages a {
		width:49px;
		height:49px;
		}
	
	/* Request a quote */
	.box-text {
		width:100%;
		float:none;
		margin-bottom:5px;
		}
	.box-button {
		width:100%;
		float:none;
		text-align:right;
		padding-left:0;
		padding-right:0;
		}
		.box-button .button {
			float:none;
			}
	
	/* Post */
	.post-holder,
	.post-holder.single-post	{margin-bottom:20px; padding-bottom:20px;}
	
	.post-thumb {
		float:none;
		margin-right:3px;
		margin-bottom:10px;
		}
		.post-thumb img {
			width:100%;
			height:auto;
			}
	.post-meta .fright {
		float:none;
		clear:left;
		}
	.post-thumb.large {
		width:auto;
		height:auto;
		margin:3px 3px 10px 3px;
		}
		
	.post_list.decorate figure span {width:292px; overflow:hidden;}
	.featured-thumbnail {float:none; margin:3px 3px 10px;}
	.single-post .featured-thumbnail.no-hover {margin:3px auto 10px; width:138px;}
	.recent-posts.researches li {margin:0 0 20px;}
	.recent-posts.researches li .thumb-wrap {margin:3px 3px 15px 3px;}
	
	
	/* Research Solutions */
	.recent-posts.research-solutions li {
		margin:0 10% 0px 0;
		width:45%;
		float:none;
		display:inline-block;
		}
	.recent-posts.research-solutions li:nth-child(2n) {float:none; margin-right:0;}
	
	
	
	/* Comments */
	.comment-meta {
		position:static;
		padding-bottom:1em;
		}
	.comment-author {
		padding-bottom:0;
		}
	
	#commentform input[type="text"],
	#commentform textarea {
		width:280px;
		height:150px;
		min-height:150px;
		}
	
	
	.post_list {background:url(wp-content/themes/theme1838/images/hr.gif) 0 100% repeat-x; padding-bottom:15px; margin-bottom:15px;}
	/* Team */
	.recent-posts.team li {
		margin:0 10% 30px 0;
		width:44%;
		display:inline-block;
		float:none;
		}
	.recent-posts.team li:nth-child(2n) {float:none; margin-right:0;}
	
	/* Services */
	.recent-posts.services li {
		float:none;
		width:100%;
		margin:0 0 30px 0;
		}
	
	/* Testimonials list*/
	article.testimonial {
		padding:18px 0px 15px 85px;
		margin-bottom:15px;
		background-position:70px 12px;
		}
		.testi-pic {
			left:10px;
			top:10px;
			width:50px;
			height:50px;
			}
			.testi-pic img {
				padding:1px;
				width:100%;
				height:auto;
				}
		.name-testi {padding:0;}
	
	/* Images */
	.frame.alignleft,
	.frame.alignright,
	.frame.alignnone {
		margin-right:3px;
		margin-bottom:20px;
		width:282px;
		}
	.frame.alignleft img,
	.frame.alignright img,
	.frame.alignnone img	{
		width:100%;
		height:auto;
		}
		
	.spacer {height:20px;}
	
	
	/* SlidesJS */
	.slides_container {
		width:300px;
	}
	.slides_container .item {
		width:300px;
		height:250px;
	}
	.slides_container .item .thumbnail img {
		width:100%;
		height:auto;
		}
	
	
	/* Address */
	.address dt {
		width:auto;
		margin:0 0 20px 0;
		padding:0 0 0 55px;
		font-size:12px;
		float:none;
		}
	.address dd {
		float:none;
		width:auto;
		padding:0 0 0 43px;
		margin:0 0 20px 0;
		}
		.address dd span {
			width:100px;
			}
	
	
	/* Comments */
	.commentlist ul.children {
		padding-left:0;
		}
			

/* Portfolio
---------------------------------------- */
#gallery .portfolio li a.image-wrap {
	width:290px;
	height:181px;
}

/* 1 column portfolio*/
#gallery.one_column .portfolio li a.image-wrap {
	width:290px;
	height:170px;
	float:none;
	}
	#gallery.one_column .folio-desc {
		width:100%;
		padding-top:15px;
		margin:0;
		}
			
/* 4 columns portfolio*/
#gallery.four_columns .portfolio li {
	width:100%;
	margin:0 0 30px 0;
	float:none;
	}
	#gallery.four_columns .portfolio li a.image-wrap {
		width:282px;
		height:175px;
		}
		#gallery.four_columns .portfolio li a img {
			width:100%;
			height:auto;
			}

/* 2 columns portfolio*/
#gallery.two_columns .portfolio li {
	width:100%;
	margin-right:0;
	}
	#gallery.two_columns .portfolio li a.image-wrap {
		width:285px;
		height:172px;
		}

/* Carousel */
.es-carousel ul li h4 {
	display:none;
	}
.es-carousel ul li .excerpt {
	display:none;
	}
.es-carousel ul li .link {
	display:none;
	}	

article.testimonial {font-size:13px;}
blockquote.testi-single {padding:10px 10px 10px 75px; background-position:70px 10px;}
/* Google map */
#map {
	width:300px;
	height:140px;
	overflow:hidden;
	margin-bottom:10px;
	}
	
/* Contact form */
.wpcf7-form p.field input {
	width:285px;
	}
.wpcf7-form textarea {
	float:left;
	width:285px;
	max-width:285px;
	min-width:285px;
	height:150px;
	min-height:150px
	}
.wpcf7-not-valid-tip {
	width:285px !important;
	position:absolute;
	left:0 !important;
	top:0 !important;
	padding:5px !important;
	background:#f3b7b7 !important;
	color:red !important;
	border:1px solid red !important;
	height:16px !important;
	line-height:16px !important;
	}
	
#sidebar {padding-top:15px;}

/*404
--------------------------------------------*/
#error404 {padding:0;}
.error404-num {font-size:150px;}
#error404 hgroup {padding-top:20px;}
		
	
/* Footer
---------------------------------------- */
#back-top-wrapper {display:none; width:0; height:0; overflow:hidden;}
#footer {height:auto;}
.footer-bg {padding:20px 0 0;}
nav.footer {
	float:none;
	text-align:center;
	padding:0 0 10px 0;
	}

#footer-text {
	width:100%;
	text-align:center;
	}
	
#widget-footer {float:none;}
#widget-footer ul.social-networks {width:100%; text-align:center;}
#widget-footer ul.social-networks li {float:none; display:inline; background-position:0 3px;}
#copyright {float:none;}
/* Shop settings
---------------------------------------- */
.widget-before-content {
	border-bottom:none;
	box-shadow:0 0 1px 0 #bbb;
}
.shopping-block {
	float:none !important;
}
.shop-nav {
	padding:0 0 10px 0 !important;
	display:block !important;
}
#shopnav {
	text-align:center;
}
#shopnav li {
	display:inline-block;
	padding:0 0 0 4px;
	margin:0 0 0 3px;
	float:none;
}
#shopnav li a {
	font-size:11px;
}
#cart-holder {
	float:right;
	margin:0 0 10px 0;
}
.products li img{
	max-width: 100%;
	height: auto;
}
.widget-before-content .products li:after {
	display:none;
}
.products li img{width: 100%;}
.products li{
	width: 100% !important;
	margin: 0 0 20px 0;
	padding: 0 !important;
}
.content-block .products li .button{
	padding:0 6px;
}
.products li .title {
	min-height:20px;
}
.products li .product-inner {
	padding:20px 20px !important;
}

.before-content .products li {
	margin:0 0 20px 0;
}
.before-content .products li.last {
	margin:0 0 20px 0 !important;
}
.content-block.left-block .product-image-wrap {
	float:none;
	width:188px;
	height:135px;
	margin:0 auto 10px auto;
}
.product.type-product .images {
    float: none;
    margin: 0 auto 20px auto;
	width:310px;
}
.product.type-product .images a[rel="prettyPhoto[nn]"]{
	max-width: 100%;
}
.product.type-product .images .sub-pager a{margin: 0;}
.product.type-product .images .sub-pager{padding-left: 0;}

.product #tabs .tabs li a {
    padding: 8px 5px;
}

	#shop-cart.shop_table {width: 100%;}
	#shop-cart.shop_table thead {
		display: none;
		}	
	#shop-cart.shop_table tbody {
		display: block;
		overflow: hidden;
		border-left: 1px solid #ccc;
		border-top: 1px solid #ccc;
	}	
	#shop-cart.shop_table tbody tr {
		width: 100%; 
		float: left;
		display: block; 
		padding: 10px;
		border-width: 0 1px 1px 0;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		border-collapse: collapse;
	}
	#shop-cart.shop_table tbody tr td {
		float: left;
		padding: 0;
		text-align: left;
		margin-bottom: 4px;
	}
	
	#shop-cart.shop_table tbody tr .product-thumbnail {
		overflow: hidden;
		margin-right: 12px;
	}
	#shop-cart.shop_table tr td.product-name .variation {display: none;}
	#shop-cart.shop_table tr td.product-quantity .quantity {margin-bottom: 0;}
	#shop-cart.shop_table tr td.product-quantity .quantity .qty {
		padding: 2px 6px 3px;
		width: 10px;
	}
	#shop-cart.shop_table tr td.product-quantity {text-align: left;}
	#shop-cart.shop_table tbody tr .product-name {
		overflow: hidden; 
		float: none; 
		text-align: left;
		text-overflow:ellipsis;
		white-space:nowrap;
	}
	#shop-cart.shop_table tbody tr .product-price, 
	#shop-cart.shop_table tbody tr .product-quantity {overflow: hidden; float: none;}
	#shop-cart.shop_table tbody tr .product-subtotal {overflow: hidden;}
	#shop-cart.shop_table tr td.product-thumbnail a {max-width: 50px;}
	#shop-cart.shop_table {border-collapse: separate;}
	#shop-cart.shop_table tbody td {
		display: block;
		border-bottom: none;
		border: none;
	}
	.shop_table td .m-label {
		display: inline; 
		font-weight: bold; 
		float: left;	
		width: 70px;
		text-align: right;
		margin-right: 10px;
	}
	#shop-cart.shop_table.cart tfoot tr td {border-top: none;}
	#shop-cart.shop_table tr td.product-remove {padding: 9px 10px 9px 0;}
	.shop_table tfoot tr td .checkout-button,
	.shop_table tfoot tr td .button{
		float: none;
		display: inline-block;
	}	
	.shop_table.cart tfoot tr td.actions {
	    text-align: center;
	}
	.my_account_orders tr th:nth-child(3) {
		display:none;
	}
	.my_account_orders tr td:nth-child(3) {
		display:none;
	}
	.product #tabs #commentform #comment, .product #tabs #commentform input[type="text"] {
	    width: 248px !important;
	}

	form.checkout #customer_details .form-row.form-row-first,
	.jigoshop-myaccount .form-row.form-row-first {
		float: none;
		width: 100%;
	}
	form.checkout #customer_details .form-row, .jigoshop-myaccount .form-row {
	    -moz-box-sizing: border-box;
	    margin-bottom: 25px;
	    padding-right: 0;
	    width: 100%;
	}
	.product.type-product .quantity {
	    margin-bottom:15px; 
	}
	.product.type-product form.cart .button-alt {
	    margin: 0 0 0 20px;
	}
	.shop_table tfoot tr td .button {
	    margin-top: 0;
	}
	form.checkout #customer_details .form-row.form-row-first, .jigoshop-myaccount .form-row.form-row-first {
	    float: none;
	    max-width: 100%;
	    width: 100%;
	}
	.shop_table tr td{ padding: 6px 2px 7px;}
	#order_review .shop_table select {
		width:88%;
	}
	.prod_rate {
		margin:0 10px !important;
	}
	.hr {margin:10px 0 15px;}
}
