/*
Theme Name: DaleyTheme
Responsive
Theme URI: http://authormedia.net/
Description: Child Theme for InStyle
Author: Katie Suess
Author URI: http://www.authormedia.com
Template: InStyle
Version: 1.0
*/

@import url("../InStyle/style.css");

h4 { font-size: 20px; }

h3.title { position: absolute; text-transform: uppercase; top: 120px; font-weight: bold; left: 0px; padding: 0px 5px; text-align: center; width: 253px; }

/* make the nocomments box show */
.nocomments:after {
	content: ".";
	color: #FFF;
}

/* Writerspace Responsive Styles
----------------------------------------*/

/* header
----------------------------------------*/
#search-form #searchinput {
  color: #eeeeee;
}
.mobile-menu{
	display:none;
}
#sidebar .textwidget input[type=text], input.text, input.title, textarea, select {
	 width:95%;
	}
/* responsive
----------------------------------------*/

/*  tablet media query  */
@media(min-width:768px) and (max-width:959px){
	html,body{
		min-width:750px;
	}
	#container {
	  width: 750px;
	}
	#search-form {
	  float: none;
	  position:absolute;
	  top:25px;
	  right:25px;
	}
	/* service
	----------------------------------------*/
	.service{
		width:30%;
		margin-right:5%;
	}
	.service-slide a{
		
	}
	.service img{
		height:auto;
		max-width:211px;
	}
	.service-thumb span.overlay {
	  display:none;
	}
	h3.title {
	  top: 90px;
	  width: 211px;
	}
	.service-top {
	  height: 115px;
	}
	#services .description {
	  background: url(images/service-bg.png) repeat-x bottom left #fafafa;
	  padding: 5px 0 20px 0;
	}
	#content-area {	  
	  width: 66%;
	}
	#sidebar {
	  width: 30%;
	  background:#E7E7E7;
	}
	
	#sidebar .textwidget input[type=text], input.text, input.title, textarea, select {
	 width:110px;
	}
	
	#content,#content-top {
	  background: none #fff;
	  padding-bottom: 20px;
	}
	embed{
		width:411px;
		height:334px;
	}
}

/*-- mobile styles--*/
@media(max-width:767px){
	#container {
	  width: 95%;
	}
	#header{
		padding:40px 15px 15px;
		text-align:center;
		position:relative;
		z-index:999;
	}
	#logo{
		width:100%;
		height:auto;
		max-width:300px;
		float:none;
	}
	#search-form {
	  float: none;
	  width: 170px;
	  height: 35px;
	  line-height:30px;
	  margin-left: 0;
	  position:absolute;
	  left:10px;
	  top:5px;
	  background:rgb(255,255,255);
	  background:rgba(255,255,255,.1);
	  -moz-border-radius:10px;
	  -webkit-border-radius:10px;
	  -o-border-radius:10px;
	  border-radius:10px;
	  z-index:9;
	}
	#search-form #searchinput {
		width:115px;
	}
	.mobile-menu{
		display:block;
		position:absolute;
		top:0px;
		right:10px;
		text-align:right;
		z-index:99;
	}
	#top-menu{
		display:none;
	}
	/*---------------------------
	 navigation ---------------------------*/
  
	.menu-toggle {
	cursor: pointer;
	display: inline-block;
	 margin:8px 0 0 10px;
	padding:0;
	line-height:normal;
	color:#fff;
	width:auto;
	font-size:14px;
	font-weight:700;
	text-shadow:none;
	}
	.menu-toggle:hover,.menu-toggle.toggled-on {
	color:#ffeea9;
	}
	.menu-toggle span{
		float:left;
		width:20px;
		margin:0 5px 0 0;
		
	}
	.menu-toggle span span{
		height:3px;
		background:#fff;
		display:block;
		position:relative;
		margin:2px 0;
		float:none;
	}
	.menu-toggle span.ml3{
	margin:0;
	}
	.menu-toggle:hover span span,.menu-toggle.toggled-on span span{
	background:#ffeea9;
	}
	.mobile-menu  ul.nav-menu,.mobile-menu  .nav-menu ul {
		margin:0;
		display: none;
		background:#fff;
	}
	.mobile-menu  ul.nav-menu.toggled-on,.mobile-menu  ul.nav-menu.toggled-on ul,.mobile-menu  ul.nav-menu.toggled-on ul ul,.mobile-menu  .nav-menu ul.toggled-on,.mobile-menu  .nav-menu ul.toggled-on ul,.mobile-menu  .nav-menu ul.toggled-on ul ul{
		margin:0;
		display: inline-block;
		background:transparent;
		width:100%;
	}
	.mobile-menu  ul.nav-menu.toggled-on{
		margin:10px 0 0 0;
	}
	.mobile-menu li {
		float: none;
		margin: 0;
		position: relative;
		font-size: 100%;
		padding:0;
	}
	.mobile-menu li a{
		display:block;
		width:auto;
		border-bottom: 1px solid #333333;
		padding: 8px 10px;
		color:#fff;
		background:rgb(0,0,0);
		background:rgba(0,0,0,.9);
		font-size:18px;
	text-shadow: none;
	}
	.mobile-menu .current-menu-item > a,
	.mobile-menu .current-menu-ancestor > a,
	.mobile-menu .current_page_item > a,
	.mobile-menu .current_page_ancestor > a {
		color: #fff;
		background:rgb(0,0,0);
		background:rgba(0,0,0,.8);
		color:#ffeea8;
	}
	.mobile-menu ul ul {
		display:block;
		width:100%;
		position:relative;
		top:auto;
	}
	.mobile-menu li ul ul {
		top: 0;
		left: 0;
	}
	.mobile-menu li ul li ul li a{
		padding-left:60px;
	}
	.mobile-menu ul ul li{
		display:block;
		width:100%;
	}
	.mobile-menu li ul li a {
		border-bottom: 1px solid #333333;
		background:rgb(0,0,0);
		background:rgba(0,0,0,.9);
		display: block;
		line-height: normal;
		padding: 8px 30px;
		width: auto;
		white-space: normal;
		display:block;
	}
	.service {
	  width: 279px;
	  position: relative;
	  margin-right: auto;
	  margin-left:auto;
	  float: none;
	  padding: 5px 0 0;
	}
	.service.last {
	  margin-right: auto !important;
	}
	#content-area {	  
	  width: auto;
	  float:none;
	}
	#sidebar {
	  width: auto;
	  float:none;
	  background:none;
	}
	
	#sidebar .textwidget input[type=text], input.text, input.title, textarea, select {
	 width:110px;
	}
	
	#content,#content-top {
	  background: none #fff;
	  padding-bottom: 20px;
	}
	embed{
		width:300px;
		height:244px;
	}
	#comment-wrap {
	  width: 100%;
	  margin: 0 0 30px;
	}
	h2.post-title {
  color: #151515;
  font-size: 28px;
  margin-bottom: 2px;
}
}

