/* ****************** */
/*        BODY        */
/* ****************** */
body {
    margin: 0;
}

body.responsive {
    max-width: 810px;
    margin-left: auto;
    margin-right: auto;
}

body.wysihtml5-editor {
    padding: 0;
}

body.no-margin {

}

body.no-margin .container {
    width: 100%;
}

body.fixed {
    width: 810px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

body.fixed .container {
    width: 810px;
}

body.mobile {
    width: 480px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

body.mobile .container {
    width: 480px;
}

body.freestyle {
    padding: 0;
}

/* ****************** */
/*       GENERAL      */
/* ****************** */
.center {
    text-align: center;
}

.right {
    float: right;
}

.full-width {
    width: 100%;
}

ul.horizontal li {
    display: inline-block;
}

.wysiwyg-text-align-left{
    text-align: left;
}

.wysiwyg-text-align-center {
    text-align: center;
}

.wysiwyg-text-align-right {
    text-align: right;
}

/* ****************** */
/*     PAGE HEADER    */
/* ****************** */
#page_header {
    position: relative;
    width: 100%;
    max-width: 810px;
    min-height: 40px;
    margin: 10px auto 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #EEE;
    vertical-align: middle;
    word-wrap: break-word;
}

#page_header .picture {
    position: absolute;
    left: 0;
    width: 30px;
}

#page_header .picture img {
    max-width: 30px;
    max-height: 30px;
}

#page_header .like {
    position: absolute;
    right: 0;
    top: 5px;
    width: 100px;
}

#page_header h1 {
    font-size: 20px;
    line-height: 25px;
    margin: 0 110px 0 40px;
}

/* ****************** */
/*      APP HEADER    */
/* ****************** */
#app_header {
    max-width: 810px;
    text-align: center;
    margin: 0 auto;
}

/* ****************** */
/*     APP WRAPPER    */
/* ****************** */
#app_wrapper {
    position: relative;
    padding-bottom: 20px;
    max-width: 810px;
}

#app_wrapper > .row-fluid {
    margin-top: 20px;
}

body.fixed #app_wrapper,
body.mobile #app_wrapper,
body.freestyle #app_wrapper {
    padding-bottom: 0;
}

body.fixed #app_wrapper > .row-fluid:first-child,
body.mobile #app_wrapper > .row-fluid:first-child,
body.freestyle #app_wrapper > .row-fluid:first-child {
    margin-top: 0;
}

#app_wrapper > .row-fluid.not-spaced {
    margin-top: 0 !important;
}

#app_wrapper > .row-fluid.spaced {
    margin-top: 20px !important;
}

/* ****************** */
/*      APP FOOTER    */
/* ****************** */
#app_footer {
    position: relative;
    border-top: 1px #FFFFFF solid;
    width: 100%;
    margin: 0 auto;
    max-width: 810px;
    font-style: italic;
    font-size: 75%;
    line-height: 13px;
    margin-top: 10px;

    /* Overrides custom themes */
    /*background-color: #FFFFFF !important;*/
    /*color: #404040 !important;*/
}

#app_footer .wrapper {
    border-top: 1px #BFBFBF solid;
    padding: 5px;
    /*margin-top: 10px;*/
}

#app_footer a {
/*    color: #0088cc !important;*/
}

#app_footer a:hover, #app_footer a:active {
    /*color: #005580 !important;*/
}

#app_footer .disclaimer {

}

#app_footer .logo {
    float: right;
    padding: 5px;
}

/* ****************** */
/*      AUTH FORM     */
/* ****************** */
#auth-form {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.controls .radio_list, .controls .checkbox_list {
    list-style: none;
}

.controls .radio_list input, .controls .checkbox_list input {
    margin-top: 0;
}

.controls .radio_list label, .controls .checkbox_list label {
    display: inline-block;
}

select.date {
    width: auto;
}

/* ******************* */
/* MERCIALYS AUTH FORM */
/* ******************* */
.mercialys-connect {
    display: none;

    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    overflow-y: scroll;

    z-index: 9999;
}

.mercialys-connect.mercialys-connect--open {
    display: block;
}

.mercialys-connect__overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    background-color: #2c2c2c;

    /* IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    /* IE 5-7 */
    filter: alpha(opacity=50);
    /* Netscape */
    -moz-opacity: 0.5;
    /* Safari 1.x */
    -khtml-opacity: 0.5;
    /* Good browsers */
    opacity: 0.5;
}

.mercialys-connect__popup {
    position: absolute;

    top: 70px;
    left: 10%;
    width: 80%;

    margin-bottom: 50px;
    padding: 24px 0;

    background-color: #ffffff;
    border: 1px solid #2c2c2c;
}

.mercialys-connect__signup, .mercialys-connect__signin {
    width: 40%;
    padding: 0 5%;
    display: inline-block;

    vertical-align: top;
}

.mercialys-connect__signin {
}

.mercialys-connect__signup {
}

.mercialys-connect__close {
    display: block;
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
}

@media(max-width: 600px) {

    .mercialys-connect__signup, .mercialys-connect__signin {
        width: 90%;
        padding: 0 5%;
        display: block;
    }

    .mercialys-connect__signup {
        margin-top: 40px;
        border-left: none;
    }

    .mercialys-connect__popup .full-width {
        width: 90% !important;
    }

}


/* ****************** */
/*      NO SCRIPT     */
/* ****************** */
#noscript-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    opacity: 0.8;
    z-index: 9999;
}

#noscript-box {
    position: fixed;
    top: 30%;
    left: 50%;
    background-color: rgb(255, 191, 191);
    border: 1px solid rgb(210, 93, 88);
    width: 300px;
    margin-left: -150px;
    padding: 11px 15px;
    line-height: 1.3;
    color: #FF0000;
    text-shadow: 0 1px 0 rgb(255, 255, 255);
    font-size: 12px;
    text-align: center;
    border-radius: 4px;
    z-index: 9999;
}

/* ****************** */
/*       BUTTONS      */
/* ****************** */
.btn-fb {
    display: inline-block;
    padding-left: 40px;
    height: 42px;
    background: transparent url("/images/fb-btn-l.png") no-repeat;
    vertical-align: top;
    color: #fff;
    font-weight: bold;
    margin-top: 10px;
}

.btn-fb:hover {
    color: #fff;
}

.btn-fb > span:first-child {
    display: block;
    float: left;
    height: 18px;
    background: transparent url("/images/fb-btn-bg.png") repeat-x;
    padding: 12px 10px;
}

.btn-fb:hover > span:first-child {
    text-decoration: underline;
}

.btn-fb > span:last-child {
    display: block;
    float: left;
    height: 42px;
    width: 10px;
    background: transparent url("/images/fb-btn-r.png") no-repeat;
}

.fb-like {
    min-height: 20px;
}

/* ****************** */
/*       VIDEO        */
/* ****************** */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ****************** */
/*       PODIUM       */
/* ****************** */
.podium {
    margin-bottom: 20px;
}

.podium .table {
}

.podium .table .line {
    min-height: 50px;
    border-bottom: 1px solid #EEE;
    padding-bottom: 10px;
}

.podium .table .line > div {
    height: 100%;
}

.podium .important {
    font-size: 20px;
    line-height: 25px;
    font-weight: bold;
}

.podium img {
    max-width: 50px;
    max-height: 50px;
}

/* ****************** */
/*     APP SPECIFIC   */
/* ****************** */
        
            @font-face {
    font-family: 'Bree-Regular';
    src: url('https://sb-filer.s3.amazonaws.com/custom_santablabla_pasquier_advent2020/fonts/Bree-Regular.eot');
    src: url('https://sb-filer.s3.amazonaws.com/custom_santablabla_pasquier_advent2020/fonts/Bree-Regular.eot?#iefix') format('embedded-opentype'),
    url('https://sb-filer.s3.amazonaws.com/custom_santablabla_pasquier_advent2020/fonts/Bree-Regular.svg#Bree-Regular') format('svg'),
    url('https://sb-filer.s3.amazonaws.com/custom_santablabla_pasquier_advent2020/fonts/Bree-Regular.ttf') format('truetype'),
    url('https://sb-filer.s3.amazonaws.com/custom_santablabla_pasquier_advent2020/fonts/Bree-Regular.woff') format('woff'),
    url('https://sb-filer.s3.amazonaws.com/custom_santablabla_pasquier_advent2020/fonts/Bree-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'LondrinaBlack-Regular';
    src: url('https://sb-filer.s3.amazonaws.com/custom_santablabla_pasquier_advent2020/fonts/LondrinaBlack-Regular.eot');
    src: url('https://sb-filer.s3.amazonaws.com/custom_santablabla_pasquier_advent2020/fonts/LondrinaBlack-Regular.eot?#iefix') format('embedded-opentype'),
    url('https://sb-filer.s3.amazonaws.com/custom_santablabla_pasquier_advent2020/fonts/LondrinaBlack-Regular.svg#LondrinaBlack-Regular') format('svg'),
    url('https://sb-filer.s3.amazonaws.com/custom_santablabla_pasquier_advent2020/fonts/LondrinaBlack-Regular.ttf') format('truetype'),
    url('https://sb-filer.s3.amazonaws.com/custom_santablabla_pasquier_advent2020/fonts/LondrinaBlack-Regular.woff') format('woff'),
    url('https://sb-filer.s3.amazonaws.com/custom_santablabla_pasquier_advent2020/fonts/LondrinaBlack-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}


body.responsive {
    max-width: 820px;
}

#app_wrapper {
    background-image: url('https://sb-filer.s3.amazonaws.com/custom_santablabla_pasquier_advent2020/background.jpg');
    max-width: 820px;
    width: 100%;
    font-family: 'Bree-Regular';
    overflow: hidden;
    padding-bottom: 0;
}

.container {
    padding-left: 0;
    padding-right: 0;
}

#footer_pasquier {
    margin-top: 20px;
    background: white;
    padding: 10px 0;
}

#app_footer {
    display: none;
}

h1 {
    color: #ffffff;
    font-family: "LondrinaBlack-Regular";
    font-size: 84px;
    text-transform: uppercase;
}

h2 {
    font-family: "LondrinaBlack-Regular";
    color: #162667;
    font-size: 75px;
    text-transform: uppercase;
}

.main_block {
    box-shadow: 0 0 46px rgba(0, 0, 0, 0.45);
    border-radius: 30px;
    background-color: rgba(249,220,10,0.6);
    margin-top: 150px;
}

.main_block p {
    color: #162667;
    font-size: 31px;
    margin: 50px 0;
}

.btn-1877F2 {
    background-color: #1877F2;
    color: #fff !important;
    font-size: 20px;
    line-height: 24px;
    text-transform: none;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 20px;
}

.btn-1877F2 img.btn-1877F2-img {
    width: 20px;
    height: 20px;
    top: -1px;
    position: relative;
    margin-right: 5px;
}

.btn-1877F2:hover {
    text-decoration: none;
}

#footer_like {
    background: white;
    padding: 15px 0 10px;
    width: 100%;
    margin: 0 auto;
}

#auth-form {
    text-align: left;
}

label {
    font-size: 20px;
}

.form-horizontal .control-label {
    color: #000000;
    font-size: 30px;
    font-family: 'AGaramondLT-Bold';
    width: 35%;
    padding-top: 0;
    line-height: 38px;
    padding-right: 10px;
}

.controls {
    display: inline-block;
    width: 60%;
}

.controls input {
    width: 100%;
    height: 38px;
    line-height: 38px;
    font-family: 'AGaramondLT-SemiBold';
    font-size: 20px;
    border: none;
    padding: 0 5px;
    background: rgba(255,255,255,0.6);
}

.btn_pasquier {
    border-radius: 8px;
    background-image: linear-gradient(to top, #162667 0%, #1e338b 52%, #162667 100%);
    border: 0;
    color: #ffffff;
    font-family: "LondrinaBlack-Regular";
    font-size: 47px;
    text-transform: uppercase;
    padding: 5px 15px;
}

#calendar {
    text-align: center;
    margin-top: 100px;
}

.case {
    display: inline-block;
    cursor: pointer;
    width: 32%;
    margin: 10px 0;
    vertical-align: top;
}

.case.disabled {
    cursor: inherit;
}

.modal-content {
    background-color: rgba(249,220,10,0.8);
    font-size: 20px;
    font-family: 'Bree-Regular';
    border-radius: 30px;
}

.modal-body {
    padding: 15px 40px;
}

.modal-body h3 {
    font-family: "LondrinaBlack-Regular";
    color: #162667;
    font-size: 70px;
    text-transform: uppercase;
}

.modal-body h3.small {
    font-size: 55px;
}

#modal-tofill img {
    max-height: 350px;
    max-width: 100%;
}

.close {
    color: #162667;
    opacity: 1;
    margin-right: -15px;
    text-shadow: none;
}

.alert {
    font-weight: 600;
    font-size: 16px;
}



.field {
    position: relative;
}

.field input[type=checkbox]#contact_cgu {
    top: -5px;
}

.field label {
    color: #051b71;
    font-size: 15px;
    margin-left: 10px;
}

.input-group-lg > .input-group-content > .form-control,
.input-group-lg > .input-group-addon {
    height: 45px;
    padding: 0 0;
    font-size: 1.6em;
    line-height: 1.3333333;
    border-radius: 2px;
}
select.input-group-lg > .input-group-content > .form-control,
select.input-group-lg > .input-group-addon {
    height: 45px;
    line-height: 45px;
}
textarea.input-group-lg > .input-group-content > .form-control,
textarea.input-group-lg > .input-group-addon,
select[multiple].input-group-lg > .input-group-content > .form-control,
select[multiple].input-group-lg > .input-group-addon {
    height: auto;
}
select.input-group-lg > .input-group-content > .form-control,
select.input-group-lg > .input-group-addon {
    height: 45px;
    line-height: 45px;
}
textarea.input-group-lg > .input-group-content > .form-control,
textarea.input-group-lg > .input-group-addon,
select[multiple].input-group-lg > .input-group-content > .form-control,
select[multiple].input-group-lg > .input-group-addon {
    height: auto;
}
.floating-label .input-group-lg > .input-group-content > .form-control ~ label,
.floating-label .input-group-lg > .input-group-addon ~ label {
    font-size: 1.6em;
}
.input-group-sm > .input-group-content > .form-control,
.input-group-sm > .input-group-addon {
    height: 30px;
    padding: 0 0;
    font-size: 1em;
    line-height: 1.5;
    border-radius: 0px;
}
select.input-group-sm > .input-group-content > .form-control,
select.input-group-sm > .input-group-addon {
    height: 30px;
    line-height: 30px;
}
textarea.input-group-sm > .input-group-content > .form-control,
textarea.input-group-sm > .input-group-addon,
select[multiple].input-group-sm > .input-group-content > .form-control,
select[multiple].input-group-sm > .input-group-addon {
    height: auto;
}
select.input-group-sm > .input-group-content > .form-control,
select.input-group-sm > .input-group-addon {
    height: 30px;
    line-height: 30px;
}
textarea.input-group-sm > .input-group-content > .form-control,
textarea.input-group-sm > .input-group-addon,
select[multiple].input-group-sm > .input-group-content > .form-control,
select[multiple].input-group-sm > .input-group-addon {
    height: auto;
}
.floating-label .input-group-sm > .input-group-content > .form-control ~ label,
.floating-label .input-group-sm > .input-group-addon ~ label {
    font-size: 1em;
}
.input-group-addon {
    border-color: transparent;
    background-color: transparent;
    color: inherit;
    opacity: 0.7;
}
.input-group-addon,
.input-group-btn {
    padding-left: 10px;
}
.input-group-addon:first-child,
.input-group-btn:first-child {
    padding-left: 0;
    padding-right: 10px;
}
.input-group-addon:last-child,
.input-group-btn:last-child {
    padding-right: 0;
}
.input-group-addon .btn-floating-action,
.input-group-btn .btn-floating-action {
    margin-top: -7px;
}
.input-group-addon .btn-floating-action.btn-lg,
.input-group-btn .btn-floating-action.btn-lg {
    margin-top: -19px;
}

.btn-center{
    text-align: center;
    margin: auto;
    display: block;
}

.input-group-content {
    position: relative;
    display: table-cell;
    vertical-align: bottom;
}
.input-group .form-control-static {
    display: table-cell;
}
.input-group .form-control-static:not(:first-child):not(:last-child) {
    border-radius: 0;
}
.input-group .form-control-static:first-child {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}
.input-group .form-control-static:last-child {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}
.form .form-group .input-group {
    margin-top: -16px;
}
.form .form-group .input-group-content,
.form .form-group .input-group-addon,
.form .form-group .input-group-btn {
    padding-top: 16px;
}
.form .form-group .input-group-addon {
    vertical-align: bottom;
}
.form .form-group .input-group-addon:first-child {
    min-width: 42px;
    text-align: left;
}
legend {
    display: table;
    width: 100%;
    margin: 13px 0 20px 0;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
}
legend span {
    display: table-cell;
    padding: 0 10px 0 0;
    position: relative;
    bottom: -7px;
    white-space: nowrap;
    opacity: 0.8;
}
legend:before,
legend:after {
    content: '';
    display: table-cell;
    border-bottom: 1px solid rgba(12, 12, 12, 0.25);
}
legend:before {
    width: 0%;
}
legend:after {
    width: 100%;
}
legend.text-center span {
    padding: 0 10px;
}
legend.text-center:before,
legend.text-center:after {
    width: 50%;
}
legend.text-right span {
    padding: 0 0 0 10px;
}
legend.text-right:before {
    width: 100%;
}
legend.text-right:after {
    width: 0%;
}
label {
    font-weight: 400;
}
.form-group > label,
.form-group .control-label {
    top: 19px;
    font-size: 16px;
    margin-top: -12px;
    display: inline-block;
    text-align: left;
    //color: #142c62;
    font-weight: 600;
    opacity: 1;
}
.form .form-group > label,
.form-inline .form-group > label {
    position: absolute;
    top: 0;
    left: 0;
}
.form-control-static {
    font-size: 16px;
}
.has-feedback label ~ .form-control-feedback,
.form-control-feedback {
    top: auto;
    bottom: 0;
}
.form-control {
    padding: 0;
    height: 37px;
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: 2px solid #051b71;
    background: transparent;
    color: #051b71;
    opacity: 1;
    font-weight: 600;
    font-size: 16px;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-border-radius:0;
    -moz-border-radius:0;
    border-radius:0;
}
.form-control.placeholder {
    color: #969c9c;
}
.form-control.placeholder option {
    color: #0c0c0c;
}
.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
    background-color: transparent;
    border-bottom-color: rgba(12, 12, 12, 0.2);
    border-bottom-style: dashed;
}
.form-control[disabled]::-moz-placeholder,
.form-control[readonly]::-moz-placeholder,
fieldset[disabled] .form-control::-moz-placeholder {
    color: #b0b5b4;
    opacity: 1;
}
.form-control[disabled]:-ms-input-placeholder,
.form-control[readonly]:-ms-input-placeholder,
fieldset[disabled] .form-control:-ms-input-placeholder {
    color: #b0b5b4;
}
.form-control[disabled]::-webkit-input-placeholder,
.form-control[readonly]::-webkit-input-placeholder,
fieldset[disabled] .form-control::-webkit-input-placeholder {
    color: #b0b5b4;
}
.form-control[disabled] ~ label:after,
.form-control[readonly] ~ label:after,
fieldset[disabled] .form-control ~ label:after,
.form-control[disabled] ~ .form-control-line:after,
.form-control[readonly] ~ .form-control-line:after,
fieldset[disabled] .form-control ~ .form-control-line:after {
    display: none;
}
textarea.form-control {
    padding: 0;
    height: 37px;
    line-height: 36px;
    resize: none;
}
textarea.autosize {
    min-height: 38px;
}
.form .form-group,
.form-inline .form-group {
    padding-top: 16px;
}
.form-group {
    position: relative;
    margin-bottom: 19px;
}
.form-group .form-control:not(.static) ~ label,
.form-group .form-control:not(.static) ~ .form-control-line {
    -webkit-transition: 0.2s ease all;
    -o-transition: 0.2s ease all;
    transition: 0.2s ease all;
}
.form-group .form-control ~ label,
.form-group .form-control ~ .form-control-line {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    pointer-events: none;
}
.form-group .form-control ~ label:after,
.form-group .form-control ~ .form-control-line:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 45%;
    height: 2px;
    width: 10px;
    visibility: hidden;
    background-color: #ee3435;
    -webkit-transition: 0.2s ease all;
    -o-transition: 0.2s ease all;
    transition: 0.2s ease all;
}
.form-group .form-control ~ label {
    top: 0;
    margin-bottom: 0;
    font-size: 12px;
    opacity: 0.5;
}
.form-group .form-control:focus {
    border-color: transparent;
    box-shadow: none;
}
.form-group .form-control:focus ~ label {
    /*color: #3bafda;*/
    opacity: 1;
}
.form-group .form-control:focus ~ label:after,
.form-group .form-control:focus ~ .form-control-line:after {
    visibility: visible;
    width: 100%;
    left: 0;
}

.floating-label.form-group {
    margin-bottom: 20px;
}

.floating-label .form-control ~ label {
    top: 19px;
    font-size: 16px;
    margin-top: -12px;
    display: inline-block;
    text-align: left;
    font-family: 'Bree-Regular';
    font-weight: 600;
    opacity: 1;

}
.floating-label .form-control:focus ~ label,
.floating-label .form-control.dirty ~ label {
    top: -3px;
    font-size: 14px;
    //color: #af994f;
    font-weight: 600;
}
.input-sm {
    height: 30px;
    padding: 0 0;
    font-size: 1em;
    line-height: 1.5;
    border-radius: 0px;
}
select.input-sm {
    height: 30px;
    line-height: 30px;
}
textarea.input-sm,
select[multiple].input-sm {
    height: auto;
}
select.input-sm {
    height: 30px;
    line-height: 30px;
}
textarea.input-sm,
select[multiple].input-sm {
    height: auto;
}
.floating-label .input-sm ~ label {
    font-size: 1em;
}
.input-lg {
    height: 45px;
    padding: 0 0;
    font-size: 1.6em;
    line-height: 1.3333333;
    border-radius: 2px;
}
select.input-lg {
    height: 45px;
    line-height: 45px;
}
textarea.input-lg,
select[multiple].input-lg {
    height: auto;
}
select.input-lg {
    height: 45px;
    line-height: 45px;
}
textarea.input-lg,
select[multiple].input-lg {
    height: auto;
}
.floating-label .input-lg ~ label {
    font-size: 1.6em;
}

.form-group.control-width-tiny {
    max-width: 40px;
}
.form-group.control-width-mini {
    max-width: 72px;
}
.form-group.control-width-small {
    max-width: 136px;
}
.form-group.control-width-medium {
    max-width: 200px;
}
.form-group.control-width-normal {
    max-width: 300px;
}
.form-group.control-width-large {
    max-width: 500px;
}
.form-group.control-width-xlarge {
    max-width: 800px;
}
.form-group.control-width-xxlarge {
    max-width: 1200px;
}
textarea.control-2-rows {
    height: 64px;
}
textarea.control-3-rows {
    height: 96px;
}
textarea.control-4-rows {
    height: 128px;
}
textarea.control-5-rows {
    height: 160px;
}
textarea.control-6-rows {
    height: 192px;
}
textarea.control-7-rows {
    height: 224px;
}
textarea.control-8-rows {
    height: 256px;
}
textarea.control-9-rows {
    height: 288px;
}
textarea.control-10-rows {
    height: 320px;
}
textarea.control-11-rows {
    height: 352px;
}
textarea.control-12-rows {
    height: 384px;
}
textarea.no-resize {
    resize: none;
}
.form-horizontal .form-group {
    padding-top: 0;
    margin-bottom: 25px;
}
.form-horizontal .form-control ~ .form-control-line {
    left: 12px;
    right: 12px;
    width: auto;
}
.form-horizontal .input-group .form-control ~ .form-control-line {
    left: 0;
    right: 0;
}
@media (min-width: 769px) {
    #footer ul li {
        width: 48%;
    }

    .form-inline .form-group {
        margin-right: 12px;
    }
    .form-inline .radio,
    .form-inline .checkbox,
    .form-inline .btn {
        margin-top: 16px;
        margin-right: 12px;
    }
}

@media (max-width: 768px) {
    #footer img {
        max-height: 45px;
        margin: 0 10px;
    }
}

.help-block {
    position: absolute;
    right: 0;
    bottom: -20px;
    margin: 0;
    color: inherit;
    opacity: .7;
    font-size: 12px;
}
.form-horizontal .help-block {
    bottom: -20px;
    right: 10px;
}
span.help-block {
    right: auto;
}
.form-horizontal span.help-block {
    right: 5px;
    position: absolute;
    top: 25px;
}
.form-inverse .form-group .form-control {
    color: #f2f3f3;
    border-bottom-color: rgba(255, 255, 255, 0.25);
}
.form-inverse .form-group .form-control::-moz-placeholder {
    color: rgba(255, 255, 255, 0.5);
    opacity: 1;
}
.form-inverse .form-group .form-control:-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.form-inverse .form-group .form-control::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.form-inverse .form-group .form-control ~ label:after,
.form-inverse .form-group .form-control ~ .form-control-line:after {
    background-color: #a6ede8;
}
.form-inverse .form-group .form-control:focus {
    border-color: rgba(255, 255, 255, 0.25);
}
.form-inverse .form-group .form-control:focus ~ label {
    color: #a6ede8;
}
.form-inverse .form-group .form-control[disabled],
.form-inverse .form-group .form-control[readonly],
fieldset[disabled] .form-inverse .form-group .form-control {
    border-bottom-color: rgba(255, 255, 255, 0.4);
}
.form-inverse select:focus {
    background: #ffffff;
    color: #313534 !important;
}
.has-warning .help-block {
    color: #ff9800;
    opacity: 1;
}
.has-warning .form-control {
    border-bottom-color: #ff9800;
}
.has-warning .form-control:focus,
.has-warning .form-control.dirty {
    border-bottom-color: #ff9800;
}
.has-warning .form-control:focus ~ label,
.has-warning .form-control.dirty ~ label {
    color: inherit;
}
.has-warning .form-control ~ label,
.has-warning .form-control ~ .form-control-line {
    color: inherit;
}
.has-warning .form-control ~ label:after,
.has-warning .form-control ~ .form-control-line:after {
    background-color: #ff9800;
}
.has-warning label,
.has-warning .control-label,
.has-warning .form-control-feedback {
    color: #ff9800;
}
.form-horizontal .has-warning label,
.form-horizontal .has-warning .control-label,
.form-horizontal .has-warning .form-control-feedback {
    opacity: 1;
}
.form-inverse .has-warning .help-block {
    color: #e69c2e;
    opacity: 1;
}
.form-inverse .has-warning .form-control {
    border-bottom-color: #e69c2e;
}
.form-inverse .has-warning .form-control:focus,
.form-inverse .has-warning .form-control.dirty {
    border-bottom-color: #e69c2e;
}
.form-inverse .has-warning .form-control:focus ~ label,
.form-inverse .has-warning .form-control.dirty ~ label {
    color: inherit;
}
.form-inverse .has-warning .form-control ~ label,
.form-inverse .has-warning .form-control ~ .form-control-line {
    color: inherit;
}
.form-inverse .has-warning .form-control ~ label:after,
.form-inverse .has-warning .form-control ~ .form-control-line:after {
    background-color: #e69c2e;
}
.form-inverse .has-warning label,
.form-inverse .has-warning .control-label,
.form-inverse .has-warning .form-control-feedback {
    color: #e69c2e;
}
.form-horizontal .form-inverse .has-warning label,
.form-horizontal .form-inverse .has-warning .control-label,
.form-horizontal .form-inverse .has-warning .form-control-feedback {
    opacity: 1;
}
.has-error .help-block {
    color: #d32f2f;
    font-size: 15px;
    opacity: 1;
    white-space: inherit !important;
    transform: translate(0, -50% );
    padding: 5px 10px;
    position: relative;
    padding: 0;
    margin-bottom: 10px;
}

@media screen and (max-width: 798px){
    .has-error .help-block {

        top: 0 !important;
        bottom: unset !important;
        left: 69%!important;
        transform: translate(0, -50% );
    }
    .help-block::after {
        right: 50%!important;
        top: 100%!important;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
        border-color: rgba(136, 183, 213, 0);
        border-top-color: rgba(255, 255, 255, 0.6)!important;
        border-right-color: transparent!important;
        border-width: 7px;
        margin-right: -7px!important;
        margin-top: 0!important;
    }
}


.has-error .form-control {
    border-bottom-color: #d32f2f;
    border-top-color: transparent!important;
    border-left-color: transparent!important;
    border-right-color: transparent!important;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;

}
.has-error .form-control:focus,
.has-error .form-control.dirty {
    border-bottom-color: #d32f2f;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;

}
.has-error .form-control:focus ~ label,
.has-error .form-control.dirty ~ label {
    color: red;
}
.has-error .form-control ~ label,
.has-error .form-control ~ .form-control-line {
    color: inherit;
}
.has-error .form-control ~ label:after,
.has-error .form-control ~ .form-control-line:after {
    background-color: #d32f2f;
}
.has-error label,
.has-error .control-label,
.has-error .form-control-feedback {
    color: #d32f2f;
}
.form-horizontal .has-error label,
.form-horizontal .has-error .control-label,
.form-horizontal .has-error .form-control-feedback {
    opacity: 1;
}
.form-inverse .has-error .help-block {
    color: #e65045;
    opacity: 1;
}
.form-inverse .has-error .form-control {
    border-bottom-color: #e65045;
}
.form-inverse .has-error .form-control:focus,
.form-inverse .has-error .form-control.dirty {
    border-bottom-color: #e65045;
}
.form-inverse .has-error .form-control:focus ~ label,
.form-inverse .has-error .form-control.dirty ~ label {
    color: inherit;
}
.form-inverse .has-error .form-control ~ label,
.form-inverse .has-error .form-control ~ .form-control-line {
    color: inherit;
}
.form-inverse .has-error .form-control ~ label:after,
.form-inverse .has-error .form-control ~ .form-control-line:after {
    background-color: #e65045;
}
.form-inverse .has-error label,
.form-inverse .has-error .control-label,
.form-inverse .has-error .form-control-feedback {
    color: #e65045;
}
.form-horizontal .form-inverse .has-error label,
.form-horizontal .form-inverse .has-error .control-label,
.form-horizontal .form-inverse .has-error .form-control-feedback {
    opacity: 1;
}
.has-success .help-block {
    color: #4caf50;
    opacity: 1;
}
.has-success .form-control {
    border-bottom-color: #4caf50;
}
.has-success .form-control:focus,
.has-success .form-control.dirty {
    border-bottom-color: #4caf50;
}
.has-success .form-control:focus ~ label,
.has-success .form-control.dirty ~ label {
    color: inherit;
}
.has-success .form-control ~ label,
.has-success .form-control ~ .form-control-line {
    color: inherit;
}
.has-success .form-control ~ label:after,
.has-success .form-control ~ .form-control-line:after {
    background-color: #4caf50;
}
.has-success label,
.has-success .control-label,
.has-success .form-control-feedback {
    color: #4caf50;
}
.form-horizontal .has-success label,
.form-horizontal .has-success .control-label,
.form-horizontal .has-success .form-control-feedback {
    opacity: 1;
}
.form-inverse .has-success .help-block {
    color: #45e64a;
    opacity: 1;
}
.form-inverse .has-success .form-control {
    border-bottom-color: #45e64a;
}
.form-inverse .has-success .form-control:focus,
.form-inverse .has-success .form-control.dirty {
    border-bottom-color: #45e64a;
}
.form-inverse .has-success .form-control:focus ~ label,
.form-inverse .has-success .form-control.dirty ~ label {
    color: inherit;
}
.form-inverse .has-success .form-control ~ label,
.form-inverse .has-success .form-control ~ .form-control-line {
    color: inherit;
}
.form-inverse .has-success .form-control ~ label:after,
.form-inverse .has-success .form-control ~ .form-control-line:after {
    background-color: #45e64a;
}
.form-inverse .has-success label,
.form-inverse .has-success .control-label,
.form-inverse .has-success .form-control-feedback {
    color: #45e64a;
}
.form-horizontal .form-inverse .has-success label,
.form-horizontal .form-inverse .has-success .control-label,
.form-horizontal .form-inverse .has-success .form-control-feedback {
    opacity: 1;
}



@media (max-width: 768px) {
    .main_block {
        margin: 80px 20px;
    }
    .main_block h2 {
        font-size: 85px;
    }
    .btn-1877F2 {
        font-size: 26px;
    }
    .btn-1877F2 img.btn-1877F2-img {
        width: 25px;
        height: 25px;
    }
    .form-control {
        height: 45px;
        font-size: 22px;
    }
    .floating-label .form-control:focus ~ label, .floating-label .form-control.dirty ~ label {
        top: -10px;
        font-size: 18px;
    }
    .form-horizontal .form-group {
        margin-bottom: 35px;
    }
    .field label {
        font-size: 22px;
        margin-left: 20px;
    }
    input[type=checkbox] {
        position: absolute;
        top: 12px;
    }
    .modal-body h3 {
        font-size: 52px;
    }
    .modal-body h3.small {
        font-size: 45px;
    }
}






/*********** CSS3 SNOWFLAKES ANIM **************/

.snowflake-1 {
    -animation-duration:3.9s;
    -webkit-animation-duration:3.9s;
    -moz-animation-duration: 3.9s;
    font-size: 2em;
}
.snowflake-2 {
    -animation-duration:2.2s;
    -webkit-animation-duration:2.2s;
    -moz-animation-duration: 2.2s;
    font-size: 1.9em;
}
.snowflake-3 {
    -animation-duration:2s;
    -webkit-animation-duration:2s;
    -moz-animation-duration: 2s;
    font-size: 1.4em;
}
.snowflake-4 {
    -animation-duration:2s;
    -webkit-animation-duration:2s;
    -moz-animation-duration: 2s;
    font-size: 1.4em;
}
.snowflake-5 {
    -animation-duration:3.3s;
    -webkit-animation-duration:3.3s;
    -moz-animation-duration: 3.3s;
    font-size: 0.6em;
}
.snowflake-6 {
    -animation-duration:1.5s;
    -webkit-animation-duration:1.5s;
    -moz-animation-duration: 1.5s;
    font-size: 1.1em;
}
.snowflake-7 {
    -animation-duration:1s;
    -webkit-animation-duration:1s;
    -moz-animation-duration: 1s;
    font-size: 0.9em;
}
.snowflake-8 {
    -animation-duration:2.6s;
    -webkit-animation-duration:2.6s;
    -moz-animation-duration: 2.6s;
    font-size: 1.8em;
}
.snowflake-9 {
    -animation-duration:1.8s;
    -webkit-animation-duration:1.8s;
    -moz-animation-duration: 1.8s;
    font-size: 1.4em;
}
.snowflake-10 {
    -animation-duration:4.1s;
    -webkit-animation-duration:4.1s;
    -moz-animation-duration: 4.1s;
    font-size: 0.5em;
}
.snowflake-11 {
    -animation-duration:3.5s;
    -webkit-animation-duration:3.5s;
    -moz-animation-duration: 3.5s;
    font-size: 0.6em;
}
.snowflake-12 {
    -animation-duration:4.6s;
    -webkit-animation-duration:4.6s;
    -moz-animation-duration: 4.6s;
    font-size: 0.3em;
}
.snowflake-13 {
    -animation-duration:3.1s;
    -webkit-animation-duration:3.1s;
    -moz-animation-duration: 3.1s;
    font-size: 1.7em;
}
.snowflake-14 {
    -animation-duration:3.3s;
    -webkit-animation-duration:3.3s;
    -moz-animation-duration: 3.3s;
    font-size: 0.9em;
}
.snowflake-15 {
    -animation-duration:2.9s;
    -webkit-animation-duration:2.9s;
    -moz-animation-duration: 2.9s;
    font-size: 0.3em;
}
.snowflake-16 {
    -animation-duration:2.8s;
    -webkit-animation-duration:2.8s;
    -moz-animation-duration: 2.8s;
    font-size: 0.4em;
}
.snowflake-17 {
    -animation-duration:1.3s;
    -webkit-animation-duration:1.3s;
    -moz-animation-duration: 1.3s;
    font-size: 1.6em;
}
.snowflake-18 {
    -animation-duration:1.5s;
    -webkit-animation-duration:1.5s;
    -moz-animation-duration: 1.5s;
    font-size: 0.7em;
}
.snowflake-19 {
    -animation-duration:2.8s;
    -webkit-animation-duration:2.8s;
    -moz-animation-duration: 2.8s;
    font-size: 0.8em;
}
.snowflake-20 {
    -animation-duration:5s;
    -webkit-animation-duration:5s;
    -moz-animation-duration: 5s;
    font-size: 0.1em;
}


@-webkit-keyframes snowflake-animation {
    from {
        top:0%;
        -webkit-transform:rotate(0deg);
    }
    50% {
        -webkit-transform:rotate(360deg);
    }
    to {
        top:100%;
        -webkit-transform:rotate(0deg);
    }
}

@-moz-keyframes snowflake-animation {
    from {
        top:0%;
        -moz-transform:rotate(0deg);
    }
    50% {
        -moz-transform:rotate(360deg);
    }
    to {
        top:100%;
        -moz-transform:rotate(0deg);
    }
}

#snow{
    top:0;
    right:0;
    bottom:0;
    left:0;
    overflow:hidden;
}
.snowflake {
    text-shadow:none;
    color:#FFF;
    position:absolute;
    top:0;
    -webkit-animation-name:snowflake-animation;
    -webkit-animation-iteration-count:infinite;
    -webkit-animation-timing-function:linear;
    -moz-animation-name:snowflake-animation;
    -moz-animation-iteration-count:infinite;
    -moz-animation-timing-function:linear;
    z-index: 9999;
}

.snowflake:before {
    content:"*";
}




.layoutOpenNav {
    position: absolute;
    z-index: 9999;
    display: none;
    background-color: black;
//height: 100vh;
//width: 100vw;
    opacity: 0.7;
    color: white;
    top: 0;
    height: 100%;
    width: 100%;
}
.textOpenNav {
    font-size: 30px;
    font-weight: 800;
    padding-top: 30px;
}    
        