/*! 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
   ========================================================================== */
@font-face {
    font-family: 'apashyregular';
    src: url('../fonts/apashy-regular-webfont.woff2') format('woff2'),
    url('../fonts/apashy-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
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: #B2B2B2 !important;
    font-weight: 700 !important;
    font-size: 23px !important;
    text-align: center;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #B2B2B2 !important;
    font-weight: 700 !important;
    font-size: 23px !important;
    opacity:  1;
}
*:-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #B2B2B2 !important;
    font-weight: 700 !important;
    font-size: 23px !important;
    opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #B2B2B2 !important;
    font-weight: 700 !important;
    font-size: 23px !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 {
    font-size: 23px;
    border-radius: 0;
    border: 1px solid #B2B2B2;
    height: 50px;
    font-weight: 700;
    text-align: center;
    color: #666666;
}
.form-control:focus {
    border-color: black;
}
.form-group {
    margin-bottom: 5px;
}

.btn {
    font-family: 'apashyregular';
    margin-top:20px;
}
.btn-default {
    border: 3px solid white;
}
.btn-default:hover{
    border: 3px double white;
}
.btn {
    border-radius: 0px;
    margin-bottom: 30px;
    padding: 7px 30px 7px 30px;
    background-color: #FFFFFF;
    color: #543828;
    font-family: 'apashyregular';
    font-size: 53px;
    border:0;
    overflow: hidden;
    position: relative;
    z-index: 1;
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
    -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    display: inline-block;
}
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 150%;
    height: 100%;
    background: #543828;
    z-index: -1;
    -webkit-transform: rotate3d(0, 0, 1, -45deg) translate3d(0, -3em, 0);
    transform: rotate3d(0, 0, 1, -45deg) translate3d(0, -3em, 0);
    -webkit-transform-origin: 0% 100%;
    transform-origin: 0% 100%;
    -webkit-transition: -webkit-transform 0.3s, opacity 0.3s, background-color 0.3s;
    transition: transform 0.3s, opacity 0.3s, background-color 0.3s;
}
.btn:hover,
.btn:focus,
.btn.focus {
    color: #FFFFFF;
    border-color: #FFFFFF;
}
.btn:hover::before {
    opacity: 1;
    background-color: #543828;
    -webkit-transform: rotate3d(0, 0, 1, 0deg);
    transform: rotate3d(0, 0, 1, 0deg);
    -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}
.checkbox label, .radio label {
    color: #543828;
}
.check-conditions {
    text-align: left;
}
.checkbox label a, .radio label a {
    color: #543828;
    text-decoration: underline;
}

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

html {
    height: 100%;
}
body {
    background-color: #DBF1FF;
    font-family: 'Open Sans', sans-serif;
}
.main-content-container {
    min-height: 100%;
    margin-bottom: -30px;
    position: relative;
}
h1,
.h1 {
    font-size: 50px;
    font-family: 'apashyregular';
}
h2,
.h2 {
    font-size: 32px;
}

.display-block {
    display: block;
}
.display-inline-block {
    display: inline-block;
}
.separator {
    max-width: 240px;
    border-color: #be2828;
    margin-top: 5px;
    margin-bottom: 5px;
}

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

.bgverbier {
    min-height: 100%;
}

.background-gradient {
}

.prices-header {
    background-color: #543828;
}
.prices-header span {
    font-size: 82px;
    background-color: #543828;
    font-family: 'apashyregular';
    color: #FFFFFF;
    display: block;
    padding-top: 30px;
}
.prices-header img {
    width: 100%;
    display: inline-block;
    margin-top: -75px;
    -ms-transform: scale(1.01,1); /* IE 9 */
    -webkit-transform: scale(1.01,1); /* Chrome, Safari, Opera */
    transform: scale(1.01,1);
}
.prices-box {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#7b2014+0,ce2e26+50 */
    background: rgb(123,32,20); /* Old browsers */
    background: -moz-linear-gradient(left,  rgba(123,32,20,1) 0%, rgba(206,46,38,1) 50%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left,  rgba(123,32,20,1) 0%,rgba(206,46,38,1) 50%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right,  rgba(123,32,20,1) 0%,rgba(206,46,38,1) 50%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7b2014', endColorstr='#ce2e26',GradientType=1 ); /* IE6-9 */
    padding-top: 25px;
    padding-bottom: 3%;
}
.prices-box .price-1,
.prices-box .price-2,
.prices-box .price-3 {
    width: 243px;
    height: 123px;
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
}
.prices-box .price-1 {
    background: url("../images/prix1.svg") scroll no-repeat left center transparent;
}
.prices-box .price-2 {
    background: url("../images/prix2.svg") scroll no-repeat left center transparent;
    width: 265px;
}
.prices-box .price-3 {
    background: url("../images/prix3.svg") scroll no-repeat left center transparent;
    width: 206px;
}
@media (max-width: 991px) {
    .prices-header {
        background-color: transparent;
        margin-top: 0px;
    }
    .prices-box {
        margin-top: -13%;
        padding-top: 50px;
    }
    .prices-box .price-1 {
        display: block;
    }
    .prices-box .price-1,
    .prices-box .price-2,
    .prices-box .price-3 {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Website header
.inscription {
}*/
.st-barry {
    background: url("../images/st-bernard.png") scroll no-repeat 30% 25px transparent;
    max-height: 568px;
    min-height: 500px;
    padding-top: 70%;
    padding-bottom: 70%;
    position: relative;
    z-index: -1;
}
@media (max-width: 500px) {
    .st-barry {
        padding-top: 100%;
        padding-bottom: 100%;
        min-height: inherit;
        background-size: 150%;
    }
}
.inscription .bgverbier{
    height: auto !important;
    margin: 0 auto ;
    min-height: 100%;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+50,ffffff+60&0+0,0+50,1+60 */
    background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(255,255,255,0) 35%, rgba(255,255,255,1) 43%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,0) 35%,rgba(255,255,255,1) 43%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,0) 35%,rgba(255,255,255,1) 43%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}
@media (max-width: 991px) {
    .inscription .bgverbier{
        height: auto !important;
        margin: 0 auto ;
        min-height: 100%;
        /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+50,ffffff+60&0+0,0+50,1+60 */
        background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(255,255,255,0) 40%, rgba(255,255,255,1) 50%); /* FF3.6-15 */
        background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,0) 40%,rgba(255,255,255,1) 50%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,0) 40%,rgba(255,255,255,1) 50%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
    }
}
#header-main {
}

#header-main .logoheader {
    padding-bottom: 10px;
    padding-top: 20px;
}
#header-main .logoheader .logos {
    margin-top: 30px;
}
@media screen and (max-width: 1199px){
    #header-main .logoheader p {

    }
}
@media (max-width: 991px) {
    #header-main .logoheader .logos {
        margin-top: 0px;
    }
}
img#main-logo {
    margin-bottom: 25px;
}
@media (max-width: 991px) {
    #header-main {
    }
}
@media (max-width: 500px){
    img#main-logo {
        margin-bottom: 25px;
    }
}

/* Main content area */
#content {
}
@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;
}

#content-main h1 {
    font-weight: bold;
    font-size: 32px;
}
.quiz #content-main p,
.quiz #content-main h1,
.quiz #content-main h2 {
}
.quiz #content-main p {
    font-size: 20px;
    font-weight: 600;
}
.result #content-main p {
    font-size: 20px;
    font-weight: 700;
}
#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-top: 100px;
}
.inscription .prix {
    margin-top: 50px;
}
@media (max-width: 991px) {
    .prix,
    .inscription .prix {
        margin-top: 20px;
    }
}
.prix img {
    margin: 0 auto;
}
.text-uppercase {
    text-transform: uppercase;
}
.formulaire #logo {
    position: relative;
    z-index: 2;
    margin: 0 auto;
}
.register-box {
    background-color: transparent;
    max-width: 420px;
    position: relative;
    margin: 0 auto;
}
.register-box .form-group {
    margin: 4px auto;
    width: 85%;
}
.register-box .connect-btn {
    max-width: 302px;
    margin: 0 auto 20px auto;
    cursor: pointer;
}
.register-box #or {
    font-size: 36px;
    text-transform: uppercase;
    color: #543828;
    font-family: 'apashyregular';
}
.register-box button[type="submit"] {
    border-radius: 0px;
    margin-bottom: 30px;
    padding: 7px 50px 7px 50px;
    background-color: #D02E26;
    color: #fff;
    font-family: 'apashyregular';
    font-size: 53px;
    border:0;
    overflow: hidden;
    position: relative;
    z-index: 1;
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
    -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}
.register-box button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 150%;
    height: 100%;
    background: #D02E26;
    z-index: -1;
    -webkit-transform: rotate3d(0, 0, 1, -45deg) translate3d(0, -3em, 0);
    transform: rotate3d(0, 0, 1, -45deg) translate3d(0, -3em, 0);
    -webkit-transform-origin: 0% 100%;
    transform-origin: 0% 100%;
    -webkit-transition: -webkit-transform 0.3s, opacity 0.3s, background-color 0.3s;
    transition: transform 0.3s, opacity 0.3s, background-color 0.3s;
}
.register-box button:hover,
.register-box button:focus,
.register-box button.focus {
    color: #D02E26;
    border-color: #D02E26;
}
.register-box button:hover::before {
    opacity: 1;
    background-color: #fff;
    -webkit-transform: rotate3d(0, 0, 1, 0deg);
    transform: rotate3d(0, 0, 1, 0deg);
    -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}
.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;
}
.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 */

.results-header {
    background-color: #543828;
}
.results-header span {
    font-size: 82px;
    background-color: #543828;
    font-family: 'apashyregular';
    color: #FFFFFF;
    display: block;
    padding-top: 30px;
}
.results-header img {
    width: 100%;
    display: inline-block;
    margin-top: -75px;
    -ms-transform: scale(1.01,1); /* IE 9 */
    -webkit-transform: scale(1.01,1); /* Chrome, Safari, Opera */
    transform: scale(1.01,1);
}
.results-box {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#7b2014+0,ce2e26+50 */
    background: rgb(123,32,20); /* Old browsers */
    background: -moz-linear-gradient(left,  rgba(123,32,20,1) 0%, rgba(206,46,38,1) 50%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left,  rgba(123,32,20,1) 0%,rgba(206,46,38,1) 50%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right,  rgba(123,32,20,1) 0%,rgba(206,46,38,1) 50%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7b2014', endColorstr='#ce2e26',GradientType=1 ); /* IE6-9 */
    padding-top: 25px;
    color: #FFFFFF;
    font-size: 21px;
    padding-bottom: 30px;
}
.results-box h2 {
    margin-top: 0;
    font-weight: bold;
}
@media (max-width: 991px) {
    .results-header {
        background-color: transparent;
        margin-top: 0px;
    }
    .results-box {
        margin-top: -15%;
        padding-top: 30px;
    }
}

/* Site footer */
.footer-main {
    width: 100%;
    height:40px;
    background-color: #333333;
    padding-top: 10px;
}
.inscription .footer-main {
}
.footer-main ul {
    margin: 0;
}
.footer-main ul li{
    list-style: none;
    border-right: 1px solid #fff;
    padding-right: 9px;
}
.footer-main ul li:last-child{
    border: none;
}
.footer-main ul li:after {
}
.footer-main ul li:last-child:after {
    content: "";
}
.footer-main ul a {
    color: #FFFFFF;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    font-size: 14px;
    text-decoration: none;
}

/* Gratter */

body.quiz form button {
}
#btn-category {
    padding: 25px 15px 20px 30px;
    background-color: #0d9bd7;
    border-radius: 7px;
    font-size: 23px;
    text-transform: uppercase;
    font-style: normal;
}
body.quiz h1 {
}
/* modals */
.modal-content {
    border: #601414 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: #be2828;
}
.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: #be2828;
    text-transform: uppercase;
}
.modal-header .close {
    font-size: 50px;
}
.need-help {
    padding-left: 41px !important;
    background: url('./../images/question-mark.png') no-repeat 12px center transparent;
    margin-top: 50px !important;
}

/* Category event */
html.category-event {
    background-image: url("../images/backgrounds/sport.jpg");
}
body.quiz.category-event #quiz-logo {
    background: url("../images/logo-quiz-questions.png") no-repeat center center transparent;
}
body.quiz.category-event form input {
    color: #0d9bd7;
    font-size: 16px;
    font-weight: 600;
}

/* ==========================================================================
   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;
    }
}