.admin {
    padding-top: 20px;
    margin-bottom: 40px;
}

.admin__container {
    padding: 20px;
    margin-bottom: 20px;
}

.admin__center {
    margin: 0 auto;
}

.admin__table {
    width: 100%;
    margin-bottom: 20px;
}

.admin__tr {
    display: flex;
    flex-wrap: nowrap;
    background-color: #ffffff;
    padding: 10px;
    transition: background-color .2s ease-in-out;
}

.admin__tr:nth-child(2n-1) {
    background-color: #eaf0f3;
    transition: background-color .2s ease-in-out;
}

.admin__tr p {
    transition: color .2s ease-in-out;
}

.admin__tr:hover {
    background-color: #bebebe;
}

.admin__tr:hover p {
    color: #ffffff;
}

.admin__td {
    display: block;
}

.admin__td_view {
    width: 30px;
    height: 30px;
    background-image: url("../images/icons/zoom-icon.png");
    margin-left: auto;
    transition: transform .2s ease-in-out;
}

.admin__td_view:hover {
    transform: scale(1.1);
}

.admin__td_send {
    width: 30px;
    height: 30px;
    background-image: url("../images/icons/icon-email.png");
    background-size: cover;
    margin-left: 10px;
    transition: transform .2s ease-in-out;
}

.admin__td_send:hover {
    transform: scale(1.1);
}

.admin__td_edit {
    width: 30px;
    height: 30px;
    background-image: url("../images/icons/create-outline.svg");
    margin-left: 10px;
    transition: transform .2s ease-in-out;
}

.admin__td_edit:hover {
    transform: scale(1.1);
}

.admin__td_delete {
    width: 30px;
    height: 30px;
    background-image: url("../images/icons/trash-outline.svg");
    margin-left: 10px;
    transition: transform .2s ease-in-out;
}

.admin__td_delete:hover {
    transform: scale(1.1);
}

.admin__list {
    display: flex;
    flex-wrap: wrap;
}

.admin__item {
    width: 160px;
    padding: 5px 10px;
    margin: 10px;
    border: 1px solid #000f45;
    box-shadow: 1px 2px 3px #8d95a3;
    cursor: pointer;
    transition: background-color .2s ease-in-out, color .2s ease-in-out;
}

.admin__item:hover {
    background-color: #8d95a3;
}

.admin__item:hover > .admin__link > .admin__title {
    color: #ffffff;
}

.admin__link {
    font-size: 16px;
    color: #000f45;
    font-weight: 600;
    transition: text-shadow .2s linear;
}
.admin__link:hover {
    text-shadow: 1px 3px 3px #bebebe;
}

.admin__link1,.admin__link2 {
    display: block;
    font-weight: 600;
    text-align: center;
    color: #000f45;
    margin-bottom: 20px;
    transition: text-shadow .2s linear;
}

.admin__link1 {
    font-size: 16px;
}

.admin__link2 {
    font-size: 14px;
}

.admin__link1:hover,.admin__link2:hover {
    text-shadow: 1px 3px 3px #bebebe;
}

.admin__header {
    font-size: 18px;
    font-weight: 600;
    color: #000f45;
    margin-bottom: 20px;
    text-align: center;
}

.admin__par {
    margin: 20px 0;
    text-align: center;
}

.admin__info {
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    color: #000f45;
}

.admin__btn {
    border: 1px solid #898989;
    border-radius: 3px;
    background-color: #bebebe;
    color: #000f45;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    padding: 5px 10px;
    cursor: pointer;
    transition: background-color .2s linear, color .2s linear;
}

.admin__btn:hover, .admin__btn:active {
    background-color: #898989;
    color: #fefefe;
}

.admin__tree {
    margin-left: 30%;
    width: 600px;
}

.admin__tree li {
}

.admin__tree li a {
    font-size: 14px;
    font-weight: 600;
    color: #000f45;
    margin-bottom: 10px;
    transition: text-shadow .2s linear;
}

.admin__tree li a:hover {
    text-shadow: 1px 3px 3px #bebebe;

}

.admin__tree li ul {
    margin-left: 40px;
    margin-bottom: 10px;
}

.admin__block {
    width: 100%;
    border-radius: 3px;
    padding: 10px;
    margin: 5px 0px;
    background-color: #bebebe;
    transition: background-color .2s ease-in-out;
}

.admin__block a {
    font-size: 14px;
    font-weight: 600;
    color: #000f45;
    transition: color .2s ease-in-out;
}


.admin__block:hover {
    background-color: #909090;
}

.admin__block:hover a {
    color: #ffffff;
}

.admin__page-item {
    display: flex;
    /*justify-content: space-between;*/
    width: 90%;
    border: 1px solid #cecece;
    padding: 10px;
    margin: 5px 0;
    cursor: pointer;
    transition: box-shadow .1s ease-in-out, background-color .1s ease-in-out;
}

.admin__page-item:hover {
    box-shadow: 1px 2px 3px #212121;
    background-color: #cecece;
}

.admin__page-itemText {
    margin-right: auto;
}

.admin__page-item_nopub {
    background-color: #db7777;
}

.admin__file-item {
    cursor: pointer;
    padding: 5px;
    transition: background-color .2s ease-in-out, box-shadow .2s ease-in-out;
}

.admin__file-item:hover {
    background-color: #bebebe;
    box-shadow: 5px 5px 5px #9e9e9e;
}

.admin__file-name {
    flex: 0 0 90%;
}

.admin__file-name_header {
    font-size: 20px;
    font-weight: bold;
}

.file__edit {
    margin-left: auto;
}

.admin__photo-item {
    border: 1px solid #9e9e9e;
    border-radius: 5px;
    cursor: pointer;
    transition: box-shadow .2s ease-in-out;
}

.admin__photo-item:hover {
    box-shadow: 1px 2px 3px #9e9e9e;
}

.admin__photo-img {
    height: 100px;
    overflow-y: hidden;
}

.admin__photo-btn {
    /*justify-content: space-between;*/
    padding: 5px;
}

.message__list {
    cursor: pointer;
    padding: 5px;
    border-bottom: 1px solid #9e9e9e;
    transition: background-color .2s ease-in-out, box-shadow .2s ease-in-out;
}

.message__list:hover {
    background-color: #bebebe;
    box-shadow: 5px 5px 5px #9e9e9e;
}
#add_btn {
    margin-bottom: 10px !important;
}

.btn__edit {
    background: none;
    border: none;
    width: 35px;
    height: 35px;
    background-image: url(../images/icons/create-outline.svg);
    margin-right: 10px;
    cursor: pointer;
    transition: transform .2s ease-in-out;
}

.btn__edit:hover {
    transform: scale(1.1);
}

.btn__del {
    flex: 0 0 auto;
    background: none;
    border: none;
    width: 35px;
    height: 33px;
    background-image: url(../images/icons/trash-outline.svg);
    cursor: pointer;
    transition: transform .2s ease-in-out;
}

.btn__del:hover {
    transform: scale(1.1);
}


.btn__route {
    background: none;
    border: none;
    width: 35px;
    height: 35px;
    background-image: url(../images/icons/icon-route.png);
    background-size: cover;
    margin-right: 10px;
    cursor: pointer;
    transition: transform .2s ease-in-out;
}

.btn__route:hover {
    transform: scale(1.1);
}

.btn__images {
    background: none;
    border: none;
    width: 35px;
    height: 35px;
    background-image: url(../images/icons/icon-pictures.png);
    background-size: cover;
    margin-right: 10px;
    cursor: pointer;
    transition: transform .2s ease-in-out;
}

.btn__images:hover {
    transform: scale(1.1);
}

.fancybox__container {
    --fancybox-bg: rgba(24, 24, 27, 0.5);
}

.fancybox__content>.f-button.is-close-btn {
    background: #000000 !important;
    top: -17px;
    right: -17px;
    opacity: 1;
    padding: 3px;
    border-radius: 20px;
}

.fancybox__content {
    border-radius: 5px;
}

.catalog__items {
    display: block;
    background-image: url(../images/icons/catalog_items.png);
    background-size: contain;
    width: 35px;
    height: 35px;
    margin-right: 15px;
    margin-left: 10px;
    transition: transform .2s ease-in-out;
}

.catalog__items:hover {
    transform: scale(1.1);
}

.catalog__images {

}

.catalog__images li {
    position: relative;
    width: 250px;
    margin-bottom: 10px;
}

.admin__catalog-image-del {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    background-color: black;
}

.admin__catalog-image-del::before {
    position: absolute;
    content: '×';
    top: -1px;
    left: 5px;
    font-size: 26px;
    line-height: 26px;
    color: white;
}


.admin__not-show {
    color: red;
}