/*
 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 {
    overflow-x: hidden; /* Forhindrer horisontal scroll på hele siden */
}

@media only screen and (max-width: 1025px) {
	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;
     }
	
.mobile-logo a img {
    position: relative;
	margin-bottom: 10px !important;
     }
}

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

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

/*******************************************************************************
 * NINJA FORMS
 * Classes som tilføjer effekter eller specielle styles
 ******************************************************************************/
/* Ninja forms error */
.nf-field .nf-fail .ninja-forms-field{ border-color: red !important;}
.nf-after-field .nf-error {display: block !important;}
.nf-error-msg {text-align: center;}
.nf-form-cont form {margin-bottom: 0;}
.nf-error-msg.nf-error-field-errors {display:block;}

/* styles */
.nf-form-fields-required { display:none; }
.widget_ninja_forms_widget{ padding:0; }
.nf-field-container { margin-bottom: 0 !important;}
.nf-multi-cell .nf-cell:first-child  { padding-left:  0 !important; }
.nf-multi-cell .nf-cell:last-child   { padding-right: 0 !important; }

.nf-form-cont input[type='email'], 
.nf-form-cont input[type='tel'],
.nf-form-cont input[type='text'],
.nf-form-cont select,
.nf-form-cont textarea {
    padding: 5px;
    font-size: inherit;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 10px;
    border-radius: 10px;
    background: #ffffff !important;
    border: 1px solid #d5d5d5 !important;
    box-sizing: border-box;
    width: 100%;
    transition: border-color 0.2s ease;
}

.nf-form-cont input[type='email']:focus, 
.nf-form-cont input[type='tel']:focus,
.nf-form-cont input[type='text']:focus,
.nf-form-cont select:focus,
.nf-form-cont textarea:focus {
    border-color: #007A2F !important;
    outline: none;
}

.nf-form-cont .nf-field-element textarea { height:135px; }

.nf-form-cont input[type=submit] {
	cursor: pointer; 
	width: 100%;
    font-size: 18px;
	font-family: 'Inter Tight', sans-serif;
	font-weight: bold;
	text-transform: none !important;
	color: #ffffff;
	border-color: #007A2F;
	border-radius: 3px !important;
	background-color: #007A2F;
    -webkit-appearance:none; 
       -moz-appearance:none; 
            appearance:none;
}
.nf-form-cont input[type=submit]:hover{
    opacity: 0.9;
}

.nf-form-cont input.nf-next {
	width: 100%;
	cursor: pointer; 
    font-size: 16px;
	font-family: 'Inter Tight', sans-serif;
	text-transform: none !important;
	color: #ffffff;
	border-color: #007A2F;
	border-radius: 10px !important;
	background-color: #007A2F;
    -webkit-appearance:none; 
       -moz-appearance:none; 
            appearance:none;
}

.nf-form-cont input[type='tel']::placeholder, 
.nf-form-cont input[type='email']::placeholder, 
.nf-form-cont input[type='text']::placeholder, 
.nf-form-cont textarea::placeholder {
    font-size: inherit;
	font-family: inherit;
	color: #888888;
}

/* File upload styling */
.files_uploaded { color:#ababab; }
.nf-form-cont .nf-field-container.file_upload-container { margin-bottom: 0px; }
.nf-form-cont .delete {
	background-color:#ca1936;
	border-radius:3px;
	color:#fff;
	padding:6px;
	font-size:12px;
	margin-left: 20px;
}

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

.nf-form-cont .field-wrap button {
    display: block;
    width: 100%;
    margin: 0 0 5px 0px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 10px;
    font-size: inherit;
    font-family: 'Inter Tight', sans-serif;
    -webkit-appearance: none;
        -moz-appearance: none;
            appearance: none;
	box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}

.nf-fu-fileinput-button span::after {
    font-family: 'entypo-fontello';
    content: "\e82e";
    display: inline-block;
    position: relative;
    right: -10px;
    color: #222;
}

.nf-form-cont .nf-fu-fileinput-button span {padding-right:10px;}

.nf-form-cont .nf-fu-progress {
	border-radius: 10px;
	margin-bottom: 5px;
}
.nf-form-cont .files_uploaded p {margin:0;}

@media only screen and (max-width: 767px) {
	.nf-multi-cell .nf-cell {
		padding: 0 !important;
	}
}

