/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* Webfont: Georgia */
@font-face {
    font-family: 'Exo';
    src: url('../fonts/Exo-BoldItalic.eot');
    src: url('../fonts/Exo-BoldItalic.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Exo-BoldItalic.woff2') format('woff2'),
    url('../fonts/Exo-BoldItalic.woff') format('woff'),
    url('../fonts/Exo-BoldItalic.ttf') format('truetype'),
    url('../fonts/Exo-BoldItalic.svg#Exo-BoldItalic') format('svg');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Exo';
    src: url('../fonts/Exo-Italic.eot');
    src: url('../fonts/Exo-Italic.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Exo-Italic.woff2') format('woff2'),
    url('../fonts/Exo-Italic.woff') format('woff'),
    url('../fonts/Exo-Italic.ttf') format('truetype'),
    url('../fonts/Exo-Italic.svg#Exo-Italic') format('svg');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Exo';
    src: url('../fonts/Exo-BlackItalic.eot');
    src: url('../fonts/Exo-BlackItalic.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Exo-BlackItalic.woff2') format('woff2'),
    url('../fonts/Exo-BlackItalic.woff') format('woff'),
    url('../fonts/Exo-BlackItalic.ttf') format('truetype'),
    url('../fonts/Exo-BlackItalic.svg#Exo-Italic') format('svg');
    font-weight: 900;
    font-style: italic;
}

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

a:hover {
    text-decoration: none;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/*
 * Place holder color
 */

::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color: red !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    text-align: center;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #ccf !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    opacity:  1;
}
*:-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #8A8C8E !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #8A8C8E !important;
    font-weight: 600 !important;
    font-size: 16px !important;
}

sup {
    top: -12px;
}
/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */
.w-60 {
    width: 60%;
}
.pl-200 {
    padding-left: 100px;
}
.pr-200 {
    padding-right: 100px;
}
.pb-200 {
    padding-bottom: 100px;
}
/* ==========================================================================
   Bootstrap's custom styles
   ========================================================================== */
.h2, h2 {
    font-size: 27px;
    font-weight: 700;
}
.form-control {
    font-size: 22px;
    border-radius: 35px;
    text-align: center;
    height: 60px;
}
.form-control:focus {
    border-color: black;
}
.form-group {
    margin-bottom: 45px;
    text-align: center;
}

.form-group.has-error {
    margin-bottom:20px;
}

label {
    font-size: 26px;
    text-transform: uppercase;
    font-weight: bold;
}

.btn {
    /* font-family: 'Source Sans Pro', sans-serif; */
    font-weight: bold;
    margin-top:20px;
    white-space: normal;
}
.btn-default {
    border: 3px solid white;
}
.btn-default:hover{
    border: 3px solid #fff;
}
.check-conditions {
    text-align: left;
}

input[type=checkbox], input[type=radio] {
    transform: scale(2);
    margin-right: 25px;
}
.checkbox label a, .radio label a {
    color: #000;
    text-decoration: underline;
}

.alert-danger {
    background-color: transparent;
    border-color: transparent;
    margin: 0;
}
.help-block {
    font-size: 17px;
    color: #cc2727;
}
/* ==========================================================================
   DransEnergie
   ========================================================================== */

html,
body {
    height: 100%;
    padding: 0;
    margin: 0;
    font-family: 'Exo', sans-serif;
    background: #00bdca;
}

.flex-container {
    background: url("./../images/background.svg") no-repeat center center #34c6cd;
    height: 1024px;
    width: 768px;
    position:relative;
    margin: 0 auto;
    background-size: 100% auto;
}
#header-rounded {
    height: 321px;
    margin-bottom: -45px;
    background: url("./../images/top-demi-rond.svg") no-repeat center center transparent;
    background-size: 100% auto;
    display: block;
}

#inner {
    height: 703px;
}
#btn-play {
    background: url(./../images/bouton.svg) no-repeat center center transparent;
    width: 230px;
    height: 230px;
    border: none;
    margin-top: -50px;
    font-size: 30px;
    padding: 47px;
    line-height: 30px;
    font-weight: bold;
    font-style: italic;
    color: #00b1bb;
    text-transform: uppercase;
    background-size: 100% auto;
}
#btn-play:focus {
    outline:none;
}
#btn-play:hover {
    cursor: pointer;
}
#round {
    background: url("./../images/rond.svg") no-repeat center center transparent;
    width: 669px;
    height: 669px;
    background-size: 100% auto;
}
#round img {
    height: 157px;
}

.check-conditions {
    color: #000000;
    font-size: 15px;
    font-style: italic;
    font-weight: normal;
}
#question {
    font-size: 32px;
    line-height: 45px;
    margin-bottom: 30px;
    font-weight: bold;
}
.answers button {
    background: #fff;
    border-radius: 40px;
    width: 100%;
    margin-bottom: 20px;
    font-size: 22px;
    font-style: italic;
    padding: 20px;
    line-height: 22px;
}
.answers button:hover {
    background: #3bc9cf;
}

#result-text {
    font-size: 50px;
    margin-top: 25px;
    text-transform: uppercase;
    color: #00b1bb;
    font-style: italic;
    font-weight: bold;
}

#result-text span {
    font-size: 15px;
    display: block;
    margin-top: 20px;
    padding: 0 185px;
}

#default-top {
    position: absolute;
    top: 15px;
    right: 0;
    left: 0;
    color: #ffffff;
    padding: 20px 65px;
    font-size: 60px;
    text-align: center;
    font-style: italic;
    font-weight: bold;
    text-transform: uppercase;
}
#default-top span {
    font-size: 30px;
    display: block;
    line-height: 37px;
}
#default-top span.small {
    font-size: 15px;
    display: block;
}
#default-bottom {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    color: #ffffff;
    padding: 45px 65px;
    font-size: 60px;
    text-align: center;
    font-style: italic;
    font-weight: bold;
    text-transform: uppercase;
}
#default-bottom span {
    font-size: 30px;
    display: block;
    line-height: 37px;
}
#default-bottom span.small {
    font-size: 15px;
    display: block;
}