@import url('https://fonts.googleapis.com/css?family=Lato:400,900&display=swap');

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
}

html, body{
    font-family: 'Lato', sans-serif;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
}

footer {
    padding-bottom: 4em;
}
/*/*For footer:*
body {
display: flex!important;
flex-direction: column!important;
height: 100%!important;
}
footer {
padding-bottom: 4em;
}
.footerpadding{
flex-shrink: 0!important;
}*/

.clear{
    clear: both;
}

.bold{
    font-weight: 900;
}
.green, .green:hover{
    color: #2e9669;
}

.bg-green{
    background-color: #2e9669;
}

.bg-gray{
    background-color: #bfbfbf;
}

.radius-20{
    border-radius: 20px;
}

.margin-top{
    margin-top: 70px;
}

.margin-top-alt{
    margin-top: 20px;
}

.form-control:focus {
    border-color: #2e9669;
    box-shadow: 0 0 0 0.2rem rgba(46, 150, 105, 0.25);
}

.btquesthome{
    background-color: #2e9669; 
    border-radius: 10px;
}

.btquesthomedis{
    background-color: rgba(46, 150, 105, .5)!important;
}

.logincontainer{
    background-color: #deefe7;
    margin-top: 100px;
    border-radius: 10px;
}

.logininput{
    border: 2px solid #2e9669;
    border-radius: 10px;
}

.questcontainer{
    background-color: #f4f4f4;
    border-radius: 10px;
}

.questtitle{
    background-color: #2e9669;
    border-radius: 10px 10px 0px 0px;
}

.modalbg{
    background-color: rgba(46, 150, 105, 0.75);
}

.modalbody{
    background-color: #f4f4f4;
    border-radius: 20px;
}

.preslides{
    /*margin-top: 200px;
    margin-bottom: 200px;*/
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.showslides{
    background-color: #2e9669;
    margin-top: 15vh;
}

.small-size{
    font-size: 80%;
}

.small-size-2{
    font-size: 85%;
}

.footerpadding{
    padding-bottom: 6em;
}

/*Radio*/
.custom-control {
    padding-left: 3.5rem;
}

.custom-radio .custom-control-label::before {

    border-color: #2e9669 !important;

    border-width: 3px;
    /*border-width: 2px;*/
    width: 2rem;
    height: 2rem;
    left: -2.5rem;
    top: 0.13rem;
}
.custom-control-input:checked~.custom-control-label::before {
    color: #fff;
    border-color: #2e9669;
    background-color: #fff;
}

.custom-control-label::after {
    width: 2rem;
    height: 2rem;
    left: -2.5rem;
    top: 0.13rem;
}

.custom-radio .custom-control-input:checked~.custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%232e9669'/%3e%3c/svg%3e");
}


/*Carousel*/
.carousel-indicators li.active {
    background-color: #2e9669;
    border-color: #2e9669;
}

.carousel-indicators li {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background-color: #fff;
    border: solid 1px #000;
}

.carousel-control-next-icon, .carousel-control-prev-icon {
    /*background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%232e9669' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");*/
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%232e9669' viewBox='0 0 24 24'%3E%3Cpath d='M14 2h-7.229l7.014 7h-13.785v6h13.785l-7.014 7h7.229l10-10z'/%3E%3C/svg%3E");
    width: 45px;
    height: 45px;
}

.carousel-control-prev-icon {
    /*background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%232e9669' viewBox='0 0 24 24'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");*/
    transform: scaleX(-1);
}

.carousel-control-next .sr-only, .carousel-control-prev .sr-only {
    overflow: visible;
    clip-path: none;
    clip: unset;
    width: auto;
    height: auto;
    margin-top: 75px;
    color: #2e9669;
}

.modal-content{
    min-height: 88vh;
}
/*no alone input*/
.custom-control-input:focus~.custom-control-label::before {
    box-shadow: none;
}

button:focus {
    box-shadow: none !important;
}

/*header diviso*/
header {
    background: linear-gradient(0deg, rgba(0,0,0,0) 39%, #f4f4f4 39%);
}

.table-striped>tbody>tr:nth-child(odd)>td,
.table-striped>tbody>tr:nth-child(odd)>th {
    background-color: #abd5c3;
}

/*Paginazione*/
hr {
    background-color: #828693;
    height: 1px;
}

.page-link {
    background-color: rgba(0,0,0,0);
    border: none;
    padding: .3rem .5rem;
    font-weight: 900;
}

.page-link:hover {
    z-index: 2;
    color: none;
    text-decoration: none;
    background-color: rgba(0,0,0,0);
    border-color: rgba(0,0,0,0);
    cursor:default;
}

.page-link.prev{
    color: #2e9669;
    opacity: .85;
}
.page-link.active{
    color: #2e9669;
    opacity: 1;
}
.page-link.next{
    color: #828693;
    opacity: 1;
}


#modal-legal * .modal-header h5{
    font-weight: 700;
}

#modal-legal * .modal-body h5, .modal-header h5{
    font-weight: 700;
    margin-bottom: 1.1em;
}

#modal-legal * .modal-body p{
    font-size: 0.8em;
    margin-bottom: 1.1em;
}

#modal-legal * .modal-body ul{
    margin: 1em 0;
}
#modal-legal * .modal-body ol{
    margin: 1em 0;
}

#modal-legal * .modal-body li{
    font-size: 0.8em;
    margin-left: 1.1em;
}

#modal-legal * .modal-body table{
    font-size: 0.8em;
    margin-bottom: 1.1em;
}

/*Mobile*/
@media only screen and (max-width: 1200px){
    /* For tablets: */
    @media only screen and (max-width: 775px){
        @media only screen and (min-width: 601px){
            .mobileformat{
                font-size: 75%;
            }
        }
    }
    img.d-block.w-75{
        width: 100% !important;
    }
    .modal-body{
        padding: .4rem;
    }
    #slides {
        padding: 0;
    }
    .sr-only {
        display: none;
    }
    .carousel-control-next-icon, .carousel-control-prev-icon{
        width: 25px;
        height: 25px;
    }
    /*.fixed-bottom {
    position: relative;
}*/
    #avv.container {
        width: 90%!important;
    }
    .container {
        width: 70%!important;
    }
    .footerpadding {
        padding-bottom: 12em;
    }
    .modal-content {
        min-height: 50vh;
    }
    /*#slides{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

}*/ 
    .mobileformat{
        font-size: 90%;
    }
    .green.mobileformat {
        font-size: 75%;
    }

    /*radio*/
    .custom-control {
        padding-left: 2.3rem;
    }
    .custom-radio label.lead {
        font-size: 1.1rem;
    }
    .custom-radio .custom-control-label::before {
        width: 1.4rem;
        height: 1.4rem;
        left: -1.8rem;
        top: 0.19rem;
    }
    .custom-control-label::after {
        width: 1.4rem;
        height: 1.4rem;
        left: -1.8rem;
        top: 0.19rem;
    }
}

@media only screen and (max-width: 600px) {
    img.d-block.w-75{
        width: 100% !important;
    }
    .container {
        width: 100%!important;
    }
    @media only screen and (max-width: 380px){
        .mobileformat{
            font-size: 75%;
        }
    }
    #showReport {
        margin-top: 0 !important;
    }
    #percentuale {
        margin-bottom: 10px !important;	
    }
    #report-h4 {
        margin: 0 !important;
    }

    /**/
    .modal-header h5{
        font-weight: 700;
    }

    .modal-body h5, .modal-header h5{
        font-weight: 700;
        margin-bottom: 1.1em;
    }

    .modal-body p{
        font-size: 0.8em;
        margin-bottom: 1.1em;
    }

    .modal-body ul{
        margin: 1em 0;
    }
    .modal-body ol{
        margin: 1em 0;
    }

    .modal-body li{
        font-size: 0.8em;
        margin-left: 1.1em;
    }

    .modal-body table{
        font-size: 0.8em;
        margin-bottom: 1.1em;
    }

    .modal-content {
        min-height: 64vh;
    }
}

@media only screen and (max-height: 550px) {
    /*Smartphone orizzontale*/
    .showslides{
        margin-top: 0; 
    }
    #showeReport {
        padding: .5rem 1.5rem !important;
    }
    #showReport {
        margin-top: 0 !important;
    }
    #percentuale {
        margin-bottom: 10px !important;	
    }
    #report-h4 {
        margin: 0 !important;
    }

    /**/
    /**/
    .modal-header h5{
        font-weight: 700;
    }

    .modal-body h5, .modal-header h5{
        font-weight: 700;
        margin-bottom: 1.1em;
    }

    .modal-body p{
        font-size: 0.8em;
        margin-bottom: 1.1em;
    }

    .modal-body ul{
        margin: 1em 0;
    }
    .modal-body ol{
        margin: 1em 0;
    }

    .modal-body li{
        font-size: 0.8em;
        margin-left: 1.1em;
    }

    .modal-body table{
        font-size: 0.8em;
        margin-bottom: 1.1em;
    }
}