/**
 * All of the CSS for your public-facing functionality should be included in this file.
 *
 * The file is enqueued from inc/frontend/class-frontend.php.
 */

.wptb-table-container {
    /*max-width: 850px;*/
    overflow: auto;
    position: relative;
    width: 100%;
    /*min-width: 100%;*/
    margin: 30px auto;
}

.wptb-table-container-matrix {
    margin: auto;
}

.wptb-frontend-table-edit-link {
    clear: both;
}

.wptb-table-container table {
    table-layout: fixed;
    font-size: 15px;
    width: auto;
    display: table;
    border-collapse: collapse;
    /*min-width: 850px;*/
}

.wptb-table-container-matrix table {
    margin: auto;
}

.wptb-table-container-matrix.wptb-matrix-hide {
    visibility: visible;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
}

table.wptb-preview-table-mobile {
    width: 100%;
}

.wptb-preview-table-mobile.wptb-mobile-hide {
    display: none;
}

table.wptb-preview-table {
    opacity: 0;
    animation: show 0.3s 1;
    animation-fill-mode: forwards;
    animation-delay: 0.7s;
}

@keyframes show {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.wptb-preview-table tr:nth-of-type(2n+1) {
    background-color: #eeeeee;
}

.wptb-table-container table.wptb-preview-table-mobile tr:nth-of-type(2n+1),
.wptb-table-container table.wptb-preview-table-mobile tr:nth-of-type(2n+1) {
    background-color: inherit;
}

.wptb-table-container table.wptb-preview-table-mobile tr td:nth-of-type(2n+1),
.wptb-table-container table.wptb-preview-table-mobile tr td:nth-of-type(2n+1) {
    background-color: #eeeeee;
}

.wptb-table-container table td {
    /*width: 100px;*/
    box-sizing: content-box;
    padding: 10px;
    background-color: inherit;
    vertical-align: middle;
}

.wptb-table-container-matrix.wptb-matrix-hide .wptb-preview-table td {
    width: auto !important;
}

.wptb-table-container table td p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin: 0 !important;
    word-wrap: break-word;
    word-break: break-word;
}

.wptb-table-container table tr td ul {
    margin: 0px !important;
    padding: 0px !important;
}

.wptb-table-container table tr td ul li p {
    font-size: 15px;
}

.wptb-row td:empty::before {
    content: " ";
    display: block;
    min-height: 19px;
    box-sizing: border-box;
    border: none;
}

.wptb-ph-element {
    position: relative;
    border: 1px solid #fff0;
}

.wptb-elem-placeholder {
    display: none;
}

.wptb-image-wrapper::after {
    content: "";
    display: block;
    height: 0;
    width: 100%;
    clear: both;
}

.wptb-image-wrapper a {
    display: block !important;
    max-width: 100%;
    position: relative;
    margin: auto;
}


.wptb-cell .wptb-ph-element a {
    box-shadow: none;
}

.wptb-image-wrapper img {
    width: 100%;
    height: auto;
}

.wptb-text-container > div,
.wptb-text-container > div > p {
    font-size: inherit;
    color: inherit;
}

.wptb-button-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wptb-button-container .wptb-button-wrapper a {
    text-decoration: none !important;
}

.wptb-button-wrapper > a {
    max-width: 100%;
}

.wptb-size-s .wptb-button {
    border-radius: .2rem;
    padding: .35rem .6rem;
    max-width: 100%;
}

.wptb-size-s .wptb-button p {
    font-size: .875rem;
    line-height: 1.5;
}

.wptb-size-m .wptb-button {
    border-radius: .3rem;
    padding: .475rem .85rem;
    max-width: 100%;
}

.wptb-size-m .wptb-button p {
    font-size: 1.125rem;
    line-height: 1.5;
}

.wptb-size-l .wptb-button {
    border-radius: .3rem;
    padding: .6rem 1.2rem;
    max-width: 100%;
}

.wptb-size-l .wptb-button p {
    font-size: inherit;
    line-height: 1.5;
}

.wptb-size-xl .wptb-button {
    border-radius: .4rem;
    padding: .8rem 1.35rem;
    max-width: 100%;
}

.wptb-size-xl .wptb-button p {
    font-size: 1.35rem;
    line-height: 1.5;
}

.wptb-table img {
    max-width: 100%;
}

.wptb-button {
    background: #329d3f;
    color: #ffffff;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease-out;
}

.wptb-button .wptb-button-icon {
    margin: 0 5px;
    order: -1;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wptb-button .wptb-button-icon svg {
    fill: currentColor;
    width: 100%;
    height: 100%;
}

.wptb-button-icon[data-wptb-button-icon-src=""] {
    display: none;
}

.wptb-plugin-button-order-right .wptb-button-icon {
    order: 2;
}

.wptb-ph-element .wptb-button p {
    color: inherit;
}

[class*=wptb-element-text-] p {
    color: inherit !important;
    font-size: inherit !important;
}

.wptb-list-container.wptb-ph-element ul li {
    list-style: none;
    margin: 0px 0px 10px;
}

.wptb-list-container.wptb-ph-element ul li:last-child {
    margin-bottom: 0;
}

.wptb-list-container li p {
    word-wrap: break-word;
    line-height: 20px;
}

.wptb-list-container li p::before {
    content: attr(data-list-style-type-index);
    display: inline-block;
    line-height: 20px;
    padding: 0 5px 0 0;
    padding-right: 5px;
    font-size: 15px;
    font-family: verdana, sans-serif;
}

.wptb-list-container li p::before {
    padding-right: 10px;
}

.wptb-list-container li p.wptb-list-style-type-disc::before {
    content: '\25CF';
}

.wptb-list-container li p.wptb-list-style-type-circle::before {
    content: '\25CB';
}

.wptb-list-container li p.wptb-list-style-type-square::before {
    content: '\25A0';
}

.wptb-list-container li p.wptb-list-style-type-none::before {
    content: '';
    padding-right: 0px;
}

/* Star Rating */
.wptb-star_rating-container {
    text-align: center;
}

.wptb-rating-stars-box {
    text-align: center;
    display: inline-block;
    padding: 7px;
}

.wptb-rating-stars-box ul {
    list-style-type: none;
    padding: 0;

    -moz-user-select: none;
    -webkit-user-select: none;
    padding: 0.5em 0.2em 0.2em;
}

.wptb-rating-stars-box ul li {
    display: inline-block;
}

.wptb-rating-stars-box ul > li.wptb-rating-star {
    color: #ccc;
    margin: 0px;
    position: relative;
    width: 20px;
    height: 20px;
}

.wptb-rating-stars-box ul > li.wptb-rating-star span {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0px;
    left: 0px;
    z-index: 10;
}

.wptb-rating-stars-box ul > li.wptb-rating-star span.wptb-rating-star-left-signal-part,
.wptb-rating-stars-box ul > li.wptb-rating-star span.wptb-rating-star-right-signal-part {
    height: 100%;
    width: 50%;
    z-index: 20;
}

.wptb-rating-stars-box ul > li.wptb-rating-star span.wptb-rating-star-left-signal-part {
    left: 0px;
}

.wptb-rating-stars-box ul > li.wptb-rating-star span.wptb-rating-star-left-signal-part span.wptb-rating-star-zero-set {
    left: 0px;
    width: 40%;
    height: 100%;
    top: 0px;
    z-index: 30px;
}

.wptb-rating-stars-box ul > li.wptb-rating-star span.wptb-rating-star-right-signal-part {
    right: 0px;
    left: auto;
}

.wptb-rating-stars-box ul > li.wptb-rating-star span {
    display: block;
}

.wptb-rating-stars-box ul > li.wptb-rating-star span.wptb-filled-rating-star {
    display: none;
}

.wptb-rating-stars-box ul > li.wptb-rating-star span.wptb-half-filled-rating-star {
    display: none;
}

.wptb-rating-stars-box ul > li.wptb-rating-star span.wptb-not-filled-rating-star {
    fill: #ccc;
}

.wptb-rating-stars-box ul > li.wptb-rating-star.wptb-rating-star-selected-half span.wptb-filled-rating-star {
    display: none;
}

.wptb-rating-stars-box ul > li.wptb-rating-star.wptb-rating-star-selected-half span.wptb-not-filled-rating-star {
    display: none;
}

.wptb-rating-stars-box ul > li.wptb-rating-star.wptb-rating-star-selected-half span.wptb-half-filled-rating-star {
    display: block;
}

.wptb-rating-stars-box ul > li.wptb-rating-star.wptb-rating-star-selected-half span.wptb-half-filled-rating-star {
    fill: #FF912C;
}

.wptb-rating-stars-box ul > li.wptb-rating-star.wptb-rating-star-selected-full span.wptb-filled-rating-star {
    display: block;
}

.wptb-rating-stars-box ul > li.wptb-rating-star.wptb-rating-star-selected-full span.wptb-filled-rating-star {
    fill: #FF912C;
}

.wptb-rating-stars-box ul > li.wptb-rating-star.wptb-rating-star-selected-full span.wptb-not-filled-rating-star {
    display: none;
}

.wptb-rating-stars-box ul > li.wptb-rating-star.wptb-rating-star-selected-full span.wptb-half-filled-rating-star {
    display: none;
}

.wptb-number-rating-box {
    text-align: center;
    font-size: 20px;
}

.wptb-number-rating-box > div {
    vertical-align: top;
    display: inline-block;
    color: #888;
    text-align: center;
    height: 25px;
    font-size: 25px;
    line-height: 25px;
}

.wptb-column-title-mobile-container {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 50%;
}

.wptb-column-title-mobile-container.wptb-column-title-mobile-container-clone {
    position: relative;
    width: 50%;
    right: auto;
    left: auto;
    top: auto;
    bottom: auto;
}

.wptb-column-title-mobile-container .wptb-column-title-mobile {
    display: table;
    width: 100%;
    table-layout: fixed;
    height: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.wptb-table-container.wptb-section-small table {
    min-width: auto;
}

.wptb-cell img {
    max-width: 100%;
}

.wptb-cell ul {
    padding: 0;
}

.wptb-table-container.wptb-section-small table tr td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    min-height: 60px;
    overflow: hidden;
}

.wptb-table-container.wptb-section-small table.wptb-table-preview-head td .wptb-column-title-mobile-container {
    display: block;
}

.wptb-table-container table.wptb-table-preview-head td .wptb-column-title-mobile-container .wptb-column-title-mobile::before {
    content: attr(data-wptb-title-column);
    display: table-cell;
    width: 50%;
    vertical-align: middle;
    padding: inherit;
}

.wptb-table-container.wptb-section-small table.wptb-table-preview-head td.wptb-column-title-mobile-not-elements {
    padding: 0px !important;
}


/*.wptb-column-title-mobile-not-elements .wptb-column-title-mobile-container  {
    position: relative;
    width: 50%;
}*/


/*.wptb-column-title-mobile-not-elements .wptb-column-title-mobile-container .wptb-column-title-mobile  {
    display: block;
    min-height: 60px;
}*/


/*.wptb-table-container table.wptb-table-preview-head td.wptb-column-title-mobile-not-elements 
.wptb-column-title-mobile-container .wptb-column-title-mobile::before {
    display: block;
    width: 100%;
    padding: 0px;
}*/

.wptb-table-container table.wptb-table-preview-head td .wptb-column-title-mobile-container.wptb-column-title-mobile-not-elements .wptb-column-title-mobile::before {
    padding-left: 0px;
}

.wptb-table-container.wptb-section-small table.wptb-table-preview-head td .wptb-ph-element {
    display: inline-block;
    width: 50%;
    margin-left: 50%;
    padding-left: inherit;
    box-sizing: border-box;
}

.wptb-table-container.wptb-section-small table td {
    border-width: 0 1px 1px 1px !important;
}

.wptb-table-container.wptb-section-small table tr td:nth-of-type(1) {
    border-top-width: 3px !important;
}

.wptb-table-container.wptb-section-small table tr td:nth-last-of-type(1) {
    border-top-width: 0px !important;
}

.wptb-table-container.wptb-section-small table.wptb-table-preview-head tr:first-child {
    display: none;
}

@media only screen and (max-device-width: 1024px) {
    .wptb-table-container table tr td {
        /*width: 110px;*/
    }
}

@media only screen and (max-width: 600px) {
    .wptb-table-container table {
        min-width: auto;
    }

    .wptb-table-container table.wptb-table-preview-head.wptb-table-preview-static-indic tr td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
        position: relative;
        min-height: 60px;
        overflow: hidden;
    }

    .wptb-table-container table.wptb-table-preview-head.wptb-table-preview-static-indic td.wptb-column-title-mobile-not-elements {
        padding: 0px !important;
    }

    .wptb-table-container table.wptb-table-preview-head.wptb-table-preview-static-indic td .wptb-column-title-mobile-container {
        display: block;
    }

    .wptb-table-container table.wptb-table-preview-head.wptb-table-preview-static-indic td .wptb-ph-element {
        display: inline-block;
        width: 50%;
        margin-left: 50%;
        padding-left: inherit;
    }

    .wptb-table-container table.wptb-table-preview-head.wptb-table-preview-static-indic td {
        border-width: 0 1px 1px 1px !important;
    }

    .wptb-table-container table.wptb-table-preview-head.wptb-table-preview-static-indic tr td:nth-of-type(1) {
        border-top-width: 1px !important;
    }

    .wptb-table-container table.wptb-table-preview-head.wptb-table-preview-static-indic tr:first-child {
        display: none;
    }
}

.wptb-plugin-responsive-base {
    min-width: auto !important;
    width: 100% !important;
}
