/* Order form */

/* Для страницы /order/ */

.order-page .simple_order {
    margin: 0 auto;
}

.order-page .order-form {
    min-height: 342px;
}

.order-page .order-services-block {
    margin-bottom: 30px;
}

@media (min-width: 768px) and (max-width: 991px) {
    .order-page .simple_order {
        width: auto;
    }
}

/* Для страницы /order/ [end] */


.simple_order {
    margin: 29px 0 0 auto;
    width: 280px;
    /*
        FIX For Android 4.0.3
        http://stackoverflow.com/questions/12923305/is-there-any-workaround-polyfill-for-android-4-0-3-stock-browser-z-index-issues
        Исправляет проблему с плагином expose из jquery tools, он затемнял все вместе с формой.
    */
    -webkit-transform:translateZ(0);
    }
    .simple_order .so_title {
        font-size: 20px;
        font-weight: 300;
        padding: 3px 0 5px 0;
        text-align: center;
    }
    
/* Убирает правую границу у инпута и левую у значка */
.order-form .form-group:not(.has-error):not(.has-success):not(.has-warning) .form-control {
    border: 1px solid #fff;
    }
    .order-form .input-group .form-control {
        border-right: none !important;
    }
.order-form .form-group:not(.has-error):not(.has-success):not(.has-warning) .input-group-addon {
    border: 1px solid #fff;
    color: #CECECE;
    }
    .order-form .input-group .input-group-addon {
        border-left: none !important;
    }
/* Убирает правую границу у инпута и левую у значка [end] */

.external-link-icon {
    display: inline-block;
    background: url("https://images.netpeak.ua/site/team/new-window.gif") no-repeat scroll 0 0px rgba(0, 0, 0, 0);
    height: 11px;
    width: 11px;
}

.order-form {
    background-color: #15a4ce;
    border-radius: 3px;
    position: relative;
    min-height: 338px;
    padding: 2px;
}

/* Блок с инпутами */

.order-form .main-fields-block {
    padding: 13px 18px 70px;
}

.order-form .main-fields-block .form-group {
    margin-bottom: 22px;
}

.order-form .main-fields-block .form-control {
    font-size: 14px;
    padding: 2px 2px 2px 8px;
}

.order-form .main-fields-block textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

.order-form .main-fields-block .input-group-addon {
    background-color: #fff;
    padding: 3px 4px 2px;
}

.order-form .main-fields-block #sof_ds {
    width: 100%;
}

.order-form .main-fields-block #sof_ph, .order-form .main-fields-block #sof_e {
    width: 100%;
    font-size: 13.8px;
    line-height: 3;
}

.order-form .main-fields-block .custom-input-group {
    display: block;
    position: relative;
}

.order-form .main-fields-block .custom-input-group-addon {
    display: block;
    width: 35px;
    position: absolute;
    top: 0;
    right: -2px;
    height: 100%;
}

.order-form .main-fields-block .custom-input-group-addon .netpeak-globe {
    font-size: 18px;
    position: absolute;
    top: calc(50% - 9px);
    left: 5px;
}

.gdpr-bg-modal {
    padding: 20px;
    text-align: justify;
}

/* Блок с инпутами [end] */

    /* Блок с выбором услуг */
    .order-form .services {
        background-color: #00B8E4;
        font-size: 17px;
        }
        .order-form .services > div {
            border-top: 1px solid #15a4ce;
            }
            .order-form .services > div :first-child {
                border-top: none;
            }
            
            .order-services-block .service-category {
                font-weight: bold;
            }
            .order-services-block > div label {
                font-weight: normal;
                padding-right: 10px;
                }
                .order-form .services li label.checked {
                    background-color: #15a4ce;
                    color: #fff;
                    }
                    .order-form .services li label.checked .icons {
                        z-index: 5;
                    }
                .order-services-block .checkbox {
                    cursor: pointer;
                    margin: 2px 0;
                    }
                    .order-services-block .checkbox .icons {
                        left: 0;
                        right: auto;
                        top: 4px;
                        width: 31px;
                        }
                        .order-services-block .checkbox .icons > span:before {
                            margin: 0;
                        }
                        .order-services-block .checkbox .icons .first-icon,
                        .order-services-block .checkbox .icons .second-icon {
                            left: 9px;
                        }
    /* Блок с выбором услуг [end] */
    /* Блок с кнопками */
    .order-form .so-bottom {
        border-top: 1px solid #15A4CE;
        bottom: 0;
        left: 0;
        margin-bottom: 2px;
        position: absolute;
        width: 100%;
        }
        .order-form .so-bottom .submit-block,
        .order-form .so-bottom .choose-block {
            line-height: 59px;
        }
        .order-form .so-bottom .choose-block {
            padding-left: 20px;
            width: 50%;
            white-space: nowrap;
            }
            .order-form .so-bottom .choose-block span {
                font-size: 12px;
                line-height: 1;
            }
            .order-form .so-bottom .pseudo-link {
              border-bottom-color: #FFF;
              color: #FFF !important;
            }
        .order-form .so-bottom .submit-block {
            width: 50%;
            }
            .order-form .so-bottom .submit-block button {
            background-color: #F07F1B;
            border: none;
            font-size: 15px;
            padding: 4px 0;
            margin: 0 18px 0 0;
            /*height: 34px;*/
            width: 115px;
            }
            .order-form .so-bottom .submit-block button .in-order-btn-text{
              white-space: pre-line;
              line-height: 1;
              margin: 0px 0px 3px;
              font-size: 13px;
            }
.services-checkboxes {
    display: none;
}
.services-checkboxes > .row {
    margin: 15px 0;
}
    /* Блок с кнопками [end] */

@media (max-width: 767px) {
    .simple_order {
        width: auto;
    }
    .order-form .services label {
        max-height: 28px;
    }
}

@media (max-width: 991px) {
    .order-form .main-fields-block .checkbox:active {
        position: relative;
        top: 1px;
    }
    .order-form .main-fields-block .checkbox {
        padding-left: 32px;
        min-height: 30px;
    }
    .order-form .main-fields-block .checkbox .icons,
    .order-form .main-fields-block .radio .icons {
        font-size: 20px;
        height: 20px;
        line-height: 20px;
        width: 20px;
    }
    .order-form .main-fields-block #descr {
        position: relative;
        top: 3px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .simple_order {
        margin-left: auto;
        margin-right: auto;
        width: 400px;
    }
}

/* Order form [end] */

/* Domains */

#sof_ds + .tag-editor {
    background: #fff;
    /*width: 100%;*/
    border: 1px solid #fff;
    border-radius: 3px 0 0 3px;
    padding: 2px;
}


#sof_ds +.tag-editor li { display: block; float: left; overflow: hidden !important; margin: 3px 0; }
#sof_ds +.tag-editor div { float: left; padding: 0 4px; }


#sof_ds + .tag-editor .tag-editor-tag {
    color: #fff;
    background: #00b8e4;
    border-radius: 3px 0 0 3px;
    padding: 2px 5px;
}

#sof_ds + .tag-editor .placeholder {
    padding: 2px 3px;
    color: #a2a2a2;
}

#sof_ds + .tag-editor .tag-editor-spacer {
    width: 5px;
}

#sof_ds +.tag-editor .tag-editor-delete {
    background: #15a4ce;
    border-radius: 0 3px 3px 0;
    padding: 2px 5px;
}

#sof_ds +.tag-editor .tag-editor-delete i:before {
    color: #fff;
}

#sof_ds +.tag-editor .tag-editor-delete:hover i:before {
    color: red;
}

.privacy-block a {
    text-decoration: underline;
}

.privacy-block a:hover {
    text-decoration: none;
}

.privacy-block, .privacy-block a {
    color: #fff;
}

.privacy-block {
    display: flex;
    margin-bottom: 5px;
    font-weight: bold;
    align-items: center;
}

.privacy-block > * {
    margin: 5px;
    text-align: center;
}

.privacy-block.has-error, .privacy-block.has-error a {
    color: red;
}