.wpcf7 .screen-reader-response {
position: absolute;
overflow: hidden;
clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
height: 1px;
width: 1px;
margin: -1px;
padding: 0;
border: 0;
word-wrap: normal !important;
}
.wpcf7 form .wpcf7-response-output {
margin: 2em 0.5em 1em;
padding: 0.2em 1em;
border: 2px solid #00a0d2; }
.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
display: none;
}
.wpcf7 form.sent .wpcf7-response-output {
border-color: #46b450; }
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
border-color: #dc3232; }
.wpcf7 form.spam .wpcf7-response-output {
border-color: #f56e28; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
border-color: #ffb900; }
.wpcf7-form-control-wrap {
position: relative;
}
.wpcf7-not-valid-tip {
color: #dc3232; font-size: 1em;
font-weight: normal;
display: block;
}
.use-floating-validation-tip .wpcf7-not-valid-tip {
position: relative;
top: -2ex;
left: 1em;
z-index: 100;
border: 1px solid #dc3232;
background: #fff;
padding: .2em .8em;
width: 24em;
}
.wpcf7-list-item {
display: inline-block;
margin: 0 0 0 1em;
}
.wpcf7-list-item-label::before,
.wpcf7-list-item-label::after {
content: " ";
}
.wpcf7-spinner {
visibility: hidden;
display: inline-block;
background-color: #23282d; opacity: 0.75;
width: 24px;
height: 24px;
border: none;
border-radius: 100%;
padding: 0;
margin: 0 24px;
position: relative;
}
form.submitting .wpcf7-spinner {
visibility: visible;
}
.wpcf7-spinner::before {
content: '';
position: absolute;
background-color: #fbfbfc; top: 4px;
left: 4px;
width: 6px;
height: 6px;
border: none;
border-radius: 100%;
transform-origin: 8px 8px;
animation-name: spin;
animation-duration: 1000ms;
animation-timing-function: linear;
animation-iteration-count: infinite;
}
@media (prefers-reduced-motion: reduce) {
.wpcf7-spinner::before {
animation-name: blink;
animation-duration: 2000ms;
}
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@keyframes blink {
from {
opacity: 0;
}
50% {
opacity: 1;
}
to {
opacity: 0;
}
}
.wpcf7 input[type="file"] {
cursor: pointer;
}
.wpcf7 input[type="file"]:disabled {
cursor: default;
}
.wpcf7 .wpcf7-submit:disabled {
cursor: not-allowed;
}
.wpcf7 input[type="url"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
direction: ltr;
}@media screen and (min-width: 981px) {
.et_pb_section.fixedsticky_desktop { top: 0; }
}
@media screen and (min-width: 781px) and (max-width: 980px) {
.et_pb_section.fixedsticky_tablet { top: 0; }
}
@media screen and (max-width: 780px) {
.et_pb_section.fixedsticky_mobile { top: 0; }
}
.et_pb_section.fixedsticky_all { top: 0; }
.et_pb_section.fixedsticky {
position: -webkit-sticky;
position: -moz-sticky;
position: -ms-sticky;
position: -o-sticky;
position: sticky;
}.fixedsticky {
position: -webkit-sticky;
position: -moz-sticky;
position: -ms-sticky;
position: -o-sticky;
position: sticky;
} .fixedsticky-withoutfixedfixed .fixedsticky-off,
.fixed-supported .fixedsticky-off {
position: static;
}
.fixedsticky-withoutfixedfixed .fixedsticky-on,
.fixed-supported .fixedsticky-on {
position: fixed;
}
.fixedsticky-dummy {
display: none;
}
.fixedsticky-on + .fixedsticky-dummy {
display: block;
};(function( win, $ ) {
function featureTest( property, value, noPrefixes ) {
// Thanks Modernizr! https://github.com/phistuck/Modernizr/commit/3fb7217f5f8274e2f11fe6cfeda7cfaf9948a1f5
var prop = property + ':',
el = document.createElement( 'test' ),
mStyle = el.style;
if( !noPrefixes ) {
mStyle.cssText = prop + [ '-webkit-', '-moz-', '-ms-', '-o-', '' ].join( value + ';' + prop ) + value + ';';
} else {
mStyle.cssText = prop + value;
}
return mStyle[ property ].indexOf( value ) !== -1;
}
function getPx( unit ) {
return parseInt( unit, 10 ) || 0;
}
var uniqueIdCounter = 0;
var S = {
classes: {
plugin: 'fixedsticky',
active: 'fixedsticky-on',
inactive: 'fixedsticky-off',
clone: 'fixedsticky-dummy',
withoutFixedFixed: 'fixedsticky-withoutfixedfixed'
},
keys: {
offset: 'fixedStickyOffset',
position: 'fixedStickyPosition',
id: 'fixedStickyId'
},
tests: {
sticky: featureTest( 'position', 'sticky' ),
fixed: featureTest( 'position', 'fixed', true )
},
// Thanks jQuery!
getScrollTop: function() {
var prop = 'pageYOffset',
method = 'scrollTop';
return win ? (prop in win) ? win[ prop ] :
win.document.documentElement[ method ] :
win.document.body[ method ];
},
bypass: function() {
// Check native sticky, check fixed and if fixed-fixed is also included on the page and is supported
return ( S.tests.sticky && !S.optOut ) ||
!S.tests.fixed ||
win.FixedFixed && !$( win.document.documentElement ).hasClass( 'fixed-supported' );
},
update: function( el ) {
if( !el.offsetWidth ) { return; }
var $el = $( el ),
height = $el.outerHeight(),
initialOffset = $el.data( S.keys.offset ),
scroll = S.getScrollTop(),
isAlreadyOn = $el.is( '.' + S.classes.active ),
toggle = function( turnOn ) {
$el[ turnOn ? 'addClass' : 'removeClass' ]( S.classes.active )
[ !turnOn ? 'addClass' : 'removeClass' ]( S.classes.inactive );
},
viewportHeight = $( window ).height(),
position = $el.data( S.keys.position ),
skipSettingToFixed,
elTop,
elBottom,
$parent = $el.parent(),
parentOffset = $parent.offset().top,
parentHeight = $parent.outerHeight();
if( initialOffset === undefined ) {
initialOffset = $el.offset().top;
$el.data( S.keys.offset, initialOffset );
$el.after( $( '<div>' ).addClass( S.classes.clone ).height( height ) );
} else {
$el.next( '.' + S.classes.clone ).height( height );
}
if( !position ) {
// Some browsers require fixed/absolute to report accurate top/left values.
skipSettingToFixed = $el.css( 'top' ) !== 'auto' || $el.css( 'bottom' ) !== 'auto';
if( !skipSettingToFixed ) {
$el.css( 'position', 'fixed' );
}
position = {
top: $el.css( 'top' ) !== 'auto',
bottom: $el.css( 'bottom' ) !== 'auto'
};
if( !skipSettingToFixed ) {
$el.css( 'position', '' );
}
$el.data( S.keys.position, position );
}
function isFixedToTop() {
var offsetTop = scroll + elTop;
// Initial Offset Top
return initialOffset < offsetTop &&
// Container Bottom
offsetTop + height <= parentOffset + parentHeight;
}
function isFixedToBottom() {
// Initial Offset Top + Height
return initialOffset + ( height || 0 ) > scroll + viewportHeight - elBottom &&
// Container Top
scroll + viewportHeight - elBottom >= parentOffset + ( height || 0 );
}
elTop = getPx( $el.css( 'top' ) );
elBottom = getPx( $el.css( 'bottom' ) );
if( position.top && isFixedToTop() || position.bottom && isFixedToBottom() ) {
if( !isAlreadyOn ) {
toggle( true );
}
} else {
if( isAlreadyOn ) {
toggle( false );
}
}
},
destroy: function( el ) {
var $el = $( el );
if (S.bypass()) {
return $el;
}
return $el.each(function() {
var $this = $( this );
var id = $this.data( S.keys.id );
$( win ).unbind( '.fixedsticky' + id );
$this
.removeData( [ S.keys.offset, S.keys.position, S.keys.id ] )
.removeClass( S.classes.active )
.removeClass( S.classes.inactive )
.next( '.' + S.classes.clone ).remove();
});
},
init: function( el ) {
var $el = $( el );
if( S.bypass() ) {
return $el;
}
return $el.each(function() {
var _this = this;
var id = uniqueIdCounter++;
$( this ).data( S.keys.id, id );
$( win ).bind( 'scroll.fixedsticky' + id, function() {
S.update( _this );
}).trigger( 'scroll.fixedsticky' + id );
$( win ).bind( 'resize.fixedsticky' + id , function() {
if( $el.is( '.' + S.classes.active ) ) {
S.update( _this );
}
});
});
}
};
win.FixedSticky = S;
// Plugin
$.fn.fixedsticky = function( method ) {
if ( typeof S[ method ] === 'function') {
return S[ method ].call( S, this);
} else if ( typeof method === 'object' || ! method ) {
return S.init.call( S, this );
} else {
throw new Error( 'Method `' +  method + '` does not exist on jQuery.fixedsticky' );
}
};
// Add fallback when fixed-fixed is not available.
if( !win.FixedFixed ) {
$( win.document.documentElement ).addClass( S.classes.withoutFixedFixed );
}
})( window, jQuery );