﻿body {
    font-family: 'open sans', sans-serif;
    overflow-x: hidden;
}

a {
    color: #5d5d5d;
}

@media screen and (max-width: 991px) {
    body {
        /*padding-top: 110px; /*Serve  se viene utilizzata la navbar top*/
        /*padding-bottom: 140px; /*Serve se viene utilizzata la navbar footer*/
        font-size: 13px;
        
    }
}

@media screen and (min-width: 992px) {
    body {
        /*padding-top: 350px; /*Serve  se viene utilizzata la navbar top*/
        /*padding-bottom: 90px; /*Serve se viene utilizzata la navbar footer*/
        font-size: 13px;
    }
}

.form-control, .btn, .well {
    font-size: 13px;
}


.m_btn_custom:hover {
    background-color: #273683;
    color: #FFFFFF;
}

.m_nav-custom {
    background-color: #428bca;
}


    .m_nav-custom .nav > li:focus,
    .m_nav-custom .nav > li:hover {
        background-color: #FFFFFF;
        color: #428bca;
    }


.m_table_header {
    background-color: #5d5d5d;
    color: White;
    font-weight: bold;
}

.uppercase {
    text-transform: uppercase;
}

.sfondo {
    background: url(AreeSfondo.png) no-repeat;
    height: 750px;
}

/* CSS per gestione fototessera */

.imageBox {
    position: relative;
    height: 260px;
    width: 236px;
    border: 1px solid #aaa;
    background: #fff;
    overflow: hidden;
    background-repeat: no-repeat;
    cursor: move;
}

    .imageBox .thumbBox {
        position: absolute;
        /*top: 50%;
    left: 50%;*/
        height: 260px;
        width: 236px;
        /*margin-top: -100px;
    margin-left: -100px;
    border: 1px solid rgb(102, 102, 102);
    box-shadow: 0 0 0 1000px rgba(0, 0, 0, 0.5);
    background: none repeat scroll 0% 0% transparent;*/
    }

    .imageBox .overlay {
        position: absolute;
        top: 0;
        left: 0;
        height: 260px;
        width: 236px;
        background-image: url('../Images/Sagoma.png');
        background-size: contain; /* L'immagine si adatta al div */
        pointer-events: none; /* Permette l'interazione solo con l'immagine caricata */
        opacity: 0.5; /* Imposta la trasparenza dell'overlay */
    }

    .imageBox .spinner {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        text-align: center;
        line-height: 400px;
        background: #aaa;
    }

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 150px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 150px;
    background-color: #428bca;
}

.default-foto {
    background-image: url('../Images/user-default.png');
    height: 260px;
    width: 236px;
    border: 1px solid grey;
}

/* Personalizzazoni
    ----------------------------------------------------------------------------------------*/
.top-header {
    padding-left: 8.5%;
    padding-right: 8.5%;
    background-color: #fff;
    padding-top: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #CBD7DA;
}

.modal-content {
	border-color: #FFFFFF;
}

.modal-header {
    background-color: #000;
    color: #FFFFFF;
}

.btn-close {
	filter: invert(1);
}
		
.sub-header {
    height: 150px;
    border-bottom: 1px solid #fff;
}

.navbar {
    padding-bottom: 1rem;
}
.navbar-top{
    background-color:#f8f8f8;
}

.navbar-top .btn.btn-default {
    border: none;
    background-color: transparent;
    height: 165px;
    border-bottom: 2px solid transparent;
	border-radius:3px;				  
}

.navbar-top .btn.btn-default {
    font-size: 14px;
    font-weight: 700;
}

    .navbar-top .btn.btn-default:hover,
    .navbar-top .btn.btn-default:focus,
    .navbar-top .btn.btn-default:active {
        background-color: #ECF0F1;
        border-bottom: 2px solid #5d5d5d;
    }

.navbar-top h1 {
    font-weight: 700;
    padding-top: 50px;
}

.m_nav-custom {
    background-color: #ECF0F1;
    
}

    .m_nav-custom .navbar-nav > li > a,
    .m_nav-custom .navbar-nav > li > div > a {
        color: #5d5d5d;
        text-transform: uppercase;
        font-weight: 600;
        letter-spacing: 0.05em;
        text-decoration: none !important;
    }

        .m_nav-custom .navbar-nav > li > a:focus,
        .m_nav-custom .navbar-nav > li > a:hover,
        .m_nav-custom .navbar-nav > li > div > a:focus,
        .m_nav-custom .navbar-nav > li > div > a:hover {
            color: #c6c6c6;
        }

.panel-info {
    border: none;
    margin-top: 35px;
}

    .panel-info .panel-heading {
        background: none;
        border: none;
        color: #000000;
    }

        .panel-info .panel-heading .panel-title {
            font-weight: 700;
            font-size: 1.5em;
        }

.control-label {
    color: #5d5d5d;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 13px;
}

.form-control {
    border-radius: 2px;
    /*height: 36px;*/
}

.form-check-input {
    transform: scale(1.4);
}

.card-horizontal {
    display: flex;
    flex: 1 1 auto;
}

.card-booking {
    box-shadow: 0 0 7px 0 rgba(117,117,117,0.4);
    padding: 15px;
    margin-top: 18px;
    margin-bottom: 18px;
    border-radius: 5px;
}

.btn {
    border-radius: 3px;
    text-transform: uppercase;
    padding: 1.2em 2.5em;
    letter-spacing: 0.05em;
    font-weight: 700;					 
}

.btn-danger {
    background-color: #DB1751;
}

.req {
    color: #DB1751;
}

.m_btn_custom {
    background-color: #c6c6c6;
    color: #5d5d5d;
    margin-right: 15px;
}

.m_btn_annulla {
    color: #FFFFFF;
    background-color: #5d5d5d;
    border: 1px solid #c6c6c6;
}

.m_btn_slim {
    background-color: #c6c6c6;
    color: #5d5d5d;
    height: 36px;
    padding: 9px 13px;
}

.m_btn_xslim {
    background-color: #c6c6c6;
    color: #5d5d5d;
    height: 23px;
    padding: 0px 7px;
}

.card-header {
    background-color: #c6c6c6;
	color: #5d5d5d;
}

.input-group-btn .btn {
    height: 36px;
    padding: 9px 13px;
}
.input-group-text {
    font-size: 14px;
}
.toast-header{
	background-color: rgba(0,0,0,.85);
	color: white;
}

footer {
    box-shadow: 0 0 7px 0 rgba(117,117,117,0.4);
}

.footer {
    background-color: #FFFFFF;
    color: #4C4D4B;
}

    .footer .container-fluid {
        color: #5d5d5d;
        margin-top: 20px;
        padding-left: 8.5%;
        padding-right: 8.5%
    }

        .footer .container-fluid a {
            color: #5d5d5d;
        }

.logotplheader {
    width: 100px;
}

.logotplfooter {
    width: 65px;
}

.sub-footer {
    border-top: 1px solid rgba(0, 125, 138, 0.2);
}

.panel-login {
    margin-top: -20px;
    margin-bottom: 100px;
}

    .panel-login h4 {
        font-size: 26px;
        font-weight: 700;
        margin-bottom: 45px;
        padding-top: 20px;
    }

    .panel-login small {
        color: #DB1751;
    }

.login-help-box {
    background-color: #F5F7F8;
    padding: 24px 35px 35px 35px;
}

    .login-help-box h4 {
        font-size: 22px;
        margin-bottom: 15px;
        padding: 0;
    }

    .login-help-box p {
        color: #666;
        font-size: 16px;
        font-weight: 400;
        margin-bottom: 20px;
    }

    .login-help-box a {
        font-weight: 700;
        font-size: 16px;
        clear: both;
        margin-bottom: 5px;
        display: block;
    }


.tbl-tesserini tbody tr {
    padding-top: 9px;
	cursor: pointer;
}

.selectpicker {
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 2px;
}

.selected, .selected:hover {
    background-color: #000000 !important;
    color: white;
}

.img-btn {
    height: 45px;
}

.img-container {
    display: block;
    vertical-align: bottom;
    margin-bottom: 15px;
}

input[type=radio], input[type=checkbox] {
    margin-right: 8px;
}

.uc-label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
}

    .uc-label:after {
        color: #DB1751;
        content: " *";
    }

.img-icon, .img-icon img {
    height: 23px;
}

.table-icons td:parent {
    margin-top: 0
}
.table-responsive {
    border-radius: 3px
}			   

.chart-count {
    float:right;
    position: relative;
    top: 0px;
    right: 10px;
    color: white;
    background-color: #DB1751;
    padding: 0px 8px;
    border-radius: 10px;
}

/* Step wizard*/
.stepwizard-step p {
    margin-top: 10px;
}

.stepwizard-row {
    display: table-row;
}

.stepwizard {
    display: table;
    width: 100%;
    position: relative;
}

.stepwizard-step button[disabled] {
    opacity: 1 !important;
    filter: alpha(opacity=100) !important;
}

.stepwizard-row:before {
    top: 14px;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 100%;
    height: 2px;
    background-color: #c6c6c6;
    z-order: 0;
}

.stepwizard-step {
    display: table-cell;
    text-align: center;
    position: relative;
}

.btn-circle {
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 3px 0;
    font-size: 15px;
    line-height: 1.428571429;
    border-radius: 15px;
    border: 2px solid #c6c6c6;
    background-color: #c6c6c6;
    font-weight: bold;
}

.m_btn-circle-ok {
    background-color: #00BBCC;
    color: #fff;
}

.btn-circle[disabled] {
    border: 2px solid #c6c6c6;
    background-color: #FFF;
    opacity: 1;
    color: #c6c6c6;
}

.stepwizard-step p {
    text-transform: uppercase;
    font-weight: bold;
}


.navbar-nav {
    float: none !important;
    margin: 7.5px -15px;
}

    .navbar-nav > li {
        float: none;
    }

        .navbar-nav > li > a {
            padding-top: 10px;
            padding-left: 40px;
        }

@media screen and (max-width: 991px) {
    .chart-count {
        top:-5px;
        right: 8px;
    }

    .m_panel-title {
        margin-top: 60px;
    }

    .m_panel-title2 {
        margin-top: 45px;
    }

    .navbar-header {
        float: none;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }

        .navbar-collapse.collapse {
            /*display: none !important;*/
        }

            .navbar-collapse.collapse.in {
                display: block !important;
            }

   

    .sub-header, .navbar-top .btn.btn-default {
        height: 70px;
    }

    .m_btn_fullwith_sm {
        width: 100%;
        margin-bottom: 20px;
    }

    .content-holder {
        padding-top: 50px;
    }

    .btn-header {
        padding: 5px;
        padding-left: 15px;
        padding-right: 15px;
        height: 70px;
    }

    .btn-header .img-btn{
        height: 30px;
    }
        .btn-header .btn-header-content{
            display:none;
        }

    .img-container{
        margin-bottom: 0;
    }

    .btn-header-container{
        padding-right: 25px;
    }
    .btn-mobile {
        width: 100%;
        margin-bottom: 10px;
    }
    .btn-container {
        text-align: center;
        padding-left: 30px;
        padding-right: 25px;
    }


    

    
}

ul.ui-autocomplete {
    max-height: 350px !important;
    overflow: auto !important;
}

/* Classi per upgrade a bootstap 5*/
.form-horizontal .form-group {
    margin-right: -15px;
    margin-left: -15px;
}

.form-group {
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .form-horizontal .control-label {
        padding-top: 7px;
        margin-bottom: 0;
        text-align: right;
    }
}

/*gestione loader*/


.lds-ring {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
}

    .lds-ring div {
        box-sizing: border-box;
        display: block;
        position: absolute;
        width: 51px;
        height: 51px;
        margin: 6px;
        border: 6px solid #000000;
        border-radius: 50%;
        animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        border-color: #000000 transparent transparent transparent;
    }

        .lds-ring div:nth-child(1) {
            animation-delay: -0.45s;
        }

        .lds-ring div:nth-child(2) {
            animation-delay: -0.3s;
        }

        .lds-ring div:nth-child(3) {
            animation-delay: -0.15s;
        }

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.lds-ring-32 {
    display: inline-block;
    position: relative;
    width: 32px;
    height: 32px;
}

    .lds-ring-32 div {
        box-sizing: border-box;
        display: block;
        position: absolute;
        width: 25px;
        height: 25px;
        margin: 3px;
        border: 3px solid #000000;
        border-radius: 50%;
        animation: lds-ring-32 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        border-color: #000000 transparent transparent transparent;
    }

        .lds-ring-32 div:nth-child(1) {
            animation-delay: -0.45s;
        }

        .lds-ring-32 div:nth-child(2) {
            animation-delay: -0.3s;
        }

        .lds-ring-32 div:nth-child(3) {
            animation-delay: -0.15s;
        }

@keyframes lds-ring-32 {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}