@import url(./variables.css);
@import url(./colors.css);

/* MAIN FONT */
body {
  font-family: 'Open Sans', sans-serif;
  color: #666666;
  font-size: 14px;
  overflow-x: hidden;
}


/* TEXT AND PARAGRAPHS */
p,
ul li {
  font-size: 100%;
  line-height: 25px;
}

p.rteright {
  text-align: right;
}

span a,
p a,
li a,
h1 a,
h2 a,
h3 a,
h4 a,
.view-dashboard-member a {
  text-decoration: none;
  color: var(--link);
}

a[name],
span a[name],
p a[name],
li a[name],
h1 a[name],
h2 a[name],
h3 a[name],
h4 a[name],
.view-dashboard-member a[name] {
  text-decoration: none;
  color: #666;
}

.social-cookie,
.yt-cookie {
  background: #f9f9f9;
  color: #fff;
  padding: 12px 21px;
  text-align: center;
  font-size: 14px;
  margin: 2rem 0rem;
  color: #e83e3e;
  font-weight: 500;
  border-bottom: 5px solid #e83e3e;
}

.social-cookie span,
.yt-cookie span {
  text-decoration: underline;
}

.rtecenter {
  text-align: center;
}

b,
strong {
  font-weight: bold;
}

ul {
  list-style: inherit;
  list-style-position: outside;
  /* margin-left: 20px; */
  padding-left: 2rem;
}


/* TITLES */
h1 {
  color: #666666;
  font-weight: 600;
  font-size: 24px;
}

h1.page-title {
  font-weight: 700;
  margin-bottom: .5rem;
  margin-top: 0;
}

.region-page-title .block-views-blockpage-image-block-1  img{
  margin-bottom: 16px;
}

h2.title--section {
  font-size: 28px;
  color: #333333;
  font-weight: 300;
}

article h3 {
  font-size: 20px;
}

h3.subitle {
  color: #999999;
  font-size: 125%;
  font-weight: 300;
  line-height: 16px;
  margin: 13px 0 30px;
}

h4 {
  font-size: 120%;
}

h5 {
  margin: 1rem 0;
  font-size: 110%;
}

h6 {
  margin: 1rem 0;
  font-size: 100%;
}

h1.blue-title,
h2.blue-title,
h3.blue-title,
h4.blue-title,
h5.blue-title,
h6.blue-title {
  color: var(--main_color) !important;
}

blockquote {
  padding: 1rem 2rem;
  background-color: #f9f9f9;
  border-left: 6px solid #ccc;
  margin: 1rem auto;
}

blockquote * {
  font-size: 20px;
  font-weight: 300;
}

.twitter-timeline {
  color: var(--link);
  text-decoration: none;
}


/*table*/
.node table {
  border-style: solid;
  border-color: #c2c2c2;
}

.node table.mobile-tb tr:first-child th {
  font-size: 120%;
  line-height: 22px;
}

.node .field table {
  margin: 1.3em 0 1.5em 0;
}

.node .field table[align="center"]  {
  margin: 0px auto;
}

.node .field-name-body .field table {
  margin: 0 0 0 20px;
}


/*
a cosa serve?
*/
.node .field table thead {
  display: none;
}

/*
per ripristinare la thead nella tabella
*/
article.node.node--type-article .field.field--name-body table thead {
  display: table-header-group;
}


.page-page .field table thead,
.page-page .field table thead {
  display: table-header-group;
}

.node table th {
  padding: 7px;
  line-height: 16px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid #c2c2c2;
  border-right: 1px solid #c2c2c2;
  background-color: #e9e9e9;
}

.node table td {
  border-top: 1px solid #c2c2c2;
  line-height: 16px;
  vertical-align: middle;
}

.node table p {
  margin: 0;
  font-size: 14px;
}

@media screen and (max-width: 1200px) {
  .node table td {
    padding: 9px 8px;
  }

  .node table.mobile-tb {
    text-align: center;
    display: table;
  }

  .field-name-body table.mobile-tb p {
    padding-bottom: 5px;
  }

  table.mobile-tb caption {
    background-image: none;
  }

  .page-page .field table.mobile-tb thead {
    display: none;
  }

  .page-page .field table.mobile-tb thead {
    display: none;
  }

  table.mobile-tb tbody td {
    display: block;
    padding: .6rem;
  }

  table.mobile-tb tbody tr td:first-child {
    background: #e9e9e9;
    font-weight: bold;
    font-size: 120%;
  }

  table.mobile-tb tbody td:before {
    content: attr(data-th);
    font-weight: bold;
    display: inline-block;
  }
}




.empty-title {
  width: 100%;
  text-align: center;
  margin: 2rem 0;
}
.empty-title h3 {
  font-size: 20px;
  font-weight: 400;
  color: #e87373;
  width: 100%;
  text-align: center;
}
