html {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

body {
    margin: 0;
    font-family: 'Roboto', Verdana, sans-serif;
    min-width: 100%;
    min-height: 100%;
    background-color: #E8F1FF;
}

.main-nav {
    position: relative;
    display: block;
    width: 60%;
    margin: 0 auto;
}

.main {
    /* max-width: 1200px; */
    margin: 0 auto;
    margin-top: 100px;
    width: 80%;
    margin-left: 10%;
    overflow: scroll;

    /*убираем полосу прокрутки*/
    -ms-overflow-style: none;/* IE and Edge */
    scrollbar-width: none;/* Firefox */
}
/*Настройки скроллбара в Chrome*/
.main::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome, Safari and Opera */
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: 5px 5px 5px -5px rgba(8, 42, 70, 0.2) inset;
    background-color: #e8f1ff;
}

::-webkit-scrollbar-thumb {
    background-color: rgb(4, 0, 80);
    background-image: -webkit-linear-gradient(45deg,
        rgba(4, 0, 80, 1) 0%,
        rgba(9, 9, 121, 1) 31%,
        rgba(0, 162, 195, 1) 100%);
}

.nav {
    position: relative;
    display: block;
    width: 50%;
    margin: 0 auto;
}

.search {
    margin-bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-input {
    width: 100%;
    border: 1px solid #1f3f76;
    border-radius: 30px;
    background: #fff;
    outline: none;
    padding: 12px 20px;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
}

.search-button {
    width: 40px;
    height: 40px;
    margin-left: -40px;
    padding: 19px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    border: none;
    background: #1f3f76 url('../../img/announcements/search.svg') no-repeat 40% center;
    cursor: pointer;

}

/* FSL settings */
.FSL {
    background-color: #E8F1FF;

    /* grid-area: o; */
    /* grid-auto-rows: auto; */
    display: flex;
    /* flex-flow: column wrap; */
    flex-flow: row wrap;
    justify-content: space-around;
    /* background: #FFFFFF; */
    /* border: 1px solid #999999; */
    border-radius: 9px;
}

.flex {
    display: grid;
    grid-template-columns: repeat(5,20%);
    grid-template-rows: repeat(20,5%);
    width: 45%;
    min-height: 150px;
    margin: 2%;
    max-height: 250px;
    background: #FFFFFF;
    /* Back shadow */
    box-shadow: 0px 0px 4px 3px rgba(63, 63, 63, 0.55);
    border-radius: 9px;
}

.IB {
    background-color: #051A3F;
    height: 100%;
    width: 100%;
    border-radius: 0 9px 9px 0;
    grid-area: 1/5/21/6;
}

.cap{
    grid-area: 2/1/3/5;
    padding-bottom: 1%;
    font-size: 32px;
    margin-top: 0;
    padding-left: 4%;
    font-weight: 700;
}

.text{
    grid-area: 3/1/19/5;
    padding-top: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 4%;
    max-height: 9.5em;
}

@media (max-width: 2000px){

    /* стили для xs-устройств */
    .flex {
        width: 80%;
        min-height: 9em;
        max-height: 15em;
        margin: 2%;
        border-radius: 8px;
    }

    .Fother {
        justify-content: center;
    }

    .IB{
        border-radius: 0 8px 8px 0;
    }
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.btn {
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
}

.dec {
    position: relative;
    width: 600px;
    background: #fff;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0 30px;
}

.btn-dec {
    display: block;
    width: 52em;
}

.btn-dec::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 30px;
}

.dec-list {
    width: 100%;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    overflow: hidden;
    max-height: 0;
}

.ul-open {
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
    max-height: 2000px;
    position: relative;
    z-index: 3;
}

.dec-item {
    padding: 10px 10px;
    position: relative;
    background: url('../../img/profile/arrow-right.svg') no-repeat center right;
    background-size: 30px 30px;
    border-radius: 5px;
    transition: 0.3s background-color;
}

.dec-item:last-child {
    margin-bottom: 20px;
}

.dec-item:hover {
    background-color: #ebebeb;
}

.dec-item:active {
    background-color: #fff;
}

.dec-name {
    padding: 0;
    font-size: 18px;
    display: block;
}

.dec-name::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.dec-span {
    font-size: 15px;
    font-weight: 300;
}

.dec-span:not(:last-child) {
    margin-right: 2px;
}