@charset "UTF-8";

.mdr-wysiwyg {
    display: flex;
    flex-direction: column;
    padding: var(--mdr--padding-vertical) 0;
}

.mdr-wysiwyg__container {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    width: 100%;
    max-width: 1680px;
    padding: 0 var(--mdr--padding-vertical);
}

.mdr-wysiwyg__container h1,
.mdr-wysiwyg__container h2 {
    font-family: "Black Mango";
    font-size: 28px;
    line-height: 1.1em;
    margin-bottom: 30px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.mdr-wysiwyg__container h3,
.mdr-wysiwyg__container h4,
.mdr-wysiwyg__container h5,
.mdr-wysiwyg__container h6 {
    font-size: 22px;
    line-height: 1.1em;
    font-weight: bold;
    margin-bottom: 20px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}
.mdr-wysiwyg__container p {
    font-size: 18px;
    line-height: 1.4em;
    color: black;
    margin-bottom: 30px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    /*max-width: 968px;*/
}
.mdr-wysiwyg__container p[style="text-align: center;"] {
    margin-right: auto;
    margin-left: auto;
    max-width: 700px;
    text-align: left !important;
}
.mdr-wysiwyg__container h1 img,
.mdr-wysiwyg__container h2 img,
.mdr-wysiwyg__container h3 img,
.mdr-wysiwyg__container h4 img,
.mdr-wysiwyg__container h5 img,
.mdr-wysiwyg__container h6 img {
    border-radius: 0;
    overflow: inherit;
}
.mdr-wysiwyg__container img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    overflow: hidden;
}
.mdr-wysiwyg__container img.aligncenter {
    margin: 0 auto;
}
.mdr-wysiwyg__container sup {
    vertical-align: middle;
}
.mdr-wysiwyg__container strong {
    font-weight: bold;
}
.mdr-wysiwyg__container em {
    font-weight: 300;
}
.mdr-wysiwyg__container a {
    text-decoration: underline;
}
.mdr-wysiwyg__container a.cta {
    color: var(--secondary-color);
    padding: 20px 30px;
    border-radius: 10px;
    border: 1px solid var(--mdr--eggplant-purple);
    background-color: var(--mdr--eggplant-purple);
    color: var(--mdr--pure-white);
    text-decoration: none;
    transition: all 350ms ease-in-out;
}
.mdr-wysiwyg__container a.cta:hover {
    background-color: var(--crf--blue);
    color: var(--mdr--eggplant-purple);
    border: 1px solid var(--mdr--eggplant-purple--30);
}

.mdr-wysiwyg__container ul,
.mdr-wysiwyg__container ol {
    margin-bottom: 30px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    /* padding-left: 20px; */
}
.mdr-wysiwyg__container ul ul,
.mdr-wysiwyg__container ul ol,
.mdr-wysiwyg__container ol ul,
.mdr-wysiwyg__container ol ol {
    margin-bottom: 0;
}
.mdr-wysiwyg__container li {
    list-style: inherit !important;
    /*max-width: 968px;*/
    font-size: 18px;
    line-height: 1.4em;
}

.mdr-wysiwyg__container ol li::marker,
.mdr-wysiwyg__container ul li::marker {
    font-size: 100%;
    font-weight: bold;
}

.mdr-wysiwyg__container table {
    background: var(--mdr--light-grey);
    border-spacing: 0;
    border-collapse: separate!important;
    border-radius: 10px;
    margin-bottom: 30px;
    padding: 0 15px;
    max-width: 100% !important;
    
    width: 100% !important;
    height: inherit !important;
    
    display: flex;
    overflow: auto;
}

/* Apply a border to the right of all but the last column */

.mdr-wysiwyg__container table td {
    padding: 15px;  
    min-width: 200px;
}
/*.mdr-wysiwyg__container table td.fond-colore {*/
  
/*}*/
.mdr-wysiwyg__container table tr:first-of-type td:first-of-type {
    border-top-left-radius: 10px;
}
.mdr-wysiwyg__container table tr:first-of-type td:last-of-type {
    border-top-right-radius: 10px;
}
.mdr-wysiwyg__container table tr:last-of-type td:first-of-type {
    border-bottom-left-radius: 10px;
}
.mdr-wysiwyg__container table tr:last-of-type td:last-of-type {
    border-bottom-right-radius: 10px;
}

/* Apply a border to the bottom of all but the last row */
.mdr-wysiwyg__container table >thead>tr:not(:last-child)>th,
.mdr-wysiwyg__container table >thead>tr:not(:last-child)>td,
.mdr-wysiwyg__container table >tbody>tr:not(:last-child)>th,
.mdr-wysiwyg__container table >tbody>tr:not(:last-child)>td,
.mdr-wysiwyg__container table >tfoot>tr:not(:last-child)>td,
.mdr-wysiwyg__container table >tfoot>tr:not(:last-child)>th,
.mdr-wysiwyg__container table >tr:not(:last-child)>td,
.mdr-wysiwyg__container table >tr:not(:last-child)>th,
.mdr-wysiwyg__container table >thead:not(:last-child),
.mdr-wysiwyg__container table >tbody:not(:last-child),
.mdr-wysiwyg__container table >tfoot:not(:last-child) {
    border-bottom: 2px solid var(--mdr--light-grey);
}

@media screen and (min-width: 768px) {
    .mdr-wysiwyg__container h1 {
         font-size: 56px;
        line-height: 66px;
    }
    .mdr-wysiwyg__container h2 {
        font-size: 48px;
        line-height: 52px;
    }
    
    .mdr-wysiwyg__container h3 {
        font-size: 24px;
        line-height: 28px;
    }
    .mdr-wysiwyg__container h4,
    .mdr-wysiwyg__container h5,
    .mdr-wysiwyg__container h6 {
        font-size: 16px;
        line-height: 28px;
    }
    .mdr-wysiwyg__container p,
    .mdr-wysiwyg__container li {
        font-size: 18px;
        line-height: 28px;
    }
    
    .mdr-wysiwyg__container table {
        display: table;
        overflow: inherit;
        width: inherit !important;
        height: inherit !important;
    }
    .mdr-wysiwyg__container table td {
        min-width: inherit;
    }
      
}

.mdr-wysiwyg a {
    color: var(--mdr--eggplant-purple);
}



.mdr-wysiwyg iframe {
    max-width: 100%;
}