﻿body {
    color: #2C5282;
    margin: 0 !important;
}

.w3-wrapper {
    max-width: 1400px;
    margin-top: 90px;
    min-height: 84vh;
}

.w3-top, .w3-bottom {
    z-index: 5;
}

.w3-center-align {
    text-align: center;
}

/*THEME*/




.menu-link {
    border: 0;
    display: inline-flex;
    align-items: center;
    background-color: #ffffff;
    color: #2C5282;
    text-decoration: none;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    /*clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);*/
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    gap: 8px;
    position: relative;
    margin: 5px 0;
}

.menu-link .btn-submit {
    color: white !important;
}

input[type=submit], .link-button {
    border: 0;
    display: inline-flex;
    align-items: center;
    background-color: #ffffff;
    color: #2C5282;
    text-decoration: none;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    /*clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);*/
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    gap: 8px;
    position: relative;
    margin: 5px 2px;
}

   .blue-button {
        background: linear-gradient(45deg, #FA9D77 0%, #F55D56 7%, #925169 15%, #26447F 25%, #004087 30%, #002A5E 60%, #001E3F 70%, #0A0D13 85%, #0A0D13 90%);
        color: #FFFFFF !important;
    }

footer {
    color: #FFFFFF ;
}



/*PADDING*/

.w3-no-padding {
    padding: 0px !important;
}

.w3-padding-4 {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}

.w3-padding-8 {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}


.w3-padding-8-top {
    padding-top: 8px !important;
    padding-bottom: inherit;
}

.w3-padding-left {
    padding-left: 16px;
}

.w3-padding-right {
    padding-right: 16px !important;
}

/*MARGIN*/
.w3-padding-x {
    padding-left: 8px;
    padding-right: 8px;
}

.w3-margin-topright {
    margin-top: 8px;
    margin-right: 10px;
}


.w3-margin-4 {
    margin-top: 4px !important;
    margin-bottom: 4px !important;
}

.w3-margin-8 {
    margin-top: 8px !important;
    margin-bottom: 8px !important;
}


.w3-margin-8-top {
    margin-top: 8px !important;
    margin-bottom: inherit;
}

.w3-margin-left {
    margin-left: 16px;
}

.w3-margin-right {
    margin-right: 16px !important;
}



/*BAR*/



.w3-bar .w3-button {
    white-space: normal;
}

.w3-link-button {
    border: none;
    display: inline-block;
    padding: 8px 8px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background-color: inherit;
    text-align: center;
    cursor: pointer;
}

.w3-bar .fas {
    font-size: 24px;
    min-width: 20px;
}

#navXs {
    margin-top: 84px;
}

#CompanyLogo {
    height: 60px;
    padding-left: 20px;
    padding-right: 30px;
}

#home {
    padding: 20px 14px 20px 14px !important;
}

.w3-bar .w3-fa-bars {
    padding: 20px 14px 16px 14px !important;
}

.w3-fa-nav {
    padding: 26px 14px !important;
}

.w3-bar .w3-bar-item {
    padding: 18px 16px 22px 16px !important;
}

.w3-bar-item-logo {
    padding: 0 5px 0 0 !important;
    float: left;
    width: auto;
    border: none;
    display: block;
    outline: 0
}

.w3-bar .w3-dropdown-hover, .w3-bar .w3-dropdown-click {
    position: static;
    float: left;
    padding: 0px 0px 0px 0px;
}

.w3-bar .w3-bar-item-bottom {
    padding: 10px 12px !important;
}

/*BER, MENU e RIGA TITOLI*/
.menu-titoli {
    background: #09447c !important;
    color: #FFF;
}

.modal-bar {
    background: #1c2e5c;
    color: #FFF;
}



/*MODAL*/
@media (max-width:400px) {
    .w3-modal-content {
        width: 400px
    }

    .w3-modal {
        padding-top: 30px;
        padding-bottom: 30px
    }
}


/*TOOLTIP*/
.tooltip-text {
    position: absolute;
    display: none;
    padding: 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 3px;
    transition: opacity 1s ease-out;
    margin: 10px 25px;
}

.tooltip-text-right {
}

.w3-button {
    transition: .5s ease-in-out;
}

    .w3-button:hover > .tooltip-text {
        display: block;
        color: white;
        animation: fadeIn 0.5s;
    }


a {
    transition: .5s ease-in-out;
}

    a:hover > .tooltip-text {
        display: block;
        color: white;
        animation: fadeIn 0.5s;
        z-index: 1;
        width: 200px;
    }

.docType {
    transition: .5s ease-in-out;
}

    .docType:hover > .tooltip-text {
        display: block;
        color: white;
        animation: fadeIn 0.5s;
        z-index: 1;
        width: 200px;
    }

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/*XS*/
@media (max-width: 600px) {
    .w3-col.xs1 {
        width: 8.33333%
    }

    .w3-col.xs2 {
        width: 16.66666%
    }

    .w3-col.xs3 {
        width: 24.99999%
    }

    .w3-col.xs4 {
        width: 33.33333%
    }

    .w3-col.xs5 {
        width: 41.66666%
    }

    .w3-col.xs6 {
        width: 49.99999%
    }

    .w3-col.xs7 {
        width: 58.33333%
    }

    .w3-col.xs8 {
        width: 66.66666%
    }

    .w3-col.xs9 {
        width: 74.99999%
    }

    .w3-col.xs10 {
        width: 83.33333%
    }

    .w3-col.xs11 {
        width: 91.66666%
    }

    .w3-col.xs12 {
        width: 99.99999%
    }

    .w3-float-xs-left {
        float: left !important;
    }
}

/*XXS*/
@media (max-width: 400px) {
    .w3-col.xxs1 {
        width: 8.33333%
    }

    .w3-col.xxs2 {
        width: 16.66666%
    }

    .w3-col.xxs3 {
        width: 24.99999%
    }

    .w3-col.xxs4 {
        width: 33.33333%
    }

    .w3-col.xxs5 {
        width: 41.66666%
    }

    .w3-col.xxs6 {
        width: 49.99999%
    }

    .w3-col.xxs7 {
        width: 58.33333%
    }

    .w3-col.xxs8 {
        width: 66.66666%
    }

    .w3-col.xxs9 {
        width: 74.99999%
    }

    .w3-col.xxs10 {
        width: 83.33333%
    }

    .w3-col.xxs11 {
        width: 91.66666%
    }

    .w3-col.xxs12 {
        width: 99.99999%
    }

    .w3-float-xxs-left {
        float: left !important;
    }
}

/*XL*/
@media (min-width: 1400px) {
    .w3-col.xl1 {
        width: 8.33333%
    }

    .w3-col.xl2 {
        width: 16.66666%
    }

    .w3-col.xl3 {
        width: 24.99999%
    }

    .w3-col.xl4 {
        width: 33.33333%
    }

    .w3-col.xl5 {
        width: 41.66666%
    }

    .w3-col.xl6 {
        width: 49.99999%
    }

    .w3-col.xl7 {
        width: 58.33333%
    }

    .w3-col.xl8 {
        width: 66.66666%
    }

    .w3-col.xl9 {
        width: 74.99999%
    }

    .w3-col.xl10 {
        width: 83.33333%
    }

    .w3-col.xl11 {
        width: 91.66666%
    }

    .w3-col.xl12 {
        width: 99.99999%
    }

    .w3-float-xl-left {
        float: left !important;
    }
}

/*FONT*/
.w3-bold {
    font-weight: bold;
}

/*VALIDATION*/
.validation:invalid {
    background-color: #ffdddd !important;
    border-color: #f44336 !important;
}

.validation:valid {
    background-color: inherit;
    border-color: inherit;
}

/*INPUT NO ARROWS*/
/* Chrome, Safari, Edge, Opera */
input.noarrow::-webkit-outer-spin-button,
input.noarrow::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input.noarrow[type=number] {
    -moz-appearance: textfield;
}

/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 250px; /* Set a default minimum width */
    margin-left: -125px; /* Divide value of min-width by 2 */
    /*background-color: #333;*/ /* Black background color */
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 1; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    bottom: 50px; /* 30px from the bottom */
}

    /* Show the snackbar when clicking on a button (class added with JavaScript) */
    #snackbar.show {
        visibility: visible; /* Show the snackbar */
        /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
  However, delay the fade out process for 2.5 seconds */
        -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
        animation: fadein 0.5s, fadeout 0.5s 2.5s;
    }

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 50px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 50px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 50px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 50px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}


/*CHIPS*/
.chip {
    display: inline-block;
    padding: 0 15px;
    height: 30px;
    font-size: 18px;
    line-height: 30px;
    border-radius: 25px;
    background-color: #f1f1f1;
}

    .chip img {
        float: left;
        margin: 0 10px 0 -25px;
        height: 30px;
        width: 30px;
        border-radius: 50%;
    }

.closebtn {
    padding-left: 10px;
    color: #888;
    font-weight: bold;
    float: right;
    font-size: 25px;
    cursor: pointer;
}

    .closebtn:hover {
        color: #000;
    }
