/* global wp_mail_smtp_tools_debug_events, ajaxurl, flatpickr */ /** * WPMailSMTP Debug Events functionality. * * @since 3.0.0 */ 'use strict'; var WPMailSmtpDebugEvents = window.WPMailSmtpDebugEvents || ( function( document, window, $ ) { /** * Elements. * * @since 3.0.0 * * @type {object} */ var el = { $debugEventsPage: $( '.wp-mail-smtp-tab-tools-debug-events' ), $dateFlatpickr: $( '.wp-mail-smtp-filter-date-selector' ), }; /** * Public functions and properties. * * @since 3.0.0 * * @type {object} */ var app = { /** * Start the engine. * * @since 3.0.0 */ init: function() { $( app.ready ); }, /** * Document ready. * * @since 3.0.0 */ ready: function() { app.initDateRange(); app.events(); // Open debug event popup from the query string. var searchParams = new URLSearchParams( location.search ); if ( searchParams.has( 'debug_event_id' ) ) { app.openDebugEventPopup( searchParams.get( 'debug_event_id' ) ); } }, /** * Register JS events. * * @since 3.0.0 */ events: function() { el.$debugEventsPage.on( 'click', '#wp-mail-smtp-reset-filter .reset', app.resetFilter ); el.$debugEventsPage.on( 'click', '#wp-mail-smtp-delete-all-debug-events-button', app.deleteAllDebugEvents ); el.$debugEventsPage.on( 'click', '.js-wp-mail-smtp-debug-event-preview', app.eventClicked ); }, /** * Init Flatpickr at Date Range field. * * @since 3.0.0 */ initDateRange: function() { var langCode = wp_mail_smtp_tools_debug_events.lang_code, flatpickrLocale = { rangeSeparator: ' - ', }; if ( flatpickr !== 'undefined' && Object.prototype.hasOwnProperty.call( flatpickr, 'l10ns' ) && Object.prototype.hasOwnProperty.call( flatpickr.l10ns, langCode ) ) { flatpickrLocale = flatpickr.l10ns[ langCode ]; flatpickrLocale.rangeSeparator = ' - '; } el.$dateFlatpickr.flatpickr( { altInput : true, altFormat : 'M j, Y', dateFormat: 'Y-m-d', locale : flatpickrLocale, mode : 'range' } ); }, /** * Reset filter handler. * * @since 3.0.0 */ resetFilter: function() { var $form = $( this ).parents( 'form' ); $form.find( $( this ).data( 'scope' ) ).find( 'input,select' ).each( function() { var $this = $( this ); if ( app.isIgnoredForResetInput( $this ) ) { return; } app.resetInput( $this ); } ); // Submit the form. $form.submit(); }, /** * Reset input. * * @since 3.0.0 * * @param {object} $input Input element. */ resetInput: function( $input ) { switch ( $input.prop( 'tagName' ).toLowerCase() ) { case 'input': $input.val( '' ); break; case 'select': $input.val( $input.find( 'option' ).first().val() ); break; } }, /** * Input is ignored for reset. * * @since 3.0.0 * * @param {object} $input Input element. * * @returns {boolean} Is ignored. */ isIgnoredForResetInput: function( $input ) { return [ 'submit', 'hidden' ].indexOf( ( $input.attr( 'type' ) || '' ).toLowerCase() ) !== -1 && ! $input.hasClass( 'flatpickr-input' ); }, /** * Process the click on the delete all debug events button. * * @since 3.0.0 * * @param {object} event jQuery event. */ deleteAllDebugEvents: function( event ) { event.preventDefault(); var $btn = $( event.target ); $.confirm( { backgroundDismiss: false, escapeKey: true, animationBounce: 1, closeIcon: true, type: 'orange', icon: app.getModalIcon( 'exclamation-circle-solid-orange' ), title: wp_mail_smtp_tools_debug_events.texts.notice_title, content: wp_mail_smtp_tools_debug_events.texts.delete_all_notice, buttons: { confirm: { text: wp_mail_smtp_tools_debug_events.texts.yes, btnClass: 'btn-confirm', keys: [ 'enter' ], action: function() { app.executeAllDebugEventsDeletion( $btn ); } }, cancel: { text: wp_mail_smtp_tools_debug_events.texts.cancel, btnClass: 'btn-cancel', } } } ); }, /** * Process the click on the event item. * * @since 3.0.0 * * @param {object} event jQuery event. */ eventClicked: function( event ) { event.preventDefault(); app.openDebugEventPopup( $( this ).data( 'event-id' ) ); }, /** * Open debug event popup. * * @since 3.5.0 * * @param {int} eventId Debug event ID. */ openDebugEventPopup: function( eventId ) { var data = { action: 'wp_mail_smtp_debug_event_preview', id: eventId, nonce: $( '#wp-mail-smtp-debug-events-nonce', el.$debugEventsPage ).val() }; var popup = $.alert( { backgroundDismiss: true, escapeKey: true, animationBounce: 1, type: 'blue', icon: app.getModalIcon( 'info-circle-blue' ), title: false, content: wp_mail_smtp_tools_debug_events.loader, boxWidth: '550px', buttons: { confirm: { text: wp_mail_smtp_tools_debug_events.texts.close, btnClass: 'btn-confirm', keys: [ 'enter' ] } }, onOpenBefore: function() { this.$contentPane.addClass( 'no-scroll' ); } } ); $.post( ajaxurl, data, function( response ) { if ( response.success ) { popup.setTitle( response.data.title ); popup.setContent( response.data.content ); } else { popup.setIcon( app.getModalIcon( 'exclamation-circle-regular-red' ) ); popup.setType( 'red' ); popup.setContent( response.data ); } } ).fail( function() { popup.setContent( wp_mail_smtp_tools_debug_events.texts.error_occurred ); } ); }, /** * AJAX call for deleting all debug events. * * @since 3.0.0 * * @param {object} $btn jQuery object of the clicked button. */ executeAllDebugEventsDeletion: function( $btn ) { $btn.prop( 'disabled', true ); var data = { action: 'wp_mail_smtp_delete_all_debug_events', nonce: $( '#wp-mail-smtp-debug-events-nonce', el.$debugEventsPage ).val() }; $.post( ajaxurl, data, function( response ) { var message = response.data, icon, type, callback; if ( response.success ) { icon = 'check-circle-solid-green'; type = 'green'; callback = function() { location.reload(); return false; }; } else { icon = 'exclamation-circle-regular-red'; type = 'red'; } app.displayModal( message, icon, type, callback ); $btn.prop( 'disabled', false ); } ).fail( function() { app.displayModal( wp_mail_smtp_tools_debug_events.texts.error_occurred, 'exclamation-circle-regular-red', 'red' ); $btn.prop( 'disabled', false ); } ); }, /** * Display the modal with provided text and icon. * * @since 3.0.0 * * @param {string} message The message to be displayed in the modal. * @param {string} icon The icon name from /assets/images/font-awesome/ to be used in modal. * @param {string} type The type of the message (red, green, orange, blue, purple, dark). * @param {Function} actionCallback The action callback function. */ displayModal: function( message, icon, type, actionCallback ) { type = type || 'default'; actionCallback = actionCallback || function() {}; $.alert( { backgroundDismiss: true, escapeKey: true, animationBounce: 1, type: type, closeIcon: true, title: false, icon: icon ? app.getModalIcon( icon ) : '', content: message, buttons: { confirm: { text: wp_mail_smtp_tools_debug_events.texts.ok, btnClass: 'wp-mail-smtp-btn wp-mail-smtp-btn-md', keys: [ 'enter' ], action: actionCallback } } } ); }, /** * Returns prepared modal icon. * * @since 3.0.0 * * @param {string} icon The icon name from /assets/images/font-awesome/ to be used in modal. * * @returns {string} Modal icon HTML. */ getModalIcon: function( icon ) { return '">Thrive Themes Description: Fully customizable, front end theme and template editing for WordPress has arrived! Version: 3.10 License: GNU General Public License v2 or later Text Domain: thrive-theme Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, custom-everything */ html{box-sizing:border-box;font-size:16px;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;font-smooth:antialiased;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:auto}body{font-family:Arial,sans-serif;color:rgba(10,10,10,.85);font-size:1rem;line-height:1.5}body:not(.defaults){background:#fff;margin:0;padding:0}*,*:before,*:after{box-sizing:inherit}p,li,blockquote,q,pre,code,kbd,samp{color:rgba(10,10,10,.85);font-family:Arial,sans-serif;font-size:1rem;line-height:1.75;letter-spacing:normal;font-weight:400}pre,code,kbd,samp{font-family:"Courier New",Courier,monospace;font-size:.9rem}h1,h2,h3,h4,h5,h6{margin:0;padding:0;color:#0a0a0a;font-weight:600;line-height:1.4em;font-family:Arial,sans-serif;letter-spacing:normal}h1.thrv_wrapper,h2.thrv_wrapper,h3.thrv_wrapper,h4.thrv_wrapper,h5.thrv_wrapper,h6.thrv_wrapper{margin-bottom:10px;margin-top:10px}h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{font-size:inherit;line-height:inherit}h1{font-size:36px;line-height:1.3em}h2{font-size:28px;line-height:1.4em}h2 a{color:#0a0a0a}h3{font-size:24px;line-height:1.4em}h4{font-size:20px;line-height:1.6em}h5{font-size:18px;line-height:1.75em}h6{font-size:16px;line-height:1.75em}p{margin:0;padding:5px 0 10px 0}a{background-color:transparent;color:#008fff;line-height:inherit;font-size:inherit;font-weight:inherit;text-decoration:none}a:visited,a:active,a:focus,a:hover{outline:0}a:hover,a.tve-state-hover{text-decoration:underline}pre{background:#eee;line-height:1.6em;margin-bottom:1.6em;max-width:100%;overflow:auto;padding:1.6em;white-space:pre-wrap}blockquote,q{quotes:"" "";padding:5px 0 5px 20px;margin:5px 0;border-left:2px solid #ccc}blockquote:before,blockquote:after,q:before,q:after{content:""}blockquote>p,q>p{font:inherit !important;line-height:inherit !important;color:inherit !important;border:0 !important;padding:0 !important;margin:0 !important}ul,ol{margin-top:10px}ul{list-style:disc}ol{list-style:decimal}ul>li:not(.thrv-styled-list-item),ol>li:not(.thrv-styled-list-item){margin-bottom:0;margin-left:1.5em;overflow:visible !important}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0;height:auto;vertical-align:middle;max-width:100%}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{cursor:pointer;-webkit-appearance:button}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}table,th,td{border:1px solid #000}td,th{padding:0}dfn,cite,em,i{font-style:italic}address{margin:0 0 1.5em}abbr,acronym{border-bottom:1px dotted #666;cursor:help}mark,ins{background:#fff9c0;text-decoration:none}big{font-size:125%}hr{background-color:#ccc;border:0;height:1px;margin-bottom:1.5em}dt{font-weight:bold}dd{margin:0 1.5em 1.5em}img.avatar{width:100%}figure{margin:1em 0}table{width:100%}button,input[type=button],input[type=reset],input[type=submit]{background:#e6e6e6;border:1px solid #e6e6e6;color:rgba(0,0,0,.8);font-size:1rem;line-height:20px;padding:10px 20px}input[type=text],input[type=email],input[type=url],input[type=password],input[type=search],input[type=number],input[type=tel],input[type=range],input[type=date],input[type=month],input[type=week],input[type=time],input[type=datetime],input[type=datetime-local],input[type=color],textarea{border:1px solid #ccc;border-radius:3px;padding:10px}input[type=text]:focus,input[type=email]:focus,input[type=url]:focus,input[type=password]:focus,input[type=search]:focus,input[type=number]:focus,input[type=tel]:focus,input[type=range]:focus,input[type=date]:focus,input[type=month]:focus,input[type=week]:focus,input[type=time]:focus,input[type=datetime]:focus,input[type=datetime-local]:focus,input[type=color]:focus,textarea:focus{color:#111}select{border:1px solid #ccc}textarea{width:100%}@media(max-width: 1023px){h3{font-size:22px}h2{font-size:26px}h1{font-size:32px}}@media(max-width: 767px){h2{font-size:24px}h1{font-size:28px}}input[type=search]{border:1px solid rgba(0,0,0,.25);border-left:0;border-radius:0;border-right:0;box-sizing:border-box;-webkit-appearance:textfield}ul>li span,ol>li span{line-height:inherit}.tcb-post-content figure[id*=attachment_]{max-width:100%}.tcb-post-content .wp-block-image .alignleft,.tcb-post-content .wp-block-image .alignright,.tcb-post-content .wp-block-image .aligncenter,.tcb-post-content .wp-block-image.is-resized{display:table}.tcb-post-content p.has-small-font-size{font-size:13px}.tcb-post-content p.has-regular-font-size,.tcb-post-content p.has-normal-font-size{font-size:16px}.tcb-post-content p.has-medium-font-size{font-size:20px}.tcb-post-content p.has-large-font-size{font-size:36px}.tcb-post-content p.has-larger-font-size,.tcb-post-content p.has-huge-font-size{font-size:42px}body.theme-has-off-screen-sidebar{position:relative;transition:padding-left .42s ease-in-out,padding-right .42s ease-in-out}body.theme-has-off-screen-sidebar .main-container{z-index:2}body.theme-has-off-screen-sidebar .sidebar-section:before{opacity:0}body.theme-has-off-screen-sidebar .sidebar-section .section-background{background-color:#fff}body.theme-has-off-screen-sidebar .sidebar-section .trigger-expanded-icon{display:none}body.theme-has-off-screen-sidebar.visible-off-screen-sidebar .select2-container--open{z-index:9999}body.theme-has-off-screen-sidebar.visible-off-screen-sidebar .sidebar-section:before{opacity:1}body.theme-has-off-screen-sidebar.visible-off-screen-sidebar .sidebar-section .trigger-collapsed-icon{display:none}body.theme-has-off-screen-sidebar.visible-off-screen-sidebar .sidebar-section .trigger-expanded-icon{display:block}body.theme-has-off-screen-sidebar[data-off-screen-type=push]{padding-left:0}body.theme-has-off-screen-sidebar[data-off-screen-side=left] .sidebar-section{left:calc(-1*var(--off-screen-sidebar-size))}body.theme-has-off-screen-sidebar[data-off-screen-side=left] .tve-off-screen-sidebar-trigger{left:0}body.theme-has-off-screen-sidebar[data-off-screen-side=left].visible-off-screen-sidebar[data-off-screen-type=push]{padding-left:var(--off-screen-sidebar-size)}body.theme-has-off-screen-sidebar[data-off-screen-side=left].visible-off-screen-sidebar .sidebar-section{left:0}body.theme-has-off-screen-sidebar[data-off-screen-side=left].visible-off-screen-sidebar .tve-off-screen-sidebar-trigger{left:var(--off-screen-sidebar-size)}body.theme-has-off-screen-sidebar[data-off-screen-type=push]{padding-right:0}body.theme-has-off-screen-sidebar[data-off-screen-side=right] .sidebar-section{right:calc(-1*var(--off-screen-sidebar-size))}body.theme-has-off-screen-sidebar[data-off-screen-side=right] .tve-off-screen-sidebar-trigger{right:0}body.theme-has-off-screen-sidebar[data-off-screen-side=right].visible-off-screen-sidebar[data-off-screen-type=push]{padding-right:var(--off-screen-sidebar-size)}body.theme-has-off-screen-sidebar[data-off-screen-side=right].visible-off-screen-sidebar .sidebar-section{right:0}body.theme-has-off-screen-sidebar[data-off-screen-side=right].visible-off-screen-sidebar .tve-off-screen-sidebar-trigger{right:var(--off-screen-sidebar-size)}#wrapper{--layout-background-width: 1080px;--layout-content-width: 1080px;--tve-off-screen-overlay-color: rgba(0, 0, 0, .7);margin:0;padding:0;position:relative;display:flex;flex-direction:column;min-height:100vh}.admin-bar #wrapper{min-height:calc(100vh - 32px)}#wrapper .hide-section{position:relative}body:not(.thrive_show_hidden_elements) #wrapper .hide-section{display:none !important}#wrapper .hide-section:after{background-image:repeating-linear-gradient(135deg, rgba(148, 163, 176, 0.2), rgba(148, 163, 176, 0.2) 3px, transparent 3px, transparent 6px) !important;background-size:auto !important;background-attachment:scroll !important;background-position:50% 50% !important;background-repeat:repeat !important;content:"";height:100%;left:0;position:absolute;top:0;width:100%;z-index:10}#wrapper .thrv_header .symbol-section-in,#wrapper .thrv_footer .symbol-section-in{box-sizing:border-box;max-width:100%}#content{box-sizing:border-box !important;position:relative;display:flex;align-items:center;flex-direction:column;flex-grow:1;z-index:2}div.main-container{--separator-size: 40px;--sidebar-size: 30%;width:var(--layout-content-width);box-sizing:border-box !important;display:flex;flex-grow:1;height:100%;margin:0;max-width:100%;padding:0;position:relative;z-index:1}div.main-container .hide-section+.main-columns-separator{display:none}div.main-container.flip-sections .sidebar-section{order:1}div.main-container.flip-sections .content-section{order:3}.main-content-background{height:100%;width:1080px;width:var(--layout-background-width);max-width:100%;position:absolute;top:0;overflow:hidden;margin:0;padding:0;z-index:0}.theme-section{flex-shrink:1;position:relative;margin:0;padding:0;box-sizing:border-box !important;display:flex;justify-content:center;align-items:center;width:100%;z-index:1}.theme-section.top-section .section-background{max-width:100%;width:1080px;width:var(--top-background-width, var(--layout-background-width, 1080px))}.theme-section.top-section .section-content{max-width:100%;width:1080px;width:var(--top-content-width, var(--layout-content-width, 1080px))}.theme-section.bottom-section .section-background{max-width:100%;width:1080px;width:var(--bottom-background-width, var(--layout-background-width, 1080px))}.theme-section.bottom-section .section-content{max-width:100%;width:1080px;width:var(--bottom-content-width, var(--layout-content-width, 1080px))}.theme-section .section-content{box-sizing:border-box !important;position:relative;z-index:1;margin-left:auto;margin-right:auto;height:100%;width:100%;max-width:100%}.theme-section .section-content::after,.theme-section .section-content::before{content:"";display:block;overflow:auto}.theme-section .section-background{box-sizing:border-box;height:100%;position:absolute;top:0;overflow:hidden;width:100%;max-width:100%;z-index:0}.content-section{flex-grow:1;order:1;width:calc(70% - 10px);width:calc(100% - var(--sidebar-size) - var(--separator-size)*.5) !important}.content-section:first-child{width:100% !important}.sidebar-section{flex-grow:1;order:3;width:calc(30% - 10px);width:calc(var(--sidebar-size) - var(--separator-size)*.5) !important}.sidebar-section.tve-sticky-sidebar{align-items:flex-start;align-self:flex-start;min-height:100vh}.sidebar-section.tve-is-sticky{position:absolute;z-index:2}.sidebar-section:before{transition:opacity .42s ease-in-out}.sidebar-section .tve-sidebar-close-icon{display:none}.sidebar-section .tve-off-screen-sidebar-trigger{display:none}[data-off-screen-side=left].theme-has-off-screen-sidebar .sidebar-section .tve-off-screen-sidebar-trigger{box-shadow:1px 0 5px 0 rgba(25,31,40,.15)}.theme-has-off-screen-sidebar.ttb-editor-page .sidebar-section{transition:none}.theme-has-off-screen-sidebar.ttb-editor-page .sidebar-section .tve-off-screen-sidebar-trigger{transition:none}.theme-has-off-screen-sidebar .sidebar-section{display:none;height:100vh;position:fixed !important;top:0;transition:left .42s ease-in-out,right .42s ease-in-out;width:var(--off-screen-sidebar-size) !important;z-index:9999 !important}.theme-has-off-screen-sidebar .sidebar-section .section-content{overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(25,31,40,.2) transparent}.theme-has-off-screen-sidebar .sidebar-section .section-content::-webkit-scrollbar{width:5px}.theme-has-off-screen-sidebar .sidebar-section .section-content::-webkit-scrollbar-thumb{background-color:rgba(25,31,40,.2);border-radius:20px}html .theme-has-off-screen-sidebar .sidebar-section .section-content{min-height:100% !important}.theme-has-off-screen-sidebar .sidebar-section .tve-sidebar-close-icon{background:transparent;border:0;opacity:.8;position:absolute;display:block;line-height:0;padding:0;right:10px;top:10px;cursor:pointer;z-index:24;width:auto !important;height:auto !important}.theme-has-off-screen-sidebar .sidebar-section .tve-sidebar-close-icon:hover{opacity:1}.theme-has-off-screen-sidebar .sidebar-section.theme-has-off-screen-overlay:before{content:"";position:fixed;background:var(--tve-off-screen-overlay-color);left:0;right:0;top:0;bottom:0}.theme-has-off-screen-sidebar .sidebar-section[data-trigger-position=top] .tve-off-screen-sidebar-trigger{top:0}.theme-has-off-screen-sidebar .sidebar-section[data-trigger-position=center] .tve-off-screen-sidebar-trigger{top:50%}.theme-has-off-screen-sidebar .sidebar-section[data-trigger-position=bottom] .tve-off-screen-sidebar-trigger{bottom:0}.theme-has-off-screen-sidebar .sidebar-section .tve-off-screen-sidebar-trigger{background-color:#f1f1f1;border:1px solid #e3e3e3;cursor:pointer;line-height:1;position:fixed;min-height:42px;min-width:18px;transition:left .42s ease-in-out,right .42s ease-in-out;z-index:2;display:flex;align-items:center;padding-left:2px;padding-right:2px;box-shadow:-1px 0 5px 0 rgba(25,31,40,.15)}.sidebar-section.sidebar-off-screen-on-desktop{display:none}@media(max-width: 1023px){.sidebar-section.sidebar-off-screen-on-desktop:not(.sidebar-off-screen-on-tablet){display:flex}}@media(max-width: 767px){.sidebar-section.sidebar-off-screen-on-desktop:not(.sidebar-off-screen-on-mobile){display:flex}}@media(max-width: 1023px){.sidebar-section.sidebar-off-screen-on-tablet{display:none}}@media(max-width: 767px){.sidebar-section.sidebar-off-screen-on-tablet{display:none}.sidebar-section.sidebar-off-screen-on-tablet:not(.sidebar-off-screen-on-mobile){display:flex}}@media(max-width: 767px){.sidebar-section.sidebar-off-screen-on-mobile{display:none}}.main-columns-separator{width:20px;width:var(--separator-size);height:20px;height:var(--separator-size);order:2;flex-shrink:0}@media(max-width: 767px){.main-columns-separator{display:none}}@media(max-width: 1023px){.main-columns-separator.sidebar-off-screen-on-tablet{display:none}}@media(min-width: 1023px){.main-columns-separator.sidebar-off-screen-on-desktop{display:none}}.theme-has-off-screen-sidebar .main-columns-separator{display:none}body:not(.tve_lp):not(.single-tcb_symbol) .thrv_header .symbol-section-out{margin:auto;right:0;left:0;max-width:100% !important;width:1080px;width:var(--header-background-width, var(--layout-background-width))}body:not(.tve_lp):not(.single-tcb_symbol) .thrv_header .symbol-section-in{max-width:100% !important;width:1080px;width:var(--header-content-width, var(--layout-content-width))}body:not(.tve_lp):not(.single-tcb_symbol) .thrv_header.thrv_wrapper{padding:0}body:not(.tve_lp):not(.single-tcb_symbol) .thrv_footer .symbol-section-out{margin:auto;right:0;left:0;max-width:100% !important;width:1080px;width:var(--footer-background-width, var(--layout-background-width))}body:not(.tve_lp):not(.single-tcb_symbol) .thrv_footer .symbol-section-in{max-width:100% !important;width:1080px;width:var(--footer-content-width, var(--layout-content-width))}body:not(.tve_lp):not(.single-tcb_symbol) .thrv_footer.thrv_wrapper{padding:0}.gallery.gallery-columns-1 .gallery-item{width:calc(100% / 1)}.gallery.gallery-columns-1 .gallery-item:nth-child(1n+1){clear:left}.gallery.gallery-columns-2 .gallery-item{width:calc(100% / 2)}.gallery.gallery-columns-2 .gallery-item:nth-child(2n+1){clear:left}.gallery.gallery-columns-3 .gallery-item{width:calc(100% / 3)}.gallery.gallery-columns-3 .gallery-item:nth-child(3n+1){clear:left}.gallery.gallery-columns-4 .gallery-item{width:calc(100% / 4)}.gallery.gallery-columns-4 .gallery-item:nth-child(4n+1){clear:left}.gallery.gallery-columns-5 .gallery-item{width:calc(100% / 5)}.gallery.gallery-columns-5 .gallery-item:nth-child(5n+1){clear:left}.gallery.gallery-columns-6 .gallery-item{width:calc(100% / 6)}.gallery.gallery-columns-6 .gallery-item:nth-child(6n+1){clear:left}.gallery.gallery-columns-7 .gallery-item{width:calc(100% / 7)}.gallery.gallery-columns-7 .gallery-item:nth-child(7n+1){clear:left}.gallery.gallery-columns-8 .gallery-item{width:calc(100% / 8)}.gallery.gallery-columns-8 .gallery-item:nth-child(8n+1){clear:left}.gallery.gallery-columns-9 .gallery-item{width:calc(100% / 9)}.gallery.gallery-columns-9 .gallery-item:nth-child(9n+1){clear:left}.gallery .gallery-item{float:left;margin:10px 0;text-align:center}.gallery .gallery-item .gallery-icon,.gallery .gallery-item .gallery-caption{display:inline-block}.gallery .gallery-item .gallery-caption{color:#757575;display:block;font-size:12px;font-style:italic;line-height:2;margin:10px 0 15px}.gallery .gallery-item img{border:2px solid #cfcfcf;border-radius:3px;box-shadow:0 1px 4px rgba(0,0,0,.2);box-sizing:border-box;height:auto;max-width:90%;padding:5%}.gallery:after{clear:both;content:"";display:table}.tve-sidebar-close-icon{outline:0}@media(max-width: 767px){.main-container{flex-wrap:wrap}.main-container>.theme-section{min-width:100%}}