@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@600&display=swap');

.ic-inquire-container {
    width: 500px;
    max-width: 100%;
    /*height: 100%;*/
    /*max-height: 633px;*/
    padding: 40px 20px 15px 20px;
    background: #ffffff;
    position: fixed;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    top: calc(50vh - (/* height */633px / 2));
    left: calc(50vw - (/* width */500px / 2));
    /*overflow-y: scroll;*/
}
.ic-inquire-container #ic-request-form{
    color: #303b3e;
}
#ic-request-modal {
    position:absolute;
    top: 0; bottom: 0; left: 0; right: 0;
    z-index:9999; background:rgba(0,0,0,0.38);
    width: 100%;
    max-width: 100%;
    height: 100%;
    display:none;
    font-family: 'Open Sans', sans-serif;
}
.ic-close {
    margin-top: -30px;
    cursor: pointer;
}
.ic-close i{
    font-size: 32px;
    color: #303b3e;
}
.ic-close i:hover{
    font-size: 32px;
    color: #394649;
}
.ic-list-button {
    max-height: 42px;
    width: -webkit-fill-available;
    padding: 0;
}
.warning {
    background: #f2dede;
}
.valid {
    background: #dff0d8;
}
#ic-request-form input:focus {
    outline: none !important;
    border:1px solid #303b3e;
    box-shadow: 0 0 1px #303b3e;
}
#ic-request-form textarea:focus {
    outline: none !important;
    border:1px solid #303b3e;
    box-shadow: 0 0 1px #303b3e;
}
#ic-request-form p {
    color: #303b3e;
}
#ic-request-form a {
    color: #303b3e;
}
#ic-request-form a:hover {
    color: #303b3e !important;
}
.margin-bottom-5 {
    margin-bottom: 8px;
}
.tooltip {
    position: relative;
    display: inline-block;
}
.product-name-bold{
    font-weight: bold;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #49565a;
    color: #fff;
    text-align: center;
    padding: 5px 3px;
    border-radius: 1px;

    /* Position the tooltip text */
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 1;
}
.tooltip:hover .tooltiptext {
    visibility: visible;
}
.tooltip i {
    color: #ff4539;
    font-size: 16px;
}
.tooltip > span > i {
    line-height: 22px;
}
td.tooltip {
    height: 29px;
    border-top: 0 !important;
}
.ic-post-button {
    margin-bottom: 0;
}

.ic-response-message {
    display:flex;
    height: 145px;
    justify-content: center;
    align-items: center;
}

.invisible {
    display:none;
}

.message-inner p {
    font-size: 18px;
    font-weight: bold;
}
.g-recaptcha {
    max-width: 305px;
}
.fixed {
    position: fixed;
}

@media screen and (max-height: 695px){
    .ic-inquire-container {
        width: 500px;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        padding: 40px 20px 15px 20px;
        background: #ffffff;
        position: fixed;
        box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
        top: unset;
        left: calc(50vw - (/* width */500px / 2));
        overflow-y: scroll;
    }

}

@media screen and (max-width: 600px){
    .ic-inquire-container {
        /*width: 290px;*/
        width: 100%;
        max-width: 100%;
        height: 100%;
        /*max-height: 522px;*/
        max-height: 100%;
        padding: 40px 20px 20px 20px;
        background: #ffffff;
        /*position: fixed;*/
        box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
        top: 0;
        left: 0;
        overflow-y: scroll;
        -ms-overflow-y: scroll;
    }
    .g-recaptcha {
        transform:scale(0.67);
        transform-origin:0 0;
    }
    ul.product_list.grid li .product-container .button-container {
        text-align: right;
    }
    #ic-request-form p {
        max-width: 150px;
    }
    .hidden-mobile {
        display:none;
    }
    .margin-bottom-5 {
        margin-bottom: 15px;
    }
    .margin-0 {
        margin-bottom: 0;
    }
}
