@charset "utf-8";

/* Элементы формы контактов */
.textbox{
    height:120px;
    width:100%;
    border-radius:3px;
    border:rgba(0,0,0,.3) 1px solid;
    box-sizing:border-box;
    font-size:0.9em;
    padding:5px;
    margin-bottom:10px;
}

/* input box формы */
.input-form{
    width:300px;
    height:30px;
    padding:5px;
    border-radius:3px;
    border:rgba(0,0,0,.3) 1px solid;
    box-sizing:border-box;
    font-size:0.9em;
}
/* list формы */
.list-country{
    width:150px;
    height:30px;
    padding:5px;
    border-radius:3px;
    border:rgba(0,0,0,.3) 1px solid;
    box-sizing:border-box;
    font-size:0.9em;
}

/* кнопка "отправить" формы */
.btn-form{
    width:100%;
    height:45px;
    border-radius:3px;
    border:rgba(0,0,0,.3) 1px solid;
    box-sizing:border-box;
    background: rgba(255, 255, 255, .6);
    font-size:0.9em;
    color:#555;
    transition:background .4s;
}
/* Изменение фона кнопки при наведении */
.btn-form:hover{
  background: rgba(255, 255, 255, 1);
}

/* Стили модального окна и содержания
-------------------------------------------------------------------------------*/
/* слой затемнения */
.dm-login {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.65);
    overflow: auto;
    width: 100%;
    height: 100%;
    z-index: 1000;
}
.dm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.65);
    display: none;
    overflow: auto;
    width: 100%;
    height: 100%;
    z-index: 1000;
}
/* активируем модальное окно */
.dm-overlay:target {
    display: block;
    -webkit-animation: fade .6s;
    -moz-animation: fade .6s;
    animation: fade .6s;
}
/* блочная таблица */
.dm-table {
    display: table;
    width: 100%;
    height: 100%;
}
/* ячейка блочной таблицы */
.dm-cell {
    display: table-cell;
    padding: 0 1em;
    vertical-align: middle;
    text-align: center;
}
/* модальный блок */
.dm-modal {
    display: inline-block;
    padding: 20px;
    max-width: 500px;
    background: #607d8b;
    -webkit-box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
    color: #fff;
    /*color: #cfd8dc;*/
    text-align: left;
}
/* рисуем кнопарь закрытия */
.close {
    z-index: 9999;
    float: right;
    width: 30px;
    height: 30px;
    color: #FAFBFB;
/*    color: #cfd8dc;*/  
    text-align: center;
    text-decoration: none;
    line-height: 26px;
    cursor: pointer;
}
.close:after {
    display: block;
/*    border: 2px solid #cfd8dc;*/
    border: 2px solid #FAFBFB;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    content: 'X';
    -webkit-transition: all 0.6s;
    -moz-transition: all 0.6s;
    transition: all 0.6s;
    -webkit-transform: scale(0.85);
    -moz-transform: scale(0.85);
    -ms-transform: scale(0.85);
    transform: scale(0.85);
}
/* кнопка закрытия при наведении */
.close:hover:after {
    border-color: #fff;
    color: #fff;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1.25);
}

/* варианты фонвой заливки модального блока */
.cyan {
    background: #0097a7!important;
}

/* движуха при появлении блоков с содержанием */
@-moz-keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1
    }
}
@-webkit-keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1
    }
}
@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1
    }
}


.btn_login_header {
    border: 1px solid #00667C;
    text-decoration: none;
    margin-left: 2px;
    padding-left: 3px;
    padding-right: 3px;
    display: inline-block;
    font-size: 0.9em;
    color: #000000;
}
.btn_login_header:hover{
    color: #BA3721;
    background: linear-gradient(bottom, #EAEACF 0%,#FBFEF2 100%);
    background:-webkit-linear-gradient(bottom,  #EAEACF 0%,#FBFEF2 100%);
    background:-o-linear-gradient(bottom,  #EAEACF 0%,#FBFEF2 100%);
    background:-ms-linear-gradient(bottom,  #EAEACF 0%,#FBFEF2 100%);
    box-shadow: 0 0 1px 1px #9F9F9F;
}
