/*
* Skeleton V1.2
* Copyright 2011, Dave Gamache
* www.getskeleton.com
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
* 6/20/2012
*/

/* Table of Content
==================================================
	#Site Styles
	#Page Styles
	#Media Queries
	#Font-Face */

/* #Site Styles
================================================== */

/* #Page Styles
================================================== */

/* #Media Queries
================================================== */

	/* Smaller than standard 960 (devices and browsers) */
	@media only screen and (max-width: 1001px) {
	
		#main iframe { width: 620px; height: 400px; }
	
		#quote-slider, #logo, .main-menu { display: none !important; }
		.sticky-wrapper .main-menu { display: block !important; }
		#page { width: 620px !important; }
		#homepage, #homepage > div, #homepage > div > div { width: 620px !important; }
		#homepage > div { height: auto !important; }
		#homepage > div > div { height: 520px !important; }
		#homepage > div > div div.hover-bg { background: url(../images/transp-bg02.png) right bottom no-repeat !important; }
		#homepage > div > div div.main-content { width: 50% !important; }

		.mobile-menu { display: block; }
		
		.sticky-wrapper .main-menu { width: 620px !important; }
		
		#homepage #posts { padding: 20px; width: 580px !important; height: auto; margin-bottom: 50px; }
		
		.sticky-wrapper { opacity: 1; z-index: 10; top: 0; }
		
		.sticky-wrapper div, .sticky-wrapper { position: relative !important; margin-bottom: 10px; }
		
		.sticky-wrapper .main-menu > ul { background: #fff; padding: 30px; margin-top: 15px !important; display: none; width: 560px; }
		.sticky-wrapper .main-menu ul li a { padding: 12px 0; display: block; }
		.sticky-wrapper .main-menu ul { float: none !important; text-align: left; }
		.sticky-wrapper .main-menu ul li { display: block !important; margin: 0 !important; }
		.sticky-wrapper .main-menu ul ul.sub-menu { display: block !important; margin-left: 25px !important; }
		
		.main-menu ul li.mega-menu > ul.sub-menu { background: none !important; }
		
		#blog.simple-blog.w_sidebar > ul { float: none; width: 620px; }
		
		#blog ul li, #clients ul.clients, #clients .clients-list { width: 620px; }
		#clients ul.clients { height: 505px; }
		
		ol.comment-list ol.children { margin-left: 0; }
		
		#sidebar.widgets-area { float: none; width: 620px; }
		.page.the-page.page-w-sidebar { float: none; width: 510px; }
		#sidebar.widgets-area > ul { box-shadow: none; margin-top: 0; }
		
		#blog.simple-blog div.title-meta h1, div.title-meta span.meta { float: none; width: 100%; margin: 20px 0 0; }
		div.title-meta span.meta { display: inline-block; margin: 0 0 20px; text-align: left; }
		
		#blog.special-blog ul li { margin: 0 !important; }
		#blog.special-blog ul li article { padding-bottom: 30px; }
		#blog.special-blog ul li div div.title-meta h1, #blog.special-blog ul li div div.title-meta span.meta { float: none !important; width: 100% !important; margin: 20px 0 0; }
		#blog.special-blog ul li div div.title-meta span.meta { display: inline-block !important; margin: 0 0 20px !important; }
		#blog.special-blog ul li:nth-child(2n) article div div.title-meta span.meta { text-align: right; }
		
		.page.the-page .title-meta h1 { width: 100%; padding-bottom: 0; margin-bottom: 0; }
		.page.the-page div.title-meta span.meta { margin: 0 0 20px; width: 100% !important; }
		
		p.comment-form-author, p.comment-form-email, p.comment-form-url, p.comment-form-comment textarea { width: 100%; float: none; margin-right: 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
		
		#team > ul > li { float: none; margin: 0 0 25px !important; width: 100%; overflow: hidden; }
		#team > ul > li:last-child { margin-bottom: 0 !important; }
		
		.contact-container .full ul li { margin: 0 0 20px; width: 50%; }
		
		.sub-menu { opacity: 1 !important; }
		
		
		
	/* End */
	}

	/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
	@media only screen and (max-width: 640px) {
	
		#main iframe { width: 400px; height: 250px; }
	
		#page { width: 320px !important; }
		#homepage, #homepage > div, #homepage > div > div { width: 320px !important; }
		
		#homepage > div > div { height: 320px !important; }
		#homepage > div > div div.hover-bg { background: url(../images/transp-bg02.png) 100px bottom no-repeat !important; }
		.sticky-wrapper .main-menu { width: 400px !important; }
		
		.sticky-wrapper .main-menu > ul { width: 340px; }
		
		ol.comment-list ol.children { margin-left: 0; }
		
		#homepage #posts { padding: 20px; width: 360px !important; height: auto; margin-bottom: 50px; }
		
		#blog.simple-blog.w_sidebar > ul { float: none; width: 320px; }
		
		#blog ul li, #clients ul.clients, #clients .clients-list { width: 320px; }
		#clients ul.clients { height: 390px; }
		
		#sidebar.widgets-area { float: none; width: 400px; }
		.page.the-page.page-w-sidebar { float: none; width: 290px; }
		
		#team > ul > li a.read-more { margin: 0 0 20px 225px; }
		
		.contact-container .full ul li, #std_work .title-meta h1, #std_work .title-meta h3 { width: 100%; }
		.contact-container .half { float: none; height: 425px; margin-bottom: 40px; width: 100%; }
		.contact-container .half form, .contact-container .half h3 { margin-left: 0; }
		
		#work ul li { margin: 0 10% 20px;width: 80%; }
		#work ul li:last-child { margin-bottom: 0; }
		#work + #navigation ul { margin: 0 15% 0 0; }
		
		#team > ul > li div.b000 img.yo-face, #team > ul > li div.b000 img { height: 100%; max-width: none; width: auto; }
		#team > ul > li a.read-more { margin: 0 0 20px; }
		#team > ul > li div.b000 { height: 236px; width: 196px; overflow: hidden; }
		
		.footerTop #social{width: 100%;margin: 5px 0;}
		.gridContainer.clearfix.j1 .j57, .gridContainer.clearfix.j1{height: 277px;min-height: 200px;}
		.search{width: 96%;padding: 10px 2%;border:0;}
		.footerTop #footer-menu{display:none;}
		#social a{width:20% !important;}
		#footer p.footer-default {float: none;width: 90%;margin: 15px auto 0;}
		.titleFoot {float: none;font-size: 30px;margin-top: 10px; text-align: center;}
		
		.page-id-38 .page.the-page .title-meta h1 {float: none;font-size: 28px;margin: 0;padding: 70px 0 0;text-align: center;}
		.page-id-38 div.title-meta{background-position:center center;background-size:cover;}
		
		#blog ul li article div.b000 img{height: auto;width: 100%;}
		#blog.simple-blog ul li article div.b000 h1{padding:0 0 0 5px;width: 100%;font-size: 25px;height: 50px;background:none;}
		#blog.simple-blog ul li article div.b000 h1:hover{background:none;}
		#blog ul li article{padding: 15px;}
		
		#work ul {margin: 15px 0 0;}
		.pdfBox {background: rgba(0, 0, 0, 0.5) none repeat scroll 0 0;height: auto;padding: 5px 0;position: relative;text-align: center;width: 100%;}
		#std-image-work {float: none;width: 100%;}
		#imagesBox img{width: 29%;}
		#Specifictions .left, #Specifictions .right {float: none;margin: 0;padding: 0 5%;width: 90%;}
		#Specifictions h2{margin: 0 -5% 10px;}
		.title-meta-mobile{display:block;}
		.title-meta{display:none;}
		#imagesBox.mobile{display:block;}
		#imagesBox{display:none;}
		
		.uc #main #std-page{height: 120px;top: 100px;background: rgba(0, 0, 0, 0) url("/wp-content/themes/maxim1.2/images/uc.png") repeat scroll center center / cover ;}
		#featuredImg, .uc #main{min-height: 300px;}
	/* End */
	}


/* #Font-Face
================================================== */
/* 	This is the proper syntax for an @font-face file
		Just create a "fonts" folder at the root,
		copy your FontName into code below and remove
		comment brackets */

/*	@font-face {
	    font-family: 'FontName';
	    src: url('../fonts/FontName.eot');
	    src: url('../fonts/FontName.eot?iefix') format('eot'),
	         url('../fonts/FontName.woff') format('woff'),
	         url('../fonts/FontName.ttf') format('truetype'),
	         url('../fonts/FontName.svg#webfontZam02nTh') format('svg');
	    font-weight: normal;
	    font-style: normal; }
*/