/*
Theme Name: WWF
Theme URI: 
Author: 
Author URI: 
Version: 1.4
*/

/* ATWM Popups */
.atwm-popup {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 101;
    max-width: 300px;
    background-color: #ffffff;
    box-shadow: -5px 5px 10px rgba(0,0,0,0.2);
    transition: all 0.3s 0.5s;
}
.atwm-popup:hover {
    max-width: 450px;
    transition: all 0.3s;
}
.atwm-popup.open {
    max-width: 450px;
    transition: all 0.3s;
}
.atwm-popup-cta {
    display: flex;
    justify-content: end;
    padding-left: 60px;
    border: solid 1px #ffffff;
    background-size: 400px auto;
    background-position: left center;
    cursor: pointer;
	overflow: hidden;
}
.atwm-popup-cta-title {
    color: #ffffff;
    font-family: 'wwfwebfont';
    font-size: 35px;
    line-height: 1;
    padding: 0.5em;
    padding-top: 0.25em;
    background-color: #000000;
    position: relative;
    z-index: 1;
}
.atwm-popup-cta-title::before {
    content: "";
    position: absolute;
    width: 80px;
    height: 100%;
    background-color: #000000;
    left: -40px;
    top: 0;
    z-index: -1;
    transform: skewX(-45deg);
}
.atwm-popup-cta-arrow {
    position: relative;
    width: 15px;
    height: 40px;
    z-index: 2;
    transition: all 0.3s;
	background-image: url(assets/images/arrow-popo-up.svg);
	background-size: 100% auto;
	background-position: center;
	background-repeat: no-repeat;
	top: 10px;
  	left: 5px;
}
.announce {
	position: relative;
	padding: 5px;
    margin-bottom: 10px;
    width: 100%;
	text-align: center;
}
/*
.atwm-popup-cta-arrow:before,
.atwm-popup-cta-arrow:after {
    content: "";
    position: absolute;
    width: 2px;
    height: 20px;
    background-color: #F5D200;
    left: 28px;
}
.atwm-popup-cta-arrow:before {
    top: 16px;
    transform: rotate(45deg);
}
.atwm-popup-cta-arrow:after {
    top: 30px;
    transform: rotate(-45deg);
}
*/
.atwm-popup.open .atwm-popup-cta-arrow {
    transform: rotate(-90deg);
}

.atwm-popup-body {
    position: relative;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s;
}
.atwm-popup.open .atwm-popup-body {
    max-height: 1000px;
    transition: all 0.5s 0.3s;
}
.atwm-popup-body > * {
    padding-left: 45px;
	padding-right: 45px;
}
.atwm-popup-body p {
    margin-bottom: 0.6em;
}
.atwm-popup-description {
	padding-top: 20px;
    padding-right: 65px;
	font-size: 16px;
}
.atwm-popup-code {
	padding-bottom: 20px;
	font-size: 16px;
}
.atwm-popup .wwf-primary-btn {
	margin-left: 45px;
	margin-right: 45px;
	margin-top: 20px;
	margin-bottom: 45px;
	border-radius: 0;
	min-width: 160px;
	letter-spacing: 0;
	font-size: 30px;
	padding: 4px 18px 9px 20px;
}
.atwm-popup p .wwf-primary-btn {
	margin-bottom: 20px;
}
.atwm-popup h2,
.atwm-popup h3 {
    font-family: 'wwfwebfont';
	font-size: 30px;
	margin-top: 0;
	margin-bottom: 0.5em;
}

.atwm-close {
    position: absolute;
    width: 40px;
    height: 40px;
    z-index: 2;
    background-color: #F5D200;
    top: 0;
    right: 0;
    cursor: pointer;
	padding: 0;
}
.atwm-close:before,
.atwm-close:after {
    content: "";
    position: absolute;
    width: 1px;
    height: 20px;
    background-color: #000000;
    top: 50%;
    left: 50%;
}
.atwm-close:before {
    transform: translate(-50%,-50%) rotate(45deg);
}
.atwm-close:after {
    transform: translate(-50%,-50%) rotate(-45deg);
}

/* Microsoft Forms */
.atwm-popup .marketingForm div[data-layout="true"],
.stay-connected-form .marketingForm div[data-layout="true"] {
    max-width: 100% !important;
}
.atwm-popup .marketingForm .outer,
.atwm-popup .marketingForm .columnContainer,
.stay-connected-form .marketingForm .outer,
.stay-connected-form .marketingForm .columnContainer {
    width: 100% !important;
}
.atwm-popup .marketingForm .containerWrapper .inner div[data-editorblocktype="Text"],
.stay-connected-form .marketingForm .containerWrapper .inner div[data-editorblocktype="Text"] {
    display: none !important;
}
.atwm-popup .textFormFieldBlock label,
.stay-connected-form .textFormFieldBlock label {
    display: none !important;
}
.atwm-popup .columnContainer table th.inner,
.stay-connected-form .columnContainer table th.inner {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}
.atwm-popup .columnContainer table th.inner .textFormFieldBlock,
.stay-connected-form .columnContainer table th.inner .textFormFieldBlock {
    width: 50%;
    padding: 0 15px;
}
.atwm-popup .columnContainer div[data-editorblocktype="SubmitButton"],
.stay-connected-form .columnContainer div[data-editorblocktype="SubmitButton"] {
    padding: 0 15px !important;
}
.atwm-popup .columnContainer div[data-editorblocktype="SubmitButton"] button,
.stay-connected-form .columnContainer div[data-editorblocktype="SubmitButton"] button {
    background-color: #F5D200 !important;
    font-family: 'wwfwebfont';
    font-size: 1.25rem;
    letter-spacing: 1.5px;
    line-height: 1.1;
    padding: 8px 13px 11px 15px;
}
.atwm-popup .columnContainer div[data-editorblocktype="SubmitButton"] button span,
.stay-connected-form .columnContainer div[data-editorblocktype="SubmitButton"] button span {
    font-family: 'wwfwebfont' !important;
}
@media screen and (max-width: 782px) {
    .atwm-popup .columnContainer table th.inner,
    .stay-connected-form .columnContainer table th.inner {
        margin-left: 0;
        margin-right: 0;
    }
    .atwm-popup .columnContainer table th.inner .textFormFieldBlock,
    .stay-connected-form .columnContainer table th.inner .textFormFieldBlock {
        width: 100%;
    }
}


.regcad-newsletter .marketingForm div[data-layout="true"] {
    max-width: 100% !important;
}
.regcad-newsletter .marketingForm .outer,
.regcad-newsletter .marketingForm .columnContainer {
    width: 100% !important;
}
.regcad-newsletter .marketingForm .outer > tbody,
.regcad-newsletter .marketingForm .outer > tbody > tr,
.regcad-newsletter .marketingForm .outer > tbody > tr > th {
    display: block;
    width: 100%;
}
.regcad-newsletter .marketingForm .containerWrapper .inner div[data-editorblocktype="Text"] {
    display: none !important;
}
.regcad-newsletter .textFormFieldBlock {
    width: 100% !important;
    padding: 0 !important;
}
.regcad-newsletter .textFormFieldBlock label {
    display: none !important;
}
.regcad-newsletter .marketingForm .columnContainer {
    height: auto !important;
}
.regcad-newsletter  .columnContainer table th.inner {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.regcad-newsletter .containerWrapper.tbContainer.multi tr {
    display: flex;
    flex-wrap: wrap;
}
.regcad-newsletter .columnContainer div[data-editorblocktype="SubmitButton"] {
    padding: 0 !important
}
.regcad-newsletter .columnContainer div[data-editorblocktype="SubmitButton"] button {
    background-color: #F5D200 !important;
    font-family: 'wwfwebfont';
    font-size: 1.25rem;
    letter-spacing: 1.5px;
    line-height: 1.1;
    padding: 8px 13px 11px 15px;
}
.regcad-newsletter .columnContainer div[data-editorblocktype="SubmitButton"] button span {
    font-family: 'wwfwebfont' !important;
}
.regcad-newsletter input[type="text"],
.regcad-newsletter input[type="email"] {
    background-color: rgb(250, 249, 248) !important;
    border: 1px solid rgb(225, 223, 221) !important;
    border-radius: 2px !important;
    margin: 0 !important;
    margin-bottom: 10px !important;
}

.onFormSubmittedFeedback {
    height: auto !important;
    width: 100% !important;
}


/* ADS PROBLEM */
#google_esf,
.adsbygoogle,
.adsbygoogle-noablate
.google-auto-placed {
    display:none !important;
    position:absolute !important;
    left:-500000px !important;
    visibility:hidden !important;
    opacity:0 !important;
}



/* Accessibility */
/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
    /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}

.wwf-simple-horizontal-section.mod-careers-section .list-item--content {
    padding: 0 40px!important;
}

