* {
    box-sizing: border-box;
    font-family: "Lucida Grande", "Helvetica Neue", Helvetica, Arial, Verdana, Tahoma, sans-serif;
}

*:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    outline: 0;
    vertical-align: top;
    color: #555;
    text-align: left;
}

html,body {
    width: 100%;
    margin: 0;
    border: 0;
}

header {
	display: flex;
	align-items: center;
	height: 50px;
    width: 100%;
    background: #2476a7;
    border-bottom: 1px solid rgb(34 114 160);
    box-shadow: 0 0 10px rgb(36 118 167 / 44%);
	margin-bottom: 10px;
}

header .logo {
	width:108px;
	height:40px;
	background-image: url(https://vocal.v0x.eu/chattaplus/logo_small_w.png);
}

main {
	text-align: center;
	color: #555;
}

footer {
	width:100%;
	position: absolute;
	bottom: 0;
	text-align: center;
	background: #ddd;
	padding:20px;
}

h1, h3 {
	padding: 20px;
}

.sch_vocalContainer {
    display: flex;
    width: 200px;
    height: 80px;
    padding: 5px;
    margin: 0 auto;
    border-radius: 10px 0 0 0;
}

.sch_vocalPlayerContainer {
    width: 500px;
    height: 78px;
    background: rgb(235, 235, 235);
    border-radius: 30px;
    padding: 15px !important;
    box-sizing: border-box !important;
    margin-top: 5px !important;
    margin: 0 auto;
}

.sch_vocalPlayer {
    position: relative;
    width: calc(100% - 75px);
    height: 50px;
    float: left;
    margin-top: -1px !important;
}

.sch_vocalPlayerContainer .sch_vocalPlayerTogglePlay {
    display: flex;
    align-items: center;
    width: 48px;
    height: 48px;
    background: #0096c7;
    opacity: 0.8;
    border-radius: 50%;
    float: right;
    cursor: pointer;
    margin-top: -2px;
    text-align: center;
    padding: 4px 5px;
}

/* Play icon */
.sch_vocalPlayerContainer .sch_vocalPlayerTogglePlay:after {
    content: '';
    background: url('https://vocal.v0x.eu/chattaplus/sch_icons.png');
    background-position: -120px -96px;
    height: 24px;
    width: 24px;
    display: block;
    line-height: 30px;
    filter: sepia(100%) saturate(0%) brightness(100%);
    margin: 0 auto;
}

/* Stop icon */
.sch_vocalPlayerContainer .sch_vocalPlayerTogglePlay._playing:after {
    content: '';
    background: url('https://vocal.v0x.eu/chattaplus/sch_icons.png');
    background-position: -144px -96px;
    line-height: 32px;
    margin-left: -1px;
    filter: sepia(100%) saturate(0%) brightness(100%);
    margin: 0 auto;
}

.sch_vocalPlayerContainer .sch_vocalPlayerTogglePlay:hover {
    opacity:1;
}

.sch_vocalPlayerContainer .sch_vocalPlayerTime {
    position: absolute;
    bottom: 0px;
    right: 65px;
}

.sch_vocalPlayerContainer .clear-fix {
    clear: both;
}
.sch_vocalPlayerContainer .sch_vocalPlayerTime:after {
    content: attr(data-time);
    font-weight: 600;
    color: #bbb !important;
    font-size: 13px;
}

.sch_vocalContainer .sch_toggleRecordButton {
    display:inline-block;
    width: 34px;
    height: 34px;
    cursor: pointer;
}

.sch_vocalContainer .sch_vocalPreviewButton,
.sch_vocalContainer .sch_vocalSendButton {
    display: inline-block;
    background: #ddd;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    margin-top: 2px;
    margin-left: 5px;
    padding: 3px 5px;
}

.sch_vocalContainer .sch_toggleRecordButton:after {
    content: '';
    display: block;
    margin-left: 8px;
    margin-top: 8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: darkred;
}

@keyframes pulse{
	0%{
		box-shadow: 0px 0px 5px 0px rgba(255, 0, 0, 0.6);
	}
	65%{
		box-shadow: 0px 0px 5px 6px rgba(255, 0, 0,0.3);
	}
	90%{
		box-shadow: 0px 0px 5px 10px rgba(255, 0, 0, 0);
	}
}

.sch_vocalContainer .sch_toggleRecordButton._reset:after {
    content: '✖';
    font-size: 16px;
    display: block;
    color: red;
    line-height: 19px;
    text-align: center;
    background: #dddddd;
}

.sch_vocalContainer .sch_toggleRecordButton._recording:after {
    background: #ff0000;
    animation-name: pulse;
	animation-duration: 1s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}

.sch_vocalContainer .sch_vocalPreviewButton._playing:after {
    content: '';
    background: url('https://vocal.v0x.eu/chattaplus/sch_icons.png');
    background-position: -144px -96px;
    margin-left: -2px;
    filter: sepia(100%) saturate(1000%) brightness(50%) hue-rotate(270deg);
}

.sch_vocalContainer .sch_vocalPreviewButton:after {
    content: '';
    background: url('https://vocal.v0x.eu/chattaplus/sch_icons.png');
    background-position: -120px -96px;
    display: block;
    height: 24px;
    width: 24px;
    filter: sepia(100%) saturate(1000%) brightness(50%) hue-rotate(45deg);
}

.sch_vocalContainer .sch_vocalSendButton:after {
    content: '';
    background: url('https://vocal.v0x.eu/chattaplus/sch_icons.png');
    background-position: -168px -96px;
    display: block;
    height: 24px;
    margin-left: -2px;
    width: 24px;
    filter: sepia(100%) saturate(1000%) brightness(60%) hue-rotate(140deg);
}

.sch_vocalContainer .sch_toggleRecordButton._disabled,
.sch_vocalContainer .sch_vocalPreviewButton._disabled,
.sch_vocalContainer .sch_vocalSendButton._disabled
{
    cursor: not-allowed !important;
}

.sch_vocalContainer .sch_toggleRecordButton._disabled:after,
.sch_vocalContainer .sch_vocalPreviewButton._disabled:after,
.sch_vocalContainer .sch_vocalSendButton._disabled:after
{
    filter: sepia(100%) saturate(0%) brightness(60%);
}


.sch_vocalContainer .sch_vocalTimer {
    display:inline-block;
    line-height:38px;
}

.sch_vocalContainer .sch_vocalTimer:after {
    content: attr(data-time);
    color: rgb(172, 172, 172);
}

.sch_vocalContainer .sch_vocalTimer._recording:after {
    color: rgb(0, 129, 39);
}