
.mx--f15 {
    margin-left: -15px;
    margin-right: -15px;
}

.mt--f5 {
    margin-top: 5px;
}

.mt--f10 {
    margin-top: 10px;
}

/* HEADER & FOOTER */

#header {
    background-color: #fff;
}

.pws footer {
    margin-left: 0 !important;
}

footer.footer-common, .footer {
    margin-top: 50px;

    /* FIX FOOTER UCG IN AUTHOR MODE */
    position: static !important;
    width: 100% !important;
    height: auto !important;
}

.footer_bottom {
    padding-top: 0;
}

.close-button .icon-close {
    background-image:
        url(../img/static/menu-nav-sidebar-x.png),
        url(/etc/designs/ucpublic/it/img/icons/menu-nav-sidebar-x.png);
    background-position: center center;
    background-repeat: no-repeat;
    width:100% !important;
    height: 100% !important;
    display: block;
}

.close-button {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px !important;
    height: 30px !important;
    background: #c3c3c3;
    border-radius: 50%;
    margin-right: 30px;
    margin-top: 25px;
    padding-bottom: 0 !important;
}



/* INFORMATIVA COOKIE */

.informativa_cookie_wrapper *{
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

.informativa_cookie_wrapper .header .header__title {
    text-align: center;
    margin-bottom: 60px;
}

.informativa_cookie_wrapper .header .header__title h1{
    font-family: 'unicredit-light';
    font-size: 40px;
    font-weight: 500;
    line-height: 1.1;
    color: #333;
    margin-top: 0;
}



.informativa_cookie_wrapper .main_content p{
    /* font-family: Arial,"Helvetica Neue",Helvetica,sans-serif; */
    font-size: 16px;
    line-height: 1.42857143;
    /* color: #333; */
    margin: 0 0 10px;
}


.informativa_cookie_wrapper .main_content h2{
    font-family: "unicredit-regular";
    font-size: 30px;
    font-weight: 500;
    font-style: normal;
    line-height: 1.1;
    color: inherit;
    -webkit-margin-before: 1em;
            margin-block-start: 1em;
    -webkit-margin-after: 1em;
            margin-block-end: 1em;
    margin-bottom: 10px;
    margin-top: 20px;
}

.informativa_cookie_wrapper .main_content h3{
    font-family: "unicredit-regular";
    font-size: 24px;
    font-weight: 500;
    font-style: normal;
    line-height: 1.1;
    color: inherit;
    -webkit-margin-before: 1em;
            margin-block-start: 1em;
    -webkit-margin-after: 1em;
            margin-block-end: 1em;
    margin-bottom: 10px;
    margin-top: 20px;
}

.informativa_cookie_wrapper .main_content p:first-of-type {
    margin-top: 20px;
}

.informativa_cookie_wrapper .switch {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    /* -ms-flex-wrap: wrap;
    flex-wrap: wrap; */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.informativa_cookie_wrapper [data-filling-state] .filling-state-feedback {
    margin-top: 10px;
}

.informativa_cookie_wrapper .filling-state-feedback [data-filling-state-feedback] {
    display: none;
}

.informativa_cookie_wrapper [data-filling-state=""] .filling-state-feedback [data-filling-state-feedback=""],
.informativa_cookie_wrapper [data-filling-state="not-accepted"] .filling-state-feedback [data-filling-state-feedback="not-accepted"],
.informativa_cookie_wrapper [data-filling-state="accepted"] .filling-state-feedback [data-filling-state-feedback="accepted"],
.informativa_cookie_wrapper [data-filling-state="none"] .filling-state-feedback [data-filling-state-feedback="none"],
.informativa_cookie_wrapper [data-filling-state="some"] .filling-state-feedback [data-filling-state-feedback="some"],
.informativa_cookie_wrapper [data-filling-state="all"] .filling-state-feedback [data-filling-state-feedback="all"] {
    display: block;
    margin-top: 0;
}

.informativa_cookie_wrapper .switch .toogle_switch{
    position: relative;
    display: inline-block;
    width: 30px;
    height: 15px;
    -ms-flex: 0 0 30px;
    flex: 0 0 30px;
    margin: 0;
    margin-right: 10px;
}

.informativa_cookie_wrapper .switch .toogle_switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}
  
.informativa_cookie_wrapper .switch .toogle_switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
}
  
.informativa_cookie_wrapper .switch .toogle_switch .slider:before {
    position: absolute;
    content: "";
    height: 11px;
    width: 11px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
}
  
.informativa_cookie_wrapper .switch .toogle_switch input:checked + .slider {
    background-color: #24c792;
}
  
.informativa_cookie_wrapper .switch .toogle_switch input:focus + .slider {
    -webkit-box-shadow: 0 0 1px #24c792;
            box-shadow: 0 0 1px #24c792;
}
  
.informativa_cookie_wrapper .switch .toogle_switch input:checked + .slider:before {
    -webkit-transform: translateX(14px);
    -ms-transform: translateX(14px);
    transform: translateX(14px);
}
  
.informativa_cookie_wrapper .switch .toogle_switch .slider.round {
    border-radius: 34px;
}

.informativa_cookie_wrapper .switch .toogle_switch .slider.round:before {
    border-radius: 50%;
}

.informativa_cookie_wrapper .cookie_table{
    padding: 0 25px;
    margin-bottom: 25px;
}

.informativa_cookie_wrapper .cookie_table .cookie_table__row{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
}

.informativa_cookie_wrapper .cookie_table .cookie_table__heading .cookie_table__row{
   -webkit-box-pack: end;
       -ms-flex-pack: end;
           justify-content: flex-end;
}

.informativa_cookie_wrapper .cookie_table .cookie_table__col-wide{
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
}

.informativa_cookie_wrapper .cookie_table .cookie_table__col{
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
}

.informativa_cookie_wrapper .cookie_table .cookie_table__col-wide,
.informativa_cookie_wrapper .cookie_table .cookie_table__col{
    position: relative;
    width: 100%;
    min-height: 1px;
    padding: 0 20px;
}

.infocookie .button-container {
    padding: 15px;
}

.infocookie .button-container .btn {
    vertical-align: middle;
}

.infocookie .ucg_table {
    font-size: inherit;
}

.informativa_cookie_wrapper .ml-f5 {
    margin-left: 5px;
}

.informativa_cookie_wrapper .main_content.ml-f50 {
	margin-left: 50px;
}

.infocookie table.dataTable tr td:nth-child(2){
    word-break: break-all;
}

@media (max-width: 767px){
    .infocookie .button-container.sticky-bottom {
        position: -webkit-sticky;
        position: sticky;
        bottom: 0;
        background-color: #fff;
    }
    .close-button {
        margin-right: 15px;
        margin-top: 15px;
    }
}



/* STYLES FOR UNICREDIT GROUP WEBSITE ONLY */

.container {
    max-width: 970px;
}
body.pws {
    margin-top: 80px;
}
body.pws,
.ucg_image_text .ucg_txt,
.ucg_image_text .ucg_txt ul,
.ucg_image_text .ucg_txt ol,
.ucg_image_text .ucg_txt p {
    font-family: "Arial", "Helvetica Neue", "Helvetica", sans-serif;
    font-size: 16px;
}
.pws input[type="radio"] {
    position: absolute;
    clip: rect(1px,1px,1px,1px);
    margin-left: 10px;
}
.pws input[type="radio"], .pws input[type="checkbox"] {
    margin: 4px 0 0;
    margin-top: 1px;
    line-height: normal;
}
.pws input[type="radio"]:checked + label {
    background-image: url('/etc/designs/ucpublic/it/img/input_elements/radio_retina/radio_standard_on@2x.png');
}
.pws input[type="radio"] + label {
    padding: 4px 4px 4px 24px;
    cursor: pointer;
    background: url('/etc/designs/ucpublic/it/img/input_elements/radio_retina/radio_standard_off@2x.png') left center no-repeat;
    background-image: url("/etc/designs/ucpublic/it/img/input_elements/radio_retina/radio_standard_off@2x.png");
    background-size: 22px 22px;
    display: inline-block;
    min-height: 22px;
    vertical-align: middle;
}
.pws label {
    font-size: 16px;
    color: #333;
    font-family: "unicredit-regular";
    font-weight: normal;
}

#header {
    width: 100%;
    font-size: 14px;
}

#footer {
    position: static;
    font-size: 14px;
    width: 100% !important;
}

#footer .darkGreyFooter {
    padding-top: 0;
}

#footer .footer-row:not(:last-child){
    display: none;
}

.infocookie .button-container a button { margin: 0; }

.pws .has-error input[type="radio"] + label {
    background-image: url('/etc/designs/ucpublic/it/img/input_elements/radio_retina/radio_error_off@2x.png');
}

@media (max-width: 767px){
    .infocookie .button-container {
        text-align: center;
    }
    .infocookie .button-container a,
    .infocookie .button-container button {
        display: block;
        margin: 0;
        width: 100%;
    }
    #header > div {
        float: none;
    }
}
