/*======================================================================//
// responsive.css                                                       //
//======================================================================*/

@media only screen and (max-width: 1400px) {
	.home section.basic-info .section {
		margin-top: -150px;
	}
	.section-wrap.stom-grid-section .section .grid-element > img {
		height: 100%; 
		object-fit: cover; 
	}
}

@media only screen and (max-width: 1200px) {
	
	
	.home section.mapsection .grid-element.text .overlay.clearfix {
		max-width: 95%;
		margin: 0 auto;
	}		
	
	.section-wrap.stom-grid-section.section-fullpage .grid-element.text .overlay {
		padding: 40px 0 !important;
	}
	section.section-wrap.clear.stom-grid-section.basic-info {
		margin: 0 40px;
	}
	.home .slider-inner {
		min-height: 400px;
	}
	header .main-navigation a {
		font-size: 16px;
		padding: 12px 11px;
	}	
	.home .page-slider-section h1 {
		font-size: 33px;
	}

	.home .page-slider-section h1 strong {
		font-size: 55px;
	}	
		
}
@media only screen and (max-width: 1050px) {
	.hover-active:not(.hover-style-bold) ul.menu a:before {
		display: none;
	}	
}


@media only screen and (max-width: 1050px) {

    .extra-header-text a.booking-button {
        border-radius: 20px;
        text-decoration: none;
        display: block!important;
        position: absolute;
        right: 106px;
        padding: 8px 15px!important;
        top: 11px;
    }
    .extra-header-text a.booking-button {
        display: none;
    }

    .site-branding #logo img {
        min-width: auto;
        max-height: 87px;
    }

    header .nav-wrap {
        margin: 25px 0 0;
    }

    .site-branding #logo {
        padding: 3px  0 0;
    }
}


@media only screen and (max-width: 767px) {

    .extra-header-text a.booking-button {
        border-radius: 20px;
        text-decoration: none;
        display: block!important;
        position: absolute;
        right: 80px;
        padding: 8px 15px;
        top: 26px;
    }
}

@media only screen and (max-width: 960px) {

	.home section.basic-info .section, 
	.home section.booking-section .section {
		max-width: 400px;
		padding: 0;
}	
	.home section.mapsection ul {
		list-style-type: none;
	}
	.home .page-slider-section h1 {
		font-size: 22px;
	}	
	.home section.basic-info .grid-element.contactinfo table {
		width: 100%;
	}
	.home section.basic-info .grid-element.contactinfo tr {
		/* display: block; */
	}
	.home section.basic-info .grid-element.contactinfo tr td {
		/* text-align: left; */
		/* width: 100%; */
		/* display: inline-block; */
		/* float: none; */
	}
	.home section.basic-info .grid-element.contactinfo table tr td:last-child {
		font-style: italic;
	}
	.home section.basic-info .section p {
		/* word-break: break-all; */
	}
	.section-wrap.stom-grid-section .section.columns-3 .grid-element {
		flex-basis: 100%;
	}
	.section-wrap.stom-grid-section .section .grid-elements {
		/* text-align: center; */
	}
	.home section.mapsection .section.columns-2 .grid-element {
		flex-basis: 100% !important;
	}
	.home section.basic-info .section .grid-element:nth-child(n+2) {
		border-top: 1px solid #5ab3e8;
		border-left: none;
		padding-left: 0px;
	}
	.home .section-wrap.stom-grid-section.section-fullpage .grid-element.contactinfo .overlay {
		padding: 40px 0 !important;
	}
	.home .stom-grid-section.basic-info table {
		width: 100%;
	}
	.home .stom-grid-section.basic-info tr {
		/* display: block; */
	}
	.home .stom-grid-section.basic-info tr td {
		/* text-align: center !important; */
		/* width: 100%; */
		/* display: inline-block; */
		/* float: none; */
	}
	section.section-wrap.clear.stom-grid-section.basic-info {
		margin: 0;
	}
	.home .stom-grid-section.basic-info table tr td:last-child {
		font-style: italic;
	}
	.home section.basic-info .section p {
		/* word-break: break-all; */
	}
	
	/* ---------- Responsive tables ---------- */
	 table.table-striped {
		width: 100% !important;
		height: auto !important;
		display: block;
		overflow-x: scroll;
	}
	table.table-striped::-webkit-scrollbar {
	    -webkit-appearance: none;
	    height: 5px;
	}
	table.table-striped::-webkit-scrollbar-thumb {
	    border-radius: 2px;
	    background-color: rgba(0,0,0,.2);
	    -webkit-box-shadow: 0 0 1px rgba(255,255,255,.2);
	}
	
	table.table-striped tbody {
		display: block;
		width: 550px;
	}
	
	table.table-striped td {
		padding: 4px;
	} 	
}


@media only screen and (max-width: 767px) {	
	.site-branding #logo {
		padding: 0;
	}
	header .header-wrapper {
		margin: 0;
		padding: 15px;
	}
	header .nav-wrap {
		/* margin: 35px 0 0 0; */
	}
	.home .slider-inner {
		min-height: auto;
	}
	.site-branding #logo img {
		/* min-width: 90px; */
	}
	body.burger-menu #site-navigation .menu-toggle {
		color: #222;
	}	
	header .section-wrap .section {
		padding: 12px 15px;
	}
	.hover-active:not(.hover-style-bold) ul.menu a:before,
	.main-navigation li.menu-item-has-children > a:after	{
		display: none;
	}
	span.phone_top {
		display: none;
	}
	#top-bar p {
		font-size: 13px;
	}
	.site-header .right {
		font-size: 13px;
	}
	a.stom-social-shortcode {
		display: none;
	}
	.home section.basic-info .section {
		/* text-align: center; */
		margin-top: -50px;
		width: 90%;
	}
	.home .basic-info h3 {
		margin-top: 20px;
		font-size: 20px;
	}
	.home h3 {
		font-size: 30px;
	}
	.page-slider-section .slider-text-inner {
		width: 100%;
		max-width: 100%;
		text-align: center;
	}
	.home .page-slider-section h1 strong {
		font-size: 37px;
	}
	.home .page-slider-section .slider-text {
		top: 0;
	}
	body:not(.home) .slider-inner, body:not(.home) .slick-list.draggable, body:not(.home) .slick-track, body:not(.home) .slide-element {
		min-height: 170px;
	}
	body:not(.home) .slider-text-inner h1 {
		padding: 30px 0;
		font-size: 44px;
	}
	body:not(.home) .page-slider-section .slide-element img {
		object-fit: cover;
	}
	
	/*Sidebar*/
	#secondary.active {
		z-index: 9999;
	}
	#secondary .custom-overflow-wrapper table {
		width: 100%;
	}
	#secondary .custom-overflow-wrapper tr {
		display: block; 
	}
	#secondary .custom-overflow-wrapper tr td {
		text-align: left !important;
		width: 100%;
		display: inline-block;
		float: none;
	}
	#secondary .custom-overflow-wrapper table tr td:last-child {
		font-style: italic;
	}
	#secondary .custom-overflow-wrapper .gform_body li {
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important; 
	}
}

@media only screen and (max-width: 640px) {
	.site-branding #logo img {
		/* min-width: 85px; */
		/* max-width: 50%; */
		/* width: auto; */
	}
	header .nav-wrap {
		margin: 28px 0 0 0;
	}
	gform_wrapper .top_label li.gfield.gf_left_half,
	#page .gform_wrapper .top_label li.gfield.gf_right_half {
		/* padding: 0; */
	}
	.home section.basic-info .section {
		margin-top: 0;
	}

	#page .gform_wrapper div.validation_error {
		padding: 20px 30px;
		font-size: 1.3em;
	}
	#page .gform_wrapper div.validation_error .fa {
		margin-right: 5px;
		font-size: 1.1em;
	}
	.home .slider-inner,
	.home .slick-slider,
	.home .slick-list, 
	.home .slick-track,
	.home .slide-image	{
		min-height: 300px;
	}
	.home .slide-image img {
		height: 100%; 
		width: 100%;
		object-fit: cover;
	}
}

@media only screen and (max-width: 479px) {
	
	.header-aabningstider .afdeling p {
		max-width: 120px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	
	.section-wrap.stom-grid-section .section.columns-3 .grid-element {
		margin: 0 0 20px 20px;
	}
}

@media only screen and (max-width: 460px) {
	body:not(.home) .slider-text-inner h1 {
		font-size: 32px;
	}
	h2, .page-slider-section h3 {
		font-size: 26px !important;
	}
	.bluefooter h2 {
		font-size: 28px !important;
	}
	.gallery-columns-2, .gallery-columns-3, .gallery-columns-4  {
		grid-template-columns: repeat(1, 1fr);
	}
	.site-header .left, .site-header .right {
		font-size: 12px; 
	}
	header .section-wrap i.fas {
		display: none;
	}
}