/******************************************************************************
*  Cyber Mega Phone 2K
*  Copyright (C) 2017 Digium, Inc.
*
*  This program is free software, distributed under the terms of the
*  MIT License. See the LICENSE file at the top of the source tree.
******************************************************************************/

body {
	font-family: sans-serif;
}

header {
	font-size: 1.55rem;
	text-shadow: 0 2px 2px #b6701e;
	text-align: center;
}

.footer {
	position: fixed;
	width: 100%;
	bottom: 0;
	left: 0;
	padding: 0.2rem;
	background-color: #efefef;
	text-align: center;
}

/* Checkbox switch */
.switches {
	display: block;
}

.switch {
	position: relative;
	display: inline-block;
	width: 70px;
	height: 20px;
}

.switch input {
	display: none;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}

.slider:before {
	position: absolute;
	content: "";
	height: 12px;
	width: 16px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}

input:checked + .slider {
	background-color: #0068b2;
}

input:focus + .slider {
	box-shadow: 0 0 1px #0068b2;
}

input:checked + .slider:before {
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(46px);
}

.slider:after {
	content: 'no';
	color: white;
	display: block;
	position: absolute;
	transform: translate(-50%,-50%);
	top: 50%;
	left: 47%;
	font-size: 10px;
	font-family: Verdana, sans-serif;
}

input:checked + .slider:after {
	content: 'yes';
}

 /* Account and connection */

.connection {
	text-align: left;
	padding: 10px;
}

.connection input {
	vertical-align: middle;
}

.account-modal {
	text-align: center;
	display: none;
	position: fixed;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.4);
}

.account-content {
	margin: 10% auto;
	padding: 10px;
	border: 1px solid #888;
	width: 250px;
	position: relative;
	-webkit-animation-name: animatetop;
	-webkit-animation-duration: 0.4s;
	background-color: #0c2959;
}

@-webkit-keyframes animatetop {
	from {top: -300px; opacity: 0}
	to {top: 0; opacity: 1}
}

@keyframes animatetop {
	from {top: -300px; opacity: 0}
	to {top: 0; opacity: 1}
}

.account-content label {
	color: white;
	display: block;
	text-align: left;
	margin-top: 5px;
}

.account-close {
	color: #aaa;
	float: right;
	font-size: 20px;
	font-weight: bold;
}

.account-close:hover, .account-close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}

 /* Media view and video */

video {
	height: 360px;
	width: 704px;
}

.media-view {
	border: 1px solid black;
	float: left;
	height: auto;
	padding: 0.5%;
	background-color: #F5F5F5;
}

.media-overlay {
	width: 100%;
	height: 100%;
	position: absolute;
}

.media-controls {
	width: 100%;
	position: relative;
}

.media-controls button:hover, .media-controls button:focus {
	opacity: 0.5;
}
