/*------------------------------------*\
    $CALCULATEURS
\*------------------------------------*/
/**
 * FORM................
 * POPUP...............
 * GRID................
 */

@import url(//fonts.googleapis.com/css?family=Roboto:400,500,700,300,100);

body {
    font-family: "Roboto", helvetica, arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-rendering: optimizeLegibility;
}

/*------------------------------------*\
    $FORM
\*------------------------------------*/
.entry-content{
    margin-top: 1rem;
}
.pointer{
    cursor: pointer;
}

.text{
    height: 25px;
    border: 1px solid #CCD1CF;
    float: left;
}

.calculateur--eligible_input label, .label, .padding{
    padding-right: 45px;
}
.calculateur__recherche{
    padding:1em;
}
.calculateur--eligible__popup_amount{
    margin-left: 44px;
}

.padding_bottom{
    padding-bottom: 14px;
}

.padding-top{
    padding-top: 15px;
}

.calculateur--eligible_input, .calculateur--eligible__preciser, .calculateur--eligible__preciser--montant, .calculateur_choix, .calculateur--non_eligible{
    padding: 10px 44px 10px 0;
}

.calculateur--eligible__submit_btn, .calculateur--result_recalculer{
    padding: 10px 44px;
    margin: 10px 0px;
}

.error{
    color: red;
}

input {
    padding-left: 5px;
}

.ui-autocomplete-category {
    border-bottom: 1px solid #ddd;
}
.ui-autocomplete-loading {
    background: white url("../loading.gif") right center no-repeat;
    background-size: 20px 20px;
}

label {
    margin-top: 0;
}

.details ul {
    list-style-type: disc;
    padding-left : 2em;
    margin-top: 0.75em;
    margin-bottom: 0;
}

/*------------------------------------*\
    $POPUP
\*------------------------------------*/

.popup {
    position: relative;
    cursor: pointer;
    display: inline-block;
    padding: 10px 44px;
    margin: 10px 44px 10px 0;
}

.popup .popuptext {
    position:absolute;
    top:50%;
    left:50%;
    width:450px;
    height:160px;
    margin-left:-200px;
    margin-top:-50px;
    visibility: hidden;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 8px;
    z-index: 1;
}

.popup .show {
    visibility: visible;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s
}

/*------------------------------------*\
    $GRID
\*------------------------------------*/

.grid-container{
    max-width: 800px;
    margin: 50px auto;
    background-color: lightgray;
}

.row-ptz{
    position: relative;
}
#cost_ptz-error, #amount_ptz-error, #people_ptz-error, #resources_ptz-error, #city_ptz-error{
    right: 0px;
    position: absolute;
    font-size: 11px;
}
#cost_ptz-error, #people_ptz-error, #resources_ptz-error{
    bottom: 0;
}

#city_ptz-error{
    bottom: 2px;
}
#amount_ptz-error{
    bottom: 13px;
}

.row-ptz:before,
.row-ptz:after {
    content:"";
    display: table ;
    clear:both;
}

[class*='col-'] {
    float: left;
    min-height: 1px;
    width: 16.66%;
}

.col-1{ width: 16.66%; }
.col-2{ width: 33.33%; }
.col-3{ width: 50%;    }
.col-4{ width: 66.66%; }
.col-5{ width: 83.33%; }
.col-6{ width: 100%;   }
