/* =================================================================== */
/* 
/*  Puremedia v1.0 Media Queries
/*  url:styleshout.com
/*  10-10-2014
/*
/* =================================================================== */


/* small screens */
@media only screen and (max-width:900px) {

	/* content styles */
	#content #sidebar { padding-left: 0; }

	/* hero section */
	#hero-slider {	margin: 96px auto 30px;	}
	#hero-slider .flex-caption h1 {
		font: 35px/1 "raleway-semibold", sans-serif;
		margin-bottom: 36px;
		line-height:1;
	}

	/* portfolio section */
	#portfolio .row.items {
		max-width: none;
		width: 100%;
		padding: 0;
	}
	#portfolio .row.items .twelve.columns {
		padding: 0;
	}

	/* about section */
	#team-wrapper .member-pic {
		width: 66px;
		height: 66px;
	}


} /* 900 */


/* tablets */
@media only screen and (max-width:768px) {

   /* header styles */
	header {	background: #12151b;	}
	header {	height: 60px; }
	header .logo {	margin: 24px 0 0 0; }
	header .logo a { margin-right: 0; }
	
	/* mobile navigation */
	#nav-wrap {
		z-index: 991;
		display: block;
		margin-top: 0;
		width: 100%;
		float: none;
		position: absolute;
		top: 0;
		right: 0;
	}
	#nav-wrap > a {
		background: #e6002d;
		border: none;
		color: white;
		height: 60px;
		min-width: 60px;
		font-size: 12px;
		text-align: left;
		float: right;
		padding: 0;
		position: relative;
	}
	#nav-wrap .menu-text {
		text-transform: uppercase;
		margin-right: 60px;
		padding-left: 20px;
		vertical-align: middle;
		line-height: 60px;
		display: none;
	}
	#nav-wrap .menu-icon {
		display: inline-block;
		width: 20px;
		height: 3px;
		margin-top: -3px;
		position: absolute;
		right: 20px;
		top: 50%;
		bottom: auto;
		left: auto;
		background: white;
	}
	#nav-wrap .menu-icon:before, 
	#nav-wrap .menu-icon:after {
		content: '';
		width: 100%;
		height: 100%;
		position: absolute;
		background-color: inherit;
		left: 0;
	}
	#nav-wrap .menu-icon:before {
		bottom: 6px;
	}
	#nav-wrap .menu-icon:after {
		top: 6px;
	}
	#nav-wrap ul#nav {
		background: #e6002d;
		padding: 54px 45px 60px 45px;
		margin: 0;
		height: auto;
		display: none;
		clear: both;
		width: 100%;
		float: none;
		position: relative;
		top: 0;
		right: 0;
	}
	#nav-wrap ul#nav > li {
		display: block;
		float: none;
		height: auto;
		text-align: left;
		border-bottom: 1px dotted #3b4558;
		padding: 6px 0;
	}
	#nav-wrap ul#nav > li:first-child {
		border-top: 1px dotted #3b4558;
	}
	#nav-wrap ul#nav li a {
		display: block;
		width: auto;
		padding: 0;
		padding: 12px 0;
		line-height: 16px;
		border: none;
	}
	#nav-wrap ul#nav li a:hover {
		color: white;
	}
	#nav-wrap ul#nav li.current > a {
		background: none;
		color: #e6002d;
	}
	.js #nav-wrap a.mobile-btn {
		display: none;
	}
	.js #nav-wrap a#toggle-btn {
		display: block;
	}
	.no-js #nav-wrap:not(:target) > a:first-of-type, 
	.no-js #nav-wrap:target > a:last-of-type {
		display: block;
	}
	.no-js #nav-wrap:target ul#nav {
		display: block;
	}

	/* content styles */
	#content { padding-top: 54px;	} 
	#content #sidebar {
		margin-top: 42px;
		padding-left: 0;
	}

	/* sidebar styles */
	#sidebar .link-list {
		margin-left: -3px; 
	}
	#sidebar .link-list li {
		display: inline-block;
		padding: 8px 0 8px 0;
	}
	#sidebar .link-list li a {
		display: inline-block;
		white-space: nowrap;		
	}
	#sidebar .link-list li:before {
		content: "|";
		padding-left: 3px;
		padding-right: 6px;
		color: #cfd9db;
	}
	#sidebar .link-list li:first-child:before {
		display: none;
	}
	#sidebar .link-list li:first-child {
		margin-left: 6px;
	}

	/* footer styles */
	footer {	padding-bottom: 36px; }
	footer .footer-about { padding-right: 25px; }
	footer .copyright {
		padding-left: 15px;
		padding-right: 60px;
	}
	footer #go-top { right: 0;	}
	footer #go-top a {
		height: 60px;
		width: 60px;
		line-height: 60px;
		padding: 0;
	}
	footer #go-top a span { display: none;	}
	footer #go-top a i {	font-size: 16px; }

	/* common and shared styles */
	.section-head p {
		font: 20px/33px "merriweather-light", sans-serif;
	}
	#page-title h1 {
		font: 46px/1.3 "raleway-bold", sans-serif;
		width: 100%;
	}
	#page-title p {
		font: 15px/30px "merriweather-light", sans-serif;
		width: 100%;
	}
	.entry header { text-align: center;	}
	.entry .entry-meta ul {
		text-align: center;
		margin-top: 6px;
	}
	.pagenav a[rel="next"]:after { float: right; }

	/* hero section */
	#hero-slider {	margin: 78px auto 24px;	}
	#hero-slider .flex-caption { margin: 0 8%; }
	#hero-slider .flex-caption h1 {
		font: 25px/1 "raleway-semibold", sans-serif;
		line-height:1;
	}

	/* about section */
	#about .about-content {	padding: 0 30px; }
	#about .left {	padding-right: 15px; }
	#about .right { padding-left: 15px;	}
	/*#team-wrapper .member-header { margin-bottom: 0; }*/

	/* blog entry */
	.entry p.lead {
		font: 16px/33px "merriweather-light", sans-serif;
	} 
	#comments h3 {	text-align: center; }
	#comments form {
		margin-left: 0;
		border-bottom: 1px solid white;
	}
	#comments form input, #comments form textarea, 
	#comments form select, #comments form label {
		width: 100%;
		float: none;
	}
	#comments form label { padding-left: 0; }
	#comments form div {	margin: 6px 0 0 0; }
	#comments form input { margin-bottom: 0; }
	#comments form .message label { display: block;	}
	#comments form button {
		width: 100%;
		margin-top: 24px;
	}
dl {
	max-width:95%;
}
dt {
	font-size:1.5rem;
}
dd {
	margin-left:25%;
	font-size:1.5rem;
}

} /* 768 */


/* mobiles */
@media only screen and (max-width:600px) {

	/* content styles */
	#content { padding-top: 48px;	}

	/* footer styles */
	footer .footer-about { padding-right: 10px; }
	footer .copyright { padding-left: 10px; }

	/* common and shared styles */
	.section-head p {
		font: 20px/33px "merriweather-light", sans-serif;
	}
	.entry header h1 {
		font: 26px/33px "raleway-bold", sans-serif;
	}
	
header {
	text-aligh:left;
}
    h2 {margin: 20px 0 0 ;}
    .row {
        padding-left:10px;
        padding-right: 10px;
    }
header .logo {
	display: inline-block;
	vertical-align: middle;
	margin-top: 0;
	padding: 0;
	/* add position relative since z-index only applies to
	elements that have been given an explicit position */
	position: relative;
	z-index: 992;
	float:none;	
}
header .logo a {
	display: block;
	margin: 5px 0 0;
	padding: 0;
	border: none;
	outline: none;
	font: 0/0 a;
	text-shadow: none;
	color: transparent;
	width: 250px;
    position: relative;
    left:-30px;
	background-repeat: no-repeat;
	background-position: 0 0;
	background-image: url("../images/logo.png");
}
.header-contact-button {
	display:none;
}
.header-phone {
	max-width:200px;
	float:none;
	margin:0 auto;
	text-align:center;
    position: relative;
    left:-30px;
    top:-5px;
}
.header-phone a {
	
}
.header-uketuke {
	display:none;
}
p.catchcopy {
	font-size:1.3em;
    margin: 0 0 15px;
    line-height: 1.3;
}
.catchcopy {
	font-size:1.5em;
}
    .contentsbox p{
        width: 95%;
    }
.contentsbox{
    margin-bottom: 0;}
    .contentsbox02{padding:15px;
    margin-bottom: 0;}
    
	/* hero section */
	#hero { padding-top: 5px;
	padding-bottom: 10px;	}
#hero-slider .flex-caption h1 {
	font: 20px/0.8 "raleway-semibold", sans-serif;
			line-height:1;
	color: white;
	letter-spacing: -1px;
	margin-bottom: 10px;
	text-shadow: 0 0px 5px rgba(0, 0, 0, 0.5);
}


	/* service section */
	.service-list .bgrid {
		margin-top: 12px;
		margin-bottom: 12px;
		padding: 0 60px;
	}

	/* about section */
	#about h3 {	text-align: center; }
	#about .left {	padding-right: 10px;	}
	#about .right { padding-left: 10px;	}
	#team-wrapper .member {	text-align: center; }
	#team-wrapper .member-pic {
		position: absolute;
		left: 50%;
		top: 50%;
		margin-left: -100px;
		margin-top: -39px;
	}
	#team-wrapper .member-name { margin-left: 85px;	}
	#team-wrapper .member-name h3, #team-wrapper .member-name span {
		text-align: left;
	}

	/* journal section */
	#journal #blog-wrapper { margin: 24px 20px 0 20px;	}
	#journal #blog-wrapper h5, #journal #blog-wrapper h3 {
		text-align: center;
	}

	/* contact section */
	#contact .form-section {
		padding-left: 40px;
		padding-right: 40px;
	}

	/* blog entry */
	.commentlist {
		width: 100%;
		margin-left: 0;
	}
	.commentlist > li { padding-left: 0; }
	.commentlist li .avatar { display: none; }

	/* portfolio entry */
	.more-projects h1 {
		font: 26px/33px "raleway-bold", sans-serif;
	}


} /* 600 */


/* small small mobiles */
@media only screen and (max-width:480px) {

	/* hero section */
	#hero-slider {
		width: 94%;
		margin: 54px auto 24px;
		padding-top:20px;
		padding-bottom:20px;
	}
	#hero-slider .flex-caption { margin: 0; }
	#hero-slider .flex-caption h1 {
		font: 25px/1.2 "raleway-semibold", sans-serif;
	}
	/* about section */
	#team-wrapper .member-pic {
		width: 60px;
		height: 60px;	
		margin-top: -30px;			
	}
	#team-wrapper .member-name { margin-left: 60px;	}
	#team-wrapper .member-name h3 {
		font-size: 15px;
		line-height: 18px;	
		margin-bottom: 12px;	
	}
.boxhigh {
	height:140px;
	font-size: large;
	line-height:100%;
	padding-top:30px;

}
.boxlow {
	height:80px;
	font-size: large;
	font-weight:bold;
	vertical-align:middle;
	line-height:100%;
}

.boxfull {
	clear:both;
	width:100%;
	height:200px;
	margin:10px auto;
	vertical-align:middle;	
	font-size: largee;
	font-weight:bold;
	line-height:100%;
	padding-top:40px;
}
.boxfulllow {
	clear:both;
	width:100%;
	height:100px;
	font-size: large;
	font-weight:bold;
	padding-top:30px;
}
h2{
	font-size:x-large;
}
h3 {
	font-size:large;
}
dl {
	width:100%;
}
.contentsbox {
	padding:10px;
}

} /* 480 */


@media only screen and (max-width:460px) {

	/*	footer styles */ 
	footer .right-cols .columns {
		width: 100% !important;
	}

	/* services section */
	.service-list .bgrid {
		padding: 0 22px;
	}

	/* journal section */
	#journal #blog-wrapper {
		margin: 24px -18px 0 -18px;
	}

	/* contact section */
	#contact .form-section {
		padding-left: 20px;
		padding-right: 20px;
	}

} /* 460 */


@media only screen and (max-width:420px) {

	/* page-title */
	#page-title h1 {
		font: 38px/1.3 "raleway-bold", sans-serif;
	}

	/* portfolio section */
	.item .item-wrap .portfolio-item-meta {
		margin-right: 15px;
	}
	.item .item-wrap .portfolio-item-meta h5 {
		font: 13px/18px "raleway-heavy", sans-serif;
	}
	.item .item-wrap .portfolio-item-meta p {
		font: 12px/18px "raleway-semibold", sans-serif;
	}

} /* 420 */


@media only screen and (max-width:400px) {

	/* footer styles */
	footer .footer-about { padding-right: 0; }
	footer .copyright { padding-left: 0; }

	/* hero section */
	#hero-slider {	width: 100%; }
	#hero-slider .flex-caption h1 {
		font: 25px/1 "raleway-semibold", sans-serif;
				line-height:1;

	}

	/* about section */
	#about .about-content {	padding: 0 30px; }
	#about .left {	padding: 0;	}
	#about .right { padding: 0; }

	/* contact section */
	#contact .form-section {
		padding-left: 30px;
		padding-right: 30px;
	}

} /* 400 */


/* make sure the menu is visible on larger screens
-------------------------------------------------------------------------- */
@media only screen and (min-width:768px) {
	#nav-wrap ul#nav {
		display: block !important;
	}
}