html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.cookie {
    bottom: -20px;
}
.cookie-wrapper {
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 150%;
    padding: 15px 120px 30px 15px;
    text-align: left;
    position: fixed;
    left: 0;
    background: rgb(51 122 183 / 95%);
    color: #fff;
    width: 100%;
}
.cookie-wrapper #closeCookie {
    position: absolute;
    top: 16px;
    right: 80px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {

    padding: 40px 30px;
}

@media screen and (min-width: 768px){
    .jumbotron h1 {margin-top:45px;font-size:38px;color:rgb(16,114,189);font-weight:400}
    .jumbotron {padding: 14px 24px!important;
                margin-bottom: 50px;}

}

.not-set {
    color: #c55;
    font-style: italic;
}

/* remove additional controls from inputs */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}
input[type=number] {
    -moz-appearance:textfield;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: "\e151";
}

a.desc:after {
    content: "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view td {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav > li > form {
    padding: 8px;
}

@media(max-width:768px) {
    .nav li > form {
        padding: 3px;
    }
}

.nav > li > form > button:hover {
    text-decoration: none;
}
/** navbar **/
.navbar-header {display: none;}
.navbar-nav {top:87px;position: absolute}
.nav > li > a {padding:5px 10px;}
#w0-collapse.navbar-collapse {background-color: white!important;height:115px!important;}


#logoAndTitleAF2I {display: table;width: 100%}
#topMenuAF2I {display: block;clear:both; width:100%;margin-top:40px; background-color: #efefef;padding:5px;border-radius: 3px;}


/** login **/

.a-login-form-container {display:table-cell;padding-left:20px;}
.a-login-form {border:1px solid rgb(16,114,189);padding:5px;margin-bottom: 15px;}
.a-login-input { max-width: 91px; height:18px; font-size:11px; margin:5px; }
.a-login-form button {margin-left:5px;margin-right:5px; }

form.a-logout {margin:0;padding:0!important;}
form.a-logout .btn {padding:4px 10px;}
/** contact **/


/** question **/
.qst { padding:20px 30px;padding-top: 0; }
.qst-caption {width:5%;display:table-cell;padding-top:3px;padding-left:3%;min-width:200px;max-width: 250px;}
.qst-row { display: table-row; padding-top:3px;}
/*.qst-odd {background-color: #f8f8f8;}*/
.qst-cell { display:table-cell;padding:3px 17px 3px 10px; width:5%;vertical-align: top;text-align: center;position: relative;}
.qst-cell-shifted {padding-top:35px;}

h1.pasDeResponse {color: bisque;text-align: center;}
h2 {color:rgb(16,114,189);font-size: 14px;background-color:rgb(251,229,215);padding:7px;text-align: center;font-weight:500; }
h4 {color:rgb(16,114,189);font-size:95%; font-family: sans-serif;font-weight: 600; font-style: italic}
h5 {color:rgb(16,114,189);font-size:85%;font-weight: 600;}

.qst-l-titre {background-color: #faf5ee;clear:both;border-radius: 6px; margin-top:10px;padding:5px 10px 1px 10px;}
.qst-l-titre.qst-l-delimiteur {
    background-color: #fdfdc7;
    text-align: center;
    margin-top: 50px;
}
.qst-l-titre.qst-l-delimiteur * {
    color: #82835b;
    font-style: inherit;
    font-weight: 500;
}

textarea {color:rgb(16,114,189);}
small {color:gray}
label {color:rgb(16,114,189);font-size:75%;line-height: 180%;font-weight: 200;}
label.error {
    position: absolute;
    bottom: -10px;
    color: rgb(218, 89, 89);
    font-weight: 100;
    left: 0;
    width: 100%;
    text-align: center;
    min-height: initial;
    padding: 0;
    font-size: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-bottom: 0;
}
.checkbox,  .radio {display: table-cell;padding-left: 10px;white-space: nowrap;}
.radio input[type="radio"], .radio-inline input[type="radio"], .checkbox input[type="checkbox"], .checkbox-inline input[type="checkbox"] {
    margin-left: -10px;
    margin-top: 2px;
}

.qst-notes {background:none;margin-bottom: 0;border:none;}
.qst-notes p {color: #939393;font-weight: 200;font-size:87%;}


.input-xs {
    height: 22px;
    padding: 2px 5px;
    font-size: 75%;
    line-height: 1.5; /* If Placeholder of the input is moved up, rem/modify this. */
    border-radius: 3px;
}

.qst-cell .input-xs {margin-top:5px;
                     max-width:100px;
                     min-width:100px;
                     margin-left: auto;
                     margin-right: auto;
}
.qst-cell textarea {max-width:200px;min-height: 80px;}

.qst-cell h5{margin-bottom:0;}

.qst-caption h5 {color:rgb(16,114,189);font-size:95%;}

.qst-atom-has-value input{border-color:green}

.clear_btn {
    font-size: 20px;
    line-height: 21px;
    padding: 1px;
    height: 15px;
    width: 15px;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 12px;
    opacity: 0.5;
    display: none;
}
.clear_btn:hover {opacity: 1;}

/* Chrome, Safari, Opera */
@-webkit-keyframes hl {
    0%   {background-color: white;}
    25%  {background-color: rgb(251,229,215);}
    100% {background-color: rgb(255,235,221);}
}

/* Standard syntax */
@keyframes hl {
    0%   {background-color: white;}
    50%  {background-color: rgb(251,229,215);}
    100% {background-color: rgb(255,235,221);}
}

.toggle.btn {
    width: 50px !important;
    height: 18px !important;
    padding: 0;
    min-width: 50px !important;
    min-height: 18px !important;
}
.toggle-on.btn {
    font-size: 10px;
    line-height: 17px;
    padding: 0 12px 0 0 !important;
}
.toggle-off.btn {
    font-size: 10px;
    line-height: 17px;
    padding: 0 0 0 12px !important;
}
.toggle-handle {
    top: -3px;
}
input.chiffreInput {max-width:56px; text-align:right}

.display-none {display: none;}
.line-through {text-decoration: line-through;}
.line-through:hover {text-decoration: line-through;}
.text-green {color: #03bd82;}
.text-green>a {color: #03bd82 !important;}
.text-green:hover {color: #048a5f;}
.sommaireComplete {color: #03bd82 !important;}
.sommaireInProcess {color: #ff9b00 !important;}

.site-index {margin-top:50px;}

.pourcentageTotalInput{
    visibility: hidden;
    position: absolute;
    height: 0;
    width: 0;
}


form.pasDeReponse div.questionBody, form.pasDeReponse>h4 {
    opacity: 0.4;
    background: ivory;
}

label.error {overflow: visible;}

.questionBody .qst-cell .requiredStar{
    color: #464646;
    display: table-cell;
    font-size: 20px;
    line-height: 10px;
    position: relative;
    right: 3px;
    top: 7px;
}

.histo_values { opacity: 0.8; font-style: italic; }
.histo_values:hover { opacity: 1; }
.histo_values .histo_annee { 
    font-size: 8px; 
    font-weight: 600;
    margin-right: 3px;
    color: rgb(16,114,189);
    cursor: default;
}
.histo_values .histo_value { 
    font-size: 11px; 
    font-weight: 100;
    color: #181818;
}

.field-contactform-phone {display: none;}
