/* Ændring af slider position */
@media only screen and (max-width: 1750px) {
	.home .stom-slider-image-content .royalSlider .rsContent img.rsImg {
		position: absolute;
    	right: 0px;
	}
}


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

	.blog #content.no-blog-images > header,
	.page-template-page-blog #content.no-blog-images > header,
	.archive.category #content.no-blog-images > header {
		width: 25%;
    	margin-right: 3%;
	}

	.blog #content.no-blog-images #primary,
	.page-template-page-blog #content.no-blog-images #primary,
	.archive.category #content.no-blog-images #primary {
		width: 44%;
	}

	.blog #content.no-blog-images #secondary,
	.page-template-page-blog #content.no-blog-images #secondary,
	.archive.category #content.no-blog-images #secondary {
		width: 24%;
	}

	.blog article.post .post-featured_img,
	.page-template-page-blog article.post .post-featured_img,
	.archive.category article.post .post-featured_img {
	    width: 46%;
	}

	.blog article.post .post-content-wrapper,
	.page-template-page-blog article.post .post-content-wrapper,
	.archive.category article.post .post-content-wrapper {
	    /*width: 50%;*/
	}

	.woocommerce ul.products li.product.setup-1 .button,
	.woocommerce ul.products li.product.setup-1 + .product .button {
    	font-size: 13px;
	}
	.woocommerce ul.products li.product.setup-1 .read_more_button,
	.woocommerce ul.products li.product.setup-1 + .product .read_more_button {
		padding: .6em .8em !important;
	}
	
	.woocommerce ul.products li.product.setup-2 .button,
	.woocommerce ul.products li.product.setup-2 + .product .button {
		padding: .5em .6em !important;
    	font-size: 11px;
	}

	.woocommerce ul.products li.product.setup-2 .read_more_button,
	.woocommerce ul.products li.product.setup-2 + .product .read_more_button,
	.woocommerce ul.products li.product.setup-2 .read_more_button + .button,
	.woocommerce ul.products li.product.setup-2 + .product .read_more_button + .button {
	    max-width: calc(50% - 10px);
	}

	.headline, #content, .section-wrap {
	    max-width: 93%;
	    margin: auto;
	}
	.searchbar.under {
	    max-width: 100%;
	}
	.section-wrap.clear.top-bar, 
	.section-wrap.clear.help {
	    max-width: 100%;
	}

}

@media only screen and (max-width: 1140px) {
	.stom-slider-text-content h1 {
	    line-height: initial;
	}	

	.main-navigation a {
	    padding: 0 18px 35px;
	}
	.headersearchform {
	    right: 170px;
	    padding: 6px 0;
	}	
	/*.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%;
	}
	ul#primary-menu {
	    /* position: relative; */
	    margin-right: -35px;
	}
	.nav-wrap.nav-wrap-scroll .main-navigation a {
	    padding: 5px 7px 32px;
    }
	ul#primary-menu {
	    margin-right: -15px;
	}

	.header-menu-fixet-only .top-bar-right {
	    right: 2%;
	}
	
	#salesforce-form form input:nth-of-type(2n) {
		margin-right: 0.8%;
	}
}
/****** BURGER MENU ******/
@media screen and (max-width: 1075px) {

	ul#primary-menu li:hover > ul {
		display: block !important;
	}

	.netbankLink a {
	    padding: 2px 13px 5px;
	}

	form.search-form input.search-field {
	    padding: 5px 8px;
	}

	form.search-form input.search-submit {
	    padding: 15px 15px;
	    height: 31px;
	}	

	.fa-bars:before {
	    position: relative;
	    top: -7px;
	    content: " "!important;
	    background: url(../images/burger.png) no-repeat;
	    height: 38px;
	    width: 35px;
	    display: inline-block;
	}
		
	#site-navigation .menu-toggle .fa {
	    font-size: 2em;
	    position: absolute;
	    right: 2%;
	    top: 7px;
	}
	.stom-slider-image-content,
	div#new-royalslider-2 {
	    margin-top: 0;
	}		

	.single-post #single-post-content-sidebar + .entry-content {
	    width: 100%;
	}
	.single-post #single-post-content-sidebar {
		display: none;
	}	
		
	.headersearchform {
	    right: 1.5%;
	    padding: 6px 0;
	    top: 100%;
	}	
	.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;
	}
	.main-navigation ul ul {
		position: static;
		display: none;
		box-shadow: none !important;
	}

	#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,
	#site-navigation.main-navigation .current_page_ancestor.menu-item-has-children:after,
	#site-navigation.main-navigation .current-menu-ancestor.menu-item-has-children:after {
		background: #003f26 !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.focus > a:after {
		display:none;
	}

	.main-navigation a,    
	#site-navigation ul ul a {
	    padding: 7.5px 10px!important;
	    text-align: left!important;
	}

	#site-navigation.main-navigation .menu-toggle.fa {
		font-size: 1.2em;
		height: auto;
		width: auto;
	}
	.top-bar2 .top-bar-right {
	    right: 68px;
	    position: absolute;
	    bottom: -35px;
	    z-index: 20;
	}
	span.headersearch p {
		position: relative;
		top: 4px;
		right: 52px;
	}
	.header-wrapper {
		position: relative;
	}

	.nav-wrap {
		margin-top: -11px;
	}	
	form.search-form {
	    top: -20px;
    	right: 405px;
	}	

	span.headersearch p:after {
		position: relative;
		top: -4px;
	}	
	.site-branding #logo {
	    padding: 14px 0 0;
	}

	.extra-header-text {
	    margin-top: 18px;
	    margin-right: 50px;
	}
	 #logo img {
	    max-width: 220px;
	    margin-top: -7px;
	    margin-bottom: 0;
	}
	.style-header-1 .nav-wrap {
	    max-width: none;
	    width: auto;
	    float: right;
	}
	.nav-wrap.nav-wrap-scroll {
		/* margin:  auto; */
		/* margin-top: -6px; */
	}

	.header-menu-fixet-only .top-bar2 .top-bar-right {
	    bottom: -47px;
	}
	.stom-posts .stom-post-wrapper {
		min-height: 250px;
	}	
	#page.with-top-padding {
	    padding-top: 125px;
	}

	#primary-menu .collection {
		position: static !important;
		transform: translateX(0);
	}
	#primary-menu .collection li {
		max-height: 100%;
		float: none;
	}
}

@media only screen and (max-width: 1030px) {
	.staff.stom-cols-3 {
		min-height: 450px;
	}
}


/****** IPADS - VERTIKALT ******/
@media only screen and (max-width: 959px) {
	#primary, .main-navigation { width: 100% !important; }

	.netbank.first.last.stom-cols-6 {
	    padding-top: 0;
	}
	.netbank.first h2 {
		font-size: 40px;
	}

	.blog #content.no-blog-images > header,
	.page-template-page-blog #content.no-blog-images > header,
	.archive.category #content.no-blog-images > header {
		width: 35%;
    	margin-right: 3%;
	}
	.home .slider-inner h1, .home .slider-inner h2 {
    font-size: 3em !important;
	}
	.blog #content.no-blog-images #primary,
	.page-template-page-blog #content.no-blog-images #primary,
	.archive.category #content.no-blog-images #primary {
		width: 62%;
	}


	#secondary .widget_search .search-field {
		width: 72%;
	}	
	.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;
	}
	.stom-posts .stom-post-wrapper, .stom-simple-slider .stom-anmeldelse {
		min-height: 265px;
	}	
	.andre-filialer .filialer p,
	.erhvervsfilialer .filialer p {
	    font-size: 12px;
	}

	.andre-filialer .filialer.stom-cols-3 {
	    width: 19.1%;
	    margin: 0 1% 0 0;
	}

	.andre-filialer .filial-wrap h3,
	.erhvervsfilialer .filial-wrap h3{
	    font-size: 19px;
	}

	.andre-filialer .filial-wrap,
	.erhvervsfilialer .filial-wrap {
	    padding: 9px 9px 16px;
	}	
	.stom-custom-search-form button {
		height: 35px;
	}

	form.search-form input.search-submit {
	    /* vertical-align: middle; */
	    /* padding: 14px 14px; */
	}

	.page-id-457 .stom-iframe-pdf {
		display:none;
	}
	
	.page-id-596 .green-banner h2 {
		font-size: 40px;
	}
}


@media only screen and (max-width: 899px) {
	
}
@media only screen and (max-width: 1075px) {
	.top-bar-left p {
	    display: none;
	}
	.netbankLink a strong {
	    display:  none;
	}

	.netbankLink a {
	    /* text-transform:  capitalize; */
	    padding: 3px 13px 4px;
	    margin-top: 0;
	}

	#site-navigation .menu-toggle .fa {
	    top: auto;
	    bottom: -6px;
	}

	.header-wrapper {
	    height: 129px;
	    display: block;
	    padding: 59px 0;
	}

	form.search-form {
	    /* bottom: 0; */
	    top: 83px;
	    right: auto;
	    left: 4%;
	    position: absolute;
	    margin-left: 0;
	}

	.extra-header-text {
	    position: absolute;
	    right: auto;
	    bottom: 15px;
	    left: 175px;
	}

	.site-branding {
	    float: none;
	    width: 100%;
	    display: block;
	}

	div#logo {
	    float: none!important;
	    width: 100%;
	    text-align: center;
	}

	#logo img {
	    display: block;
	    margin: auto!important;
	}

	.site-branding #logo, .site-branding #logo a {
	    float: none!important;
	    padding: 10px 0 0;
	}

	form.search-form input.search-submit {
		font-size: 0!important;
		height: 31px;
	}

	body, input, select, textarea{
	    font-size: 15px!important;
	}	
	body:not(.woocommerce-checkout) table:not(.variations) {
		display: block;
	}

	.header-menu-fixet-only #logo img {
	    max-width: 177px;
	}

	.site-header.header-menu-fixet-only .header-wrapper {
	    height: 100px;
	}

	.site-header.header-menu-fixet-only form.search-form {
	    top: 53px;
	}	
	.site-header.header-menu-fixet-only .extra-header-text {
	    bottom: 16px;
	}
	.socials-wrapper a {
	    padding: 0;
	}

	.textwidget a.footer-break {
	    display: -webkit-inline-box;
	}

	.slider-inner h1 span:first-of-type {
	    display: block;
	}
}

/****** MINDRE END IPADS VERTIKALT ******/

@media only screen and (max-width: 767px) {
	
	.home .stom-slider-image-content .royalSlider .rsContent img.rsImg {
    	right: -350px;
	}
	
	.page-template-page-landingpage h1, .page-template-page-landingpage h2 {
		line-height: 1;
		margin-top: 19px;
	}	
	#site-navigation .menu-toggle .fa {
	    right: 4%;
	}	

	.headline {
	    bottom: -1;
	}	
	.nav-wrap {
	    /* position: absolute; */
	    /* right: 4%; */
	    /* bottom: 0; */
	}	
	.home div#content {
	    height: 0px;
	}	
	.wrap{
	    display:  flex;
	    flex-wrap:  wrap;
	}

	.netbank.img.stom-cols-6 {
	    order: 2;
	}

	.netbank.first.stom-cols-6 {
	    order: 1;
	}

	.netbank.stom-cols-6 {
	    padding-top: 0!important;
	}	
	.hover-style-spaced ul.menu a:before {
		content: none !important;
	}

	/*.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: 2.3em !important;
	}
	h2{
		font-size: 1.8em !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;
	}
	.stom-slider-text-content p {
		font-size: 17px;
	}

	.stom-slider-text-content .readW a {
		font-size: 15px;
	}

	.laan .stom-cols-3 {
		width: 50%!Important;
	}

	.stom-posts .stom-post-wrapper {
		width: 100%;
	}

	.news .section {
		padding: 4% 4%!important;
	}
	.home .news .section {
		padding: 0% 4%!important;
	}

	.stom-billede-sektion {
		margin: 21px 0 30px;
	}

	.stom-center-box {
		padding-bottom: 14px;
	}
	.stom-posts .stom-post-wrapper {
	    min-height: 190px;
	}	
	.home .stom-slider-image-content {
	    height: 350px!important;
	    background-position: 90%;
	    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
	}
	.stom-slider-image-content,
	div#new-royalslider-2 {
	    height: 200px!important;
	    margin-top: 0;
	}	

	form.stom-custom-search-form {
	    width: 80%;
	}

	.searchbar {
	    padding: 20px 0;
	}

	.searchbar h2 {
	    margin: -9px 0 8px;
	    font-size: 24px!important;
	}

	.home #primary {
	    margin-top: 46px;
	}
	.searchbar.under {
	    padding: 16px 0 19px;
	}

	.stom-custom-search-form input[type="search"] {
	    padding: 4px 12px;
	}

	.stom-custom-search-form button {
	    height: 28px;
	}
	#primary {
    	margin-top: 10px;
    }	
	
	.erhvervsfilialer .filialer {
	    max-width:  270px;
	    display:  block;
	    float:  none;
	    margin: auto!important;
	    margin-bottom: 34px!important;
	}    

	.andre-filialer .filialer {
	    max-width:  200px;
	    display:  block;
	    float:  none;
	    margin: auto!important;
	    margin-bottom: 34px!important;
	}   
	.filialer.stom-cols-4 {
	    max-width: 370px;
	    display:  block;
	    float:  none;
	    margin: auto!important;
	    margin-bottom: 34px!important;
	}	

	.staff.stom-cols-3, .staff.last.stom-cols-3 {
	    width: 46%!important;
	    float: none;
	    display: inline-block;
	    vertical-align: top;
	    margin: 1%!important;
	}	 
	.staff h3 {
	    line-height:  1;
	    font-size: 21px!important;
	    margin: 17px 0 1px;
	}
	
	.page-id-596 .green-banner {
		margin-top:18px;
	}
	
	.page-id-596 .green-banner:before {
		width:100%;
	}
	
	.staff.stom-cols-3 {
		min-height: 300px;
	}
}


/****** MOBILER ******/

@media only screen and (max-width: 590px) {
	.page-id-2180 .entry-content .netbinfo {
		margin: 5px 0 50px 0 !important;
	}
}

@media only screen and (max-width: 520px) {
	span.headersearch p:after {
	    position: relative;
	    top: -6px;
	    right: 7px;
	}	
	#logo img {
	    /* max-width: 170px; */
	    margin-top: 0;
	    margin-bottom: 17px;
	    float: left;
	    padding-top: 14px;
	}

	span.headersearch p {
	    right: 36px;
	    font-size: 0;
	}
	#site-navigation .menu-toggle .fa {
		bottom: auto;
		top: 16px;
	}

	.extra-header-text {
		margin-right: 0;
		left: auto;
		right: 4%;
	}	

	.nav-wrap {
		bottom: 9px;
	}	
	.nav-wrap {
		margin-bottom: 4px;
/*		width: 100%!important;
		padding: 0 4%;*/
	}	
	.site-branding #logo {
		padding: 7px 0 12px;
	}

	.stom-custom-search-form button {
	    height: 27px;
	}
	#page.with-top-padding {
	    padding-top: 105px;
	}	
	.header-menu-fixet-only #logo img {
		/* max-width: 160px; */
	}	
	.nav-wrap.nav-wrap-scroll {
	    /* margin: auto; */
	    margin-top: 0;
	    margin-bottom: 5px;
	}	

	#site-navigation .menu-toggle {
	    padding: 0;
	}

	.netbankLink a {
		margin-left: 2px;
	}
	.home .slider-inner h1, .home .slider-inner h2 {
    font-size: 2em !important;
	}
	.top-bar2 .top-bar-right,
	.header-menu-fixet-only .top-bar2 .top-bar-right {
	    bottom: -22.5px;
	    right: 48px;
	}	
	.main-navigation ul {width:100%;}

	#kontaktside form#kontakt {
	    width: auto;
	}
	.stom-posts .stom-post-wrapper {
	    min-height: 225px;
	}

	.home .news .stom-anmeldelse {
		padding: 15px 20px;
	}
	.home .news .stom-anmeldelse .stom-anmeldelse-tekst {
		font-size: 1rem;
	}
	.home .news .stom-anmeldelse .stom-anmeldelse-heading {
		font-size: 23px;
	}

	.home .stom-simple-slider .stom-anmeldelse-dato {
		font-size:11px;
	}

	.site-header.header-menu-fixet-only .extra-header-text {
	    bottom: 13px;
	}	
	.site-header.header-menu-fixet-only form.search-form {
	    top: 66px;
	}

	.site-header.header-menu-fixet-only .header-wrapper {
	    height: 110px;
	}

	.home .laan .section {
	    padding: 50px 0% !important;
	}

	.slider-inner h1 span:first-of-type {
	    display: initial;
	}

    .header-logon-menu-wrapper {
        right: 2px;
    }
}

@media only screen and (max-width: 640px) {
	#salesforce-form form input {
		width: 100%;
		margin-right:0;
	}
	
	#salesforce-form form select {
		margin:0;
		width:100%;
		margin-bottom:12px;
	}
}

@media only screen and (max-width: 432px) {
	
	.headersearchform {
	    display: none;
	    position: absolute;
	    left: 0;
	    width: 100%;
	}

input.search-submit, input.search-field {
    height: 41px!important;
}

form.search-form input.search-submit {
    /*background: url(../images/search-icon.png) no-repeat 3px 6px;*/
}
form.search-form input.search-submit {
    background: url(../images/search-icon.png) no-repeat 8px 12px;
    background-color: #003f26;
}
	.headersearchform form.search-form input.search-field {
	    padding: 4px 8px;
	    width: 258px;
	}

	.nav-wrap form.search-form {
	    display: none;
	}

	.headersearch {
	    position: absolute;
	    left: 0;
	    top: 0;
	    display: block!important;
	}

	.extra-header-text {
	    display: block;
	    width: 92%;
	    /* position: relative; */
	    left: 4%;
	}

	form.search-form {
	    top: 8px;
	    left: 0;
	    right: 0!important;
	    margin: auto;
	    display: block;
	    text-align: center;
	}

	.headersearchform {
	    max-width: 288px;

	}

	.headersearch span {
	    font-size: 26px;
	    padding-top: 3px;
	    color: #003f26;
	}
	form.search-form input.search-submit {
	    font-size: 0!important;
	    height: 28px;
	}	

	.stom-slider-text-content h1 {
	    line-height: initial;
	    font-size: 30px!important;
	}	
	.stom-slider-text-content p {
	    font-size: 14px;
	}
	
	.page-id-596 .green-banner {
		margin-top:0;
	}
}


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

@media only screen and (max-width: 720px) {
	.btn-logon {
        display: block;
    }

    .header-logon-menu-wrapper {
        display: none;
        position: absolute;
        width: 143px;
    }

    .header-logon-menu-wrapper span {
        width: 100%;
    }

    .header-logon-menu-wrapper span a {
        width: 100%;
    }

    .btn-logon:hover + .header-logon-menu-wrapper {
        display: block;
    }

    .header-logon-menu-wrapper:hover {
        display: block;
    }
}