body {
    padding-right: 0px !important;
}

.squares {
    /* min-height: 600px; */
    height: 100vh;
    overflow: hidden;
    overflow-x: hidden !important;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-start;
    /* background-color: #144227; */
    background-size: cover !important;
    background-repeat: no-repeat;
    position: relative;
}

.relative {
    position: relative;
}

.campaign-menu {
    position: absolute;
    right: 30px;
    top: 30px;
    z-index: 30;
    background-color: #18191b6e;
    border-radius: 35px;
    padding: 4px 6px;
    display: flex;
}
.campaign-menu button{
    border-radius: 50% !important;
    transition: all 1s ease-in-out;

}
.mr-2{
    margin-right: 5px;
}
.campaign-menu img{
    border-radius: 50% !important;
    margin-left: 5px;
    width: 35px;
    object-fit: cover;
    transition: transform 1s ease-in-out;
    cursor: pointer;

}
.grayscale{
    filter: grayscale(100%);
}
.campaign-menu img:hover , .campaign-menu button:hover {
    transform: scale(1.2);
    /* z-index: 1; */
}

.search-results-modal {
    height: 400px;
}

.square {
    width: 1%;
    display: flex;
    height: auto;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    transition: all 1s ease-in-out;
    padding: 1px;
}

.square-zoom:hover {
    transform: scale(3);
    /* z-index: 1; */
}

.square-zoom:hover img {
    opacity: 1;
}

.square img {
    width: 100%;
    height: 100%;
    /* border-radius: 50%; */

    opacity: 0.2;
}

.empty-square {
    /* background-color: rgba(0, 0, 0, 0.1); */
    transition: all 1s ease-in-out;
    /* border-radius: 50%; */
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
    /* border:1px solid #0000002e; */

}

.empty-square:hover {
    transform: scale(1.5);
    background-color: #777582;
    border: 1px solid #fff;
    box-shadow: 0px 0px 2px 2px rgba(0, 0, 0, 0.2);
}

.empty-square img {
    width: 10px;
    height: 10px;
}

.empty-square:hover img {
    display: block;
}

.square:hover>img {
    opacity: 1;
    box-shadow: 0px 0px 2px 2px rgba(0, 0, 0, 0.2);
}

.square img:hover {
    opacity: 1;
}

.modal-content {
    background-color: #202124 !important;
}

.MuiBackdrop-root {
    background-color: rgba(0, 0, 0, .3) !important;
}

.modal-dialog h5 {
    color: aliceblue;
}

.modal-header {
    border-bottom: 1px solid #4b4a4a;
}

.modal-body {
    color: aliceblue;
}

.has_error {
    border-color: #ff8a8a !important;
}

.has_error::placeholder {
    color: rgb(239, 104, 104);
    opacity: 1;

}

.participant-image-container {
    /* padding: 5px; */
    /* border: 1px solid rgb(121, 121, 121); */
    width: 100%;
    max-height: 90%;
    height: 90%;
    /* border-radius: 50%; */
}

@keyframes fadeout {
    0% {
        opacity: 0;
        transform: scale(1.1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadein {
    0% {
        opacity: 0;
        transform: scale(1.1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.toggleOut {
    animation: fadeout 1s;
    opacity: 1;
}

.toggleIn {
    animation: fadein 1s;
    opacity: 1;
}

/* width */
.nice-scroll::-webkit-scrollbar {
    width: 10px;
}

/* Track */
.nice-scroll::-webkit-scrollbar-track {
    background: #18191b;
    border-radius: 10px;

}

/* Handle */
.nice-scroll::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

/* Handle on hover */
.nice-scroll::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.btn-colse-single {
    position: absolute;
    padding: 10px;
    right: 5px;
}

.big-modal {
    max-width: 650px;
}

.participant-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 80vh;
    /* border-radius: 50%; */
}

.modal-dialog,
.modal-content {
    outline: none !important
}

.campaign_index {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 50%;
}

.campaign_index:hover {
    background-color: #fab702;
    border-color: #f7d989;
    color: white !important;
}

.hide {
    display: none;
}


/* Cms  */

.sidebar {
    width: 300px;
    border-right: 1px solid #292a2d;
}

.min-h-500 {
    min-height: 500px;
}
.mr-1{
    margin-right: 3px;
}
.btn-dark{
    background-color: #1c1f2388;
}
.mobile-menu-container{
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 1000;
    display: none;
}
.responsive-menu{
    display: block;
    padding: 25px;
    color: #ccc;
    width: 60%;
    height: 100vh;
    position: fixed;
    z-index: 1100;
    top: 0;
    left: -100%;
    background-color: #16181b;
    transition: 1s;
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0.7;
}
.responsive-menu ul.nav-list li a{
    font-size: 1.1em;
}
.responsive-menu.active{
    left: 0;
}
.border-bottom{
    border-bottom:1px rgba(255,255,255,.2) !important;
}
.responsive-menu .menu-close{
    color:#ccc;
    font-size: 14px;
    font-weight: 100;
    position: absolute;
    top: 0;
    right: 0;
} 
.btn-edit-photo{
    position: absolute;
    left:8px;
    bottom: 10px;
}

.responsive-menu>.nav{
    margin-top: 40px;
}
.responsive-menu .menu-close:hover{
    color:#fff;
}
/* End Cms  */
.color-gray{
    color:rgb(144, 144, 144);
}
@media (max-width: 1200px) {
    .squares {
        background-size: auto !important;
        background-position: center;
        background-size: cover !important;
    }

    .square {
        width: 1%;
    }
    .mobile-menu-container{
        display: block;
    }
    .hide-on-small {
        display: none;
    }
}

@media (max-width: 942px) {

    .squares {
        height: 100vh;
        /* overflow: auto; */
    }
    .campaign-menu {
        right: 10px;
        top: 10px;
    }

    .square {
        width: 2%;
    }

    

}

@media (max-width: 768px) {
    .squares {
        height: 100vh;
    }

    .square {
        width: 2%;
    }

}

@media (max-width: 480px) {
    .hide-on-xsmall {
        display: none;
    }

    .square {
        width: 2%;
    }

}