@charset "UTF-8";

/*--Global--*/

/*--button to-top & to-down----*/

#btn-Down {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Fixed/sticky position */
    width: 44px;
    bottom: 40px;
    /* Place the button at the bottom of the page */
    right: 20px;
    /* Place the button 20px from the right */
    z-index: 1999;
    /* Make sure it does not overlap */
    /* background-color: hsla(218, 40%, 19%, 0.7);*/
    /* Set a background color */
    /* color: #ced6e3;*/
    /* Text color */
    border-radius: 10px;
    /* Rounded corners */
    font-size: 1rem;
    /* Increase font size */
    outline: none;
}

#btn-Down>img {
    transform: rotate(180deg);
}

#btn-Up:hover,
#btn-Down:hover {
    background-color: #1d2b43;
    color: red;
}

#btn-Up {
    display: none;
    position: fixed;
    width: 44px;
    bottom: 83px;
    right: 20px;
    z-index: 1999;
    /*background-color: hsla(218, 40%, 19%, 0.7);*/
    /*color: #ced6e3;*/
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
}

/*--------end button--------*/


/*---nav-bar styles ---*/
.navbar {
    background-color: #1d2b43;
    z-index: 1035;
}

nav.navbar {
    box-shadow: 0 5px 5px #000;
}

.head-title {
    font-size: 1.5rem;
    font-family: "Noto Serif", serif;
    color: #ced6e3;
}

.head-subtitle {
    font-size: 1.05rem;
    font-family: "Noto Serif", serif;
    color: #ced6e3;
}

.head-phones {
    color: #ced6e3;
    font-size: 1.5rem;
}

@media (min-width: 576px) {
    a.navbar-brand>img {
        width: 72px;
        height: 72px;
    }

    .head-title {
        font-size: 1.75rem;
    }

    .head-subtitle {
        font-size: 1.25rem;
    }

    .nav-link {
        font-size: 1.125rem;
    }

    .head-phones {
        font-size: 1.35rem;
        font-weight: bold;
    }
}

/*@media (max-width: 991px) {         //Доработать в зависимости от экрана
  #navbarText.show > ul > li {
    width: 30vw;
    }
}*/
@media (min-width: 1200px) {
    a.navbar-brand>img {
        width: 88px;
        height: 88px;
    }

    .head-title,
    .head-phones {
        font-size: 2rem;
    }

    .head-subtitle {
        font-size: 1.5rem;
    }

    /*.nav-link {
    font-size: 1.25rem;}*/
    .head-phones {
        font-size: 1.6rem;
    }
}

div.dropdown-menu.show {
    top: 3rem;
    right: 1vw;
    border-color: rgba(0, 0, 0, 0.35);
    /*-------------*/

}

div.dropdown-menu.show>a:hover {
    color: #17a2b8;
}


a.nav-link>p {
    color: #ced6e3;
}

#navbarDropdownMenuLink_1, #navbarDropdownMenuLink_2 {
    color: #ced6e3;
}

a.nav-link>p:hover {
    color: #17a2b8;
}

#head-button {
    border: 2px solid #8094b3;
}

#head-button:hover {
    border-color: #17a2b8;
    /*background-color: #ced6e3;*/
}

#navbarDropdownMenuLink:hover {
    color: #17a2b8;
}
#navbarDropdownMenuLink_1:hover {
    color: #17a2b8;
}
#navbarDropdownMenuLink_2:hover {
    color: #17a2b8;
}

/*----------------------header style------------------------------*/
header {
    background-image: url(../images/white-scratone.png);
    background-repeat: repeat;
}

.carousel-title {
    font-size: 3rem;
    font-weight: bold;
}

.carousel-title-4 {
    text-shadow: black 1px 1px 0, black -1px -1px 0, black -1px 1px 0, black 1px -1px 0;
}

@media (max-width: 576px) {
    .carousel-title {
        font-size: 1.5rem;
    }

    .carousel-title-1,
    .carousel-title-2 {
        font-family: "Noto Serif", serif;
        box-shadow: 0 4px 4px #000;
    }

    .carousel-title-2,
    .carousel-title-3,
    .carousel-title-4 {
        text-shadow: black 1px 1px 0, black -1px -1px 0, black -1px 1px 0, black 1px -1px 0;
    }
}

@media (max-width: 992px) {
    .carousel-title-3 {
        text-shadow: black 1px 1px 0, black -1px -1px 0, black -1px 1px 0, black 1px -1px 0;
    }
}

#carouselExampleCaptions {
    box-shadow: 0 5px 5px #000;
}

.help-phone {
    color: #ced6e3;
    font-weight: bold;
    font-family: "Noto Serif", serif;
    background-color: #1d2b43;
    font-size: 1.3rem;
    box-shadow: 0 5px 5px #000;
}

/*-------------- Some-about unit ------------------*/
.some-about>p {
    text-indent: 1.5rem;
    font-size: 1.2rem;
}

.some-about .p-first {
    text-indent: inherit;
   
}

strong.some-about {
    font-size: 1.2rem;
}

.list-group a {
    color: #ced6e3;
    background-color: #1d2b43;
}

.last {
    font-size: 1.2rem;
}

.free-anon {
    font-size: 1.25rem;
}





/*---------FOR ALL CARDS-------------*/
.card {
    border-color: rgba(0, 0, 0, 0.35);
}






/*-------About group unit---*/
.about-group h2 {
    background-color: #1d2b43;
    color: #ced6e3;
    /*font-family: "Noto Serif", serif;*/
    font-size: 2.5rem;
}

.about-group img {
    border-radius: 15px;
}

/*---------button effects--------------------*/
.about-group a {
    text-decoration: none;
    outline: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    transition: 0.2s ease-in-out;
}

.about-group a:before {
    content: "";
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.5));
    height: 50px;
    width: 50px;
    position: absolute;
    top: -8px;
    left: -75px;
    transform: skewX(-45deg);
}

.about-group a:hover {
    background-color: #1d2b43;
    color: #ced6e3;
    border-color: #4f6d9c;
}

.about-group a:hover:before {
    left: 150px;
    transition: 0.5s ease-in-out;
}

/*------------ News-card unit----------------*/
.news-card h2 {
    background-color: #1d2b43;
    color: #ced6e3;
    /*font-family: "Noto Serif", serif;*/
    font-size: 2.5rem;
}

.news-card img {
    border-radius: 15px;
}

.news-card .card-footer {
    background-color: #ced6e3;
}

/*----------------Last news unit ------------------*/
.blog h2 {
    background-color: #1d2b43;
    color: #ced6e3;
    /*font-family: "Noto Serif", serif;*/
    font-size: 2.5rem;
}

.blog img {
    border-radius: 15px;
}

/*----------- Styles for About-us -----------------*/
body {
    background-image: url(../images/white-scratone.png);
    background-repeat: repeat;
}

h1 {
    font-family: "Noto Serif", serif;
    font-size: 2.5rem;
}

@media(min-width: 576px) {
    .navbar-about {
        top: 79px;
    }
}

@media(max-width: 575px) {
    .navbar-about {
        top: 166px;
    }
}

.history-header h2 {
    font-family: "Noto Serif", serif;
    font-size: 2rem;
}

.history-body p {
    font-size: 1.25rem;
    text-indent: 1.5rem;
}

.navbar-press,
.navbar-biblio {
    z-index: 1000;
}

.navbar-press>p,
.navbar-biblio>p {
    font-size: 1.25rem;
}

.press-body>p,
.press-body li {
    color: rgba(0, 0, 0, 65%);
    text-indent: 1rem
}

.press-body>span {
    font-size: 0.75rem;
}

.press-body .title {
    font-size: 1.25rem;
}

/*-------Biblio styles-------------------*/ /*button.download*/



a.btn {
    background: inherit;
    color: hsl(217, 33%, 31%);
    position: relative;
    border: 1px solid hsl(217, 33%, 31%);
    outline: none;
}

a.btn:hover {
    background: inherit;
    color: #17a2b8;
    border: 1px solid #17a2b8;
    background-color: hsla(220, 9%, 80%, 0.60);
}

.book-list>div {
    background-color: hsla(220, 9%, 80%, 0.25);
}

.biblio .media-body {
    color: hsl(217, 33%, 31%);
}

.navbar-toggler-icon:hover {
    /*--это какой-то пиздец...*/
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgb(23, 162, 184)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:hover {
    border-color: rgb(23, 162, 184);
}

@media (max-width: 768px) {
    .biblio .book-list p {
        text-align: justify;
    }
}
/*------AcloTest styles-----------------*/


/*-----Цвет радио-кнопок-----------*/

/*.custom-control-input:checked~.custom-control-label::before {
    color: #fff;
    border-color: #007bff;
    background-color: #007bff;
}*/

.alco-test {
    color: hsl(217, 33%, 31%);
}



.alco-test .btn-outline-secondary:hover {
    background-color: #1d2b43;
}

.jellinek {
    font-size: 0.85rem;
}

@media(min-width: 470px) {
    article>div {
        text-align: justify;
    }
}



/*-----------------programm styles--------------------*/

.reability  p {
    font-size: 1.25rem;
    text-indent: 1.5rem;
}

