/******************
    User custom CSS
    ---------------

    In this file you can add your own custom CSS
    It will be loaded last, so you can override any other property.
    Also, it will never be updated. So if you inheritate a core template and just add here some CSS, you'll still benefit of all the updates
*/

:root {
    --fgreen: #33cc33;
    --fblack: #444444;
    --fdarkgrey: #4B555F;
    --flightgrey: #eee;
}

/* F logo style 
   ========================================================================== */
   
.f-logo-full {
    max-width: 30%;
    margin: 3rem;
}
/* F Button style 
   ========================================================================== */

.fruity .btn-primary {
    background-color: var(--fdarkgrey);
    border: none;
}

.fruity .btn-primary:hover {
    background-color: var(--fgreen);
    color: white;
    border: none;
}

.fruity .btn-default:hover, .fruity .btn-default:focus, .fruity .btn-default:active, .fruity .btn-default.active, .fruity .open .dropdown-toggle.btn-default{
    background-color: var(--fgreen);
    color: white;
    border: none;
}

.form-change-lang {
    justify-content: flex-end;
    align-items: center;
}

/* F link 
   ========================================================================== */

.fruity a {
    color: var(--fgreen);
    text-decoration: none;
}
.fruity a:hover {
    color: var(--fgreen);
    border-bottom: 1px solid;
    padding-bottom: 2px;
}


/* F text style 
   ========================================================================== */

.fruity .survey-welcome {
    color: var(--fblack);
    font-weight: normal;
    margin-top: 3rem;
    margin-bottom: 5rem;
    line-height: 1.5;
}

.fruity .text-primary,.fruity .text-success {
    color: var(--fblack)!important;
}


/* F question style
   ========================================================================== */
   
   .fruity .text-danger.fa.fa-asterisk.small {
    font-size: 50%;
    margin-right: 0.5rem;
}

/* optimized for mobile devices
   ========================================================================== */

@media only screen and (max-device-width: 760px){
    .question-container {
        border: none!important;
    }
/* Can not work perfectly, always show the line in the bottom of  all the items NTD */
    .question-container:not(:last-child)::after {
		content: "";
        border-bottom: 1px solid var(--flightgrey);
        margin-left: calc(var(--bs-gutter-x)*.5);
        margin-right: calc(var(--bs-gutter-x)*.5);
        margin-top: 2rem;
        width: 100%;
	}
    
    .navigator {
        padding-left: calc(var(--bs-gutter-x)*.5);
        padding-right: calc(var(--bs-gutter-x)*.5);
    }
}