{% include './elements/_forms.css' %}

input[type=radio] {
    display: block!important;
}

.hidden {
    display: none;
}

#canvas {
    width: -webkit-fill-available;
}

#preview-container {
    min-height: 1414px;
    background: #fff!important;
    max-width: 100%;
}

@media screen and (max-width: 1024px) {
    #preview-container {
        min-height: unset;
        max-width: unset;
    }
}


#preview-container p {
    font-family: "Lato", sans-serif!important;
}

.images-container {
    display: flex;
}

.form-leaflet {
    max-width: 760px;
    margin: 0 auto;
    padding: 0;
}

.form-leaflet form {
    padding: 0;
}

.form-leaflet form input[type="text"],
.form-leaflet form .ql-container {
    border-radius: 5px;
}

.form-leaflet form input[type="file"] {
    cursor: pointer;
}

.form-leaflet form input,
.form-leaflet form p {
    font-size: 14px!important;
}

.form-leaflet form input, .form-leaflet .ql-editor {
    white-space: pre-wrap;
    padding: 6px;
}

.form-leaflet .radio-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

.form-leaflet .step {
    padding: 16px;
    margin-bottom: 16px;
    border-radius: 8px;
    border: 1px solid #f5f5f5;
    box-shadow: 1px 1px 10px 1px rgba(66, 68, 90, 0.15);
}

.form-leaflet .step-description {
    font-size: 12px!important;
}

.form-leaflet .radio-container label {
    width: 100%;
    max-width: 230px;
    cursor: pointer;
    border: 2px solid #f5f5f5;
    border-radius: 5px;
    position: relative;
    display: flex;
    justify-content: center;
}

.form-leaflet .radio-container label:before {
    content: '';
    position: absolute;
    height: 12px;
    width: 12px;
    border-radius: 100%;
    background: #fff;
    border: 2px solid #002c58;
    top: -7px;
}

.form-leaflet .radio-container label.active:before {
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAklJREFUSEu9ll1IFFEYhp/DultRVJatrGwuxLYLKdpd9ENEFEVEEFRESTeSaDdF0UWZ2x8VeyPljWIslWxe9AMRQmaxaGE/N5aSgVtUgiXUfSi6TnuGmXWcZsYtms7lOd953/d7v2++MwKHpShKBNgDbALKAb8W/j27/y67353dvyeESNvBCKsDDfgscMBJgOGsHThvRfQbgaIoh4FmwJMnuB6WAeqEENeN92YQKIpyGrj0h8Dm8HohxGV9M0egKW81R7/s/0Dbw2ekXg/yaURaDyuCfjavKePQro2srVxppadGz0Ql0Dx/b7al7mKCljtPHROq3beF5oZqc4y0a5WsiU5w21zQ7bVXeNw7kJdb29ZX0NlyyhzbLoQ4KDT1Q8bTfJSb0WwyiUqCGYWVnq+ris2qPFRSRLB4Kb1vprW9SF4w16ReEnQBW3XEfNSXh5fTczPGvLk+ijbU8HNsXL1ukcUTSfANCOgE0Z3HSQ+P2mZQGQ2RSpxhyaIFXEs+4li8LRcbCQUY6mg03h2VBJPG7vGurmIyI5sAfN4C+u/H+fL1B3tPXCVcWkwq0UDhwvnceNBNdaxVdmAOsMDjYeJt0kiQcSSY4/PyubOJwLLFDH4cocRfqILf7XrF/pNNTE1Ng0tUOwJHi8rCQZ7fOqcCy9XR08fuo425LI1y7SyatcgVkVLVmoH0MDuOxBkbn7CskV2R/6pNrRjs2lTOfPc+NG0WuTcq/suw00jkQ+POuNYL5uqDYyBx78k0kMjOcufRN/b3v/ht+QVSAyiC00AUgQAAAABJRU5ErkJggg==");
    background-size: contain;
    border: none;
}

.form-leaflet .radio-container label.active {
   border-color: #002c58;
}

.form-leaflet .radio-container label input {
    position: absolute;
    top: 0;
    visibility: hidden;
}

.form-leaflet .radio-container label img {
    width: auto;
    max-width: 100%;
    height: 100%;
    border-radius: 5px;
}

.form-leaflet .radio-container img {
    width: 100%;
}

.form-leaflet .header-logo img {
    width: 100%;
    margin: 0 0 18px 0;
}

.form-leaflet .bar-image img {
    width: 100%;
    max-width: 665px;
    padding-top: 16px;
}

.form-leaflet .info-image img {
    width: 100%;
}

.form-leaflet .main-image-box {
    display: flex;
    justify-content: center;
}

.form-leaflet .body-image img {
    max-height: 400px;
    max-width: 100%;
}

.form-leaflet #screen {
    background: #fff;
}

.form-leaflet .DLE #screen {
    padding: 20px;
}

.form-leaflet #screen {
    padding: 60px;
}

.form-leaflet #preview-container.A4 {
    width: 1000px;
}

.form-leaflet #preview-container.A5 {
    width: 704px;
    min-height: 1414px;
}

.form-leaflet #preview-container.DLE {
    width: 434px;
}

.form-leaflet .container-decription {
    padding-top: 18px;
}

.form-leaflet .container-decription p {
    padding: 0;
    margin: 0;
}

.form-leaflet .container-decription #description-box {
    margin-bottom: 18px;
}

#preview-container.A4 {
    font-size: 22px;
}

#preview-container.A5 {
    font-size: 16px;
}

#preview-container.DLE {
    font-size: 12px;
}

.form-leaflet .text-02 {
    font-size: 1em;
    line-height: 1.2;
}

.form-leaflet .text-03 {
    font-size: 1.3em;
    line-height: 1.2;
}

.form-leaflet .text-04 {
    font-size: 1.8em;
    font-weight: 900;
    line-height: 1.2;
}

.text-color-01 {
    color: #10254d;
}

.text-color-02 {
    color: #eb0c6d;
}

.p-8 {
    padding-top: 8px!important;
}

/* modal */

.modal-wrapper {
    display: none;
}

.modal-wrapper.active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 505;
    padding: 0 32px;
    background: rgba(0, 0, 0, 0.85);
    overflow: auto;
    display: flex;
    justify-content: center;
}

.modal-container {
    background: transparent;
    width: fit-content;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: fit-content;
    margin-top: 100px;
    margin-bottom: 32px;
    max-width: 100%;
}

#option-menu button {
    border: 2px solid #002c58;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    line-height: 21px;
    padding: 5px 12px;
    box-shadow: none;
}

#option-menu a:hover, #option-menu button:hover {
    background: #002c58;
    color: #fff;
}

#option-menu button {
    border: 2px solid #002c58;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    line-height: 21px;
    padding: 5px 12px;
    box-shadow: none;
}

#option-menu {
    position: fixed;
    top: 0;
    border: 2px solid #10254d;
    display: flex;
    justify-content: space-between;
    background: #fff;
    width: 25vw;
    min-width: 550px;
    padding: 16px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

@media screen and (max-width: 1024px) {
    #option-menu {
       min-width: unset;
       max-width: 460px;
       width: fit-content;
       flex-wrap: wrap;
       padding: 8px 48px 8px 8px;
    }
}

#option-menu .option-buttons {
    display: flex;
    gap: 6px;
}

@media screen and (max-width: 1024px) {
    #option-menu .option-buttons {
       scale: 0.8;
    }
}

#option-menu .options-links {
    display: flex;
    gap: 6px;
}

#option-menu .options-links a {
    min-height: 43px;
    min-width: fit-content;
    font-size: 16px;
    padding: 8px 48px 8px 16px;
    line-height: 24px;
}

#option-menu .options-links a:after {
    height: 24px;
    width: 24px;
}

@media screen and (max-width: 1024px) {
    #option-menu .options-links {
        display: flex;
        gap: 0;
    }

    #option-menu .options-links a {
        scale: 0.8;
    }

    #option-menu .options-links a span {
        display: none;
    }
}

#option-menu .option-links a {
    padding: 8px 48px 8px 16px!important;
}

#option-menu button.active {
    background: #002c58;
    border: 2px solid #002c58;
    color: #fff;
    transition: background-color .3s ease-in-out,border-color .3s ease-in-out;
}

.close-button {
    background: #fff;
    height: 50px;
    width: 50px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: .4s;
    border: 2px solid #002c58;
    position: absolute;
    right: -150px;
}

@media screen and (max-width: 1024px) {
    .close-button {
       right: 8px;
       top: 15px;
       height: 30px;
       width: 30px;
       border: none;
    }

    .close-button img {
        height: 24px!important;
        width: 24px!important;
    }
}

.close-button:hover {
    scale: 1.05;
}

.close-button img {
    height: 36px;
    width: 36px;
}

body.modal-active {
    overflow: hidden;
}

.ql-container {
    border: 2px solid #D1D6DC;
    background-color: rgba(255, 255, 255, 1.0);
    color: #444444;
}

.ql-clipboard {
    display: none;
}

.ql-editor {
    font-family: "Poppins", sans-serif!important;
    min-height: 70px;
}

.ql-editor p {
    margin: 0;
}

#description {
    position: relative;
}

#description .ql-toolbar {
    visibility: hidden;
    position: absolute;
    top: -10px;
    left: 8px;
}

#description .ql-toolbar.active {
    visibility: visible;
}

.ql-formats {
    display: flex;
    gap: 2px;
}

.ql-formats button {
    border: 1px solid #002c58;
    box-shadow: none;
    font-size: 12px;
    padding: 2px;
    min-width: 24px;
    border-radius: 2px;
}

.ql-formats button.ql-active {
    color: #fff;
    border: 1px solid #fff;
}

.ql-toolbar .ql-bold {
    font-weight: 700;
}

.ql-toolbar .ql-italic {
    font-style: italic;
}

.ql-toolbar .ql-underline {
    text-decoration: underline;
}

.ql-formats .ql-active {
    background: #002c58;
}

.form-leaflet .separator-w-icons__line:after {
    height: 1px;
}

