/*стили формы*/


/*
body {
  font-family: sans-serif;
}
a {
  color: #369;
}
*/

.note {
    width: 500px;
    margin: 50px auto;
    font-size: 1.1em;
    color: #333;
    text-align: justify;
}

#drop-area {
    border: 2px dashed #ccc;
    /*border-radius: 20px;*/
    /*width: 454px;
    margin: 100px auto 0px;*/
    padding: 20px;
}

#drop-area.highlight {
    border-color: purple;
}

.my-form {
    margin-bottom: 10px;
}

#gallery {
    margin-top: 10px;
}

#gallery img {
    /* width: 150px;
  margin-bottom: 10px;
  margin-right: 10px;
  vertical-align: middle;*/
    display: none;
}

#botton_drop {
    width: 400px;
    height: auto;
    display: inline-block;
    padding: 10px;
    background: #ccc;
    cursor: pointer;
    border-radius: 5px;
    border: 1px solid #ccc;
    text-align: center;
}

#botton_drop:hover {
    background: #ddd;
}

#fileElem {
    display: none;
}

#file_div {
    display: none;
}

#popup_call {
    overflow: auto;
    /* Добавляем полосы прокрутки */
    /* width: 470px;  Ширина блока */
    height: auto;
    /* 300px */
    /* Высота блока */
    padding: 5px;
    /* Поля вокруг текста */
    /*border: solid 1px black;*/
    /* Параметры рамки */
}

.grey {
    float: left;
    font-family: Arial;
    font-size: 16px;
    font-weight: 400;
    color: #1f1e19;
    position: relative;
    background: -webkit-linear-gradient(135deg, #fff1bc 25%, #ffeca6 0, #ffeca6 50%, #fff1bc 0, #fff1bc 75%, #ffeca6 0);
    background: -o-linear-gradient(135deg, #fff1bc 25%, #ffeca6 0, #ffeca6 50%, #fff1bc 0, #fff1bc 75%, #ffeca6 0);
    background: linear-gradient(-45deg, #fff1bc 25%, #ffeca6 0, #ffeca6 50%, #fff1bc 0, #fff1bc 75%, #ffeca6 0);
    background-size: 30px 30px;
    padding: 5px 10px;
    padding-left: 30px;
    /*margin-bottom: 10px;*/
    border: 1px solid #c5b886;
    width: 100%;
}

#close_file {
    width: 2rem;
    height: 2rem;
    line-height: 19px;
    text-align: center;
    position: absolute;
    right: 5px;
    top: 50%;
    margin-top: -10px;
    cursor: pointer;
}


/*стили формы*/


/*reset*/

table {
    border-collapse: collapse;
    border-spacing: 0;
}

fieldset,
img {
    border: 0;
}

address,
caption,
cite,
code,
dfn,
em,
th,
var {
    font-style: normal;
    font-weight: normal;
}

caption,
th {
    text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: normal;
}

q:before,
q:after {
    content: '';
}

abbr,
acronym {
    border: 0;
}


/*end reset*/

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}


/*
body {
font:12px Arial, Verdana, san-serif;
color:#333;
background-color:#fff;
}
*/


/**********popup links**********/

.link_group {
    margin: 20px auto;
    width: 555px;
    text-align: center;
}

.link_group a {
    margin: 0 20px;
    padding: 5px 15px;
    color: #000;
    font-weight: bold;
    display: inline-block;
    vertical-align: top;
    *display: inline;
    *zoom: 1;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    border: 1px solid #ccc;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    behavior: url(PIE.htc);
}

.link_group a:hover {
    color: #cc0000;
}

div .call {
    color: #1d1111;
}


/*кнопка звонка*/

.callback-bt {
    background: #38a3fd;
    border: 2px solid #38a3fd;
    border-radius: 50%;
    box-shadow: 0 8px 10px rgba(56, 163, 253, 0.3);
    cursor: pointer;
    height: 68px;
    text-align: center;
    width: 68px;
    position: fixed;
    right: 8%;
    bottom: 18%;
    z-index: 999;
    transition: .3s;
    -webkit-animation: hoverWave linear 1s infinite;
    animation: hoverWave linear 1s infinite;
}

.callback-bt .text-call {
    height: 68px;
    width: 68px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.callback-bt .text-call span {
    text-align: center;
    color: #38a3fd;
    opacity: 0;
    font-size: 0;
    position: absolute;
    right: 4px;
    top: 22px;
    line-height: 14px;
    font-weight: 600;
    text-transform: uppercase;
    transition: opacity .3s linear;
    font-family: 'montserrat', Arial, Helvetica, sans-serif;
}

.callback-bt .text-call:hover span {
    opacity: 1;
    font-size: 11px;
}

.callback-bt:hover i {
    display: none;
}

.callback-bt:hover {
    z-index: 1;
    background: #fff;
    color: transparent;
    transition: .3s;
}

.callback-bt:hover i {
    color: #38a3fd;
    font-size: 40px;
    transition: .3s;
}

.callback-bt i {
    color: #fff;
    font-size: 34px;
    transition: .3s;
    line-height: 66px;
    transition: .5s ease-in-out;
}

.callback-bt i {
    animation: 1200ms ease 0s normal none 1 running shake;
    animation-iteration-count: infinite;
    -webkit-animation: 1200ms ease 0s normal none 1 running shake;
    -webkit-animation-iteration-count: infinite;
}

@-webkit-keyframes hoverWave {
    0% {
        box-shadow: 0 8px 10px rgba(56, 163, 253, 0.3), 0 0 0 0 rgba(56, 163, 253, 0.2), 0 0 0 0 rgba(56, 163, 253, 0.2)
    }
    40% {
        box-shadow: 0 8px 10px rgba(56, 163, 253, 0.3), 0 0 0 15px rgba(56, 163, 253, 0.2), 0 0 0 0 rgba(56, 163, 253, 0.2)
    }
    80% {
        box-shadow: 0 8px 10px rgba(56, 163, 253, 0.3), 0 0 0 30px rgba(56, 163, 253, 0), 0 0 0 26.7px rgba(56, 163, 253, 0.067)
    }
    100% {
        box-shadow: 0 8px 10px rgba(56, 163, 253, 0.3), 0 0 0 30px rgba(56, 163, 253, 0), 0 0 0 40px rgba(56, 163, 253, 0.0)
    }
}

@keyframes hoverWave {
    0% {
        box-shadow: 0 8px 10px rgba(56, 163, 253, 0.3), 0 0 0 0 rgba(56, 163, 253, 0.2), 0 0 0 0 rgba(56, 163, 253, 0.2)
    }
    40% {
        box-shadow: 0 8px 10px rgba(56, 163, 253, 0.3), 0 0 0 15px rgba(56, 163, 253, 0.2), 0 0 0 0 rgba(56, 163, 253, 0.2)
    }
    80% {
        box-shadow: 0 8px 10px rgba(56, 163, 253, 0.3), 0 0 0 30px rgba(56, 163, 253, 0), 0 0 0 26.7px rgba(56, 163, 253, 0.067)
    }
    100% {
        box-shadow: 0 8px 10px rgba(56, 163, 253, 0.3), 0 0 0 30px rgba(56, 163, 253, 0), 0 0 0 40px rgba(56, 163, 253, 0.0)
    }
}


/* animations icon */

@keyframes shake {
    0% {
        transform: rotateZ(0deg);
        -ms-transform: rotateZ(0deg);
        -webkit-transform: rotateZ(0deg);
    }
    10% {
        transform: rotateZ(-30deg);
        -ms-transform: rotateZ(-30deg);
        -webkit-transform: rotateZ(-30deg);
    }
    20% {
        transform: rotateZ(15deg);
        -ms-transform: rotateZ(15deg);
        -webkit-transform: rotateZ(15deg);
    }
    30% {
        transform: rotateZ(-10deg);
        -ms-transform: rotateZ(-10deg);
        -webkit-transform: rotateZ(-10deg);
    }
    40% {
        transform: rotateZ(7.5deg);
        -ms-transform: rotateZ(7.5deg);
        -webkit-transform: rotateZ(7.5deg);
    }
    50% {
        transform: rotateZ(-6deg);
        -ms-transform: rotateZ(-6deg);
        -webkit-transform: rotateZ(-6deg);
    }
    60% {
        transform: rotateZ(5deg);
        -ms-transform: rotateZ(5deg);
        -webkit-transform: rotateZ(5deg);
    }
    70% {
        transform: rotateZ(-4.28571deg);
        -ms-transform: rotateZ(-4.28571deg);
        -webkit-transform: rotateZ(-4.28571deg);
    }
    80% {
        transform: rotateZ(3.75deg);
        -ms-transform: rotateZ(3.75deg);
        -webkit-transform: rotateZ(3.75deg);
    }
    90% {
        transform: rotateZ(-3.33333deg);
        -ms-transform: rotateZ(-3.33333deg);
        -webkit-transform: rotateZ(-3.33333deg);
    }
    100% {
        transform: rotateZ(0deg);
        -ms-transform: rotateZ(0deg);
        -webkit-transform: rotateZ(0deg);
    }
}

@-webkit-keyframes shake {
    0% {
        transform: rotateZ(0deg);
        -ms-transform: rotateZ(0deg);
        -webkit-transform: rotateZ(0deg);
    }
    10% {
        transform: rotateZ(-30deg);
        -ms-transform: rotateZ(-30deg);
        -webkit-transform: rotateZ(-30deg);
    }
    20% {
        transform: rotateZ(15deg);
        -ms-transform: rotateZ(15deg);
        -webkit-transform: rotateZ(15deg);
    }
    30% {
        transform: rotateZ(-10deg);
        -ms-transform: rotateZ(-10deg);
        -webkit-transform: rotateZ(-10deg);
    }
    40% {
        transform: rotateZ(7.5deg);
        -ms-transform: rotateZ(7.5deg);
        -webkit-transform: rotateZ(7.5deg);
    }
    50% {
        transform: rotateZ(-6deg);
        -ms-transform: rotateZ(-6deg);
        -webkit-transform: rotateZ(-6deg);
    }
    60% {
        transform: rotateZ(5deg);
        -ms-transform: rotateZ(5deg);
        -webkit-transform: rotateZ(5deg);
    }
    70% {
        transform: rotateZ(-4.28571deg);
        -ms-transform: rotateZ(-4.28571deg);
        -webkit-transform: rotateZ(-4.28571deg);
    }
    80% {
        transform: rotateZ(3.75deg);
        -ms-transform: rotateZ(3.75deg);
        -webkit-transform: rotateZ(3.75deg);
    }
    90% {
        transform: rotateZ(-3.33333deg);
        -ms-transform: rotateZ(-3.33333deg);
        -webkit-transform: rotateZ(-3.33333deg);
    }
    100% {
        transform: rotateZ(0deg);
        -ms-transform: rotateZ(0deg);
        -webkit-transform: rotateZ(0deg);
    }
}


/* конец кнопки звонка */


/**********All styles popup**********/

.popup {
    padding: 5px 15px 15px;
    position: fixed;
    top: 25%;
    left: 50%;
    display: none;
    overflow: hidden;
    border: 1px solid #ccc;
    background: #fff;
    -moz-border-radius: 15px;
    /*-webkit-border-radius:15px;
border-radius:15px;*/
    z-index: 100;
    behavior: url(PIE.htc);
}

.popup h2 {
    font: bold 18px/32px Arial, san-serif;
}


/*
.popup a.close {
width:16px;
height:16px;
display:block;
text-indent:-9999px;
position:absolute;
top:10px;
right:10px;
background: #0a0303;
}
*/


/**********popup with form**********/

.reg_form {
    margin-left: -200px;
    width: 500px;
    height: 660px;
}


/*.reg_form {
    padding: 20px 0;
    display: block;
    margin-left: -278px;
    width: 556px;
    max-height: 100%;
    overflow-y: scroll;
}*/

.reg_form form {
    margin-top: 10px;
}

.reg_form label {
    width: 100px;
    height: 26px;
    color: #444444;
    font: bold 12px/26px Arial, san-serif;
    display: inline-block;
    vertical-align: top;
    *display: inline;
    *zoom: 1;
}

.reg_form input[type=text],
.reg_form input[type=password],
.reg_form input[type=email],
.reg_form input[type=tel] {
    /*margin: 10px auto 15px;
    padding: 0 3px;
    width: 434px;*/
    height: 30px;
    font: bold 12px/26px Arial, san-serif;
    border: 1px solid #ccc;
}

.reg_form input[type=submit] {
    border-radius: 10px;
    width: 168px;
    height: 54px;
    margin-top: -;
    margin-top: 0px;
    color: #de8e28;
}

.reg_form input[type=submit]:hover {
    width: 168px;
    height: 54px;
    margin-top: -;
    margin-top: 0px;
    color: #375009;
}


/**********popup with pictures**********/

.photo_win {
    margin-left: -250px;
    width: 500px;
}

.img_wrap {
    margin-top: 10px;
    width: 100%;
    overflow: hidden;
}

.img_wrap img {
    margin: 0 10px 10px;
    height: 187px;
}


/**********popup with tabs**********/

.tabs_info {
    margin-left: -250px;
    width: 500px;
}


/*tabs links*/

.selectTabs {
    margin: 10px 0 0;
    width: 100%;
}

.lineTabs {
    width: 100%;
    float: left;
    list-style: none;
}

.lineTabs li {
    margin: 0 0 -1px 10px;
    float: left;
    position: relative;
    z-index: 1;
    border: 1px solid #ccc;
}

.lineTabs li.active {
    border-bottom: 1px solid #fff;
}

.lineTabs li.active a {
    color: #cc0000;
}

.lineTabs a {
    padding: 4px 15px;
    display: block;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    font-size: 10px;
    text-transform: uppercase;
}


/*tabs content*/

.tab_content {
    width: 100%;
    float: left;
    border: 1px solid #ccc;
    -moz-border-radius: 0 0 5px 5px;
    -webkit-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
    position: relative;
    behavior: url(PIE.htc);
}

.tab_content div {
    display: none;
}

.tab_content .tab1 {
    display: block;
}

.tab_content .tab1,
.tab_content .tab2 {
    padding: 10px 5px;
}

.tab_content img {
    margin: 0 10px 5px 0;
    float: left;
}


/**********overlay styles**********/

#overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    background: #ece4e42e;
    opacity: .8;
}

@media(max-width:768px) {
    #popup_call {
        width: 100%;
        left: 0px;
        margin: 0 auto;
        z-index: 99999999999999999;
        bottom: 0px;
        top: auto;
    }
    #contactFF {
        min-height: 150px !important;
    }
    .reg_form label {
        width: auto !important;
    }
}