@font-face {
    font-family: 'Caveat';
    src: url('../fonts/Caveat-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Dosis';
    src: url('../fonts/Dosis-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Libre Baskerville';
    src: url('../fonts/LibreBaskerville-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Merriweather';
    src: url('../fonts/Merriweather-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Ubuntu';
    src: url('../fonts/Ubuntu-Regular.ttf') format('truetype');
}

.wpeimgwtm_regenthumbs #message.updated {
	display:none;
}

#wpeimgwtm_regen_thumb_bar{
	position:relative;
	height:25px;
}


#wpeimgwtm_regen_thumb_bar_percent{
	position:absolute;
	left:50%;
	top:50%;
	width:300px;
	margin-left:-150px;
	height:25px;
	margin-top:-9px;
	font-weight:bold;
	text-align:center;
}

.woo-img-wtm-img-view {
    margin: 10px 0px;
    width: 160px;
    height: 160px;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px;
}

.woo-img-wtm-img-view img {
    max-width: 100%;
    max-height: 100%;    
    position: absolute;
}

/* .woo-img-wtm-img-view {
    position: relative;
    margin: 10px 0px;
    width: 160px;
    height: 160px;
    border: 1px solid #ddd;
    overflow: hidden;    
}

.woo-img-wtm-img-view img {
    position: absolute;
    max-width: 100%;
    max-height: 100%;
} */

/* Phase 2 - New Design tab structure */
.wp-watermark-settings .tab-content .tab-content-inner .tab-pane {
    display: none;
}
.wp-watermark-settings .tab-content .tab-content-inner .tab-pane.active {
    display: block;
}



/* ==================== Regenerate Thumbnails Css Start ==================== */

/* @import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap'); */

.wpeimgwtm_regenthumbs .regenerate_progress #wpeimgwtm_regen_thumb_bar {
    border: 1px solid #D3DEE9;
    background: #FFFFFF;
    box-shadow: 0px 0px 4px 0px #00000040 inset;
    padding: 4px;
    margin-bottom: 20px;
}
.wpeimgwtm_regenthumbs .regenerate_progress .ui-progressbar-value {
    background: linear-gradient(90deg, #38B05C 0%, #35CC62 100%);
    border: 0;
    box-shadow: 0px 2px 4px 2px #38B05C33;
}
.wpeimgwtm_regenthumbs .regenerate_progress #wpeimgwtm_regen_thumb_bar_percent {
    margin: 0;
    font-weight: 700;
    font-size: 12px;
    line-height: 15px;
    color: #3F3F3F;
    height: auto;
    width: fit-content;
    transform: translate(-50% , -50%);
}
.wpeimgwtm_regenthumbs .regenerate_progress .button {
    border: 1px solid #2271B1;
    padding: 12px 22px;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
}
.regenerate_progress_info {
    background: #FFFFFF;
    padding: 20px;
    border-radius: 8px;
    max-height: 536px;
    overflow: auto;
}
.regenerate_progress_info h3 {
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    margin: 0 0 14px;
    color: #000;
}
.regenerate_progress_info p {
    margin: 0 0 10px;
    font-weight: 500;
    font-size: 14px;
    line-height: 150%;
    color: #515151;
}
.regenerate_progress_info ol li {
    margin: 0;
    font-weight: 400;
    font-size: 14px;
    line-height: 180%;
    color: #515151;
}
.regenerate_progress_info ol {
    margin: 0;
    padding-left: 14px;
}

/* ==================== Regenerate Thumbnails Css End ==================== */

/* ==================== Product Watermark Css Start ==================== */

.wp-watermark-settings {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    justify-content: space-between;
}
.wp-watermark-settings ul.nav.nav-tabs {
    max-width: 17%;
    width: 100%;
    background: #FFFFFF;
    border-radius: 8px;
    padding: 10px;
    margin: 0;
}
.wp-watermark-settings .tab-content {
    max-width: calc(83% - 20px);
    width: 100%;
}
.wp-watermark-settings .tab-content .tab-content-inner {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 20px 20px 34px;
}
.wp-watermark-settings > * {
    box-sizing: border-box;
}
.wp-watermark-settings ul.nav.nav-tabs li {
    margin: 0;
}
.wp-watermark-settings ul.nav.nav-tabs li .nav-link,
.wp-watermark-settings .tab-content .tab-pane .nav-link {
    background: #fff;
    border: 0;
    padding: 12px 20px;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #1D2327;
    width: 100%;
    text-align: left;
    border-radius: 6px;
    cursor: pointer;
    display: inline-block;
}
.wp-watermark-settings ul.nav.nav-tabs li .nav-link.active,
.wp-watermark-settings .tab-content .tab-pane .nav-link {
    background: #2271B1;
    color: #fff;
    font-weight: 400;
}
.wp-watermark-settings .tab-content .tab-pane .nav-link {
    display: none;
}
.wp-watermark-settings .tab-content-wrap h4 {
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    margin: 0 0 20px;
    color: #000000;
    width: 100%;
}
.wp-watermark-settings .tab-content-wrap {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: wrap;
}
.wp-watermark-settings .tab-content-wrap .tab-content-wrap-left {
    max-width: 40%;
    width: 100%;
}
.wp-watermark-settings .tab-content-wrap  .tab-content-wrap-right {
    max-width: calc(60% - 30px);
    width: 100%;
    margin-left: 30px;
}
.wp-watermark-settings .tab-content-wrap-repet-tab,
.wp-watermark-settings .tab-content-wrap-alignment {
    border: 1px solid #E0E8EE;
    padding: 20px;
    border-radius: 8px;
}


.wp-watermark-settings .tab-content-wrap .tab-content-wrap-upload p {
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    color: #2C3333;
    margin: 0 0 12px;
}
.wp-watermark-settings .tab-content-wrap-upload-input label {
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    color: #000;
    padding: 19px;
    max-width: 100%;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F3F8FB;
    border-radius: 8px;
    border: 1px dashed #2271B1;
    cursor: pointer;
    box-sizing: border-box;
}
.wp-watermark-settings .tab-content-wrap-upload-input label span img {
    margin-right: 10px;
}
.wp-watermark-settings .tab-content-wrap-upload-input {
    position: relative;
    margin-bottom: 20px;
}
.wp-watermark-settings .tab-content-wrap-upload-input fieldset {
    position: absolute;
    top: 0;
    height: 100%;
    opacity: 0;
    z-index: -1;
}
.tab-content-wrap-upload .woo-img-wtm-img-view {
    display: none;
}
.wp-watermark-settings .tab-content-wrap-repet-tab {
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    color: #2C3333;
    margin-bottom: 20px;
}
.wp-watermark-settings .tab-content-wrap-repet-tab fieldset {
    margin-top: 20px;
}
.wp-watermark-settings .tab-content-wrap-repet-tab fieldset label {
    font-weight: 500;
    font-size: 14px;
    line-height: 150%;
    color: #000000;
}
.wp-watermark-settings .tab-content-wrap-repet-tab fieldset label input[type=checkbox] {
    box-shadow: 0px 0px 4px 0px #00000040 inset;
    border: 1px solid #A7AAAD;
    border-radius: 4px;
    height: 18px;
    width: 18px;
    position: relative !important;
    margin-right: 6px;
}
.wp-watermark-settings .tab-content-wrap-repet-tab fieldset label input[type=checkbox]:checked::before {
    margin: 0;
    width: 18px;
    height: 18px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50% , -50%);
}
.wp-watermark-settings .tab-content-wrap-repet-tab p {
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #000000;
    margin: 20px 0 0;
}
.wp-watermark-settings .tab-content-wrap-repet-tab p strong {
    font-weight: 700;
}

.wp-watermark-settings .tab-content-wrap-alignment p {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    margin: 0 0 20px;
}
.tab-content-wrap-alignment-inner {
    width: 162px;
    height: 162px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.tab-content-wrap-alignment-inner .tab-content-wrap-alignment-inner-wrap {
    width: 50px;
    height: 50px;
    opacity: 1;
    border-radius: 4px;
    border: 0;
    position: relative;
}
.tab-content-wrap-alignment-inner .tab-content-wrap-alignment-inner-wrap input[type=radio] {
    margin: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    border: 1px solid #E0E8EE;
    box-shadow: 0px 0px 4px 0px #00000040 inset;
}
.tab-content-wrap-alignment-inner .tab-content-wrap-alignment-inner-wrap input[type=radio]:checked::before {
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}
.tab-content-wrap-alignment-inner .tab-content-wrap-alignment-inner-wrap input[type=radio]:checked {
    border: 2px solid #2271B1;
}
.wp-watermark-settings .tab-content-wrap-alignment .tab-content-wrap-alignment-no-watermark {
    margin-top: 20px;
}
.wp-watermark-settings .tab-content-wrap-alignment .tab-content-wrap-alignment-no-watermark label {
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    color: #2C3333;
}
.wp-watermark-settings .tab-content-wrap-alignment .tab-content-wrap-alignment-no-watermark label input {
    width: 18px;
    height: 18px;
    margin: 0 6px 0 0;
    border: 1px solid #E0E8EE;
    box-shadow: 0px 0px 4px 0px #00000040 inset;
    position: relative !important;
}
.wp-watermark-settings .tab-content-wrap-alignment .tab-content-wrap-alignment-no-watermark label input:checked::before {
    width: 18px;
    height: 18px;
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50% , -50%);
    margin: 0;
}
.tab-content-wrap-alignment-inner .tab-content-wrap-alignment-inner-wrap label {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1;
    cursor: pointer;
}
.tab-content-wrap-alignment-inner .tab-content-wrap-alignment-inner-wrap label img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50% , -50%);
}
.tab-content-wrap-alignment-inner .tab-content-wrap-alignment-inner-wrap:first-child label img {
    transform: translate(-50% , -50%) rotate(-45deg);
}
.tab-content-wrap-alignment-inner .tab-content-wrap-alignment-inner-wrap:nth-child(3) label img {
    transform: translate(-50% , -50%) rotate(45deg);
}
.tab-content-wrap-alignment-inner .tab-content-wrap-alignment-inner-wrap:nth-child(4) label img {
    transform: translate(-50% , -50%) rotate(-90deg);
}
.tab-content-wrap-alignment-inner .tab-content-wrap-alignment-inner-wrap:nth-child(6) label img {
    transform: translate(-50% , -50%) rotate(90deg);
}
.tab-content-wrap-alignment-inner .tab-content-wrap-alignment-inner-wrap:nth-child(7) label img {
    transform: translate(-50% , -50%) rotate(225deg);
}
.tab-content-wrap-alignment-inner .tab-content-wrap-alignment-inner-wrap:nth-child(8) label img {
    transform: translate(-50% , -50%) rotate(180deg);
}
.tab-content-wrap-alignment-inner .tab-content-wrap-alignment-inner-wrap:last-child label img {
    transform: translate(-50% , -50%) rotate(-225deg);
}
.tab-content-wrap-alignment-inner .tab-content-wrap-alignment-inner-wrap:nth-child(5) label img {
   display: none;
}
.tab-content-wrap-alignment-inner .tab-content-wrap-alignment-inner-wrap:nth-child(5) input[type=radio]:after {
    content: "";
    width: 12px;
    height: 12px;
    background: #292D32;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50% , -50%);
    border-radius: 50%;
}
.wp-watermark-settings .tab-content-wrap .tab-content-wrap-right .woo-img-wtm-img-view {
    width: 100%;
    box-sizing: border-box;
    height: 470px;
    position: relative;
    border: 1px solid #E0E8EE;
    border-radius: 8px;
    padding: 30px;
    margin: 0 0 20px;
}
.wp-watermark-settings .tab-content-wrap .tab-content-wrap-right .woo-img-wtm-img-view:before {
    content: "";
    position: absolute;
    background: url("../images/preview-img.png");
    width: 100%;
    height: 100%;
}
.wp-watermark-settings .tab-content-wrap .tab-content-wrap-right .tab-content-wrap-preview p {
    margin: 0 0 15px;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #515151;
}
.wp-watermark-settings .tab-content-wrap .tab-content-wrap-right .tab-content-wrap-preview p:last-child {
    margin: 0;
}
.wp-watermark-settings .tab-content-wrap .tab-content-wrap-right .woo-img-wtm-img-view img {
    z-index: 1;
    max-width: 300px;
    width: 100%;
}
body.woocommerce_page_wc-settings-wpe-img-wtm-settings p.submit button {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #fff;
    padding: 12px 22px;
    background: #2271B1;
    border-radius: 4px;
    height: auto;
}
body.woocommerce_page_wc-settings-wpe-img-wtm-settings p.submit {
    margin: 30px 0 0;
    padding: 0 0 50px;
}
.wp-watermark-settings .tab-content-wrap-alignment.disabled .tab-content-wrap-alignment-inner,
.wp-watermark-settings .tab-content-wrap-alignment.disabled .tab-content-wrap-alignment-no-watermark label {
    opacity: 0.4;
    cursor: none;
    z-index: 3;
    position: relative;
    pointer-events: none;
}

.wp-watermark-settings .tab-content-wrap-radio h2,
.wp-watermark-settings .tab-content-wrap-radio label:first-child , .tab-content-wrap-text label {
    font-size: 14px;
    font-weight: 600;
    color: #1d2327;
    margin-bottom: 10px;
    display: block;
}

.tab-content-wrap-radio ul {
    display: flex;
}

/* ===== Radio Buttons Alignment ===== */
.wp-watermark-settings .tab-content-wrap-radio .forminp {
    margin-top: 5px;
}

.wp-watermark-settings .tab-content-wrap-radio label {
    font-size: 13px;
    margin-right: 15px;
    vertical-align: middle;    
}

.tab-content-wrap-text input, .wc-wp-version-gte-53 .select2-container .select2-selection--single {
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    color: #000;
    padding: 20px;
    max-width: 100%;
    width: 100%;
    height: 60px;    
    justify-content: center;    
    border-radius: 8px;
    border: 1px solid #2271B1;
}

.tab-content-wrap-text {        
    line-height: 100%; 
    margin-bottom: 20px;
}

.wtm-field-group {
    margin-bottom: 20px;
}

.select2-container--default .select2-selection--single {
    height: 36px;
    border-radius: 6px;
    border: 1px solid #dcdcde;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 34px;
}

.wtm-preview-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #555;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    /* background: #fffc; */
}

.wtm-font-color-table {
    margin-bottom: 20px !important; 
}
.wtm-font-color-table tr{
    display: block !important;
}
.wtm-font-color-table .titledesc, .wtm-font-color-table .forminp-color{
    padding: 0 !important;
}
.wc-wp-version-gte-53 .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 100%;
}
.wc-wp-version-gte-53 .select2-container .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
}
.wc-wp-version-gte-53 .select2-container .select2-selection--single {
    height: auto !important;
}
.wc-wp-version-gte-53 .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 100% !important;
}
.wc-wp-version-gte-53 .select2-container .select2-selection--single {
    border-color: #2271B1 !important;
}


@media (max-width: 1400px) {
    .wp-watermark-settings ul.nav.nav-tabs {
        max-width: 27%;
    }
    .wp-watermark-settings .tab-content {
        max-width: calc(73% - 20px);
    }
}

@media (max-width: 1199px) {
    
    .wp-watermark-settings .tab-content-wrap .tab-content-wrap-left {
        max-width: 100%;
    }
    .wp-watermark-settings .tab-content-wrap .tab-content-wrap-right {
        max-width: 100%;
        margin: 0;
    }
    .wp-watermark-settings ul.nav.nav-tabs {
        max-width: 25%;
    }
    .wp-watermark-settings .tab-content {
        max-width: calc(75% - 20px);
    }
    .wp-watermark-settings .tab-content-wrap .tab-content-wrap-right .woo-img-wtm-img-view {
        height: 350px;
    }
}

@media (max-width: 767px) {
    .wp-watermark-settings .tab-content .tab-pane .nav-link {
        display: inline-block;
        word-wrap: break-word;
    }
    .wp-watermark-settings ul.nav.nav-tabs {
        display: none;
    }
    .wp-watermark-settings .tab-content {
        max-width: 100%;
    }
    .wp-watermark-settings .tab-content .tab-content-inner .tab-pane {
        display: block;
    }
    .wp-watermark-settings .tab-content .tab-content-inner .tab-content-wrap {
        display: none;
    }
    .wp-watermark-settings .tab-content .tab-content-inner .tab-pane.active .tab-content-wrap {
        display: block;
        margin-top: 30px;
    }
    .wp-watermark-settings .tab-content-wrap .tab-content-wrap-left {
        max-width: 100%;
    }
    .wp-watermark-settings .tab-content-wrap .tab-content-wrap-right {
        max-width: 100%;
        margin: 0;
    }
    .wp-watermark-settings .tab-content .tab-content-inner .tab-pane + .tab-pane {
        margin-top: 20px;
    }
    .wp-watermark-settings .tab-content-wrap .tab-content-wrap-right .woo-img-wtm-img-view {
        height: 300px;
    }
}

/* ==================== Product Watermark Css End ==================== */