/* font converted using font-converter.net. thank you! */

@font-face {
    font-family: "Avenir-Black";
    src: url("../../../fonts/Avenir-Black-03.eot");
    /* IE9 Compat Modes */
    src: url("../../../fonts/Avenir-Black-03.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("../../../fonts/Avenir-Black-03.otf") format("opentype"), /* Open Type Font */
    url("../../../fonts/Avenir-Black-03.svg") format("svg"), /* Legacy iOS */
    url("../../../fonts/Avenir-Black-03.ttf") format("truetype"), /* Safari, Android, iOS */
    url("../../../fonts/Avenir-Black-03.woff") format("woff"), /* Modern Browsers */
    url("../../../fonts/Avenir-Black-03.woff2") format("woff2");
    /* Modern Browsers */
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: "Avenir-Book";
    src: url("../../../fonts/Avenir-Book-01.eot");
    /* IE9 Compat Modes */
    src: url("../../../fonts/Avenir-Book-01.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("../../../fonts/Avenir-Book-01.otf") format("opentype"), /* Open Type Font */
    url("../../../fonts/Avenir-Book-01.svg") format("svg"), /* Legacy iOS */
    url("../../../fonts/Avenir-Book-01.ttf") format("truetype"), /* Safari, Android, iOS */
    url("../../../fonts/Avenir-Book-01.woff") format("woff"), /* Modern Browsers */
    url("../../../fonts/Avenir-Book-01.woff2") format("woff2");
    /* Modern Browsers */
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: "Avenir-Heavy";
    src: url("../../../fonts/Avenir-Heavy-05.eot");
    /* IE9 Compat Modes */
    src: url("../../../fonts/Avenir-Heavy-05.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("../../../fonts/Avenir-Heavy-05.otf") format("opentype"), /* Open Type Font */
    url("../../../fonts/Avenir-Heavy-05.svg") format("svg"), /* Legacy iOS */
    url("../../../fonts/Avenir-Heavy-05.ttf") format("truetype"), /* Safari, Android, iOS */
    url("../../../fonts/Avenir-Heavy-05.woff") format("woff"), /* Modern Browsers */
    url("../../../fonts/Avenir-Heavy-05.woff2") format("woff2");
    /* Modern Browsers */
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: "Avenir-Medium";
    src: url("../../../fonts/Avenir-Medium-09.eot");
    /* IE9 Compat Modes */
    src: url("../../../fonts/Avenir-Medium-09.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("../../../fonts/Avenir-Medium-09.otf") format("opentype"), /* Open Type Font */
    url("../../../fonts/Avenir-Medium-09.svg") format("svg"), /* Legacy iOS */
    url("../../../fonts/Avenir-Medium-09.ttf") format("truetype"), /* Safari, Android, iOS */
    url("../../../fonts/Avenir-Medium-09.woff") format("woff"), /* Modern Browsers */
    url("../../../fonts/Avenir-Medium-09.woff2") format("woff2");
    /* Modern Browsers */
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: "Avenir-Roman";
    src: url("../../../fonts/Avenir-Roman-12.eot");
    /* IE9 Compat Modes */
    src: url("../../../fonts/Avenir-Roman-12.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("../../../fonts/Avenir-Roman-12.otf") format("opentype"), /* Open Type Font */
    url("../../../fonts/Avenir-Roman-12.svg") format("svg"), /* Legacy iOS */
    url("../../../fonts/Avenir-Roman-12.ttf") format("truetype"), /* Safari, Android, iOS */
    url("../../../fonts/Avenir-Roman-12.woff") format("woff"), /* Modern Browsers */
    url("../../../fonts/Avenir-Roman-12.woff2") format("woff2");
    /* Modern Browsers */
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }

body{
    font-family: 'Avenir-Medium';
}
.preview-qr img {
    width: 110px;
}

.personalizza-wolqr-form:not(.tipo-codice-barcode) .on-tipo-codice-barcode, .personalizza-wolqr-form:not(.tipo-codice-qr) .on-tipo-codice-qr, .personalizza-wolqr-form:not(.tipo-contenuto-url) .on-tipo-contenuto-url, .personalizza-wolqr-form:not(.tipo-contenuto-story) .on-tipo-contenuto-story {
    display: none;
}

.story-editor-launcher {
    border: 1px solid #ccc;
    padding: 13px;
    cursor: pointer;
}

.empty-story {
    margin-top: 200px;
}

.empty-story .plus-button {
    width: 40px;
    height: 40px;
    background: var(--main);
    padding: 9px;
    padding-top: 7px;
    margin: auto;
    color: #fff;
    border-radius: 50%;
    transition: .3s;
    transform: scale(1);
}

.story-thumb {
    border: 1px solid #a9a9a9;
    height: 500px;
    background-color: #ccc;
    border-radius: 8px;
    transition: .3s;
    position: relative;
    overflow: hidden;
}

.story-thumb:hover {
    border-color: var(--main);
}

.story-thumb:hover .plus-button {
    transform: scale(1.15);
}

.story-thumb:active .plus-button {
    transform: scale(.85);
}

.story-editor {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #000000b0;
    top: 0;
    z-index: 1;
    left: 0;
}

.story-editor:not(.open) {
    display: none;
}

.wolqr-story {
    height: 100%;
    width: 100%;
    max-width: 500px;
    margin: auto;
    background: #ccc;
    text-align: left;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
}

body.fullscreen-story .header {
    display: none;
}

.wolqr-toolbar {
    padding: 10px 20px;
}

.wolqr-tool-group {
    display: inline-block;
}

.wolqr-tool {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--main);
    color: white;
    cursor: pointer;
    vertical-align: top;
    transition: .3s;
    transform: scale(1);
}
.wolqr-tool:hover{
    transform: scale(1.1);
}
.wolqr-tool:active{
    transform: scale(.9);
}

.wolqr-tool svg {
    width: 27px;
    height: 27px;
    position: relative;
    left: 12px;
    top: 11px;
}

.wolqr-close svg {
    width: 12px;
    height: 12px;
    position: relative;
    left: 4.4px;
    top: 5px;
}

.wolqr-close {
    width: 30px;
    height: 30px;
    padding: 5px;
    padding-top: 3px;
    padding-bottom: 10px;
    background: var(--danger);
    position: relative;
    left: 7px;
}
.wolqr-save{
    background: var(--success);
}

.wolqr-subtool-wrap {
    width: 100%;
    overflow: hidden;
    margin-top: 20px;
    padding: 5px;
    max-height: 0px;
    opacity: 0;
}

@keyframes open_subtool_wrap{
    0%{
        max-height: 0px;
        opacity: 0;
    }
    50%{
        max-height: 350px;
        opacity: 1;
    }
    100%{
        max-height: 700px;
        opacity: 1;
    }
}

.wolqr-tool-father.subtool-open .wolqr-subtool-wrap {
    animation: open_subtool_wrap 1s;
    animation-fill-mode: forwards;
}

.wolqr-subtool-wrap .wolqr-tool{
    width: 40px;
    height: 40px;
    margin-top: 10px;
}
.wolqr-subtool-wrap .wolqr-tool svg{
    width: 22px;
    height: 22px;
    position: relative;
    left: 9px;
    top: 7px;
}

.color-selector-input {
    float: left;
    opacity: 0;
}
.story-thumb.is-filled .on-not-is-filled, .story-thumb:not(.is-filled) .on-is-filled{
    display: none;
}
.render-story-preview{
    width: 100%;
    height: 100%;
    border-radius: inherit;
}
.render-story-preview .wolqr-story{
    border-radius: inherit;
    width: 480px;
    height: 790px;
    transform: scale(0.64);
    transform-origin: top left;
}
.wolqr-text-element {
    position: absolute;
}
.wolqr-text-element.tipo-textline {
    background: black;
    background: #0000008a;
    width: 100%;
    text-align: center;
    left: 0 !important;
    color: white;
    padding: 2px;
    font-size: 1.2em;
}
.wolqr-text-element.tipo-textline .text-content {
    width: 100%;
    font-size: 1.2em;
    max-width: 100%;
    color: #fff;
    background: 0 0!important;
    text-align: inherit;
    border: none !important;
    padding: 3px;
    cursor: pointer;
}
.published-story-controls {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    height: 100%;
}
.published-story-controls .wolqr-close svg{
    width: 18px;
    height: 18px;
    position: relative;
    left: 0;
    top: 10px;
}
.published-story-controls .wolqr-close{
    position: absolute;
    left: calc(100% - 55px);
    top: 15px;
    width: 45px;
    height: 45px;
}
.wolqr-tool.disabled {
    pointer-events: none;
}
.size-mobile .story-editor-launcher.in-small-grid {
    width: 100%;
    max-width: 100%;
}
.wolqr-tool .while-uploading{
    margin-top: 18px;
}

.wolqr-progressbar{
    width: 100%;
    height: 5px;
    border: 1px solid gray;
    border-radius: 10px;
    overflow: hidden;
}
.wolqr-progressbar .inner{
    border-radius: inherit;
    transition: .5s;
    width: 0;
    height: 100%;
    background-color: var(--main);
}
#wolqr-story-background-uploader-tool.disabled{
    pointer-events: all;