/*
@Project : Calcul de la pension au Luxembourg
@Company : Right Click Sarl 
@Author  : David Clesse 
*/


/*basic reset*/

* {
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

body {
    font-family: montserrat, arial, verdana;
    width: 100%;
    overflow-x: hidden;
    background-color: #E8E8E8;
}

.welcome,
.disclaimer {
    font-family: montserrat, arial, verdana;
    text-align: left;
    font-size: 15px;
    font-weight: lighter;
    color: #837E7E;
    width: 100%;
    margin: 0 auto;
}

.disclaimer {
    font-size: 10px;
    text-align: justify;
    margin: 0px -30px -10px -30px;
    width: auto;
    background: #f0fff0;
    padding: 10px 20px;
}

.welcome ul,
.disclaimer ul,
.fs-big ul {
    padding: 10px 0px 13px 25px;
    text-align: justify;
}

.disclaimer u {
    line-height: 20px;
}

b {
    font-weight: bold;
}


/*li {
    margin: 10px 0px 0px 0px;
}*/

.welcome-image {
    padding: 10px 0 15px 0;
    width: 90%;
}

.end-image {
    float: right;
    margin: -10px 5px 0 0;
    width: 80px;
}

.small {
    font-size: 10px;
    text-align: justify;
}


/*form styles*/

::placeholder {
    color: #ccc;
}

.steps {
    width: 675px;
    margin: 20px auto;
    position: relative;
}

.steps fieldset {
    background: white;
    border: 0 none;
    border-radius: 3px;
    box-shadow: 0 17px 41px -21px rgb(0, 0, 0);
    padding: 20px 30px;
    border-top: 9px solid #2bb24b;
    box-sizing: border-box;
    width: 80%;
    margin: 0 10%;
    /*stacking fieldsets above each other*/
    position: absolute;
}

.flag-container {
    position: fixed;
    left: 0;
    right: 0;
    width: 530px;
    margin: 0 auto;
    top: .8em;
    text-align: right;
    z-index: 1;
}


/*a>img.flag {
    margin-right: -.7em;
    overflow: hidden;
}*/

img.flag {
    width: 2.4em;
    height: 1.7em;
}

.lang-selector span {
    display: inline-block;
    width: 1.7em;
    height: 1.7em;
    overflow: hidden;
    vertical-align: bottom;
}

#modal-language form {
    padding: 0 15%;
}

blockquote {
    font-style: normal;
    font-size: 30px;
    margin: 0 70px 0 25px;
    text-align: center;
    vertical-align: middle;
    font-family: "Segoe Print", "Times New Roman", Verdana;
    background-repeat: no-repeat;
    /*min-height: 30px;*/
}

figcaption {
    padding: 10px 30px 0 0;
    text-align: right;
}


/*Hide all except first fieldset*/

.steps fieldset:not(:first-of-type) {
    display: none;
}


/*inputs*/

.steps label {
    color: #333333;
    text-align: left !important;
    font-size: 15px;
    font-weight: 200;
    padding-bottom: 0px;
    padding-top: 2px;
    margin-bottom: 0px;
    display: inline-block;
}

.steps input,
.steps textarea,
.steps select,
.steps span {
    outline: none;
    display: block;
    /*width: 100%;*/
    margin: 0 0 15px;
    padding: 7px 10px;
    border: 1px solid #d9d9d9;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: #837E7E;
    /*font-family: "Roboto";*/
    -webkti-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 14px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-transition: all 0.3s linear 0s;
    -moz-transition: all 0.3s linear 0s;
    -ms-transition: all 0.3s linear 0s;
    -o-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
}

.steps input:focus,
.steps textarea:focus,
.steps select:focus {
    color: #333333;
    border: 1px solid #2bb24b;
}

.nombre {
    text-align: right;
}

.col.nombre {
    padding-right: 30px !important;
}

.ans-mois {
    text-align: left;
}

.col.an-mois {
    padding-right: 0px !important;
}

.form-check {
    display: inline-flex;
    align-items: top;

}
.form-check-input:checked {
    background-color: #2bb24b;
    border-color: #2bb24b;
}

.error1 {
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -moz-box-shadow: 0 0 0 transparent;
    -webkit-box-shadow: 0 0 0 transparent;
    box-shadow: 0 0 0 transparent;
    position: absolute;
    left: 525px;
    margin-top: -52px;
    padding: 0 10px;
    height: 39px;
    display: block;
    color: #ffffff;
    background: #2bff4b;
    border: 0;
    font: 14px Corbel, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", "Bitstream Vera Sans", "Liberation Sans", Verdana, "Verdana Ref", sans-serif;
    line-height: 39px;
    white-space: nowrap;
}

.error1:before {
    width: 0;
    height: 0;
    left: -8px;
    top: 14px;
    content: '';
    position: absolute;
    border-top: 6px solid transparent;
    border-right: 8px solid #2bff4b;
    border-bottom: 6px solid transparent;
}

.error-log {
    margin: 5px 5px 5px 0;
    font-size: 19px;
    position: relative;
    bottom: -2px;
}

.question-log {
    margin: 2px 1px 2px 0;
    font-size: 18px;
    position: relative;
    top: 1px;
}


/*buttons*/

.steps .action-button,
.action-button {
    width: 45% !important;
    background: #2bb24b;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 5px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px auto;
    -webkit-transition: all 0.3s linear 0s;
    -moz-transition: all 0.3s linear 0s;
    -ms-transition: all 0.3s linear 0s;
    -o-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
    display: block;
}

.stretched {
    width: 100% !important;
    padding: 10px 5px;
}

.steps .next,
.steps .submit,
.button-right {
    float: right;
}

/* Style pour le bouton désactivé */
.action-button:disabled {
    opacity: 0.5; /* Légère transparence */
    cursor: default;
}

.steps .previous,
.steps .precedent,
.button-left {
    float: left;
}

.action-button:hover:enabled,
.action-button:focus:enabled {
    background: #166126;
    ;
}

.steps .explanation {
    display: block;
    clear: both;
    width: 540px;
    margin: 0 -30px;
    background: #f2f2f2;
    position: relative;
    padding: 22px 0px;
    margin-bottom: -10px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    top: 10px;
    text-align: center;
    color: #444;
    font-size: 12px;
    font-weight: 200;
    cursor: pointer;
}

.explanation img.logo-bottom {
    position: absolute;
    bottom: 10px !important;
    right: 15px;
}

.fb_iframe_widget {
    position: absolute !important;
    left: 10px !important;
    bottom: 15px !important;
}

.fb_iframe_widget>span {
    border: none;
}

.taux-calcule {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    bottom: 0px;
    margin-bottom: -20px;
    color: #837E7E;
    font-size: 12px;
}

.info-popup {
    color: #2bb24b;
    font-size: 15px;
    cursor: pointer;
}

.language {
    margin-bottom: 16px;
}

.language a {
    color: #333;
    font-weight: normal;
}

.checkmark {
    font-size:1.5em; 
    color:green !important;
    font-weight: normal;
}   

.language a:hover {
    color: #2bff4b;
}


/*headings*/

.fs-title {
    text-transform: uppercase;
    margin: 0 0 5px;
    line-height: 1;
    color: #2bb24b;
    font-size: 19px;
    font-weight: 400;
    text-align: center;
}

.fs-title2 {
    margin: 0 0 5px;
    line-height: 1;
    color: #2bb24b;
    font-size: 20px;
    font-weight: 400;
    text-align: center;
}

.fs-subtitle {
    font-weight: normal;
    font-size: 15px;
    color: #837E7E;
    margin-bottom: 20px;
    text-align: center;
}

.fs-subtitle2 {
    font-weight: normal;
    font-size: 15px;
    color: #837E7E;
    margin-bottom: 20px;
    text-align: center;
}

.fs-subtitle3 {
    font-weight: normal;
    font-size: 12px;
    color: #837E7E;
    text-align: center;
}

.fs-subtitle4 {
    font-weight: normal;
    font-size: 10px;
    color: #837E7E;
    text-align: center;
}

.fs-big {
    font-weight: normal;
    font-size: 14px;
    color: #837E7E;
    margin-bottom: 20px;
    text-align: justify;
}

.strike1 {
    text-decoration: none;
    /*we're replacing the default line-through*/
    position: relative;
    display: inline-block;
    /* don't wrap to multiple lines */
}

.strike1:after {
    content: "";
    position: absolute;
    bottom: 29%;
    left: -10%;
    border-top: 10px solid #C00;
    height: 20%;
    width: 130%;
    transform: rotateZ(-30deg);
}

.strike2 {
    width: 100%;
    height: 100%;
    margin: 0;
    text-decoration: none;
    /*we're replacing the default line-through*/
    position: relative;
    display: inline-block;
    /* don't wrap to multiple lines */
}

.strike2:after {
    content: "";
    position: absolute;
    top: 25%;
    left: -10%;
    border-bottom: 10px solid #C00;
    height: 20%;
    width: 130%;
    transform: rotateZ(30deg);
}

a,
a:visited {
    text-decoration: none;
    font-weight: bold;
    color: #2bb24b;
}

a:hover {
    color: #2bff4b;
}


/*progressbar*/

#progressbar {
    margin-bottom: 20px;
    overflow: hidden;
    /*CSS counters to number the steps*/
    counter-reset: step;
    width: 100%;
    text-align: center;
}

#progressbar li {
    list-style-type: none;
    color: rgb(51, 51, 51);
    text-transform: uppercase;
    font-size: 12px;
    width: 32%;
    left: 0px;
    float: left;
    position: relative;
}

#progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 20px;
    line-height: 20px;
    display: block;
    font-size: 12px;
    color: #333;
    background: white;
    border-radius: 3px;
    margin: 0 auto 5px auto;
}


/*progressbar connectors*/

#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: white;
    position: absolute;
    left: -50%;
    top: 9px;
    z-index: -1;
    /*put it behind the numbers*/
}

#progressbar li:first-child:after {
    /*connector not needed before the first step*/
    content: none;
}


/*marking active/completed steps green*/


/*The number of the step and the connector before it = green*/

#progressbar li.active:before,
#progressbar li.active:after {
    background: #2bb24b;
    color: white;
}


/* my modal */

.modal p {
    font-size: 15px;
    font-weight: 100;
    font-family: sans-serif;
    color: #3C3B3B;
    line-height: 21px;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 50%;
    max-width: 444px;
    min-width: 320px;
    height: auto;
    max-height: 98vh;
    overflow: auto;
    z-index: 2000;
    visibility: hidden;
    -moz-backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.modal.modal-show {
    visibility: visible;
}

.lt-ie9 .modal {
    top: 0;
    margin-left: -315px;
}

.modal-content {
    background: #ffffff;
    position: relative;
    margin: 0 auto;
    padding: 20px;
    border-radius: 3px;
}

.modal-overlay {
    background: #000000;
    position: fixed;
    visibility: hidden;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=0);
    opacity: 0;
    -moz-transition-property: visibility, opacity;
    -o-transition-property: visibility, opacity;
    -webkit-transition-property: visibility, opacity;
    transition-property: visibility, opacity;
    -moz-transition-delay: 0.5s, 0.1s;
    -o-transition-delay: 0.5s, 0.1s;
    -webkit-transition-delay: 0.5s, 0.1s;
    transition-delay: 0.5s, 0.1s;
    -moz-transition-duration: 0, 0.5s;
    -o-transition-duration: 0, 0.5s;
    -webkit-transition-duration: 0, 0.5s;
    transition-duration: 0, 0.5s;
}

.modal-show .modal-overlay {
    visibility: visible;
    filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=60);
    opacity: 0.6;
    -moz-transition: opacity 0.5s;
    -o-transition: opacity 0.5s;
    -webkit-transition: opacity 0.5s;
    transition: opacity 0.5s;
}

.modal-info .fs-subtitle {
    margin-bottom: 0px;
}

.modal-info .action-button {
    font-size: 16px;
    /*margin-bottom: 0px;*/
}


/*slide*/

.modal[data-modal-effect|=slide] .modal-content {
    filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=0);
    opacity: 0;
    -moz-transition: all 0.5s 0;
    -o-transition: all 0.5s 0;
    -webkit-transition: all 0.5s 0;
    transition: all 0.5s 0;
}

.modal[data-modal-effect|=slide].modal-show .modal-content {
    filter: progid: DXImageTransform.Microsoft.Alpha(enabled=false);
    opacity: 1;
    -moz-transition: all 0.5s 0.1s;
    -o-transition: all 0.5s 0.1s;
    -webkit-transition: all 0.5s;
    -webkit-transition-delay: 0.1s;
    transition-delay: 0.1s;
    transition: all 0.5s 0.1s;
}

.modal[data-modal-effect=slide-top] .modal-content {
    -moz-transform: translateY(-300%);
    -ms-transform: translateY(-300%);
    -webkit-transform: translateY(-300%);
    transform: translateY(-300%);
}

.modal[data-modal-effect=slide-top].modal-show .modal-content {
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.fluo {
    font-weight: bold;
}

.grise,
.grise select,
.grise input {
    display: none;
    color: #ccc;
}


/* Info */

.info {
    width: 100%;
    max-width: 530px;
    margin: 10px auto;
    text-align: center;
    font-family: 'roboto', sans-serif;
}

.logo-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo {
    position: absolute;
    width:120px;
    left: 0;
    top:10px;
}

.info a {
    z-index: 100;
    cursor: pointer;
}

.info h1 {
    margin: 0;
    padding: 0;
    font-size: 26px;
    font-weight: 400;
    color: #333333;
    flex-grow: 1;
    text-align: center;
}

.info span {
    display: block;
    color: #666666;
    font-size: 13px;
    margin-top: .3em;
    line-height: 1.3;
}

.info span a {
    color: #666666;
    text-decoration: none;
}

.info span .fa {
    color: rgb(226, 168, 16);
    font-size: 19px;
    position: relative;
    left: -2px;
}

.info span .spoilers {
    color: #999999;
    margin-top: 5px;
    font-size: 10px;
}

.info>a {
    text-decoration: inherit;
    font-weight: inherit;
    color: inherit;
}

H1 {
    text-align: center;
}

.square-container {
    text-align: center;
    margin: auto;
}

.square {
    font-size: x-large;
    width: 180px;
    height: 170px;
    line-height: 80px;
    border: 2px solid #888;
    border-radius: 5px;
    display: inline-block;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
    margin: 20px;
    padding-top: 10px;
    position: relative;
}

.fa-circle-check {
    color: darkgreen;
    font-size: 2.5em;
    position: absolute;
    top: 0;
    right: 0;
    margin: -18px -14px 0 0;
}

.fa-circle-xmark {
    color: #C00;
    font-size: 2.5em;
    position: absolute;
    top: 0;
    right: 0;
    margin: -18px -14px 0 0;
}

.fa-info-circle {
    color: #2bb24b;
    font-size: 18px;
    position: relative;
    top: 1px;
}

#info-extrait::before {
    display: flex;
    margin-top: -7px;
}

.grey {
    color: #837E7E;
}

._2tga._8j9v {
    background: #2bb24b !important;
}

.button {
    font-family: montserrat, arial, verdana !important;
}

.red {
    color: #C00;
}

.green {
    color: darkgreen;
}

td {
    vertical-align: middle;
}


/*Table DB*/

table.table-db {
    font-family: Arial, Helvetica, sans-serif;
    border: 0px solid #FFFFFF;
    width: 100%;
    text-align: left;
    border-collapse: collapse;
}

table.table-db td,
table.table-db th {
    border: 0px solid #FFFFFF;
    padding: 2px 5px;
}

table.table-db tbody td {
    font-size: 13px;
}

table.table-db tr:nth-child(even) {
    background: #D0E4F5;
}

table.table-db thead {
    background: #0B6FA4;
    background: -moz-linear-gradient(top, #4893bb 0%, #237dad 66%, #0B6FA4 100%);
    background: -webkit-linear-gradient(top, #4893bb 0%, #237dad 66%, #0B6FA4 100%);
    background: linear-gradient(to bottom, #4893bb 0%, #237dad 66%, #0B6FA4 100%);
    border-bottom: 5px solid #FFFFFF;
}

table.table-db thead th {
    font-size: 13px;
    font-weight: bold;
    color: #FFFFFF;
    text-align: center;
    border-left: 1px solid #FFFFFF;
}

table.table-db thead th:first-child {
    border-left: none;
}

table.table-db tfoot td {
    font-size: 14px;
}

#stretched .form-select,
#stretched .form-control {
    margin: 0 0 -2px;
    padding: 0 0px 0 5px;
}

.info-image {
    width: 100%;
    border: solid #eee 1px;
    cursor: -moz-zoom-in;
    cursor: -webkit-zoom-in;
    cursor: zoom-in;
}

.row .header {
    font-weight: bold;
    text-align: center;
}

.middle {
    line-height: 1.5;
    vertical-align: middle;
    text-align: center;
}

.debug {
    /*display: none;*/
    position: relative;
    top: 0px;
    color: #aaa;
    font-size: 10px;
    background: #333;
    border: 0 none;
    border-radius: 3px;
    box-shadow: 0 17px 41px -21px rgb(0, 0, 0);
    padding: 20px 30px;
    border-top: 9px solid #2bb24b;
    box-sizing: border-box;
    width: 480px;
    margin: 0 10px;
    /*z-index: -1;*/
}

.debug hr {
    color: white;
}

.debug td {
    text-align: right;
    padding: 0px 9px;
}

.debug th {
    text-align: center;
    padding: 0px 5px;
}

.debug th:first-child {
    text-align: left;
    padding: 0px 5px;
}

.debug tr th {
    border-bottom: 1px solid #ddd;
}

.debug h4 {
    margin: 0 0 5px;
    line-height: 1;
    color: #2bb24b;
    font-size: 19px;
    font-weight: 400;
}

.error-date,
.error-montant {
    display: none;
    font: 12px Arial;
    font-weight: 200;
    margin: -12px 0px 5px 7px;
    color: #A00;
}

.chronologie tr td  {
    text-align: left;
    text-decoration: none;
    padding: 0 .5em 0 0;
    margin: 0;
}

.chronologie tr td a  {
    font-weight: initial;
}

table.popup-continue td:first-child{
    padding-right:1em;
}
table.popup-continue tr:first-child td {
    padding-bottom:1em;
}
/* RESPONSIVE */


/* Debug */

@media (min-width:501px) {
    .info {
        margin-left:70px;
    }
}
@media (min-width:691px) {
    .info {
        margin-left:auto;
    }
}
@media (max-width:1560px) {
    .debug {
        display: none;
    }
}


@media (max-width:800px) {
    .logo {
        width:120px;
        top:15px;
    }
    /*brings inputs down in size */
    .steps input,
    .steps textarea,
    .steps select {
        outline: none;
        display: block;
        padding: 10px 5px;
        background-position: right 0 center;
        /*width: 100% !important;*/
    }
    /*brings errors in */
    .error1 {
        left: 320px;
        margin-top: -52px;
    }
    .nombre:disabled {
        color: #808080;
    }
}

@media (max-width:500px) {
    /*mobile phone: uncollapse all fields: remove subtitle */
    .info h1 {
        font-size: 23px;
    }
    .logo {
        width:80px;
        top:0;
        left:2px;
    }
    
    .fs-title {
        font-size: 17px;
    }
    #progressbar li {
        font-size: 10px !important;
        width: 32%;
        left: -13px;
    }
    #progressbar {
        margin-top: -5px;
        margin-bottom: 10px;
    }
    .steps {
        width: 100%;
        margin: 0px auto;
        position: relative;
    }
    /*move error logs */
    .error1 {
        position: relative;
        left: 0 !important;
        margin-top: 18px;
        top: -11px;
    }
    .error1:before {
        width: 0;
        height: 0;
        left: 14px;
        top: -14px;
        content: '';
        position: absolute;
        border-left: 6px solid transparent;
        border-bottom: 8px solid #e62163;
        border-right: 6px solid transparent;
    }
    #warning-previous {
        margin-top: 10px;
    }
    .steps fieldset {
        position: relative;
        width: 100%;
        margin: 0 auto;
        padding-top: 15px;
        padding-bottom: 10px;
    }
    .flag-container {
        width: 99%;
    }
    .explanation:not(:last-child) {
        display: none;
    }
    .explanation:last-child {
        width: -moz-calc(100% + 60px);
        width: -webkit-calc(100% + 60px);
        width: -o-calc(100% + 60px);
        width: calc(100% + 60px);
    }
    .form span {
        display: none !important;
    }
    .info span {
        display: none !important;
    }
    /* Chrome, Safari, Edge, Opera */
    input[type=number]::-webkit-inner-spin-button,
    input[type=number]::-webkit-outer-spin-button {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        margin: 0;
    }
    /* Firefox */
    input[type='number'] {
        -moz-appearance: textfield;
    }
    .label {
        padding-top: 4px;
        font-size: 13px;
        margin-right: -10px;
        padding-right: 0px;
    }
    .header>div {
        font-size: 13px;
    }
    .header>div:first-child {
        padding-top: 3px;
    }
    select.jours_mois {
        text-align: left;
        font-size: 15px;
        margin: 0 0 -2px -10px !important;
        padding: 0 2px !important;
    }
    #stretched .form-select,
    #stretched .form-control {
        /*margin: 0 -20px -2px 0;*/
        padding-right: 15px;
    }
    .nombre:disabled {
        color: #333333;
    }
    .ans-mois {
        font-size: small !important;
    }
}