.preview_form .checkbox label input.book {
    width: 100%;
    display: flex;
    margin: auto;
    overflow: hidden;
}

.book section {
    width: 100%;
    height: 100%;
    position: relative;
}

.myBook {
    position: relative;
}

.myBook section button {
    bottom: 0;
}

.page-next {
    right: 0
}


label .error {
    color: red !important;
}

.progress {
    position: relative;
}

.progress span {
    position: absolute;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 2;
    font-weight: bold;
}

.progress {
    height: 25px;
    padding: 5px;
    overflow: visible;
    border-radius: 20px;
    border-top: 1px solid #000;
    border-bottom: 1px solid #7992a8;
    margin-top: 50px;
}

.progress .progress-bar {
    border-radius: 20px;
    position: relative;
    animation: animate-positive 2s;
}

.progress .progress-value {
    display: block;
    padding: 3px 7px;
    font-size: 13px;
    color: #fff;
    border-radius: 4px;
    background: #191919;
    border: 1px solid #000;
    position: absolute;
    right: -10px;
}

.progress .progress-value:after {
    content: "";
    border-top: 10px solid #191919;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    position: absolute;
    bottom: -6px;
    left: 26%;
}

.progress-bar.active {
    animation: reverse progress-bar-stripes 0.40s linear infinite, animate-positive 2s;
}

@-webkit-keyframes animate-positive {
    0% {
        width: 0;
    }
}

@keyframes animate-positive {
    0% {
        width: 0;
    }
}


.preview_form:before {
    position: absolute;
    content: "";
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    z-index: -1;
}

.preview_form .form_title {
    position: relative;
    z-index: 2;
}

.preview_form .form_title:before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.preview_form .form_title h1,
.preview_form .form_title h2,
.preview_form .form_title h3,
.preview_form .form_title h4 {
    color:#fff;
    margin:10px 0;
    text-align: center;
    font-size: 25px;
    font-weight: 500;
}
.preview_form.background-not-show  h1,
.preview_form.background-not-show  h2,
.preview_form.background-not-show  h3,
.preview_form.background-not-show  h4
.preview_form.background-not-show .top_progress {
    color:#24505c;
}

.preview_form .progress-bar {
    line-height: 15px;
    font-size: 12px;
    background-color: #72d9e1;
    border-radius: 0.15rem 0.15rem 0px 0px;
}


.preview_form .myBook .form-control {
    margin: 0px !important;
}
.preview_form .myBook .form-control::placeholder{
    color: #b3b3b3;
}
.preview_form .myBook .input-group-btn {
    /* margin-top: 5px !important;
    display: inline-block; */
}
.preview_form .input-group-append {
    display: flex !important;
}
.preview_form section {
    height: auto !important;
}

.preview_form h1,
.preview_form h2,
.preview_form h3,
.preview_form h4 {
    color: #24505c;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: .5px;
    text-align: left;
    margin: 0px 0px 15px 0px;
    padding: 0px;
}

.preview_form p {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    text-align: left;
    margin: 15px 0px;
    padding: 0px;
}
.preview_form.background-not-show p{
    color:#24505c;
}
.preview_form label {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
}
.preview_form.background-not-show label{
    color:#24505c !important;
}
.preview_form .error {
    color: red !important;
}

.preview_form input {
    border-radius: 0px;
    border: 1px solid #01e6ae !important;
    border-radius: 0.15rem;
    color: #333333;
}

input::-webkit-input-placeholder {
    color: #333333;
    opacity: 1;
}

input::-moz-placeholder {
    color: #333333;
    opacity: 1;
}

input:-ms-input-placeholder {
    color: #333333;
    opacity: 1;
}

input:-moz-placeholder {
    color: #333333;
    opacity: 1;
}

.preview_form select {
    border: none;
    border-radius: 0px;
    border: 1px solid #01e6ae;
    border-radius: 0.15rem;
    color: #333333;
}

.preview_form .checkbox {
    position: relative;
    display: inline-block;
    vertical-align: top;
    background: #FFFFFF;
    margin: 0px 5px 5px 0px;
}

.preview_form .checkbox label input {
    top: auto !important;
    float: left;
}
.preview_form .checkbox{
    padding-left: 2em;
}

.preview_form .thankyou-page {
    position: relative;
    padding: 50px 0px;
}

.preview_form .thankyou-page h5 {
    margin: 0px;
    padding: 0px;
    text-align: center;
    font-size: 25px;
    font-weight: 700;
    color: #333333;
}

/*** ### Form Steps ### ***/
.preview_form .form_steps {
    position: relative;
}

.preview_form .form_steps ul {
    margin: 15px 0px 0px 0px;
    padding: 0px;
    list-style: none;
    text-align: center;
}

.preview_form .form_steps li {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #333333;
    background: #FFFFFF;
    border-radius: 50%;
    margin: 0px 25px;
}

.preview_form .form_steps li:first-child {
    margin-left: 0px;
}

.preview_form .form_steps li:last-child {
    margin-right: 0px;
}

.preview_form .form_steps li:first-child::before {
}

.form-template-fill .card-body {
    padding: 0px;
    border: none !important;
}

@media (max-width: 767px) {
#right-modal .modal-body{
    padding: 1rem 0px;
}
.preview_form .myBook {
    padding: 20px 15px;
}

    .form-template-fill {
        width: 100%;
        max-width: 100% !important;
    }
}
.preview_form .form_title h1,
.preview_form .form_title h2,
.preview_form .form_title h3,
.preview_form .form_title h4 {
    font-size: 20px;
}
.preview_form h1,
.preview_form h2,
.preview_form h3,
.preview_form h4 {
    font-size: 25px;
}
.preview_form p {
    font-size: 14px;
}
.preview_form label {
    font-size: 12px;
}
.preview_form .checkbox label {
    font-size: 12px;
}
.preview_form .radio label {
    font-size: 12px;
}
.preview_form .thankyou-page h5 {
    font-size: 20px;
}
.container-fluid.form-template-fill{
    padding: 0;
}
.container-fluid.form-template-fill .card{
    margin: 5px;
}
.preview_form .checkbox label{
    color :#555 !important;
}

.preview_form .myBook form .checkbox label input[type = checkbox] {
    left: 0 !important;
    margin-right: 5px !important; 
    top: 4px !important;
}