/* @import url(https://fonts.googleapis.com/css?family=Lato:400,400italic,700); */

body {
    /* background-color: #2196f2; */
    /* font-family: Lato; */
    font-weight: 400;
    letter-spacing: 1px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin: 0;
    padding: 0;
    outline: none;
}
.flex{
    display: flex;
}
.flex-grow-one{
    flex-grow: 1;
    width: 0;
}
.inline-block {
    display: inline-block;
}
.clearFix:after {
    content: "";
    display: block;
    clear: both;
    visibility: hidden;
}
.f-l {
    float: left;
}
.f-r {
    float: right;
}
.pad {
    /*width: 400px;*/
    /*height: 700px;*/
    background-color: #232323;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    box-shadow: 0 30px 35px -25px black;
    animation: showPad 1s ease forwards 1;
}

/*.pad .dial-pad .contact {*/
/*    width: 60%;*/
/*    position: relative;*/
/*    margin-left: 20%;*/
/*    margin-top: 40px;*/
/*    opacity: 0;*/
/*    transition: opacity 0.5s ease;*/
/*}*/

/*.pad .dial-pad .contact.showContact {*/
/*    opacity: 1;*/
/*}*/

/*.pad .dial-pad .contact .avatar {*/
/*    background-repeat: no-repeat;*/
/*    background-size: auto 100%;*/
/*    background-position: center center;*/
/*    width: 60px;*/
/*    height: 60px;*/
/*    border-radius: 100%;*/
/*    box-shadow: 0 15px 30px -10px black;*/
/*    position: absolute;*/
/*    left: 0px;*/
/*    top: 8px;*/
/*}*/

/*.pad .dial-pad .contact .contact-info {*/
/*    border-radius: 8px;*/
/*    width: 85%;*/
/*    margin-left: 15%;*/
/*    background-color: #2d2d2d;*/
/*    height: 76px;*/
/*    overflow: hidden;*/
/*}*/

/*.pad .dial-pad .contact .contact-info>div {*/
/*    width: 80%;*/
/*    margin-left: 20%;*/
/*    font-size: 12px;*/
/*    margin-top: 3px;*/
/*}*/

/*.pad .dial-pad .contact .contact-info .contact-name {*/
/*    color: #fdfdfd;*/
/*    margin-top: 12px;*/
/*}*/

/*.pad .dial-pad .contact .contact-info .contact-position {*/
/*    font-style: italic;*/
/*    color: #aeaeae;*/
/*}*/

/*.pad .dial-pad .contact .contact-info .contact-number {*/
/*    color: white;*/
/*}*/

/*.pad .dial-pad .contact .contact-info .contact-number span {*/
/*    color: #3de066;*/
/*    display: inline;*/
/*}*/

/*.pad .dial-pad .contact .contact-buttons {*/
/*    position: absolute;*/
/*    right: -5px;*/
/*    top: 0px;*/
/*    width: 40px;*/
/*    height: 76px;*/
/*}*/

/*.pad .dial-pad .contact .contact-buttons button {*/
/*    border: none;*/
/*    width: 25px;*/
/*    height: 25px;*/
/*    border-radius: 100%;*/
/*    box-shadow: 0 12px 25px -5px black;*/
/*    display: block;*/
/*    position: absolute;*/
/*    right: 0px;*/
/*    background-size: 75% auto;*/
/*    background-position: center center;*/
/*    background-repeat: no-repeat;*/
/*}*/

/*.pad .dial-pad .contact .contact-buttons button:focus {*/
/*    outline: none;*/
/*}*/

/*.pad .dial-pad .contact .contact-buttons button.icon-message {*/
/*    background-color: #ffc44e;*/
/*    top: 5px;*/
/*}*/

/*.pad .dial-pad .contact .contact-buttons button.icon-video {*/
/*    background-color: #a529f9;*/
/*    bottom: 5px;*/
/*}*/

/*.pad .dial-pad .phoneString {*/
/*    width: 100%;*/
/*    height: 80px;*/
/*    background-color: #2d2d2d;*/
/*    margin-top: 40px;*/
/*}*/

/*.pad .dial-pad .phoneString input {*/
/*    background-color: transparent;*/
/*    width: 60%;*/
/*    margin-left: 20%;*/
/*    height: 80px;*/
/*    border: none;*/
/*    font-size: 30px;*/
/*    color: white;*/
/*    font-weight: 700;*/
/*    letter-spacing: 2px;*/
/*}*/

/*.pad .dial-pad .phoneString input:focus {*/
/*    outline: none;*/
/*}*/

/*.pad .dial-pad .digits {*/
/*    overflow: hidden;*/
/*    width: 60%;*/
/*    margin-left: 20%;*/
/*    margin-top: 20px;*/
/*}*/

/*.pad .dial-pad .digits .dig-spacer {*/
/*    width: 60px;*/
/*    margin: 10px calc(50% - 90px);*/
/*    float: left;*/
/*}*/

/*.pad .dial-pad .digits .dig {*/
/*    color: white;*/
/*    font-size: 30px;*/
/*    float: left;*/
/*    background-color: #2d2d2d;*/
/*    text-align: center;*/
/*    width: 60px;*/
/*    height: 56px;*/
/*    border-radius: 100%;*/
/*    margin: 10px 0px;*/
/*    padding-top: 4px;*/
/*    font-weight: 700;*/
/*    cursor: pointer;*/
/*}*/

/*.pad .dial-pad .digits .dig.clicked {*/
/*    animation: pulse-gray linear 0.5s 1;*/
/*}*/

/*.pad .dial-pad .digits .dig:nth-child(3n-1) {*/
/*    margin: 10px calc(50% - 90px);*/
/*}*/

/*.pad .dial-pad .digits .dig.astrisk {*/
/*    padding-top: 17px;*/
/*    height: 43px;*/
/*}*/

/*.pad .dial-pad .digits .dig.pound {*/
/*    padding-top: 10px;*/
/*    height: 50px;*/
/*}*/

/*.pad .dial-pad .digits .dig .sub-dig {*/
/*    font-size: 8px;*/
/*    font-weight: 300;*/
/*    position: relative;*/
/*    top: -2px;*/
/*}*/

.digits-wrap{
    width: 100%;
    position: absolute;
    bottom: 15vh;
}
.pad .call-pad .digits {
    overflow: hidden;
    /*width: 60%;*/
    /*margin-left: 20%;*/
    /*margin-top: 20px;*/
    /*text-align: center;*/
    margin: 0 8%;
}

.pad .call-pad .digits .dig-spacer {
    width: 60px;
    margin: 10px calc(50% - 90px);
    float: left;
}

.pad .call-pad .digits .dig {
    color: white;
    font-size: 24px;
    /*float: left;*/
    background-color: #2d2d2d;
    text-align: center;
    width: 65px;
    height: 65px;
    /*padding-top: 3vh;*/
    /*height: 56px;*/
    border-radius: 50%;
    margin: 0 auto 12px;
    padding-top: 8px;
    /*font-weight: 700;*/
    cursor: pointer;
    box-sizing: border-box;
}
.pad .call-pad .digits .dig.no-letter{
    padding-top: 20px;
}

.pad .call-pad .digits .dig.clicked {
    animation: pulse-gray linear 0.5s 1;
}

/*.pad .call-pad .digits .dig:nth-child(3n-1) {*/
/*    !*margin: 10px calc(50% - 90px);*!*/
/*    margin: 20px 5% 0;*/
/*}*/

/*.pad .call-pad .digits .dig.astrisk {*/
/*    padding-top: 17px;*/
/*    height: 43px;*/
/*}*/

/*.pad .call-pad .digits .dig.pound {*/
/*    padding-top: 10px;*/
/*    height: 50px;*/
/*}*/

.pad .call-pad .digits .dig .sub-dig {
    /*font-size: 8px;*/
    font-size: 12px;
    /*font-weight: 300;*/
    /*position: relative;*/
    /*top: -2px;*/
}

.pad .call-pad {
    opacity: 0;
    height: 0px;
    pointer-events: none;
    background-color: #232323;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center center;
    transition: opacity 0.3s ease;
    position: absolute;
    width: 100%;
    left: 0px;
    top: 0px;
    transition: opacity 0.3s ease;
}

.pad .call-pad.in-call {
    height: 100%;
    opacity: 1;
    pointer-events: all;
}

.pad .call-pad .pulsate {
    opacity: 0;
    width: 150px;
    height: 0px;
    overflow: visible;
    position: relative;
    display: block;
    margin: 0 auto 0;
    top: 120px;
    transition: opacity 0.5s ease;
}

.pad .call-pad .pulsate.active-call {
    animation: pulsator 2s ease infinite;
    opacity: 1;
}

.pad .call-pad .pulsate div {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.06);
    border-radius: 100%;
    margin: auto;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

.pad .call-pad .pulsate div:nth-child(1) {
    width: 110px;
    height: 110px;
}

.pad .call-pad .pulsate div:nth-child(2) {
    width: 122px;
    height: 122px;
}

.pad .call-pad .pulsate div:nth-child(3) {
    width: 134px;
    height: 134px;
}

.pad .call-pad .ca-name,
.pad .call-pad .ca-number,
.pad .call-pad .ca-status {
    /*width: 60%;*/
    /*margin-left: 20%;*/
    color: white;
    text-align: center;
    /*font-weight: bold;*/
    margin: 10px 0;
    font-size: 16px;
}

.pad .call-pad .ca-name {
    /*font-size: 18px;*/
    font-size: 24px;
    height: 30px;
}

.pad .call-pad .ca-number {
    /*font-size: 28px;*/
    font-size: 24px;
    height: 30px;
    letter-spacing: 2px;
}

/*.pad .call-pad .ca-status {*/
/*    font-size: 40px;*/
/*    margin-top: 40px;*/
/*    margin-bottom: 40px;*/
/*}*/

.pad .call-pad .ca-status:after {
    content: attr(data-dots);
    position: absolute;
}
.call-customer-service{
    text-align: center;
    margin: 20px 0 10px;
    display: none;
}
.call-customer-service img {
    width: 30vw;
    /*height: 200px;*/
}
@media screen and (max-height: 600px) {
    .call-customer-service{
        margin: 10px 0 0;
    }
    /*.call-customer-service img {*/
    /*    width: 60px;*/
    /*    height: 60px;*/
    /*}*/
    .pad .call-pad .ca-status{
        font-size: 12px;
    }
    .pad .call-pad .digits .dig{
        width: 60px;
        height: 60px;
        padding-top: 5px;
    }
    .pad .call-pad .digits .dig.no-letter{
        padding-top: 15px;
    }
}
.pad .call-pad .ca-buttons {
    width: 70%;
    margin-left: 15%;
}

.pad .call-pad .ca-buttons .ca-b-single {
    float: left;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 100%;
    position: relative;
    margin-bottom: 40px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 55% auto;
}

.pad .call-pad .ca-buttons .ca-b-single:nth-child(3n-1) {
    margin-left: calc(100% - 230px);
    margin-right: calc(100% - 230px);
}

.pad .call-pad .ca-buttons .ca-b-single:after {
    content: attr(data-label);
    color: white;
    position: absolute;
    text-align: center;
    font-size: 10px;
    width: 100px;
    bottom: -20px;
    left: -18px;
    letter-spacing: 2px;
}

.call {
    color: white;
    /*font-size: 30px;*/
    /*text-align: center;*/
    width: 50px;
    height: 50px;
    border-radius: 50%;
    /*margin: 10px 0px;*/
    font-weight: 700;
    cursor: pointer;
    position: absolute;
    left:50%;
    margin-left: -25px;
    bottom: 5vh;
    box-shadow: 0px 25px 30px -15px black;
    background-color: #3de066;
}

.call .call-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-size: 60% auto;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url(./phoneicon.png);
    transition: transform 0.3s ease;
}

.call .call-icon.in-call {
    top: 5px;
    -ms-transform: rotate(134deg);
    -webkit-transform: rotate(134deg);
    transform: rotate(134deg);
}

.call .call-change {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.call .call-change.in-call span {
    width: 50px;
    height: 50px;
    display: block;
    background-color: #fa4a5d;
    position: relative;
    /*top: 25px;*/
    /*left: 26px;*/
    border-radius: 50%;
    transition: left 0.3s ease, top 0.3s ease;
}

/*.call .call-change.in-call span {*/
/*    top: -5px;*/
/*    left: -5px;*/
/*}*/

.call.clicked {
    animation: pulse-green linear 0.5s 1 forwards;
}

@keyframes pulse-gray {
    0% {
        box-shadow: inset 0 0 0px 30px #2d2d2d, inset 0 0 0px 30px white;
        -ms-transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
    }

    10% {
        -ms-transform: scale(0.8, 0.8);
        -webkit-transform: scale(0.8, 0.8);
        transform: scale(0.8, 0.8);
    }

    30% {
        box-shadow: inset 0 0 0px 10px #2d2d2d, inset 0 0 0px 30px white;
    }

    60% {
        box-shadow: inset 0 0 0px 0px #2d2d2d, inset 0 0 0px 0px white;
        -ms-transform: scale(0.8, 0.8);
        -webkit-transform: scale(0.8, 0.8);
        transform: scale(0.8, 0.8);
    }

    100% {
        -ms-transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
    }
}

@keyframes pulse-blue {
    0% {
        box-shadow: inset 0 0 0px 30px #285efa, inset 0 0 0px 30px white;
        -ms-transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
    }

    10% {
        -ms-transform: scale(0.8, 0.8);
        -webkit-transform: scale(0.8, 0.8);
        transform: scale(0.8, 0.8);
    }

    30% {
        box-shadow: inset 0 0 0px 10px #285efa, inset 0 0 0px 30px white;
    }

    60% {
        box-shadow: inset 0 0 0px 0px #285efa, inset 0 0 0px 0px white;
        -ms-transform: scale(0.8, 0.8);
        -webkit-transform: scale(0.8, 0.8);
        transform: scale(0.8, 0.8);
    }

    100% {
        -ms-transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
    }
}

@keyframes pulse-green {
    0% {
        box-shadow: inset 0 0 0px 30px #3de066, inset 0 0 0px 30px white;
        -ms-transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
    }

    10% {
        -ms-transform: scale(0.8, 0.8);
        -webkit-transform: scale(0.8, 0.8);
        transform: scale(0.8, 0.8);
    }

    30% {
        box-shadow: inset 0 0 0px 10px #3de066, inset 0 0 0px 30px white;
    }

    60% {
        box-shadow: inset 0 0 0px 0px #3de066, inset 0 0 0px 0px white;
        -ms-transform: scale(0.8, 0.8);
        -webkit-transform: scale(0.8, 0.8);
        transform: scale(0.8, 0.8);
    }

    100% {
        -ms-transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
    }
}

@keyframes pulse-red {
    0% {
        box-shadow: inset 0 0 0px 30px #fa4a5d, inset 0 0 0px 30px white;
        -ms-transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
    }

    10% {
        -ms-transform: scale(0.8, 0.8);
        -webkit-transform: scale(0.8, 0.8);
        transform: scale(0.8, 0.8);
    }

    30% {
        box-shadow: inset 0 0 0px 10px #fa4a5d, inset 0 0 0px 30px white;
    }

    60% {
        box-shadow: inset 0 0 0px 0px #fa4a5d, inset 0 0 0px 0px white;
        -ms-transform: scale(0.8, 0.8);
        -webkit-transform: scale(0.8, 0.8);
        transform: scale(0.8, 0.8);
    }

    100% {
        -ms-transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
    }
}

@keyframes pulsator {
    0% {
        -ms-transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
    }

    40% {
        -ms-transform: scale(0.8, 0.8);
        -webkit-transform: scale(0.8, 0.8);
        transform: scale(0.8, 0.8);
    }

    100% {
        -ms-transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
    }
}

@keyframes showPad {
    0% {
        top: 50px;
        opacity: 0;
    }

    100% {
        top: 0px;
        opacity: 1;
    }
}

p {
    position: fixed;
    bottom: 0px;
    left: 15px;
    color: white;
    /* font-family: Lato; */
    font-weight: 300;
    overflow: hidden;
}

p a:link,
p a:visited {
    color: white;
}

p a:hover {
    opacity: 0.5;
}

p img {
    width: 20px;
    height: 20px;
    position: relative;
    top: 6px;
}

/*麦克风权限提示框*/
.microphone-permissions{
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background-color: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
    display: none;
}
.microphone-permissions-inner{
    background-color: #fff;
    border-radius: 8px;
    width: 250px;
    height: 100px;
    text-align: center;
    font-size: 14px;
}
.microphone-permissions-tips{
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}
.microphone-permissions-btn{
    color: rgb(64, 100, 172);
    font-size: 16px;
    padding: 10px 0;
}
.pad .call-pad .digits.calling-btn-group{
    margin: 20vh 8%;
}

.dial-btn-group{
    display: none;
}

.calling-btn-icon{
    width: 28px;
}
.calling-btn-text{
    text-align: center;
    color: #fff;
    font-size: 12px;
}
.hide-dial{
    position: absolute;
    right: -80px;
    top: 16px;
    font-size: 14px;
    font-weight: normal;
    display: none;
}
