

@media only screen and (max-width: 1140px) {
	/*.site-branding, #content, footer.site-footer .site-info, .section { width: 96% !important; padding: 0 2% !important; }*/
	.header-wrapper, #content, footer.site-footer .site-info, .section { width: 100% !important; padding: 0 2% !important; }
	.section {
		padding: 50px 2% !important;
	}
	header .section-wrap .section {
		padding: 2px 2% !important;
	}
	.stom-billede-sektion .section {
		padding: 0 !important;
	}
	#primary{
		width: 70% !important;
	}
	.stom-billede-sektion .stom-cols-6 {
		width: 50%;
	    margin: 0;
	    padding: 0 2%;
	}
	/*aside{
		max-width: 260px !important;
	}*/

	.split-section .section {
		padding: 100px 0 !important;
	}
	.service-split .section {
		padding: 0 !important;
	}

}

/****** IPADS - VERTIKALT ******/

@media only screen and (max-width: 959px) {
	#primary, .main-navigation { width: 100% !important; }

	/*aside { display: none !important; width: 100%; max-width: none !important; float: none; }*/
	/*aside section{
		width: 48%;
		margin:  4% 4% 4% 0 !important;
		float: left;
	}
	aside section:nth-child(even){
		margin-right: 0 !important;
	}*/
}

/****** MINDRE END IPADS VERTIKALT ******/

@media only screen and (max-width: 767px) {
	/*.site-branding, #content, footer.site-footer .site-info, .section {width: 96% !important;padding: 0 2% !important;}*/
	.header-wrapper, #content, footer.site-footer .site-info, .section {width: 100% !important;padding: 0 4% !important;}
	.section {
		padding: 50px 4% !important;
	}
	header .section-wrap .section {
		padding: 2px 4% !important;
	}
	footer.site-footer .site-info, footer.site-footer .site-info .copyright{
		text-align: center;
	}
	.stom-cols-11, .stom-cols-10, .stom-cols-9, .stom-cols-8, .stom-cols-7, .stom-cols-6, .stom-cols-5, .stom-cols-4, .stom-cols-3, .stom-cols-2, .stom-cols-1 {
		width: 100% !important;
		margin: 0 0 10px !important;
	}
	/*aside section{
		width: 100%;
		margin: 4% 0 !important;
		float: none;
	}*/

	.last {
		margin-bottom: 0 !important;
	}
	h1{
		font-size: 2em !important;
	}
	h2{
		font-size: 1.5em !important;
	}
	h3{
		font-size: 1.5em !important;
	}
	h4{
		font-size: 1.3em !important;
	}
	h5{
		font-size: 1.2em !important;
	}
	h6{
		font-size: 1.1em !important;
	}
	.section-wrap.footer-widget-area{
		padding: 0px 0 !important;
	}
	.footer-widget-area .stom-cols-3{
		width: 48% !important;
		margin-right: 4% !important;
	}
	.footer-widget-area .stom-cols-3:nth-child(2n+2){
		margin-right: 0 !important;
	}
	.woocommerce ul.products li.product .woocommerce-loop-product__title{
		font-size: 1em !important;
	}
	footer.site-footer, .push{
		height: auto !important;
	}
	#page {
	    min-height: none !important;
	    margin: 0 auto !important;
	}
	footer.site-footer .site-info div > span > span:after{
		content: " ";
	}
	footer.site-footer .site-info div > span > span{
		display: block;
	}
	.footer .stom-cols-3 {
		border: none;
	}
	.service span.read {
		bottom: 20px;
	}
	.text-middle,
	.text-about,
	.text-top p {
		width: 100%;
	}


	#site-navigation .menu-navigation {
		background-color: #516066;
	}
	#site-navigation .menu-navigation img {
		margin-top: 8px;
	}

	.slider-inner h1 {
		font-size: 40px !important;
	}


	.stom-billede-sektion .stom-cols-6 {
		padding: 10% 3% !important;
	}

	.split-section .section {
		padding: 0 !important;
	}
	
    .slider-inner h1 {
        font-size: 30px !important;
    }

}



/****** MOBILER ******/

@media only screen and (max-width: 479px) {
	.main-navigation ul {width:100%;}

	#kontaktside form#kontakt {
	    width: auto;
	}
	.middle .section {
		padding: 20px 0 !important;
	}

	.list-column {
		display: block;
		width: 100%;
	}
	.list-column:last-of-type {
		margin-left: 0%;
	}
	.list-column ul {
		margin-bottom: 0;
	}


	.stom-slider-text-content {
		top: 50%;
	}
}

/****** BURGER MENU ******/
@media screen and (max-width: 767px) {
	.woocommerce-checkout #site-navigation {
		display: none;
	}

	.woo-search-input{
	    position: static;
	    float: left;
	    width: 100%;
	    margin-bottom: 15px;
	    padding: 5px;
	    border: none;
	}
	.woo-search-input input[type="search"]{
	    box-shadow: 0px 0px 2px #666;
	    padding-left: 5px;
	}

	#site-navigation.main-navigation {
		width:100%;
		top:0;
		margin-top:0;
		float: none;
		z-index:1000;
	}

	/*#site-navigation.main-navigation ul {
		background:#fff;
		width:100%;
	}*/

	.main-navigation ul ul {
		position:static;
		display:none;
		box-shadow:none !important;
	}

	#site-navigation.main-navigation ul ul a {
		width:auto;
		padding-left: 40px;
	}

	/*#site-navigation.main-navigation ul li {
		background:#fff;
		clear:both;
		float:left;
		width:100%;
		display:block;
		border-bottom:1px solid #f2f2f2;
	}*/

	#site-navigation.main-navigation .current_page_item > a, 
	#site-navigation.main-navigation .current-menu-item > a {
		background: #f5f5f5 !important;
		color: #2C3F46;
	}

	#site-navigation.main-navigation .current_page_ancestor > a, 
	#site-navigation.main-navigation .current-menu-ancestor > a {
		background: #2C3F46 !important;
		color: #fff;
	}

	#site-navigation.main-navigation ul li.current-menu-parent.menu-item-has-children > a:after {
		color:#fff;
	}

	/*#site-navigation.main-navigation ul li.menu-item-has-children {
		position:relative;
	}*/

	#site-navigation.main-navigation ul li.menu-item-has-children.focus > a:after {
		display:none;
	}


	/*#site-navigation.main-navigation ul li.menu-item-has-children > a:after {
	    position: absolute;
	    right: 0;
	    top: 0;
	    width: 10%;
	    height: 100%;
	    font-family: FontAwesome;
	    background: rgba(255,255,255,0.1);
	    color: #222;
	    content: "\f067";
	    text-align: center;
	    line-height: 3.3;
	    display: block;
        z-index: 9999999;
	}*/

	/*#site-navigation.main-navigation .menu-toggle {
		margin-top: 20px;
		padding: 11px 0 11px 11px;
		float:right;
		color: #2C3F46;
		background: none;
		font-size: 2em;
		text-transform: uppercase;
		height: auto;
		display: block;
		box-shadow: none;
		font-weight: 600;
		line-height: 1;
	}*/

	#site-navigation.main-navigation .menu-toggle.fa {
		font-size: 1.2em;
		height: auto;
		width: auto;
	}

}


@media only screen and (max-width: 959px) {
	.fixed {
		display: none !important;
	}
	.popup-content{
		margin: 100px 5% !important;
		width: auto !important;
	}
	/* ---------- Responsive tables ---------- */
	body:not(.woocommerce-checkout) table:not(.variations) {
		width: 100% !important;
		height: auto !important;
		display: block;
		overflow-x: scroll;
	}
	body:not(.woocommerce-checkout) table:not(.variations)::-webkit-scrollbar {
	    -webkit-appearance: none;
	    height: 5px;
	}
	body:not(.woocommerce-checkout) table:not(.variations)::-webkit-scrollbar-thumb {
	    border-radius: 2px;
	    background-color: rgba(0,0,0,.2);
	    -webkit-box-shadow: 0 0 1px rgba(255,255,255,.2);
	}
	
	body:not(.woocommerce-checkout) table:not(.variations) tbody {
		display: block;
		width: 750px;
	}
	
	body:not(.woocommerce-checkout) td {
		padding: 4px;
	}
}



