/* Style */
p:last-child {
    margin-bottom: 0;
}
.col {
    padding-left: 5px;
    padding-right: 5px;
}
.container .row:not(.row-collapse), .lightbox-content .row:not(.row-collapse), .row .gallery, .row .row:not(.row-collapse) {
    margin-left: -5px;
    margin-right: -5px;
}
.container-width, .full-width .ubermenu-nav, .container, .row {
    max-width: 1224px !important;
}
.section {
    padding-left: 5px !important;
    padding-right: 5px !important;
}
.section-title-container {
    margin-bottom: 0;
}
.section-title {
    border: none;
}
.section-title span {
    text-transform: none;
    border: none;
    margin: 0;
}
.section-title-container.section-title-border .section-title::after {
    content: "";
    width: 200px;
    height: 2px;
    background: var(--primary-color);
    position: absolute;
    left: 0;
    bottom: 0;
}
.section-title-container.section-title-border span {
    padding-bottom: 15px;
}
.section-title-container.section-title-border .section-title.section-title-center::after {
    left: 50%;
    margin-left: -100px;
}
.no-padding-bottom {
    padding-bottom: 0 !important;
}
img.size-full.alignnone:last-child {
    margin-bottom: 0;
}
.box-blog-post .is-divider:last-child {
    display: none;
}

/* Category Title */
.soc-category-title-wrapper {
    display: flex;
    align-items: center;
}
.soc-category-title-wrapper a {
    white-space: nowrap;
    margin-left: 15px;
    color: #333333;
}


/* Categories Tab */
.soc-categories-tab .tabbed-content .nav {
    flex-wrap: nowrap;
    overflow: auto hidden;
}
.soc-categories-tab .tabbed-content .tab {
    margin-bottom: 15px;
    flex: 0 0 auto;
}
.soc-categories-tab .tabbed-content .tab a {
    padding: 8px 12px;
    border: 1px solid #EDF0F7;
    border-radius: 20px;
    font-weight: normal;
    color: inherit;
    font-size: inherit;
}
.soc-categories-tab .tabbed-content .tab a::before {
    display: none;
}
.soc-categories-tab .tabbed-content .tab.active a, .soc-categories-tab .tabbed-content .tab a:hover {
    background: #EDF0F7;
    border-color: #EDF0F7;
}
.soc-categories-tab-item-link {
    text-align: center;
}
.soc-categories-tab-item-link a {
    background: var(--primary-color);
    color: #fff;
    border-radius: 4px;
    padding: 8px 12px;
    border: 1px solid var(--primary-color);
}
.soc-categories-tab-item-link a:hover {
    background: #fff;
    color: var(--primary-color);
}

/* Fields */
.form-field input[type="text"],.form-field input[type="number"],.form-field input[type="email"],.form-field input[type="tel"],.form-field textarea, select {
    border: 1px solid #DDDDE3;
    box-shadow: none;
    border-radius: 4px;
    padding: 7px 15px;
    height: unset;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}
.form-field .button, .form-field button, .form-field fieldset, .form-field input, .form-field select, .form-field textarea {
    margin-bottom: 0;
}
.form-field input[type=submit] {
    margin-right: 0;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 20px;
    line-height: inherit;
}
.form-field .wpcf7-spinner {
    display: none;
}

/* Slider */
.soc-slider {
    flex-wrap: nowrap;
}
.soc-slider:not(.flickity-enabled) {
    overflow: hidden;
}
.soc-slider > .col {
    flex-shrink: 0;
}
.soc-slider > .col > .col-inner, .soc-slider .flickity-slider > .col > .col-inner {
    border: 1px solid #08A256;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
}
.soc-slider .icon-box-img.testimonial-image {
    padding: 0;
    width: 100% !important;
}
.soc-slider .icon-box-img img {
    border-radius: 0 !important;
    padding: 0;
}
.soc-slider .icon-box-text {
    padding: 5px 15px 15px;
}
.soc-slider {
    width: calc(100% - 50px) !important;
    margin: 0 auto;
    align-self: center;
    justify-self: center;
}
.soc-slider .flickity-prev-next-button {
    opacity: 1;
    top: 50%;
    bottom: unset;
    margin-top: -17px;
    transform: translateX(0);
}
.soc-slider .flickity-prev-next-button.previous {
    left: auto;
    right: 100%;
}
.soc-slider .flickity-prev-next-button.next {
    right: auto;
    left: 100%;
}
.flickity-page-dots .dot {
    border: none;
    border-radius: 9.5px;
    width: 24px;
    height: 8px;
    background: #EAEDF0;
    opacity: 1;
}
.flickity-page-dots .dot.is-selected {
    width: 48px;
    background: linear-gradient(to right bottom, #08A256, #1E261B);
}
.soc-slider ol.flickity-page-dots {
    bottom: -20px;
    pointer-events: unset;
}

/* Counter */
.counter-item {
    margin: 0;
    font-weight: 700;
    font-size: 2em;
    color: var(--primary-color);
}

/* Read more */
.soc-read-more {
    position: relative;
    max-height: 400px;
    overflow: hidden;
}
.soc-read-more-button {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0),rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 1) );
    height: 100px;
    z-index: 1;
}
.soc-read-more-button a {
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 100%;
    display: block;
    padding: 0 15px;
}
.soc-read-more-button a b {
    display: none;
}
.soc-read-more-button a::after {
    content: "\f107";
    font-family: FontAweSome;
    margin-left: 5px;
}
.soc-read-more.show-content {
    max-height: none !important;
}
.soc-read-more.show-content .soc-read-more-button {
    position: relative;
    height: 40px;
}
.soc-read-more.show-content .soc-read-more-button a span {
    display: none;
}
.soc-read-more.show-content .soc-read-more-button a b {
    display: unset;
    font-weight: normal;
}
.soc-read-more.show-content .soc-read-more-button a::after {
    content: "\f106";
}
.accordion-item {
    background: #F9F9F9;
    margin-bottom: 10px;
    padding: 12px;
    border-radius: 4px;
}
.accordion-title {
    border: none;
    background: none;
    padding: 0;
    padding-right: 30px;
    font-weight: bold;
}
.accordion-item .accordion-title .toggle {
    right: 0px;
    margin: 0;
    left: unset;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    transform-origin: unset;
    height: 20px;
    width: 20px;
    min-height: unset;
    border: 2px solid currentColor;
    color: inherit;
    opacity: 1;
}
.accordion-item .accordion-title .toggle i {
    line-height: 1;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.accordion-item .accordion-title .toggle i::before {
    content: "";
    width: 8px;
    height: 2px;
    background: currentColor;
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 1px;
}
.accordion-item .accordion-title .toggle i::after {
    content: "";
    width: 2px;
    height: 8px;
    background: currentColor;
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 1px;
}
.accordion-title.active {
    background: none;
}
.accordion-item .accordion-title.active .toggle i::after {
    display: none;
}
.accordion-inner {
    padding: 0;
    margin-top: 10px;
}

@media (min-width: 850px) {
    .col {
        padding-left: 12px;
        padding-right: 12px;
    }
    .section {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    .container .row:not(.row-collapse), .lightbox-content .row:not(.row-collapse), .row .gallery, .row .row:not(.row-collapse) {
        margin-left: -12px;
        margin-right: -12px;
    }
    .accordion-item .accordion-title .toggle {
        border-width: 3px;
        width: 30px;
        height: 30px;
    }
    .accordion-item .accordion-title .toggle i::before {
        height: 3px;
        width: 16px;
    }    
    .accordion-item .accordion-title .toggle i::after {
        width: 3px;
        height: 16px;
    }
}