@font-face {
    font-family: 'Prosto_One';
    src: url('../fonts/ProstoOne_Regular.ttf');
    font-weight: normal;
    font-style: normal
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
dl,
dt,
dd,
ol,
nav ul,
nav li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    border: 0;
    padding: 0;
    margin: 0;
    vertical-align: baseline;
    font-size: 100%
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block
}

ol,
ul {
    list-style: none;
    margin: 0;
    padding: 0
}

blockquote,
q {
    quotes: none
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: none
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

a {
    text-decoration: none
}

.txt-rt {
    text-align: right
}

.txt-lt {
    text-align: left
}

.txt-center {
    text-align: center
}

.float-rt {
    float: right
}

.float-lt {
    float: left
}

.clear {
    clear: both
}

.pos-relative {
    position: relative
}

.pos-absolute {
    position: absolute
}

.vertical-base {
    vertical-align: baseline
}

.vertical-top {
    vertical-align: top
}

.underline {
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
    margin: 0 0 20px
}

nav.vertical ul li {
    display: block
}

nav.horizontal ul li {
    display: inline-block
}

img {
    vertical-align: middle;
    max-width: 100%
}

body {
    font-family: Arial, Helvetica, sans-serif;
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
    background: url(../images/goldpaper.jpg) repeat
}

h1 {
    text-align: left;
    font-weight: bold
}

.wrap {
    width: 100%;
    margin: 0 auto;
    transition: all .2s linear
}

.header-top {
    height: auto
}

.header-image {
    float: left;
    margin: 0
}

.logo {
    float: right;
    position: absolute;
    left: 0;
    top: 0
}

.follow_icon {
    list-style: none;
    float: left;
    width: 60%
}

.follow_icon li {
    float: left;
    margin-left: 5px;
    padding-top: 18%
}

.follow_icon li a img {
    vertical-align: middle
}

.follow_icon li a:hover {
    opacity: .7
}

.header-bottom {
    background-color: #014051
}

.top-nav {
    background: #014051;
    z-index: 1000;
    padding: 1% 0;
    top: 290px;
    width: 100%;
    float: left;
    position: fixed;
    box-shadow: 0 3px 4px rgba(0, 0, 0, .2)
}

.top-nav ul li {
    display: inline-block
}

.top-nav ul li a {
    color: #fff;
    font-size: .89em;
    font-family: Arial;
    text-shadow: 2px 2px 2px #333;
    padding: 10px 30px;
    transition: all .3s ease;
    text-transform: uppercase
}

.top-nav li.active>a,
.top-nav li>a:hover {
    color: #d0f898;
    transition: all .3s ease
}


.col_1_of_5 {
    display: block;
    float: left;
    margin: 1% 0 1% 1.6%;
    border: 2px solid #F6D36F;
    border-image: url(../images/gold2.png) 30 round round
}

.key {
    display: block;
    float: left;
    position: absolute;
    bottom: 0;
    width: 30%;
    height: 40%
}

.key img {
    transition: all .3s ease-in-out
}

.key img:hover {
    transform: rotate(360deg);
    transition: all .3s ease-in-out
}

.col_1_of_5:first-child {
    margin-left: 0
}

.span_1_of_5 {
    width: 18.72%
}

.span_1_of_5 img {
    display: block
}

h4.title {
    font-family: Arial;
    font-size: 1.1em;
    color: #FFF
}

.item_content {
    padding-bottom: 3%
}

.content-top {
    padding: 2% 0;
    border-bottom: 0
}

.css3 img,
.sepia img {
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease
}

.css3 {
    position: relative
}

.css3 img:hover {
    cursor: pointer
}

.sepia img:hover {
    -webkit-filter: sepia(100%)
}

.item_content1,
.item_content2,
.item_content3,
.item_content4,
.item_content5 {
    padding: 8%;
    text-align: center;
    border: 2px solid #F6D36F;
    border-image: url(../images/gold2.png) 30 round round
}

.item_content1 {
    background: #032d41
}

.item_content2 {
    background: #095572
}

.item_content3 {
    background: #0d82a2
}

.item_content4 {
    background: #f4b831
}

.item_content5 {
    background: #16add5
}

.col_1_of_2:first-child {
    margin-left: 0
}

.span_1_of_2 {
    width: 65%
}

.span_1_of_3 {
    width: 30%;
    background-color: #f0e1986b;
    border: 2px solid;
    border-top: 20px solid;
    border-image: url(../images/gold2.png) 30 round round;
    box-shadow: 0 10px 6px -6px #777;
    margin: 3%
}

#sidebar h3 {
    font-family: Arial;
    font-size: 1.5em;
    font-weight: 400;
    padding: 20px;
    color: #27a392;
    text-align: left
}

#sidebar img {
    padding: 2%
}

#sidebar ul {
    padding: 10% 0;
    color: #27a392
}

#sidebar ul li a {
    font-size: 1.1em;
    color: #014051;
    font-family: Arial
}

#sidebar ul li a:hover {
    color: #178072
}

#sidebar h4 {
    color: #27a392;
    text-align: left;
    font-size: 1.3em;
    text-transform: capitalize;
    text-indent: 1.5em;
    font-weight: bold
}

#ikon img {
    vertical-align: text-bottom;
    padding: 0
}

#sidebar p {
    padding: 5px;
    text-indent: 2.5em
}

.box {
    background-color: #f0e1986b;
    border: 2px solid #fdbd04;
    border-top: 20px solid;
    padding: 3% 2%;
    border-image: url(../images/gold2.png) 10 repeat;
    margin: 3% 0 3%
}

.box ul {
    padding: 2%
}

.box2 {
    margin: 5% 0
}

.box2 ul {
    padding: 0 0 7% 0
}

.box2 h3 {
    line-height: 1.8em;
    font-size: 1em;
    color: #074151;
    font-family: 'Prosto One';
    padding: 1%
}

.attention {
    background-color: #F6D776;
    border-color: #F6D776
}

.attention a {
    color: #000
}

.popuptitle {
    color: #F6D776;
    font-size: 1.2em
}

.link-white a {
    color: #fff
}

.link-white a:hover {
    color: #fff
}

.simbol {
    font-size: 2em;
    color: #dbab21;
    text-shadow: 1px 0 1px rgba(0, 0, 0, .5);
    padding-right: 2%
}

.shema {
    margin-bottom: 5%;
    border: 1px solid #014051;
    border-left: 20px solid #014051;
    box-shadow: 0 0 10px rgba(0, 0, 0, .5)
}

#unik {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none
}

.yel {
    color: #f9eabd
}

.fon {
    background-color: #a7c4d41f
}

.online {
    background-color: #b3790ff0;
    padding: .7%;
    border: 1px solid #240c05;
    border-radius: 10px;
    background-position: 200% 0, 0 0;
    background-repeat: no-repeat;
    background-size: 200% 100%, auto;
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0) 70%), radial-gradient(190% 100% at 50% 0%, rgba(255, 255, 255, .7) 0%, rgba(255, 255, 255, .5) 20%, rgba(0, 0, 0, 0) 80%);
    box-shadow: rgba(0, 0, 0, .3) 0 2px 5px
}

.online:hover {
    transition: .5s linear;
    background-position: -200% 0, 0 0
}

.online:active {
    background-color: #ff3030f0
}

.online a:hover {
    color: #f9eabd
}


/* Основные колонки */
.col_1_of_2 {
    display: block;
    float: left;
    margin: 1% 0 1% 4%;
}

/* Списки */
.list2 li {
    margin-bottom: 6%;
}

.list2 li figure {
    float: left;
    margin: 0 20px;
}

/* Заголовки и текст блока 1_of_2 */
.span_1_of_2 h3 {
    line-height: 1.8em;
    font-size: 1.3em;
    color: #27a392;
    font-family: 'Prosto One';
    padding: 3% 0 4% 0;
    font-weight: bold;
    margin-left: 5%;
}

.span_1_of_2 p {
    font-size: 0.9em;
    padding: 0.6em 0;
    color: #000;
    line-height: 1.2em;
    font-family: verdana, arial, helvetica, helve, sans-serif;
}

.span_1_of_2 p>a {
    color: #0064BF;
}

/* Ссылки общий стиль */
p>a {
    color: #F6D36F;
    transition: color 0.35s ease;
    /* убрал устаревшие префиксы */
}

p>a:hover {
    color: #fec31b;
}

/* Заголовки H4 со ссылками */
h4 a {
    color: #fff;
}

/* Блоки о сервисах */
.about-services-org {
    width: 30%;
    float: left;
    margin: 2%;
}

/* Комментарии */
.comment span {
    margin: 0 18px;
}

/* Навигация сайдбара */
.sidebar-nav {
    padding-top: 10px;
}

.sidebar-nav li {
    margin: 0 20px 10px;
    font-family: verdana, arial, helvetica, helve, sans-serif;
}

.sidebar-nav li a {
    font-size: 1.1em;
    color: #000;
    vertical-align: top;
}

.sidebar-nav li a:hover {
    color: #27a392;
}

/* Кнопки */
.more {
    padding-top: 4%;
}

.btn,
.btn1,
.btn2 {
    transition: all 0.35s ease;
}

.btn:hover,
.btn1:hover,
.btn2:hover {
    color: #F6D36F;
    text-decoration: none;
}

/* Дополнительные обертки */
.extra-wrap h4 {
    line-height: 1.8em;
    font-size: 13px;
    color: #333;
    text-transform: uppercase;
    font-family: verdana, arial, helvetica, helve, sans-serif;
    padding: 4%;
}

/* Основной футер */
.footer {
    background: #014051;
    padding: 2%;
}

/* Сетки футера */
.col_1_of_4:first-child {
    margin-left: 0;
}

.span_1_of_4 {
    width: 23.8%;
}

.col_1_of_4 {
    display: block;
    float: left;
    margin: 1% 0 1% 1.6%;
}

/* Заголовки футера */
.span_1_of_4 h3,
.span_1_of_footer-lastgrid h3 {
    font-family: 'Philosopher', sans-serif;
    font-size: 1.4em;
    margin-bottom: 1.5em;
    color: #F6D36F;
}

/* Списки футера */
.span_1_of_4 ul li {
    line-height: 0.4em;
    padding: 0 0 5% 0;
}

.span_1_of_4 ul li a {
    color: #FFF;
    font-size: 1em;
    font-family: Arial, helvetica, helve, sans-serif;
    vertical-align: top;
    line-height: 1em;
    transition: color 0.5s ease;
    /* убрал префиксы */
}

.span_1_of_4 ul li a:hover {
    color: #e6ce8a;
}

/* Адрес футера */
.footer-grid-address p {
    font-size: 0.875em;
    color: #fff;
    line-height: 1.8em;
    font-family: verdana, arial, helvetica, helve, sans-serif;
}

/* --about-- */

/* Навигация проекта */
.project-top-patination {
    padding: 2% 5%;
    border-left: none;
    border-right: none;
    border-color: #074151;
    background-color: #c8a96b;
}

.project-top-patination ul li {
    display: inline-block;
}

.project-top-patination ul li a {
    border-right: 1px solid rgba(192, 192, 192, 0.33);
    padding-right: 5px;
    color: #333;
    font: 400 15px/22px Arial, 'Roboto', sans-serif;
    transition: color 0.5s ease;
}

.project-top-patination ul li a:hover {
    color: #fbbb06;
}

.project-top-patination p {
    font: 400 15px/22px Arial, 'Roboto', sans-serif;
    color: #074151;
    padding-left: 7px;
}

.project-top-patination p:before {
    content: "/";
    padding-right: 5px;
}

/* Верхние блоки about */
.about-topgrid1 {
    width: 30%;
    float: left;
    margin: 30px 5% 30px 0;
    background-color: #0064bf;
    color: #ffffff;
}

.about-topgrid1 h3 {
    font-family: Arial, sans-serif;
    font-weight: bold;
    padding: 30px 0 15px;
    border-bottom: 1px solid rgba(51, 51, 51, 0.09);
    margin-bottom: 13px;
    font-size: 1.4em;
    text-align: center;
    text-shadow: 2px 2px 2px #333;
}

.about-topgrid1 h4 {
    font-family: Arial, sans-serif;
    font-size: 1.2em;
    line-height: 7.5em;
    text-align: center;
    text-shadow: 2px 2px 2px #333;
}

.about-topgrid1 p {
    font-size: 0.8125em;
    line-height: 1.5em;
    font-family: Arial, sans-serif;
    padding: 4px 0 8px 0;
}

/* Организации */
.about-topgrid1-org {
    width: 29%;
    float: left;
    margin: 2%;
}

.about-topgrid1-org h4 {
    color: #333;
    font-family: verdana, arial, helvetica, helve, sans-serif;
    font-size: 0.8125em;
    line-height: 1.5em;
    padding: 10px 0;
}

.about-topgrid1-org p {
    font-size: 0.8125em;
    color: #999;
    line-height: 1.5em;
    font-family: verdana, arial, helvetica, helve, sans-serif;
    padding: 4px 0 8px 0;
}

/* История */
.about-histore h3 {
    font-family: Arial, sans-serif;
    padding: 30px 0 15px;
    border-bottom: 1px solid rgba(51, 51, 51, 0.09);
    margin-bottom: 13px;
    font-size: 1.4em;
    text-align: center;
    text-shadow: 2px 2px 2px #333;
    color: #ffffff;
}

.about-histore p {
    font-size: 1.2em;
    line-height: 0.8em;
    font-family: Arial, sans-serif;
    padding: 4px 0 8px 0;
    text-shadow: 2px 2px 2px #333;
    font-weight: bold;
    text-indent: 0 !important;
}

/* Сервисы */
.about-services h3 {
    font-family: Arial, sans-serif;
    padding: 30px 0 15px 0;
    border-bottom: 1px solid rgba(51, 51, 51, 0.09);
    margin-bottom: 13px;
    font-size: 1.3em;
    text-align: center;
}

.about-services h4 {
    font-family: Arial, sans-serif;
    font-size: 1.2em;
    line-height: 7.5em;
    text-align: center;
    text-shadow: 2px 2px 2px #333;
}

.about-services p {
    font-size: 0.8125em;
    color: #999;
    line-height: 1.5em;
    font-family: verdana, arial, helvetica, helve, sans-serif;
    padding: 4px 0 8px 0;
}

.about-services ul li a {
    color: #7B7C7E;
    font-family: verdana, arial, helvetica, helve, sans-serif;
    font-size: 13px;
    line-height: 2.3em;
}

.about-services ul li a:hover {
    color: #ffffff;
}

/* --services-- */
.span_1_of_services {
    width: 23.8%;
}

.col_1_of_services {
    display: block;
    float: left;
    margin: 0 0 0 1.6%;
}

.col_1_of_services:first-child {
    margin-left: 0;
}

.span_1_of_services h3 span {
    color: #333;
    font-size: 0.8125em;
}

.services_list li a {
    font-size: 0.8125em;
    color: #999;
    display: block;
    padding: 8px 0 8px 15px;
    background: url(../images/marker1.png) no-repeat 0;
    font-family: verdana, arial, helvetica, helve, sans-serif;
}

.services-bottom {
    padding-top: 2%;
}

/* Адрес компании */
.company_address {
    padding-top: 26px;
    float: left;
}

.company_address h3 {
    font-size: 1em;
    color: #014051;
    font-family: verdana, arial, helvetica, helve, sans-serif;
    text-align: left;
}

.company_address p {
    font-size: 0.8125em;
    color: #999;
    font-family: verdana, arial, helvetica, helve, sans-serif;
    line-height: 1.5em;
}

.company_address p span {
    text-decoration: underline;
    color: #333;
    cursor: pointer;
}

.company_address p span:hover {
    text-decoration: none;
}

/* --RESPONSIVE MAP-- */
.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
    border: 1px solid;
    margin-bottom: 15px;
    border-image: url(../images/gold2.png) 30 round;
}

.map-responsive iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

/* Контакты */
.contact {
    padding-bottom: 2%;
}

/* 404 */
.page-not-found h1 {
    font-size: 15em;
    color: #F0F0F0;
    text-align: center;
    text-shadow: 1px 1px 6px #AAA;
}

/* --Content Bottom-- */
.content-bottom {
    padding-top: 0.5%;
}

.content-bottom p {
    padding: 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em;
    line-height: normal;
}

.content-bottom h1 {
    font-family: 'Prosto One', Verdana;
    font-size: 1.8em;
    color: #074151;
    padding: 1%;
}

.content-bottom h2 {
    font-family: 'Prosto One';
    font-size: 1.5em;
    font-weight: bold;
    color: #0b7163;
    padding: 1%;
    text-align: left;
}

/* Цветные блоки текста */
.text-blackcolor,
.text2,
.text5,
.text-whitecolor,
.text4,
.text-whitecolor-fixed {
    padding: 2% 10%;
    font-size: 1.1em;
}

.text-whitecolor h2 {
    font-size: 1.7em;
    font-family: 'Prosto One', sans-serif;
    font-weight: bold;
    text-align: center;
    text-shadow: 1px 1px 3px #000;
    color: #fff;
    padding: 0 0 20px;
}

.text-whitecolor h1 {
    color: #F6D36F;
}

.text-whitecolor-fixed h2 {
    font-size: 3em;
    font-family: 'Philosopher', sans-serif;
    font-weight: bold;
    text-align: center;
    text-shadow: 1px 1px 3px #272822;
    padding: 0 0 2%;
}

.text-whitecolor-fixed p {
    font-size: 1.2em;
    text-shadow: 1px 1px 3px #272822;
    text-indent: 2.5em;
    padding: 1.5%;
}

.text-whitecolor-fixed-2 h2 {
    font-size: 3em;
    font-family: 'Philosopher', sans-serif;
    font-weight: bold;
    text-align: left;
    text-shadow: 1px 1px 3px #272822;
    padding: 5% 15% 5%;
}

.text-whitecolor,
.text-whitecolor-fixed {
    color: #fff;
}

.text-whitecolor p {
    color: #fff;
}

.text-whitecolor h4 {
    font-size: 1.5em;
}

/* Фоны */
.okno {
    height: 900px;
    background: transparent;
}

.fixedfon-light,
.fixedfon-dark {
    background-attachment: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    z-index: -1;
}

.fixedfon-light {
    background: url(../images/kodirovanie-alkogolika.jpg) center top no-repeat;
}

.fixedfon-dark {
    background: url(../images/kodirovanie-alkogolikov.jpg) center top no-repeat;
}

.greenfon,
.whitefon,
.bluefon,
.goldfon,
.darkbluefon {
    width: 100%;
    padding: 2%;
}

.whitefon {
    background: #fff;
}

.goldfon {
    background: url(../images/goldpaper.jpg) repeat;
}

.bluefon {
    background: url(../images/blue.jpg) repeat;
}

/* Слоган */
.slogan p {
    font-family: 'Philosopher', sans-serif;
    font-style: italic;
    font-size: 1.6em;
    color: #014052;
    text-align: center;
    padding: 1em 0 1.5em;
}

/* Тексты ТереЗы и правил */
#tereza {
    left: 50%;
    color: #c1b8b8;
    padding: 2% 0 0 0;
}

p#tereza {
    text-align: center;
    font-size: 0.8em;
    line-height: 1.2em;
}

#tereza a {
    color: #c1b8b8;
}

#tereza a:hover {
    color: #a19c9c;
}

p#pravila {
    text-align: center;
    padding-top: 3%;
    color: #c1b8b8;
}

#pravila a {
    color: #c1b8b8;
    font-size: 0.8em;
}

#pravila a:hover {
    color: #f7f3f3;
}

/* Разное оформление текста */
.marker {
    font-weight: bold;
}

p.titul {
    font-family: Arial;
    font-weight: bold;
    font-size: 1.5em;
    color: #a47a07;
    padding: 10px;
    text-align: left;
}

/* Списки */
.list {
    padding: 3%;
    list-style: disc;
}

.list li {
    padding: 0.5%;
    margin-left: 6%;
}

.list a {
    color: #a47a07;
}

.list a:hover {
    color: #014051;
}

.greenword {
    color: #d0f888;
    font-weight: bold;
}

/* Ссылки */
.boldlink {
    color: #14aaf2fa;
}

a.boldlink:hover {
    color: #0b567afa;
}

/* Home и картинки */
li.home {
    border: 1px solid #F6D36F;
}

.home img {
    margin: -5px 0 2px;
}

/* Sweetlink */
.sweetlink .sweetlink2 .sweetlink3 {
    display: block;
    color: #F6D36F;
    text-decoration: none;
    padding: 10px 20px;
}

.sweetlink2 {
    color: #F6D36F;
    margin: 0;
}

.sweetlink3 {
    color: #fff;
    margin: 0;
}

/* Методы */
h2.metody {
    font-size: 1.2em;
    color: #14aaf2fa;
    text-align: center;
}

/* Mainmenu стрелка */
#mainmenu>ul>li.parent>span::after {
    content: "";
    display: inline-block;
    vertical-align: center;
    margin: 4px 0 0 8px;
    height: 7px;
    width: 7px;
    border-left: 2px solid #F6D36F;
    border-top: 2px solid #F6D36F;
    transform: rotate(-135deg);
}

/* --------------------
   Блок: Вопросы
-------------------- */
h3.container_q {
    color: #fff;
    font-size: 24px;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
    font-weight: 300;
}

.wrap {
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.14),
        0 3px 1px -2px rgba(0, 0, 0, 0.2),
        0 1px 5px rgba(0, 0, 0, 0.12);
    border-radius: 4px;
}

a:focus,
a:hover,
a:active {
    outline: 0;
    text-decoration: none;
}

/* Панели FAQ */
.panel {
    border-bottom: 1px solid #fff;
    background: none;
    box-shadow: none;
}

.panel:last-child {
    border-bottom: none;
}

.panel-group>.panel:first-child .panel-heading {
    border-radius: 4px 4px 0 0;
}

.panel-group .panel {
    border-radius: 0;
}

.panel-group .panel+.panel {
    margin-top: 0;
}

.panel-heading {
    background-color: #014051;
    border: none;
    border-radius: 0;
    color: #fff;
    padding: 0;
    position: relative;
}

.panel-title a {
    display: block;
    color: #fff;
    padding: 15px;
    font-size: 1.5em;
    font-weight: 400;
    position: relative;
}

.panel-title a:hover {
    color: #F6D36F;
}

.panel-body {
    background: #fff;
    border-radius: 10px 10px 0 0;
    color: #143c66;
    font-size: 1.2em;
}

.panel:last-child .panel-body {
    border-radius: 0 0 4px 4px;
}

.panel:last-child .panel-heading {
    border-radius: 0 0 4px 4px;
    transition: border-radius 0.3s linear 0.2s;
}

.panel:last-child .panel-heading.active {
    border-radius: 0;
    transition: border-radius linear 0s;
}

/* Стрелки для раскрывающихся панелей */
.panel-heading a:before {
    content: '\25BD';
    position: absolute;
    right: 5px;
    top: 10px;
    font-size: 24px;
    font-family: 'Material Icons';
    transition: all 0.5s;
}

.panel-heading.active a:before {
    content: ' ';
    transform: scale(0);
}

#bs-collapse .panel-heading a:after {
    content: ' ';
    font-size: 24px;
    position: absolute;
    font-family: 'Material Icons';
    right: 5px;
    top: 10px;
    transform: scale(0);
    transition: all 0.5s;
}

#bs-collapse .panel-heading.active a:after {
    content: '\e909';
    transform: scale(1);
    transition: all 0.5s;
}

#accordion .panel-heading a:before {
    content: '\e316';
    font-size: 24px;
    position: absolute;
    font-family: 'Material Icons';
    right: 5px;
    top: 10px;
    transform: rotate(180deg);
    transition: all 0.5s;
}

#accordion .panel-heading.active a:before {
    transform: rotate(0deg);
}

/* --------------------
   Кнопка "Оставить отзыв"
-------------------- */
a.btn-otzuvy {
    position: relative;
    color: #00313D;
    text-decoration: none;
    text-transform: uppercase;
    user-select: none;
    border-radius: 10px;
    padding: 0.5em 1em;
    margin: auto;
    outline: none;
    background-color: #b3790ff0;
    background-position: 200% 0, 0 0;
    background-repeat: no-repeat;
    background-size: 200% 100%, auto;
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 70%),
        radial-gradient(190% 100% at 50% 0%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.5) 30%, rgba(0, 0, 0, 0) 70%);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: background-position 0.5s linear;
}

a.btn-otzuvy:active {
    top: 1px;
    box-shadow: none;
}

a.btn-otzuvy:hover {
    background-position: -200% 0, 0 0;
}

/* Конец блока Btn-otzuvy */

/* --------------------
   Общие секции и фоновые блоки
-------------------- */
.section,
.blue,
.green {
    width: 100%;
    background: #F9F6F2;
    position: relative;
    margin: 20px auto 30px;
    padding: 30px 10px;
}

.section {
    background-color: #ffffff;
}

.blue {
    background: url(../images/blue.jpg) repeat;
}

/* Тени и наклон блоков */
.section::before,
.section::after,
.blue::before,
.blue::after,
.green::before,
.green::after {
    content: "";
    position: absolute;
    z-index: -1;
    bottom: 15px;
    left: 10px;
    width: 50%;
    top: 80%;
    max-width: 300px;
    background: #777;
    box-shadow: 0 15px 10px #777;
    transform: rotate(-3deg);
}

.section::after,
.blue::after,
.green::after {
    transform: rotate(3deg);
    left: auto;
}

/* --------------------
   Изображения и видео
-------------------- */
.picture {
    margin: 2% 0;
    border: 2px solid #fdbd04;
}

video {
    width: 100%;
    height: auto;
    max-height: 100%;
}

/* --------------------
   Цитаты
-------------------- */
.quot p {
    text-align: right;
    font-size: 0.8em;
    font-style: italic;
    color: #014051;
}

.quot-dark p {
    text-align: right;
    font-size: 1em;
    font-style: italic;
    color: #fec31b;
}

/* --------------------
   Кнопки вверх/вниз
-------------------- */
.go-up,
.go-down {
    display: none;
    position: fixed;
    right: 1%;
    z-index: 9999;
    background: #fec31b59;
    border: 2px solid #fec31b;
    box-shadow: 0 10px 0.3em -0.1em rgba(0, 0, 6, 0.5);
    border-radius: 40px;
    cursor: pointer;
    color: #fec31b;
    text-align: center;
    font-size: 40px;
    text-shadow: 0 1px 2px #000, 0 0 10px #E0F1FF;
    opacity: 0.9;
    width: 60px;
    height: 60px;
    margin-bottom: 1%;
}

.go-up {
    bottom: 70px;
}

.go-down {
    bottom: 10px;
}

.go-up:hover,
.go-down:hover {
    opacity: 1;
}

/* --------------------
   Адаптивные изображения
-------------------- */
.css-adaptive {
    display: block;
    max-width: 100%;
    height: auto;
}

/* --------------------
   Универсальные настройки box-sizing
-------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* --------------------
   Футер и контактные данные
-------------------- */
.footer-grid-address img {
    vertical-align: middle;
}

.tel {
    margin: -0.4em;
    font-size: 1.1em;
    color: #DBBB63 !important;
}

.tel1 {
    font-size: 1.1em;
    font-weight: bold;
}

.otvet h3 {
    line-height: 1.8em;
    font-size: 1.1em;
    color: #074151;
    font-family: 'Prosto One', cursive;
    padding: 3%;
}

.lang {
    margin-right: 5%;
}

/* --------------------
   Встраиваемые iframe
-------------------- */
iframe {
    width: 100%;
    padding: 4% 0;
}

/* --------------------
   Иконки и кнопки
-------------------- */
.icon {
    display: inline-block;
    font-size: 1.2em;
    color: #cb920e;
    width: 1.5em;
    height: 1em;
    text-align: center;
    vertical-align: top;
    margin-right: 2px;
}

.btn-stati,
#btn-number,
.btn-custom {
    border-radius: 6px;
    text-transform: uppercase;
    transition: 0.5s ease;
}

.btn-stati {
    background: #014051;
    color: #F6D36F;
    left: 60%;
    padding: 7px 40px;
    font-family: 'Arial', sans-serif;
    font-size: 0.9em;
    border: none;
}

.btn-stati:hover {
    color: #fec31b;
    background-color: #061d24;
}

#btn-number {
    color: #F6D36F;
    background-color: #014051;
}

#btn-number:hover {
    color: #fec31b;
    background-color: #061d24;
}

/* --------------------
   Таблицы
-------------------- */
.table-container {
    width: 100%;
    overflow-y: auto;
    margin-bottom: 1em;
}

.table-container::-webkit-scrollbar {
    width: 14px;
    height: 14px;
}

.table-container::-webkit-scrollbar-thumb {
    border-radius: 8px;
    border: 3px solid #fff;
    background-color: rgba(0, 0, 0, 0.3);
}

/* --------------------
   Текст и заголовки
-------------------- */
p#autor {
    font-family: Arial;
    color: #939495;
    font-size: 1em;
    text-align: right;
    font-style: italic;
}

h2.razdel {
    font-family: Arial;
    color: #fff;
    font-size: 1.1em;
    text-align: center;
    font-weight: normal;
}

/* --------------------
   Соцсети и мессенджеры
-------------------- */
.containersocial {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #263238;
}

.messenger {
    display: block;
    position: fixed;
    right: 15%;
    bottom: 15px;
    width: 260px;
    height: 60px;
    z-index: 10220;
}

.messenger-btn {
    width: 70px;
    height: 70px;
    padding: 17px;
    border-radius: 50%;
    background-color: #cb480e;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    z-index: 2;
}

.messenger-btn img {
    width: 32px;
    height: 32px;
}

.messenger-links {
    position: absolute;
    left: 0;
    top: 10px;
    width: 240px;
    transform: scale(0);
    transform-origin: 100% 50%;
    transition: all 0.3s;
    z-index: 0;
}

.messenger-links.show {
    left: -45px;
    transform: scale(1);
}

.messenger-links a {
    width: 40px;
    margin-left: 4px;
}

.messenger-links img {
    max-width: 40px;
    transition: all 0.3s;
}

.messenger-links a:hover img {
    transform: scale(1.1);
}

/* --------------------
   Социальные иконки
-------------------- */
.socialicon {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.socialicon a img {
    width: 2.7em;
    margin-top: 10px;
}

/* --------------------
   Адаптивные настройки слайдера
-------------------- */
:root {
    --image-comparison-slider-width: min(80vw, 768px);
    --image-comparison-slider-handle-width: 70px;
}

@media (max-width: 768px) {
    :root {
        --image-comparison-slider-width: 90vw;
    }
}

/* --------------------
   Кнопки CTA
-------------------- */
.btn-custom {
    background-color: #014051;
    color: #e7d36f;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 500;
    text-align: center;
    display: inline-block;
    transition: all 0.2s ease;
    text-decoration: none;
    margin: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.btn-custom:hover {
    background-color: #061d24;
    color: #eec31b;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.4);
}

.btn-custom:active {
    transform: translateY(2px);
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.3);
}

/* --------------------
   Квиз и кнопки
-------------------- */
#quiz {
    text-indent: 10%;
    display: none;
}

.buttonquiz {
    width: 30%;
    padding: 0 5px;
    float: right;
    color: #fff;
    margin: 0 2px;
    text-align: center;
}

.buttonquiz a {
    text-decoration: none;
    color: #014051;
    font: 1.1em Arial, sans-serif;
}

#container {
    width: 100%;
    margin: auto;
    padding: 0 25px 40px 10px;
    font-weight: bold;
}

#container input {
    margin: 10px 15px;
}

#question ul {
    list-style-type: none;
    padding: 0;
    margin: 15px 0 20px 0;
}

#prev {
    display: none;
}

#start {
    display: none;
    width: 30%;
}

/* --------------------
   Дропдауны
-------------------- */
.dropdown-item.active {
    background-color: #ffc107 !important;
    color: #000 !important;
}

/* --------------------
   Прочие иконки и цвета
-------------------- */
#tereza i.fas {
    font-size: 0.9em;
    color: #c1b8b8;
    vertical-align: middle;
    margin-right: 4px;
}

.color {
    color: #F6D36F;
}

.social-icons img {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
}

.messenger-note {
    color: #fff;
    line-height: 1.6;
    display: inline-block;
    margin-top: 4px;
}

/* --------------------
   Модальные окна
-------------------- */
.modal-body h3 {
    text-align: center;
    font-size: 18px;
    color: #17A2B8;
    font-weight: bold;
    border: 2px solid #014051;
    padding: 10px;
    margin: 20px 0;
    border-radius: 10px;
}

/*-----------Responsive design  -   Media Queries--------------*/

@media (max-width:319px){
	.wrap{
		width:90%;
	}
	.go-up, .go-down {
		visibility:hidden;
	}		
	.top-nav ul li a {
		padding: 10px 1px;
		font-size: 11px;
	}
	.search-bar input[type="text"] {
		width: 120px;
	}
	.span_1_of_4 {
		width: 22.8%;
	}
	.dc-head {
		width:100%;
		float:none;
	}
	.top-nav {
		padding-top: 1.6%;
	}
	.span_1_of_2 {
		width:100%;
	}
	.about-topgrid1 {
		width: 100%;
		float: none;
		margin-right: 0;
		margin-bottom: 10px;
	}
	.about-histore {
		float: none;
		width: 100%;
	}
	.about-services {
		width: 100%;
		float: none;
		margin-left: 0px;
	}
	.span_1_of_4 {
		width: 100%;
	}
	.span_1_of_services {
		width:100%;
	}
	.search-bar {
		float: none;
	}
	.top-nav {
		float:none;
		margin-bottom: 12px;
	}
	.search_box {
		float: none;
	}
	.search_box form input[type="text"] {
		padding: 5px;
	}
	.search_box form input[type="submit"] {
		background: url(../images/search-icon.png) no-repeat 0px 7px;
	}
	.logo {
		width: 43%;
	}
	.follow_icon li {
		margin-left: 2px;
		padding-top: 5%;
	}
	.header-bottom {
		padding: 10px 0;
	}
	.about-top {
		padding: 20px 0 0;	
	}
	.sticky-top {
		margin-top: 5%;
	}
}
@media screen and (min-width: 320px) and (max-width: 479px) {
	.wrap {
		width:99%;
	}
	.css-adaptive {
		width: 100%;
		/* margin: 0 50%; */
	}
	.content-bottom h1 {
		font-size: 2em;
		margin: 0.5%;
		font-weight: bold;
	}
	.simbol {
		font-size: 1.5em;
	}
	.box {
		border-top: 10px solid;
		font-style: italic;      	
	} 
	p.box {
		font-size: 0.8em;
	}         
	.go-up, .go-down, .messenger  {
		visibility:visible;
	}

	.col_1_of_5{ 
		margin: 1% 0 1% 0%;
		width:92%;
		padding:4%;
	}
	.span_2_of_3 {
		width:90%;
		padding:5%; 
	}
	.col { 
		margin: 1% 0 1% 0%;
	}
	.span_1_of_3 {
		width:90%;
		padding:2%; 
	}
	.contact-form input[type="text"],.contact-form textarea{
		width:95%;
	}
	.top-nav ul li a {
		padding:10px 5px;
		font-size: 12px;
	}
	.search-bar input[type="text"] {
		width: 120px;
	}
	/*.span_1_of_4 {
		width: 22.8%;*/
		.dc-head {
			width:100%;
			float:none;
		}
		.top-nav {
			padding-top: 1.6%;
		}
		.span_1_of_2 {
			width:100%;
		}
		.span_1_of_2 p {
			padding: 1.5% 1%;
		}
		.about-topgrid1 {
			width: 100%;
			float: none;
			margin-right: 0;
			margin-bottom: 10px;
		}
		.about-histore {
			float: none;
			width: 100%;
		}
		.about-services {
			width: 100%;
			float: none;
			margin-left: 0px;
		}
		.span_1_of_4 {
			width: 100%;
			font-size: 0.8em;
			text-align: center;
		}
	/*.span_1_of_4 ul li a {
		line-height: 1.2em;*/
		.footer-grid-address {
			text-align: center;
		}
		.span_1_of_services {
			width: 48%;
		}
		ul.follow_icon {
			float: none;
			margin-left: auto;
			margin-right: auto;
		}
		.slogan p {
			font-size: 1.2em !important;
		}
		.content-bottom p {
			font-size: 1em;
			padding: 3%;
		}
		.content-bottom h2 {
			font-size: 1.8em;
			padding: 5% 1%;
			font-weight: bold;
		}
		.span_1_of_4 h3 {
			font-size: 1.4em;
		}
		p#tereza {
			font-size: 0.8em;
			line-height: 1.2em;
		}
		#sidebar {
			font-size: 1.2em;
			line-height: 1em;
			padding: 2%;
		}
		#sidebar p {
			font-size: 1em;
			line-height: ;
		}
		#sidebar ul li a {
			font-size: 1em;
		}
		.extra-wrap  {
			font-size: 0.8em;
		}
		.box {
			padding: 2%;
		}
		.text-whitecolor h2{
			text-align: left;
			font-size: 1.3em;
			font-weight: normal;	
		}
		.text-whitecolor p {
			padding: 2%;
		}
		/*.sticky-top {
			*margin-top: 4%;
		}*/
		p.titul {
			font-size: 1.5em;
			padding: 4% 1%;
		}
		.list {
			line-height: 1em;
			padding: 0.5%;
		}
		.navbar-brand {
			display: none;
		}
		.navbar-brand-2 {
			display: initial;
		}
	/*.online {
	visibility: hidden; 
	}*/
/*.header-top {
	display: none;
	}*/
	.sidecol ul li a {
		font-size: 1.1em !important;
	}
	.panel-body {
		font-size: 1.1em;
	}
	.panel-title a {
		font-size: 1.2em;
	}
	.span_1_of_2 h3 {
		font-size: 1.3em;
		line-height: 1.2em;
	}
	.header-image img {
		visibility: hidden; 	
	}
	.header-image {
		background-image: url(../images/gipnokod-cent2.jpg);
	} 
	.logo img {
		visibility: hidden;
	}
	.logo {
		background-image: url(../images/logo-22.png);
	} 
	a.dropdown-item {
		font-size: 1.1em;
	}
	.navbar-dark .navbar-nav .nav-link {
		font-size: 1.1em;
	}
}
@media screen and (min-width: 480px) and (max-width: 639px) {
	.wrap{
		width:100%;
	}
	.css-adaptive {
		width: 50%;
		/* margin: 0 50%; */
	}
	.go-up, .go-down, .messenger {
		visibility:hidden;
	}
	.top-nav ul li a {
		padding:10px 5px;
		font-size: 12px;
	}
	.search-bar input[type="text"] {
		width: 120px;
	}
	.col_1_of_5{ 
		margin: 1% 0 1% 0%;
	}
	.span_1_of_5 {
		width:94%;
		padding:3%;  
	}
	.span_2_of_3 {
		width:94%;
		padding:3%; 
	}
	.col{ 
		margin: 1% 0 1% 0%;
	}
	.span_1_of_3 {
		width:94%;
		padding:3%; 
	}
	.contact-form input[type="text"],.contact-form textarea{
		width:97%;
	}
	.span_1_of_4 {
		width: 22.8%;
	}
	.dc-head {
		width:100%;
		float:none;
	}
	.top-nav {
		padding-top: 1.6%;
	}
	.span_1_of_2 {
		width:100%;
	}
	.about-topgrid1 {
		width: 100%;
		float: none;
		margin-right: 0;
		margin-bottom: 10px;
	}
	.about-histore {
		float: none;
		width: 100%;
	}
	.about-services {
		width: 100%;
		float: none;
		margin-left: 0px;
	}
	.span_1_of_4 {
		width: 100%;
	}
	.span_1_of_services {
		width: 48%;
	}
	.css3 img {
		width: 100%;
	}
	a.dropdown-item {
		font-size: 1.1em;
	}
	.navbar-dark .navbar-nav .nav-link {
		font-size: 1.1em;
	}
}
@media screen and (min-width: 640px) and (max-width: 767px) {
	.wrap {
		width:100%;
	}
	.css-adaptive {
		width: 50%;
		/* margin: 0 50%; */
	}
	.go-up, .go-down {
		visibility:hidden;
	}
	.top-nav ul li a {
		padding: 10px 10px;
	}
	.search-bar input[type="text"] {
		width: 120px;
	}
	.span_2_of_3 {
		width:94%;
		padding:3%; 
	}
	.col{ 
		margin: 1% 0 1% 0%;
	}
	.span_1_of_3 {
		width:94%;
		padding:3%; 
	}
	.span_1_of_4 {
		width: 22.8%;
	}
	.dc-head {
		width:100%;
		float:none;
	}
	.span_1_of_4 ul li a {
		line-height: 1em;
	}
	.sweetlink3 {
		line-height: 1em;
	}
	a.dropdown-item {
		font-size: 1.1em;
	}
	.navbar-dark .navbar-nav .nav-link {
		font-size: 1.1em;
	}
}
 @media (max-width: 768px) {
    #tereza a { display: block; margin: 4px 0; }
  }
@media screen and (min-width: 768px) and (max-width: 1023px) {
	.wrap{
		width:100%;
	}
	.css-adaptive {
		width: 70%;
		/* margin: 0 30%; */
	}	
	.top-nav ul li a {
		padding: 10px 15px;
	}
	.navbar-brand {
		display: none;
	}
	.navbar-brand-2 {
		display: initial;
	}
	.sweetlink3 {
		line-height: 1em;
	}
	.span_1_of_4 ul li a {
		line-height: 1em;
	}
	a.dropdown-item {
		font-size: 1.1em;
	}
}

@media screen and (min-width: 1204px) and (max-width: 1681px) {
	.wrap    {
		width:90%;
	}
	.span_1_of_4 ul li a {
		line-height: 1em;
	}
}