.itemModal {
	position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99;
    display: none;
    overflow: hidden;
    outline: 0;
}

.itemModal.open {
    display: block!important;
    opacity: 1;
}

.itemModalOverlay {
	position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 21;
    overflow: hidden;
    outline: 0;
    text-align: -webkit-center;
    background-color: rgba(0,0,0,0.5);
}

.modalIconRow {
    height: 36px;
    position: absolute;
    top: 12px;
    left: 30px;
    z-index: inherit;
    width: 36px;
}

.modalContainer,
.newItemContainer {
    /*border: 1px solid #555;*/
    border-radius: 25px;
    position: relative;
    z-index: 22;
    background: #fff;
    text-align: center;
    min-width: 375px;
    width: 575px;
    max-width: 50%;
    top: 4vh;
    min-height: 250px;
    box-shadow: 0 2px 6px 0 rgb(0 0 0 / 10%);
    -webkit-box-shadow: 0 2px 6px 0 rgb(0 0 0 / 10%);
}

.modalContainer .material-icons {
/*    position: relative;
    z-index: 3;*/
}

.newItemContainer {
    height: var(--newItem-popup);
}

.modalContainer input {
    padding: 8px 15px 8px 15px;
    border: 1px solid var(--aliceblue);
    border-radius: 2.5px;
    width: 100%;
    font-size: 1rem;
}

.modalTopLeftIcon {
    position: absolute;
    left: 15px;
    top: 17.5px;
    z-index: inherit;
    width: 32px;
    height: 32px;
    max-width: none;
}

.modalTopRightIcon,
#closeNewItemModal {
    height: 36px;
    position: absolute;
    top: 12px;
    right: 30px;
    z-index: inherit;
    width: 36px;
}

#itemModalTitle{
    font-weight: 700;
    font-size: 1.25rem;
    left: 0px;
    top: 0px;
    line-height: 1.6;
    position: relative;
    height: 60px;
    width: 100%;
    padding: 15px 40px;
    border-radius: 10px 10px 0px 0px;
    text-align: center;
    margin: 0px;
    z-index: 2;
    background: var(--primary-background);
    color: var(--primary-title);
    border-bottom: 1px solid var(--border-gray);
}

#closeNewItemModalbtn {
    color: var(--placeholder-gray);
    height: 36px;
    width: 36px;
    position: relative;
    background: var(--secondary-background);
    border-radius: 18px;
    font-size: 28px;
    padding: 4px;
}

/*#addMediaContainer {
    height: 75px;
    width: 75px;
    padding: 12px;
    border-radius: 25px;
    position: relative;
    margin: auto;
    left: 10px;
    top: 10px;
}*/



/*#numfiles {
    color: var(--primary-label);
    font-weight: 500;
    font-size: 0.75rem;
    position: absolute;
    top: 40px;
}*/

.imgPrevContainer {
    padding-left: 0px;
    width: auto;
    margin: 5px;
}

#itemmediaprev {
    margin: 0px;
    position: relative;
    top: -75px;
    left: 0px;
    display: none;
    max-width: inherit;
    overflow-y: hidden;
    overflow-x: scroll;
    padding: 15px 5px 0px 5px;
    background: #fff;
    min-height: 130px;
    height: inherit;
}

.itemImgPrev {
    min-width: 125px;
    width: auto;
    max-width: 250px;
    height: -webkit-fill-available;
    object-fit: cover;
    display: block;
    border-radius: 2.5px;
    box-shadow: 0px 1px 2px 0px #ccc;
    -webkit-box-shadow: 0px 1px 2px 0px #ccc;
}

.rmvNwItemMediaBtn {
    position: relative;
    top: 9px;
    right: 9px;
    line-height: 24px;
    width: 18px;
    height: 18px;
    color: #000;
    padding: 0px 1px;
    font-weight: 600;
    border-radius: 15px;
    background-color: var(--border-light);
}

.rmvNwItemMediaBtn > 
.material-icons {
    font-size: 16px!important;
}

/*#dltPrevImg {
    position: absolute;
    top: 0px;
    right: 15px;
    color: #fff;
    border-radius: 0px 0px 0px 5px;
    background-color: rgba(0, 0, 0, 0.15);
}*/

/*#itemUploadRow{
    padding: 25px 0px;
    border-radius: inherit;
    height: 150px;
    margin: 15px 0px;
    background: #fff;
    box-shadow: 0px 10px 5px 0px rgb(145 145 145 / 5%);
    -webkit-box-shadow: 0px 10px 5px 0px rgb(145 145 145 / 5%);
    z-index: 2;
}
*/
#mediaUploadBtn {
    display: none;
}


/*Progressbar*/
progress::-webkit-progress-value  { 
    background: var(--online); 
    border-radius:25px;
}

progress::-webkit-progress-bar {
    background: var(--primary-background);
    border-bottom: 1px solid var(--box-gray);
}

#itemMediaUploader {
    -webkit-appearance: none;
    appearance: none;
    width: 98%;
    margin: 1%;
    border-radius: 25px;
    height: 5px;
    display: none;
}

#addItemContent{
    padding: 10px 0px;
    display: inline-flex;
    background-color: #fff;
    position: relative;
    overflow-y: scroll;
    min-height: 325px;
    height: calc(var(--newItem-popup) - var(--newItem-hdr-maxHeight) - var(--newItem-confirm) + 115px);
    /*padding-bottom: 25px;*/
    /*margin-top: 90px;*/
    margin-bottom: 1px;
    border-radius: inherit;
    width: 100%;
}

#itemTitle,
#itemMileage {
    width: 75%;
    height: 40px;
    padding-left: 15px;
    border: none;
    background: #f9f9f9;
}

#itemSpecificsContainer{
    padding: 0px;
}

#cat-specific-specs{
    /*background-color: rgba(125, 177, 202, 0.5);*/
}

#itemCurrPrice {
    /*margin-top: 25px;*/
}

#itemPrice {
    height: 40px;
    top: -1.5px;
    margin: 0px 5px;
    padding-left: 5px;
    z-index: 2;
    width: 140px!important;
    position: relative;
}

#itemDescription {
    height: 160px;
    padding: 10px;
    resize: none;
    width: 100%;
}

.autionContainer {
    width: 75%;
    padding: 10px 5px;
    border-bottom: 1px solid var(--border-gray);
}

/*.auctionContainer >
.tui-datepicker-input {
    border-radius: 0px!important;
    width: 195px;
}*/

.setAuctionHdr {

}

/*#appointmentBody {
    position: relative;
    padding: 15px 0px;
    display: inline-grid;
    width: 100%;
    text-align: left;    
}*/

.modalBody {
    position: relative;
    /*top: 60px;*/
    padding: 25px;
    height: auto;
    display: inline-grid;
    text-align: left;
    width: 100%;  
}

.modalBody > .item-slides {
    padding:0px;
}

.mySlides > .mGI {
    width: 100%;
    max-height: 68vh;
}


/*#dmBody {
    position: relative;
    height: 535px;
    padding: 25px;
    display: inline-grid;
    width: 100%;
    text-align: left;
}

#dmBody > span {
    display: inline-grid;
    margin-bottom: 15px;
}*/

#appointmentDateRange {
    margin: 0px;
    display: inline-flex;
    background: var(--secondary-background);
    border-radius: 5px;
}

/*#availabilityLbl {
    margin: 0px;
    height: 40px;
    line-height: 2.1;
    border-bottom: 1px solid var(--border-light);
}

#availabilityLbl i {
    line-height: 2.1;
    color: var(--darkblue);
}*/

/*#showAvailability {
    color: var(--secondary-title);
}*/

#showAvailability:hover {
    color: var(--lightblue);
    text-decoration: underline;
    cursor: pointer;
}

.preview-availability {
    overflow-y: scroll;
    height: 435px;
    width: inherit;
    position: relative;
/*    left: 15px;*/
}

#appointmentInfo {
    display: inline-grid;
}

/*#appointmentInfo > input {
    
}*/

/*#dmMailIcon {
    position: absolute;
    left: 0px;
    top: 5px;
    z-index: 3;
    width: 32px;
    height: 32px;
    max-width: none;
}

.modal-footer,
#directMessageBtns,
#newItemModalBtns {
    height: var(--newItem-confirm);
    width: inherit;
    max-width: 100%;
    position: relative;
    border-radius: 10px;
    background: #fff;
    z-index: inherit;
    padding: 15px;
    text-align: center;
    border: none;
    text-align: -webkit-center;
}

.modal-footer-btn,
#sendDMBtn,
#submitNewItemBtn {
    height: 35px;
    background: var(--tertiary-btn);
    border: 1px solid var(--tertiary-btn);
    margin-left: auto;
    margin-right: auto;
    padding: 5px;
    position: relative;
    font-size: 0.975rem;
    font-weight: 500;
    color: #fff;
    width: 100%;
    max-width: 375px;
    border-radius: 5px;
    text-align: center;
    transition: all ease-out .25s;
}

.modal-footer-btn:hover,
#sendDMBtn:hover,
#submitNewItemBtn:hover {
    cursor: pointer;
    background: var(--lightblue);
    border: 1px solid var(--lightblue);
    color: #fff;
}*/

@media (min-width: 1200px) {
    .newItemContainer {
        width: 80vw!important;
    }
}

/*@media screen and (max-width: 991px) {
    .newItemContainer {
        width: 75vw!important;
    }
}*/


@media screen and (max-width: 768px) {
    .newItemContainer {
        width: 100vw!important;
    }
}


@media screen and (max-width: 380px) {
    #itemTitle,
    #marketForce,
    #offerType,
    #itemCategory,
    #itemPrice,
    #itemType,
    #itemDescription {
        width: 100%;
    }

    #itemMediaUploader {
        width: 90%;
    }


}