:root {
  --color-primary-100: #0A232B;
  --color-primary-90: #0F303B;
  --color-primary-80: #005D68 ;
  --color-primary-75: #005D68 ;
  --color-primary-30: #A7B7BE;
  --color-primary-20: #CFD7DC;
  --color-primary-10: #ECF0F2;
  --color-primary-5: #F5F7F7;
  --color-accent-100: #861F41;
  --color-accent-90: #861F41;
  --color-accent-80: #CF1D56;
  --color-accent-75: #CF1D56;
  --color-accent-50: #8D415A;
  --color-accent-30: #A86D80;
  --color-accent-20: #C299A7;
  --color-accent-10: #DDC5CD;
  --color-accent-5: #F8F1F3;
}

body,
html {
  background-color: #f2f2f8;
  color: #393e46;
  font-family: "Alexandria";
}

a {
  color: #393e46 !important;
}

a, a:hover, a:focus {
  text-decoration: none;
  outline: 0;
  transition: all 0.2s ease-in-out;
}

.text-primary,
a:hover {
  color: #861F41 !important;
}

.text-secondary {
  color: #6f7885 !important;
}

.n-verde-desktop {
  font-weight: 800 !important;
  font-size: 18px !important;
  line-height: 23px !important;
}

p {
  color: #393e46;
  font-weight: 300 !important;
  font-family: "Alexandria";
}

strong {
  font-weight: 500;
}

.container {
  max-width: 1300px;
}

.l-spacing-1 {
  letter-spacing: 1px;
}

.l-spacing-2 {
  letter-spacing: 2px;
}

.text-light {
  color: #d2d2d2 !important;
}

.font-weight-500 {
  font-weight: 500;
}

.font-weight-600 {
  font-weight: 600;
}

.bg-secondary {
  background-color: #d9d9d7 !important;
}

.bg-grey {
  background-color: #fafafc;
}

.border {
  border: 1px solid #e6e6f2 !important;
}

.border-bottom {
  border-bottom: 1px solid #eeeeee !important;
}

.border-2 {
  border-width: 2px !important;
}

.bg-accent-75 {
  background-color: var(--color-accent-75);
}

.btn-secondary {
  color: var(--color-accent-75);
  border: 1.5px solid var(--color-accent-75);
  background-color: #fff;
}

.btn-secondary:hover,
.btn-secondary:active {
  color: var(--color-accent-90);
  border: 1.5px solid var(--color-accent-90);
  background-color: var(--color-accent-5);
}

/*
    ------------------------------
    HEADER
    ------------------------------
*/
.bg-top {
  background-color: #fbfbfb;
}

.bg-top.border-bottom {
  border-bottom: 1px solid #f0f0f7 !important;
}

.bg-top a {
  color: #999999 !important;
  font-size: 90%;
  font-family: "Alexandria";
}

.bg-top a:hover {
  color: #861F41 !important;
}

.navbar-menu {
  background-color: #ffffff;
  z-index: 999;
  position: absolute;
  width: 100%;
  padding: 0;
  min-height: 60px;
}

.navbar-menu .navbar-collapse {
  margin-left: -20px;
}

.navbar-menu .navbar-nav .nav-item .nav-link {
  color: #393e46;
  padding: 20px;
  font-size: 14px;
  position: relative;
  display: inline-block;
  font-weight: 500;
}

.navbar-menu .navbar-nav .nav-item .nav-link:hover {
  color: #861F41;
}

.navbar-menu .navbar-nav .nav-item .nav-link::before {
  content: "";
  width: 0;
  height: 2px;
  position: absolute;
  bottom: 17px;
  left: 20px;
  right: 0;
  background: #861F41;
  transition: all 0.2s linear;
}

.navbar-menu .navbar-nav .nav-item .nav-link:hover::before {
  width: 50%;
}

.navbar-menu .navbar-nav .nav-item .nav-link::after {
  content: "";
  width: 0;
  height: 3px;
  position: absolute;
  bottom: 17px;
  margin: 0 auto;
  left: 20px;
  right: 0;
  background: #ffffff;
  transition: all 0.2s linear;
}

.navbar-menu .navbar-nav .nav-item .nav-link:hover::after {
  width: 5px;
  transition: all 0.2s linear;
}

.navbar-menu .navbar-nav .nav-item .navbar-search {
  color: #393e46;
  padding: 20px;
  font-size: 14px;
  position: relative;
  display: inline-block;
  font-weight: 500;
  cursor: pointer;
}

nav.sticky-menu {
  position: fixed;
  top: 0;
  box-shadow: 0 5px 35px -15px #9cb1cf;
  transition: all 0.2s ease;
}

section.slider {
  height: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
}

section.slider .slider-content {
  color: #ffffff;
  position: absolute;
  width: 100%;
  bottom: 48%;
  transform: translateY(50%);
  z-index: 1;
}

section.slider .slider-image::before {
  background-color: rgba(52, 58, 64, 0.8392156863);
  position: absolute;
  height: 100%;
  width: 100%;
  content: "";
}

section.slider .slider-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.block-title {
  border-bottom: 2px solid #e5e5e5;
  margin-bottom: 1.5rem !important;
}

.block-title span,
.block-title h2,
.block-title h1 {
  padding-bottom: 13px;
  margin-bottom: 0;
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  font-size: 1rem;
}

.block-title span::before,
.block-title h2::before,
.block-title h1::before {
  content: "";
  background-color: #861F41;
  width: 100%;
  height: 2px;
  position: absolute;
  bottom: -2px;
  left: 0;
}

/* category */
.category {
  color: #ffffff;
  padding: 5px 20px;
  font-size: 80%;
  border-radius: 3px;
}

.category-sm {
  font-size: 70%;
  padding: 2px 10px;
}

.category.bg-studio {
  background-color: #f1c232;
}

.category.bg-editoriale-del-direttore {
  background-color: #178537;
}

.category.bg-attualita {
  background-color: #ff8000;
}

.category.bg-tecnologia {
  background-color: #04ada0;
}

.category.bg-sport {
  background-color: #008fd4;
}

.category.bg-universita {
  background-color: var(--color-accent-75);
}

.category.bg-istruzione {
  background-color: #673ab7;
}

.thumb {
  position: relative;
  overflow: hidden;
}

.thumb .category {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 99;
}

.thumb .author {
  width: 40px;
}

.thumb img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: all 0.2s ease-in-out;
}

.thumb a:hover img {
  transform: scale(1.025);
}

.thumb .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 20px -100px 90px -70px #3e3e3e;
  opacity: 1;
}

.thumb a:hover .overlay {
  box-shadow: inset 0px -210px 150px -70px #000;
  transition: all 0.2s ease-in-out;
}

.thumb .overlay-content {
  bottom: -20px;
  left: 30px;
  right: 30px;
  position: absolute;
  transition: all 0.2s ease-in-out;
}

.thumb a:hover .overlay-content {
  bottom: 45px;
  transition: all 0.2s ease-in-out;
}

.thumb .overlay-content .h1,
.thumb .overlay-content .h2,
.thumb .overlay-content .h3,
.thumb .overlay-content .h4,
.thumb .overlay-content a:hover .h1,
.thumb .overlay-content a:hover .h2,
.thumb .overlay-content a:hover .h3,
.thumb .overlay-content a:hover .h4 {
  color: #fff;
}

.thumb .play-btn {
  width: 50px;
  height: 50px;
  padding: 16px;
  background-color: rgba(110, 115, 133, 0.8);
  border-radius: 100%;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 50%;
  transform: translateY(50%);
  margin: 0 auto;
  text-align: center;
  transition: all 0.2s ease-in-out;
  color: #fff;
  z-index: 2;
}

.thumb .play-btn i {
  height: 20px;
  width: 20px;
  top: -1px;
  position: relative;
}

.thumb a:hover .play-btn {
  background-color: #861F41;
  transition: all 0.2s ease-in-out;
  color: #fff;
}

.pagination {
  margin: 0;
}

.pagination li {
  font-size: 90%;
  color: #6f7885;
}

.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
  font-size: 90%;
  color: #878787;
  border-radius: 5px;
  background-color: #d9d9d7;
  width: 150px;
}

.pagination .page-item:first-child .page-link {
  margin-right: 20px;
}

.pagination .page-item:last-child .page-link {
  background-color: #861F41;
  margin-left: 30px;
  color: #ffffff !important;
}

.pagination .page-link {
  font-size: 90%;
  color: #878787;
  position: relative;
  display: block;
  margin-left: 3px;
  padding: 16px 0;
  width: 50px;
  text-align: center;
  line-height: 1.25;
  background-color: transparent;
  border: 1px solid transparent !important;
  border-radius: 5px;
}

.pagination .page-link:hover {
  color: #861F41;
}

.pagination .page-link:focus {
  outline: 0;
  border: 0;
  text-decoration: none;
  box-shadow: none;
}

.pagination .page-item.active .page-link {
  z-index: 1;
  color: #999999;
  background-color: transparent;
  border-color: #d9d9d7 !important;
}

.bg-author {
  background-color: #fafafa;
  border-top: 1px solid #eeeeee;
}

a.h5,
a.h6 {
  color: #393e46;
  transition: all 0.2s ease-in-out;
  font-weight: 400px;
  line-height: 1.5;
}

.bg-facebook {
  background-color: #5454ff;
}

.bg-instagram {
  background-color: #9454ff;
}

.bg-linkedin {
  background-color: #0077b5;
}

input.search {
  font-family: "Alexandria";
  color: #6f7885 !important;
  border: 2px solid #eeeeee !important;
  background: transparent;
  border-radius: 3px !important;
  padding: 17px 27px !important;
  letter-spacing: 0;
  height: auto !important;
}

button.send {
  background: #861F41;
  color: #ffffff;
  border: none;
  padding: 21px 15px;
  width: 100%;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.form-check-label {
  font-size: 75%;
}

article p,
article ul li {
  line-height: 2;
}

article ul li {
  color: #393e46;
  font-family: "Alexandria";
}

article h2 h1 {
  margin: 2rem 0;
}

article p a:link {
  color: #861F41;
  text-decoration: underline;
}

.share {
  border-radius: 4px;
  font-weight: 300;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  letter-spacing: 1px;
  font-size: 80%;
  cursor: pointer;
}

.share.facebook {
  background-color: #4267b2;
}

.share.twitter {
  background-color: #55acee;
}

.share.linkedin {
  background-color: #0077b5;
}

.share.email {
  background-color: #7d7d7d;
}

footer {
  background-color: #2d323a;
}

footer .copyright {
  background-color: #282c33;
}

footer p {
  color: #6f7885;
}

.separator {
  height: 61px;
  display: block;
}

#section-search {
  background: #ffffff;
  width: 100%;
  height: 390px;
  top: 0;
  display: inline-block;
  z-index: 999999;
  position: fixed;
  box-shadow: 0 5px 17px -10px #9cb1cf;
  transition: all 0.3s ease-in-out;
}

#section-search.close-search {
  top: -100%;
  transition: all 0.4s ease-in-out;
}

#section-search .search-content {
  max-width: 770px;
  left: 0;
  right: 0;
  margin: 0 auto;
  top: 25%;
  position: absolute;
}

#section-search i.fa-search {
  position: absolute;
  top: 23px;
  right: 23px;
}

#section-search .dropdown-menu {
  border: 1px solid #eee;
}

#section-search .el div {
  border-bottom: 1px solid #eee;
  padding: 0.5rem 1.5rem;
}

#section-search .el div a {
  font-size: 90%;
}

#section-search .el div:last-of-type {
  border-bottom: none;
}

.grecaptcha-badge {
  visibility: hidden;
}

.btn-lg {
  font-size: 16px;
  line-height: 16px;
  padding: 16px !important;
  font-weight: 600 !important;
}

.btn-primary {
  background-color: var(--color-accent-75);
  border: 1.5px solid var(--color-accent-75);
  box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover, .btn-primary:active {
  background-color: var(--color-accent-90);
  border: 1.5px solid var(--color-accent-90);
  box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.2);
}

.btn-outline-primary {
  color: var(--color-accent-75);
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
  border-bottom: 1px solid var(--color-accent-75);
  padding: 3px 0 !important;
}

a.btn-outline-primary {
  text-decoration: none !important;
}

.btn-outline-primary:hover, .btn-outline-primary:active {
  background-color: transparent;
  border-bottom: 1px solid var(--color-accent-90);
  color: var(--color-accent-90);
}
