@import "reset.css";

html {
    box-sizing: border-box;
    font-family: 'Merriweather', serif;
}
*, *:before, *:after {
    box-sizing: inherit;
}

strong {
	font-weight: 700;
}

em {
	font-style: italic;
}

.uppercase {
	text-transform: uppercase;
}

.underline {
	text-decoration: underline;
}

.right {
	float: right;
}
.left {
	float: left;
}

.mt10 {
    margin-top: 10px;
}

.mt20 {
    margin-top: 20px;
}

html {
	background: #fff;
	color: #31393f;
	line-height: 1.2em;
	max-width: 400px;
	margin: auto;
}

body {
	background: dodgerblue;
    line-height: 1.2em;
	max-width: 400px;
}

h1 {
	color: #fff;
    line-height: 1.1em;
	font-size: 2em;
	font-weight: 700;
	text-align: center;
	margin: 20px 0;
}

h2 {
	color: darkblue;
	font-size: 1.2em;
	font-weight: 700;
	text-align: center;
	margin: 10px 0;
}

h3 {
	color: dodgerblue;
	font-size: 1.1em;
	font-weight: 700;
	text-align: center;
	margin: 5px 0;
}

h4 {
	font-weight: 700;
	margin: 10px 0 5px;
	text-align: left;
}

a {
	color: dodgerblue;
	text-decoration: none;
}

#header,
#footer {
	background-color: darkblue;
	color: #fff;
	overflow: hidden;
	padding: 20px;
}

#footer {
    color: dodgerblue;
    font-size: 0.8em;
}

#logo {
    height: 60px;
    margin-bottom: -16px;
    margin-top: -8px;
}

#connexion {
	margin: 3px 0;
}

#connexion a {
	color: dodgerblue;
	display: inline-block;
	font-size: 1.2em;
    margin: 4px 8px;
	text-align: center;
	transition: all 0.2s;
}

#connexion a.active,
#connexion a.focus,
#connexion a:hover {
    color: #fff;
	transition: all 0.2s;
}

#main {
	margin: 20px;
}

.contain {
	background: rgba(255,255,255,0.7);
	margin: 20px;
	overflow: hidden;
	padding: 20px;
	text-align: center;
}

.block {
    background: white;
    padding: 20px;
    margin: 20px;
}








/*************************************************
*                    CONNEXION                   *
*************************************************/

#formConnexion {
	font-size: 0.9em;
	margin: 20px;
	overflow: hidden;
	text-align: center;
}

#formConnexion #emailConnex,
#formConnexion #passwordConnex {
	margin: 5px 0;
	padding: 5px 10px;
	width: 100%;
}

#formConnexion #submitConnex {
	background: darkblue;
	border: none;
	border-radius: 2px;
	color: #fff;
	cursor: pointer;
	float: right;
	font-weight: 700;
	padding: 10px 20px;
	text-transform: uppercase;
	transition: all 0.3s;
}

#formConnexion #submitConnex:focus,
#formConnexion #submitConnex:hover {
	background: dodgerblue;
	transition: all 0.3s;
}

#formConnexion #ligneConnex {
	margin-top: 20px;
	overflow: hidden;
}

#formConnexion .error ul {
	color: #f00;
	margin: 0;
	padding: 10px 0;
	text-align: right;
	width: 100%;
}

#formConnexion .error ul li {
	margin: 0;
}



/*************************************************
*                    REGISTER                    *
*************************************************/

#creation .form {
	font-size: 0.9em;
	margin: 20px 10px 10px;
	overflow: hidden;
	text-align: center;
}

#creation .form input[type="text"],
#creation .form input[type="password"] {
	margin: 5px 0;
	padding: 5px 10px;
	width: 100%;
}

#creation .choice {
	display: inline-block;
	margin: 0 0 0 5px;
	width: 70%;
}
#creation #role,
#creation #group {
	margin: 5px 0;
	padding: 5px 10px;
	width: 100%;
}
#creation label.role,
#creation label.group {
	color: darkblue;
	display: inline-block;
    text-align: right;
	width: 100%;
}
#creation label.group .label {
    float: left;
    margin-top: 10px;
}

#formConnexion .forgotPassword,
#creation .editPassword {
	text-align: right;
}

#creation .form input[type="submit"] {
	background: darkblue;
	border: none;
	border-radius: 2px;
	color: #fff;
	cursor: pointer;
	float: right;
	font-weight: 700;
	padding: 10px 20px;
	text-transform: uppercase;
	transition: all 0.3s;
}

#creation .form input[type="submit"]:focus,
#creation .form input[type="submit"]:hover {
	background: dodgerblue;
	transition: all 0.3s;
}

#creation .form div.sub {
	overflow: hidden;
}

#creation .form .error ul {
	color: #f00;
	padding: 10px 0;
	text-align: right;
}





/*************************************************
*                      TEST                      *
*************************************************/

#launcher,
#mentalForm input[type=submit] {
	cursor: pointer;
}

#launcher,
#mentalForm .prev,
#mentalForm .next,
#mentalForm .submit,
#mentalForm input[type=submit] {
	background: darkblue;
	border: none;
	border-radius: 2px;
	color: #fff;
	font-family: "Times New Roman";
	font-size: 12px;
	font-weight: 700;
	margin: 20px auto 0;
	padding: 8px 12px;
	text-transform: uppercase;
	transition: all 0.3s;
	width: fit-content;
}

#launcher:active,
#launcher:focus,
#launcher:hover,
#mentalForm .prev:active,
#mentalForm .prev:focus,
#mentalForm .prev:hover,
#mentalForm .next:active,
#mentalForm .next:focus,
#mentalForm .next:hover,
#mentalForm .submit:active,
#mentalForm .submit:focus,
#mentalForm .submit:hover,
#mentalForm input[type=submit]:active
#mentalForm input[type=submit]:focus
#mentalForm input[type=submit]:hover  {
    background: dodgerblue;
    transition: all 0.3s;
}

#mentalForm .qbutton {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

#mentalForm .qbutton > div {
	opacity: 0.6;
}
#mentalForm .qbutton > div.prev {
	cursor: pointer;
	opacity: 1;
}

#mentalForm,
#mentalForm .question,
#mentalForm input[type=submit] {
	display: none;
}

#mentalForm .question.q-1 {
	display: block;
}

#mentalForm div {
	margin-bottom: 5px;
}

#mentalForm .question-timing {
	color: red;
	font-style: italic;
}

#mentalForm .question-title {
	color: darkblue;
	font-weight: 700;
	margin: 20px 0;
}

#mentalForm .answers {
	margin: auto;
	text-align: left;
	width: 230px;
}






/*************************************************
*                     RESULTS                    *
*************************************************/

.results {
	font-size: 0.9em;
	overflow: hidden;
}

.results .test-name {
	display: none;
}

.results p.mention {
	color: #F7464A;
	font-size: 0.9em;
	font-style: italic;
	margin-bottom: 5px;
}

.results .notes {
	margin-bottom: 10px;
}

.results .notesDetails li {
	text-align: left;
	margin-left: 20px;
	list-style: square;
}

.results .graph {
	background: #fff;
	border-radius: 5px;
	padding: 10px 5px;
	margin: 20px 0;
    max-width: 400px;
}

.alerts,
.positives {
	margin: 20px 0;
	text-align: left;
}

.alerts .alert,
.positives .positive {
	margin-bottom: 10px;
}


.alerts .alertTitle,
.positives .positiveTitle {
	color: darkblue;
	text-decoration: underline;
	margin-bottom: 5px;
}

.alerts .alertDetails li,
.positives .positiveDetails li {
	list-style: square;
	margin-left: 20px;
	margin-bottom: 5px;
}

.alerts .alertDetails .answer {
	color: #F7464A;
}

.positives .positiveDetails .answer {
	color: dodgerblue;
}

#athleteTitle {
    font-weight: 700;
    font-size: 1.2em;
    text-decoration: underline;
}

#coach,
#resultsByTest {
    text-align: left;
	line-height: 1.3em;
}

#coach .sstitle h3 {
	font-size: 0.8em;
}

.sstitle {
	margin-left: 20px;
}
.sstitle h3 {
	color: darkblue;
	display: inline;
	font-size: 1.2em;
}
.sstitle .showhide {
	color: darkblue;
	cursor: pointer;
}

#resultsByTest .sstitle {
	margin-left: 20px;
}
#resultsByTest .sstitle h4 {
	color: black;
	display: inline;
	font-size: 1em;
	text-decoration: underline;
}
#resultsByTest .sstitle .showhide {
	color: black;
	cursor: pointer;
}

#resultsByTest .test-result {
	overflow: hidden;
}

#coach a {
    display: block;
}

.loader {
	display: none;
    background-image: url("../img/loading.gif");
    height: 48px;
    width: 48px;
    position: absolute;
    left: 50%;
    margin-left: -24px;
}

.aPrint {
	background: darkblue;
	border: none;
	border-radius: 2px;
	color: #fff;
	cursor: pointer;
	display: block;
	float: right;
	font-weight: 700;
	margin: 20px 0;
	padding: 10px 20px;
	text-transform: uppercase;
	transition: all 0.3s;
}

.aPrint:focus,
.aPrint:hover {
	background: dodgerblue;
	transition: all 0.3s;
}

.print {
	display:none;
}


@media screen and (max-width: 400px) {
    .contain {
        margin: 0;
        padding: 20px;
    }
}

