.clearfix:after, .clearfix:before {
    content: '';
    display: block;
    clear: both;
}

#editor .editor-writing-flow {
    max-width: 750px;
    margin: auto;
}

#editor .editor-writing-flow > div > div > div > .editor-block-list__layout > .wp-block {
    max-width: unset;
    width: 100%;
}

#editor .components-range-control__number {
    width: 65px;
}

.editor-styles-wrapper .wp-block .wp-block {
    max-width: 100%;
    width: 100%;
	margin-bottom:50px;
}

/*#editor .slick-slide {*/
/*    pointer-events: none;*/
/*}*/

.slick-arrow:focus {
    background: transparent;
}

.components-range-control .components-range-control__slider {
    margin-left: 8px;
}

.components-base-control__label .component-color-indicator {
    vertical-align: text-bottom;
}

/*Editor sidebar controls*/
.advgb-editor-width-default #editor .editor-writing-flow {
    max-width: 750px;
}

.advgb-editor-width-large #editor .editor-writing-flow {
    max-width: 75%;
}

.advgb-editor-width-full #editor .editor-writing-flow {
    max-width: 95%;
}

.advgb-editor-col-guide-disable .advgb-columns > .editor-inner-blocks > .editor-block-list__layout > .wp-block:not(.is-selected) > .editor-block-list__block-edit:before {
    border-style: none;
    border-color: transparent;
}

.advgb-editor-col-guide-enable .advgb-columns > .editor-inner-blocks > .editor-block-list__layout > .wp-block:not(.is-selected) > .editor-block-list__block-edit:before,
.advgb-columns-wrapper .advgb-columns > .editor-inner-blocks > .editor-block-list__layout > .wp-block:not(.is-selected):hover > .editor-block-list__block-edit:before {
    border: 1px dashed #ddd;
}

.advgb-editor-sidebar-content .advgb-editor-sidebar-note {
    font-size: 13px;
    font-style: italic;
    margin: 10px;
}

.advgb-editor-sidebar-content .components-button-group.advgb-button-group {
    display: block;
}

.advgb-editor-sidebar-content .components-button.advgb-button.is-button {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 5px;
    height: auto;
    box-shadow: none;
    outline: none;
}

.advgb-editor-sidebar-content .components-button.advgb-button.is-button:focus {
    outline: none;
    box-shadow: none;
}

.advgb-editor-sidebar-content .components-button.advgb-button.is-button.is-default {
    background-color: #fff;
    color: #000;
}

.advgb-editor-sidebar-content .components-button.advgb-button.is-button.is-primary {
    background-color: #2196f3;
    border: 1px solid #2196f3;
    text-shadow: none;
    color: #fff;
}

/*Accordion block styles*/
#editor .advgb-accordion-block .advgb-accordion-header p.mce-content-body,
#editor .advgb-accordion-block .advgb-accordion-body p.mce-content-body {
    color: inherit;
}

#editor .advgb-accordion-block {
    padding: 15px 0;
}

.advgb-accordion-header,
.advgb-accordion-header.ui-accordion-header.ui-state-default {
    padding: 5px 40px 5px 10px;
    border: 1px solid #ccc;
    margin-top: 10px;
    position: relative;
    background: none;
    margin-bottom: 0;
}


.ui-accordion-header-icon,
.advgb-accordion-header.ui-accordion-header.ui-state-default .ui-accordion-header-icon{
    display: none;
}

.advgb-accordion-header-icon {
    float: right;
    margin-right: -30px;
    line-height: 1.8;
    font-size: 1.2em;
    cursor: pointer;
}

.advgb-accordion-header-icon svg {
    vertical-align: sub;
}

.advgb-accordion-header h4.advgb-accordion-header-title, .advgb-accordion-header h4 {
    padding: 0;
    margin: 0;
    clear: none;
    color: inherit;
    line-height: 1.5;
    font-size: 1.2em;
    cursor: pointer;
}

.advgb-accordion-header[aria-expanded="true"] .advgb-accordion-header-icon {
    display: none;
}
.advgb-accordion-body,
.advgb-accordion-wrapper .advgb-accordion-body.ui-widget-content {
    padding: 10px 10px 10px 15px;
    border-width: 1px;
    border-style: solid;
    border-color: #ccc;
    margin-bottom: 10px;
    width: 100%;
    background: none;
    box-sizing: border-box;
}

.advgb-accordion-controls {
    margin-top: 10px;
    text-align: center;
}

.advgb-icon-items .advgb-icon-items-header {
    margin: 10px 0;
}

.advgb-icon-items-wrapper {
    display: flex;
    flex: auto;
    flex-wrap:  wrap;
    color: #000;
}

.advgb-icon-items-wrapper .advgb-icon-item {
    min-width: 25%;
    text-align: center;
    margin: 5px 0;
}

.advgb-icon-items-wrapper .advgb-icon-item > span {
    display: inline-block;
    line-height: 0.9;
    border-radius: 4px;
    padding: 3px;
    cursor: pointer;
}

.advgb-icon-items-wrapper .advgb-icon-item .active {
    background-color: #ddd;
}

/*Advanced Button block styles*/
.components-panel__body.is-opened > .components-panel__body {
    margin-left: -6px;
}
#editor .editor-block-list__block[data-type="advgb/button"][data-align=center] {
    text-align: center;
}
span.wp-block-advgb-button[data-is-placeholder-visible=true] {
    margin-top: -3px;
}
.wp-block-advgb-button.aligncenter {
    text-align: center;
}

.wp-block-advgb-button .wp-block-advgb-button_link {
    display: inline-block;
    text-decoration: none !important;
    background-color: #2196f3;
    color: #fff;
    border-color: #fff;
    border-radius: 50px;
}

.wp-block-advgb-button .wp-block-advgb-button_link:hover {
    background-color: #2196f3;
    color: #fff;
}

.wp-block-advgb-button.is-style-outlined .wp-block-advgb-button_link {
    background-color: transparent !important;
    color: #000;
    border-radius: 50px;
    border-color: #000;
    border-style: solid;
    border-width: 1px;
}

.wp-block-advgb-button.is-style-squared .wp-block-advgb-button_link {
    border-radius: 0 !important;
}

.wp-block-advgb-button.is-style-squared-outline .wp-block-advgb-button_link {
    border-radius: 0 !important;
    background-color: transparent !important;
    color: #000;
    border-color: #000;
    border-style: solid;
    border-width: 1px;
}

/*Advanced Image block styles*/
div.advgb-image-block {
    position: relative;
    display: flex;
    background-color: #CCCCCC;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 500px;
    width: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 10px auto;
    padding: 15px;
}

.advgb-image-block.full-width {
    width: 100% !important;
}

.advgb-image-block * {
    transition: all 0.4s ease-in-out !important;
}

.advgb-image-block .button,
#editor .advgb-image-block > div {
    z-index: 3;
}

div.advgb-image-block .advgb-browse-image-btn {
    background-color: #227eb7;
    border-color: #227eb7;
    outline: none;
    color: #fff;
    box-shadow: none;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.advgb-image-overlay {
    opacity: 0;
    background-color: #000;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.advgb-image-title, .advgb-image-subtitle {
    z-index: 3;
    margin: 0;
    padding: 0;
}

.advgb-image-title {
    margin-bottom: 30px;
}

.advgb-image-block:hover .advgb-image-overlay {
    opacity: 0.5;
}

/*Advanced List block styles*/
#editor .wp-block-advgb-list {
    margin-left: 15px;
}

#editor .advgb-list, .advgb-list, .advgb-list li ul {
    margin-left: 0;
    list-style-type: none !important;
}

.advgb-list li ul {
    margin: 5px 0;
    padding: 0;
}

.advgb-list li:before {
    font-family: 'dashicons';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    vertical-align: middle;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.advgb-list-admin-post li:before {
    content: "\f109";
}
.advgb-list-admin-generic li:before {
    content: "\f111";
}
.advgb-list-flag li:before {
    content: "\f227";
}
.advgb-list-star-filled li:before {
    content: "\f155";
}
.advgb-list-yes li:before {
    content: "\f147";
}
.advgb-list-minus li:before {
    content: "\f460";
}
.advgb-list-plus li:before {
    content: "\f132";
}
.advgb-list-controls-play li:before {
    content: "\f522";
}
.advgb-list-arrow-right-alt li:before {
    content: "\f344";
}
.advgb-list-dismiss li:before {
    content: "\f153";
}
.advgb-list-warning li:before {
    content: "\f534";
}
.advgb-list-editor-help li:before {
    content: "\f223";
}
.advgb-list-info li:before {
    content: "\f348";
}
.advgb-list-marker li:before {
    content: "\f159";
}

.advgb-icon-item.h20 > span {
    /*height: 20px;*/
}

.advgb-icon-item > span.remove-icon {
    width: 26px;
    height: 26px;
    border: 1px dashed #333;
}

/*Advanced Table block styles*/
.wp-block-advgb-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.wp-block-advgb-table td, .wp-block-advgb-table tr {
    border-color: #dddddd;
    border-style: solid;
    border-width: 1px;
    padding: 0;
}

.wp-block-advgb-table td.cell-selected {
    outline: 2px solid #2196f3;
}

.advgb-border-item-wrapper {
    display: flex;
    flex: auto;
    flex-wrap: wrap;
    margin: 0 0 1em;
}

.advgb-border-item {
    min-width: 25%;
    text-align: center;
    margin: 5px 0;
}

.advgb-border-item span {
    display: inline-block;
    cursor: pointer;
}

.advgb-border-item svg {
    vertical-align: middle;
}

table.advgb-table-frontend {
    border-collapse: separate;
    border-spacing: 0;
    margin: 0 auto 1em;
    width: 100%;
    max-width: 100%;
}

table.advgb-table-frontend td, table.advgb-table-frontend tr {
    border: 1px solid transparent;
    padding: .5em;
}

.wp-block-advgb-table thead tr:last-child td {
    border-bottom: 2px solid #000;
}

.wp-block-advgb-table tfoot tr:first-child td {
    border-top: 2px solid #000;
}

.wp-block-advgb-table.is-style-stripes tbody tr:nth-child(odd) {
    background-color: #f3f4f5;
}

/*Advanced Video styles*/
.advgb-video-block iframe {
    display: block;
    margin: auto;
}

.advgb-video-wrapper.full-width,
.advgb-video-wrapper.full-width video,
.advgb-video-wrapper.full-width iframe {
    width: 100% !important;
}

.advgb-video-block .advgb-video-wrapper.no-lightbox {
    background-color: transparent;
}

.advgb-video-wrapper {
    background-color: #2196f3;
    position: relative;
    margin: 0 auto;
    cursor: pointer;
}

.advgb-video-poster {
    position: absolute;
    top: 0;
    left: 0;
    bottom:  0;
    right: 0;
    z-index: 2;
    opacity: 0.5;
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center;
}

.advgb-button-wrapper {
    background-color: transparent;
    z-index: 3;
    position: relative;
    width: 100%;
}

.advgb-play-button {
    display: flex;
    align-items:  center;
    justify-content: center;
    flex-direction: column;
    height: 100%;
}

.advgb-play-button svg {
    fill: currentColor;
}

.advgb-button-wrapper button.button {
    position: absolute;
    left: 50%;
    top: 25%;
    transform: translateX(-50%) !important;
}

.advgb-video-input {
    width: fit-content !important;
    margin: 10px auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.advgb-video-input .components-base-control__field {
    margin: 0 5px;
}
.advgb-video-input .components-base-control__field .components-text-control__input {
    height: 31px;
    line-height: 31px;
    width: 100%;
}


#editor .advgb-video-input > *:not(svg) {
    vertical-align: sub;
}

.advgb-video-input .components-base-control {
    margin-bottom: 0;
    display: inline-block;
    max-width: 300px;
}

.advgb-video-input button.components-button:disabled {
    opacity: 0.8;
}

.advgb-video-link-icon {
    vertical-align: text-bottom;
    margin-right: 5px;
    color: #888;
}

.advgb-current-video-desc {
    font-size: 18px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.advgb-current-video-desc span.spinner {
    float: none;
    margin: 0;
}

#colorbox.advgb_lightbox .cboxIframe {
    margin-bottom: 0;
}
.advgb-video-block .advgb-current-video-desc svg {
    width: 100%;
}
.advgb-video-block .advgb-current-video-desc .components-spinner {
    margin: 0;
}

/*Count Up block styles*/
#editor .advgb-col-3 {
    float: left;
    width: 33%;
    padding: 10px;
    text-align: center;
}

#editor .advgb-counter > div.editor-rich-text {
    display: inline-block;
}

.advgb-count-up {
    margin: 10px auto;
}

.advgb-count-up > div {
    flex: auto;
    margin: 0 10px;
}

.advgb-counter {
    line-height: normal;
}

.advgb-column-1 .advgb-count-up-columns-two, .advgb-column-1 .advgb-count-up-columns-three {
    display: none;
}

.advgb-column-2 .advgb-count-up-columns-three {
    display: none;
}
.advgb-columns-1 > .advgb-column {
    flex: none;
    width: 100%;
}

#editor .advgb-columns-spacing {
    height: 10px;
    width: 100%;
    display: block;
    position: relative;
    z-index: 999;
    top: -8px;
}
[data-type="advgb/columns"][data-align=full] .advgb-columns {
    padding-left: 46px;
    padding-right: 46px;
}

/*Social links block styles*/
.advgb-social-links-block {
    text-align: center;
}

.advgb-social-icons {
    display:  inline-block;
}

.advgb-social-icon {
    width: 30px;
    height: 30px;
    display: inline-block;
    margin: 5px;
    padding: 3px;
    cursor: pointer;
    vertical-align: middle;
    color: #000;
    position: relative;
}

.advgb-social-icon.selected {
    outline: 2px solid #000;
}

span.advgb-social-icon.selected:before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid #fff;
    border-radius: 25%;
}

.advgb-social-icon svg, .advgb-social-icon img {
    vertical-align: top;
}

.advgb-social-icon img {
    max-width: 100%;
    height: auto;
}

.advgb-social-link {
    display: flex;
    flex: auto;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}

.advgb-social-link .components-base-control {
    margin: 0;
    margin-left: 10px;
    width: 350px;
    text-align: left;
}

.advgb-social-icons .advgb-social-icon:hover {
    opacity: 0.7;
}

/*Summary block styles*/
#editor .editor-block-list__block[data-align=center] ul.advgb-toc {
    width: fit-content;
    margin: auto;
    text-align: initial;
}

#editor ul.advgb-toc, ul.advgb-toc {
    list-style: none !important;
    padding: 0;
}

.wp-block-advgb-summary {
    margin-bottom: 15px;
}

#editor ul.advgb-toc, ul.advgb-toc:not(.aligncenter):not(.alignleft):not(.alignright) {
    margin-left: 0;
    margin-right: 0;
}

.advgb-toc li {
    min-height: 20px;
}

.advgb-toc li a {
    text-decoration: none;
    box-shadow: none;
}

.wp-block-advgb-summary.aligncenter {
    width: fit-content;
}

.advgb-toc-header {
    cursor: pointer;
    font-weight: bold;
    margin-bottom: 5px;
}

.advgb-toc-header:after {
    font-family: 'dashicons';
    content: '\f142';
    font-size: 16px;
    vertical-align: middle;
}

.advgb-toc-header.collapsed:after {
    content: '\f140'
}

.wp-block-advgb-summary.alignleft {
    margin-right: 10px;
}

.wp-block-advgb-summary.alignright {
    margin-left: 10px;
}

.wp-block-advgb-summary.alignright .advgb-toc-header {
    float: right;
}

.wp-block-advgb-summary.alignright .advgb-toc {
    clear: both;
}

.wp-block-advgb-summary.aligncenter .advgb-toc-header {
    width: fit-content;
    margin: auto;
}

/*Tabs block styles*/
#editor .advgb-tabs-block .advgb-tab p.mce-content-body,
#editor .advgb-tabs-block .advgb-tab-body p.mce-content-body
#editor .advgb-tabs-wrapper .advgb-tab p.mce-content-body,
#editor .advgb-tabs-wrapper .advgb-tab-body p.mce-content-body {
    color: inherit;
}

#editor .advgb-tabs-block, #editor .advgb-tabs-wrapper {
    padding: 15px 0;
}

.advgb-tabs-styles {
    display: flex;
    flex-wrap: wrap;
}

.advgb-tabs-styles .advgb-tabs-style {
    padding: 10px;
    margin-right: 10px;
    border: 1px solid transparent;
}

.advgb-tabs-styles .advgb-tabs-style.is-toggled {
    border: 1px solid #000;
    background-color: #eee;
}

.advgb-tab-body-wrapper > .editor-inner-blocks > .editor-block-list__layout > .block-list-appender {
    display: none !important;
}
.advgb-tab-body-wrapper > .editor-inner-blocks > .editor-block-list__layout > .wp-block > .editor-block-list__insertion-point {
    display: none !important;
}

ul.advgb-tabs-panel {
    list-style-type: none !important;
    border: none;
    margin: 0 !important;
    padding: 0 !important;
    background: none;
}

ul.advgb-tabs-panel:after {
    content: '';
    display: block;
    clear: both;
}

ul.advgb-tabs-panel li.advgb-tab, ul.advgb-tabs-panel li.advgb-tab.ui-state-default {
    float: left;
    margin: 0 8px 8px 0;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    position: relative;
    background: none;
}

ul.advgb-tabs-panel li.advgb-tab:first-child {
    margin-left: 0 !important;
}

ul.advgb-tabs-panel li.advgb-tab > a, li.advgb-add-tab > span {
    padding: 10px 15px;
    display: inline-block;
}

ul.advgb-tabs-panel li.advgb-tab a, ul.advgb-tabs-panel li.advgb-tab a:focus, ul.advgb-tabs-panel li.advgb-tab a:hover {
    text-decoration: none;
    box-shadow: none;
    outline: none;
    display: block;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

ul.advgb-tabs-panel li.advgb-tab a p {
    margin: 0;
}

ul.advgb-tabs-panel li.advgb-tab.ui-tabs-active,
ul.advgb-tabs-panel li.advgb-tab.advgb-tab-active {
    background-color: #5954d6 !important;
    border-color: transparent !important;
}

ul.advgb-tabs-panel li.advgb-tab.ui-tabs-active a,
ul.advgb-tabs-panel li.advgb-tab.advgb-tab-active a {
    color: inherit !important;
}

ul.advgb-tabs-panel li.advgb-add-tab {
    text-align: center;
}

ul.advgb-tabs-panel li.advgb-tab.advgb-add-tab.ui-state-default {
    border: 1px solid transparent;
}

ul.advgb-tabs-panel li.advgb-tab.advgb-add-tab.ui-state-default:hover {
    background: #ccc;
}

ul.advgb-tabs-panel li.advgb-add-tab span {
    line-height: 1.8;
    cursor: pointer;
    font-size: 1em;
    display: block;
}

ul.advgb-tabs-panel li.advgb-add-tab svg {
    color: #e0e0e0;
    vertical-align: sub;
}

ul.advgb-tabs-panel li.advgb-add-tab:hover svg {
    color: #5954d6;
}

ul.advgb-tabs-panel li.advgb-add-tab:hover {
    border-color: #5954d6;
}

span.advgb-tab-remove {
    position: absolute;
    top: -8px;
    right: -8px;
    height: 20px;
    color: #fff;
    background-color: #FCB908;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    z-index: 1;
}

li.advgb-tab:hover span.advgb-tab-remove {
    display: block;
}

span.advgb-tab-remove svg {
    display: block;
}

div.advgb-tab-body {
    padding: 40px 10px 10px 15px;
    border: 1px solid #e0e0e0;
    background: none;
    display: none;
}

#editor div.advgb-tab-body {
    padding: 0;
}
#editor .advgb-tab-body-wrapper {
    padding: 20px;
}
.edit-post-visual-editor .advgb-tabs-wrapper .block-editor-button-block-appender {
    display: none;
}

.advgb-tab-body-wrapper {
    border: 1px solid #ccc;
    max-width: 100%;
}

.advgb-tab-body-wrapper div.advgb-tab-body {
    border: none;
}

.advgb-tab-body-wrapper .advgb-tab-body-header {
    cursor: pointer;
    padding: 10px 15px;
    display: none;
}

.advgb-tabs-wrapper[class *= 'advgb-tab-vert'] {
    display: flex;
}

.advgb-tabs-wrapper.advgb-tab-horz-desktop {
    flex-direction: column;
}

.advgb-tabs-wrapper.advgb-tab-vert-desktop ul.advgb-tabs-panel {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 25%;
    max-width: 25%;
}

.advgb-tabs-wrapper.advgb-tab-vert-desktop ul.advgb-tabs-panel span.advgb-tab-remove {
    left: -8px;
    right: unset;
}

.advgb-tabs-wrapper.advgb-tab-vert-desktop .advgb-tab-body-wrapper {
    flex-grow: 3;
    max-width: 75%;
}

#editor [data-type="advgb/tab"] > .editor-block-list__block-edit > .editor-block-mover,
#editor [data-type="advgb/tab"] > .editor-block-list__block-edit > .editor-block-contextual-toolbar {
    display: none !important;
}
#editor [data-type="advgb/tab"] > .editor-block-list__block-edit::before {
    box-shadow: none;
    border: none;
}

/*Testimonial block styles*/
.advgb-testimonial-wrapper {
    position: relative;
    padding: 1px 30px;
}

.advgb-testimonial:not(.slider-view) {
    display: flex;
    margin: 20px auto;
}

#editor .advgb-testimonial {
    padding: 15px 0;
}

.advgb-testimonial .advgb-testimonial-item {
    flex: auto;
    padding: 0 10px;
    text-align: center;
    pointer-events: all;
    display: flex !important;
    flex-direction: column;
}

.advgb-testimonial.advgb-avatar-top .advgb-testimonial-item {
    flex-direction: column;
}

.advgb-testimonial.advgb-avatar-bottom .advgb-testimonial-item {
    flex-direction: column-reverse;
}

.advgb-testimonial.advgb-avatar-left .advgb-testimonial-item {
    flex-direction: row;
}

.advgb-testimonial.advgb-avatar-right .advgb-testimonial-item {
    flex-direction: row-reverse;
}

.advgb-testimonial.advgb-avatar-right .advgb-testimonial-item .advgb-testimonial-avatar-clear {
    left: -30px;
}

.advgb-testimonial .advgb-testimonial-item .advgb-testimonial-info {
    flex: 1;
}

.advgb-testimonial > div {
    flex: auto;
    margin: 0 10px;
    text-align: center;
}

.advgb-testimonial .advgb-testimonial-avatar-group {
    position: relative;
    align-self: center;
}

.advgb-testimonial-item:hover .advgb-testimonial-avatar-clear {
    display: inline-block;
}

.advgb-testimonial .advgb-testimonial-avatar {
    display: inline-block;
    height: 70px;
    width: 70px;
    margin-bottom: 10px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-style: solid;
    border-width: 0;
    border-color: #fff;
}

#editor .advgb-testimonial .advgb-testimonial-avatar {
    cursor: pointer;
}

.advgb-testimonial .advgb-testimonial-avatar-clear {
    position: absolute;
    top: 0;
    margin-left: 5px;
    display: none;
    cursor: pointer;
    z-index: 99;
}

.advgb-testimonial .advgb-testimonial-name {
    padding: 5px;
}

.advgb-testimonial p.advgb-testimonial-position {
    text-transform: uppercase;
    font-size: 0.9rem;
    margin: 5px auto;
}

button.advgb-testimonial-preview {
    margin-bottom: 10px !important;
}

.advgb-testimonial .slick-list {
    padding-top: 25px !important;
}

.advgb-testimonial button.slick-arrow {
    background-color: transparent;
}

.advgb-testimonial-wrapper button.advgb-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    background-color: transparent;
    outline: none;
    box-shadow: none;
    border: 1px solid #000;
    color: #000;
    cursor: pointer;
    padding: 7px 10px;
    width: 20px;
    height: auto;
}

.advgb-testimonial-wrapper button.advgb-slider-arrow svg {
    display: block;
}

.advgb-testimonial-wrapper button.advgb-slider-arrow.advgb-slider-prev {
    left: -10px;
}

.advgb-testimonial-wrapper button.advgb-slider-arrow.advgb-slider-next {
    right: -10px;
}

/*Separator styles*/
hr.wp-block-separator {
    background-color: transparent;
}

/*Recent Posts styles*/
.advgb-recent-posts-block {
    padding-bottom: 1px;
}

.advgb-recent-posts-block h2.advgb-post-title {
    font-size: 1.2em;
}

.advgb-recent-posts-block.grid-view .advgb-recent-posts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    display: -ms-flexbox;
    -ms-flex-wrap: wrap;
}

.advgb-recent-posts-block.grid-view.columns-1 .advgb-recent-posts {
    grid-template-columns: 1fr;
}

.advgb-recent-posts-block.grid-view.columns-3 .advgb-recent-posts {
    grid-template-columns: 1fr 1fr 1fr;
}

.advgb-recent-posts-block.grid-view.columns-4 .advgb-recent-posts {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.advgb-recent-posts-block.grid-view.columns-1 .advgb-recent-posts .advgb-recent-post {
    flex-basis: calc(100% - 10px);
}
.advgb-recent-posts-block.grid-view.columns-2 .advgb-recent-posts .advgb-recent-post {
    flex-basis: calc(50% - 10px);
}
.advgb-recent-posts-block.grid-view.columns-3 .advgb-recent-posts .advgb-recent-post {
    flex-basis: calc(33.3% - 10px);
}
.advgb-recent-posts-block.grid-view.columns-4 .advgb-recent-posts .advgb-recent-post {
    flex-basis: calc(25% - 10px);
}

.advgb-recent-posts-block.list-view .advgb-recent-posts .advgb-recent-post {
    display: grid;
    grid-template-columns: 30% 1fr;
    grid-gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 5px;
    display: -ms-flexbox;
}

.advgb-recent-posts-block.list-view .advgb-recent-posts .advgb-recent-post .advgb-post-thumbnail {
    flex-basis: 30%;
    padding: 5px;
}

.advgb-recent-posts-block.list-view .advgb-recent-posts .advgb-recent-post .advgb-post-wrapper {
    flex-basis: calc(70% - 10px);
}

.advgb-recent-posts-block.list-view .advgb-recent-posts .advgb-recent-post:not(:last-child) {
    border-bottom: 1px solid #ccc;
}

.advgb-recent-posts .advgb-recent-post {
    position: relative;
    padding: 5px;
}

.advgb-recent-posts .advgb-recent-post .advgb-post-thumbnail a {
    display: inline-block;
    max-width: 100%;
}

.advgb-recent-posts .advgb-recent-post .advgb-post-thumbnail img {
    vertical-align: middle;
}

.advgb-recent-post .advgb-post-title {
    margin: 0;
}

.advgb-recent-posts-block.list-view .advgb-recent-post .advgb-post-wrapper:first-child {
    grid-column: 1 / span 2;
}

.advgb-recent-posts-block.grid-view .advgb-recent-post .advgb-post-wrapper:not(:first-child) {
    margin-top: 10px;
}

.advgb-post-wrapper > * {
    margin: 10px 0;
}

.advgb-post-readmore {
    margin-top: 10px;
}

.advgb-recent-post .advgb-post-date:not(:first-child):before {
    content: "-";
    display: inline-block;
    margin: 0 5px;
}

.advgb-recent-posts-loading,
.advgb-ajax-loading:before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9;
    background-color: rgba(240, 240, 240, 0.7);
    background-image: url("../../images/loading.gif");
    background-position: center;
    background-repeat: no-repeat;
}

.advgb-ajax-loading:before {
    content: '';
    display: block;
    background-color: rgba(0,0,0,0.7);
}

.advgb-recent-posts-block.slider-view.loading .advgb-recent-posts {
    max-height: 500px;
    overflow: hidden;
}

.advgb-recent-posts-block.slider-view .advgb-recent-post {
    text-align: center;
}

.advgb-recent-posts-block.slider-view .advgb-recent-post .advgb-post-thumbnail img {
    height: 400px;
    width: auto;
}

/*Woo Products styles*/
.advgb-products-block {
    padding-bottom: 1px;
}

.advgb-woo-categories-list {
    max-height: 400px;
    overflow: auto;
}

.advgb-products-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.advgb-product {
    flex: 0 0 100%;
    padding: 10px;
    text-align: center;
}

.advgb-products-wrapper.columns-2 .advgb-product {
    flex: 0 0 50%;
}

.advgb-products-wrapper.columns-3 .advgb-product {
    flex: 0 0 33%;
}

.advgb-products-wrapper.columns-4 .advgb-product {
    flex: 0 0 25%;
}

.advgb-product > div {
    margin-bottom: 3px;
}

.advgb-product .advgb-product-img {
    height: 150px;
    overflow: hidden;
}

.advgb-product .advgb-product-img img {
    height: 100%;
}

.advgb-product-add-to-cart span {
    background: #eee;
    border: 1px solid #eee;
    padding: 5px;
    display: inline-block;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
}

.advgb-products-block.slider-view .advgb-product .advgb-product-img img {
    display: block;
    margin: auto;
}

.advgb-woo-products.slider-view .woocommerce ul.products li.first,
.advgb-woo-products.slider-view .woocommerce-page ul.products li.first {
    clear: none !important;
}

.advgb-woo-products.slider-view .woocommerce ul.products li.product,
.advgb-woo-products.slider-view .woocommerce-page ul.products li.product {
    margin: 10px;
    text-align: center;
}

.advgb-woo-products.slider-view .woocommerce ul.products li.product a img {
    height: 400px;
    width: auto;
    display: block;
    margin: 0 auto 1.5em;
}

/*Image slider block*/
.advgb-images-slider-block {
    padding-bottom: 1px;
    position: relative;
}

.advgb-images-slider-block .advgb-slider-image-dragholder{
    width: 50px;
    height: 50px;
    border: 1px dashed #333;
    margin: auto 10px;
}

.advgb-images-slider .advgb-image-slider-item {
    position: relative;
    margin-bottom: 10px;
    width: fit-content;
}

.advgb-images-slider .advgb-image-slider-item-info {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.advgb-images-slider .advgb-image-slider-item img {
    display: block;
    max-width: unset;
    margin: auto;
}

.advgb-images-slider .advgb-image-slider-item-info .advgb-image-slider-title,
.advgb-images-slider .advgb-image-slider-item-info .advgb-image-slider-text {
    margin: 0 5px;
    color: #fff;
    position: relative;
    z-index: 3;
}

.advgb-images-slider .advgb-image-slider-overlay {
    opacity: 0;
    background-color: #333;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    transition: all ease-in-out 0.5s;
    -moz-transition: all ease-in-out 0.5s;
    -webkit-transition: all ease-in-out 0.5s;
}

.advgb-image-slider-item:hover .advgb-image-slider-overlay {
    opacity: 0.5;
}

.advgb-image-slider-controls .advgb-image-slider-control .components-base-control__field {
    display: flex;
    flex: 1;
}

.advgb-image-slider-controls .advgb-image-slider-control .components-base-control__field .components-base-control__label {
    flex-basis: 70px;
    align-self: center;
}

.advgb-image-slider-image-list {
    display: flex;
    flex-wrap: wrap;
    margin: 25px 0;
}

.advgb-image-slider-image-list .advgb-image-slider-image-list-item img {
    height: 50px;
    display: block;
    cursor: pointer;
}

.advgb-image-slider-image-list .advgb-image-slider-image-list-item,
.advgb-image-slider-image-list .advgb-image-slider-add-item {
    margin: 10px;
    position: relative;
}

.advgb-image-slider-image-list .advgb-image-slider-image-list-item .advgb-image-slider-image-list-item-remove {
    position: absolute;
    top: -8px;
    right: -8px;
    color: #fff;
    background-color: #ff0000;
    border-radius: 50%;
    padding: 2px;
}

.advgb-image-slider-image-list .advgb-image-slider-image-list-item .advgb-image-slider-image-list-item-remove svg {
    margin: 0;
    width: 15px;
    height: 15px;
    display: block;
}

.advgb-image-slider-image-list .advgb-image-slider-add-item button {
    height: 50px;
    border: 1px solid #ccc;
}

.advgb-image-slider-image-list .advgb-image-slider-image-list-item > *:not(img) {
    display: none;
}

.advgb-image-slider-image-list .advgb-image-slider-image-list-item:hover > * {
    display: block;
}

.advgb-move-arrow {
    position: absolute;
    bottom: 0;
    cursor: pointer;
    background-color: #fff;
    opacity: 0.5;
}

.advgb-move-right {
    right: 0;
}

.advgb-move-left {
    left: 0;
}

.advgb-move-arrow svg {
    width: 20px;
    height: 20px;
    display: block;
}

.advgb-move-arrow:hover {
    opacity: 1;
}

/*Custom blocks options*/
#editor .editor-block-list__block-edit::before {
    background-repeat: no-repeat;
    background-size: auto;
    background-position: top left;
}

#editor .editor-block-list__block-edit::after {
    z-index: 0;
    content: "";
    position: absolute;
    outline: 1px solid transparent;
    transition: outline 0.1s linear;
    pointer-events: none;
    right: -14px;
    left: -14px;
    top: -14px;
    bottom: -14px;
    opacity: 0;
}

#editor .advgb-styles-item {
    cursor: pointer;
    padding: 3px;
    margin-bottom: 3px;
    min-height: 30px;
    border-bottom: 3px solid transparent;
}

#editor .advgb-styles-item.selected {
    background-color: #a3d6ff;
}

#editor .advgb-styles-item:hover {
    border-bottom-color: #2196f3;
}

#editor div[data-block] > * {
    /*position: relative;*/
    /*z-index: 3;*/
}

.advgb-block-container > * {
    z-index: 3;
    position: relative;
}

/*
#editor div[data-block]:before,
#editor div[data-block]:after,
.advgb-block-container .advgb-block-top-divider,
.advgb-block-container .advgb-block-bottom-divider {
    content: '';
    display: block;
    position: absolute;
    pointer-events: none;
    left: -2%;
    z-index: 0;
    width: 104%;
    height: 50px;
    background-repeat: no-repeat;
}
*/

.advgb-block-container .advgb-block-top-divider,
.advgb-block-container .advgb-block-bottom-divider {
    width: 100%;
    left: 0;
}

/*#editor div[data-block]:before,
.advgb-block-container .advgb-block-top-divider {
    top: 0;
}*/

#editor div[data-block]:after,
.advgb-block-container .advgb-block-bottom-divider {
    bottom: 0;
}

/*Contact Form styles*/
.advgb-form-field {
    float: left;
    width: 100%;
    margin: 0;
    margin-bottom: 3%;
    padding: 0;
    padding-left: 3%;
    box-sizing: border-box;
}

.advgb-form-field.advgb-form-field-half {
    width: 50%;
}

.advgb-contact-form {
    clear: both;
    position: relative;
    padding-right: 3%;
}

.advgb-form-field input.advgb-form-input[type="text"],
.advgb-form-field input.advgb-form-input[type="email"],
.advgb-form-field textarea.advgb-form-input {
    width: 100%;
    padding: 15px;
    margin: 0;
    border: 1px solid #ccc;
    border-radius: 2px;
    resize: vertical;
    font-size: 15px;
    background-color: #fafafa;
    color: #444;
    box-sizing: border-box;
}

.advgb-form-submit-wrapper {
    clear: both;
    margin-left: 3%;
    text-align: center;
    position: relative;
}

button.advgb-form-submit {
    padding: 14px;
    background-color: #444;
    box-shadow: none;
    outline: none;
    border: 2px solid #444;
    color: #fff;
    cursor: pointer;
    transition: all ease 0.5s;
    position: relative;
    border-radius: 0;
    font-size: 15px;
}

button.advgb-form-submit:hover:after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #aaa;
    opacity: 0.2;
    pointer-events: none;
}

.advgb-form-sending {
    display: inline-block;
    position: absolute;
    width: 25px;
    height: 25px;
    margin: 12px 3px;
    background-image: url(../../images/loading.gif);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.advgb-form-submit-success {
    text-align: center;
    padding: 10px;
    margin: 10px 0;
    margin-left: 3%;
    font-weight: bold;
    color: #fafafa;
    background-color: #444;
    font-size: 14px;
    border-radius: 2px;
    -webkit-box-shadow: 1px 1px 12px #ccc;
    -moz-box-shadow: 1px 1px 12px #ccc;
    box-shadow: 1px 1px 12px #ccc;
}

/*Newsletter block*/
.advgb-newsletter {
    margin-left: auto;
    margin-right: auto;
}

.advgb-newsletter .advgb-form-submit-wrapper,
.advgb-newsletter .advgb-form-field {
    margin-left: 0;
    padding-left: 0;
}

.advgb-newsletter.style-alt .advgb-form-submit {
    width: 100%;
}

.advgb-newsletter.style-default .advgb-form-field {
    position: relative;
    float: none;
}

.advgb-newsletter.style-default .advgb-form-submit-wrapper {
    position: absolute;
    top: 0;
    right: 0;
}

.advgb-newsletter .advgb-form-submit-success {
    margin-left: 0;
}

form .advgb-grecaptcha {
    margin: 15px auto;
}

form .advgb-grecaptcha > div {
    margin: auto;
}

.advgb-grecaptcha.position-right > div {
    margin-right: 0;
}

.advgb-grecaptcha.position-left > div {
    margin-left: 3%;
}

/*Login-Register Form block*/
.advgb-lores-form-wrapper {
    width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 20px;
    text-align: center;
}

.advgb-lores-form-wrapper > * {
    box-sizing: border-box;
}

.advgb-lores-form-wrapper .advgb-lores-form {
    width: 100%;
    border: 1px solid #ccc;
    position: relative;
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-header-navigation {
    background-color: #eee;
    padding: 5px;
    text-align: center;
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-header-navigation > .editor-rich-text {
    display: inline-block;
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-header-navigation .advgb-register-text {
    margin-right: 5px;
    display: inline-block;
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-header-navigation .advgb-register-link {
    text-decoration: none;
    box-shadow: none;
    outline: none;
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-form-inner {
    padding: 20px 50px;
    width: 100%;
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-form-inner .advgb-login-failed-notice {
    border: 1px solid #ccc;
    padding: 5px 10px;
    margin-bottom: 15px;
    border-left: 5px solid #ff0000;
    background-color: #fff;
    color: #333;
    font-size: 1em;
    box-shadow: 0 0 5px #ccc;
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-form-inner .advgb-lores-form-logo-wrapper {
    text-align: center;
    margin: auto;
    margin-bottom: 20px;
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-form-inner .advgb-lores-form-logo-wrapper .advgb-lores-form-logo {
    max-width: 100%;
    height: auto;
    display: block;
    margin: auto;
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-form-inner .advgb-lores-form-welcome {
    font-weight: normal;
    font-size: 1.7em;
    margin: 0 0 20px;
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-form-inner .advgb-lores-field {
    text-align: left;
    margin-bottom: 20px;
    border-width: 0;
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-form-inner .advgb-lores-field .advgb-lores-field-input {
    border-style: solid;
    border-width: 1px;
    border-color: transparent;
    border-bottom-color: #ccc;
    background-color: transparent;
    padding: 5px;
    outline: none;
    transition: all 0.5s ease;
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-form-inner .advgb-lores-field .advgb-lores-field-input.focused {
    border-bottom-color: inherit !important;
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-form-inner .advgb-lores-field .advgb-lores-field-input .advgb-lores-input-icon {
    vertical-align: middle;
    display: inline-block;
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-form-inner .advgb-lores-field .advgb-lores-field-input .advgb-lores-input-icon svg {
    vertical-align: middle;
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-form-inner .advgb-lores-field .advgb-lores-field-input .advgb-lores-input {
    vertical-align: middle;
    display: inline-block;
    margin: 0;
    padding: 0;
    margin-left: 10px;
    width: calc(100% - 40px);
    border: none;
    background-color: transparent;
    font-size: 1em;
    line-height: 1.5;
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-form-inner .advgb-lores-field .advgb-lores-field-input .advgb-lores-input:focus {
    outline: none;
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-form-inner .advgb-lores-field .advgb-lores-field-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 1em;
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-form-inner .advgb-lores-field .advgb-lores-field-label > label {
    display: block;
    cursor: pointer;
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-form-inner .advgb-lores-field.advgb-lores-submit-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-form-inner .advgb-lores-field.advgb-lores-submit-wrapper label {
    cursor: pointer;
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-form-inner .advgb-lores-field.advgb-lores-submit-wrapper.advgb-submit-align-right {
    flex-direction: row;
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-form-inner .advgb-lores-field.advgb-lores-submit-wrapper.advgb-submit-align-left  {
    flex-direction: row-reverse;
}

.advgb-lores-form-wrapper .advgb-lores-form.advgb-register-form-wrapper .advgb-form-inner .advgb-lores-field.advgb-lores-submit-wrapper.advgb-submit-align-right {
    justify-content: flex-end;
}

.advgb-lores-form-wrapper .advgb-lores-form.advgb-register-form-wrapper .advgb-form-inner .advgb-lores-field.advgb-lores-submit-wrapper.advgb-submit-align-left {
    flex-direction: row;
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-form-inner .advgb-lores-field.advgb-lores-submit-wrapper.advgb-submit-align-center {
    flex-direction: column;
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-form-inner .advgb-lores-field.advgb-lores-submit-wrapper.advgb-submit-align-center .advgb-lores-submit {
    margin-top: 20px;
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-form-inner .advgb-lores-field input.advgb-lores-checkbox {
    display: none;
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-form-inner .advgb-lores-field .remember-me-label .remember-me-switch {
    color: #2196f3;
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-form-inner .advgb-lores-field .remember-me-label .remember-me-switch span {
    vertical-align: middle;
    color: initial;
    display: inline-block;
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-form-inner .advgb-lores-field .remember-me-label .remember-me-switch:before {
    content: "\f147";
    font-family: dashicons;
    background-color: #fff;
    margin: 0;
    margin-right: 5px;
    color: transparent;
    border: 1px solid #ccc;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    line-height: 0;
    vertical-align: middle;
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-form-inner .advgb-lores-field .remember-me-label input.advgb-lores-checkbox:checked + .remember-me-switch:before {
    color: inherit;
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-form-inner .advgb-lores-field.advgb-lores-submit-wrapper .advgb-lores-submit .advgb-lores-submit-button {
    padding: 10px 25px;
    display: inline-block;
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-form-inner .advgb-lores-field.advgb-lost-password-field {
    margin-top: 20px;
    margin-bottom: 0;
    padding: 30px;
    text-align: center;
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-header-navigation .advgb-back-to-login-link {
    display: inline-block;
    cursor: pointer;
    color: #2196f3;
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-header-navigation.advgb-back-to-login {
    text-align: left;
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-header-navigation .advgb-back-to-login-link:before {
    content: "\f341";
    font-family: dashicons;
    float: left;
    margin-right: 5px;
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-header-navigation .advgb-back-to-login-link > * {
    display: inline-block;
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-form-inner .advgb-lores-field.advgb-lores-submit-wrapper .advgb-lores-submit-button {
    background: none;
    border: 1px solid transparent;
    box-shadow: none;
    outline: none;
    background-color: #2196f3;
    color: #fff;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.advgb-lores-form.sending:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    background-color: rgba(255, 255, 255, 0.8);
}

.advgb-lores-form-wrapper .advgb-lores-form .advgb-form-sending {
    top: 49%;
    left: 49%;
    z-index: 9;
}

/*Search bar block*/
.advgb-search-bar-wrapper {
    display: block;
    width: 100%;
}

.advgb-search-bar-wrapper .advgb-search-bar-inner {
    display: flex;
    flex-wrap: nowrap;
    margin: auto;
}

.advgb-search-bar-wrapper .advgb-search-bar-inner > *:first-child {
    margin-right: 10px;
}

.advgb-search-bar-wrapper .advgb-search-bar-inner .advgb-search-bar {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    margin-right: 10px;
    padding: 3px;
    border: none;
    border-bottom: 1px solid #ccc;
}

.advgb-search-bar-wrapper.is-style-classic .advgb-search-bar-inner .advgb-search-bar {
    border: 1px solid #ccc;
}

.advgb-search-bar-wrapper .advgb-search-bar-inner .advgb-search-bar .advgb-search-bar-icon {
    width: 30px;
    text-align: center;
}

.advgb-search-bar-wrapper .advgb-search-bar-inner .advgb-search-bar .advgb-search-bar-icon svg {
    vertical-align: middle;
}

.advgb-search-bar-wrapper .advgb-search-bar-inner .advgb-search-bar input.advgb-search-bar-input {
    border: none;
    outline: none;
    box-shadow: none;
    width: 100%;
    padding: 0 5px;
    margin: 0;
    background-color: transparent;
    color: inherit;
}

.advgb-search-bar-wrapper .advgb-search-bar-inner .advgb-search-button-wrapper .advgb-search-bar-button {
    vertical-align: middle;
    padding: 5px 15px;
    background-color: #2196f3;
    color: #fff;
    height: 100%;
    cursor: pointer;
    display: inline-block;
    border: 1px solid transparent;
}

/*Columns Manager block*/
.advgb-columns-select-wrapper {
    padding: 20px;
}

.advgb-columns-select-title {
    text-align: center;
    margin-bottom: 10px;
    font-family: BlinkMacSystemFont,-apple-system,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 20px;
}

.advgb-columns-select-layout,
.advgb-columns-responsive-items {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.advgb-columns-responsive-items .advgb-columns-responsive-item {
    flex-grow: 1;
    flex-basis: 33.3%;
    padding: 5px;
    text-align: center;
    text-transform: capitalize;
    background-color: #eee;
    cursor: pointer;
}

.advgb-columns-responsive-items .advgb-columns-responsive-item.is-selected {
    background-color: #2196f3;
    color: #fff;
}

.advgb-columns-select-layout .advgb-columns-layout {
    margin: 5px;
    flex-basis: 100px;
    text-align: center;
    cursor: pointer;
    line-height: 1;
    opacity: 0.3;
}

.advgb-columns-select-layout.on-inspector .advgb-columns-layout {
    flex-basis: calc(33.3% - 10px);
}

.advgb-columns-select-layout .advgb-columns-layout:hover,
.advgb-columns-select-layout .advgb-columns-layout.is-selected {
    opacity: 1;
}

.advgb-controls-title {
    font-size: 13px;
    margin: 5px 0;
}

.advgb-unit-wrapper {
    float: right;
    margin: 0;
    padding: 0;
    font-size: 13px;
}
.advgb-unit-2 {
    float: none;
    text-align: right;
    margin-bottom: -23px;
}

.advgb-unit-wrapper .advgb-unit {
    display: inline-block;
    margin: 0 2px;
    opacity: 0.7;
    cursor: pointer;
}

.advgb-unit-wrapper .advgb-unit.selected {
    font-weight: bold;
    opacity: 1;
}

.advgb-unit-wrapper .advgb-unit:hover {
    text-decoration: underline;
}

.wp-block-advgb-columns.advgb-columns-wrapper {
    max-width: unset;
    width: 100%;
}

.advgb-columns-wrapper .advgb-columns {
    margin: 0 auto;
}

body.block-editor-page .advgb-columns-wrapper .advgb-columns .wp-block {
    max-width: 100%;
}

.advgb-columns-wrapper .advgb-columns.columns-valign-middle {
    align-items: center;
}

.advgb-columns-wrapper .advgb-columns.columns-valign-bottom {
    align-items: flex-end;
}

.advgb-column {
    z-index: unset;
}

/*Backend columns*/
.advgb-columns>.block-editor-inner-blocks>.block-editor-block-list__layout {
    display: flex;
    flex-wrap: wrap;
}

.advgb-columns.columns-wrapped > .editor-inner-blocks > .editor-block-list__layout,
.advgb-columns.columns-wrapped {
    flex-wrap: wrap;
}

.advgb-columns > .editor-inner-blocks > .editor-block-list__layout > .wp-block {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.advgb-columns.columns-valign-full > .editor-inner-blocks > .editor-block-list__layout > .wp-block > .editor-block-list__block-edit > div[data-block] {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    padding-top: 5px;
    padding-bottom: 5px;
}

.advgb-columns.columns-valign-full > .editor-inner-blocks > .editor-block-list__layout > .wp-block > .editor-block-list__block-edit {
    height: 100%;
}

.advgb-columns.columns-valign-full .advgb-column-inner {
    height: 100%;
}

.advgb-columns.columns-valign-middle > .editor-inner-blocks > .editor-block-list__layout {
    align-items: center;
}

.advgb-columns.columns-valign-bottom > .editor-inner-blocks > .editor-block-list__layout {
    align-items: flex-end;
}

.advgb-columns > .editor-inner-blocks > .editor-block-list__layout > .wp-block:last-child,
.advgb-columns > .advgb-column:last-child {
    margin-right: 0 !important;
    margin-bottom: 0 !important;
}

.advgb-columns.gutter-10 > .editor-inner-blocks > .editor-block-list__layout > .wp-block,
.advgb-columns.gutter-10 > .advgb-column {
    margin-right: 10px;
}

.advgb-columns.gutter-20 > .editor-inner-blocks > .editor-block-list__layout > .wp-block,
.advgb-columns.gutter-20 > .advgb-column {
    margin-right: 20px;
}

.advgb-columns.gutter-30 > .editor-inner-blocks > .editor-block-list__layout > .wp-block,
.advgb-columns.gutter-30 > .advgb-column {
    margin-right: 30px;
}

.advgb-columns.gutter-40 > .editor-inner-blocks > .editor-block-list__layout > .wp-block,
.advgb-columns.gutter-40 > .advgb-column {
    margin-right: 40px;
}

.advgb-columns.gutter-50 > .editor-inner-blocks > .editor-block-list__layout > .wp-block,
.advgb-columns.gutter-50 > .advgb-column {
    margin-right: 50px;
}

.advgb-columns.gutter-70 > .editor-inner-blocks > .editor-block-list__layout > .wp-block,
.advgb-columns.gutter-70 > .advgb-column {
    margin-right: 70px;
}

.advgb-columns.gutter-90 > .editor-inner-blocks > .editor-block-list__layout > .wp-block,
.advgb-columns.gutter-90 > .advgb-column {
    margin-right: 90px;
}

.advgb-columns.advgb-columns-1 > .editor-inner-blocks > .editor-block-list__layout > .wp-block {
    flex-grow: 0;
    flex-shrink: 0;
    margin-left: 0;
    flex-basis: 100%;
    max-width: 100%;
}

/*2 Columns*/
.advgb-columns.layout-12-12 > .editor-inner-blocks > .editor-block-list__layout > .wp-block {
    flex-basis: 50%;
    width: 50%;
}

.advgb-columns.layout-23-13 > .editor-inner-blocks > .editor-block-list__layout > .wp-block:first-child,
.advgb-columns.layout-13-23 > .editor-inner-blocks > .editor-block-list__layout > .wp-block:last-child {
    flex-basis: 66.6%;
    width: 66.6%;
}

.advgb-columns.layout-23-13 > .editor-inner-blocks > .editor-block-list__layout > .wp-block:last-child,
.advgb-columns.layout-13-23 > .editor-inner-blocks > .editor-block-list__layout > .wp-block:first-child {
    flex-basis: 33.3%;
    width: 33.3%;
}

.advgb-columns.layout-34-14 > .editor-inner-blocks > .editor-block-list__layout > .wp-block:first-child,
.advgb-columns.layout-14-34 > .editor-inner-blocks > .editor-block-list__layout > .wp-block:last-child {
    flex-basis: 75%;
    width: 75%;
}

.advgb-columns.layout-34-14 > .editor-inner-blocks > .editor-block-list__layout > .wp-block:last-child,
.advgb-columns.layout-14-34 > .editor-inner-blocks > .editor-block-list__layout > .wp-block:first-child {
    flex-basis: 25%;
    width: 25%;
}

.advgb-columns.layout-45-15 > .editor-inner-blocks > .editor-block-list__layout > .wp-block:first-child,
.advgb-columns.layout-15-45 > .editor-inner-blocks > .editor-block-list__layout > .wp-block:last-child {
    flex-basis: 80%;
    width: 80%;
}

.advgb-columns.layout-45-15 > .editor-inner-blocks > .editor-block-list__layout > .wp-block:last-child,
.advgb-columns.layout-15-45 > .editor-inner-blocks > .editor-block-list__layout > .wp-block:first-child {
    flex-basis: 20%;
    width: 20%;
}

/*3 Columns*/
.advgb-columns.layout-13-13-13 > .editor-inner-blocks > .editor-block-list__layout > .wp-block {
    flex-basis: 33.33%;
    width: 33.33%;
}

.advgb-columns.layout-12-14-14 > .editor-inner-blocks > .editor-block-list__layout > .wp-block:first-child,
.advgb-columns.layout-14-14-12 > .editor-inner-blocks > .editor-block-list__layout > .wp-block:last-child,
.advgb-columns.layout-14-12-14 > .editor-inner-blocks > .editor-block-list__layout > .wp-block:nth-child(2) {
    flex-basis: 50%;
    width: 50%;
}

.advgb-columns.layout-12-14-14 > .editor-inner-blocks > .editor-block-list__layout > .wp-block:not(:first-child),
.advgb-columns.layout-14-14-12 > .editor-inner-blocks > .editor-block-list__layout > .wp-block:not(:last-child),
.advgb-columns.layout-14-12-14 > .editor-inner-blocks > .editor-block-list__layout > .wp-block:not(:nth-child(2)) {
    flex-basis: 25%;
    width: 25%;
}

.advgb-columns.layout-35-15-15 > .editor-inner-blocks > .editor-block-list__layout > .wp-block:first-child,
.advgb-columns.layout-15-15-35 > .editor-inner-blocks > .editor-block-list__layout > .wp-block:last-child,
.advgb-columns.layout-15-35-15 > .editor-inner-blocks > .editor-block-list__layout > .wp-block:nth-child(2) {
    flex-basis: 60%;
    width: 60%;
}

.advgb-columns.layout-35-15-15 > .editor-inner-blocks > .editor-block-list__layout > .wp-block:not(:first-child),
.advgb-columns.layout-15-15-35 > .editor-inner-blocks > .editor-block-list__layout > .wp-block:not(:last-child),
.advgb-columns.layout-15-35-15 > .editor-inner-blocks > .editor-block-list__layout > .wp-block:not(:nth-child(2)) {
    flex-basis: 20%;
    width: 20%;
}

.advgb-columns.layout-16-46-16 > .editor-inner-blocks > .editor-block-list__layout > .wp-block:nth-child(2) {
    flex-basis: 66.66%;
    width: 66.66%;
}

/*4 Columns*/
.advgb-columns.layout-14-14-14-14 > .editor-inner-blocks > .editor-block-list__layout > .wp-block {
    flex-basis: 25%;
    width: 25%;
}

.advgb-columns.layout-36-16-16-16 > .editor-inner-blocks > .editor-block-list__layout > .wp-block:first-child,
.advgb-columns.layout-16-16-16-36 > .editor-inner-blocks > .editor-block-list__layout > .wp-block:last-child {
    flex-basis: 50%;
    width: 50%;
}

.advgb-columns.layout-36-16-16-16 > .editor-inner-blocks > .editor-block-list__layout > .wp-block:not(:first-child),
.advgb-columns.layout-16-16-16-36 > .editor-inner-blocks > .editor-block-list__layout > .wp-block:not(:last-child),
.advgb-columns.layout-16-46-16 > .editor-inner-blocks > .editor-block-list__layout > .wp-block:not(:nth-child(2)) {
    flex-basis: 16.66%;
    width: 16.66%;
}

.advgb-columns.layout-25-15-15-15 > .editor-inner-blocks > .editor-block-list__layout > .wp-block:first-child,
.advgb-columns.layout-15-15-15-25 > .editor-inner-blocks > .editor-block-list__layout > .wp-block:last-child {
    flex-basis: 40%;
    width: 40%;
}

.advgb-columns.layout-25-15-15-15 > .editor-inner-blocks > .editor-block-list__layout > .wp-block:not(:first-child),
.advgb-columns.layout-15-15-15-25 > .editor-inner-blocks > .editor-block-list__layout > .wp-block:not(:last-child) {
    flex-basis: 20%;
    width: 20%;
}

/*5 and 6 Columns*/
.advgb-columns.layout-five > .editor-inner-blocks > .editor-block-list__layout > .wp-block {
    flex-basis: 20%;
    width: 20%;
}

.advgb-columns.layout-six > .editor-inner-blocks > .editor-block-list__layout > .wp-block {
    flex-basis: 16.66%;
    width: 16.66%;
}

.advgb-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="advgb/column"]>.block-editor-block-list__block-edit>[data-block] {
    margin-top: 0;
    margin-bottom: 0;
}

/* Advanced Icons */
.advgb-icon-wrap {
    display: inline-block;
}

/*****************************/
/* COVER BLOCK */
/*****************************/
.wp-block-cover, .wp-block-cover-image {
    overflow: visible;
}

/* backend styles */
.advgb-columns .block-editor-block-list__layout>.block-editor-block-list__block>.block-editor-block-list__block-edit {
    margin-top: 0;
    margin-bottom: 0;
}

#editor .advgb-columns {
    margin-bottom: 28px;
}

#editor .advgb-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="advgb/column"]>.editor-block-list__block-edit>div>.wp-block-advgb-column>.advgb-column-inner>.editor-inner-blocks {
    margin-top: -12px;
    margin-bottom: -12px;
}
#editor .advgb-columns .editor-block-list__layout {
    margin-left: 0;
    margin-right: 0;
}
#editor .advgb-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="advgb/column"]>.editor-block-list__block-edit:before {
    left: 0;
    right: 0;
}
.editor-styles-wrapper [data-block] {
    margin-top: 40px;
    margin-bottom:40px;
}
#editor .advgb-columns .block-editor-block-list__block .block-list-appender {
    margin: 0;
}

.block-editor-block-list__layout .block-editor-block-list__block[data-type="advgb/columns"].is-selected>.block-editor-block-list__block-edit>[data-block]>div>div>.block-editor-inner-blocks,
.block-editor-block-list__layout .block-editor-block-list__block[data-type="advgb/columns"] > .block-editor-block-list__block-edit > [data-block] > div > div > .block-editor-inner-blocks,
.block-editor-block-list__layout .block-editor-block-list__block[data-type="advgb/column"] > .block-editor-block-list__block-edit > [data-block] > div > div > .block-editor-inner-blocks {
    padding: 0px;
}
.editor-block-list__layout .editor-block-list__block[data-type="advgb/columns"].is-selected > .editor-block-list__block-edit > [data-block] > div > div > .editor-inner-blocks,
.editor-block-list__layout .editor-block-list__block[data-type="advgb/columns"] > .editor-block-list__block-edit > [data-block] > div > div > .editor-inner-blocks,
.editor-block-list__layout .editor-block-list__block[data-type="advgb/column"] > .editor-block-list__block-edit > [data-block] > div > div > .editor-inner-blocks {
    padding: 6px;
}

.advgb-icon-items-wrapper .advgb-icon-item .active {
    background-color: #ddd;
}

/* Icon List Lightbox */
.advgb-icon-popup {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    background-color: rgba(0,0,0, 0.5);
    z-index: 160000;
}
.advgb-icon-popup .popup-inner {
    position: absolute;
    left: 50%;
    top: 50%;
    margin: auto;
    background: #fff;
    transform: translate(-50%,-50%);
    max-width: 650px;
    width: 100%;
}
.advgb-icon-popup .popup-inner .popup-body {
    padding: 20px;
}
.advgb-icon-popup .popup-inner .popup-header {
    padding: 20px 20px 0;
}
.advgb-icon-popup .popup-inner .popup-header h3 {
    margin: 0;
    font-size: 24px;
}
.advgb-icon-popup .popup-inner .popup-header .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    height: 24px;
    background: transparent;
    border: none;
    width: auto;
    padding: 0;
    cursor: pointer;
}
.advgb-icon-popup .popup-inner .popup-footer {
    padding: 0 20px 20px;
    line-height: initial;
    text-align: right;
}
.advgb-icon-popup .advgb-icon-items-wrapper {
    padding-top: 10px;
}
.advgb-icon-popup .advgb-icon-items-wrapper .advgb-icon-item {
    min-width: 20%;
}
.advgb-icon-style-select {
    text-align: center;
}
.advgb-icon-style-select .components-base-control__field label{
    margin: 0 15px;
}
.advgb-icon-style-select .components-base-control__field select{
    max-width: 150px;
    width: 100%;
}
#editor .advgb-icon-items-wrapper {
    border: 1px solid #7e8993;
    border-radius: 4px;
}
.edit-post-visual-editor .advgb-icon-wrapper .button,
.edit-post-visual-editor .advgb-infobox-wrapper .button,
.edit-post-visual-editor .advgb-video-block .button {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: #0071a1;
    border-color: #0071a1;
    background: #f3f5f6;
    font-size: 13px;
    vertical-align: top;
    border-width: 1px;
    border-style: solid;
}
.edit-post-visual-editor .advgb-icon-wrapper .button:hover,
.edit-post-visual-editor .advgb-infobox-wrapper .button:hover,
.edit-post-visual-editor .advgb-video-block .button:hover,
.edit-post-visual-editor .advgb-icon-wrapper .button:focus,
.edit-post-visual-editor .advgb-infobox-wrapper .button:focus,
.edit-post-visual-editor .advgb-video-block .button:focus {
    background: #f1f1f1;
    border-color: #016087;
    color: #016087;
}
.edit-post-visual-editor .advgb-icon-wrapper .button.is-primary,
.edit-post-visual-editor .advgb-infobox-wrapper .button.is-primary,
.edit-post-visual-editor .advgb-video-block .button.is-primary {
    background: #007cba;
    border-color: #007cba;
    color: #fff;
}
.edit-post-visual-editor .advgb-icon-wrapper .button.is-primary:hover,
.edit-post-visual-editor .advgb-infobox-wrapper .button.is-primary:hover,
.edit-post-visual-editor .advgb-video-block .button.is-primary:hover,
.edit-post-visual-editor .advgb-icon-wrapper .button.is-primary:focus,
.edit-post-visual-editor .advgb-infobox-wrapper .button.is-primary:focus,
.edit-post-visual-editor .advgb-video-block .button.is-primary:focus {
    background: #0070a7;
    border-color: #0070a7;
    color: #fff;
}
/*Info box */
.advgb-infobox-icon-container {
    display: inline-block;
}

.edit-post-visual-editor .advgb-icon-wrapper i,
.edit-post-visual-editor .advgb-infobox-wrapper i,
.advgb-icon-popup i {
    font-style: unset;
}

.advgb-icon-popup i {
    width: 24px;
}

.components-base-control.advgb-control-header {
    font-weight: bold;
    margin: 0 0 10px -5px;
    background-color: #f5f5f5;
    padding: 6px 10px;
}

.components-base-control.advgb-control-header * {
    margin: 0;
}

.components-range-control.advgb-padding-margin-control .components-base-control__field {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.components-range-control.advgb-padding-margin-control .components-base-control__label {
    width: 30px;
    margin: 0;
}

/*Responsive for Columns*/
@media screen and (min-width: 1088px) {
    .advgb-column.advgb-is-default-desktop {
        flex: 1;
        width: auto;
    }
}

@media screen and (min-width: 769px) and (max-width: 1087px) {
    .advgb-column.advgb-is-default-tablet {
        flex: 1;
        width: auto;
    }

    .advgb-columns.tbl-layout-1-12-12,
    .advgb-columns.tbl-layout-12-12-1,
    .advgb-columns.tbl-layout-12x4,
    .advgb-columns.tbl-layout-12x6,
    .advgb-columns.tbl-layout-13x6,
    .advgb-columns.tbl-layout-stacked {
        flex-wrap: wrap;
    }

    .advgb-columns.tbl-layout-stacked .advgb-column {
        width: 100% !important;
    }
}

@media screen and (max-width: 768px) {
    .advgb-column.advgb-is-default-mobile {
        flex: 1;
        width: auto;
    }

    .advgb-columns.mbl-layout-1-12-12,
    .advgb-columns.mbl-layout-12-12-1,
    .advgb-columns.mbl-layout-12x4,
    .advgb-columns.mbl-layout-12x6,
    .advgb-columns.mbl-layout-13x6,
    .advgb-columns.mbl-layout-stacked {
        flex-wrap: wrap;
    }

    .advgb-columns.mbl-layout-stacked .advgb-column {
        width: 100% !important;
    }
}

/*------------------------------*/
/*--- RESPONSIVE STYLES HERE ---*/
/*------------------------------*/
@media screen and (max-width: 599px) {
    .advgb-count-up {
        flex-direction: column;
    }

    .advgb-testimonial:not(.slider-view) {
        flex-direction: column;
    }
}

/* Tablet */
@media screen and (max-width: 1023px) {
    .advgb-columns.tbl-layout-stacked > .editor-inner-blocks > .editor-block-list__layout > .wp-block,
    .advgb-columns.mbl-layout-stacked > .editor-inner-blocks > .editor-block-list__layout > .wp-block,
    .advgb-columns.mbl-layout-stacked > .advgb-column {
        margin-right: 0 !important;
    }

    .advgb-columns.tbl-layout-stacked.vgutter-10 > .editor-inner-blocks > .editor-block-list__layout > .wp-block,
    .advgb-columns.tbl-layout-stacked.vgutter-10 > .advgb-column {
        margin-bottom: 10px;
    }

    .advgb-columns.tbl-layout-stacked.vgutter-20 > .editor-inner-blocks > .editor-block-list__layout > .wp-block,
    .advgb-columns.tbl-layout-stacked.vgutter-20 > .advgb-column {
        margin-bottom: 20px;
    }

    .advgb-columns.tbl-layout-stacked.vgutter-30 > .editor-inner-blocks > .editor-block-list__layout > .wp-block,
    .advgb-columns.tbl-layout-stacked.vgutter-30 > .advgb-column {
        margin-bottom: 30px;
    }

    .advgb-columns.tbl-layout-stacked.vgutter-40 > .editor-inner-blocks > .editor-block-list__layout > .wp-block,
    .advgb-columns.tbl-layout-stacked.vgutter-40 > .advgb-column {
        margin-bottom: 40px;
    }

    .advgb-columns.tbl-layout-stacked.vgutter-50 > .editor-inner-blocks > .editor-block-list__layout > .wp-block,
    .advgb-columns.tbl-layout-stacked.vgutter-50 > .advgb-column {
        margin-bottom: 50px;
    }

    .advgb-columns.tbl-layout-stacked.vgutter-70 > .editor-inner-blocks > .editor-block-list__layout > .wp-block,
    .advgb-columns.tbl-layout-stacked.vgutter-70 > .advgb-column {
        margin-bottom: 70px;
    }

    .advgb-columns.tbl-layout-stacked.vgutter-90 > .editor-inner-blocks > .editor-block-list__layout > .wp-block,
    .advgb-columns.tbl-layout-stacked.vgutter-90 > .advgb-column {
        margin-bottom: 90px;
    }

    .advgb-columns.tbl-layout-stacked > .editor-inner-blocks > .editor-block-list__layout {
        flex-direction: column;
    }

    .advgb-columns.tbl-layout-stacked.order-rtl > .editor-inner-blocks > .editor-block-list__layout {
        flex-direction: column-reverse;
    }

    /* Tabs */
    .advgb-tabs-wrapper.advgb-tab-horz-tablet {
        flex-direction: column;
    }

    .advgb-tabs-wrapper.advgb-tab-horz-tablet ul.advgb-tabs-panel,
    .advgb-tabs-wrapper.advgb-tab-horz-tablet .advgb-tab-body-wrapper {
        max-width: 100%;
        display: block;
    }

    .advgb-tabs-wrapper.advgb-tab-vert-tablet {
        flex-direction: row;
    }

    .advgb-tabs-wrapper.advgb-tab-vert-tablet ul.advgb-tabs-panel {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        min-width: 25%;
        max-width: 25%;
    }

    .advgb-tabs-wrapper.advgb-tab-vert-tablet ul.advgb-tabs-panel span.advgb-tab-remove {
        left: -8px;
        right: unset;
    }

    .advgb-tabs-wrapper.advgb-tab-vert-tablet .advgb-tab-body-wrapper {
        flex-grow: 3;
        max-width: 75%;
    }
}

@media screen and (min-width: 600px) {
    #editor .edit-post-visual-editor .advgb-columns .block-editor-block-list__layout .block-editor-block-list__block {
        padding-left: 0;
        padding-right: 0;
    }
    #editor .edit-post-visual-editor .advgb-columns .editor-block-list__layout .editor-block-list__block {
        padding-left: 43px;
        padding-right: 43px;
    }
    .advgb-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="advgb/column"]:nth-child(2n) {
        margin-left: 32px;
    }
    #editor .edit-post-visual-editor .advgb-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="advgb/column"] {
        margin-left: 14px !important;
        margin-right: 14px !important;
        padding-left: 0;
        padding-right: 0;
    }
    #editor .advgb-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="advgb/column"]:not(:first-child) {
        margin-left: 46px !important;
    }
    #editor .edit-post-visual-editor .advgb-columns .block-editor-block-list__block .block-editor-block-list__block-edit {
        margin-left: 0;
        margin-right: 0;
    }
    #editor .edit-post-visual-editor .advgb-columns .editor-block-list__block .editor-block-list__block-edit {
        margin-left: -28px;
        margin-right: -28px;
    }
    .advgb-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="advgb/column"] {
        flex-basis: calc(50% - 16px);
        flex-grow: 0;
        margin-left: 0;
        margin-right: 0;
    }
}

@media screen and (min-width: 782px) {
    .advgb-columns>.block-editor-inner-blocks>.block-editor-block-list__layout {
        flex-wrap: nowrap;
    }
    .advgb-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="advgb/column"]:not(:first-child) {
        margin-left: 32px;
    }
}

/* Mobile */
@media screen and (max-width: 767px) {
    .advgb-columns > .editor-inner-blocks > .editor-block-list__layout {
        flex-wrap: wrap;
    }

    .advgb-columns > .editor-inner-blocks > .editor-block-list__layout > .wp-block {
        flex-basis: 100% !important;
        width: 100% !important;
        margin: 0;
    }

    .advgb-columns.mbl-layout-stacked.vgutter-10 > .editor-inner-blocks > .editor-block-list__layout > .wp-block,
    .advgb-columns.mbl-layout-stacked.vgutter-10 > .advgb-column {
        margin-bottom: 10px;
    }

    .advgb-columns.mbl-layout-stacked.vgutter-20 > .editor-inner-blocks > .editor-block-list__layout > .wp-block,
    .advgb-columns.mbl-layout-stacked.vgutter-20 > .advgb-column {
        margin-bottom: 20px;
    }

    .advgb-columns.mbl-layout-stacked.vgutter-30 > .editor-inner-blocks > .editor-block-list__layout > .wp-block,
    .advgb-columns.mbl-layout-stacked.vgutter-30 > .advgb-column {
        margin-bottom: 30px;
    }

    .advgb-columns.mbl-layout-stacked.vgutter-40 > .editor-inner-blocks > .editor-block-list__layout > .wp-block,
    .advgb-columns.mbl-layout-stacked.vgutter-40 > .advgb-column {
        margin-bottom: 40px;
    }

    .advgb-columns.mbl-layout-stacked.vgutter-50 > .editor-inner-blocks > .editor-block-list__layout > .wp-block,
    .advgb-columns.mbl-layout-stacked.vgutter-50 > .advgb-column {
        margin-bottom: 50px;
    }

    .advgb-columns.mbl-layout-stacked.vgutter-70 > .editor-inner-blocks > .editor-block-list__layout > .wp-block,
    .advgb-columns.mbl-layout-stacked.vgutter-70 > .advgb-column {
        margin-bottom: 70px;
    }

    .advgb-columns.mbl-layout-stacked.vgutter-90 > .editor-inner-blocks > .editor-block-list__layout > .wp-block,
    .advgb-columns.mbl-layout-stacked.vgutter-90 > .advgb-column {
        margin-bottom: 90px;
    }

    .advgb-columns.mbl-layout-stacked > .editor-inner-blocks > .editor-block-list__layout {
        flex-direction: column;
    }

    .advgb-columns.mbl-layout-stacked.order-rtl > .editor-inner-blocks > .editor-block-list__layout {
        flex-direction: column-reverse;
    }

    /* Tabs */
    .advgb-tabs-wrapper.advgb-tab-horz-mobile {
        flex-direction: column;
    }

    .advgb-tabs-wrapper.advgb-tab-horz-mobile ul.advgb-tabs-panel,
    .advgb-tabs-wrapper.advgb-tab-horz-mobile .advgb-tab-body-wrapper {
        max-width: 100%;
        display: block;
    }

    .advgb-tabs-wrapper.advgb-tab-vert-mobile {
        flex-direction: row;
    }

    .advgb-tabs-wrapper.advgb-tab-vert-mobile ul.advgb-tabs-panel {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        min-width: 25%;
        max-width: 25%;
    }

    .advgb-tabs-wrapper.advgb-tab-vert-mobile ul.advgb-tabs-panel span.advgb-tab-remove {
        left: -8px;
        right: unset;
    }

    .advgb-tabs-wrapper.advgb-tab-vert-mobile .advgb-tab-body-wrapper {
        flex-grow: 3;
        max-width: 75%;
    }

    .advgb-tabs-wrapper.advgb-tab-stack-mobile .advgb-tabs-panel {
        display: none !important;
    }

    .advgb-tabs-wrapper.advgb-tab-stack-mobile .advgb-tab-body-header {
        display: block;
    }

    .advgb-tabs-wrapper.advgb-tab-stack-mobile .advgb-tab-body-wrapper {
        max-width: 100%;
    }

    .advgb-tabs-wrapper.advgb-tab-stack-mobile .advgb-tab-body-wrapper .advgb-tab-body-container {
        margin-bottom: 10px;
    }

    .advgb-tabs-wrapper.advgb-tab-stack-mobile .advgb-tab-body-wrapper .advgb-tab-body-container:last-child {
        margin-bottom: 0;
    }
}
.wp-block-advgb-clickable-image .url-inputs-wrapper {padding-bottom:10px;}
.wp-block-advgb-clickable-image .rich-text.editor-rich-text__editable.block-editor-rich-text__editable {
    border: 1px solid #000;
    padding: 5px;
    margin-bottom: 10px;
}
.tab-grid, .tab-expanded {padding:10px; border:1px solid #000;}
.tab-grid.is-active, .tab-expanded.is-active {background: #D6961D}
.expanding-grid {position:relative; width:100%;}
.expanding-grid .links {
    display: block;
    margin: 0 0px !important;
    overflow: hidden;
    padding: 1em 0;
}
.expanding-grid ul {
none !important
}
.expanding-grid .links > li {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    float: left;
    list-style: none;
    margin-bottom: 0px;
    position: relative;
}
.expanding-grid .links.row-count-4 > li {
    width: 25%;
}
.expanding-grid .links.row-count-3 > li {
    width: 33.33%;
}
.expanding-grid .links.row-count-2 > li {
    width: 50%;
}

.expanding-grid .links > li:nth-of-type(4n+1) {
    clear: left;
}
.expanding-grid ul li > a {
    padding: 15px 15px;
    display: inline-block;
}
.expanding-grid ul a {
    text-decoration: none;
}
.expanding-grid .teamInner {
    text-align: center;
}
.staff_img {
    max-height: 375px;
}
.expanding-grid .teamInner img {
    width: 100%;
    min-width: 240px;
}
.expanding-grid .teamInnerContent {
    padding-top: 5px;
    padding-bottom: 10px;
}
.expanding-grid .teamInnerContent h6 {
    font-weight: 700;
    font-size: 18px;
    color: #1A2548;
}
.expanding-grid .teamInnerContent h6 span {
    display: block;
    font-weight: 500;
    font-size: 16px;
    margin-top: 0px;
    line-height: 18px;
}
.expanding-grid .expanding-container {
    clear: both;
    display: none;
    overflow: hidden;
    width: 100%;
}
.expanding-container img {display:none;}
.expanding-container .content-right .name, .expanding-container .content-right .title {display:none;}
.components-form-file-upload {
    display: none;
}
.wp-block-advgb-expandable-grid-item img {max-width:200px; height:auto;}
.wp-block-advgb-anchor-list.advgb-anchor-wrapper {
    display: flex;
    justify-content: center;
	background:#F1F6E2;
	padding-bottom:12px; padding-top:12px;
	margin-bottom:10px;
}
@media screen and (min-width: 992px) {
.wp-block-advgb-anchor-list.advgb-anchor-wrapper {
    width: 100vw;
    float: left;
    margin-left: calc(-50vw + 555px);
}
}
@media screen and (max-width: 991px) {
.wp-block-advgb-anchor-list.advgb-anchor-wrapper {
    width: 100vw;
    float: left;
    margin-left: -15px;
}
}

.wp-block-advgb-anchor-list.advgb-anchor-wrapper .wp-block-button {margin-bottom:0px; margin-top:0px;}
.wp-block-advgb-anchor-list.advgb-anchor-wrapper .wp-block-button a.wp-block-button__link {
    background: #F1F6E2;
    border-right: 2px solid #6BBF4B;
    padding-top: 2px;
    padding-bottom: 2px;
    color: #006B54;
    font-family: 'Museo Sans Cyrl 700';
}.wp-block-advgb-anchor-list.advgb-anchor-wrapper .wp-block-button:last-child a.wp-block-button__link {border-right:none}
.wp-block-group:before {
  content: '';
  display: block;
  height:      300px;
  margin-top: -300px;
  visibility: hidden;
}
@media screen and (min-width: 992px) {
.image-text-cards li { display: flex; vertical-align: top; flex-basis:25%;}
.three .image-text-cards li{ flex-basis:33.33% ;}
.advgb-image-card-wrapper.rows-3 .wp-block-media-text{ flex-basis:calc(33.33% - 20px);}
.advgb-icon-card-wrapper.rows-3 .wp-block-media-text{ flex-basis:33.33%;}
.advgb-image-card-wrapper.rows-2 .wp-block-media-text{ flex-basis:calc(50% - 20px);}
.advgb-icon-card-wrapper.rows-2 .wp-block-media-text{ flex-basis:50%;}
.advgb-image-card-wrapper.rows-4 .wp-block-media-text{ flex-basis:calc(25% - 20px);}
.advgb-icon-card-wrapper.rows-4 .wp-block-media-text{ flex-basis:25%;}
.advgb-image-card-wrapper  .wp-block-media-text {margin-left:20px;}
.wp-block-advgb-clickable-icons.rows-2 .wp-block-advgb-clickable-image {
    flex-basis: 50%;
}
.wp-block-advgb-clickable-icons.rows-3 .wp-block-advgb-clickable-image {
    flex-basis: 33%;
}
.wp-block-advgb-clickable-icons.rows-4 .wp-block-advgb-clickable-image {
    flex-basis: 25%;
}

}

@media screen and (min-width: 768px) and (max-width: 991px) {
.image-text-cards li { display: flex; vertical-align: top; flex-basis:50%;}
.three .image-text-cards li{ flex-basis:33.33% ;}
.advgb-image-card-wrapper.rows-3 .wp-block-media-text{ flex-basis:calc(33.33% - 20px);}
.advgb-icon-card-wrapper.rows-3 .wp-block-media-text{ flex-basis:33.33%;}
.advgb-image-card-wrapper.rows-2 .wp-block-media-text{ flex-basis:calc(50% - 20px);}
.advgb-icon-card-wrapper.rows-2 .wp-block-media-text{ flex-basis:50%;}
.advgb-image-card-wrapper.rows-4 .wp-block-media-text{ flex-basis:calc(50% - 20px);}
.advgb-icon-card-wrapper.rows-4 .wp-block-media-text{ flex-basis:50%;}
.advgb-image-card-wrapper  .wp-block-media-text {margin-left:20px;}
}
@media screen and (max-width: 767px) {
.image-text-cards li { display: flex; vertical-align: top; flex-basis:100%;}
.three .image-text-cards li{ flex-basis:100% ;}
.advgb-image-card-wrapper.rows-3 .wp-block-media-text{ flex-basis:calc(100% - 20px);}
.advgb-icon-card-wrapper.rows-3 .wp-block-media-text{ flex-basis:100%;}
.advgb-image-card-wrapper.rows-2 .wp-block-media-text{ flex-basis:calc(100% - 20px);}
.advgb-icon-card-wrapper.rows-2 .wp-block-media-text{ flex-basis:100%;}
.advgb-image-card-wrapper.rows-4 .wp-block-media-text{ flex-basis:calc(100% - 20px);}
.advgb-icon-card-wrapper.rows-4 .wp-block-media-text{ flex-basis:100%;}
.advgb-image-card-wrapper  .wp-block-media-text {margin-left:0px; margin-bottom:20px}
}


.wp-block-advgb-icon-card .wp-block-media-text, .advgb-clickable-icons-wrapper .wp-block-advgb-clickable-image.get_col_wrp {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
   /* justify-content: center;*/
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-right: #F9A21A 2px dashed;
    padding: 30px 0px;
}
.advgb-image-card-wrapper, .advgb-icon-card-wrapper, .advgb-clickable-icons-wrapper {
    display: flex;
    /*flex-wrap: wrap;*/
	margin-top:50px; 
	margin-bottom:50px;}


@media screen and (max-width: 767px) {
.wp-block-advgb-icon-card .wp-block-media-text, .advgb-clickable-icons-wrapper .wp-block-advgb-clickable-image.get_col_wrp {
    border-bottom: #F9A21A 2px dashed;
	border-right: none;
}
.advgb-image-card-wrapper, .advgb-icon-card-wrapper, .advgb-clickable-icons-wrapper {
	margin-top:10px; 
	margin-bottom:10px;}
}
.wp-block-advgb-icon-card figure, .advgb-clickable-icons-wrapper figure {
    display: table;
    margin-bottom: 25px;
    border: 4px solid #F9A21A;
    border-radius: 100%;
    padding: 10px;
    width: 90px;
    height: 90px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: #fff;
}
.advgb-clickable-icons-wrapper figure { margin:auto;}

.wp-block-advgb-icon-card .wp-block-media-text:hover, .advgb-clickable-icons-wrapper .wp-block-advgb-clickable-image.get_col_wrp:hover { background:#6BBF4B;}
.wp-block-advgb-icon-card .wp-block-media-text__content {text-align:center;}
.green-bg{ background: #F1F6E2; }
.cream-bg{ background: #F6F1EB; }
.advgb-icons-wrapper .wp-block-media-text .block-library-media-text__media-container img {width:auto; max-width:100%;}
.wp-block-advgb-clickable-icons.advgb-clickable-icons-wrapper.row {margin-left:0px; margin-right:0px;}
.advgb-clickable-icons-wrapper .img_caption {
    margin-top: 10px;
    text-align: left;
    font-weight: normal;
    line-height: normal;
    margin-bottom: 15px;
	text-align:center;
	color: #000000;
	padding-left:5px; 
	padding-right:5px;
}
.advgb-clickable-icons-wrapper .img_caption:hover {color: #000;}
.block-editor-block-list__layout .block-editor-block-list__block {display:grid;}
.tab-upper {  position: absolute; font-family: 'mfg'; color: #3A2E8D; bottom: 0px; left:0px;
    cursor: pointer;
 }
.tab-lower {  position: absolute; right: 0px;  font-family: 'mfg'; color: #3A2E8D; bottom:0px; 
    cursor: pointer;
 }
