/*
 Theme Name:   Best One Child Theme
 Theme URI:    https://best-one.dk/
 Description:  Brug dette child theme til at lave custom styling til temaet this.
 Author:       Best One
 Author URI:   https://best-one.dk/
 Template:     bricks
 Version:      1.1
*/

/****************************************ct***************************************
 * GENERAL STYLES
 * Styles som ændre i default styling så det passer til vores behov.
 ******************************************************************************/
/* Forhindrer horisontal scroll på hele siden */
@media only screen and (max-width: 666px) {
	html, body {
    overflow-x: hidden;  
}}


@media only screen and (max-width: 767px) {
/* Rykker cookiebot over mobilbaren - må ikke slettes */
div#CookiebotWidget { bottom: 90px !important; }
}


/*******************************************************************************
  #Navigation / Menu styling
 ******************************************************************************/
/* Top menuen - Baggrundsfarve ved scroll */ 
.scrolling #top-menu { background: #f8f8f8 !important; }

/* Top menuen CTA - Font color ved scroll */ 
.scrolling #top-cta-tlf, .scrolling #top-cta-mail {	color: #c99835 !important; }

/* Rykker submenuen ned fra top level linket */
.bricks-nav-menu .sub-menu { top: 195% !important; }

/* Rykker submenu inden i submenuen op så det aligner med submenuen */
.bricks-nav-menu .sub-menu .sub-menu { top: 0% !important; }

/* Placering af lins ved transparent og ikke transprant menu */
#brx-header.sticky #menu-main-menu a, #brx-header.sticky.scrolling #menu-main-menu a {
    position: relative;
}

/* Hover-effekt på linkene ved transparent og ikke transprant menu */
#brx-header.sticky #menu-main-menu a:hover::before, #brx-header.sticky.scrolling #menu-main-menu a:hover::before {
    width: 100%;
}

/* Ikke transprant menu styling af border */
#brx-header.sticky.scrolling #menu-main-menu a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #333333 !important;
    transition: width 0.4s ease;
}

/* Transprant menu styling af border */
#brx-header.sticky #menu-main-menu a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #ffffff !important;
    transition: width 0.4s ease;
}

/* Fjerner mobil logo i menuen */
.mobile-logo { display: none !important; }

@media only screen and (max-width: 1024px) {	
/* Viser mobil logo i menuen */
	.mobile-logo {
	display: block !important;
    margin-left: -20px !important; }
	
	.mobile-logo a img {
    position: fixed;
    top: 25px; }
}

/*******************************************************************************
  #Call to action styling - CTA
 ******************************************************************************/
/* Ændre opacity på knapper ved hover */
.cta-color a { color: #c99835 !important;}

/*******************************************************************************
  #Knap styling
 ******************************************************************************/
/* Ændre opacity på knapper ved hover */
.bricks-button:hover { opacity: 0.8 !important;}

/*******************************************************************************
  #Ydelse styling
 ******************************************************************************/
.splide {
    position: relative; /* Sikrer, at slideren ikke overstiger viewport-bredden */
	overflow: visible !important; /* Skjuler eventuel ekstra bredde */
}

/* Skjuler eventuel ekstra bredde */
.splide .splide__arrow--prev { overflow: visible !important; }

#anmeldelse-slider .splide__track { overflow: visible !important; }

/* Giver heading style til Text Blocks */
.fake-heading-1 p, .fake-heading-2 p {
	line-height: 1.1em !important;
	margin: 0 !important;
	font-family:'Montserrat';
	font-weight: 700;
}

.fake-heading p { 
	font-size:1.7em; 
	font-family:'Montserrat';
	font-weight: 700; 
	line-height: 140%; }



/*******************************************************************************
  #Ikonliste styling
 ******************************************************************************/

/* Tilføjer padding på .pris-ikonliste description så den aligner med titlen  */
.pris-ikonliste .description { padding: 0px 0px 0px 5px !important; }

/* Fjerner Bricks default padding og border fra tab-content */
.tab-content {
    padding: 0px !important;
    border: 0px !important;
}

/* Sætter  padding på bullet point listen */ 
.multi-column ul { padding: 20px !important; }

@media only screen and (min-width: 768px) {
/* Sætter bullet points og ikon listen til at være på 2 rækker */ 
.multi-column ul, .multi-column-liste {
	column-count: 2; /* Del listen i 2 kolonner */
	column-gap: 20px; /* Afstand mellem kolonner */
	padding: 0 !important;
	list-style-position: inside; /* Gør at bullets er inde i listen */ }
}

/*******************************************************************************
  #Footer styling styling
 ******************************************************************************/

/* Styling på ikonliste i footeren - Rykker titel til højre for ikonet */
.footer-ikonliste .content .title {	margin-left: 10px !important; }

/* Styling på CTA ikonliste i footeren - Ændret farven på CTA'erne i footeren */
.footer-ikonliste-cta .content a .title { color: #c99835 !important; }

/* Styling på ikonliste i footeren - Rykker description til højre for ikonet */
.footer-ikonliste .description { margin-left: 25px !important; }

/* Ændre til en fast width på ikonerne */
.footer-ikonliste span.icon { width: 16px !important;}	

@media only screen and (max-width: 768px) {
/* Aligner ikonet og tekst i footeren */ 
.footer-ikonliste span.icon { margin-top: 5px; }	
}

/*******************************************************************************
 * Bricks FORMS
 * Classes som tilføjer effekter eller specielle styles
 ******************************************************************************/

input[type='email'], input[type='tel'], input[type='text'], input[type=submit], input[type=button], select, textarea  {
    padding: 5px 10px !important;
	font-size: inherit !important;
	font-family:inherit !important;
	margin-bottom: 2px !important;
	border-radius: 0px !important; }

input[type=submit] {
	cursor: pointer; 
	width: 100% !important;
	padding: 15px !important;
    font-size:    18px !important;
	font-family:  'Roboto' !important;
	font-weight:  600 !important;
	text-transform: none !important;
	text-align: center !important;
	color: #ffffff;
	border: none;
	border-radius: 0px !important;
	background-color: #225581;
    -webkit-appearance: none; 
    -moz-appearance: none; 
    appearance: none; }

input[type=submit]:hover { opacity: 0.9; }


/* File upload styling */

/* File upload får 100% og border radius og en anden baggrundsfarve */
label.choose-files, .form-group.file { width: 100% !important; margin-top: -5px !important; font-size: 14px;}
.files_uploaded { color:#ababab; }

.remove {
	width: 60px !important;
	height: 25px !important;
	padding: 10px 0px !important;
	border-radius: 5px !important;
    font-size: 14px !important;
	line-height: 0.4em !important; }

.file_upload-wrap label {    
	line-height: 1.1em;
    font-weight: initial; }

.field-wrap button {
    display: block;
    width: 100% !important;
    margin: 0 0 5px 0px;
    padding: 10px 15px !important;
    cursor: pointer;
    border-radius: 0px;
    font-size:   inherit;
    font-family: inherit;
	text-align: center !important;
    -webkit-appearance: none;
        -moz-appearance: none;
            appearance: none;
	-webkit-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
	   -moz-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
	        box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16); }

.files_uploaded p { margin:0; }

/*******************************************************************************
 * CUSTOM MOBILE STYLES
 ******************************************************************************/

@media only screen and (max-width: 989px) {}
@media only screen and (min-width: 768px) and (max-width: 989px) {}
@media only screen and (max-width: 767px) {}
@media only screen and (min-width: 480px) and (max-width: 767px) {}
@media only screen and (max-width: 479px) {}