.lf-window-overlay {
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.50;
    z-index: 998;
    left: 0px;
    top: 0px;
    position: fixed;
}

.lf-leadbox-wrapper.mode-two-step-both .lf-leadbox-form,
.lf-leadbox-wrapper.mobile.mode-two-step-mobile .lf-leadbox-form {
    display: none;
}

.lf-leadbox-wrapper.mode-two-step-both.displayed .lf-leadbox-form,
.lf-leadbox-wrapper.mobile.mode-two-step-mobile.displayed .lf-leadbox-form {
    display: block;
}


.lf-window {
    position: absolute;
    left: 0px;
    right: 0px;
    top: 20px;
    width: 320px;
    max-width: 100%;
    display: block;
    z-index: 999;
    box-shadow: 0px 10px 20px #333;
}

.lf-window .lf-header {
    width: 100%;
    height: 50px;
    padding: 10px;
    text-align: left;
    position: absolute;
}

.lf-window .lf-header .lf-close {
    position: absolute;
    top: -5px;
    right: -5px;
    display: inline-block;
    width: 30px;
    line-height: 25px;
    font-size: 25px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 15px;
    border: 2px solid #fff;
    background-color: #000;
    color: #fff;
    text-align: center;
    z-index: 1000;
}

.lf-window .lf-header .lf-title {
    display: none;
    text-align: left;
    line-height: 30px;
    font-size: 25;
    margin-left: 20px;
}

.lf-window .lf-body {
    width: 100%;
    padding: 10px;
}

.lf-window .lf-body {
    background-color: #fff;
    color: #333;
}

.lf-window .lf-body form {
    background-color: transparent;
}

/*
.mobile .form .form-group {
    padding-bottom: 0px;
    margin-bottom: 0px;
}
*/

#lf-progress {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    z-index: 1000000;
    background: rgba( 255, 255, 255, 0.80 );
}

#lf-progress-spinner {
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    background: url( '/templates/default/img/spinner.gif' ) no-repeat center center;
}

.form-group.slim {
    margin-top: -20px;
    margin-bottom: 0px;
    padding-bottom: 10px;
}

@media ( max-width: 767px ) {
    .form .form-group {
        padding-bottom: 0px;
        margin-bottom: 20px;
    }

    .form-group.slim {
        margin-top: -20px;
    }
}

@media ( max-width: 350px ) {
    .lf-window {
        width: 280px;
    }
}

@media ( max-width: 300px ) {
    .lf-window {
        width: 100%;
    }

    .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7,
    .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9,
    .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
        padding-left: 3px;
        padding-right: 3px;
    }
}


