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




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

/* Får bullets points i tekst elementer til at dele sig i to */
.multi-column-liste-bullets ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 kolonner */
  gap: 0em 3em; /* lodret og vandret afstand */
  padding-left: 1.2em; /* plads til bullets */
  margin: 0;
  list-style: disc outside;
}

.multi-column-liste-bullets ul li {
  display: list-item;
  margin: 5px 0px; 
  padding: 0; /* fjern ekstra padding */
  line-height: 1.3; /* lidt tættere lodret spacing */
}

/* Får bullets points i tekst elementer til at  lægge sig på 1 linje igen */
@media (max-width: 768px) {
  .multi-column-liste-bullets ul {
    grid-template-columns: 1fr;
  }
}

/* Får bullets points i liste elementer til at dele sig i to */
.multi-column-ikonliste {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 kolonner */
  gap: 0.4em 2em; /* lodret og vandret afstand */
  padding: 0;
  margin: 0;
  list-style: none; /* vi bruger Bricks’ ikoner i stedet for bullets */
}

.multi-column-ikonliste li {
  margin: 0;
  padding: 0;
}

.multi-column-ikonliste .content {
  display: flex;
  align-items: center; /* ikoner og tekst på linje */
  gap: 0.5em; /* afstand mellem ikon og tekst */
  line-height: 1.3; /* tættere lodret spacing */
}

/* Får bullets points i liste elementer til at  lægge sig på 1 linje igen */
@media (max-width: 768px) {
  .multi-column-ikonliste {
    grid-template-columns: 1fr;
  }
}





	
