/*
 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***************************************
 * STOCK STYLES
 * Styles som ændre i default styling så det passer til vores behov.
 ******************************************************************************/
html, body {
    overflow-x: hidden; /* Forhindrer horisontal scroll på hele siden */
}

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


/*******************************************************************************
  #Navigation / Menu styling
 ******************************************************************************/
/* Border hover effekt på links 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%;
}

/* 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;
}

/* 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;
}

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

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

/*******************************************************************************
  #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; }



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

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

/* Fast width på ikonerne i footeren */
.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
 ******************************************************************************/
/* Bricks forms felter ved siden af hinanden - Juster nth-child numre efter antal felter */
/* Juster bredden for ulige felter og tilføj afstand mellem kolonner */
.form-group:nth-child(2), .form-group:nth-child(3) {
 	width: 50%;
	margin-right: 0px;
}

 /* Juster bredden for lige nummererede felter */
.form-group:nth-child(5), .form-group:nth-child(6) { width: 50%; }

.file-result.show .remove {
    font-size: 12px !important;
    line-height: 20px !important;
    margin: 0px 5px !important;
    padding: 0 5px !important;
    font-size: 15px !important;
}

/* File upload styling */

/* File upload får 100% og border radius og en anden baggrundsfarve */
label.choose-files { 
	width: 100%; 
	margin-top: -10px !important; }

.files_uploaded { color:#ababab; }

.delete {
	background-color: #ca1936;
	border-radius: 0px !important;
	color:#fff;
	padding: 6px;
	font-size: 12px;
	margin-left: 20px; }

.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; }

/*******************************************************************************
 * HELPER CLASSES
 ******************************************************************************/
/* Laver p tags om til fake heading */
.fake-heading-light p, .fake-heading-dark p { 
	font-size:1.7em; 
	font-weight: 700; 
	line-height: 140%; }

@media only screen and (min-width: 768px) {
/* Sætter bullet points og ikon listen til at være på 2 rækker */ 
.multi-column-liste 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 */ }
}