.modal{
    overflow-y: auto;
}

.card-header-primary{
    background: linear-gradient(60deg, #FFAE61, #FF6F61) !important;
}

.card-header-secondary{
    background: linear-gradient(60deg, #59716A, #364440) !important;
}

.card-title-signup{
    padding-left: .5em;
    padding-right: .5em;
}

.img-profpic-modal-title, .api-room-modal-header-profpic{
    max-width: 40px !important;
    margin-right: 5px !important;
}

.list-inline {
  white-space:nowrap;
}

.modal-signup {
    max-width: 900px !important;
}

#product-modal-dialog, #room-modal-dialog, #tour-modal-dialog, .product-modal-dialog, .api-room-modal-dialog{
    width: 97%;
    height: 95%;
    top: 6%;
    margin: auto;
    padding: 0;
    max-width: none;
}

#product-modal-body, #room-modal-body, .product-modal-body, .api-room-modal-body{
    padding-left: 15px;
    padding-right: 15px;
    overflow-y: auto;
}

#product-modal-image, .product-modal-image{
    display: block;
    max-height: 450px;
    margin: auto;
}

#room-modal-content, #tour-modal-content, .api-room-modal-content{
    height: auto;
    min-height: 99%;
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

 #product-modal-content, .product-modal-content{
    max-width: 500px;
    margin:auto;
}

.product-modal-product-col, .room-modal-products-row{
    margin-bottom: .5em;
}

#product-modal-name, .product-modal-name{
    margin-top: .5em;
}

#product-modal-price, .product-modal-price{
    margin-bottom: 0px;
}

#signup-logo{
    max-width: 80px;
    margin-bottom: 1em;
}

#new-comment-modal-header, #new-discussion-modal-header, #product-modal-header, #room-modal-header, #tour-modal-header, .product-modal-header, .api-room-modal-header{
    background-color: #364440;
    color: #fff;
    position: relative;
    padding-top: 15px;
}

#tour-modal-header-logo{
    max-width: 45px;
    position: absolute;
    top: 50%;  /* position the top  edge of the element at the middle of the parent */
    left: 50%; /* position the left edge of the element at the middle of the parent */
    transform: translate(-50%, -50%);
}

#tour-discover-modal-header-title, #room-discover-modal-header-title, #new-comment-modal-header-title, #new-discussion-modal-header-title, #product-modal-header-title, #room-modal-header-title, .product-modal-header-title, .api-room-modal-header-title{
    font-size: 1em;
    margin-top: -3px;
    color: #fff;
}

#room-modal-products-container{
    /* position: absolute;
    top: 61%;
    width: 100%; */
    /* overflow:hidden; */
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    border: 0;
    top: 86%;
}

.modal-dialog-centered{
    margin-top: 0px !important;
}

.modal-menu-dialog{margin-top: 15px !important;}

.modal-menu-item-icon{margin-right:5px;}

.modal-room-product-col{
    /* max-width: 40%; */
}

.modal-room-product-col:before{
    content: "";
	float: left;
	padding-top: 100%;
}

#room-modal-products-heading{
    font-size: 1em;
}

#tour-iframe, #tour-discover-iframe, #room-discover-iframe, .api-room-discover-iframe{
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

#room-iframe{
    overflow:hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 85%;
    border: 0;
}

.close:hover{
    background-color: rgba(0, 0, 0, 0) !important;
}


@media (max-width: 576px) {
    .card-title-signup{
        font-size: 1.5em;
        padding-left: 0px;
        padding-right: 0px;
    }
    .modal-login{
        max-width: none !important;
        margin-top: 75px !important;
    }
}


/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    #product-modal-dialog, #room-modal-dialog, #tour-modal-dialog, .product-modal-dialog{
        height: 101%;
        top: 0px;
    }

    #room-modal-content, #tour-modal-content, #room-modal-header, #tour-modal-header{
        border-radius: 0px;
    }
}
