/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* DISABLE ARBEITGEBER PORTAL BUTTON FOR SPECIFIC IP ADRESSES */
/**.arbeitgeber-portal-login-button {
    display: none !important;
}

body.intranet-user .arbeitgeber-portal-login-button {
    display: flex !important;
}

.side-widgets-container .social-media .side-widget-item-login {
    display: none !important;
}
body.intranet-user .side-widgets-container .side-widget-item-login {
    display: flex !important;
}
*/

/* SIDE WIDGETS */
.side-widgets-container {
    position: fixed !important;
    top: 30vh !important;
    right: 0 !important;
    z-index: 999999 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.side-widgets-container .social-media {
    list-style-type: none !important;
}

.side-widgets-container .social-media li {
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    background-color: #222D5A;
    transition: background-color .2s;
}

.side-widgets-container .social-media li:hover {
    background-color: #0E7BF1;
}

.side-widgets-container .social-media li + li {
    margin-top: 5px !important;
}

.side-widgets-container .social-media li a {
    position: relative;
    width: 100%;
    height: 100%;
}

.side-widgets-container .social-media li a::after {
    width: 35px;
    height: 35px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.side-widgets-container .social-media li .side-widget-phone::after {
    content: url('https://bbp-test.ard.de/wp-content/uploads/2023/05/phone_white.svg');
}

.side-widgets-container .social-media li .side-widget-mail::after {
    content: url('https://bbp-test.ard.de/wp-content/uploads/2023/05/mail_white.svg');
    margin-top: 3px;
}

.side-widgets-container .social-media li .side-widget-login::after {
    content: url('https://bbp-test.ard.de/wp-content/uploads/2023/06/external-link.svg');
}

/* CALCULATOR */
.page-template-bbp-brutto-netto-rechner #boxed-wrapper #wrapper #main,
.page-template-bbp-brutto-netto-rechner-hoeherversorgung #boxed-wrapper #wrapper #main,
.page-template-bbp-leistungsrechner-riester #boxed-wrapper #wrapper #main,
.page-template-bbp-leistungsrechner #boxed-wrapper #wrapper #main {
	padding: 0 !important;	
}

@media(max-width: 1500px) {
	.page-template-bbp-brutto-netto-rechner #boxed-wrapper #wrapper #main .fusion-fullwidth > div,
	.page-template-bbp-brutto-netto-rechner-hoeherversorgung #boxed-wrapper #wrapper #main .fusion-fullwidth > div,
	.page-template-bbp-leistungsrechner-riester #boxed-wrapper #wrapper #main .fusion-fullwidth > div,
	.page-template-bbp-leistungsrechner #boxed-wrapper #wrapper #main .fusion-fullwidth > div {
		padding-left: 30px !important;
		padding-right: 30px !important;
	}
}

.page-template-bbp-brutto-netto-rechner #boxed-wrapper #wrapper #main > .fusion-row, 
.page-template-bbp-brutto-netto-rechner-hoeherversorgung #boxed-wrapper #wrapper #main > .fusion-row, 
.page-template-bbp-leistungsrechner-riester #boxed-wrapper #wrapper #main > .fusion-row, 
.page-template-bbp-leistungsrechner #boxed-wrapper #wrapper #main > .fusion-row {
	max-width: 100% !important;
}

.calculator-container {
	margin-bottom: 90px!important;	
}

.calculator-container .calculator-wrapper {
	max-width: 1024px!important;	
}

.calculator-container .calculator-wrapper .fusion-one-half {
	margin-top: 15px !important;
}

.calculator-container .calculator-wrapper select {
	width: 100% !important;
	padding-left: 10px !important;
	padding-right: 10px !important;
}

.calculator-container .calculator-wrapper .button-submit {
	text-transform: uppercase !important;
	color: #ffffff !important;
	background-color: #acbf58 !important;
	padding: 15px 25px !important;
	border: none;
	border-radius: 50px !important;
	font-weight: bold;
	cursor: pointer;
	font-size: 18px !important;
	transition: background-color .2s;
}

.calculator-container .calculator-wrapper .button-submit:hover {
	background-color: #0e7bf1 !important;
}

.calculator-container .calculator-wrapper .button-submit-container {
	text-align: right !important;
}

@media(max-width: 700px) {
	.calculator-container .calculator-wrapper .button-submit-container {
		text-align: left !important;
	}
}

.calculator-container .calculator-wrapper .button-submit-container .button-submit {
	margin-top: 30px !important;
}

.calculator-container .calculator-wrapper .info-container {
	background-color: #F2F2F2 !important;
	padding: 10px 30px 30px 30px !important;
	margin-top: 40px !important;
}

.calculator-container .calculator-wrapper .info-container .info-container-content p {
	margin-bottom: 0!important;
}

/* CALCULATOR INFOBOX (TOOLTIPS) */
i.info-blue {
	color: #222D5A;
}
/*== start of code for tooltips ==*/
.tool {
    cursor: help;
    position: relative;
}


/*== common styles for both parts of tool tip ==*/
.tool::before,
.tool::after {
    left: 50%;
    opacity: 0;
    position: absolute;
    z-index: -100;
}

.tool:hover::before,
.tool:focus::before,
.tool:hover::after,
.tool:focus::after {
    opacity: 1;
    transform: scale(1) translateY(0);
    z-index: 100; 
}


/*== pointer tip ==*/
.tool::before {
    border-style: solid;
    border-width: 1em 0.75em 0 0.75em;
    border-color: #222D5A transparent transparent transparent;
    bottom: 100%;
    content: "";
    margin-left: -0.7em;
    transition: all .65s cubic-bezier(.84,-0.18,.31,1.26), opacity .65s .5s;
    transform:  scale(.6) translateY(-90%);
} 

.tool:hover::before,
.tool:focus::before {
    transition: all .65s cubic-bezier(.84,-0.18,.31,1.26) .2s;
}


/*== speech bubble ==*/
.tool::after {
    background: #222D5A;
    border-radius: .25em;
    bottom: 180%;
    color: #EDEFF0;
    content: attr(data-tip);
    margin-left: -8.75em;
    padding: 1em;
    transition: all .65s cubic-bezier(.84,-0.18,.31,1.26) .2s;
    transform:  scale(.6) translateY(50%);  
    width: 25em;
	white-space: pre-line;
}

.tool:hover::after,
.tool:focus::after  {
    transition: all .65s cubic-bezier(.84,-0.18,.31,1.26);
}

@media (max-width: 760px) {
  .tool::after { 
        font-size: .75em;
        margin-left: -5em;
        width: 10em; 
  }
}

/* CONTACT FORM 7 GLOBAL STYLE */
.wpcf7 > .screen-reader-response {
	display: none!important;
}

.wpcf7 form.init .wpcf7-response-output {
	display: none
}

.wpcf7 > .wpcf7-form .wpcf7-not-valid-tip {
	color: #FF004D!important;
	font-weight: lighter!important;
	font-size: 16px!important;
}

.wpcf7 > .wpcf7-form > .no-margin > p {
	margin-bottom: 0 !important;
}

/* Side Widgets Custom Style */
#icon_wrapper > .awesome-social {
	padding: 35px !important;
	border-top-left-radius: 10px !important;
	border-bottom-left-radius: 10px !important;
	transition: background-color .2s;
}

#icon_wrapper > .awesome-social:hover {
	background-color: #0E7BF1 !important;
}

#icon_wrapper > .awesome-social + .awesome-social {
	margin-top: 10px !important;
}

@media(max-width: 1024px) {
	#icon_wrapper > .awesome-social {
		padding: 25px !important;
	}
	
	#icon_wrapper > .awesome-social > img {
		width: 25px !important;
	}
}

@media (max-width: 650px) {
	#icon_wrapper > .awesome-social {
		padding: 20px !important;
	}
	
	#icon_wrapper > .awesome-social > img {
		width: 25px !important;
	}
}

/* Add hyphens in main */
main {
	hyphens: auto !important;
}

/* Style Menu List */
#menu-bbp-hauptmenue .menu-text {
	text-shadow: 1px 1px #222D5A !important;
}

#menu-bbp-hauptmenue .awb-menu__overlay-search-trigger::before {
	text-shadow: 1px 1px #222D5A !important;
}