/*
 Theme Name:   Webko Child
 Theme URI:    https://webko.dk
 Description:  Webko Child Theme
 Author:       Webko
 Author URI:   https://webko.dk
 Template:     hello-elementor
 Version:      1.0.0
 */

/* ===================================================================== */
/* 							BDK STYLES									 */
/* ===================================================================== */
/* spejder skole forening lper */
.lp-intro h2, .lp-intro h3 {
	font-size: 16px !important;
	line-height: 1.3em !important;
}

.lotteri-content:after {content:'inden kl. 11';} 
/* fjerne heading på nye sider */
body.page-id-4678 header.page-header, body.page-id-4671 header.page-header, body.page-id-4649 header.page-header {display: none !Important;}

/* underline på tekst */

.title-underline .elementor-widget-container h2 b{
    position: relative;
    z-index: 1;
    font-weight: 900;
}
.title-underline .elementor-widget-container h2 b:after {
	content: "";
    background: url(https://sl.168-63-79-147.plesk.page/wp-content/uploads/2023/05/underline.svg) no-repeat;
    width: 100%;
    height: 6px;
    background-size: 100% 100%;
    position: absolute;
    bottom: -3px;
    left: 0px;
    z-index: -1;
}

.slider-cta-boks {
	background-color: #001785;
	padding: 13px 20px;
}

/***
* class: .sticky-header
*/
header.sticky-header {
	--header-height: 82px;
	--shrink-header-to: 0.8;
	--transition: .45s cubic-bezier(.4, 0, .2, 1);
	background-color: rgba(255, 255, 255, 1);
	transition: background-color var(--transition),
				backdrop-filter var(--transition),
				box-shadow var(--transition);
}

/***
* Sticky header activated
*/
header.sticky-header.elementor-sticky--effects {
	background-color: rgba(255, 255, 255, 1);
	box-shadow: 0px 4px 33px 1px rgba(0, 0, 0, .07);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	backdrop-filter: saturate(180%) blur(20px);
}
header.sticky-header > .elementor-container {
	min-height: var(--header-height);
	transition: min-height var(--transition);
}
header.sticky-header.elementor-sticky--effects > .elementor-container {
	min-height: calc( var(--header-height) * var(--shrink-header-to) );
}

/***
* Shorter header on mobile (70px instead of 100px)
*/
@media only screen and (max-width: 767px) {
	header.sticky-header {
		--header-height: 70px;
	}
}

/***
* class: .logo
*/
header.sticky-header .logo img {
	transition: transform var(--transition);
}
header.sticky-header.elementor-sticky--effects .logo img {
	transform: scale(.8);
}

/* forside */
.border-top {border-top: 16px solid #FF0000;}

.border-top-column .elementor-column-wrap {
	border-style: solid;
    border-width: 16px 0 0 0;
    border-color: #FF0000;
}

.bred-knap a {min-width: 250px;}

/* Form elements */
input[type='date'],
input[type='email'],
input[type='number'],
input[type='password'],
input[type='search'],
input[type='tel'],
input[type='text'],
select,
textarea {
    border: solid 1px #e2e2e2;
    border-radius: 2px;
    font-size: 14px;
    background: #fff;
    padding: 10px 10px;
    -webkit-appearance: none;
}

input[type='date']:focus,
input[type='email']:focus,
input[type='number']:focus,
input[type='password']:focus,
input[type='search']:focus,
input[type='tel']:focus,
input[type='text']:focus,
select:focus,
textarea:focus {
    border-color: #bbb;
}

/* Buttons */

[type='button']:focus,
[type='reset']:focus,
[type='submit']:focus,
.button:focus,
button:focus {
    outline: none;
}

'

/* Forside Slider */

.forside-slider .elementor-cta__description.elementor-cta__content-item.elementor-content-item {
    max-width: 760px;
}

.elementor-lightbox .elementor-swiper-button:focus,
.elementor-lightbox .dialog-lightbox-close-button:focus {
    outline: none;
}

/* Gravity Form */
.ginput_container_checkbox input {
    margin-right: 10px;
}

.field-left {
    width: 49%;
    float: left;
}

.field-right {
    width: 49%;
    float: right;
}

.field-right:after {
    content: "";
    clear: both;
}

.field-full {
    width: 100%;
    clear: both;
}

.gform_wrapper ul.gform_fields li.gfield {
    padding-right: 0 !important;
}

.gform_wrapper ul li.gfield {
    clear: none !important;
}

.gfield_select,
.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
    padding: 12px !important;
}

.gform_body {
    font-family: 'Inter', sans-serif;
}

li.gfield {
    display: inline-block;
}

.gform_wrapper .gsection .gfield_label,
.gform_wrapper h2.gsection_title,
.gform_wrapper h3.gform_title {
    font-weight: 800 !important;
    color: #393939;
}

.gform_wrapper .gsection {
    padding: 0px 0px 15px 0px !important;
    border-bottom: 1px solid #eee !important;
    margin: 0px 0px 0px 0 !important;
}

.gsection_description {
    margin-bottom: 0 !important;
}

body .choose-category .gfield_radio {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between;
}

body .choose-category ul.gfield_radio li input[type=radio] {
    resize: both !important;
    width: 25px !important;
    height: 25px !important;
    margin-right: 5px;
}

body .choose-category ul.gfield_radio li {
    border: solid 1px #eee;
    margin-bottom: 5px !important;
    padding: 35px 15px !important;
    width: 24%;
    transition: ease .2s all;
    display: flex;
    align-items: center;
    border-radius: 6px;
}

body .choose-category.choose-type ul.gfield_radio li {
    width: 49%;
}

body .choose-category ul.gfield_radio li label {
    font-size: 13px !important;
    margin-top: 5px;
    font-weight: 600;
}

/*.number1 h2.gsection_title:before {
    content: "1";
    margin-right: 15px;
    background: #001785;
    color: #fff;
    width: 30px;
    height: 30px;
    display: inline-block;
    text-align: center;
    line-height: 30px;
    border-radius: 500px;
    font-size: 20px;
}
.number2 h2.gsection_title:before {
    content: "2";
    margin-right: 15px;
    background: #001785;
    color: #fff;
    width: 30px;
    height: 30px;
    display: inline-block;
    text-align: center;
    line-height: 30px;
    border-radius: 500px;
    font-size: 20px;
}
.number3 h2.gsection_title:before {
    content: "3";
    margin-right: 15px;
    background: #001785;
    color: #fff;
    width: 30px;
    height: 30px;
    display: inline-block;
    text-align: center;
    line-height: 30px;
    border-radius: 500px;
    font-size: 20px;
}
.number4 h2.gsection_title:before {
    content: "4";
    margin-right: 15px;
    background: #001785;
    color: #fff;
    width: 30px;
    height: 30px;
    display: inline-block;
    text-align: center;
    line-height: 30px;
    border-radius: 500px;
    font-size: 20px;
}*/
.gform_wrapper .description,
.gform_wrapper .gfield_description,
.gform_wrapper .gsection_description,
.gform_wrapper .instruction {
    font-size: 14px !important;
	color: #393939;
    padding: 0px !important;
}

.kendskab li input {
    resize: both !important;
    width: 25px !important;
    height: 25px !important;
    margin-top: 0 !important;
    margin-right: 5px !important;
    border: solid 1px #ccc !important;
}

.gform_button.button {
    margin: 0 !important;
    width: 100% !important;
    padding: 15px;
    font-size: 18px !important;
}

body .choose-category ul.gfield_radio li input[type=radio]:checked:before {
    content: "";
    width: 100%;
    height: 100%;
    background: none;
    position: absolute;
    left: 0;
    top: 0;
    border: solid 2px #001785;
    border-radius: 6px;
}

.gform_wrapper {
    margin-top: 0 !important;
}

.gform_wrapper .top_label li ul.gfield_checkbox,
.gform_wrapper .top_label li ul.gfield_radio {
    width: 100% !important;
}

.gform_wrapper label.gfield_label,
.gform_wrapper legend.gfield_label {
    font-size: 14px !important;
}

.gform_wrapper .gform_page_footer {
    display: block;
    flex-direction: column;
    border-top: 0 !important;
    padding-top: 25px !important;
}

.gform_next_button {
    width: 50% !important;
    display: block !important;
    padding: 15px;
    order: 1;
    margin-right: 0 !important;
    float: right;
    max-width: 200px;
}

.gform_previous_button:focus,
.gform_next_button:focus {
    outline: none;
}

.gform_previous_button {
    order: 2;
    background: none !important;
    width: auto !important;
    color: #999 !important;
    margin-right: 0 !important;
    margin-top: 5px !important;
    box-shadow: none !important;
    float: left;
    padding: 0px !important;
    text-align: left;
}

.gform_previous_button:hover {
    color: #666 !important;
}

input#gform_submit_button_2 {
    max-width: 250px;
    float: right;
}

.gform_wrapper .gf_page_steps {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    background: none;
    border: none !important;
    border-radius: 6px;
    padding: 0 !important;
}

.gform_wrapper.gform_validation_error .gform_body ul li.gfield.gfield_error:not(.gf_left_half):not(.gf_right_half) {
    max-width: 100% !important;
}

.gform_wrapper div.validation_error {
    font-family: 'Inter', sans-serif;
}

.gform_wrapper .gfield_error .gfield_label {
    color: #393939 !important;
}

.gform_wrapper .validation_message,
.gform_wrapper .gfield_required {
    color: red !important;
    padding-top: 0 !important;
    position: absolute !important;
}

.gform_wrapper div.validation_error {
    color: red !important;
    border-top: none !important;
    border-bottom: none !important;
}

.gfield_error.field-left,
.gfield_error.field-right {
    width: 49% !important;
}

.gform_wrapper li.gfield.gfield_error {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.gfield_error .validation_message {
    position: absolute;
}

.gform_wrapper li.gfield.gfield_error.gfield_contains_required label.gfield_label {
    line-height: 1.3 !important;
}

.gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container,
.gform_wrapper li.gfield.gfield_error.gfield_contains_required label.gfield_label {
    margin-top: 0 !important;
}

.gsection.sektion.number3 {
    margin-top: 45px !important;
}

.gfield_error.field-left {
    float: none !important;
}

.gfield_error.field-full input,
.gfield_error.field-full textarea {
    width: calc(100% + 16px) !important;
}

.gform_wrapper .gf_step {
    height: auto !important;
}

.gform_wrapper .gf_step span.gf_step_number {
    background: #001785;
    color: #fff;
    width: 25px;
    height: 25px;
    line-height: 25px;
    border-radius: 500px;
    font-weight: 900;
    font-size: 13px !important;
    font-family: 'Inter', sans-serif !important;
}

.gform_wrapper .gf_step.gf_step_active span.gf_step_label {
    font-weight: 800;
}

.slim {
    background: #fafafa !important;
    border: dashed 2px #e2e2e2;
    border-radius: 2px;
}

.slim[data-state*=empty]:hover {
    background: #f7f7f7 !important;
}

button.slim-editor-btn.slim-btn-confirm {
    background: #001785 !important;
}

.gform_wrapper li.gfield.gfield_error,
.gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
    background: none !important;
    border: none !important;
}

.gform_wrapper li.gfield_error input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
.gform_wrapper li.gfield_error textarea {
    border: solid 1px red !important;
}

.gfield select {
    background: url(assets/images/dropdown_icon.svg) no-repeat right !important;
    background-size: 12px !important;
    background-position-x: 97% !important;
}

@media only screen and (max-width: 767px) {
    .gform_wrapper .gf_step {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        align-items: center;
        margin: 0 !important;
        font-size: 10px !important;
        max-width: 80px !important;
    }

    .gform_wrapper .gf_page_steps {
        display: flex;
        justify-content: center;
    }

    body .choose-category ul.gfield_radio li {
        width: 100% !important;
        padding: 15px !important;
    }

    .gform_wrapper .top_label li ul.gfield_checkbox,
    .gform_wrapper .top_label li ul.gfield_radio {
        flex-direction: column;
    }

    .field-left,
    .field-right {
        width: 100%;
    }

    .gform_wrapper .gform_page_footer {
        display: flex;
        flex-direction: column;
        padding-top: 45px !important;
    }

    .gform_next_button {
        width: auto !important;
        max-width: 100% !important;
        padding: 12px !important;
    }

    .gform_previous_button {
        width: auto !important;
        max-width: 100% !important;
        text-align: center;
        padding: 0px !important;
    }
}

/* Lottery upload */
button.slim-btn {
    text-indent: -9999px;
}

#preview_pdf.disabled {
    pointer-events: none;
    opacity: 30%;
}

#preview_pdf.loading .loader {
    display: inline-block !important;
}

#preview_pdf.loading .elementor-button-icon {
    display: none;
}

#preview_1 .elementor-image a,
#preview_2 .elementor-image a {
    transition: transform .5s ease;
    transform: scale(1);
}

#preview_1 .elementor-image a.updated,
#preview_2 .elementor-image a.updated {
    transform: scale(1.25);
}

#preview_1 .elementor-image a.loading:before,
#preview_2 .elementor-image a.loading:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url(assets/images/loader-1.gif);
    background-color: rgba(255, 255, 255);
    background-position: center;
    background-size: 70px;
    background-repeat: no-repeat;
    opacity: .5;
}

.front-preview-link,
.back-preview-link {
    cursor: pointer;
}
@media (max-width: 767px) {
	.faq-row-1 .elementor-accordion-item:last-child {
		border-bottom:0;
	}
}

/* Modal Styles */
/* Modal Styles */
ul#gform_fields_2 {
	background: #F7F7F9;
	padding: 25px;

}
ul#gform_fields_2>li {
	margin-bottom: 20px!important;
}
ul#gform_fields_2>li.gfield  {
	margin-top: 0!important;
}
ul#gform_fields_2>li.gsection.white-spacer {
	padding: 0 !important;;
	display: inline-block !important;
	color: #fff !important;
	height: 25px !important;
	background: #fff;
	margin: 0 -25px !important;
    width: 105%;
}

ul#gform_fields_2>li.gsection.white-spacer >h2 {
	color: #fff;
	height: 25px;
	font-size: 0;
}

ul#gform_fields_2>li.field-left.antal div.ginput_container_select,
ul#gform_fields_2>li.field-right.antal div.ginput_container_select {
	background: #fff !important;
}

ul#gform_fields_2 li.gsection {
	border: 0 !important;
	margin: 0 !important;	
	display: inline-block !important;
	width: 100%;
}
ul#gform_fields_2 li.gsection>h2 {
	color: #393939;
	font-size: 24px;
	font-weight: 800 !important;
	margin-bottom: 15px !important;
	padding-top: 25px !important;
}

ul#gform_fields_2 li#field_2_128.gsection>h2 {
	padding-top: 0 !important;
}

ul#gform_fields_2 li#field_2_34.gsection>h2 {
	margin-bottom: 0 !important;
}
#gform_2 .gform_footer {
	text-align: center
}
#gform_2 .gform_footer input#gform_submit_button_4 {
	width: 200px!important;
}
#gform_2 input#choice_2_43_1,
#gform_2 input#choice_2_106_1,
#gform_2 input#choice_2_107_1 {
	width: 24px;
	height: 24px;
	border-radius: 2px;
	border: 1px solid #393939;
	background: #FFF;
	margin-top: 4px !important;
}
#gform_2 ul.gfield_checkbox li{
	display: flex
}

#gform_2 .gsection_description {
    font-size: 14px !important;
	color: #393939;
    padding: 0px !important;
}

.modal {
	visibility: hidden;
	opacity: 0;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.7);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.5s ease, visibility 0.5s;
}

.modal.show {
	visibility: visible;
	opacity: 1;
}

.modal-content {
	position: relative;
	margin: auto;
	display: block;
	max-width: 660px;
	transition: transform 0.5s ease;
}

.modal-content img {

}

.close {
	position: absolute;
	top: 10px;
	right: 10px;
	color: #ffffff;
	font-size: 40px;
	font-weight: bold;
	cursor: pointer;
	@media (max-width: 600px) {
		top: 3px;
		right: 5px;	
		font-size: 25px;
	}
}

.close:hover {
	color: #ccc;
}

span.group-name {
	top: 117px;
	@media (max-width: 420px) {
		top: 70px;
	}
	@media (max-width: 400px) {
		top: 62px;
	}
}

span.purpose-collection {
	bottom: 162px;
    height: 85px;
	@media (max-width: 420px) {
		bottom: 98px;
		height: 60px;
	}
	@media (max-width: 400px) {
		bottom: 90px;
		height: 48px;
	}
	
}

span.group-name, span.purpose-collection {
    position: absolute;
    min-height: 26px;
    right: 56px;
    border: 1px dotted #ed1a39;
    background: #F1CE4E;
    color: #fff;
    width: 142px;
    font-size: 13px;
    text-align: center;
    font-weight: bold;
	@media (max-width: 420px) {
		right: 35px;
		width: 90px;
	}
	@media (max-width: 400px) {
		right: 32px;
		width: 78px;		
	}
}

@media (max-width: 600px) {
	.modal-content {
		max-width: 95%;
		max-height: 95%;
	}
}
@media (max-width: 767px) {
	.faq-row-1 .elementor-accordion-item:last-child {
		border-bottom:0;
	}
}

/*------Start custom style (CHO)-----*/
/*Gravity form  kontakt*/
body {
	font-family: 'Lato';
}
.contact-us .text-box textarea {
    height: 150px !important;
    padding: 10px !important;
}
.contact-us .gfield_label {
	margin-bottom: 10px !important;
}
.contact-us input:focus, .contact-us .textarea:focus, .contact-us select:focus {
	outline: 0px solid #292E53 !important;
	box-shadow: 0px 0px 4px #292E53 !important;
	border-radius: 10px !important;
}
.contact-us input.text, .contact-us input.title, .contact-us input[type=email], .contact-us input[type=password], .contact-us input[type=tel], .contact-us input[type=text], .contact-us input[type=number] {
	color:#292E53 !important;
	border: 1px solid #292E53 !important;
	border-radius: 10px !important;
	font-weight: 500;
	background-color: #ffffff !important;
	width: 100% !important;
	height: 40px !important;
}
.contact-us textarea {
	color:#292E53 !important;
	border: 1px solid #292E53 !important;
	border-radius: 10px !important;
	font-weight: 500;
	background-color: #ffffff !important;
	width: 100% !important;
	height: 150px !important;
    padding: 10px !important;
}

.contact-us .gform_button {
    background-color: #C43030 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    padding: 10px !important;
	border-radius: 10px !important;
	text-align: center !important;
	margin-top: 20px !important;
	width: 150px !important;
}

/*Lottery overview*/
.lotteri-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: flex-start;
}
.lotteri-item {
	flex: 0 0 calc(100% / 3 - 20px);
	text-align: center !important;
	background-color: #8ECAE6 !important;
    border-radius: 10px !important;
	font-family: 'Lato'
}
.lotteri-item h3 {
	font-family: 'Lato';
	font-weight: 700 !important;
	font-size: 24px !important;
}
.lotteri-content {
    background-color: #fff !important;
    margin: 30px 0px !important;
    padding: 30px !important;
}
.bestil-nu-button {
    margin-bottom: 30px !important;
}
.bestil-nu-button a {
    background-color: #C43030 !important;
    border-radius: 20px !important;
    color: #fff !important;
    padding: 7px 20px 10px 30px !important;
}
.bestil-nu-button a::after {
    content: ">";
    font-family: monospace;
    opacity: 0;
    transition: 0.3s;
}
.bestil-nu-button a:hover::after {
    padding-left: 10px;
    opacity: 1;
}
@media (max-width: 980px) {
	.lotteri-item {
	flex: 0 0 calc(100% / 2 - 15px)
	}
}
@media (max-width: 450px) {
	.lotteri-item {
	flex: 0 0 calc(100% / 1)
	}
}

/* Top menu*/
.image-menu-right {
	position: absolute;
	top: 5px;
	right: 20px;
}

h1.entry-title {
	display: none !important;
}
@media (max-width: 767px) {
    .menu-kolonne {
        display:block !important;
    }
}


