/*
 Theme Name:   Origin Child
 Description:  Origin Child Theme for Tobiasgården
 Author:       Lovisa Skog
 Author URI:   http://jovikenskog.se
 Template:     Origin
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  origin-child
*/

/*
div img p span{
	border: 0px solid transparent;
	border-bottom: 0px solid transparent;
	border-top: 0px solid transparent;


}
*/
body{
	background-image: none !important;
}
#main-content{
	width: 100%;
	background-color: #fff;
	margin:0;
	position: relative;
    margin-top: 30%;
    z-index: 8;
    min-height: 320px;
	
}
#main-content:before{
	position: fixed;
	content:"";
	bottom:0px !important;
	display: block;
	height: 150px;
	width: 200%;
	background-image: url(/wp-content/uploads/2015/10/footer1.jpg);
	left: 281px;
	z-index: 9;
	background-repeat: no-repeat;
	background-position: left bottom;

}
#main-content article{
	padding: 5% 9%;
	max-width: 800px;
	z-index: 10;
}
#logo-area{
	margin-bottom: 54px;
	margin-top: 10px;
}
#logo{
	width: 140px;
	height: auto;
}
#img-wrap{
	height: auto;
	overflow: hidden;
	display: block;
    position: fixed;
    z-index: -1;
   
    width: 100%;
    width: -moz-calc(100% - 280px);
    width: -webkit-calc(100% - 280px);
    width: calc(100% - 280px);
}

#img-wrap img{
	width: 100%;
	height: auto;
}
/*
	
#big_thumbnail{
	background-attachment: fixed;
	background-size: contain;	
	background-position-x: 88px;
}
*/
body.page .main-title{
		padding: 0px;
		margin-bottom: 0px;
		top: -49px;
		left: 0px;
		position: absolute;
		-webkit-box-shadow: 3px -2px 2px 0px rgba(0,0,0,0.18);
		-moz-box-shadow: 3px -2px 2px 0px rgba(0,0,0,0.18);
		box-shadow: 3px -2px 2px 0px rgba(0,0,0,0.18);
	}
	
body.page #main h1{
	font-weight: normal;
	font-size: 25px;
	padding: 20px 70px 5px 70px;
	letter-spacing: normal;
	color: #9A5E12;
}
body.page #main h4{
	color: #9A5E12;
}
body.page #main a{
	color: green;
}
body.page #main li{
	padding: 5px 0px;
}

body.page #main .quicklinks ul li {
	padding: 0;
}

body.page #wpadminbar a {
	color: #fff;
}

/*notice board*/
#startpage_with_anslag{
	float: left;
	min-width: 20%;
	max-width: 60%;
}
#anslag{
	float: left;
	width: 300px;
	right: 20px;
	position: absolute;
	text-align: center;
}
#anslag h4{
	padding-top: 15px;
	padding-bottom: 15px;
	background-color: white;
	margin: 0px 10px;
}
#anslag p{
	background-color: #ebd7ac;
	width: 200px;
	margin-left: auto;
	margin-right: auto;
	margin-top: -7px;
	padding: 20px 10px;
	border-bottom: 3px solid #c58530;
	background-image: url(images/splashocra.png);
	background-repeat: no-repeat;
	background-position: center bottom;
	font-size: 13px;

}
#anslag p span{
	background-image: url(images/obsocra2.png);
	background-position: center bottom;
	width: 50px;
	height: 50px;
	display: block;
	background-size: contain;
	margin-left: auto;
	margin-right: auto;
	background-repeat: no-repeat;
	padding: 10px;
	margin-top: 20px;
	margin-bottom: 10px;
	}
#anslag #topimage{
	width: 300px;
	height: 114px;
	background-image: url(images/noticetop.png);
	background-repeat: no-repeat;
}
#anslag #shadow{
	width: 300px;
	height: 9px;
	background-image: url(images/noticeshadow.png);
	background-repeat: no-repeat;
	position: relative;
	z-index: 1;
}
/*footer*/
#main-footer{
	border-top: 0px;
}
#main-footer p#copyright{
	display: none;
}

/*gallery*/
body.page #main a.more-icon{
	display: none;
	
}
body.page #main a.zoom-icon{
	left: 73px !important;
	background-image: url(images/zoom-icon.png);
	cursor: pointer;
	
}
.et_pt_item_image img.portfolio {
    border: 3px solid #fff !important;
}

/* menu */
#mobile-nav{
	position: relative;
	background-color: #6d7c5e !important;
	color: #fff !important;
	margin-left: -32px;
}

#mobile-nav span {
	text-indent: -9999px;
	height: 2px;
	width: 20px;
	display: inline-block;
	background-color: #fff;
	margin-left: 10px;
	position: absolute;
	top: 18px;
	padding-left: 0px;
}

#mobile-nav span:before {
	display: block;
	width: 20px;
	height: 2px;
	background-color: #fff;
	content: "";
	position: absolute;
	bottom: 6px;
}

#mobile-nav span:after {
	display: block;
	width: 20px;
	height: 2px;
	background-color: #fff;
	content: "";
	position: absolute;
	top: 6px;
}

#info-bg, #main-wrap:before{
	background-color: rgba(158, 181, 140, 0.6) !important;	
}
#info-bg {
	z-index: auto;
}
#info-area{
	z-index: auto;
}

/*very first level*/
#top-menu{
	border-top: 1px solid #9cb08c !important;
}
#top-menu a{
	border-bottom: 1px solid #9cb08c !important;
}

/* middle level */
#top-menu > ul > li.current_page_ancestor > a,
#top-menu > ul > li > ul.sub-menu{
	color: #fff !important;
	background-color: #748763;
	border-right: 6px solid #cfe5bb;
	border-left: 6px solid #cfe5bb;
}
#top-menu > ul > li > ul.sub-menu{
	border-bottom: 6px solid #cfe5bb;

}
#top-menu > ul > li > ul.sub-menu a,
#top-menu > ul > li.current_page_ancestor > a{
	color: #fff;
	border-bottom: 1px solid #687758 !important;
	
}
#top-menu > ul > li.current_page_ancestor > a{
	background-color: #cfe5bb; //LJUSAST
	
	border-bottom: 0px solid red !important;
}
#top-menu > ul > li.current_page_ancestor > a span{
	color: #2a631a;
}
/* darkest level */

#top-menu > ul > li > ul.sub-menu li.current_page_ancestor > a,
#top-menu > ul > li > ul.sub-menu ul.sub-menu {
	background-color: #3d4a2f;
	border-right: 6px solid #9cb188;	
	border-left: 6px solid #9cb188;
	margin: 0px 2px;	
}
#top-menu > ul > li > ul.sub-menu ul.sub-menu{
	border-bottom: 6px solid #9cb188;
}
#top-menu > ul > li > ul.sub-menu ul a{
	border-bottom: 1px solid #333C2A !important;
}
#top-menu > ul > li > ul.sub-menu li.current_page_ancestor > a{
	background-color: #9cb188 !important;
	border-bottom: 0px solid red !important;
}
/* current page */
.current_page_item > a {
	background-color: #fff !important;
}
.current_page_item > a span,
#top-menu ul a:hover .link_text {
	color: #9A5E12;
}

/* expanded menus */
#top-menu > ul li.current-menu-item > ul,
#top-menu ul > li.current-menu-ancestor > ul {
	display: block;
}


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

	body.page #main h1{
		padding: 0px 0px 15px 0px;
	}
	body.page .main-title{
		padding: 0px;
		margin-bottom: 0px;
		position: static;
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
	}
	
	#startpage_with_anslag{
		max-width: 100%;
		min-width: 100%;
		float: none;
	}
	#anslag{
		position: static;
		float: none;
		right: 0px;
		margin-left: auto;
		margin-right: auto;
	}
	
}
@media screen and (max-width: 960px) {
/*
	#big_thumbnail  { height: 300px !important; 
		width: 100% !important;
	}
*/
}

@media screen and (max-width: 1023px) {
/*
	#big_thumbnail  { 
		background-attachment: scroll; 
		background-size: cover;
		background-position: center center;
	}
*/
	#main-content:before{
		display: none;
	}
	#main-footer {
		display: none;
	}
	#img-wrap{
		width: 100%;
		position: absolute;
	}
	#logo{
		width: 120px;
		height: auto;
	}
	#info-area{
		padding-top: 15px;
		padding-bottom: 0px;
	}
	#logo-area{
		padding-top: 0px;
		padding-bottom: 10px;
		margin-bottom: 0px;
		margin-top: 0px;
	}
}

@media print {
	body.single #info-area, 
	body.page #info-area,
	body.page #info-bg,
	.widget, 
	#top-menu a, 
	#mobile-nav, 
	#info-area, 
	#info-bg, 
	#main-wrap:before,
	#top-menu {
		display: none;
	}
	#main {
		margin-left: 0px;
	}
	#main-content {
		margin-top: 0;
	}
	#main-content article {
		padding: 0 5%;
	}
	body.page .main-title {
		position: static;
		top: 0;
		margin: 40px 0 20px 0;
		-webkit-box-shadow: none !important;
		-moz-box-shadow: none !important;
		box-shadow: none !important;
	}
	body.page #main h1 {
		padding: 0;
	}
	#img-wrap {
		position: static;
		width: 90% !important;
		padding: 0 5%;
	}
	#main-content:before{
		display: none;
	}
}