﻿
.btn-floating {
    -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-floating.btn-large i {
    line-height: 56px;
}

.btn-large i {
    font-size: 1.6rem;
}

.btn-floating i {
    width: inherit;
    display: inline-block;
    text-align: center;
    color: #fff;
    font-size: 1.6rem;
    line-height: 40px;
}

.btn i, .btn-large i, .btn-small i, .btn-floating i, .btn-large i, .btn-small i, .btn-flat i {
    /*font-size: 1.3rem;*/
    line-height: inherit;
}

.material-icons {
    text-rendering: optimizeLegibility;
    -webkit-font-feature-settings: 'liga';
    -moz-font-feature-settings: 'liga';
    font-feature-settings: 'liga';
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

/*.tab-container {
    display: none;
}*/

.tab {
    visibility: hidden;
    background-color: #000;
    opacity: 0.8;
    position: relative;
    top: 50px;
    /*margin-left: 10px;*/
    display: inline-block;
    cursor: pointer;
    z-index: 10000;
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#acPopup img {
    width: 100px;
    height: 66px;
}

.half-tab i {
    line-height: 40px !important;
}

.half-tab {
    visibility: hidden;
    background-color: #000;
    opacity: 0.8;
    position: relative;
    top: 9px;
    display: inline-block;
    height: 28px;
    width: 56px;
    border-top-left-radius: 56px;
    border-top-right-radius: 56px;
    cursor: pointer;
    z-index: 10001;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.popupcontainer {
    position: fixed;
    bottom: 60px;
    height: 50px;
    font-size: smaller;
    z-index: 1001;
}
.half-tab-container {
    bottom: 79px;
    position: absolute;
}

.popup {
    position: relative;
    bottom: 75px;
    display: inline-block;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.subpopup {
    z-index: 1049;
    position: fixed;
    bottom: 0;
    line-height: 35px;
    width: 100%;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.subpopup table {
    visibility: hidden;
    width: 100%;
}

/* The actual popup */
.popup .popuptext {
    visibility: hidden;
    background-color: #000;
    color: #fff;
    text-align: left;
    opacity: 0.8;
    padding: 8px;
    z-index: 1;
    bottom: 5px;
    left: 8px;
    margin-left: 10px;
    display: inline-block !important;
}

.subpopup .subtext {
    visibility: hidden;
    width: 100%;
    /*height: 60px;*/
    background-color: #404040;
    opacity: 0.8;
    color: #fff;
    padding: 0 20px;
    z-index: 1;
    left: 3px;
    margin-left: -3px;
}

.popuptext div {
    display: inline-block;
}

.popuptext div span {
    display: block;
    white-space: nowrap;
    line-height: 22px;
    font-size: small;
}

.popuptext div span:first-of-type {
    font-size: medium;
    color: #80c1ff;
}

.subpopup table {
    background-color: #404040;
    opacity: 0.8;
}

.subpopup table td {
    width: 110px;
    vertical-align: middle;
    padding: 5px 0;
}

.subpopup table td:first-of-type {
    width: 265px;
}

.btn-ac {
    visibility: hidden;
    z-index: 1;
}

/* Popup arrow */
.popup .popuptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 20%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #000 transparent transparent transparent;
}

/* Toggle this class - hide and show the popup */
.popup .show, .subpopup .show, .subpopup table .show, .half-tab-container .show, .tab-container .show {
    visibility: visible;
    /*-webkit-animation: fadeIn 1s;
    animation: fadeIn 1s;*/
}

/*.tab-container .show {
    visibility: visible;
}*/

    /* Add animation (fade in the popup) */
    @-webkit-keyframes fadeIn {
        from {
        opacity: 0;
    }

    to {
        opacity: 0.8;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 0.8;
    }
}

@-webkit-keyframes btn-fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes btn-fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
@media screen and (max-width: 767px) {
    .popupcontainer, .subpopup {
        visibility: hidden;
        /*clear: both;
        float: left;
        margin: 10px auto 5px 20px;
        width: 28%;*/
        display: none;
    }
}