html, body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
}

textarea, select, input, button { outline: none; }

.recorder {
	-webkit-font-smoothing: antialiased;
	font-family: "Gotham-Book", "Helvetica", "Arial", sans-serif;
	color: white;
	height: 100%;
	width: 100%;
	/* width: 265px;
	height: 365px; */
	min-height: 365px;
	/* border-radius: 8px; */
	background-color: #177df4;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.recorder-page {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
}

.section {
	position: relative;
	display: flex;
	flex: 1;
}

.inner-section {
	position: absolute;
	top: 19px;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.section.column {
	flex-direction: column;
}

.hide {
	display: none !important;
}

.section.centered {
	justify-content: center;
}

.section.alt-centered {
	align-items: center;
}

.double-centered {
	display: flex;
	justify-content: center;
	align-items: center;
}

.section.end-start {
	align-items: flex-end;
}

.column {
	flex-direction: column;
}

.section-text {
	font-family: "Gotham-Book";
	font-size: 14px;
	text-align: center;
	padding: 0 20px;
	margin-top: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.O-2 {
	flex: 0.2;
}

.O-3 {
	flex: 0.3;
}

.O-5 {
	flex: 0.5;
}

.title {
	user-select: none;
	font-family: "Gotham-Medium";
	text-align: center;
	font-size: 14px;
	padding: 17px 10px;
	overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.note {
	user-select: none;
	font-family: "Gotham-Book";
	font-size: 12px;
	padding: 20px 5px;
	text-align: center;
}

.rec-button {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	height: 128px;
	width: 128px;
	border: 4px solid #FFFFFF;
	background-color: #F62F2F;
	box-shadow: 0 1px 4px 0 rgba(71,71,71,0.5);
	border-radius: 100%;
	align-items: center;
	cursor: pointer;
	margin-top: 8px;
	color: white;
	transition: transform 0.1s linear;
	overflow: hidden;
}

.rec-button * {
	user-select: none;
}

.rec-button:hover {
	transform: scale(1.05);
}

.rec-button .material-icons {
	margin-top: 20px;
	font-size: 50px;
}

.rec-button .rec-label {
	font-size: 14px;
	margin-top: 5px;
	font-family: "Gotham-Medium";
}

.button-section {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	align-items: center;
}

#countdown {
	position: relative;
	top: 29px;
	transition: all 0.3s;
}

#countdown.middle {
	top: 0px;
}

#countdown.last {
	top: -29px;
}

#countdown .item {
	height: 29px;
	color: #B71D25;
	font-family: "Gotham-Book";
	font-size: 24px;
	font-weight: 300;
	line-height: 29px;
	text-align: center;
	transition: font-size 0.3s linear;
	width: 100%;
}

#countdown .item.big {
	height: 50px;
	width: 26px;
	color: #FFFFFF;
	font-family: "Gotham-Book";
	font-size: 42px;
	font-weight: 300;
	line-height: 50px;
	text-align: center;
}

.stop-button {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	height: 52px;
	width: 52px;
	border: 2px solid #FFFFFF;
	background-color: #F62F2F;
	box-shadow: 0 1px 4px 0 rgba(71,71,71,0.5);
	border-radius: 100%;
	align-items: center;
	cursor: pointer;
	color: white;
	transition: transform 0.1s linear;
	user-select: none;
}

.stop-button:hover {
	transform: scale(1.05);
}

.stop-button .material-icons {
	font-size: 20px;
	margin-top: 7px;
}

.stop-button .stop-label {
	font-family: "Gotham-Medium";
	font-size: 10px;
	position: relative;
	top: 0px;
}

.action-button {
	user-select: none;
	font-family: "Gotham-Medium";
	font-size: 12px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 31px;
	min-width: 144px;
	border-radius: 4px;
	background-color: #ffffff;
	color: #177df4;
}

.action-button:hover {
	/*box-sizing:border-box;
	border: 1px solid #FFFFFF;
	color: #FFFFFF;
	background:transparent;*/
	opacity: 0.9;

}

.result-icon {
	font-size: 50px;
	margin-top: 17px;
}

/* Margins */

.m-b-13 {
	margin-bottom: 13px;
}

.m-b-14 {
	margin-bottom: 14px;
}

.m-t-10 {
	margin-top: 10px;
}

.m-t-15 {
	margin-top: 15px;
}

.m-b-15 {
	margin-bottom: 15px;
}

.m-t-16 {
	margin-top: 16px
}

/* Padding */
.p-l-r-20 {
	padding-left: 20px;
	padding-right: 20px;
}

#progressbar-container {
	position: relative;
	width: 128px;
	height: 128px;
}

#progress-timer .time {
	font-size: 42px;
}

#progress-timer .unit {
	font-size: 30px;
	position: relative;
	left: -5px;
}

#play-preview {
	position: relative;
	box-sizing: border-box;
	height: 79px;
	width: 79px;
	cursor: pointer;
	border-radius: 100%;
	transition: transform 0.1s linear;
}

#play-preview:hover {
	transform: scale(1.05);
}

/*#play-preview:hover {
	background-color: white;
}

#play-preview:hover * .material-icons {
	color: #177df4;
}

#play-preview:hover * .button-label {
	color: #177df4;
}*/


.text-space {
	display: block;
	height: 15px;
}


#play-preview * {
	user-select: none;
}

#play-preview .inner-content {
	position: absolute;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
}

#play-preview .material-icons {
	font-size: 37px;
}

#play-preview .button-label {
	font-family: "Gotham-Medium";
	font-size: 12px;
	margin-bottom: 10px;
}

.preview-label-button {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

#nickname {
	border: none;
    background: none;
    border-bottom: 1px solid white;
    width: 196px;
    padding-bottom: 5px;
    color: white;
    font-size: 12px;
    margin-top: 27px;
}

#nickname::placeholder {
	color: white;
	opacity: 0.7;
}

#retry, #retry2 {
	color: #FFFFFF;
	font-family: "Gotham-Medium";
	font-size: 12px;
	text-align: center;
	border-bottom: 1px solid white;
	padding-bottom: 2px;
	margin-bottom: 15px;
	cursor: pointer;
	user-select: none;
}

#retry:hover, #retry2:hover {
	opacity: 0.9;
}


.icon-zone {
	position: relative;
}

.icon-zone .main-icon {
	font-size: 60px;
}

.icon-zone .second-icon {
	position: absolute;
	bottom: 0px;
	right: 0px;
	border-radius: 100%;
	font-size: 30px;
	background-color: #177df4;
}

.overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(23,125,244,0.9);
}

.overlay-text {
	position: relative;
	position: relative;
    padding: 0 20px;
	color: #FFFFFF;
	font-family: "Gotham-Medium";
	font-size: 14px;
	line-height: 20px;
	text-align: center;
	margin-bottom: 20px;
}

#no-mic, #no-send, #no-delay {
	position: relative;
	margin-top: 4px;
	display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
}

#no-mic .label, #no-send .label, #no-delay .label {
	display: flex;
    align-items: center;
	padding: 5px;
	border-radius: 2px;
	background-color: #FFFFFF;
	box-shadow: 0 1px 2px 0 rgba(121,121,121,0.5);
	color: #474747;
	font-family: "Gotham-Book";
	font-size: 12px;
}

#no-mic .label .material-icons, #no-send .label .material-icons, #no-delay .label .material-icons {
	font-size: 16px;
	opacity: 0.7;
	margin-right: 5px;
}

#no-mic .arrow-up, #no-send .arrow-up, #no-delay .arrow-up {
    border-left: 5px solid #fff0;
    width: 0;
    height: 0;
    border-right: 5px solid #fff0;
    border-bottom: 8px solid #FFF;
}

#no-sound .material-icons {
	font-size: 58px;
	margin-bottom: 30px;
}

#no-sound .text {
	position: relative;
	font-family: "Gotham-Book";
	text-align: center;
	font-size: 14px;
	margin-bottom: 10px;
}

#no-sound .text.bold {
	font-family: "Gotham-Medium";
}


/* Loader */

#send-loader-zone {
	display: flex;
    align-items: center;
}

.send-zone {
	margin-top: 10px;
	flex-basis: 50px;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

#send-loader {
    border: 2px solid #177df4;
    border-top: 2px solid #FFFFFF;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
}

#send-loader-text {
	color: white;
	font-size: 12px;
	margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Move Circle */
#move-circle, #move-circle2, #move-circle3 {
	background-color: white;
	width: 130px;
	height: 130px;
	border-radius: 100%;
	transition: transform .2s linear;
	opacity: 0.3;
}

.background-circle {
	background-color: #177df4;
	width: 125px;
	height: 125px;
	border-radius: 100%;
}

.backgroundify {
	position: relative;
	z-index: 0;
}

.forgroundify {
	position: relative;
	z-index: 1;
}

.index-2 {
	z-index: 2;
}

/* Version mobile */

@media only screen and (min-width: 300px) and (min-height: 500px) {

	.title {
		font-size: 20px;
	    overflow: hidden;
	    text-overflow: ellipsis;
	}

	.rec-button:hover {
		transform: scale(1.6);
	}

	.rec-button {
		transform: scale(1.5);
		margin-top: 50px;
	}

	#progressbar-container {
		transform: scale(1.6);
	}

	#progress-timer {
		transform: scale(1.6);
	}

	.background-circle {
		transform:scale(1.5);
	}

	.stop-button:hover {
		transform: scale(1.7);
	}

	.stop-button {
		transform: scale(1.6);
	}

	#play-preview:hover {
		transform: scale(1.7);
	}

	#play-preview {
		transform: scale(1.6);
	}

	#nickname {
		transform: scale(1.4);
		margin-top: 100px;
	}

	.action-button {
		transform: scale(1.3);
	}

	#send-record {
		margin-top: 20px;
	}

	#reset {
		margin-bottom: 30px;
	}

	#retry, #retry2 {
		transform: scale(1.5);
		margin-bottom: 30px;
	}

	#retry2 {
		margin-top: 20px;
	}

	.section-text {
		font-size: 17px;
	}

	.icon-zone {
		margin-top: 50px;
		transform: scale(1.5);
		margin-bottom: 50px;;
	}

	#no-sound .material-icons {
		transform: scale(1.4);
	}

	#no-sound .text {
		font-size: 20px;
		padding: 0 10px;
	}
}

/* A supprimer à la fin du développement */

.blue {
	background-color: blue;
}

.red {
	background-color: red;
}

.yellow {
	background-color: yellow;
}

.cyan {
	background-color: cyan;
}

.magenta {
	background-color: magenta;
}

.green {
	background-color: green;
}

.orange {
	background-color: orange;
}
