html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }

}

@media (min-width: 725px) {
    .back {
        position: fixed;
        z-index: 997;
    }

    .openbtn {
        display: none
    }
  
}

@media (min-width: 725px) {
    .NavigPanelss {
        position: fixed;
        margin-left: 65.28%;
        z-index: 50;
    }
    .Editor {
        margin-top: 40px;
        margin-left: 66%;
    }
}

    @media (max-width: 724px) {
        .headerConteiner {
            display: none
        }
        .NavigPanelss {
            position: fixed;
            margin-left: 40%;
            background-color: rgb(151, 210, 239);
            z-index:50;
        }
        .Editor {
            margin-top: 50px;
            margin-left:40%;
        }
        .back {
            position: fixed;
            z-index: 997;
            margin-top:60px
        }
     }


    .btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
        box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
    }

    html {
        position: relative;
        min-height: 100%;
    }

    body {
        margin-bottom: 60px;
    }

    .form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
        color: var(--bs-secondary-color);
        text-align: end;
    }

    .form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
        text-align: center;
    }

    .header {
        position: fixed;
        margin-left: 25%;
        margin-right: 30%;
        z-index: 999;
        background-color: rgb(251, 169, 169,0.8);
        flex-wrap: wrap;
        gap: 20px;
        padding: 5px;
        display: flex;
        flex-direction: row;
        border-radius: 2%;
        min-width: 23%;
        width: auto;
    }

    .content {
        position: relative;
        top: 100px;
    }

    body {
    }

    .nav-item {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
        background-color: rgb(47, 170, 215);
        border-radius: 2%;
        align-content: center;
        padding-left: 2%;
        padding-right: 2%;
        height: 16px;
    }

    a {
        text-decoration: none;
    }

    e {
        color: azure;
    }

    .Post {
        background-color: rgb(213, 247, 244);
        height: auto;
        padding: 1%;
    }

.Card {
    width: 600px;
    height: 100%;
    padding: 1%;
}

    .CardColor {
        background-color: lightcyan;
    }

    .Price {
        background-color: azure;
    }






.sub-menu {
    display: none;
    background-color: rgb(151, 210, 239);
    min-width: 90%;
    width: auto;
 
}

    .sub-menu a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
       
    }

    .main-item:focus ~ .sub-menu,
    .main-item:active ~ .sub-menu,
    .sub-menu:hover {
       display:flex;
      
        justify-content:flex-start;
       
    }

        .sub-menu a:hover {
            background-color: #ddd
        }

.sub-menus {
    background-color: aliceblue;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    max-width: 1000px;
    min-width: 200px;
    padding-right:0;
}

        .sub-menus a {
        }

        .main-item:focus ~ .sub-menu,
        .main-item:active ~ .sub-menu,
        .sub-menus:hover {
        }

        .sub-menus a:hover {
            background-color:honeydew;
            width:100%;
            display: block;
        }

.priceEnd {
 display:flex;
 flex-direction:row;
 justify-content:space-between;
 margin-left:0%;
 margin-right:0%;
 
 width:100%;
 max-width:1000px;
 min-width:200px;
}




.TextCard {
}

    .main-item {
        background-color: rgb(213, 247, 244);
    }

    .dropdown {
        background-color: rgb(213, 247, 244);
        align-content: center;
        width: auto;
        display: inline-block
    }




    * {
        box-sizing: border-box;
    }


    .container {
        position: relative;
    }

    .containerI {
        position: relative;
    }
    /* Скрыть изображения по умолчанию */
    .mySlides {
        display: none;
    }

    .myISlides {
        display: none;
    }

    /* Далее и предыдущие кнопки */
    .prev,
    .next {
        cursor: pointer;
        position: absolute;
        top: 55%;
        max-width: 90%;
        width: auto;
        padding: 16px;
        margin-top: -50px;
        color: rgba(0, 0, 0, 0.8);
        font-weight: bold;
        font-size: 20px;
        border-radius: 0 3px 3px 0;
        user-select: none;
        -webkit-user-select: none;
    }

.prev2,
.next2 {
    cursor: pointer;
    position: absolute;
    top: 55%;
    max-width: 90%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: rgba(0, 0, 0, 0.8);
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}
next2 {
    margin-left:20%;
}
    /* Позиция "next кнопка" на право */
    .next {
        right: 0;
        border-radius: 3px 0 0 3px;
        margin-right: 16.4%;
    }
.next2 {
    right: 0;
    border-radius: 3px 0 0 3px;
    margin-left: 40.4%;
}
        /* При наведении курсора добавьте черный цвет фона с небольшим количеством прозрачного */
        .prev:hover,
        .next:hover {
            background-color: rgb(255, 216, 0);
        }
        .prev2:hover,
        .next2:hover {
            background-color: rgb(255, 216, 0);
        }
    .row:after {
        content: "";
        display: table;
        clear: both;
    }

    .active,
    .demo:hover {
        opacity: 1;
    }

    .prev {
        margin-left: 15%;
    }

   

    .create {
        background-color: turquoise;
        color: white;
    }

    .createfirst {
        background-color: turquoise;
        color: white;
        border-top-color: azure;
    }

    .butonpanel :hover {
        background-color: rgb(47, 170, 215);
    }

    .NavigPanels {
        position: fixed;
        margin-left: 40%;
        background-color: rgb(151, 210, 239);
        z-index: 998;
    }

    q {
        color: aliceblue
    }

    .Price-item {
        display: flex;
        padding-right:26%;
    }

.Price-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: relative;
    margin-top: 4%;
    padding-right: 0;
    max-width: 1000px;
    min-width: 200px;
    width: 98%;
}

    .block {
        display: block;
    }

    .myISlides40 {
        display: none
    }

    .CardNavig {
        display: flex;
    }

    .CardButon {
        align-items: flex-start;
        color: aliceblue;
    }

    .CardButons {
        align-items: flex-end;
        color: aliceblue;
        position: relative;
        margin-left: 60%;
    }

.Cards {
    
    display: flex;
    align-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    
    flex-shrink: 0.3;
    gap: 1%;
}

.Card {
    max-width: 600px;
    height: 100%;
}


    .flex {
        display: flex;
        flex-wrap: wrap;
        gap: 1%;
    }

    .razdels {
        display: inline-block;
        justify-content: center;
    }

    .PanelHeader {
    width:auto;
    padding-left:30px;
    padding-right:60px;
        background-color: rgb(47, 170, 215);
        display: flex;
        position: fixed;
    margin-left:18%;
   
        margin-top: 72px;
        gap: 14%;
        z-index: 9;
    }

    .out {
        position: fixed;
        margin-left: 78%;
    }

    img {
        max-width: 100%;
        height: auto;
        width: auto\9; /* ie8 */
    }

    .sidepanel {
        height: auto; /* Specify a height */
        width: 0; /* 0 width - change this with JavaScript */
        position: fixed; /* Stay in place */
        z-index: 999; /* Stay on top */
        top: 0;
        left: 0;
        background-color: #111; /* Black*/
        overflow-x: hidden; /* Disable horizontal scroll */
        padding-top: 60px; /* Place content 60px from the top */
        transition: 0.5s; /* 0.5 second transition effect to slide in the sidepanel */
    }

        /* The sidepanel links */
        .sidepanel a {
            padding: 8px 8px 8px 32px;
            text-decoration: none;
            font-size: 25px;
            color: #818181;
            display: block;
            transition: 0.3s;
        }

            /* When you mouse over the navigation links, change their color */
            .sidepanel a:hover {
                color: #f1f1f1;
            }

        /* Position and style the close button (top right corner) */
        .sidepanel .closebtn {
            position: absolute;
            top: 0;
            right: 25px;
            font-size: 36px;
            margin-left: 50px;
        }

    /* Style the button that is used to open the sidepanel */
    .openbtn {
        font-size: 20px;
        cursor: pointer;
        background-color: #111;
        color: white;
        padding: 10px 15px;
        border: none;
        position: fixed;
        z-index: 999;
    }

        .openbtn:hover {
            background-color: #444;
        }
















    .dropdown1 .dropbtn1 {
        cursor: pointer;
        font-size: 16px;
        border: none;
        outline: none;
        color: white;
        padding: 14px 16px;
        background-color: mediumturquoise;
        font-family: inherit;
        margin: 0;
        display: inline-block;
    }

    .navbar a:hover, .dropdown1:hover .dropbtn1, .dropbtn1:focus {
        background-color: turquoise;
        display: inline-block;
    }

    .dropdown1-content {
        display: none;
        position: absolute;
        background-color: #f9f9f9;
        min-width: 160px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 10;
    }

        .dropdown1-content a {
            float: none;
            color: black;
            padding: 12px 16px;
            text-decoration: none;
            display: block;
            text-align: left;
        }

            .dropdown1-content a:hover {
                background-color: aliceblue;
            }

    .show {
        display: block;
    }

    .fa fa-caret-down {
        display: inline-block;
    }

    .uph{position:fixed;
   
        width:100%;
        height:100px;
        background-color:azure;
       
        z-index:5;
    }
    
    .DeleteFoto200{
        left:62.6%;
       position:relative;
       bottom:84%;
    }
.DeleteFoto400 {
    left: 81%;
    position: relative;
    bottom: 91%;
}

.accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
}

    /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
    .active, .accordion:hover {
        background-color:mintcream;
    }
    .accordion:after {
        content: '\02795'; /* Unicode character for "plus" sign (+) */
        font-size: 13px;
        color: #777;
        float: right;
        margin-left: 5px;
    }

.active:after {
    content: "\2796"; /* Unicode character for "minus" sign (-) */
}
/* Style the accordion panel. Note: hidden by default */
.panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}
.price {
    display: flex;
    flex-direction: column;
    background-color: azure;
   
   
}
 
.price a:hover {
    background-color:aliceblue;
   

}
.Delete{
    display:flex;
  gap:20%;
    color:darkseagreen;
}
#DeleteSubmitdd{
    background-color:lightcoral;
    color:transparent;
}

#q2:checked ~ .price > .SortPrice,
#q3:checked ~ .price > .SortPrice {
    order: var(--cost);
}
.hidden {
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}