@font-face {
    font-family: 'wcb';
    src: url('../fonts/wcb.eot');
    src: url('../fonts/wcb.eot?#iefix') format('embedded-opentype'),
         url('../fonts/wcb.woff') format('woff'),
         url('../fonts/wcb.ttf') format('truetype'),
         url('../fonts/wcb.svg#wcb') format('svg');
    font-weight: normal;
    font-style: normal;
}

.dashicons-wcb {
    position: relative;
}
.dashicons-wcb:before {
	display: inline-block;
    font-family: 'wcb';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content:'\0041';
}

.menu-icon-wpcb_configuration .wp-first-item + li {
    display: none;
}

.post-type-wpcb_configuration,
.post-type-wpcb_choice,
.post-type-wpcb_input,
.post-type-wpcb_formula,
.post-type-wpcb_visual {
    background-color: #EDF2F7;
}

.wpcb-admin-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	margin-left: -20px;
	padding: 8px 20px;
}

.wpcb-admin-logo {
    display: flex;
    align-items: center;
	margin-right: 40px;
}
.wpcb-admin-logo img {
    display: block;
	width: 50px;
	height: auto;
}
.wpcb-admin-logo .pro {
    display: inline-block;
    font-weight: bold;
    font-size: 12px;
    line-height: 1;
    vertical-align: middle;
    padding: 7px 5px;
    border-radius: 4px;
    text-transform: uppercase;
    background-color: #F56565;
    color: #fff;
    margin: 0;
	margin-left: 10px;
}

.wpcb-admin-main,
.wpcb-admin-links,
.wpcb-admin-right {
	display: flex;
	align-items: center;
}

.wpcb-admin-links li {
	margin: 0;
	padding: 0;
}
.wpcb-admin-links a {
	font-size: 16px;
    display: flex;
    align-items: center;
	color: #266DC0;
	text-decoration: none;
	padding: 0;
	margin: 0;
	margin-left: 20px;
}
.wpcb-admin-links a svg {
    margin-left: 4px;
    margin-top: -4px;
}
.wpcb-admin-links a.current {
	color: #000;
	text-decoration: underline;
}

.wpcb-admin-right .wpcb-button {
	margin-left: 20px;
}

.wpcb-button {
    appearance: none;
    display: inline-block;
    background-color: #38A169;
    font-weight: 700;
    padding: 12px;
    border: 0;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    text-transform: uppercase;
    cursor: pointer;
}
.wpcb-button:hover,
.wpcb-button:focus {
    background-color: #2a945b;
    color: #fff;
}
.wpcb-button-large {
    padding: 16px 18px;
    font-size: 16px;
}

.wpcb-field.hidden {
    display: none;
}
.wpcb-button-alt.hidden {
    display: none;
}
.wpcb-field--type select {
    width: 100%;
}

.wpcb-button-alt {
    appearance: none;
    display: inline-block;
    background-color: #266DC0;
    font-weight: 700;
    padding: 12px;
    border: 0;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    text-transform: uppercase;
    cursor: pointer;
}
.wpcb-button-alt:hover,
.wpcb-button-alt:focus {
    background-color: #185ba8;
    color: #fff;
}

.wpcb-button-outline {
    appearance: none;
    display: inline-block;
    font-weight: 700;
    padding: 12px;
    border: 0;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    text-transform: uppercase;
    background-color: transparent;
    border: 1px solid #266DC0;
    color: #266DC0;
    cursor: pointer;
}
.wpcb-button-outline:hover,
.wpcb-button-outline:focus {
    background-color: #266DC0;
    color: #fff;
}
.wpcb-button-link {
    appearance: none;
    display: inline-block;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border: 0;
    text-transform: uppercase;
    background-color: transparent;
    color: #266DC0;
    cursor: pointer;
}
.wpcb-button-link:hover,
.wpcb-button-link:focus {
    text-decoration: underline;
}


.wpcb-admin-version {
    margin-left: 10px;
    padding: 11px 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
    color: #000;
    font-size: 14px;
    background-color: #f9f9f9;
}
.wpcb-admin-plan {
    margin-left: 10px;
    text-transform: uppercase;
    padding: 12px 15px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    background-color: #f9f9f9;
    color: #000;
}

#adminmenu a[href="edit.php?post_type=wpcb_configuration&page=welcome"] { 
    display: none;
}
#adminmenu a[href="edit.php?post_type=wpcb_configuration&page=setup"] { 
    display: none;
}

@media (max-width: 767px) {
    .wpcb-admin-header .wpcb-admin-right .wpcb-admin-links {
        display: none;
    }
}

.wpcb-page-welcome {
    padding: 100px;
}
.wpcb-page-container {
    max-width: 1024px;
    margin: 0 auto;
}

.wpcb-page-header {
    max-width: 50%;
}
.wpcb-page-header h1 {
    line-height: 1.2;
}
.wpcb-page-header p {
    font-size: 21px;
}
.wpcb-page-header a {
    font-size: 18px;
}

.wpcb-page-actions {
    margin-top: 120px;
}
.wpcb-page-actions h2 {
    line-height: 1.2;
    font-size: 24px;
}
.wpcb-page-actions h3 {
    line-height: 1.2;
    font-size: 21px;
}
.wpcb-page-actions p {
    font-size: 18px;
}
.wpcb-page-action {
    margin-top: 30px;
    border-radius: 30px;
    display: flex;
    justify-content: space-between;
    padding: 40px;
    background-color: #fff;
    border: 1px solid #e2e4e7;
}
.wpcb-page-action-text {
    flex: 0 0 55%;
    justify-content: space-between;
}
.wpcb-page-action-image {
    flex: 0 0 40%;
}
.wpcb-page-action-image img {
    max-width: 100%;
    height: auto;
}
.wpcb-page-action-text a {
    margin-right: 10px;
}

.wpcb-page-links {
    display: flex;
    justify-content: center;
    margin: 120px 0 0;
}
.wpcb-page-link {
    flex: 0 0 30%;
    text-align: center;
    text-decoration: none;
    padding: 0 20px;
    color: #000;
    outline: 0;
}
.wpcb-page-link:not(:first-child) {
    border-left: 1px solid #c3c4c7;
}
.wpcb-page-link svg {
    display: inline-block;
    width: 36px;
    height: 36px;
    margin: 0 auto;
}
.wpcb-page-link strong {
    display: block;
    font-size: 20px;
    margin-top: 30px;
    color: #266DC0;
}
.wpcb-page-link p {
    font-size: 16px;
}
.wpcb-page-link:hover strong,
.wpcb-page-link:focus strong {
    text-decoration: underline;
}
.wpcb-page-link:hover,
.wpcb-page-link:focus {
    outline: 0;
    box-shadow: unset;
}

@media (max-width: 1200px) {
    .wpcb-page-welcome {
        padding: 50px 40px;
    }
    .wpcb-page-header {
        max-width: 70%;
    }
    .wpcb-page-actions {
        margin-top: 60px;
    }
}
@media (max-width: 767px) {
    .wpcb-page-welcome {
        padding: 10px;
    }
    .wpcb-page-header {
        max-width: 90%;
    }
    .wpcb-page-actions {
        margin-top: 60px;
    }
    .wpcb-page-action {
        margin-top: 15px;
        margin-bottom: 15px;
        padding: 30px 40px;
        display: block;
    }
    .wpcb-page-action img {
        margin-top: 40px;
    }

    .wpcb-page-links {
        display: block;
    }
    .wpcb-page-link {
        display: block;
        width: 60%;
        margin: 0 auto;
    }
    .wpcb-page-link:not(:first-child) {
        border-left: 0;
        border-top: 1px solid #c3c4c7;
        margin-top: 30px;
        padding-top: 30px;
    }
}

.post-type-wpcb_configuration .block-editor-writing-flow {
    background-color: #EDF2F7;
}

div.postbox.carbon-box .cf-container__tabs-list .cf-container__tabs-item button {
    font-size: 14px;
    line-height: 26px;
    padding: 10px 16px;
}

div.postbox.carbon-box .inside label,
div.postbox.carbon-box .inside input,
div.postbox.carbon-box .inside .cf-html__content p,
div.postbox.carbon-box .inside select {
    font-size: 14px;
    line-height: 26px;
}

div.postbox.carbon-box .inside input,
div.postbox.carbon-box .inside select {
    padding: 5px 8px;
}

.cf-custom-script-input textarea {
    font-family: monospace;
}

.cf-container-carbon_fields_container_choice_details .cf-complex__group .cf-media-gallery__item {
    flex: 0 0 25%;
}
@media (min-width: 1024px) and (max-width: 1199px) {
    .cf-container-carbon_fields_container_choice_details .cf-complex__group .cf-media-gallery__item {
        flex: 0 0 50%;
    }
}
@media (min-width: 1200px) and (max-width: 1499px) {
    .cf-container-carbon_fields_container_choice_details .cf-complex__group .cf-media-gallery__item {
        flex: 0 0 33%;
    }
}

div.postbox.carbon-box .cf-container--tabbed-vertical {
	position: relative;
	align-items: flex-start;
}
div.postbox.carbon-box .cf-container__tabs--tabbed-vertical {
	width: 220px;
}
div.postbox.carbon-box .cf-container--tabbed-vertical:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	background-color: #fbfbfc;
	border-right: 1px solid #c3c4c7;
	width: 220px;
}
div.postbox.carbon-box .cf-container__tabs--tabbed-vertical .cf-container__tabs-list .cf-container__tabs-item button {
	padding: 16px 20px;
}

.cf-container .cf-field.cf-complex .cf-complex__group {
    box-shadow: 0 0 3px rgba(0,0,0,0.3);
    border-radius: 5px;
    margin-bottom: 6px;
}
.cf-container .cf-field.cf-complex .cf-complex__group .cf-complex__group {
    margin-bottom: 3px;
}

.cf-container .cf-field.cf-complex .cf-complex {
	background-color: #fff;
}
@media (min-width: 768px) {
    .cf-container-theme-options .cf-radio-image .cf-radio__list-item {
        flex: 0 0 200px;
    }
}

.cf-container .cf-field .button {
    color: #000;
    background-color: #fff;
    padding: 4px 8px;
    border-color: #000;
}
.cf-container .cf-complex.cf-complex-rules .cf-complex__group {
    display: flex;
    margin-bottom: 0 !important;
    box-shadow: unset;
}
.cf-container .cf-complex.cf-complex-rules .cf-complex__group-head {
    flex: 0 0 40px;
}
.cf-container .cf-complex.cf-complex-rules .cf-complex__group-index {
    border-right: 0;
}
.cf-container .cf-complex.cf-complex-rules .cf-complex__group-title {
    display: none;
}
.cf-container .cf-complex.cf-complex-rules .cf-complex__group-body {
    flex: 1;
}
.cf-container .cf-complex.cf-complex-rules .cf-complex__group-actions {
    flex: 0 0 70px;
    top: 0;
    right: 0;
    padding-right: 12px;
    border: 1px solid #e2e4e7;
    background-color: #fbfbfc;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.cf-container .cf-complex.cf-complex-rules .cf-complex__toggler,
.cf-container .cf-complex.cf-complex-rules .cf-complex__group-actions button[title="Collapse"] {
    display: none;
}

.wpcb-page-subtitle h2 {
    font-size: 24px;
    margin-top: 60px;
}
.wpcb-page-metabox {
    background-color: #fff;
    border: 1px solid #e2e4e7;
    border-radius: 20px;
    margin-top: 20px;
}

@media (min-width: 1200px) {
    .wpcb-page-metaboxes {
        display: flex;
        justify-content: space-between;
        gap: 30px;
    }
    .wpcb-page-metabox {
        flex: 0 0 calc(50% - 15px);
    }
}

.wpcb-page-metabox-form {
    padding: 30px;
}
.wpcb-page-metabox-form h3 {
    font-size: 21px;
    border-bottom: 1px solid #e2e4e7;
    padding-bottom: 30px;
    margin-bottom: 30px;
    margin-top: 0;
}

.wpcb-page-metabox-form input,
.wpcb-page-metabox-form select,
.wpcb-page-metabox-form strong,
.wpcb-page-metabox-form label,
.wpcb-page-metabox-form p {
    font-size: 16px;
}

.wpcb-page-metabox .wpcb-field {
    margin-bottom: 30px;
}
.wpcb-page-metabox .wpcb-field-title {
    margin-bottom: 8px;
}

/** SETUP GUIDE **/

.wpcb-page-setup .wpcb-page-header {
    text-align: center;
    padding: 80px 0 40px;
    max-width: 100%;
}
.wpcb-page-setup .wpcb-page-intro {
    margin-top: 40px;
    background-color: #fff;
    padding: 30px;
    border-radius: 20px;
}

.wpcb-page-setup .wpcb-page-container {
    max-width: 820px;
}
.wpcb-page-logo {
    margin: 0 auto;
}
.wpcb-page-form-intro strong {
    font-size: 18px;
    margin-bottom: 6px;
}
.wpcb-page-form-intro p {
    font-size: 16px;
    margin-bottom: 40px;
}
.wpcb-page-form-nav {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #c3c4c7;
    max-width: 100%;
    overflow: hidden;
}
.wpcb-page-form-wrapper {
    margin-bottom: 80px;
}
.wpcb-page-footer {
    margin-top: 40px;
    text-align: center;
}
.wpcb-page-form {
    display: none;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background-color: #fff;
    padding: 30px;
}
.wpcb-page-form.active {
    display: block;
}
.wpcb-page-form-nav strong {
    position: relative;
    appearance: none;
    background-color: transparent;
    outline: 0;
    border-bottom: 1px solid  transparent;
    border: 0;
    display: block;
    color: #000;
    padding: 20px;
}
.wpcb-page-form-nav strong.active {
    color: #266DC0;
    border-bottom: 1px solid  #266DC0;
    z-index: 5;
}

@media (max-width: 767px) {
    .wpcb-page-setup .wpcb-page-header img {
        width: 100px;
        height: 76px;
    }
    .wpcb-page-form-nav strong {
        padding: 20px 15px;
    }
    .wpcb-page-form-nav strong:not(.active) span {
        display: none;
    }
}

.wpcb-page-form-row strong {
    display: block;
    font-size: 20px;
    margin-bottom: 20px;
}

.wpcb-page-form-field {
    margin: 0 -10px 30px;
}
@media (min-width: 768px) {
    .wpcb-page-form-field--input,
    .wpcb-page-form-field--image {
        display: flex;
        justify-content: space-between;
    }
    .wpcb-page-form-field--input {
        flex-wrap: wrap;
    }
    .wpcb-page-form-field--input label,
    .wpcb-page-form-field--image label {
        max-width: calc( 50% - 20px );
    }
}

.wpcb-page-form-field--image .wpcb-page-form-option p {
    margin-top: 15px;
}

.wpcb-page-form-field input {
    position: absolute;
    visibility: hidden;
}
.wpcb-page-form-field .wpcb-page-form-input input {
    position: static;
    visibility: visible;
}

.wpcb-page-form-field label {
    display: block;
    margin: 10px;
    cursor: pointer;
}
.wpcb-page-form-field label:hover .wpcb-page-form-option {
    background-color: #EDF2F7;
}
.wpcb-page-form-field label.pro:hover {
    background-color: transparent;
    cursor: no-drop;
}
.wpcb-page-form-field label input:checked + .wpcb-page-form-option {
    border: 1px solid #266DC0;
    background-color: #EDF2F7;
}

.wpcb-page-form-option {
    position: relative;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #c3c4c7;
}
.wpcb-page-form-option img {
    display: block;
    border-radius: 12px;
    max-width: 100%;
    height: auto;
}
.wpcb-page-form-option p {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    margin-bottom: 8px;
}
.wpcb-page-form-option small {
    margin: 0;
    font-size: 14px;
}
label.pro .wpcb-page-form-option {
    pointer-events: none;
}
label.pro .wpcb-page-form-option img {
    opacity: 0.6;
}
.wpcb-page-form-option span {
    position: absolute;
    top: 40px;
    right: 40px;
    padding: 2px 6px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 6px;
    background-color: #2a945b;
    color: #fff;
}

.wpcb-page-form-actions {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
}

.wpcb-page-form-field:not(.wpcb-page-form-field--image) .wpcb-page-form-option {
    padding-right: 60px;
}

.wpcb-page-form-field:not(.wpcb-page-form-field--image) input[type=checkbox] + .wpcb-page-form-option:before,
.wpcb-page-form-field:not(.wpcb-page-form-field--image) input[type=radio] + .wpcb-page-form-option:before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    border: 1px solid #c3c4c7;
    border-radius: 6px;
}
.wpcb-page-form-field:not(.wpcb-page-form-field--image) input[type=radio] + .wpcb-page-form-option:before {
    border-radius: 12px;
}
.wpcb-page-form-field:not(.wpcb-page-form-field--image) input[type=checkbox]:checked + .wpcb-page-form-option:after,
.wpcb-page-form-field:not(.wpcb-page-form-field--image) input[type=radio]:checked + .wpcb-page-form-option:after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    top: 50%;
    right: 28px;
    transform: translateY(-50%);
    background-color: #266DC0;
    border-radius: 4px;
}


.wpcb-page-form-field--input {
    position: static;
}
.wpcb-page-form-input label {
    margin: 0;
    width: 100%;
    position: static;
}
.wpcb-page-form-input {
    display: block;
    position: static;
    margin: 10px;
}
@media (min-width: 768px) {
    .wpcb-page-form-input {
        width: 47%;
    }
}

.wp-picker-holder {
    position: absolute !important;
}

.wpcb-page-form-input .wp-picker-container {
    display: flex;
    align-items: flex-start;
    width: 100%;
}
.wp-picker-container.wp-picker-active .wp-picker-input-wrap {
    display: flex;
    align-items: flex-start;
    width: 100%;
}
.wp-picker-container.wp-picker-active .wp-picker-holder {
    margin-top: 30px;
}
.wp-picker-container.wp-picker-active input[type=text].wp-color-picker {
    width: 100%;
}
.wpcb-page-form-input select,
.wpcb-page-form-input:not(.wpcb-page-form-input--color) input {
    padding: 6px 12px;
    width: 100%;
    border-radius: 6px;
}
.wpcb-page-form-input label {
    max-width: 100%;
}
.wpcb-page-form-input p {
    display: block;
    font-size: 16px;
    margin: 0;
    margin-bottom: 8px;
}
.wpcb-page-form-input small {
    display: block;
    margin: 0;
    margin-top: 4px;
    font-size: 14px;
}


.wpcb-page-form-link {
    position: relative;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #c3c4c7;
}
.wpcb-page-form-link-text {
    margin-bottom: 20px;
}
.wpcb-page-form-link p {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    margin-bottom: 8px;
}
.wpcb-page-form-link small {
    margin: 0;
    font-size: 14px;
}
@media (min-width: 768px) {
    .wpcb-page-form-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .wpcb-page-form-link-text {
        flex: 0 0 50%;
        margin-bottom: 0;
    }
}