/*
 * TODO: Convert to SCSS.
 */
.play-application,
.live-application {
    font-family: 'Ubuntu Mono', monospace;
    font-size: 13px !important;
}

.play-application,
.live-application h3 {
    font-size: initial !important;
}

.shadow {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
}

.terminal-wrap {
    width: 100% !important;
    height: 100% !important;
}

.terminal-wrap .terminal .xterm-viewport {
    overflow-y: hidden;
}

.centered {
    z-index: 1000;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.loading .fa.fa-spinner {
    color: white;
    text-align: center;
}

.errored {
    color: #ff4d4d;
    font-size: 20px;
    background-color: #eee;
    padding: 10px;
}

.message {
    color: #16d11f;
    font-size: 20px;
    background-color: #eee;
    padding: 10px;
}

.card {
    color: black;
    background-color: #eee;
    max-width: 276px;
    margin: auto;
    text-align: center;
    padding: 10px;
}

.card h1.avatar {
    font-size: 2rem !important;
}

.card .title {
    color: grey;
    font-size: 18px;
    display: none;
}

.card .controls {
    margin-bottom: 0;
}

.card .controls button {
    border: none;
    outline: 0;
    display: inline-block;
    padding: 8px;
    color: white;
    background-color: #aaa;
    text-align: center;
    cursor: pointer;
    width: 33.3%;
    font-size: 18px;
    margin: 0px !important;
    border-radius: 0px;
}

.card .controls button:hover {
    background-color: #666;
}

.card .controls button:hover .fa-play,
.card .controls button:hover .fa-image,
.card .controls button:hover .fa-video {
    transform: scale(1.2);
}

.fa-image,
.fa-play,
.fa-video {
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.card .bio {
    font-size: 12px;
}

.card .links i {
    cursor: pointer;
    margin: 4px;
}

.card .avatar {
    display: inline-block;
    margin-bottom: 0;
}

.card .avatar img {
    border-radius: 50%;
    height: 100px;
    overflow: hidden;
    position: relative;
}

.terminal-style {
    display: flex;
    flex-direction: column;
    z-index: 999;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
}

.terminal-style .top {
    background: #E8E6E8;
    color: black;
    padding: 5px;
    border-radius: 5px 5px 0 0;
}

.terminal-style .btns {
    position: absolute;
    top: 1px;
    left: 5px;
}

.terminal-style .btns span {
    margin-right: 5px;
}

.terminal-style .btns span i {
    display: none;
}

.terminal-style .btns:hover span i {
    display: initial;
}

.terminal-style .circle {
    width: 12px;
    height: 12px;
    display: inline-block;
    border-radius: 15px;
    margin-left: 2px;
    border-width: 1px;
    border-style: solid;
}

.terminal-style .title {
    text-align: center;
    line-height: 13px !important;
    font-size: 14px !important;
}

.red {
    cursor: pointer;
    background: #EC6A5F;
    border-color: #D04E42;
}

.green {
    background: #64CC57;
    border-color: #4EA73B;
}

.yellow {
    background: #F5C04F;
    border-color: #D6A13D;
}

.circle {
    text-align: center;
    font-size: 10px;
}

.clear {
    clear: both;
}

.terminal-style .terminal-wrap {
    background: black;
    overflow: hidden;
}

[tooltip] {
    position: relative;
}

[tooltip]:hover:before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 4px 6px 0 6px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.85) transparent transparent transparent;
    z-index: 100;
}

[tooltip]:hover:after {
    content: attr(tooltip);
    position: absolute;
    left: 50%;
    top: -6px;
    transform: translateX(-50%) translateY(-100%);
    background: rgba(0, 0, 0, 0.85);
    text-align: center;
    color: #fff;
    padding: 4px 2px;
    font-size: 12px;
    min-width: 120px;
    border-radius: 5px;
    pointer-events: none;
}