#cme-container .hidden {
    display: none !important
}

@media (min-width: 992px) {
    #cme-container.form-aligned.align-right #cme-form-main.cme-tpl-custom {
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: auto !important
    }

    #cme-container.form-aligned.align-left #cme-form-main.cme-tpl-custom {
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        right: auto !important
    }

    #cme-container.form-aligned #cme-form-main.cme-tpl-custom {
        z-index: 111;
        position: fixed !important;
        background: #313132;
        border: 0;
        border-radius: 0;
        padding: 0 10px
    }

    #cme-container.form-aligned #cme-form-main.cme-tpl-custom .h6 {
        border-bottom: 1px solid rgba(239, 239, 239, 0.3);
        background: transparent;
        color: #e6e6e6
    }

    #cme-container.form-aligned #cme-form-main.cme-tpl-custom .callme-field {
        color: #e6e6e6
    }

    #cme-container.form-aligned #cme-form-main.cme-tpl-custom label {
        color: #e6e6e6
    }

    #cme-container.form-aligned #cme-form-main.cme-tpl-custom label.has-error {
        background: #f2dede;
        color: #a94442
    }

    #cme-container.form-aligned #cme-form-main.cme-tpl-custom form {
        height: 100%
    }

    #cme-container.form-aligned #cme-form-main.cme-tpl-custom form:before {
        content: '';
        display: inline-block;
        vertical-align: middle;
        height: 100%
    }

    #cme-container.form-aligned #cme-form-main.cme-tpl-custom #cme-captcha {
        margin: 0 -9px;
        padding-right: 19px;
        padding-left: 19px
    }

    #cme-container.form-aligned #cme-form-main.cme-tpl-custom #callme-close {
        position: absolute;
        top: 10px;
        right: 8px
    }

    #cme-container.form-aligned #cme-form-main.cme-tpl-custom .cme-btn-place span {
        position: absolute;
        bottom: 10px;
        right: 8px
    }

    #cme-container.form-aligned #cme-form-main.cme-tpl-custom #callme-submit {
        width: 100%
    }

    #cme-container.form-aligned #cme-form-main.cme-tpl-custom #callme-fields-container {
        display: inline-block;
        width: 100%;
        vertical-align: middle
    }

    #cme-container.form-right #cme-btn {
        display: none
    }
}

#cme-container #cme-form-main.cme-tpl-custom {
    box-sizing: border-box;
    background: url(../img/form-catalog-bg.png) center center no-repeat;
    z-index: 109;
    font-family: "Lucida Grande", Tahoma;
    font-size: 13px;
    display: none;
    position: absolute;
    right: 0;
    left: 50%!important;
    transform: translate(-50%);
    top: 150px;
    color: grey;
    padding: 0 114px;
    padding-top: 34px;
    min-height: 545px;
    max-width: 485px;
    width: 100%;
    /*margin-left: -118px;*/
}

@media (max-width: 992px) {
    #cme-container #cme-form-main.cme-tpl-custom {
        /*width: 76%;*/
        right: auto;
        top: auto;
        /*left: 12% !important;*/
        z-index: 111
    }
}

@media (max-width: 480px) {
    #cme-container #cme-form-main.cme-tpl-custom {
        top: auto;
        z-index: 111;
        padding: 15px;
        background: none;
    }
    .bem_lightbox {
        background: #fff;
        padding-bottom: 25px;
    }
}

#cme-container #cme-form-main.cme-tpl-custom .callme-fields {
    padding: 0 0 5px
}

#cme-container #cme-form-main.cme-tpl-custom #cme-captcha {
    background: rgba(99, 123, 173, 0.15);
    padding-bottom: 7px
}

#cme-container #cme-form-main.cme-tpl-custom #cme-captcha label {
    display: inline-block;
    width: 67%;
    padding-top: 6px
}

#cme-container #cme-form-main.cme-tpl-custom #cme-captcha label b {
    padding-right: 15px
}

#cme-container #cme-form-main.cme-tpl-custom #cme-captcha label span {
    font-weight: normal;
    padding-left: 5px
}

#cme-container #cme-form-main.cme-tpl-custom #cme-captcha input {
    display: inline-block;
    float: right;
    width: 30%;
    min-width: 85px;
    font-size: 12px;
    text-align: center
}

#cme-container #cme-form-main.cme-tpl-custom .callme-field {
    padding: 7px 10px 0;
    display: block;
    color: grey;
    font-size: 12px;
    clear: both;
    margin-top: 10px;

}

@media (max-width: 992px) {
    #cme-container #cme-form-main.cme-tpl-custom .callme-field {
        font-size: 15.6px
    }
}

@media (max-width: 480px) {
    #cme-container #cme-form-main.cme-tpl-custom .callme-field {
        font-size: 19.2px
    }
}

#cme-container #cme-form-main.cme-tpl-custom .callme-field label {
    display: block;
    margin: 0 -3px 2px;
    padding: 3px 3px 5px
}

#cme-container #cme-form-main.cme-tpl-custom .callme-field label.has-error {
    background: #f2dede;
    color: #a94442
}

#cme-container #cme-form-main.cme-tpl-custom .callme-field textarea {
    resize: none
}

#cme-container #cme-form-main.cme-tpl-custom .callme-field [type=text], #cme-container #cme-form-main.cme-tpl-custom .callme-field [type=tel], #cme-container #cme-form-main.cme-tpl-custom .callme-field [type=number], #cme-container #cme-form-main.cme-tpl-custom .callme-field [type=email], #cme-container #cme-form-main.cme-tpl-custom .callme-field textarea {
    border: 1px solid #98a198;
    width: 100%;
    border-radius: 1px;
    color: #000;
    font-size: 13px;
    padding: 5px 3px !important;
    outline: 0;
    background: #fff
}

#cme-container #cme-form-main.cme-tpl-custom .callme-field [type=text].has-error, #cme-container #cme-form-main.cme-tpl-custom .callme-field [type=tel].has-error, #cme-container #cme-form-main.cme-tpl-custom .callme-field [type=number].has-error, #cme-container #cme-form-main.cme-tpl-custom .callme-field [type=email].has-error, #cme-container #cme-form-main.cme-tpl-custom .callme-field textarea.has-error {
    background: #f2dede;
    color: #a94442
}

@media (max-width: 992px) {
    #cme-container #cme-form-main.cme-tpl-custom .callme-field [type=text], #cme-container #cme-form-main.cme-tpl-custom .callme-field [type=tel], #cme-container #cme-form-main.cme-tpl-custom .callme-field [type=number], #cme-container #cme-form-main.cme-tpl-custom .callme-field [type=email], #cme-container #cme-form-main.cme-tpl-custom .callme-field textarea {
        font-size: 15.6px
    }
}

@media (max-width: 480px) {
    #cme-container #cme-form-main.cme-tpl-custom .callme-field [type=text], #cme-container #cme-form-main.cme-tpl-custom .callme-field [type=tel], #cme-container #cme-form-main.cme-tpl-custom .callme-field [type=number], #cme-container #cme-form-main.cme-tpl-custom .callme-field [type=email], #cme-container #cme-form-main.cme-tpl-custom .callme-field textarea {
        font-size: 19.2px
    }
}

#cme-container #cme-form-main.cme-tpl-custom .callme-field select {
    border: 1px solid #98a198;
    background: #fff;
    width: 100%;
    padding: 4px 3px 3px 9px;
    border-radius: 1px;
    outline-style: none;
    margin: 0 0 5px;
    font-size: 13px;
    cursor: pointer;
    font-family: "Lucida Grande", Tahoma;
    outline: 0;
    height: 30px
}

@media (max-width: 992px) {
    #cme-container #cme-form-main.cme-tpl-custom .callme-field select {
        font-size: 15.6px
    }
}

@media (max-width: 480px) {
    #cme-container #cme-form-main.cme-tpl-custom .callme-field select {
        font-size: 19.2px
    }
}

#cme-container #cme-form-main.cme-tpl-custom #callme-submit {
    background-color: #02C568;
    border: 0px;
    width: 100%;
    display: inline-block;
    border-radius: 4px;
    height: 54px;
    line-height: 54px;
    text-transform: uppercase;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    letter-spacing: 0.05em;
    position: relative;
    opacity: .999;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    margin-top: 35px;
    color: #FFFFFF;
    overflow: hidden;
    background-color: #00c66b !important;
    text-indent: 0;
    border: 1px solid #00c56a !important;
    margin: 0;
    border: 0 none;
    display: inline-block;
    -moz-box-shadow: inset 0px 1px 0px 0px #bee2f9;
    -webkit-box-shadow: inset 0px 1px 0px 0px #bee2f9;
    box-shadow: inset 0px 1px 0px 0px #bee2f9;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#63b8ee', endColorstr='#468ccf');
    background-color: #63b8ee;
    text-indent: 0;
    border: 1px solid #3866a3;
    padding: 7px 20px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    text-shadow: rgba(0,0,0,.4) 0 1px 0;
    color: #fff;
    font-size: 13px;
    line-height: 14px;
    font-family: Helvetica, Arial, Sans-Serif;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
}

@media (max-width: 992px) {
    #cme-container #cme-form-main.cme-tpl-custom #callme-submit {
        font-size: 15.6px
    }
}

@media (max-width: 480px) {
    #cme-container #cme-form-main.cme-tpl-custom #callme-submit {
        font-size: 19.2px;
        min-width: 0
    }
}

#cme-container #cme-form-main.cme-tpl-custom #callme-submit:active {
    opacity: .8
}

#cme-container #cme-form-main.cme-tpl-custom .h6 {
    font-size: 15px;
    padding: 12px 0 11px 10px;
    margin: 0 0 7px 0;
    text-align: center;
    font-weight: bold;
    color: #3c3c3c;
}

@media (max-width: 992px) {
    #cme-container #cme-form-main.cme-tpl-custom .h6 {
        font-size: 15.6px
    }
}

@media (max-width: 480px) {
    #cme-container #cme-form-main.cme-tpl-custom .h6 {
        font-size: 19.2px
    }
}

#cme-container #cme-form-main.cme-tpl-custom span div {
    float: left;
    display: inline;
    margin: 0 5px 0 0;
    line-height: 19px
}

#cme-container #cme-form-main.cme-tpl-custom #callme-close {
    font-size: 50px;
    overflow: hidden;
    border-radius: 2px;
    text-align: center;
    padding: 0 3px 3px;
    display: inline;
    color: #fff;
    text-shadow: none;
    margin: 9px 9px 0 0;
    cursor: pointer;
    text-decoration: none;
    position: absolute;
    top: -68px;
    right: 0;
}

#cme-container #cme-form-main.cme-tpl-custom #callme-close:hover {
    color: #fff;
    opacity: .8
}

@media (max-width: 992px) {
    #cme-container #cme-form-main.cme-tpl-custom #callme-close {

    }
}

@media (max-width: 480px) {
    #cme-container #cme-form-main.cme-tpl-custom #callme-close {
    }
}

#cme-container #cme-form-main.cme-tpl-custom .cme-btn-place {
    text-align: center
}

#cme-container #cme-form-main.cme-tpl-custom .cme-btn-place span {
    display: none;
    position: absolute;
    right: 10px;
    padding: 9px 0 0 0 !important;
    font-size: 8px !important;
    color: #888 !important
}

#cme-container #cme-form-main.cme-tpl-custom .cme-btn-place span a {
    font-size: 12px;
    color: #888
}

#cme-container #cme-form-main.cme-tpl-custom .cme-btn-place span a:hover {
    text-decoration: none
}

#cme-container #cme-form-main.cme-tpl-custom .callmebody {
    font-size: 13px;
    background: #fff;
    padding: 5px 10px
}

#cme-container #cme-form-main.cme-tpl-custom .callmebody .inf {
    padding: 0 5px;
    margin: 0 0 10px 0;
    font-weight: bold;
    clear: both
}

#cme-container #cme-btn.cme-tpl-custom {
    position: fixed;
    top: 225px;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    right: -83px;
    width: 190px;
    z-index: 110;
    text-align: center;
    line-height: 100%;
    border-radius: 3px 3px 0 0;
    height: 30px;
    overflow: hidden
}

#cme-container #cme-btn.cme-tpl-custom a {
    font-size: 13px;
    font-weight: normal;
    font-family: "Lucida Grande", Tahoma;
    height: 30px;
    background: -webkit-linear-gradient(#02D270, #02a155);
    background: linear-gradient(#02D270, #02a155);
    width: 100%;
    display: block;
    white-space: nowrap;
    text-oveflow: ellipsis;
    padding: 5px 0;
    color: #fff;
    text-decoration: none
}

#cme-container #cme-btn.cme-tpl-custom a:hover {
    text-decoration: none;
    background: -webkit-linear-gradient(#02a155, #02D270);
    background: linear-gradient(#02a155, #02D270);
}

#cme-back {
    display: none;
    z-index: 108;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    background: rgba(51, 51, 51, 0.5);
    min-height: 100vh
}

@-webkit-keyframes callme-spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@keyframes callme-spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

.callme-result {
    display: block;
    clear: both;
    margin: 5px 10px 10px;
    text-align: left
}

.callme-result div {
    padding: 7px 7px
}

.callme-result div.callme-sending {
    position: relative;
    background-color: rgba(152, 196, 98, 0.2);
    padding-left: 40px;
    color: grey
}

.callme-result div.callme-sending:before {
    border: 3px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    border-top: 3px solid #98c462;
    content: ' ';
    left: 10px;
    top: 6px;
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    -webkit-animation: callme-spin .7s linear infinite;
    animation: callme-spin .7s linear infinite
}

.callme-result div.callme-success {
    background: #98c462;
    color: #fff;
    text-shadow: none
}

.callme-result div.callme-error {
    background: #f2dede;
    border: 1px solid #a94442;
    color: #a94442;
    text-shadow: none
}
