/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/**
 * GENERAL BODY
 **/
body {
	background: #1B2545;
	background: linear-gradient(140deg, rgba(27, 37, 69, 1) 0%, rgba(18, 25, 47, 1) 100%);	
}

#brx-content {
    display: flex;
    flex-direction: column;
    align-items: center;	
}

/**
 * BUTTONS
 **/
/* Primary Button */
.brxe-button.btn--primary {
	display: flex;
	flex-direction: row;
	align-content: center;
	justify-content: center;
	gap: 0.6rem;
	color: var(--neutral);
}

.brxe-button.btn--primary::before { 
	content: ""; 
	display: flex; 
	position: relative; 
	border-radius: 1em; 
	width: 4px; 
	height: 4px; 
	background-color: var(--neutral);
	transition: all .4s ease-in-out;
}


.brxe-button.btn--primary:hover::before { 
	background-color: var(--white);
	transition: all .4s ease-in-out;
}

.brxe-button.btn--primary:hover { 
	color: var(--white);
	transition: all .4s ease-in-out;
}

/* Secondary Button */
.brxe-button.btn--secondary {
	display: flex;
	flex-direction: row;
	align-content: center;
	justify-content: center;
	gap: 0.6rem;
	color: var(--neutral);
	background-color: var(--white);
}

.brxe-button.btn--secondary::before { 
	content: ""; 
	display: flex; 
	position: relative; 
	border-radius: 1em; 
	width: 4px; 
	height: 4px; 
	background-color: var(--neutral);
	transition: all .4s ease-in-out;
}


.brxe-button.btn--secondary:hover::before { 
	background-color: var(--primary);
	transition: all .4s ease-in-out;
}

.brxe-button.btn--secondary:hover { 
	color: var(--white);
	transition: all .4s ease-in-out;
}

/**
 * DESKTOP MENU
 **/
#main-menu .bricks-nav-menu li.menu-item a::after {
   content: "";
   position: absolute;
   left: 0;
   bottom: 0;
   width: 0%;
   height: 4px;
   margin-bottom: -4px;
   background: var(--primary);
   transition: width 0.3s ease-in-out;
}
	
#main-menu .bricks-nav-menu li.menu-item:hover a::after,
#main-menu .bricks-nav-menu li.menu-item.current-menu-item a::after {
   width: 100%;
}


#main-menu .bricks-nav-menu .menu-item-has-children .sub-menu li a::after {
	display: none;
}

#main-menu .sub-menu li a {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.6rem;	
}

#main-menu .sub-menu li a::before {
	content: ""; 
	display: flex; 
	position: relative; 
	border-radius: 1em; 
	width: 4px; 
	height: 4px; 
	background-color: var(--white);	
}

/**
 * OFFCANVAS MENU
 **/
#offcanvas #offcanvas-menu .bricks-nav-menu li.menu-item a::after {
   content: "";
   position: absolute;
   left: 0;
   bottom: 0;
   width: 0%;
   height: 4px;
   margin-bottom: -4px;
   background: var(--primary);
   transition: width 0.3s ease-in-out;
}

#offcanvas #offcanvas-menu .bricks-nav-menu li.menu-item.current-menu-item a::after {
   width: 100%;
}

#offcanvas .sub-menu li a {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.6rem;	
}

#offcanvas .sub-menu li a::before {
	content: ""; 
	display: flex; 
	position: relative; 
	border-radius: 1em; 
	width: 4px; 
	height: 4px; 
	background-color: var(--white);	
}

/**
 * FOOTER
 **/
#vl-footer .footer-text-link {
   position: relative;
	width: fit-content;
}

#vl-footer .footer-text-link::after {
   content: "";
   position: absolute;
   left: 0;
   bottom: 0;
   width: 0%;
   height: 2px;
   margin-bottom: -2px;
   background: var(--white);
   transition: width 0.3s ease-in-out;
}
	
#vl-footer .footer-text-link:hover::after {
   width: 100%;
}

/**
 * STARTSEITE CTA LINKS
 **/
.vl-textlink-cta {
   position: relative;
	width: fit-content;
}

.vl-textlink-cta::after {
   content: "";
   position: absolute;
   left: 0;
   bottom: 0;
   width: 0%;
   height: 2px;
   margin-bottom: -2px;
   background: var(--white);
   transition: width 0.3s ease-in-out;
}
	
.vl-textlink-cta:hover::after {
   width: 100%;
}

/**
 * STARTSEITE VERSICHERUNGEN BOXEN
 **/
.vl-leistungen-box .vl-leistungen-box--titel .vl-leistungen-box--link {
	
}

.vl-leistungen-box::before {
	border-radius: 14px;
}

.vl-leistungen-box:hover::before {
	background-image: linear-gradient(#1b254552, #12192f69);
	transition: all .5s ease-in-out;
}

.vl-leistungen-box,
.vl-leistungen-box .vl-leistungen-box--titel {
	transition: all .5s ease-in-out;
}

.vl-leistungen-box .vl-leistungen-box--link {
	opacity: 0;
	transition: all .2s ease-in-out;
}

.vl-leistungen-box:hover .vl-leistungen-box--link {
	opacity: 1;
	transition: all .2s ease-in-out;
}

.vl-leistungen-box:hover .vl-leistungen-box--titel {
	margin-bottom: 2rem;
	transition: all .5s ease-in-out;
}

@media (max-width: 767px) {
	.vl-leistungen-box .vl-leistungen-box--link {
		display: none;
	}
	
	.vl-leistungen-box::before {
		background-image: linear-gradient(#1b254552, #12192f69) !important;
	}
}