#ad_photos .grid {
    width: 100%;
    margin: 0 auto;
    position: relative;
}
#ad_photos .grid-item {
    width: 50%;
    margin-bottom: 0px;
    padding: 2px;
}
#ad_photos .grid-item img {
    width: 100%;
    height: auto;
    display: block;
}
.load {
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index:999999;
    background: rgba(58, 58, 58, 0.534);
    display: flex;
    justify-content: center;
    align-items: center;
}
.load i {
font-size: 130px;
color: rgb(170, 170, 170);
}
.sub-menu span:first-child {
    border: none;
    background: no-repeat;
    padding: 10px;
    font-size: 1em;
    line-height: 1.5;
    color: #302c2c;
    margin-bottom: 0;
    margin-right: auto;
    font-weight: 700;
}
.sub-menu span {
    border: solid 0.7px #dc353f;
    background-color: rgb(48, 44, 44);
    padding: 5px 15px;
    font-size: 0.75em;
    line-height: 1.5;
    color: #e4e4e4;
    margin-bottom: 0;
    margin-right: auto;
    font-weight: 600;
}
.menu {
    padding: 0 5%;
}
#city-list {
    list-style: none;
    padding: 0 1.2em;
    position: absolute;
    background-color: #fff;
    width: 44.2%;
    z-index: 9999;
    
}
#city-list li {
    margin: 2px 0;
    font-size: 18px;
    
    padding: 0.3em 0.2em;
}
.city-loading:hover{
    background-color: #e4e4e4;
}
.city-loading {
    cursor: pointer;
    width: 100%;
    display: block;
}
.grid-type .nav-item {
    background-color: #ecececc2 ;
    margin-right: 0.2em;
}
.grid-type .nav-item a{
    font-weight: 600;
    font-size: 16px;
}
.custom-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}
.custom-modal {
    width: 50%;
    height: 50%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.custom-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}
.custom-modal-header h3 {
    margin: 0;
}
.custom-modal-close {
    border: 0;
    background: transparent;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}
.custom-modal-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}
footer {
    margin-top: auto; 
}
a {
    color: #a72100;
    text-decoration: none;
}
a:hover {
    color: #901d00;
    text-decoration: underline;
}
.text-center {margin-top:  50px;}
.iten-city-ad span:hover{
    background-color: #ff0000a3;
    color: #fff;
}
.skeleton {
    
    
    overflow: hidden;
    position: relative;
}
.skeleton-box {
    min-height: 280px;
    background: linear-gradient(90deg, #f4f4f4 25%, #eaeaea 50%, #f4f4f4 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    50% {
        background-position: 0 0;
    }
    100% {
        background-position: 200% 0;
    }
}
@media (max-width:600px)  {
    .sub-menu { padding: 0 1em;}
    .sub-menu span { line-height: 3;}
    .sub-menu span:first-child {
        border: none;
        background: no-repeat;
        padding: 0;
        font-size: 1em;
        line-height: 1.5;
        color: #302c2c;
        margin-bottom: 0;
        margin-right: auto;
        font-weight: 700;
    }
    .grid-type .nav-item a{
        font-weight: 600;
        font-size: 12px;
    }
    .custom-modal {
        width: 80%;
        height: 70%;
    }
}