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


/*! 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: 'Georgia';
    src: url('../fonts/GeorgiaBoldItalic.ttf');
    src: url('../fonts/GeorgiaBoldItalic.eot?#iefix') format('embedded-opentype'),
    url('../fonts/GeorgiaBoldItalic.woff') format('woff'),
    url('../fonts/GeorgiaBoldItalic.ttf') format('truetype');
    url('../fonts/GeorgiaBoldItalic.svg#Georgia-Bold-Italic') format('svg'),
    font-style: italic;
    font-weight: bold;
}
*/
/* ==========================================================================
   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;
}

/*
 * 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: #001f55 !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    text-align: center;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #001f55 !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    opacity:  1;
}
*:-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #001f55 !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #001f55 !important;
    font-weight: 600 !important;
    font-size: 16px !important;
}
/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Bootstrap's custom styles
   ========================================================================== */
.h2, h2 {
    font-size: 27px;
    font-weight: 700;
}
.form-control {
    height: 40px;
    padding: 0 10px;
    border: 3px solid #001f55;
    background-color: #ececec;
    text-align: center;
    font-size: 16px;
    color: #001f55;
    font-weight: 700;
}
.form-control:focus {
    border-color: black;
}
.form-group {
    margin-bottom: 5px;
}

.btn {
    /* font-family: 'Source Sans Pro', sans-serif; */
    font-weight: bold;
    margin-top:20px;
}
.btn-default {
    border: 3px solid white;
}
.btn-default:hover{
    border: 3px double white;
}
.checkbox label, .radio label {
    color: #001f55;
}
.check-conditions {
    text-align: left;
}
.checkbox label a, .radio label a {
    color: #001f55;
    text-decoration: underline;
}

.alert-danger {
    color: #a94442;
    background-color: transparent;
    border-color: transparent;
    margin-bottom: 0;
}

/* ==========================================================================
   PLR custom styles
   ========================================================================== */

html {
    position: relative;
    height: 100%;
    min-height: 100%;
    background: url('./../images/bg.jpg') no-repeat top center #000;
    background-size: inherit;
}
body {
    background-color: transparent;
    font-family: 'Source Sans Pro', sans-serif;
    height: 100%;
}
.main-content-container {
    min-height: 100%;
    margin-bottom: -30px;
    position: relative;
}
h1, h2, h3 {
}
.btn-brown, .btn-red, .btn-blue {
    color: #fff;
}
.btn-brown {
    background-color: #382517;
}
.btn-brown:hover {
    background: #383127;
    color: #fff;
}
.btn-red {
    background: #d93832;
}
.btn-red:hover {
    background: #d95951;
    color: #fff;
}
.btn-blue {
    /* background: #0D9BD7; */
}
.btn-blue:hover {
    background: rgba(13, 155, 215, 0.8);
    color: #fff;
}
.btn-dark-blue {
    background: rgb(33, 80, 156);
    color: #fff;
}
.btn-dark-blue:hover {
    background: rgba(33, 80, 156, 0.8);
    color: #fff;
}
.btn-white {
    background: #fff;
}
.btn-white:hover {
    background: rgba(255, 255, 255, 0.8);
}
.btn-lg {
    font-size: 26px;
}
.display-block {
    display: block;
}
.separator {
    max-width: 240px;
    border-color: #be2828;
    margin-top: 5px;
    margin-bottom: 5px;
}

body.quiz form button {
    background: transparent;
    width: 70%;
    text-align: center;
    margin-top: 11px;
    border-radius: 0;
    white-space: normal;
    line-height: 18px;
}


/* admin */
.connexion-admin #header-main {
    display: none;
}
.connexion-admin #content {
    margin-top: 0;
}
.connexion-admin #content-main .panel.panel-rand-festivadefault {
    margin-top: 40px;
}
.connexion-admin .prix {
    display: none;
}

/* Website header */
header#header-main {
    background: #fff;
    height: 75px;
    overflow: hidden;
    position:absolute;
    left:0;
    right:0;
    z-index: 1000;
}

header#header-main .header-logo img {
    display: inline-block;
    padding: 5px 0;
}
header#header-main .header-matmatah {
    padding: 16px 0;
    margin: 0 auto;
}
header#header-main .header-nav {
    padding: 5px 0 5px 0;
}
header#header-main .header-nav li {
    line-height: 20px;
}
header#header-main .header-nav li {
    background: url('../images/nav-divider.png') no-repeat 0 0 transparent;
    line-height: 49px;
    margin-right: 25px;
    padding-left: 25px;
}

@media (max-width: 768px) {
    header#header-main .header-nav li {
        background: none;
    }
}

header#header-main .header-nav li:first-child {
    background: none;
}
header#header-main .header-nav li:last-child {
    margin-right:0;
}
header#header-main .header-nav a {
    font-size: 23px;
    font-family: "AgencyFB-Bold", sans-serif;
    color: #001f55;
}

main {
    min-height: 100%;
}

.quiz #content-main {
    padding: 0 20px 40px 20px;
    margin-top: 225px;
}

.mejs__container {
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.4);
}

.mejs__time-current {
    background: #00a9e8;
}
.quiz #content-main h1 {
    font-weight: bold;
    font-size: 40px;
    padding-bottom: 15px;
    color: #fff;
    text-transform: uppercase;
    font-family: 'Source Sans Pro', sans-serif;
    background: url('../images/title-divider.png') no-repeat bottom center transparent;
    margin-bottom: 30px;
}

.questions .btn {
    border:3px solid #fff;
    font-style: normal;
    color: #fff;
    font-size: 23px;
    padding: 10px 0;
    position: relative;
    width: 100%;
    text-transform: uppercase;
    font-family:'AgencyFB-Bold', sans-serif;
}
.questions .btn:hover,
.questions .btn:focus {
    border-color: #abdaf5;
    background: transparent;
    box-shadow: 0 0 15px #abdaf5;
}
#aside-right img {
    margin-top: 270px;
}

@media (max-width: 992px) {
    #aside-right img {
        margin-top: 0;
        margin-bottom: 55px;
    }
}

.btn-register {

}
















#header-main .header-nav {
    padding: 20px 0 10px 0;
    text-align: right;
}
@media (max-width: 991px) {
    #header-main .header-nav {
        text-align: center;
    }
}
#header-main .header-nav ul {
    margin: 0;
    display: inline-block;
}
#header-main .logo img {
    z-index: 1000;
    position: relative;
    padding: 16px 0px;
}
#header-main .logo li {
    padding: 0;
}
#header-main .btn-website a {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    font-style: normal;
    color: #000000;
    z-index: 500;
    position: relative;
}
/* Main content area */
#content {
    margin-top: -40px;
}
@media (max-width: 991px) {
    #content {
        margin-top: 10px;
    }
}
/* Main quiz content area */
.quiz .logo-box {
    background-color: #FFFFFF;
    border-right: 1px solid #000000;
    border-bottom: 1px solid #000000;
    border-left: 1px solid #000000;
    padding-top: 40px;
    padding-bottom: 20px;
    text-align: center;
    margin-top: -30px;
}
#content-main {
    background: rgba(255, 255, 255, 0);
    position: relative;
    padding: 0;
}
.inscription #content-main {
    margin-top: 320px;
}
@media (max-width: 992px) {
    .inscription #content-main {
        margin-top: 120px;
    }
}
.inscription #content-main h1 {
    color: #fff;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 50px;
}
.inscription #content-main h2 {
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 30px;
}

.result #content-main {
    border: none;
    background-color: transparent;
    padding: 0 0 40px 0;
    margin-top: 180px;
}
.result #content-main h2 {
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 43px;
}
.result .result-email {
    background: #fff;
    color: #001f55 !important;
    padding: 5px 10px;
    margin-top: 40px;
    font-size: 15px !important;
}
.quiz #content-main p,
.quiz #content-main h1,
.quiz #content-main h2 {
    color: #fff;
}
.quiz #content-main p {
    font-size: 20px;
    font-weight: 600;
}
.result .result-text span {
    display: block;
    font-size: 35px;
}
.result #content-main p {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}
#content-main .sub-title {
    font-weight: bold;
    font-size: 23px;
    margin: 3px 0;
    line-height: 1.1;
}
#content-main .sub-title-size-20 {
    font-size: 20px;
}
#content-main .sub-title-size-26 {
    font-size: 26px;
}
#content-main .sub-title-size-32 {
    font-size: 32px;
}
#content-main .sub-title-size-36 {
    font-size: 36px;
}
.result #content-main .email-gain {
    background-color: #FFFFFF;
    border: 1px solid #BE2828;
    color: #BE2828;
    font-size: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 40px;
    text-transform: initial;
    font-weight: 600;
    max-width: 350px;
    margin-right: auto;
    margin-left: auto;
}
.inscription #content-main img {
    margin-bottom: 20px;
}
.prix {
    margin: 0 auto;
    margin-top: -95px;
}
.inscription .prix {
    margin-top: 350px;
}
@media (max-width: 991px) {
    .prix,
    .inscription .prix {
        margin-top: 20px;
    }
}
.prix img {
    margin: 0 auto;
}
.text-uppercase {
    text-transform: uppercase;
}
.register-box {
    margin-top: 140px;
    background: rgba(255, 255, 255, 0.6);
    padding: 20px;
    text-align: center;
    border: 1px solid #000000;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}
.register-box img {
    margin-bottom: 20px;
}
.register-box #logo {
    position: relative;
    margin-bottom: 15px;
}
.register-box .connect-btn {
    margin: 0 auto;
}
.register-box #or {
    font-size: 25px;
    text-transform: uppercase;
    color: #001f55;
}
.register-box button[type="submit"] {
    background: url('../images/btn-play.png') no-repeat center center transparent;
    margin-top: 20px;
    height: 65px;
    width:65px;
    border: 0;
    display: inline-block;
    text-indent: -9999px;
}
.register-box button[type="submit"]:hover {
    background: url('../images/btn-play-hover.png') no-repeat center center transparent;
}
.register-box .btn-default.focus,
.register-box .btn-default:focus {
    color: #FFFFFF;
}
.question-category-box {
    margin-top: 113px;
    background: rgba(255, 255, 255, 1);
    padding: 20px 30px;
    border-radius: 25px;
}
@media (max-width: 991px) {
    .question-category-box {
        display:none;
    }
}
.question-category-box .category-question-number {
    font-size: 30px;
    color: #21509c;
    text-transform: uppercase;
    font-weight: 700;
}
.question-category-box .category-name {
    font-size: 43px;
    color: #21509c;
    text-transform: uppercase;
    font-weight: 700;
}
@media (max-width: 992px) {
    .register-box {
        margin: 60px auto;
        border-radius: 0;
    }
}
.help {
    border: 2px white solid;
    padding: 15px;
    color: white;
    font-size: 1.1em;
    width: 132px;
    height: 132px;
    margin: 10px auto;
    cursor: pointer;
    margin-bottom: 45px;
}
.help p {
    margin: 10px 0 0 0;
    text-transform: uppercase;
    font-weight: bold;
}
/* Results */
.circle-result {
    width: 170px;
    height: 170px;
    position: relative;
    background: url('../images/scores.png') scroll center center transparent no-repeat;
    margin: 20px auto;
    line-height: 1.9;
}
.circle-result span {
    color: #001f55;
    font-size: 38px;
    font-weight: 900;
}
.result .score-max {
    font-size: 80px;
    margin-right: 10px;
}
.result .score-total {
}
.result .score-total:before {
    content: "/";
    font-size: 38px;
    font-weight: 900;

}
.result .line2 {
    width: 60%;
    height: 60%;
    border-bottom: 1px solid #be2828;
    -webkit-transform: translateY(0px) translateX(0px) rotate(-45deg);
    position: absolute;
    top: 0px;
    left: 0px;
}
.result-date {
    display: block;
    font-size: 14px;
    margin-top: 35px;
    width: 100%;
    color: #21509c;
    border-radius: 25px;
    white-space: normal;
}
.result-date:hover {
    background: #fff !important;
    cursor: default;
    color: #21509c;
}

.result-left {
    margin-top: 267px;
}

/* Site footer */
.footer-main {
    margin-top: -33px;
    bottom: 1px;
    width: 100%;
    z-index: 0;
    background-size: cover;
}
.quiz .footer-main {
    display: none;
}

.footer-main ul {
    margin: 0;
}
.list-inline > li {
    padding-right: 0;
    padding-top: 6px;
    padding-bottom: 6px;
}
.footer-main ul li:after {
    content: "/";
    margin-left: 5px;
    color: #FFFFFF;
}
.footer-main ul li:last-child:after {
    content: "";
}
.footer-main ul a {
    color: white;
    font-size: 13px;
}

/* modals */
.modal-content {
    border: #21509c 3px solid;
    overflow: hidden;
}
.modal-body {
    text-align: left;
    font-size: 16px;
    color: #000;
    font-weight:400;
    padding: 0 15px 15px;
}
.modal-body h2 {
    font-weight: 700;
    font-size: 30px;
    color: #21509c;
}
.modal-body a {
    color: black;
}
.quiz #content-main .modal-body p {
    color: black;
}
.modal-header {
    text-align: center;
    border-bottom: 0;
}
h3.modal-title {
    font-weight: 700;
    line-height: 50px;
    font-size: 50px;
}
h4.modal-title {
    font-weight: 700;
    line-height: 50px;
    font-size: 30px;
}
.modal-title {
    color: #21509c;
    text-transform: uppercase;
}
.modal-header .close {
    font-size: 50px;
}

#bars {
    display:none;
    height: 49px;
    left: 0;
    right: 0;
    position: relative;
    bottom: 0;
    overflow-x: hidden;
    margin-top: -49px;
}


.bar, .bar_30 {
    background: #c2e2f5;
    bottom: 1px;
    height: 3px;
    position: absolute;
    width: 3px;
}
.bar {
    animation: sound 0ms -800ms linear infinite alternate;
}

.bar_30 {
    animation: sound 0ms -800ms linear infinite alternate;
}

@keyframes sound {
    0% {
        opacity: .35;
        height: 3px;
    }
    100% {
        opacity: 1;
        height: 48px;
    }
}

@keyframes sound_30 {
    0% {
        opacity: .35;
        height: 3px;
    }
    100% {
        opacity: 1;
        height: 30px;
    }
}




/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}