#skitt-ui {
    display: block !important;
}

#skitt-ui.skitt-ui--hidden {
    display: none !important;
}

#skitt-ui {
    height: 40px;
    display: inline-block;
    background-color: #2980B9;
    z-index: 200;
    border-radius: 20px;
    position: fixed;
    bottom: 4px;
    left: 4px;
    outline: none;
    border: none;
    cursor: default;
    font-family: Lato, Helvetica, Arial, sans-serif;
    font-size: 14px;
    overflow: hidden;
}

#skitt-ui.ok, #skitt-toggle-button.ok {
    background-color: darkgreen !important;
}

#skitt-ui.error, #skitt-toggle-button.error {
    background-color: darkred !important;
}

#skitt-toggle-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
    background: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMSBUaW55Ly9FTicgICdodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS10aW55LmR0ZCc+PHN2ZyBiYXNlUHJvZmlsZT0idGlueSIgaGVpZ2h0PSIzMnB4IiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAzMiAzMiIgd2lkdGg9IjMycHgiIHhtbDpzcGFjZT0icHJlc2VydmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxnIGlkPSJHdWlkZXNfX3gyNl9fRm9ybXMiLz48ZyBpZD0iSWNvbnMiPjxnPjxwYXRoIGZpbGw9IndoaXRlIiBkPSJNMTYsMjFjMi4yMDksMCw0LTEuNzkxLDQtNHYtN2MwLTIuMjA5LTEuNzkxLTQtNC00Yy0yLjIwOSwwLTQsMS43OTEtNCw0djdDMTIsMTkuMjA5LDEzLjc5MSwyMSwxNiwyMXogTTE0LDEwICAgIGMwLTEuMTAzLDAuODk3LTIsMi0yYzEuMTAzLDAsMiwwLjg5NywyLDJ2N2MwLDEuMTAzLTAuODk3LDItMiwyYy0xLjEwMywwLTItMC44OTctMi0yVjEweiIvPjxwYXRoIGZpbGw9IndoaXRlIiBkPSJNMjQsMTdoLTJjMCwzLjMwOC0yLjY5Miw2LTYsNnMtNi0yLjY5Mi02LTZIOGMwLDQuMDc5LDMuMDU1LDcuNDM4LDcsNy45MzFWMjZoLTR2MmgxMHYtMmgtNHYtMS4wNjkgICAgQzIwLjk0NSwyNC40MzgsMjQsMjEuMDc5LDI0LDE3eiIvPjwvZz48L2c+PC9zdmc+");
    background-size: 72% 72%;
    background-position: 6px 4px;
    background-repeat: no-repeat;
    -webkit-transition: background-color 400ms ease;
    float: left;
}

label#skitt-toggle-button__label {
    display: none;
}

.skitt-ui--not-listening #skitt-toggle-button {
    background-color: #2980B9;
}

.skitt-ui--listening #skitt-toggle-button {
    -webkit-animation: listen_pulse 2s ease-out infinite;
}

@-webkit-keyframes listen_pulse {
    0% {
        background-color: #2980B9
    }
    50% {
        background-color: #3498DB
    }
    100% {
        background-color: #2980B9
    }
}

.skitt-ui--not-listening #skitt-toggle-button:hover {
    background-color: #3498DB;
}

.skitt-ui--listening #skitt-toggle-button:hover {
    background-color: #3498DB;
}

#skitt-listening-box {
    float: left;
    display: inline-block;
    line-height: 40px;
    color: #fff;
}

#skitt-listening-text {
    display: inline-block;
    overflow: hidden;
}

.skitt-ui--not-listening #skitt-listening-text {
    width: 0;
}

.skitt-ui--listening #skitt-listening-text {
    width: 100%;
    -webkit-transition: width 1s ease-in-out;
    margin: 0 25px 0 15px;
}

#skitt-listening-text__samples {
    font-weight: bold;
    margin-left: 10px;
}

#skitt-listening-text__recognized-sentence {
    display: none;
}

@media (max-width: 540px) {
    #skitt-ui {
        height: 30px;
        border-radius: 15px;
        font-size: 12px;
    }
    #skitt-toggle-button {
        width: 30px;
        height: 30px;
        background-position: 4px 3px;
    }
    #skitt-listening-box {
        line-height: 30px;
    }
    .skitt-ui--listening #skitt-listening-text {
        margin: 0 15px 0 5px;
    }
}
@media (max-width: 340px) and (orientation: portrait) {
    #skitt-ui {
        font-size: 10px;
    }
}