.h1_news {
    text-align: center;
}

.photo {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.photo div {
    max-width: 320px;
    height: 200px;
    width: 100%;
    background-size: cover;
    cursor: pointer;
}


.main_block_news {
    background-color: #0090d32c;
    padding: 10px;
    border-radius: 10px;
    margin-top: 20px;
}

.change {
    width: 130px;
    height: 30px;
    margin-top: 32px;
    font-weight: 600;
    border-radius: 20px;
    border: 2px solid #341d69;;
    background-color: rgb(255, 255, 255);
    font-size: 18px;
    color: #341d69;;
    cursor: pointer;
    margin-right: 20px;
}
.change:hover{
    background-color: #341d69;
    color: white;
    scale: 1.1;
    border: 2px solid #341d69;
    box-shadow: 0px 0px 6px rgb(0, 0, 0);
}
.del {
    width: 130px;
    height: 30px;
    margin-top: 32px;
    font-weight: 600;
    border-radius: 20px;
    border: 2px solid #d30000;;
    background-color: rgb(255, 255, 255);
    font-size: 18px;
    color: #d30000;;
    cursor: pointer;
}
.del:hover{
    background-color: #d30000;
    color: white;
    scale: 1.1;
    border: 2px solid #d30000;
    box-shadow: 0px 0px 6px rgb(0, 0, 0);
}

.add {
    position: fixed;
    display: block;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
    bottom: 20px;
    width: 150px;
    height: 50px;
    margin-top: 32px;
    font-weight: 600;
    border-radius: 20px;
    border: 2px solid #00d335;
    background-color: rgb(255, 255, 255);
    font-size: 20px;
    color: #00d335;;
    cursor: pointer;
}
.add:hover{
    background-color: #00d335;
    color: white;
    scale: 1.1;
    border: 2px solid #00d335;
    box-shadow: 0px 0px 6px rgb(0, 0, 0);
}

/* МОДАЛЬНОЕ ОКНО */

#black_modal_window_1 {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    overflow: hidden;
    z-index: 200;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
    transition: all 0.5s;
}   

.move_img {
    display: none;
    z-index: 50000;
    width: 150px;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    bottom: 50px;
    text-align: center;
    /* background-color: #000000a4; */
    border-radius: 10px;
    /* border: 4px solid #ffffff30; */
    
  }

  .left {
    width: 50px;
    height: 50px;
    background: transparent url(/assets/images/left.png) no-repeat center center;
    background-size: cover;
    margin-left: 10px;
    margin-right: 30px;
    cursor: pointer;
    transition: all 0.3s;
}
  .right {
    width: 50px;
    height: 50px;
    background: transparent url(/assets/images/right.png) no-repeat center center;
    background-size: cover;
    cursor: pointer;
    transition: all 0.3s;
    
}

.strelka:hover {
    scale: 1.2;
}

.outside_div {
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    width: 900px;
    margin-bottom: 10px;
}
.only_photo {
    top: 10px;
    right: 10px;
    margin-right: 10px;
    width: 30px;
}
.outside_div img {
    /* position: absolute; */
    display: block;
    width: 30px;
    height: 30px;
    -webkit-filter: drop-shadow(0px 2px 2px #000);
    filter: drop-shadow(0px 2px 2px #000);
    margin-top: 10px;
    margin-left: auto;
    margin-right: 10px;
    right: 10px;
    cursor: pointer;
    transition: all 0.5s;
}
.outside_div img:hover {
    scale: 1.1;
}

#changePhoto {
    width: 90%;
    height: 90%;
    /* object-fit: cover; */
    margin-top: 50px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    cursor: zoom-out;
    /* background-image: url(); */
    background: transparent no-repeat center center;
    background-size: contain;
}

.admin_main_gallary {
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.admin_gallary {
    margin: 0;
    padding: 0;
    height: min-content;
    width: 250px;
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: 0px 0px 5px black;
}
.admin_gallary img{
    width: 100%;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}
.gallary_del {
    text-align: center;
    margin: -4px;
    padding: 0;
    background-color: #db3939;
    color: white;
    height: 30px;
    padding-top: 10px;
    cursor: pointer;
    transition: all 0.5s;
}

.gallary_del:hover {
    background-color: #8b2121;
}