/*
Theme Name: Potdesigner
Theme URI: https://potdesigner.io
*/

@font-face {
    font-family: 'thesans_b5_plainregular';
    src: url('fonts/TheSans-B5Plain.ttf') format('ttf'), 
    url('fonts/thesans-b5plain-webfont.woff2') format('woff2'),
    url('fonts/thesans-b5plain-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'thesans-b6semibold';
    src: url('fonts/thesans-b6semibold-webfont.woff2') format('woff2'),
    url('fonts/thesans-b6semibold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'thesans-b7bold';
    src: url('fonts/thesans-b7bold-webfont.woff2') format('woff2'),
    url('fonts/thesans-b7bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

:root {
    --main-brand: #00aeef;
    --main-brand-dark: #407eff;
    --neutrals-black: #005D81;
    --accents-1: #eff4ff;
}

#loader {
    display: none; 
    width: 100%;
    height: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
    background-color: rgb(0 0 0 / 50%);
}
#loader .lds-ripple {
    display: inline-block;
    position: relative;
    width: 120px;
    height: 120px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}
#loader .lds-ripple div {
    position: absolute;
    border: 4px solid #fff;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
#loader .lds-ripple div:nth-child(2) {
    animation-delay: -0.5s;
}
@keyframes lds-ripple {
    0% {
        top: 50px;
        left: 50px;
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        top: 0px;
        left: 0px;
        width: 100px;
        height: 100px;
        opacity: 0;
    }
}

body {
    color: #231f20;
    background-color: #fff;
}
a {
    color: #0585b7;
}
.bg-blue {
    background-color: var(--main-brand) !important;
}
.collapsable_item {
    border-bottom: 1px solid #fff;
    background: #f9f9f9;
}
.collapsable_item .collapsable_button {
    cursor: pointer;
    background-color: var(--neutrals-black) !important;   
}
.collapsable_item .collapsable_button.collapsed {
    background-color: var(--main-brand) !important;   
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

@media (min-width: 992px){
    .modal-lg {
        max-width: 990px;
    }
}
@media (min-width: 1280px) {
	.container {
        max-width: 1600px;
        width: 80%;
    }
    .modal-lg {
        max-width: 1200px;
    }
}

.d-none-n-imp {
    display: none;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    margin-bottom: 0.5rem;
    font-family: 'thesans-b7bold', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: inherit;
}
h2, h3, h4, h5, h6, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 600;
}

a {
    display: inline-block;
}

a:hover {
    color: #bbc3cc;
    text-decoration: none;
}

img {
    max-width: 100%;
    width: auto;
    height: auto;
}

.page-header {
    position: relative;
}

@media (min-width: 1200px) {
    #potdesign-buttons .col-xl-2 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 calc(100% / 7);
        flex: 0 0 calc(100% / 7);
        max-width: calc(100% / 7);
    }
}

#potdesign-buttons a {
    display: block;
}

input#quantity_ingredient {
    max-width: 100px;
}

.breadcrumb {
    background-color: #f9f9f9;
    border-radius: 0.25rem;
    margin-top: 2em;
}
li.breadcrumb-item a {
    text-transform: capitalize;
    /*color: #02adef;*/
}
.breadcrumb-item.active {
    color: #231f20;
}

body.not_logged_in #navbarTogglerDemo02 {
    display: none !important;
}
p.error {
    font-style: italic;
}
#loginform input[type="text"],
#loginform input[type="password"] {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#loginform #wp-submit {
    padding: 0.3em 1.6em;
    background-color: #fff;
    color: #231f20;
    border-radius: 2em;
    font-family: 'thesans-b7bold', sans-serif;
    display: inline-block;
    font-size: 1em;
    border: 2px solid #231f20;
    cursor: pointer;
}
#loginform #wp-submit:hover {
    background-color: #231f20;
    color: #fff;
}

.btn {
    padding: 0.3em 1.6em;
    background-color: #fff;
    color: #231f20;
    border-radius: 2em;
    font-family: 'thesans-b7bold', sans-serif;
    display: inline-block;
    font-size: 1em;
    border: 2px solid #231f20;
}
.btn:hover {
    background-color: var(--main-brand);
    color: #fff;
}

nav.navbar a {
    color: var(--neutrals-black);
}
.navbar-nav .nav-item {
    padding: 0.375rem 0 0.375rem 2rem;
}
.navbar-nav .nav-item.sign-out-link {
    padding: 0.375rem 0 0.375rem 6rem;
    font-weight: 700;
}
.navbar-expand-lg > .container, .navbar-expand-lg > .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
}
.navbar-collapse.collapsing .navbar-nav .nav-item,
.navbar-collapse.show .navbar-nav .nav-item {
    padding: 0.6em 0;
}
.navbar-collapse.collapsing .navbar-nav li.nav-item.sign-out-link,
.navbar-collapse.show .navbar-nav li.nav-item.sign-out-link {
    padding: 2em 0 1em;
}
.navbar-collapse.collapsing .navbar-nav,
.navbar-collapse.show .navbar-nav {
    margin-top: 1em;
}

.navbar-toggler {
    background-color: #eef2f5;
    border: 2px solid #dddddd !important;
}

li.breadcrumb-item {
    padding: 0.375rem 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #aaa;
    content: ">";
}

.btn.btn-primary.btn-sm {
    padding: 0.5rem 1rem;
}

.dataTables_wrapper {
    overflow: hidden;
}

table.dataTable {
    width: 100% !important;
}

.dataTables_length,
.dataTables_filter {
    display: none;
}
table.dataTable.row-border tbody th, table.dataTable.row-border tbody td, table.dataTable.display tbody th, table.dataTable.display tbody td {
  border-top: none !important;
}
table tbody tr:nth-child(odd) {
  background-color: #f9f9f9;
}
table tbody tr:nth-child(even) {
  background-color: #fcfcfc;
}
table img {
    max-width: 50px;
}
.table th, .table td {
    text-align: center;
    padding: 8px 10px;
    vertical-align: middle;
    border-bottom: 1px solid #dee2e6;
}

.table tbody tr {
    cursor: pointer;
}
table.dataTable.hover tbody tr:hover, table.dataTable.hover tbody tr.odd:hover, table.dataTable.hover tbody tr.even:hover, table.dataTable.display tbody tr:hover, table.dataTable.display tbody tr.odd:hover, table.dataTable.display tbody tr.even:hover {
    background-color: var(--main-brand);
    color: #fff;
}
table.dataTable.display tbody tr:hover > .sorting_1, table.dataTable.display tbody tr.odd:hover > .sorting_1, table.dataTable.display tbody tr.even:hover > .sorting_1, table.dataTable.order-column.hover tbody tr:hover > .sorting_1, table.dataTable.order-column.hover tbody tr.odd:hover > .sorting_1, table.dataTable.order-column.hover tbody tr.even:hover > .sorting_1 {
    background-color: var(--main-brand);
    color: #fff;
}
.table tbody tr:hover {
    background: var(--main-brand);
    color: #fff;
}


.show_for_print {
    display: none;
}
#recipe .show_powder_content,
#recipe .show_liquid_content {
    display: none;
}
#recipe .table tr.captions {
    font-weight: bold;
    text-transform: capitalize;
    background-color: #dee2e6;
}
#recipe tr.totals {
    background-color: #f0f2f5 !important;
    font-weight: bold;
}
#recipe .table tr.seperator {
    background: #fff;
    height: 30px;
}
tr.powder.premixed_glaze_base {
    background-color: #e9e9e9;
}
#recipe .table tr.totals td {
    border-top: 3px solid #aaa;
}
#recipe input {
    width: 70px;
    padding: 2px 6px;
}
#recipe .table tr {
    cursor: inherit;
}
#recipe .table td {
    text-align: left;
}
#recipe .table td:nth-child(3), #recipe .table td:nth-child(5), #recipe .table td:nth-child(6), #recipe .table td:nth-child(8) {
    text-align: center;
}
#recipe table tbody tr:nth-child(odd):hover {
    background-color: #f9f9f9;
    color: inherit;
}
#recipe table tbody tr:nth-child(even):hover {
    background-color: #fff;
    color: inherit;
}


.remove-selected-file,
.c-pointer {
    cursor: pointer;
}
.remove-selected-file:hover,
.c-pointer:hover {
    color: #aaa;
}

.pricing-header {
  max-width: 700px;
}

.card-deck .card {
  min-width: 220px;
}

.border-top { border-top: 1px solid #e5e5e5; }
.border-bottom { border-bottom: 1px solid #e5e5e5; }

.box-shadow { box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); }




.page-header h1 {
	display: inline;
}
/*.page-header button {
    margin-left: 3rem;
    margin-top: -2rem;
}*/


.navbar img {
    height: 76px;
}
.navbar .active a {
  font-weight: 600;
  color: #000;
}
.text-aaa {
  color: #aaa;
}
.bg-green {
  background-color: #231f20;
}
.bg-green:hover {
  background-color: #333;
}
#basic-settings .text-center {
  font-weight: 600;
}

#popupimg .modal-content {
  background-color: #fcfcfc;
}
#popupimg .modal-body {
  padding: 0;
}




#potdesign-buttons a:hover {
    color: #fff;
    text-decoration: none;
}
#potdesign-buttons a .col-12 {
    text-align: center;
    background: #fff;
    padding: 2em 0.4em;
    margin-bottom: 1em;
    border: 2px solid var(--main-brand);
    color: var(--main-brand);
    border-radius: 0.8em;
    font-family: 'thesans-b7bold', sans-serif;
    font-size: 1.2em;
}
#potdesign-buttons a:hover .col-12 {
    background: var(--main-brand);
    color: #fff;
}

#potdesign-buttons a .col-12.error-home-btn {
    border: 2px solid red;
    color: red;
}
#potdesign-buttons a:hover .col-12.error-home-btn {
    background: red;
    color: #fff;
}


.fase-title {
    font-weight: 600 !important;
    font-family: 'thesans-b7bold', sans-serif;
    font-size: 1.4em;
}
#file-input {
  display: block;
  width: 100%;
  margin-bottom: 1em;
}
.file-preview {
    display: none;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 100px;
    height: 100px;
    border: 1px solid #ced4da;
}










#loading {
/*    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);*/
    text-align: center;
    /*z-index: 9;*/
}
#loading img {
    width: 100px;
    height: auto;
}

/*#filters {
    display: none;
}*/

#mal_table { 
    display: none;
    width:100% !important;
}

fieldset label, 
fieldset select, 
fieldset input, 
fieldset button {
    float: left;
    position: relative;
    margin: 0 0.4em;
    width: calc((100% / 4) - 0.8em);
    font-size: 1em;
    padding: 0.4em 0.5em;
    border: 2px solid #ddd;
    border-radius: 6px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
}
.btn.button,
fieldset .button,
fieldset button {
    color: #fff;
    background-color: var(--main-brand);
    border: 2px solid var(--main-brand);
    font-weight: bold;
}
.btn.button:hover,
fieldset .button:hover,
fieldset button:hover {
    background-color: white;
    color: var(--main-brand);
}
input:focus, textarea:focus, select:focus, button:focus {
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
    outline: 0;
}
.form-group {
    margin-bottom: 1.6rem;
}






/*media-popup*/

.modal-dialog fieldset label, 
.modal-dialog fieldset select, 
.modal-dialog fieldset input, 
.modal-dialog fieldset button {
    /*width: calc((100% * 0.3333) - 0.8em);*/
    width: calc(25% - 0.8em);
}

#upload-popup .modal-dialog fieldset label, #upload-popup .modal-dialog fieldset select, #upload-popup .modal-dialog fieldset input, #upload-popup .modal-dialog fieldset button {
     width: calc((100% * 0.3333) - 0.8em); 
}


.inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute !important;
    z-index: -1;
}
.no-js .inputfile + label {
    display: none;
}
.inputfile:focus + label,
.inputfile.has-focus + label {
    outline: 1px dotted #000;
    outline: -webkit-focus-ring-color auto 5px;
}
.inputfile + label * {
    /* pointer-events: none; */
    /* in case of FastClick lib use */
}
.inputfile + label svg {
    width: 1em;
    height: 1em;
    vertical-align: middle;
    fill: currentColor;
    margin-top: -0.25em;
    /* 4px */
    margin-right: 0.25em;
    /* 4px */
}
.inputfile-2 + label {
    font-weight: 700;
    text-align: center;
    border: 2px solid #231f20;
}
.inputfile-2:focus + label,
.inputfile-2.has-focus + label,
.inputfile-2 + label:hover {
    color: #722040;
}


#jspdf {
    width: 500px;height: 250px;overflow: hidden;background-color: #fff;text-align: center;position: relative;border: 1px solid #e8e8e8;box-sizing: content-box;
}
#jspdf .sample-sticker {
    float: left;width: 100%;height: 100%;
}
#jspdf img {
    width: 136px;margin: 0 auto;text-align: center;margin-top: 22px;
}
#jspdf hr {
    background-color: #000;height: 2px;border: none;width: 90%;margin: 12px auto 0;
}
#jspdf .sticker-title {
    font-family: 'thesans-b7bold', sans-serif; font-size: 48px;position: absolute;bottom: 22px;line-height: 48px;text-align: center;width: 100%;color: #241f21;
}


@media screen and (max-width: 50em) {
    .inputfile-6 + label strong {
        display: block;
    }
}


@media only screen and (max-width: 1200px) {
    input,
    select {
        -webkit-appearance: none !important;
    }
    .modal-lg {
        width: 86%;
        margin: 0 auto;
        max-width: inherit;
    }
    .modal-open .modal {
        padding: 0 !important;
    }
    table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td:first-child:before, table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th:first-child:before {
        content: none;
    }
    table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td:first-child, table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th:first-child {
        padding-left: 10px;
    }
}

@media only screen and (max-width: 767px) {
    h1, .h1,
    h2, .h2 {
        font-size: 1.6em;
    }
    fieldset {
        padding: 0;
    }
    fieldset label, fieldset select, fieldset input, fieldset button,
    select, input {
        width: 100% !important;
        margin: 0.2em 0;
    }
    a.btn.btn-outline-primary.d-inline-block.float-right {
        position: absolute;
        top: 12px;
        right: 0;
        font-size: 0.8em;
        padding: 4px 12px;
    }
    textarea {
        max-height: 200px;
    }
}

@media only screen and (max-width: 575px) {
    .input_selected_link.d-inline {
        display: block !important;
        margin-top: 10px;
        margin-left: 0 !important;
    }
    .input_selected_link .ml-4.d-inline {
        margin-right: 1.5rem !important;
        margin-left: 0 !important;
    }
}