/*General Styles*/
#map {
    height: 500px;
}


.white-text {
    color: white !important;
}

.black-text {
    color: black !important;
}

.grey-text {
    color: #808080 !important;
}

.theme-color {
    color: #1273EB !important;
}

.light-primary-bg {
    background-color: #1275EB;
}

.light-yellow-bg {
    background-color: #FFDC5F;
}

.login-image {
    transform: scale(0.7);
}

.logo img {
    aspect-ratio: 3/2;
    object-fit: fill;
}

.full-height {
    min-height: 100%;
}

.product-image {
    aspect-ratio: 9/8;
    object-fit: fill !important;
}

.current-category span {
    color : #1273EB;
}

.shop-details .details-area .tab-pane .product-information ul li {
    height: auto;
}


.profile-panel input[type=file] {
    display: block;
    color: black;
    font-style: oblique;
}

.profile-panel input[type=file]::file-selector-button {
    display: none;
}

.list {
    max-height: 250px;
    overflow-y: scroll !important;
}

textarea {
    border : 1px solid #ddd;
    width : 100%;
}

/*General Styles*/

/* START header  */
.header .top-header {
    background: #1273EB;
}

.flag-img {
    width: 1.4rem !important;
}

/* END header */



/* New Ad categories selector */

    .new-ad-category-container {
        position: relative;
        margin-top: 5px;
        width: 30%;
        background-color: transparent; 
    }

    .new-ad-category-container ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .new-ad-category-container ul li {
        background-color: white;
        color : #1273EB;
        border-bottom : 1px solid rgba(0,0,0,0.2)
    }

    .new-ad-category-container ul li:hover {
        background-color : #1273EB;
        color: white ;
        cursor : pointer;
    }

    .new-ad-category-container ul .selected-now  {
        background-color : #1273EB;
        color: white !important;
    }

    .new-ad-category-container ul li.selected-now a {
        color: white;
    }

    .new-ad-category-container ul li:hover a {
        color : white;
    }

    .new-ad-category-container ul li a {
        display: block;
        padding: 10px 15px;
        color: #1273EB;
        text-decoration: none;
        -webkit-transition: 0.2s linear;
        -moz-transition: 0.2s linear;
        -ms-transition: 0.2s linear;
        -o-transition: 0.2s linear;
        transition: 0.2s linear;
    }

    .new-ad-category-container ul li ul {
        position : relative;
        left : 100%;   
    }

/* New Ad categories selector */


/* NEW AD IMAGE ATTRIBUTES  */

    #browsing-div {
        width : 30%;
    }

    .images-select-container div .image-input {
        width: 0.1px;
        height: 0.1px;
        opacity: 0;
        overflow: hidden;
        position: absolute;
        z-index: -1;
    }

    .images-select-container div label {
        display: flex;
        padding: 25px 30px;
        cursor : pointer;
        width : 100%;
        justify-content: center;
    }
    
    .images-select-container div label i {
        color: grey;
    }

    .images-select-container div label:hover i {
        color: #1273EB;
    }

    .images-select-container > div:first-child {
        border-radius: 5px;
        background-color: transparent;
        border : 1px solid grey;
    }

    .images-select-container > div:first-child:hover {
        background-color: aliceblue;
        border-radius: 7px;
    }

    .images-select-container .image-preview-container {
        border: 2px solid black;
        border-radius: 5px;
    }

    #photo-upload__preview .item-images div {
        position: relative;
        min-height : 150px;
        max-height: 200px;
        padding: 0px;
        width : 360px;
    }

    #photo-upload__preview .item-images div button {
        display: flex;
        align-items: center;
        justify-content: center;    
        width : 15%;
        height: 15%;
        padding: 20px 15px;
        border-radius: 5px;
        left: 45%;
        top: 40%;
        background-color : rgba(0,0,0,0.4);
        position: absolute;
    }

    #photo-upload__preview .item-images div button:hover {
        background-color: rgba(0,0,0,0.8);
    }

    #photo-upload__preview .item-images div img {
        width : 100%;
    }


/* NEW AD IMAGES */


/*main image*/

/* input image */
    .card-input-image {
        height: 125px;
        width: 230px;
        border-radius: 8px;
        position: relative;
    }

    .card-input-image .label-upload-image {
        width: 230px;
        height: 100%;
        border-radius: 8px;
        color: #629ef5;
        border: 2px dashed #b0cffa;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        cursor : pointer;
        padding: 0;
        margin : 0;
    }

    .card-input-image input {
        width: 0.1px;
        height: 0.1px;
        opacity: 0;
        overflow: hidden;
        position: absolute;
        z-index: -1;
    }

    .card-input-image .image-preview {
        width: 95%;
        height: 100%;
        border-radius: 8px;
        position: absolute;
        top: 0;
        z-index:     -1;
        object-fit: cover;
        display: none;
    }

    .card-input-image .btn-delete {
        background: #ef4e4e;
        border-radius: 14px;
        color: #ffffff;
        font-weight: 700;
        font-size: 10px;
        line-height: 10px;
        border: none;
        padding: 12.27273px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: none;
    }

    /* input image active state */
    .card-input-image.active .label-upload-image {
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45));
        color: #ffffff;
        border: none;
    }

    .card-input-image.active .image-preview {
        display: initial;
    }

    .card-input-image.active .btn-delete {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .card-input-image.active .btn-delete:hover {
            background : rgba(239,78,78, 0.5);
        }

/*main image*/ 


/* NEW AD ATTRIBUTES */

    .form-group .error {
        color : orangered;
    }

    .ad-details-area {
        color: #808080;
    }

    .ad-details-area label:first-child {
        text-align: left;
        font-size: 1.3rem;
        color : black;
        padding: 5px 15px;
        margin-bottom: 15px;
        border-bottom : 3px solid #1273EB;
    }

    .ad-details-area input:first-child {
        margin-top : 2rem;
    }

    .attribute-select {
        cursor: pointer;
        display: inline-block;
        font-size: 16px;
        width: 100%;
        padding: 15px;
        background-color: white;
        border-radius: 5px;
    }

    .attribute-input {
        display: block;
        padding: 10px;
        width: 100%;
        background-color: white;
        border-radius: 5px;
    }

    .hr-line-input {
        width: 100%;
        height: 2px;
        margin-top: 1px;
        background-color: #808080;
    }

    .attribute-input:focus + .hr-line-input {
        background-color: #1273EB;
        animation: widthFill 0.3s ease-in;
    }

    .hstack {
        display: flex;
        flex-direction: row;
        align-items: center;
        align-self: stretch;
    }

    .hstack input[type="checkbox"]::selection , .hstack input[type="radio"]::selection {
        outline: none !important;
        border: none !important;
        box-shadow: none !important;
    }

    .hstack input[type="checkbox"] + label , .hstack input[type="radio"] + label{
        background-color: #EAF1F5 !important;
        color: #757575 !important;
        outline: none !important;
        border: 1px solid #757575 !important;
        border-radius : 0px;
        box-shadow: none !important;
    }

    .hstack input[type="checkbox"]:focus + label ,.hstack input[type="radio"]:focus + label {
        outline: none !important;
        border: 1px solid #757575 !important;
        box-shadow: none !important;
    }

    .hstack input[type="checkbox"]:checked + label, .hstack input[type="radio"]:checked + label {
        background-color: #1273EB !important;
        border-radius: 5px;
        outline: none !important;
        color: white !important;
        box-shadow: none !important;
    }


/* NEW AD ATTRIBUTES */


/* START Banner button content small devices */
@media only screen and (max-width: 1199px) {

    .rev-9-banner .banner-txt form button {
    height: 100% !important;
    width: 100% !important;
    }
}

.rev-9-categories .rev-9-single-category .single-category__icon img {
    filter: none !important;
    color: #1273EB !important;
}

/* END Banner button content small devices */


/*START Ads index banner*/

.rev-9-banner .container .banner-txt .logo-container {
    margin-bottom: 60px;
    padding: 0 50px;
}

.rev-9-banner .container .banner-txt .logo-container img {
    max-width : 80%;
    max-height: 100%;
}

.rev-9-banner .container .banner-txt h2 {
    margin-bottom : 60px !important;
}

#submit-button:disabled {
    background-color: #64A2ED;
    animation: changeColor 0.5s ease-in-out;
}

/*END Ads index banner*/



.add-tag-container {
    position: relative;
}

    .add-tag-container label {
        position: absolute;
        right: 2%;
        top: 22%;
        cursor:pointer;
        padding: 0px 10px;
        background-color: #1273EB;
        color: white;
    }

/*    .skill-selected-div {
        position: relative;
    }
    
    .skill-selected-div span {
        position: absolute;
        top : 15%;
        right: 5%;
    }*/

/* START Ads Layout Products count per row*/
.products-container {
    grid-template-columns: repeat(4, 1fr);
}

/* END Ads Layout Products count per row*/


    @media screen and (max-width: 479px) and (min-width: 320px) {
        .shop-details .details-area .tab-pane .product-information ul li {
            height : 45px !important;
        }
    }


/*RESPONSIVENESS*/ 

    @media screen and (max-width: 991px) {
        .products-container {
            grid-template-columns: repeat(3, 1fr);
        }

        .new-ad-category-container {
            width: 50%;
        }

        #browsing-div {
            width: 40%;
        }

        .add-tag-container label {
            right: 3%;
            top: 22%;
        }
    }

    @media screen and (max-width: 767px) {
        .products-container {
            grid-template-columns: repeat(2, 1fr);
        }

        .new-ad-category-container {
            width: 60%;
        }

        #photo-upload__preview .item-images div button {
            background-color: black;
        }
        #browsing-div {
            width: 55%;
        }

        .add-tag-container label {
            right: 3%;
            top: 22%;
        }
    }

    @media screen and (max-width: 479px) {
        .products-container {
            grid-template-columns: repeat(1, 1fr);
        }

        .new-ad-category-container {
            width: 100%;
        }

        #browsing-div {
            width: 90%;
        }

        .add-tag-container label {
            right: 5%;
            top: 22%;
        }
    }

/*RESPONSIVENESS*/



/*KEYFRAMES*/

    @keyframes changeColor {
            0% { background-color : #1273EB; }

        50% {background-color : #3A8BEC; }

        100% {background-color : #64A2ED; }
    }

    @keyframes widthFill {
        0% {
            width: 25%;
        }

        50% {
            width: 50%;
        }

        75% {
            width: 75%;
        }

        100% {
            width: 100%;
        }
    }

/*KEYFRAMES*/



/* TIMER FOR CONFIRMATION EMAIL SETTINGS */

.resend-conf-email p span {

    padding: 10px;
    background-color: #1273EB;
    border : 1px solid black;
    border-radius: 5px;
    color: white;
}


/* TIMER FOR CONFIRMATION EMAIL SETTINGS */

