
/*material css Start*/
.z-depth-1, .card-panel, .card, .toast, .btn-large, .btn-small, .btn-floating, .dropdown-content, .collapsible, .sidenav {
    -webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2);
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2);
}

.btn-large, .btn-small, .btn-flat {
    border: none;
    border-radius: 2px;
    display: inline-block;
    height: 36px;
    line-height: 36px;
    padding: 0 16px;
    text-transform: uppercase;
    vertical-align: middle;
    -webkit-tap-highlight-color: transparent;
}

.btn-large, .btn-small, .btn-floating, .btn-large, .btn-small, .btn-flat {
    font-size: 14px;
    outline: 0;
}

.btn-large, .btn-small {
    text-decoration: none;
    color: #fff;
    background-color: #26a69a;
    text-align: center;
    letter-spacing: .5px;
    -webkit-transition: background-color .2s ease-out;
    transition: background-color .2s ease-out;
    cursor: pointer;
}

.btn-floating {
    display: inline-block;
    color: #fff;
    position: relative;
    overflow: hidden;
    z-index: 1;
    width: 40px;
    height: 40px;
    line-height: 40px;
    padding: 0;
    background-color: #26a69a;
    border-radius: 50%;
    -webkit-transition: background-color .3s;
    transition: background-color .3s;
    cursor: pointer;
    vertical-align: middle;
}

.btn-large {
    height: 54px;
    line-height: 54px;
    font-size: 15px;
    padding: 0 28px;
}

.waves-effect {
    position: relative;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    vertical-align: middle;
    z-index: 1;
    -webkit-transition: .3s ease-out;
    transition: .3s ease-out;
}

    .waves-effect .waves-ripple {
        position: absolute;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        margin-top: -10px;
        margin-left: -10px;
        opacity: 0;
        background: rgba(0, 0, 0, 0.2);
        -webkit-transition: all 0.7s ease-out;
        transition: all 0.7s ease-out;
        -webkit-transition-property: opacity, -webkit-transform;
        transition-property: opacity, -webkit-transform;
        transition-property: transform, opacity;
        transition-property: transform, opacity, -webkit-transform;
        -webkit-transform: scale(0);
        transform: scale(0);
        pointer-events: none;
    }

    .waves-effect.waves-light .waves-ripple {
        background-color: rgba(255, 255, 255, 0.45);
    }

    .waves-effect.waves-red .waves-ripple {
        background-color: rgba(244, 67, 54, 0.7);
    }

    .waves-effect.waves-yellow .waves-ripple {
        background-color: rgba(255, 235, 59, 0.7);
    }

    .waves-effect.waves-orange .waves-ripple {
        background-color: rgba(255, 152, 0, 0.7);
    }

    .waves-effect.waves-purple .waves-ripple {
        background-color: rgba(156, 39, 176, 0.7);
    }

    .waves-effect.waves-green .waves-ripple {
        background-color: rgba(76, 175, 80, 0.7);
    }

    .waves-effect.waves-teal .waves-ripple {
        background-color: rgba(0, 150, 136, 0.7);
    }

    .waves-effect input[type="button"], .waves-effect input[type="reset"], .waves-effect input[type="submit"] {
        border: 0;
        font-style: normal;
        font-size: inherit;
        text-transform: inherit;
        background: none;
    }

    .waves-effect img {
        position: relative;
        z-index: -1;
    }

.waves-notransition {
    -webkit-transition: none !important;
    transition: none !important;
}

.waves-circle {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%);
}

.waves-input-wrapper {
    border-radius: 0.2em;
    vertical-align: bottom;
}

    .waves-input-wrapper .waves-button-input {
        position: relative;
        top: 0;
        left: 0;
        z-index: 1;
    }

.waves-circle {
    text-align: center;
    width: 2.5em;
    height: 2.5em;
    line-height: 2.5em;
    border-radius: 50%;
    -webkit-mask-image: none;
}

.waves-block {
    display: block;
}

/* Firefox Bug: link not triggered */
.waves-effect .waves-ripple {
    z-index: -1;
}

.btn-floating.btn-large {
    width: 56px;
    height: 56px;
    padding: 0;
}

    .btn-floating.btn-large i {
        line-height: 56px;
    }

/*material css end*/




.chat-icon {
    position: fixed;
    bottom: 15px;
    right: 20px;
    z-index: 9;
}

    .chat-icon i.chat.active {
        display: block;
        height: 100%;
    }

    .chat-icon:hover {
        text-decoration: none;
    }

.intercom-container {
    position: fixed;
    width: 0px;
    height: 0px;
    bottom: 0px;
    right: 0px;
    z-index: 99;
}

    .intercom-container .intercom-messenger-frame {
        z-index: 2147483000 !important;
        position: fixed !important;
        bottom: 20px;
        right: 20px;
        height: calc(100% - 20px - 20px);
        width: 376px !important;
        min-height: 350px !important;
        max-height: 700px !important;
        -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.16) !important;
        box-shadow: 0 5px 10px rgba(0,0,0,.16) !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        /*opacity: 1!important;*/
        -webkit-box-shadow: 0 1px 5px #333;
        -moz-box-shadow: 0 1px 5px #333;
        -o-box-shadow: 0 1px 5px #333;
        box-shadow: 0 1px 5px #333;
        /*display: none;*/
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -ms-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        filter: alpha(opacity=0);
        -moz-opacity: 0;
        -khtml-opacity: 0;
        opacity: 0;
        -webkit-transform: scale(0);
        -moz-transform: scale(0);
        -ms-transform: scale(0);
        -o-transform: scale(0);
        transform: scale(0);
        transform-origin: right bottom;
        -webkit-transform-origin: right bottom;
        background: white url('../../../imgs/PublicChat/new/loading.gif') center center no-repeat;
    }

        .intercom-container .intercom-messenger-frame.active {
            /*display: block;*/
            filter: alpha(opacity=1);
            -moz-opacity: 1;
            -khtml-opacity: 1;
            opacity: 1;
            -webkit-transform: scale(1);
            -moz-transform: scale(1);
            -ms-transform: scale(1);
            -o-transform: scale(1);
            transform: scale(1);
        }

        .intercom-container .intercom-messenger-frame.minimum {
            /*margin-bottom: -750px;*/
            transform: translateY(calc(100% + 100px - 50px));
        }

        .intercom-container .intercom-messenger-frame > iframe {
            width: 100% !important;
            height: 100% !important;
            position: absolute;
        }

    .intercom-container .intercom-messenger-frame {
        height: calc(100% - 20px - 80px - 20px);
        bottom: calc(20px + 80px);
    }

iframe {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    /*vertical-align: baseline;*/
    background: transparent;
}
@media only screen and (max-width: 600px), (max-height: 600px){

    .intercom-container .intercom-messenger-frame {
        z-index: 2147483001!important;
        width: 100%!important;
        height: 100%!important;
        max-height: none!important;
        top: 0!important;
        left: 0!important;
        right: 0!important;
        bottom: 0!important;
        border-radius: 0!important;
    }

    .intercom-container .intercom-messenger-frame.minimum{
        transform: translateY(calc(100%  - 50px));
    }


}
