/* Slick Modals Stats */
@import url('https://fonts.googleapis.com/css?family=Raleway:200,400,700');
* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: normal;
    font-style: normal;
    font-size: 100%;
    font-family: 'Raleway', sans-serif;
    vertical-align: baseline;
    line-height: normal;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
body {
    background: #f0f0f0;
    color: #333;
}
#content,
.note {
    max-width: 800px;
    display: block;
    margin: 30px auto;
    color: #333;
    --webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
}
.header,
.note {
    padding: 0 46px;
}
.header {
    margin-bottom: 30px;
}
.header > div {
    font-size: 24px;
    font-weight: 700;
    color: #5c94d1;
}
.header > span {
    font-size: 12px;
}
#content {
    position: relative;
    font-size: 14px;
}
#content .inner {
    background: #fff;
    padding: 46px;
    box-shadow: 0 0 40px rgba(0,0,0,0.1);
}

/*
  Generator
  --------------------------------*/
#previewPopup .slickWindow {
    width: 480px;
    height: 280px;
    background-color: #fff;
    -webkit-animation-duration: 0.4s;
    animation-duration: 0.4s;
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
    box-shadow: 0 0 20px 0 rgba(0,0,0,0.4);
    margin: 30px;
    padding: 30px;
}
#previewPopup .slickOverlay {
    background: rgba(0,0,0,0.85);
    -webkit-animation-duration: 0.4s;
    animation-duration: 0.4s;
}
#previewPopup .slickContent {
    text-align: center;
    top: 50%;
    margin-top: -64px;
    -webkit-animation-duration: 0.4s;
    animation-duration: 0.4s;
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
}
#previewPopup .slickContent .title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}
#previewPopup .slickContent p {
    font-size: 14px;
    line-height: 20px;
}
#previewPopup .slickContent .cta {
    font-size: 13px;
    color: #fff;
    background: #3dc197;
    width: 100px;
    margin: 20px auto;
    line-height: 30px;
    font-weight: 700;
}
#previewPopup .slickContent .cta:hover {
    opacity: 0.7;
}
#slickGenerator {
    display: inline-block;
    width: 100%;
}
#openPreview,
#generateSettings {
    padding: 10px 30px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    margin-top: 10px;
    margin-bottom: 10px;
}
#openPreview {
    background: #3dc197;
    margin-right: 10px;
}
#generateSettings {
    background: #333;
}
#openPreview:hover,
#generateSettings:hover {
    opacity: 0.7;
}
#slickGenerator .field {
    display: inline-block;
    width: 100%;
    margin: 0 0 6px 0;
    line-height: 26px;
    position: relative;
    transition: all 0.1s ease;
}
#slickGenerator .field .arrow {
    background: url("select.svg") 0 0 no-repeat;
    background-size: 100%;
    display: inline-block;
    width: 10px;
    height: 10px;
    content: "";
    margin-left: -20px;
    cursor: pointer;
    pointer-events: none;
}
#slickGenerator .field input,
#slickGenerator .field select {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    line-height: 26px;
    height: 26px;
    font-size: 12px;
    color: #333;
    padding: 0 12px;
    background: transparent;
    display: inline-block;
    float: left;
    transition: opacity 0.15s ease;
}
#slickGenerator .field input[type="text"],
#slickGenerator .field select {
    border: solid 1px #aaa;
}
#slickGenerator .notActive {
    opacity: 0.4;
    pointer-events: none;
}
#slickGenerator .field input:focus,
#slickGenerator .field select:focus {
    outline: none;
}
#slickGenerator .field select {
    padding-right: 34px;
}
#slickGenerator .field select option {
    background: #fff;
    color: #000;
}
#slickGenerator .field label {
    cursor: pointer;
}
#slickGenerator .field .customInput {
    display: inline-block;
    position: relative;
}
#slickGenerator .field .customInput input[type="radio"] {
    display: none;
}
#slickGenerator .field .customInput label {
    display: inline-block;
    position: relative;
    padding-left: 30px;
    font-weight: 700;
    font-size: 12px;
    margin-right: 30px;
}
#slickGenerator .field .customInput label:before,
#slickGenerator .field .customInput label:after {
    position: absolute;
    content: "";
    display: block;
    border-radius: 50%;
}
#slickGenerator .field .customInput label:before {
    left: 0;
    top: -2px;
    border: solid 1px #aaa;
    border-radius: 50%;
    width: 14px;
    height: 14px;
}
#slickGenerator .field .customInput label:after {
    left: 4px;
    top: 2px;
    background: #333;
    width: 8px;
    height: 8px;
    display: none;
}
#slickGenerator .field .customInput input[type="radio"]:checked + label:after {
    display: block;
}
#slickGenerator .field input[type=range] {
    width: 70%;
    padding: 0;
    background: transparent;
}
#slickGenerator .field input[type=range] {
    outline: none;
}
#slickGenerator .field input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 2px;
    cursor: pointer;
    animate: 0.2s;
    background: rgba(0,0,0,0.4);
    border-radius: 0px;
}
#slickGenerator .field input[type=range]::-webkit-slider-thumb {
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background: #333;
    cursor: pointer;
    border: none;
    -webkit-appearance: none;
    margin-top: -5px;
}
#slickGenerator .field input[type=range]::-moz-range-track {
    width: 100%;
    height: 2px;
    cursor: pointer;
    animate: 0.2s;
    background: #333;
    border-radius: 0px;
}
#slickGenerator .field input[type=range]::-moz-range-thumb {
    border: none;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background: #333;
    cursor: pointer;
}
#slickGenerator .field input[type=range]::-ms-track {
    width: 100%;
    height: 2px;
    cursor: pointer;
    animate: 0.2s;
    background: transparent;
    border-color: transparent;
    color: transparent;
}
#slickGenerator .field input[type=range]::-ms-fill-lower {
    background: rgba(0,0,0,0.4);
    border: none;
    border-radius: 0px;
}
#slickGenerator .field input[type=range]::-ms-fill-upper {
    background: rgba(0,0,0,0.4);
    border-radius: 0px;
}
#slickGenerator .field input[type=range]::-ms-thumb {
    border: 2px solid rgba(0,0,0,0.4);
    height: 14px;
    width: 14px;
    border-radius: 50%;
    background: #333;
    cursor: pointer;
}
#slickGenerator .field input[type=range]:focus::-ms-fill-lower {
    background: #333;
}
#slickGenerator .field input[type=range]:focus::-ms-fill-upper {
    background: #333;
}
#slickGenerator .section {
    width: 100%;
    float: left;
    clear: both;
    display: none;
    margin: 20px 0;
}
#slickGenerator .section:first-of-type {
    margin-top: 0;
}
#slickGenerator .subtitle {
    font-size: 14px;
    line-height: 36px;
    float: left;
    clear: both;
    width: 100%;
    background: #eee;
    margin: 10px 0;
    color: #999;
    padding: 0 16px;
    cursor: pointer;
}
#slickGenerator .subtitle:first-of-type {
    margin-top: 0;
}
#slickGenerator .subtitle:hover,
#slickGenerator .subtitle.active {
    color: #fff;
    background: #5c94d1;
}
#slickGenerator .subtitle:not(.active):hover {
    opacity: 0.6;
}
#slickGenerator .subtitle:after {
    float: right;
    font-size: 24px;
}
#slickGenerator .subtitle:after {
    content: "+"
}
#slickGenerator .subtitle.active:after {
    content: "-"
}
#slickGenerator .optionTitle {
    font-size: 12px;
    color: #000;
    display: inline-block;
    float: left;
    width: 30%;
    height: 26px;
    line-height: 26px;
    position: relative;
}
#slickGenerator .optionTitle:before {
    display: inline-block;
    content: "";
    background: #222;
    border-radius: 50%;
    width: 4px;
    height: 4px;
    vertical-align: middle;
    margin-right: 6px;
    opacity: 0.3;
}
#slickGenerator .optionTitle:hover {
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-color: #5c94d1;
    cursor: default;
}
#slickGenerator .optionTitle span.info {
    display: none;
    position: absolute;
    top: -16px;
    right: 100%;
    background: #333;
    color: #fff;
    padding: 14px;
    width: 160px;
    text-align: left;
    font-weight: normal;
    border-radius: 4px;
    font-size: 11px;
    z-index: 10;
}
#slickGenerator .optionTitle span.info:before {
    position: absolute;
    top: 50%;
    right: -4px;
    margin: -5px 0 0 0;
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 4px;
    border-color: transparent transparent transparent #333;
}
#slickGenerator .optionTitle:hover span.info {
    display: block;
}
#slickGenerator .val {
    position: absolute;
    right: -50px;
    top: 4px;
    color: #fff;
    width: 40px;
    background: #333;
    padding: 4px;
    transition: all 0.2s ease;
    text-align: center;
    border-radius: 4px;
    opacity: 0;
    transform: translateX(10px);
}
#slickGenerator .val:before {
    content: "";
    position: absolute;
    left: -4px;
    top: 4px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 4px 5px 0;
    border-color: transparent #333 transparent transparent;
}
#slickGenerator .val,
#slickGenerator .val span {
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
}
#slickGenerator .field:not(.notActive) input[type=range]:focus ~ .val {
    opacity: 1;
    transform: translateX(0);
}
#previewPopup .noTransition {
    transition: none !important;
    animation: none !important;
}
.note {
    font-size: 11px;
    margin-top: 20px;
    line-height: 18px;
}
.note:before {
    display: inline-block;
    content: "?";
    background: red;
    color: #fff;
    font-weight: 700;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    margin-right: 8px;
    border-radius: 50%;
    vertical-align: top;
}

/* Generated settings */
#generated .loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    max-width: 800px;
    height: 100%;
    margin: auto;
    content: "";
    background: #fff;
    z-index: 10;
}
#generated.isActive .loader > div {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #5c94d1;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
#generated .slickOverlay {
    background: rgba(0,0,0,0.85);
    -webkit-animation-duration: 0.4s;
    animation-duration: 0.4s;
}
#generated .slickWindow {
    max-width: 800px;
    overflow-y: auto;
    margin: auto;
    background: #fff;
    padding: 50px;
    -webkit-animation-duration: 0.4s;
    animation-duration: 0.4s;
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}
#generated .slickWindow .title {
    font-size: 32px;
}
#generated .slickWindow p {
    font-size: 12px;
    padding: 10px 0 0 0;
    opacity: 0.7;
}
#generated .slickWindow ol {
    margin: 20px 0 10px 0;
}
#generated .slickWindow ol li {
    font-size: 12px;
    line-height: 22px;
    margin-left: 12px;
    opacity: 0.7;
}
#generated .slickWindow #selectText {
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: #5c94d1;
    line-height: 24px;
    display: inline-block;
    padding: 0 12px;
    cursor: pointer;
}
#generated .slickWindow #selectText:hover {
    opacity: 0.7;
}
#generated .slickWindow #code {
    display: inline-block;
    width: 100%;
    font-family: "Courier New", Courier, monospace;
    font-size: 12px;
    line-height: 20px;
    padding: 0 12px;
    background-image: url("pre.png");
    margin-top: 20px;
}
#generated .slickWindow #code span {
    font-family: "Courier New", Courier, monospace;
}
#generated .slickWindow #code .comment {
    color: #aaa;
}