.container-footer {
    background-color: #191512;
    padding: 20px;
}
.footer-social {
    display: flex;
}
.footer-social li {
    flex-basis: auto;
    margin-right: 20px;
}
.footer-social .copy {
    margin-left: auto;
    font-size: smaller;
    color: rgba(255,255,255, 0.5);
}
.footer-social a {
    color: rgba(255,255,255, 0.7);
}

.footer-small {
    position: fixed;
    left: 0;
    bottom: 0;
    right: 0;
}
.footer-small .logo {
    margin-right: 20px;
}
.footer-small .container-footer {
    max-height: 72px !important;
}

h2.block::after {
    content: none;
}

.icn-width {
    min-width: 30px;
    color: rgba(255,255,255, 0.5);
    text-align: center;
    border-left: 1px dashed rgba(255,255,255, 0.1);
}

.album {
    width: 100%;
}
.album div, .album li {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    margin-bottom: 20px;
    margin-right: 10px;
}
.album img {
    display: inline-block;
}
.circle {
    border-radius: 50%;
}
.album a {
    font-family: Montserrat;
    font-weight: 600;
    font-style: normal;
    color: #9a847c;
    font-size: 11px;
    display: block;
    line-height: 14px;
}

.related {
    width: 100%;
}

.highlight {
    border: 1px solid #ce2626;
    border-radius: 10px;
}
.highlight a {
    color: #ce2626 !important;
}

.pagination {
    display: block;
    width: 100%;
    min-height: 40px;
    margin-bottom: 40px;
    margin-left: -12px;
}
.pagination li {
    padding: 0;
    margin-left: 10px;
    float: left;
    overflow: hidden;
    line-height: 1;
    min-width: 1em;
    font-size: 12px !important;
    border: 1px solid #ededed;
    background-color: white;
}
.pagination li.active {
    background-color: #8dab7f;
    color: white;
}
.pagination a, .pagination .active span, .pagination .disabled span {
    padding: 12px 15px;
    display: block;
}

/* Row, Column */

.su-row {
  clear: both;
  zoom: 1;
  margin-bottom: 1.5em;
}

.su-row:before,
.su-row:after {
  display: table;
  content: "";
}

.su-row:after {
  clear: both;
}

.su-column {
  display: block;
  margin: 0 4% 0 0;
  float: left;
  box-sizing: border-box;
}

.su-column-last {
  margin-right: 0;
}

.su-row .su-column {
  margin: 0 0 0 4%;
}

.su-row .su-column.su-column-size-1-1 {
  margin-left: 0;
  margin-right: 0;
}

.su-row .su-column:first-child {
  margin-left: 0;
}

.su-column-centered {
  margin-right: auto !important;
  margin-left: auto !important;
  float: none !important;
}

.su-column img,
.su-column iframe,
.su-column object,
.su-column embed {
  max-width: 100%;
}

@media only screen {
  [class*="su-column"] + [class*="su-column"]:last-child {
    float: right;
  }
}

.su-column-size-1-1 {
  width: 100%;
}

.su-column-size-1-2 {
  width: 48%;
}

.su-column-size-1-3 {
  width: 30.66%;
}

.su-column-size-2-3 {
  width: 65.33%;
}

.su-column-size-1-4 {
  width: 22%;
}

.su-column-size-3-4 {
  width: 74%;
}

.su-column-size-1-5 {
  width: 16.8%;
}

.su-column-size-2-5 {
  width: 37.6%;
}

.su-column-size-3-5 {
  width: 58.4%;
}

.su-column-size-4-5 {
  width: 79.2%;
}

.su-column-size-1-6 {
  width: 13.33%;
}

.su-column-size-5-6 {
  width: 82.66%;
}

/* Styles for screens that are less than 768px */
@media only screen and (max-width: 768px) {
  .su-column {
    width: 100% !important;
    margin: 0 0 1.5em 0 !important;
    float: none !important;
  }
  .su-row .su-column:last-child {
    margin-bottom: 0 !important;
  }
}

/* Form */
textarea {
    width: 99.7%;
}
.input {
    width: 99.7%;
    display: block;
    margin-bottom: 20px;
}

.submit-button {
    background: #000;
    border-color: #000 !important;
    color: #fff !important;
    text-shadow: none;
    -moz-border-radius: 0px;
    -khtml-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius: 0px;
    font-weight: 700;
    border: 0;
    display: inline-block;
    cursor: pointer;
    text-transform: uppercase;
    padding: 10px;
}
.submit-button:hover {
    background: #333;
}
.reset-button {
    background: #666;
    color: #ccc !important;
    font-weight: 400;
}

.comments-area {
    border-top: 2px solid #ededed;
    margin-bottom: 40px;
}
.comment-meta {
    opacity: 0.7;
    font-size: 80%;
}

.message {
    margin: 0 0 1.5em 0;
    border-radius: 3px;
    border: 1px solid rgba(0,0,0,0.1);
}
.alert {
    border-width: 1px;
    border-style: solid;
    border-radius: 3px;
    padding: 1em;
    border-color: #dcafaf;
    background-color: rgba(0,0,0,0.1);
}
.alert-danger {
    background-color: #f4c2c3;
    border-color: #fdf3f3;
}

.alert button.close {
    display: none;
}
.alert a {
    font-weight: bold;
}

/* Table */
table {
    width: 99.7%;
    background: none;
    border-collapse: collapse;
}
thead {
    background: rgba(0,0,0,0.1);
}

.cover {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    background: rgba(254,254,254, 0.97);
    padding: 1em;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
    border: 1px solid white;
}

.main-container {
    min-height: 300px;
    padding-bottom: 0;
    position: relative;
}

.loading-container {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    text-align: center;
    background: rgba(255,255,255,0.7);
    z-index: 50;
}
.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -10px;
}

/** animate */
.fade.ng-enter {
    transition: 2s linear all;
    opacity: 0;
}
.fade.ng-enter.ng-enter-active {
    opacity: 1;
}
.fade.ng-hide, .fade-fast.ng-hide {
    opacity: 0;
}
.fade.ng-hide-remove {
    transition: 0.7s linear all;
}
.fade.ng-hide-add {
    transition: 0.3s linear all;
}
.fade-fast.ng-hide-remove {
    transition: 0.2s ease-out all;
}
.fade-fast.ng-hide-add {
    transition: 0.3s ease-out all;
}

.updated {
    transition: 0.3s ease-in all;
}
/** La classse viene aggiunta **/
.updated-add {
    background: white;
}

.channel {
    display: grid;
    grid-template-rows: auto 1fr;
    margin-bottom: 120px;
}
.channel .messages {
    /*overflow: auto;*/
    /*max-height: 100vh;*/
}
.input-container {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #191512;
    padding-bottom: 80px;
    padding-top: 10px;
}
.input-container .container {
    display:flex;
}
.input-container .submit-button {
    background: rgba(255,255,255,0.3);
}
.input-container .submit-button:hover {
    background: rgba(255,255,255,0.5);
}
.channel-input {
    background: #ededed;
    width: 100%;
    min-height: 1em;
    padding: 10px;
    margin-right: 10px;
    line-height: 1.3em;
    white-space: pre-wrap;
    border-radius: 5px;
}

.messages ul {
    list-style: none;
    margin-left: 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.messages ul li {
    background: white;
    padding: 10px;
    margin-bottom: 10px;
    position: relative;
    margin-left: 20px;
    max-width: 75%;
    min-width: 25%;
    border-bottom-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    word-wrap: anywhere;
}
.messages ul li.self {
    background: #ededed;
    align-self: flex-end;
    margin-left: 0;
    margin-right: 20px;
    border-top-right-radius: 0;
    border-top-left-radius: 5px;
}
.messages ul li:before {
    content: '';
    position: absolute;
    width: 0px;
    height: 0px;
    border-left: 10px solid transparent;
    border-right: 10px solid white;
    border-top: 10px solid white;
    border-bottom: 10px solid transparent;
    left: -20px;
    top: 0px;
}
.messages ul li.self:before {
    display: none;
}
.messages ul li.self:after {
    content: '';
    position: absolute;
    width: 0px;
    height: 0px;
    border-left: 10px solid #ededed;
    border-right: 10px solid transparent;
    border-top: 10px solid #ededed;
    border-bottom: 10px solid transparent;
    right: -20px;
    top: 0px;
}
.messages ul li .text {
    white-space: pre;
}
.messages .datetime {
    font-size: x-small;
    opacity: 0.5;
    text-align: right;
}

.subscribers {
    position: fixed;
    left: 0;
    bottom: 140px;
    background: rgba(0,0,0,0.05);
    padding: 5px;
    overflow: auto;
    max-height: 200px;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
}
.subscribers a {
    color: rgba(0,0,0,0.6);
}
.subscribers ul {
    list-style: none;
    margin-left: 0;
    padding: 0;
    width: 100%;
    margin: 0;
}
.subscribers li {
    padding: 0 10px;
    margin-top: 5px;
    background: rgba(255,255,255, 0.5);
}
.subscribers li:nth-child(even) {
    background: rgba(255,255,255, 0.8);
}

.newsletter-alert {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255, 0.8);
    z-index: 100;
    padding: 20px;
    border-top: 1px solid rgba(0,0,0,0.2);
}
.newsletter-alert-close {
    position: absolute;
    right: 20px;
    cursor: pointer;
}

.slide-nav-btn {
    position: absolute;
    background: #ce2626;
    bottom: 0;
    left: 20px;
    z-index: 100;
    padding: 10px 20px;
    color: white;
    font-family: Montserrat;
    font-weight: 900;
    font-size: 24px;
    font-style: normal;
}
.slide-nav-btn:hover {
    color: black;
}
@media screen and (max-width: 1030px) {
    .slide-nav-btn {
        position: relative;
        width: 100%;
        display: block;
        left:0;
    }
}
@media screen and (max-width: 770px) {
    .slide-nav-btn {
        position: absolute;
        top: 0;
        left: 20px;
        bottom: auto;
        width: auto;
    }
}

#gdpr-cookie-message {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    font-size: small;
    z-index: 1000;
    text-align: center;
}
#gdpr-cookie-message ul {
    list-style: none;
    display: block;
    padding-left: 0;
}
#gdpr-cookie-message li {
    display: inline-block;
    margin-right: 20px;
}
#gdpr-cookie-message button {
    background: #444;
    color: white;
    border: none;
    margin-right: 20px;
    padding: 10px;
}
