/*
	Theme Name: udlejning
	Author: udlejning
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/
.flex {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.wrap {
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}

.column {
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
}

.center {
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}

.j-end {
	-webkit-box-pack: end;
	    -ms-flex-pack: end;
	        justify-content: flex-end;
}

.end {
	-webkit-box-align: end;
	    -ms-flex-align: end;
	        align-items: flex-end;
}

.baseline {
	-webkit-box-align: baseline;
	    -ms-flex-align: baseline;
	        align-items: baseline;
}

.j-center {
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
}

.between {
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
}

/* global box-sizing */
*,
*:after,
*:before {
	-webkit-box-sizing:border-box;
	        box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 16px;
	color:#000;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#000;
	text-decoration:none;
}

a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width:1200px;
	width:100%;
	margin:0 auto;
	padding: 0 10px;
	position:relative;
}
/* header */
.header-top {
	background: #FCFAF9;
}

.header-bottom {
	background: #003D49;
	padding: 10px 0;
	text-align: center;
}
/* logo */
.logo {
	text-align: center;
	padding: 30px 0;
}

.logo img{
	width: 100%;
max-width: 300px;
}
/* nav */
.nav{
	text-align: center;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}
.nav>ul {
    display: none;
}

.nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.nav ul li{
	position: relative;
} 

.nav>ul>li {
	display: inline-block;

}
.nav ul>li>a {
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    display: block;
    padding: 10px 25px;
}

.nav ul>li>a:hover{
	font-weight:700;
}

.nav ul ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 9;
	text-align: left;
	white-space:nowrap
}

.nav>ul>li.current-menu-item>a{
	font-weight:700;
}

.nav ul li:hover> ul{
	display: block;
}

.nav ul ul ul {
	top: 0;
	left: 100%;
	width: 100%;
}

.nav ul ul li {
    border-bottom: 1px solid white;
}
.nav ul ul li a {
    padding: 9px 10px;
    display: block;
    background: #4A606F;
}
.nav ul ul li a:hover{
    background: #003D49;
}

#mmenu_button>span {
    display: block;
    height: 2px;
    background: #fff;
    width: 30px;
    margin-bottom: 5px;
    border-radius: 5px;
}

#mmenu_button>span:last-child{
	margin-bottom: 0;
} 

.mm-menu_offcanvas {
    z-index: 9;
}

/* Front page */
/* categories */

.main-headline{
	text-align: center;
	font-size: 21px;
	font-weight: 700;
	margin: 40px 0;
	text-transform: uppercase;
}

.categories{
	margin-bottom: 20px;
}

.category-item{
	width: 100%;
	padding: 0 10px;
	text-align: center;
	margin-bottom: 20px;
}

.category-image{
	border: 5px solid #003D49;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin: 0 auto;
}

.category-image img{
	width: 90px;
    height: 90px;
}

.category-item span{
	display: inline-block;
	font-size: 21px;
	font-weight: 700;
	padding-top: 10px;
}
/* welcome */
.welcome{
	background: #9faeb84d;
	padding: 40px 0;
	text-align: center;
	margin-bottom: 40px;
}

.welcome .main-headline{
	margin-top: 0;
}

.welcome p{
	max-width: 800px;
	margin: 0 auto;
	line-height: 24px;
}

/* contact us */
.contact-section {
    position: relative;
    overflow: hidden;
}

.contact-banner {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.contact-image {
    display: block;
    width: 100%;
    height: auto;
	min-height: 250px;
	-o-object-fit: cover;
	   object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 1;
}

.contact-banner-content {
    position: absolute;
    z-index: 2;
    color: #fff; 
    text-align: center; 
    padding: 20px; 
	font-size: 42px;
}

.contact-banner-content a{
	color: #fff!important;
}

/* footer */
.footer {
	background: #4A606F;
	padding: 40px 0;
	clear: both;
}

.footer .cat-item-25{
	display:none!important;
}

.footer .wrapper>div {
	width: 100%;
	margin-bottom: 25px;
}

.footer ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.footer ul li ul {
	display: none;
}

.footer p,
.footer li,
.footer a {
	line-height: 24px;
	color: #ffffff;
}

.footer li.current-cat a,
.footer a:hover {
	font-weight:700;
}

.footer p.h3 {
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	margin-top: 0;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.copyright{
	background: #003D49;
	color: #fff;
	text-align: center;
	padding: 20px 0;
}
.copyright p{
	margin: 0;
}

.woocommerce .woocommerce-breadcrumb{
	margin: 1em 0;
}

.woocommerce div.product .woocommerce-tabs{
	margin-top: 2em;
}

.woocommerce div.product div.images .flex-control-thumbs{
	margin-top: 10px;
}

.flexRow{
	width: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/
.related.products{
	clear: both;
}
/* Arrange 4 categories in a row */
.subcategory-buttons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    margin-top: 10px;
	list-style: none;
	margin-left: -10px;
	margin-right: -10px;
	padding: 0;
}

.subcategory-button {
   width: 100%;
   padding: 0 10px;
   margin-bottom: 20px;
}

.subcategory-button a{
	display: block;
	background-color: #f0f0f0;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    color: #333;
    -webkit-transition: background-color 0.3s ease;
    -o-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;
}

.subcategory-button a.active,
.subcategory-button a:hover {
    background-color: #003D49;
	color:#fff;
}

.custom-badge {
    position: absolute;
    top: 45px;
    right: -45px;
    -webkit-transform: translateY(-50%) rotate(45deg);
        -ms-transform: translateY(-50%) rotate(45deg);
            transform: translateY(-50%) rotate(45deg);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    border-radius: 3px;
    padding: 5px 10px;
    width: 175px;
    text-align: center;
}

.onsale{
	display: none;
}

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{
	overflow: hidden;
}


.custom-badge.udlejet{
	background: #ED7D2D;
}

.custom-badge.ledig{
	background: #668161;
}

.custom-badge.under-opfoersel{
	background: #4A606F;
}

.button.kontakt-button,
.woocommerce ul.products li.product .button{
	background: #003D49!important;
	color: #fff!important;
}

.single-product .summary .custom-badge {
	position: relative;
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
    top: unset;
    right: unset;
}

#tab-detaljer-om-boligen .flexRow{
	padding: 10px;
}

#tab-detaljer-om-boligen .flexRow:nth-child(even){
	background: #9faeb84d;
}

#tab-detaljer-om-boligen .flexRow:nth-child(odd){
	background: #FCFAF9;
}
.woocommerce ul.products li.product .price,
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price{
	color: #668161;
	font-size: 21px;
}

.woocommerce-Price-currencySymbol{
	display:none;
}

/*------------------------------------*\
    form
\*------------------------------------*/

.wpcf7 .wpcf7-text, .wpcf7 .wpcf7-textarea {
    width: 100%;
    max-width: 380px;
}

.wpcf7-submit{
	background: #003D49;
	border-radius: 5px;
	color: #fff;
	font-size: 21px;
	padding: 5px 25px;
}

/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:320px) {

}
@media only screen and (min-width:480px) {
	.category-item{
		width: 50%;
	}

	.subcategory-button{
		width: 50%;
	}
}
@media only screen and (min-width:768px) {
	.footer .wrapper>div {
		width: 33.3333%;
	}
	.category-item{
		width: 25%;
	}
	.main-headline{
		font-size: 28px;
	}
	.subcategory-button{
		width: 25%;
	}
}
@media only screen and (min-width:960px) {
	#mmenu_button{
		display: none;
	}
	.nav>ul {
		display: inline-block;
	}
	.header-bottom {
		padding: 0;
	}
}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (-o-min-device-pixel-ratio:3/2),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		-webkit-box-shadow:none !important;
		        box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}

