/*
Theme Name:     Twenty Twelve Child
Theme URI:      http://example.com/
Description:    Child theme for the Twenty Twelve theme 
Author:         Hilda
Author URI:     http://hildablue.com
Template:       twentytwelve
Version:        0.1.0
*/

@import url("../twentytwelve/style.css");


/* Header, navigation */
#frontpage {
 margin-right:95px;
	}
.entry-content img, img.wp-post-image {
     box-shadow:none;
}

.shadow{
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.socialmedia { width:35px; float:right; margin-left:10px;   }
.socialmedia-front img { width:35px; height:35px; padding-left:10px; float:right;  }

/* Prenumerera  */
.box p{margin:0px; padding:0px; }
.box img {height:4.5rem;  width:auto; clear:none; display:block; margin-left:auto; margin-right: auto; margin-top:0px; padding-top:0px;  }
.box  .wp-caption {  padding:0px; margin:0px;  display:block; margin-left: auto;margin-right: auto;}
.box .wp-caption p { padding:15px; color:#757575; font-style: normal;  }
.site-content {overflow: hidden;}
.alpha {padding-right:0.5rem; } 

.textwidget p {margin-top:10px; line-height:1.5em;  }

/*Navigation*/
.main-navigation { margin-right:2%; }
.main-navigation li a:hover {color:#d5d5d5;}


	.main-navigation li ul li a {
		background: none; color: #cf575f;
		font-weight: bold; border-left: 4px solid #cf575f;
	}

	.main-navigation .current-menu-ancestor > a, .main-navigation .current-menu-item > a,
	.main-navigation .current_page_ancestor > a, .main-navigation .current_page_item > a {color: #cf575f;}
	
	


	
.main-navigation li a {color:white; margin-left:10px; font-size:110%; }


.main-navigation li ul li a {
		background: white; color: #cf575f;
		font-weight: bold; border-left: 4px solid #cf575f;
	}
 h3.menu-toggle { text-transform:uppercase; color:black; font-weight:bold;font-size:12px; }
h3.menu-toggle:hover {color:red
}


.nav-menu .toggled-on a {
 		background:none; border-left:none; color:white; text-transform:uppercase; clear:both; display: block; 
	}


.nav-menu .toggled-on .children a {color:#bcbcbc; text-transform:none; font-size:120%; float:left; display:inline-block; clear:both; margin-left: 60px; margin-bottom: 10px;   }


.textarea {
	width: 90%;
} 

/* Font styles */
h1.entry-title {font-size:30px; text-transform: uppercase; letter-spacing:0.2em; }


/* front page loop */
.index-content .index-header .index-title { float:none; margin:100px;}


/*
Footer widgets style by Steven Stern */
.widget-title-foot {
	background-color:black;
	letter-spacing:1px;
	color:white;
	padding:2px;
	padding-left:12px;
	margin-bottom:15px;

	font-size: 11px;
	font-size: 0.785714286rem;
	line-height: 2.181818182;
	font-weight: bold;
	text-transform: uppercase;
	hyphens: manual; 
	}
.widget-title {
	font-size: 40px;
	font-size: 1.428571429rem;
	line-height: 1.2;
	font-weight: normal;
	padding-bottom:20px;
letter-spacing:0.1em; 
}




#footerwidgets h4 {text-transform:uppercase;}
.widget-area .widget h3 {
  margin-bottom:0;
}

/* Footer widgets style by Steven Stern */

#footerwidgets {
 width:100%; 
}
#footerwidgets p {
 padding-bottom: .5em;  
}
#footerwidgets li, #footerwidgets p {
padding-bottom: .5em;
 font-size:90%;
 line-height:1.3em;padding-left: 10px; 
}

#footerwidgets img {margin-left:auto;margin-right:auto; }

#footer-left {
 width:30%;
 float:left;
 padding-right:2.5%;

}


#footer-left p { padding-left:50px; }
#footer-middle {
 width:30%;
 float:left;
 padding-left:2.5%;
 padding-right: 2.5%;
}

#footer-right {
 width:30%;
 float:right;
 padding-left:2.5%;
}

.site-content article {
  border-bottom:none;
}




/* ----------------------------------------------       Media queries ----------------------------------------------------- */

@media screen and (min-width: 1500px) { #site-navigation {margin-right:20%;} }

@media screen and (min-width: 960px) {
 
#masthead {margin-bottom: -40px; }   
    
    .main-navigation {  margin-right:12%; }

#frontpage { float:right; padding-left: 30px; }

}

@media screen and (min-width: 600px) {
	#headwrap {  margin: 0 auto;
    width: 90em;
    overflow: hidden;}
	.header-image img{ display:block; margin-left:12% } 
#masthead { margin-left:40px; }

.widget-form {width:100%}


/* images */

.alignright {
	margin-top: 0px; margin-right:10px; margin-bottom: 20px; margin-left:39px;  
}


img.alignright {
	margin-top: 0px; margin-right:10px; margin-bottom: 20px; margin-left:39px;  
}


.main-navigation { padding-bottom:-100px; margin-bottom: 0px; float:right; overflow:visible; }
h3.menu-toggle { color:black }


.main-navigation li ul li a {
		background: white; color: #cf575f;
		font-weight: bold; border-left: 4px solid #cf575f;
	}

	.widget-area {
		width: 29%;
	}


#slider {padding:0px; margin-top:-80px; margin-bottom:70px; position:relative;  }




/* Widgets, front page  */ 

	.template-front-page .widget-area .widget,
	.template-front-page.two-sidebars .widget-area .front-widgets {
		float: left;
		width: 33%;
		margin-left: 0px; 
		margin-bottom: 24px;
		margin-bottom: 1.714285714rem;

	}


	

	.template-front-page.two-sidebars .widget,
	.template-front-page.two-sidebars .widget:nth-child(even) {
		float: left;
		width: 85%; 
	} 
	
	.extra-sidebar {float:right; width:33%; padding:0px; } 
	
.template-front-page .widget-area .widget:nth-child(even),
	.template-front-page.two-sidebars .widget-area .front-widgets + .front-widgets {
		float: right;
		width: 33%; 
		margin: 0 0 24px;
		margin: 0 0 1.714285714rem;
	}
	
/* End 600 */	
} 

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

   #footer-right, #footer-middle, #footer-left {
     float:none;
     padding-left:0;
     padding-right:0;
     padding-top:1em;
     width:100% !important;
   }
   



.the-social-link {
  text-align:center;
}
.the-social-link img {
  padding:5px;
}
	
}


/* Checkboxes i kontaktformulär */

span.wpcf7-list-item { display: block; text-align:left; }