.content-home{
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--ColorThemes0);
    margin-bottom: 10px;
}

.content-home > .header{
    display: flex;
    flex-direction: row;
    width: calc(100% - 20px);
    justify-content: space-between;
    align-items: center;
    top: 0;
    border-radius: 25px;
    margin: 20px 10px;
}
.content-home > .header > h1{
    width: 100%;
    font-size: 25px;
    font-weight: 500;
    max-width: 70%;
    color: var(--ColorThemes2);
    transition: all 0.3s ease-out;
}
.content-home > .header > select{
    width: auto;
    font-size: 23px;
    font-weight: 500;
    max-width: 70%;
    color: var(--ColorThemes2);
    transition: all 0.3s ease-out;
    background: transparent;
}
@media (max-width: 500px) {
    .content-home > .header > h1[data-state="disable"]{
        margin-left: -120px;
        width: 0;
    }
}
.content-home > .header > div{
    display: flex;
    width: 100%;
}

.content-home > .header > div > .home-search-block{
    display: flex;
    width: 100%;
    justify-content: flex-end;
}
.content-home > .header > div > .home-search-block > input{
    width: 0px;
    height: 36px;
    border-radius: 15px 0 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    box-shadow: 0px 4px 8px rgba(0,0,0,.04), 0px 0px 2px rgba(0,0,0,.06), 0px 0px 1px rgba(0,0,0,.04);
    border: 2px solid var(--ColorThemes1);
    justify-content: center;
    background: var(--ColorThemes1);
    color: var(--ColorThemes2);
    margin-right: -25px;
    padding: 0;
    transition: all 0.3s ease-out;
}
.content-home > .header > div > .home-search-block > input[data-state="active"]{
    width: 250px;
    padding: 0 20px 0 5px;
}
@media (max-width: 500px) {
    .content-home > .header > div > .home-search-block > input[data-state="active"]{
        width: calc(100% - 55px);
        padding: 0 20px 0 5px;
    }
}
.content-home > .header > div > .home-search-block > button{
    width: 40px;
    height: 40px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    box-shadow: 0px 4px 8px rgba(0,0,0,.04), 0px 0px 2px rgba(0,0,0,.06), 0px 0px 1px rgba(0,0,0,.04);
    transition: .3s ease;
    border: 2px solid var(--ColorThemes2);
    justify-content: center;
    background: var(--ColorThemes2);
    margin-left: 10px;
}
.content-home > .header > div > .home-search-block > button:hover{
    cursor: pointer;
    transition: .3s ease;
    transform: scale(1.02) translateY(0);
    box-shadow: 0px 10px 20px rgba(0,0,0,.04),0px 2px 6px rgba(0,0,0,.04),0px 0px 1px rgba(0,0,0,.04);
}
.content-home > .header > div > .home-search-block > button > svg{
    width: 25px;
    height: 25px;
    border-radius: 15px;
    fill: var(--ColorThemes1);
}


.content-home > .header > div > button,
.content-home > .header > a{
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    box-shadow: 0px 4px 8px rgba(0,0,0,.04), 0px 0px 2px rgba(0,0,0,.06), 0px 0px 1px rgba(0,0,0,.04);
    transition: .3s ease;
    border: 2px solid var(--ColorThemes2);
    justify-content: center;
    background: var(--ColorThemes2);
    margin-left: 10px;
}
.content-home > .header > div > button:hover,
.content-home > .header > a:hover{
    cursor: pointer;
    transition: .3s ease;
    transform: scale(1.02) translateY(0);
    box-shadow: 0px 10px 20px rgba(0,0,0,.04),0px 2px 6px rgba(0,0,0,.04),0px 0px 1px rgba(0,0,0,.04);
}
.content-home > .header > div > button > svg,
.content-home > .header > a > svg{
    width: 25px;
    height: 25px;
    border-radius: 15px;
    fill: var(--ColorThemes1);
}
.content-home > .header > div > button > img{
    width: 30px;
    height: 30px;
}
.content-home > .header > div > button > a{
    width: 40px;
    height: 40px;
    border-radius: 15px;
    position: absolute;
}

.content-home > .header > div > #profile-menu{
    position: absolute;
    width: 200px;
    min-height: 10px;
    background: var(--ColorThemes1);
    z-index: 9999;
    right: 10px;
    top: 65px;
    border-radius: 15px;
    box-shadow: 0px 4px 8px rgba(0,0,0,.04), 0px 0px 2px rgba(0,0,0,.06), 0px 0px 1px rgba(0,0,0,.04);
    transition: .3s ease;
    padding: 5px 10px;
    flex-direction: column;
}
.content-home > .header > div > #profile-menu > button{
    width: 100%;
    margin: 5px 0;
    background: var(--ColorThemes2);
    height: 30px;
    border-radius: 15px;
    position: relative;
}
.content-home > .header > div > #profile-menu > button > a{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 15px;
}


.content-home > .home-grid > div > .buttons{
    display: flex;
    flex-direction: column;
    width: 100%;
}
.content-home > .home-grid > div > .buttons button{
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--ColorThemes2);
    color: var(--ColorThemes1);
    margin: 10px 10px 0px 10px;
    border-radius: 25px;
    min-height: 70px;
    justify-content: center;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0,0,0,.04),0px 0px 2px rgba(0,0,0,.06),0px 0px 1px rgba(0,0,0,.04);
    transition: .3s ease;
}
.content-home > .home-grid > div > .buttons button:hover{
    cursor: pointer;
    transition: .3s ease;
    transform: scale(1.002) translateY(0);
    box-shadow: 0px 10px 20px rgba(0,0,0,.04),0px 2px 6px rgba(0,0,0,.04),0px 0px 1px rgba(0,0,0,.04);
}
.content-home > .home-grid > div > .buttons button > span{
    font-size: 18px;
    font-weight: 400;
}
.content-home > .home-grid > div > .buttons button > div{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}
.content-home > .home-grid > div > .buttons button > div > span{
    font-size: 30px;
    font-weight: 400;
}
.content-home > .home-grid > div > .buttons button > div > svg{
    width: 40px;
    height: 40px;
    fill: var(--ColorThemes1);
}
.content-home > .home-grid > div > .buttons button > a{
    width: 100%;
    height: 100%;
    border-radius: 25px;
    position: absolute;
    left: 0;
}

.content-home > .home-grid > div > .buttons > div{
    display: flex;
    margin: 0px 5px;
}
.content-home > .home-grid > div > .buttons > div > button{
    width: 100%;
    margin: 10px 5px 0 5px;
}


.content-home > .home-grid > div > .forms{
    display: flex;
    flex-direction: column;
    width: 100%;
}
.content-home > .home-grid > div > .forms > form > .formContent{
    display: flex;
    flex-direction: column;
    background: var(--ColorThemes1);
    color: var(--ColorThemes2);
    margin: 10px 10px 0px 10px;
    border-radius: 25px;
    min-height: 70px;
    justify-content: center;
    box-shadow: 0px 4px 8px rgba(0,0,0,.04), 0px 0px 2px rgba(0,0,0,.06), 0px 0px 1px rgba(0,0,0,.04);
    transition: .3s ease;
    opacity: 1;
}
.content-home > .home-grid > div > .forms > form > .formContent > #home-status{
    width: 100%;
    background: 0;
    min-height: 0px;
    border-radius: 23px 23px 0 0;
    color: var(--ColorThemes2);
    margin: 0;
    font-size: 14px;
    transition: all 0.3s ease-out;
}
.content-home > .home-grid > div > .forms > form > .formContent > #home-status > p{
    display: flex;
    justify-content: center;
    width: 100%;
    height: 0;
    transition: all 0.3s ease-out;
}
.content-home > .home-grid > div > .forms > form > .formContent > #home-status > div{
    width: 100%;
    background: var(--ColorThemes1);
    height: 23px;
    border-radius: 23px 23px 0 0;
    margin-bottom: -1px;
}
.content-home > .home-grid > div > .forms > form > .formContent > #home-status[data-state="active"] > p,
.content-home > .home-grid > div > .forms > form > .formContent > #home-status[data-state="error"] > p{
    height: 18px;
    margin: 5px;
}
.content-home > .home-grid > div > .forms > form > .formContent > #home-status[data-state="active"]{
    background: var(--PrimaryColor);
}
.content-home > .home-grid > div > .forms > form > .formContent > #home-status[data-state="error"]{
    background: #a52828;
}

.content-home > .home-grid > div > .forms > form > .formContent > hr{
    width: 100%;
    /* height: 2px;
    background: var(--ColorThemes0); */
    border: 1px dashed var(--ColorThemes0);
}
.content-home > .home-grid > div > .forms > form > .formContent > div{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 10px 20px;
}
.content-home > .home-grid > div > .forms > form > .formContent > div > input{
    background-color: var(--ColorThemes0);
    border-radius: 15px;
    padding: 6px 10px;
    width: calc(100% - 20px);
    font-size: 16px;
    -webkit-appearance: none;
    -moz-appearance: none;
    color: var(--ColorThemes2);
    text-align: left;
    min-height: 22px;
}
.content-home > .home-grid > div > .forms > form > .formContent > div > select{
    background-color: var(--ColorThemes0);
    border-radius: 15px;
    padding: 6px 10px;
    width: 100%;
    font-size: 16px;
    -webkit-appearance: none;
    -moz-appearance: none;
    color: var(--ColorThemes2);
    text-align: left;
    min-height: 22px;
}
.content-home > .home-grid > div > .forms > form > button{
    display: flex;
    flex-direction: row;
    background: var(--PrimaryColor);
    color: var(--PrimaryColorText);
    margin: 10px 10px 0 10px;
    border-radius: 100px;
    min-height: 70px;
    justify-content: space-between;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0,0,0,.04), 0px 0px 2px rgba(0,0,0,.06), 0px 0px 1px rgba(0,0,0,.04);
    transition: .3s ease;
    width: calc(100% - 20px);
}
.content-home > .home-grid > div > .forms > form > button:hover{
    cursor: pointer;
    transition: .3s ease;
    transform: scale(1.002) translateY(0);
    box-shadow: 0px 10px 20px rgba(0,0,0,.04),0px 2px 6px rgba(0,0,0,.04),0px 0px 1px rgba(0,0,0,.04);
}
.content-home > .home-grid > div > .forms > form > button > span{
    font-size: 25px;
    font-weight: 400;
    text-transform: uppercase;
    margin-top: 4px;
}
.content-home > .home-grid > div > .forms > form > button > svg{
    width: 40px;
    height: 40px;
    fill: var(--PrimaryColorText);
}

#home-list-block{
    display: none;
    border-radius: 25px;
    margin: 10px 10px 0 0;
    width: 50%;
    flex-direction: row;
    max-height: calc(100vh - 120px);
    white-space: inherit;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: flex-start;
}
#home-list-block > .menu{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
#home-list-block > .menu > button{
    display: flex;
    flex-direction: row;
    background: var(--ColorThemes1);
    color: var(--ColorThemes2);
    border-radius: 100px;
    justify-content: center;
    padding: 10px 20px;
    height: 38px;
    align-items: center;
    position: relative;
    font-size: 14px;
    width: calc(50% - 5px);
    z-index: 10;
    transition: background 0s ease;
}
@media(hover: hover){
    #home-list-block > .menu > button:hover{
        cursor: pointer;
        transition: background 0s ease;
        background: var(--PrimaryColor);
    }
}
#home-list-block > .menu > button[data-state="active"]{
    background: var(--ColorThemes3);
    color: var(--ColorThemes2);
    border: 0;
    padding-bottom: 18px;
    height: 48px;
    border-radius: 25px 25px 0 0;
    z-index: 5;
}

#home-list-block-menu-2[data-state="active"]::after,
#home-list-block-menu-1[data-state="active"]::before {
    content: "";
    position: absolute;
    right: -27px;
    bottom: 0;
    width: 27px;
    height: 27px;
    background-image: radial-gradient(circle at 100% 0, transparent 27px, var(--ColorThemes3) 27px);
}
#home-list-block-menu-2[data-state="active"]::after {
    left: -27px;
    background-image: radial-gradient(circle at 0 0, transparent 27px, var(--ColorThemes3) 27px);
}

#home-list[data-state="active"] {
    border-radius: 0 25px 25px 25px;
}

#home-list{
    width: 100%;
    background: var(--ColorThemes3);
    border-radius: 25px 0 25px 25px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    overflow-x: auto;
    overflow-y: auto;
    white-space: inherit;
    min-height: 592px;
    height: 492px;
}
#home-list > button{
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 2px solid var(--ColorThemes1);
    background: var(--ColorThemes1);
    color: var(--ColorThemes2);
    margin: 10px;
    border-radius: 20px;
    min-height: 70px;
    justify-content: center;
    box-shadow: 0px 4px 8px rgba(0,0,0,.04), 0px 0px 2px rgba(0,0,0,.06), 0px 0px 1px rgba(0,0,0,.04);
    transition: .3s ease;
    font-size: 13px;
}
#home-list > button:hover{
    cursor: pointer;
    transition: .3s ease;
    transform: scale(1.002) translateY(0);
    box-shadow: 0px 10px 20px rgba(0,0,0,.04),0px 2px 6px rgba(0,0,0,.04),0px 0px 1px rgba(0,0,0,.04);
}
#home-list > button > hr{
    width: calc(100% - 2px);
    border: 1px dashed var(--ColorThemes0);
}
#home-list > button > .header-status{
    width: 100%;
    background: var(--PrimaryColor);
    min-height: 40px;
    border-radius: 18px 18px 0 0;
    padding-top: 5px;
    color: var(--PrimaryColorText);
    font-size: 14px;
    margin-bottom: -20px;
}
#home-list > button > .header-status > p{
    display: flex;
    justify-content: space-between;
    margin: 0 20px;
}
#home-list > button > .header-status > div{
    width: 100%;
    background: var(--ColorThemes1);
    height: 23px;
    border-radius: 18px 18px 0 0;
    margin-top: 5px;
    margin-bottom: -1px;
}
#home-list > button > .header-status[data-state="deletion"]{
    background: #a52828;
}
#home-list > button > .header-status[data-state="area"]{
    background: #2196f3;
}
#home-list > button > .header-status[data-state="deletion"] > p{
    justify-content: center;
}
#home-list > button > .header{
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: calc(100% - 40px);
    align-items: center;
    padding: 10px 20px 10px 20px;
}
#home-list > button > .header > h2{
    font-size: 24px;
}
#home-list > button > .header > svg{
    width: 40px;
    height: 40px;
    fill: var(--ColorThemes2);
}
#home-list > button > .status{
    padding: 10px 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: calc(100% - 40px);
    align-items: center;
}
#home-list > button > .status > span{

}
#home-list > button > .status > svg{
    width: 20px;
    fill: var(--PrimaryColor);
}
#home-list > button > .content{
    padding: 10px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    width: calc(100% - 40px);
}
#home-list > button > .content > hr{
    width: 100%;
    height: 1px;
    background: var(--PrimaryColor);
    margin: 10px 0;
}
#home-list > button > .content > div{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
#home-list > button > .content > div > span{
    font-weight: 400;
}
#home-list > button > .content > div > span:nth-child(2n){
    font-weight: 500;
    max-width: 70%;
    text-align: right;
}
#home-list > button > .content > div > a{
    font-weight: 500;
    max-width: 70%;
    text-align: right;
    background: var(--PrimaryColor);
    padding: 5px 10px;
    border-radius: 10px;
    color: var(--ColorThemes2);
    z-index: 100;
}
#home-list > button > a{
    width: 100%;
    position: absolute;
    height: 100%;
    border-radius: 25px;
}

#home-list > .listNull{
    width: 100%;
    height: calc(100% - 20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#home-list > .listNull svg{
    width: 150px;
    height: 150px;
    fill: var(--ColorThemes2);
}
#home-list > .listNull span{
    color: var(--ColorThemes2);
    font-size: 18px;
    font-weight: 400;
}

@media (min-width: 1000px) {
    #list_button,
    #garage_button{
        display: none;
    }
    .content-home > .home-grid{
        display: flex;
        justify-content: space-between;
    }
    .content-home > .home-grid > div{
        width: 50%;
    }
    .content-home > .home-grid > div > .forms > form > button {
        border-radius: 25px;
    }
    #home-list-block{
        display: flex;
    }
}
