.if-fixed-top {
    padding-top: 64px!important;
}
@media screen and (max-width: 1132px) {
    .if-fixed-top {
        padding-top: 95px!important;
    }
}
@media screen and (max-width: 992px) {
    .if-fixed-top {
        padding-top: 57px!important;
    }
}
/* Для меню дилинного при вхождении по паролю */
.if-fixed-top-in {
    padding-top: 64px!important;
}
@media screen and (max-width: 1466px) {
    .if-fixed-top-in {
        padding-top: 95px!important;
    }
}
@media screen and (max-width: 992px) {
    .if-fixed-top-in {
        padding-top: 57px!important;
    }
}
/* - - - - - - - - - Ш А П К А - - - - - - - - - */
/* - - - - - - - - - Б А З О В Ы Й  Б Л О К - - - - - - - - - */
/* Общее */
p {
    font-size: 1.3em;
}
/* - - - - - - - - - Н А В И Г А Ц И Я - - - - - - - - - */
.navbar {
    font-size: 1.3rem;
    background-color: #0088dd;
    border-bottom: 1px solid #fff;
}
.navbar-brand {
    padding-top: 0;
}
.navbar li {
    padding-left: .3rem;
    padding-right: .3rem;
}
.navbar li:hover {
    background-color: #0055aa;
    border-radius: 5px;
}
.navbar li>a {
    font-size: 1.3rem;
}
.navbar li>a.dropdown-item:hover {
    color: #FFFFFF;
    background-color: #0088dd;
}
.btn-outline-light {
    color: rgba(255,255,255,.55);
    border-color: rgba(255,255,255,.55);
}
nav.navbar>.container-fluid>a.navbar-brand>img {width: 13rem;}
/*nav.navbar>.container-fluid>a.navbar-brand>img {width: 13rem;}*/
/*.navbar-form .btn {
    background-color: #6a1a21!important; !*rgba(255,255,255,.55)*!
    color: #6a1a21!important;
    border: 1px solid #FFFF22;
}*/
.navbar>.container-fluid>.collapse>ul.navbar-nav>li.nav-item>ul.dropdown-menu>li:hover {
    background-color: transparent;
}
/*nav.navbar>div.container-fluid>div.collapse navbar-collapse>ul.navbar-nav>li.nav-item>ul.dropdown-menu>li>a.dropdown-item*/
.navbar>.container-fluid>.collapse>ul.navbar-nav>li.nav-item>ul.dropdown-menu>li>a.dropdown-item:hover {
    background-color: #0088dd;
    border-radius: 5px;
}
/*nav.navbar::after {
    width: 100%;
    height: 230px;
    content: "";
    border-bottom: 1px solid #6f42c1;
    background: url("./img/646/img_646_0002.jpg") no-repeat center center;
    display: block;
}*/
/* - - - - - - - - - Видео YouTube - - - - - - - - - */
.thumb-wrap {
position: relative;
padding-bottom: 56.25%; /* задаёт высоту контейнера для 16:9 (если 4:3 — поставьте 75%) */
height: 0;
overflow: hidden;
}
.thumb-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-width: 0;
    outline-width: 0;
}
/* - - - - - - - - - карусель на главной - - - - - - - - - */
.carousel>.carousel-inner>.carousel-item>.carousel-caption img {
    margin-bottom: .5rem;
}
.my-indent-top {
    margin-top: 3.9rem;
}
/* - - - - - - - - - Для первой страницы общее - - - - - - - - - */
.figure-left {
    margin: .6rem 1.5rem 0 0;
}
.figure-right {
    margin: .6rem 0 0 1.5rem;
}
figure a {
    text-decoration: none;
}
figure a img {
    display: block;
}
/* - - - - - - - - - Для первой страницы  - - - - - - - - - */
section.block2 {
    background-color: #a0eaff;
    padding: 2em 0;
}
section.block2>.container>.row>.col>img {
    width: 100%;
}
/* - - - - - - - - - А Н О Н С Ы  К А Т Е Г О Р И Й - - - - - - - - - */
.categories {
    background-color: #0055aa;
    /*padding: 2.0em 0 4em;*/
}
.categories h1 {
    /*margin-top: 3rem;*/
    color: #fff;
    margin-bottom: 2rem;
    /*font-family: "Verdana", sans-serif;*/
    font-weight: 100;
    font-size: 3.5rem;
    font-style: normal;
}
.categories .card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    /*background-color: #bbb;*/
    background-color: transparent;
    background-clip: border-box;
    /*border: 1px solid rgba(0,0,0,.125);*/
    border: 1px solid #0055aa;
    border-radius: .25rem;
    /*height: 354px;*/
}
.categories .card:hover {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
    border: 1px solid #0055aa;
    /*border-radius: .25rem ;*/
    background-color: #0088dd;
}
.categories .card img {
    border-radius: .25rem;
}
.categories .card:hover img {
    border-radius: .25rem .25rem  0  0;
}
.card a {
    display: block;
    /*    width: 100%; height: 100%;*/
    color: #fff;
    text-decoration: none;
    text-align: center;
    cursor:pointer;
}
.categories>.container>.row .btn-primary {
    background-color: #0055aa;
    border-color: #0055aa;
}
.categories>.container>.row .btn-primary:hover {
    background-color: #0088dd;
    border-color: #0088dd;
}
.categories .card-title {
    margin-bottom: 0.2rem;
    color: #FFF;
    font-weight: normal;
    /*font-family: "Verdana", sans-serif;*/
}
.card-text {
    color: #000;
    font-size: 1.2rem;
    line-height: 1.3;"
}
/* - - - - - - - - - А Н О Н С Ы  announcements - - - - - - - - - */
.announcements {
    background-color: #fff;
    padding: 2.0em 0 4em;
}
/*.announcements .row>div {
    display: flex;
}*/
.announcements h1 {
    /*margin-top: 3rem;*/
    margin-bottom: 2rem;
    /*font-family: "Verdana", sans-serif;*/
    font-weight: 100;
    font-size: 3.5rem;
    font-style: normal;
}
.announcements .card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    /*background-color: #bbb;*/
    background-color: transparent;
    background-clip: border-box;
    /*border: 1px solid rgba(0,0,0,.125);*/
    border: 1px solid #fff;
    border-radius: .25rem;
    /*height: 354px;*/
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}
.announcements .card:hover {
    /*box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;*/
    /*border: 1px solid #bbb;*/
    /*border-radius: .25rem ;*/
    /*background-color: #ccc;*/
    /*background-color: #092c74;*/
    /*border: 1px solid #0088dd;*/
}
.announcements .card a {
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
    text-decoration: none;
    text-align: center;
    cursor:pointer;
    position: relative;
}
.announcements .card img {
    border-radius: .25rem .25rem  0  0;
}
/*.announcements .card:hover img {
    border-radius: .25rem .25rem  0  0;
}*/
.announcements .card:hover .card-body {
    border-radius:  0  0 .25rem .25rem;
    background-color: #0088dd;
}
.announcements .card a:hover .card-title {
    color: #FFFFFF;
}
.announcements .card-body {
    /*height: ;*/
    /*display: flex;
    align-items: center;
    justify-content: center;*/
}
.announcements>.container>.row .btn-primary {
    background-color: #1a63a2;
    border-color: #1a63a2;
}
.announcements>.container>.row .btn-primary:hover {
    background-color: #092c74;
    border-color: #092c74;
}
.announcements .card-title {
    margin-bottom: 0.2rem;
    color: #0055aa;
    font-weight: normal;
    /*font-family: "Verdana", sans-serif;*/
}
.announcements .card-text {
    color: #000;
    font-size: 1.2rem;
    line-height: 1.3;"
}
/* - - - - - - - - - А Н О Н С Ы  С Т А Т Е Й  В Е Д. Ч И С Л Е - - - - - - - - - */
.announcement {
    background-color: #0088dd;
    /*padding: 2.0em 0 4em;*/
}
/*.announcement .row>div {
    display: flex;
}*/
.announcement h1 {
    color: #FFFFFF;
    /*margin-top: 3rem;*/
    margin-bottom: 2rem;
    /*font-family: "Verdana", sans-serif;*/
    font-weight: 100;
    font-size: 3.5rem;
    font-style: normal;
}
.announcement .card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid #fff;
    border-radius: .25rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
    height: 100%;
}
.announcement .card:hover {
    /*box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;*/
    /*border: 1px solid #bbb;*/
    /*border-radius: .25rem ;*/
    background-color: #ddd;
    /*border: 1px solid #0088dd;*/
    /*border: 1px solid #0088dd;*/
}
.announcement .card a {
    display: block;
    width: 100%;
    /*height: 100%;*/
    color: #fff;
    text-decoration: none;
    text-align: center;
    cursor:pointer;
    position: relative;
}
.announcement .card img {
    border-radius: .25rem .25rem  0  0;
}
/*.announcement .card:hover img {
    border-radius: .25rem .25rem  0  0;
}*/
.announcement .card:hover .card-body {
    border-radius:  0  0 .25rem .25rem;
    /*background-color: #0055aa;*/
    /*background-color: #0088dd;*/
}
.announcement .card a:hover .card-title {
    color: #FFFFFF;
}
.announcement .card-body {
    /*height: ;*/
    /*display: flex;
    align-items: center;
    justify-content: center;*/
    /*добавил для выравнивания внутри белого*/
    display: flex;
    flex-direction: column;
}
.announcement .card-body a {
    margin-top: auto;
}
/*.announcement>.container>.row .btn-primary {*/
.announcement .btn-primary {
    background-color: #0055aa;
    border-color: #0055aa;
}
/*.announcement>.container>.row .btn-primary:hover {*/
.announcement .btn-primary:hover {
    background-color: #0088dd;
    border-color: #0088dd;
}
.announcement .card-title {
    margin-bottom: 0.2rem;
    color: #0055aa;
    font-weight: normal;
    /*font-family: "Verdana", sans-serif;*/
}
.announcement .card-text {
    color: #000;
    font-size: 1.2rem;
    line-height: 1.3;"
}
/*.announcement {
    background-color: #0088dd;
}
.announcement h1 {
    color: #fff;
    margin-bottom: 2rem;
    font-weight: 100;
    font-size: 3.5rem;
    font-style: normal;
}
.announcement>.container {
    padding: 2rem 0;
}
.announcement>.container>.row .btn-primary {
    background-color: #0055aa;
    border-color: #0055aa;
}
.announcement>.container>.row .btn-primary:hover {
    background-color: #0088dd;
    border-color: #0088dd;
}*/
/* - - - - - - - - - E N D  А Н О Н С Ы  С Т А Т Е Й - - - - - - - - - */
/* - - - - - - - - - А Н О Н С Ы  С Т А Т Е Й  # ! - - - - - - - - - */
#announcements {
    background-color: #FFFFFF;/*background-color: #177794;*//*background-color: #F6967D;*/
}
#announcements>.container {
    padding: 4rem 0;
}
#announcements>.container>.row>.col {
    min-width: 320px;
}
/*#announcements>.container>.row {}*/ /*g-2 расстояние вокруг?*/
/*расстояние между строками*/
/*#announcements>.container>.row>.col {
    margin-bottom:20px;
} */
/*расстояние между строками*/
/*#announcements>.container>.row>.col:last-child {
    margin-bottom:0;
} */
#announcements>.container>.row>.col .btn-primary {
    background-color: #177794;
    border-color: #177794;
}
#announcements>.container>.row>.col .btn-primary:hover {
    background-color: #F6967D;
    border-color: #F6967D;
}
/* - - - - - - - - - E N D  А Н О Н С Ы  С Т А Т Е Й  OLD - - - - - - - - - */
/* - - - - - - - - - T A B L E - - - - - - - - - */
table {
    border: 1px solid red;
    border-bottom: 3px solid #d6f5ff;
    /*overflow-x: auto;*/
    /*overflow: scroll;*/
}
table thead {
    background-color: #05a;
    color: white;
}
table thead th,
table thead td {
    font-weight: normal;
    border-right: none;
    border-left: none;
}
table tr:nth-of-type(even) {
    background-color: #f5f5f5;
}
table th, table td {
    padding: .5rem .2rem !important;
    /*padding: 0 !important;*/
    text-align:center;
    vertical-align: middle;
}
table th a, table td a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    text-decoration: none;
    color: #212529;
}
table th a:hover, table td a:hover {
    /*display: block;*/
    /*text-decoration: none;*/
    color: #fff;
}
table th:hover,
table td:hover {
    background-color: darkorange;
}
table .light-red {
    background-color: rgba(255, 100, 100, 0.5);
}
table .light-green {
    background-color: rgba(153, 255, 0, 0.5);
}
table .green {
    background-color: rgba(0, 204, 0, 0.5);
}
table .light-blue {
    background-color: rgba(0, 238, 255, 0.5);
}
table .blue {
    background-color: rgba(0, 204, 255, 0.5);
}
table .light-violet {
    background-color: rgba(238, 221, 255, 0.5);
}
table .violet {background-color: #c9f;}
/*table tr:hover a,*/
table tr:hover
{
    background-color: #0055aa;
    color: #FFFFFF;
    /*z-index: auto;*/
}
table tr:hover a {
    color: #fff;
}
table tr:hover a:hover {
    background-color: darkorange;
}
/* - - - - - - - - - E N D  T A B L E - - - - - - - - - */
.base-block {
    background-color: #FFFFFF;
    padding: 0 0 3em;
}
/* - - - - - - - - - P R O D U C T - - - - - - - - - */
main {
    /*background-color: #6f42c1;*/
    /*padding: 4em 0 2em 0;*/
}
/*main h1,
main h2,
main h3,
main h4,
main h5,
main h6 {
    color: #0055aa;
    font-family: 'Philosopher', sans-serif;
    font-style: normal;
}*/
h1,
h2,
h3,
h4,
h5,
h6 {
    /*color: #0055aa;*/
    color: #0088dd;
    font-family: 'Philosopher', sans-serif;
    font-style: normal;
}
main h1 {
    margin-top: 3rem;
    margin-bottom: 2rem;
    font-weight: bold;
    font-size: 7vw;
}
@media (min-width: 768px) {
main h1 {
    font-size: 5vw;
}
}
@media (min-width: 992px) {
main h1 {
    font-size: 3vw;
}
}
main h2 {
    /*margin-top: 3rem;*/
    /*margin-bottom: 2rem;*/
    font-weight: bold;
    font-size: 2.5rem;
}
main>.container .row>.col>.product_photos>.first_photo {
    background-color: #fff;
    padding: 1rem;
    margin: .6rem 0 1rem 0;
    border: #bbb 1px solid;
    border-radius: 5px;
}
main>.container .row>.col>.product_photos>.first_photo>a>img {
    display: block;
    margin: 0 auto;
}
/*main>.container .container .row .col .additional div {*/
.additional {
    display: flex!important;
    /*justify-content: center!important;*/
    align-items: center;
    flex-wrap: wrap;
}
.additional div {
    width: 62px;
    height: 62px;
    float: left;
    margin: 0 10px 10px 0;
    padding: 3px 3px 3px 3px;
    border: #bbb 1px solid;
    border-radius: .25rem;
    overflow: hidden;
    background-color: #FFFFFF;
}
.additional div>a>img {
    margin: 0 auto;
    display: block;
    height: 100%;
}
.product-brief {
    overflow:hidden;
}
.product-brief p {
    margin-bottom: 0;
}
/* - - - - - - - - - E N D  P R O D U C T - - - - - - - - - */
/* - - - - - - - - - В К Л А Д К И (везде!)- - - - - - - - - */
.nav-border {
    border: 1px solid #ddd;
    border-radius: .25rem;
    background: #fff;
    margin-bottom: 2rem;
}
.nav-border .nav-tabs {
    background-color: #DEE2E6;
}
.nav-border .tab-content {
    padding: 1rem 1rem;
}
.nav-tabs .nav-item.show .nav-link:hover, .nav-tabs .nav-link:hover {
    background-color: #F6967D;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #495057;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
}
/* - - - - - - - - - E N D  В К Л А Д К И - - - - - - - - - */
/* - - - - - - - - - К А Р У С Е Л Ь  Ф О Т О  О Т Д Е Л Ь Н О - - - - - - - - - */
main.photo {
    padding: 0;
}
     /*#carouselExampleCaptions {background-color: #20c997;width: 100vw;height: 100vh;}*/
main #carouselExampleCaptions p,
main #carouselExampleCaptions h1 {
     color: #999;
     font-size: 1.3rem;
     font-weight: normal;
     margin-top: 0;
     margin-bottom: 1rem;
 }
/*.carousel-item {background-color: #87d9e7;width: 100vw;height: 100vh;display: flex!important;justify-content: center!important; align-items: center;}*/
/* ниже 1 м/б ненадо */
main .carousel-caption {
    position: absolute;
    right: 15%;
    bottom: 1.25rem;
    left: 15%;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    color: #fff;
    text-align: center;
}
main .carousel-item {
    background-color: #FFFFFF;
    width: 100vw;
    height: 100vh;
    display: flex!important;
    justify-content: center!important;
    align-items: center;}
main .carousel-item img {
    max-width: 1550px;
}
main .carousel-indicators li {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 30px;
    height: 3px;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #000000;
    background-clip: padding-box;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    opacity: .5;
    transition: opacity .6s ease;
    /*border-radius: 50% / 25%;*/
    /*border-radius: 50%;*/
}
main .carousel-indicators .active {opacity: 1;}
main .carousel-control-prev>.carousel-control-prev-icon,
main .carousel-control-next>.carousel-control-next-icon {
    background-color: #000000;
    opacity: .2;
    border-radius: 25%;
}
main .carousel-control-prev:hover>.carousel-control-prev-icon,
main .carousel-control-next:hover>.carousel-control-next-icon {
    background-color: #000000;
    opacity: .6;
}
/* - - - - - - - - - П О Д В А Л - - - - - - - - - */
/* Сначала общее */
footer {
    background: #0088dd;
    color: #fff;
}
footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6 {
    color: #fff;
}
footer .footer-block {
    padding: 2rem 2rem;
}
.copyright {
    background-color: #0055aa;
}
.informer {
    margin-left: 0;
    margin-top: 8px;
    border: 1px solid white;
    background-color: #FFFFFF;
}
footer p {
    font-size: 1.3rem;
    color: #FFFFFF;
    margin: 0;
    padding: 0;
}
footer p.text {margin-top: 15px;}
footer ul.social {
    margin-top: 22px;
}
footer .pic {
    width: 136px;
    border: 1px solid #fff;
    float: left;
    margin-top: 9px;
    margin-right: 15px;
    margin-bottom: 7px;
    display: inline;
}
footer .block {
    overflow: hidden;
    display: block;
}
footer ul
/*ul.social*/
{
    margin-left: 0;
    padding-left: 0;
    font-size: 1.3em;
}
footer ul.social>li, footer ul>li {
    list-style-type: none;
}
footer ul.social>li {
    display: inline;
    margin-right: 1em;
}
footer ul.social>li>a, ul>li>a {
    text-decoration: none;
    color: #FFFFFF;
}
footer ul.social>li>a:hover {
    color: #0055aa;
}
/*ul.social>li>a:hover,*/ footer ul>li>a:hover {
    color: #FFFFFF;
    text-decoration: underline;
    text-decoration-style: dotted;
    /*text-decoration-style: wavy;*/
}
/* последнии статьи */
footer .recent-articles {}
/* быстрые ссылки */
footer .quick-links li {
    border-bottom: 1px dotted white;
    padding: 7px 0;
}
footer .popular-articles {}
/* для 4 колонки */
footer ul.footer-ad-article>li {
    border-bottom: 1px #fff dotted;
    padding: 7px 0;
    overflow: hidden;
}
footer .quick-links li:last-child,
ul.footer-ad-article>li:last-child {border-bottom: none;}
.arrow {
    width: 50px;
    /* background: green; */
    color: #FFF;
    position: fixed;
    bottom: 55px;
    right: 0;
    padding: 0;
    transition: left .5s;
    z-index: 1000;}
.arrow a {
    display: block;
    text-decoration: none;
    float: left;
    background: #fff;
    color: #534947;
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 30px;
    padding-top: 3px;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    /* border-radius: 5px;*/
}
.ad {
    width: 228px;
    background-color: #fff;
    /*color: #FFF;*/
    position: absolute;
    top: 4.7rem;
    right: .4vw;
    padding: 0;
    border: 1px solid #bbb;
    /*transition: left .5s;*/
    z-index: 40;
}
.ad a {
    /*display: block;*/
    text-decoration: none;
    /*float: left;*/
    background-color: #f6f;
    /*border: 1px solid red;*/
    color: #534947;
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 30px;
    padding-top: 3px;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    /* border-radius: 5px;*/
}
.ad img {
    width: 100%;
    margin-bottom: .3rem;
}
.ad h4 {
    font-size: 1rem;
    margin-bottom: .2rem;
}
.ad p {
    font-size: .8rem;
}


/* цвет всей полосы */
.btn-primary {
    background-color: #0088dd;
    color: #FFFFFF;
}
.my_dark_blue {
    background-color: #0055aa;
}
.my_light_blue {
    background-color: #0088dd;
}
.my_light {
    background-color: #ddd;
}
.my_yellow {
    background-color: #ffdd00;
}
.color_light_blue {
    color: #0088dd;
}
.color_dark_blue {
    color: #0055aa;
}
/* - - - - - - - - - П О Л О С А  С  Л О Г О Т И П А М И - - - - - - - - - *//* ЗАТРАГИВАЕТ */
/* стрелкм и вокруг */
.carousel-control-next, .carousel-control-prev {
    width: 10vw;
}
/* индикаторы */
.carousel-indicators {
    margin-bottom: 1vw;
}
/* Выделение белым при наведении. */
.my_logo:hover {
    background-color: #f4f3ef;
}
/*#my_carousel>.carousel-inner>.carousel-item>.my_card:hover {background-color: orange;}*/
/* - - - Отступы в блоке - - - *//*align-items: center;*/
/* Выравнивание каждой группы по центру */
/*#my_carousel>*/
.carousel-inner>.carousel-item {
    display: flex;
    justify-content: center;
}
/*background-color: #0dcaf0;*//*z-index: 1000;*/
/*#my_carousel>.carousel-inner>.carousel-item>.my_card,*/
/*#my_carousel>*/
.carousel-inner>.carousel-item>.my_logo
{
    max-width: 20%;
    min-width: 20%;
    height: 13vw;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* размер имиджа */
.carousel-item .my_logo a img {
    width: 9.4vw;
    /*width: 100%;*/
}
.carousel-item .my_card a img {
    /*width: 9.4vw;*/
    width: 100%;
    /*max-height:179px;*/

    /*max-height:100%;*/
    /*height: 100%;*/
    /*height: 19.4vh;*/
}

/* БАНЕР */
.banner {
     max-width: 100%; /**/
     overflow: clip;
     position: relative;
     background-color: #0088dd;
     display: flex;
     justify-content: center;
     align-items: center;
 }
.banner .banner_text p,
.banner .banner_text h2,
.banner .banner_text h3,
.banner .banner_text h4,
.banner .banner_text h5 {
    color: #fff;
    text-align: center;
}
.banner .banner_text h2 {margin-top: .7vw;}
.banner>img {
    /*width: 100%;*/
    height: 100%;
    min-height: 662px;
    /*max-width: 100%;*/
}
.banner .banner_text {
    width: 70vw;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3vw;
    background-color: rgba(0, 100, 200, 0.5);
}
.banner_text img {
    /*margin-left: auto;*/
    /*margin-right: auto;*/
    width: 5vw;
    margin-top: 20px;
}
.btn-light {
    color: rgba(0, 100, 200, 1);
    margin-bottom: 20px;
}
@media screen and (min-width: 1600px) {
    .banner>img {
        width: 100%;
        height: auto;
    }
}
/* last p to colon */
.col-md-1>p:last-child,
.col-md-2>p:last-child,
.col-md-3>p:last-child,
.col-md-4>p:last-child,
.col-md-5>p:last-child,
.col-md-6>p:last-child,
.col-md-7>p:last-child,
.col-md-8>p:last-child,
.col-md-9>p:last-child,
.col-md-10>p:last-child,
.col-md-11>p:last-child,
.col-md-12>p:last-child
{
    margin-bottom: 0;/*color: #00cc00;*/
}
/* ==================================================================== */
/* везде внутри банера елый текст */
.carousel-item .carousel-caption p,
.carousel-item .carousel-caption h2,
.carousel-item .carousel-caption h3,
.carousel-item .carousel-caption h4,
.carousel-item .carousel-caption h5
{
    color: #FFFFFF;
}
/* ------- В рекламной карусели -------- */
.carousel-item.banner {
    max-width: 100%;
    overflow: clip;
    position: relative;
    background-color: #0088dd;
    display: flex !important;
    justify-content: center;
    align-items: center;
}
.carousel-item.banner>.carousel-caption.banner_text {
    width: 70vw;
    bottom: auto;
    background-color: rgba(0, 100, 200, 0.5);
    border: #ffdd00 5px dotted;
}
.carousel-item.banner>.carousel-caption.banner_text img {
    width: 15vw;
    border-radius: 50%;
    border: #fff 3px solid;
    margin: 0;
}
.carousel-item.banner>img {
    width: 100%;
    height: 100%;
    /*min-height: 662px;*/
    min-height: auto;
    max-width: 100%;
}
.carousel-item.banner>.carousel-caption.banner_text>a {
    margin: 0;
    background-color: #f8f9fa;
    /*margin-bottom: 0;*/
}
@media screen and (max-width: 560px) {
    .carousel-item.banner>.carousel-caption.banner_text {
        /*padding-top: 0.2rem;*/
        /*padding-bottom: 0.4rem;*/
    }
    .carousel-item.banner>.carousel-caption.banner_text>h2 {
        font-size: 1.2rem;
        line-height: 1.0;
        /*margin-bottom: 0rem;*/
    }
    .carousel-item.banner>.carousel-caption.banner_text>p {
        font-size: 0.81rem;
        line-height: 1.1;
        margin-bottom: 0.5rem;
    }
    .carousel-item.banner>.carousel-caption.banner_text>a {
        padding: 0 0.5rem;
        margin-bottom: 0;
        font-size: 0.8rem;
    }
}
@media screen and (max-width: 400px) {
    .carousel-item.banner>.carousel-caption.banner_text>h2 {
        font-size: 0.9rem;
        line-height: 1.0;
    }
}
.border-white {border: #FFFFFF 5px dotted!important;}
.border-pink {border: #ff7bb4 5px dotted!important;}
.border-red {border: #ff0000 5px dotted!important;}
.border-green {border: #00ff00 5px dotted!important;}
.border-yellow {border: #ffdd00 5px dotted!important;}
.border-blue {border: #2B9DFF 5px dotted!important;}
.border-purple {border: purple 5px dotted!important;}
.tblue {background-color: rgba(0, 100, 200, 0.5)!important;}
.tlblue {background-color: rgba(43, 157, 255, 0.5) !important;}
.tyellow {background-color: rgba(255, 220, 0, 0.5)!important;}
.tpink {background-color: rgba(228, 105, 160, 0.5)!important;}
.tlgreen {background-color: rgba(154, 255, 92, 0.5) !important;}
.tgreen {background-color: rgba(0, 255, 0, 0.5) !important;}
.tred {background-color: rgba(255, 0, 0, 0.5)!important;}


.tblue {background-color: rgba(0, 100, 200, 0.5)!important;}
.tlblue {background-color: rgba(43, 157, 255, 0.5) !important;}
.tyellow {background-color: rgba(255, 220, 0, 0.5)!important;}
.tpink {background-color: rgba(228, 105, 160, 0.5)!important;}
.tlgreen {background-color: rgba(154, 255, 92, 0.5) !important;}
.tgreen {background-color: rgba(0, 255, 0, 0.5) !important;}
.tred {background-color: rgba(255, 0, 0, 0.5)!important;}
.tpurple {background-color: rgba(200, 0, 255, 0.5) !important;}

/* меню для зарегистрированных пользователей */
.personal {
     padding: 2.0em 0 4em;
     background-color:black; margin-top: 0vw;border-bottom: 1px solid #0088dd;
 }
.personal h1 {
    margin-bottom: 2rem;
    font-weight: 100;
    font-size: 3.5rem;
    font-style: normal;
}
.blue-block {
    background-color: #001157;padding: 1rem;margin-top: 0;
}
.darkblue-block {
    background-color: #050030;padding: 1rem;margin-top: 0;
}
.blue-block h2,
.darkblue-block h2 {
    color: #0088dd;line-height: 1.0;
}
.blue-block hr,
.darkblue-block hr {
    color: #0088dd;
}
.blue-block ul,
.darkblue-block ul {
    padding-left: 1rem; color: #0055aa;
}
.blue-block ul li,
.darkblue-block ul li {
    margin-bottom: .4rem;
}
.blue-block ul li:hover,
.darkblue-block ul li:hover,
.blue-block ul li a:hover,
.darkblue-block ul li a:hover {
    color: orange;
}
/* стиль кнопок */

.btn.btn-primary {
  font-size: 1.5rem;
  display: inline-block;
}

.btn.btn-primary {
  font-size: 1.5rem;
  display: inline-block;
  padding: 0.6em 1.4em;
  border-radius: 12px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #0088dd, #00c6ff); /* градиент: синий → голубой */
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 136, 221, 0.3); /* лёгкая тень в цвете */
  text-align: center;
  text-decoration: none;
}

/* Hover-эффект (ПК) */
.btn.btn-primary:hover {
  background: linear-gradient(135deg, #0077cc, #00b4e6); /* чуть темнее */
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 136, 221, 0.4);
}

/* Active-эффект (при клике) */
.btn.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(0, 136, 221, 0.4);
}

/* Адаптив для телефонов и планшетов */
@media (max-width: 768px) {
  .btn.btn-primary {
    font-size: 1.2rem;
    padding: 0.5em 1em;
    border-radius: 10px;
  }
}

/* Тут для страницы https://analysisswim.com/home/swimsmart-app */
.video-editor-section {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}



/* end меню для зарегистрированных пользователей */
/* body { background: red;} */