
.openModal {
    padding: 10px;
    background: #ff4242;
    text-decoration: none;
    color: #fff;
    -moz-border-radius: 3px;
    border-radius: 3px;
    box-shadow: 0 4px 0px #e82525;
    transition: 0.6s;
}
.openModal:hover {
    background: #73A301;
}
a#telCallButton.button.openModal,a#telCallButton.button.openModal:hover{
    /*color: #000;
    background: transparent;
    box-shadow: none;
    text-align: right;
    font-size: 14px;
    text-decoration: underline;
    margin-top: -20px;
    padding: 0;
    margin-left: 10px;
    position: absolute;*/
    background: url("../images/menu_hover_bg.png") repeat-x scroll 0 0 transparent;
    border: 1px solid #ffffff;
    padding: 8px 10px 11px 9px;
    border-radius: 3px;
    color: #6b5845;
    float: left;
    font: 14px/14px Georgia,"Times New Roman",Times,serif;
    text-decoration: none;

    display: block;
    box-shadow: none;
    cursor: pointer;
    margin-top: -32px;
    position: absolute;
}
/*a#telCallButton.button.openModal:hover{
    color: #000;
    background: url("../images/button_bg.jpg") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    box-shadow: none;
    text-decoration: underline;
}*/
/* --- Описываем модальное окно --- */
.modal {
    /* Полупрозрачный слой перекрытия */
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000;
    /* Трансформации прозрачности фона при открытии */
    -webkit-transition: opacity 500ms ease-in;
    -moz-transition: opacity 500ms ease-in;
    transition: opacity 500ms ease-in;
    /* Прячем полупрозрачный контейнер до нажатия на кнопку*/
    opacity: 0;
    pointer-events: none;
    /* --- Показываем модальное окно --- */
    /* --- Содержание модального окна --- */
    /* --- Стили текста в модальном окне --- */
    /* --- Ссылка на иконку закрытия модального окна --- */
}
.modal:target {
    opacity: 1;
    pointer-events: auto;
}
.modal:target > div {
    -webkit-animation: minimise 500ms linear;
}
.modal > div {
    max-width: 350px;
    background: none repeat scroll 0 0 #E6AA25;
    position: relative;
    margin: 10% auto;
    /* Задаем анимацию */
    -webkit-animation: minimise 500ms linear;
    /* Добавляем стили внешнего вид */
    padding: 20px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
.modal p {
    font-family: 'Arial', sans-serif;
    text-align: center;
    font-size: 16px;
    text-transform: uppercase;
    line-height: 24px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
}
.modal a[href="#close"] {
    position: absolute;
    right: 0;
    top: 0;
    color: transparent;
    /* Сбрасываем изменения */
    /* Создаем кнопку закрытия модального окна */
    /* Стили при наведении на иконку */
}
.modal a[href="#close"]:focus {
    outline: none;
}
.modal a[href="#close"]:after {
    font-family: 'Arial';
    font-size: 14px;
    content: 'X';
    display: block;
    /* Позиционируем */
    position: absolute;
    right: 0px;
    top: 0px;
    width: 20px;
    padding: 3px 2px;
    /* Стили */
    text-decoration: none;
    text-align: center;
    background: #24a8d1;
    color: #fff;
    -moz-border-radius: 1px;
    border-radius: 1px;
}
.modal a[href="#close"] :hover:after {
    background: #2398bc;
}
/* Описываем стили формы */
#backPhone {
    width: 86.5%;
    margin: 0 auto;
    overflow: hidden;
}
/* Стили поля ввода */
#telForm {
    width: 100%;
    height: 35px;
    float: left;
    border: none;
    text-align: center;
    background: #fafafa;
    -moz-border-radius: 5px;
    border-radius: 5px;
    margin-bottom: 8px;
}
#textForm {
    width: 100%;
    height: 35px;
    float: left;
    border: none;
    text-align: center;
    background: #fafafa;
    -moz-border-radius: 5px;
    border-radius: 5px;
    margin-bottom: 8px;
}
/* Стили кнопки */
#telButton {
   /* width: 200px;
    border: none;
    height: 37px;
    background: #e03f58;
    color: #fff;
    cursor: pointer;
    transition: .6s;
    -moz-border-radius: 0 5px 5px 0;
    border-radius: 5px;
    display: block;
    margin: 0 auto;*/
    background: url("../images/button_bg.jpg") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    color: #6b5845;
    float: left;
    font: 18px Georgia,"Times New Roman",Times,serif;
    height: 46px;
    margin: 0 50px;
    padding: 5px 10px;
    text-decoration: none;
    width: 197px;
    border: none;
    display: block;
    cursor: pointer;
    /* Стили кнопки при наведении */
}
/*#telButton:hover {
    background: #73a301;
    transition: .6s;
}*/
/* --- Вид анимации --- */
@-webkit-keyframes minimise {
    0% {
        -webkit-transform: scale3d(1, 1, 1);
    }
    100% {
        -webkit-transform: scale3d(0.1, 0.1, 1);
    }
}

.modal a[href="#close"]::after {
    background: none repeat scroll 0 0 #73A301;

}

/* Стили кнопки "Заказать Звонок" */


html .scroll-top-view {
    opacity: 1 !important;
}
.scroll-top {
    background: url("/templates/_default_/images/top.jpg") no-repeat;
    bottom: 50px;
    color: #000 !important;
    cursor: pointer;
    display: inline-block;
    left: auto;

    padding: 6px;
    position: fixed;
    right: 2% !important;
    text-align: center;
    text-decoration: none !important;
    width: 73px;
    opacity: 0  !important;
    height: 65px;
}