.newton-modal-window {
    background-color: #fff;
    box-shadow: 0 0 38px 0 rgba(99, 107, 121, 0.42);
    color: #1c2933;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 14px;
    left: 0;
    margin: 0 auto;
    padding: 0;
    position: absolute;
    right: 0;
    text-align: center;
}

.newton-modal-window__progress-bar {
    content: '';
    height: 4px;
    left: 0;
    position: absolute;
    top: 0;
    width: 0;

    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#1b98db+0,177acf+100 */
    background: #1b98db; /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzFiOThkYiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMxNzdhY2YiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, #1b98db 0%, #177acf 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #1b98db 0%,#177acf 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #1b98db 0%,#177acf 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1b98db', endColorstr='#177acf',GradientType=0 ); /* IE6-8 */
}

.newton-modal-window__close {
    background: url('/img/newton/ic_close_black.svg') no-repeat;
    cursor: pointer;
    height: 14px;
    position: absolute;
    right: 20px;
    top: 20px;
    width: 14px;
}

.newton-modal-window__error {
    color: #ff5667;
    font-size: 10px;
    margin-top: 7px;
    min-height: 13px;
    visibility: hidden;
}

.newton-modal-window__step {
    padding: 30px;
}

.newton-modal-window__header {
    color: #287ad7;
    font-size: 20px;
    margin-bottom: 14px;
}

.newton-modal-window__header-icon {
    display: block;
    margin: 0 auto 16px;
    text-align: center;
}

.newton-modal-window__footer {
    margin-top: 20px;
}

/**********************************************************************************************************************/
.newton-checkbox {
    border-radius: 4px;
    box-sizing: border-box;
    color: #46647b;
    cursor: default;
    min-width: 120px;
    padding: 11px 0;
    position: relative;
}

.newton-checkbox:after {
    border-radius: 4px;
    border: 1px solid #94a9b9;
    content: '';
    height: 100%;
    left: -1px;
    position: absolute;
    top: -1px;
    width: 100%;
}

.newton-checkbox:not(.newton-checkbox_checked):hover:after {
    border-color: #287ad7;
}

.newton-checkbox_skype,
.newton-checkbox_viber {
    height: 80px;
    width: 209px;
}

.newton-checkbox_checked:after {
    border: 2px solid #287ad7;
    left: -2px;
    top: -2px;
}

/*.newton-checkbox_checked:after {
    background: url('/img/newton/checked_icon.svg') no-repeat;
    content: '';
    height: 19px;
    position: absolute;
    right: -10px;
    top: -10px;
    width: 19px;
}*/

.newton-checkbox__icon {
    bottom: 1px;
    height: 30px;
    margin-bottom: 9px;
    position: relative;
    vertical-align: middle;
    width: 30px;
}

/**********************************************************************************************************************/
.newton-button {
    border-radius: 15px;
    border: 1px solid #48a5ea;
    color: #177ccf;
    cursor: default;
    display: inline-block;
    height: 28px;
    line-height: 28px;
    min-width: 60px;
    padding: 0 30px;
}

.newton-button span {
    vertical-align: middle;
}

.newton-button_narrow {
    padding: 0 15px;
}

.newton-button_wide {
    padding: 0 50px;
}

.newton-button:not(.newton-button_disabled):hover {
    border-color: #156fcb;
    color: #156fcb;
}

.newton-button_disabled {
    border-color: #969faf;
    color: #4c708b;
}

.newton-button_with-bg {
    background-color: #308cf5;
    border-color: #308cf5;
    box-shadow: 0 0 8px 0 rgba(76, 112, 139, 0.29);
    color: #fff;
}

.newton-button_with-bg:not(.newton-button_disabled):hover {
    background-color: #287ad7;
    border-color: #287ad7;
    color: #fff;
}

.newton-button_with-bg.newton-button_disabled {
    background-color: #94a9b9;
    border-color: #94a9b9;
    box-shadow: none;
    color: #fff;
}

.newton-button_with-arrow span {
    bottom: 2px;
    display: inline-block;
    position: relative;
    transition: all 300ms ease-out;
    will-change: transform;
}

.newton-button_with-arrow:hover span {
    transform: translate3d(-10px, 0, 0);
}

.newton-button_with-arrow svg {
    opacity: 0;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: all 300ms ease-out;
    width: 17px;
    will-change: opacity, right;
}

.newton-button_with-arrow:hover svg {
    opacity: 1;
    right: -25px;
}

/**********************************************************************************************************************/
.newton-contact {
    font-weight: bold;
}

.newton-contact__icon {
    height: 20px;
    margin-right: 5px;
    vertical-align: middle;
    width: 20px;
}

.newton-contact__value {
    margin-right: 25px;
}

.newton-contact__edit {
    color: #287ad7;
    font-size: 12px;
    font-weight: normal;
}

/**********************************************************************************************************************/
.newton-input {
    border: none;

    border-bottom: 1px solid #4c708b;
    font-size: 16px;
    padding: 4px 0;
    text-align: center;
}

.newton-input::placeholder  {
    color: #4c708b;
}

.newton-input::-ms-input-placeholder {
    color: #4c708b;
}

.newton-input:focus {
    outline: none;
}

.newton-input:not(.newton-input_error):focus,
.newton-input:not(.newton-input_error):hover {
    border-color: #308cf5;
}

.newton-input_error {
    border-color: #fb9fa8;
}
