#page-header-bg h1.entry-title {
  font-weight: bold;
}

#page-header-bg p.content-author {
  color: #fff;
  font-weight: 500;
}

#page-header-bg.has-img {
  background: transparent;
}

#page-header-bg.has-img .page-header-bg-gradient {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}

.page-header-bg-gradient {
  width: 100%;
  height: 100%;
  position: absolute;
  background: #000;
  z-index: 10;
  opacity: 0.5;
}

.articles.single .page-header-bg-gradient {
  /*background: linear-gradient(to bottom, rgba(31,59,8,0) 0%, rgba(139,76,191,1) 100%);*/
}

.single .page-header-bg-gradient {
  background-color: inherit;
}

.page-header-bg-gradient {
  background-color: inherit;
}

#page-header-bg.has-img .page-header-bg-gradient:after {
  display: none;
}

.single.single-format-standard #page-header-wrap {
  margin-top: 0 !important;
}

.page-header-bg-gradient:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: inherit;
  transform: skewX(25deg) translateX(-35%);
  mix-blend-mode: hard-light;
  opacity: 0.7;
}

#page-header-bg[data-alignment-v="bottom"] .span_6 > .inner-wrap,
.nectar-box-roll
  .overlaid-content[data-alignment-v="bottom"]
  .span_6
  > .inner-wrap {
  transform: translateY(0) !important;
  -webkit-transform: translateY(0) !important;
  transform-origin: bottom;
}

.presentations .page-header-bg-gradient:after {
  mix-blend-mode: screen;
  opacity: 0.3;
}

.single-post #page-header-bg .inner-wrap {
  margin-bottom: 0;
  margin-top: 0rem;
}

.row .col.section-title {
  border-bottom: 0;
}

.row .col.section-title span {
  padding-left: 0;
  font-weight: 500;
  font-style: oblique;
}

.excerpt {
  margin-bottom: 2rem;
}

.excerpt p {
  font-weight: 500;
  font-size: 150%;
  line-height: 135%;
}

.theme .excerpt p {
  font-size: 200%;
  line-height: 150%;
}

.theme .intro p {
  font-weight: 500;
  font-size: 150%;
  line-height: 135%;
}

.projects .excerpt p {
  font-size: 250%;
  line-height: 130%;
}

.container-wrap[data-nav-pos="after_project_2"] .bottom_controls .controls li h3 a, 
.container-wrap[data-nav-pos="after_project_2"] .bottom_controls #portfolio-nav ul:first-child li h3 a {
  position: static;
}

.category .controls :focus {
  outline: 2px solid #fff!important;
}

.category .proj-bg-img {
  background-color: #002f6c;
}
.category .proj-bg-img:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  transform: skew(22deg) translateX(60%);
  top: 0;
  left: 0;
  mix-blend-mode: hard-light;
  background-color: #002f6c;
}

#sidebar > div {
  margin-bottom: 0px;
}

#sidebar div.date {
  font-weight: 500;
  font-style: oblique;
}

#sidebar .post-meta {
  margin-top: 0.8rem;
}

#sidebar .meta-category-label {
  font-size: 100%;
  font-style: oblique;
}

#sidebar .meta-category {
  font-weight: 500;
  color: #002f6c;
}

.ascend #sidebar .meta-category li,
.post-meta .content-project {
  font-size: 120%;
  padding: 0;
}

.post-meta .content-project {
  display: block;
  font-weight: 500;
  margin-bottom: 1rem;
}

.meta-category ul {
  margin-bottom: 0.4rem;
}

.ascend.projects #sidebar .meta-category li {
  font-size: 160%;
  line-height: 120%;
  margin-bottom: 0.6rem;
  padding: 0;
}

.content-tags {
  margin-bottom: 1rem;
}

.content-tags li {
  border-radius: 6px;
  background-color: #8b4cbf;
  padding: 0.3rem !important;
  font-weight: 500;
  line-height: 100%;
  display: inline-block;
  color: #fff;
  margin-right: 0.3rem;
  margin-bottom: 0.2rem;
}

.content-tags li:hover {
  background-color: #70399d;
}

.content-picture-credits {
  margin-bottom: 1rem;
  font-size: 90%;
}

.content-picture-credits .credits-photographer {
  font-weight: 500;
}

.content-tags a {
  color: #fff;
}

.projects .content-tags li {
  background-color: #e95263;
}

.projects .content-tags li:hover {
  background-color: #e3263c;
}

.content-tags a:before {
  content: "#";
}

.content-sharing {
  /*border-bottom: .1rem solid #002f6c;*/
  border-top: 0.1rem solid #002f6c;
  padding-top: 1rem;
}

.nectar-social li {
  display: inline-block;
}

.nectar-social > *:first-child,
.nectar-social .nectar-love {
  padding-left: 13px !important;
}

q:before {
  content: '“';
}

q:after {
  content: '”';
}

.nectar-social .count {
  display: none !important;
}

.content-sharing #sharing-icons i {
  color: #002f6c;
}

.content-sharing-label {
  font-size: 120%;
  font-weight: 500;
  display: inline-block;
}

.content-attachments {
  margin-top: 2rem;
}

.content-attachments ul {
  margin: 0;
}

.content-attachments ul li {
  list-style: none;
  margin-bottom: 1rem;
  padding: 0.5rem 0 0.5rem;
  border-bottom: 0.05rem solid #002f6c;
  max-width: 75%;
}

.content-attachments h2 {
  font-size: 22px;
  line-height: 34px;
}

.content-attachments ul li:last-child {
  border-bottom: 0;
}

@media only screen and (max-width: 690px) {
  .content-attachments.col {
    margin-bottom: 12.5px;
  }
  .content-attachments ul li {
    margin-bottom: .65rem;
    max-width: 100%;
  }
  .content-attachments ul li p {
      padding-bottom: 13.5px;
  }
  .content-attachments ul li:last-child {
    margin-bottom: 0;
  }
}

.content-attachments a .content-attachment-name {
  color: #002f6c;
}

.projects .content-attachments-link a {
  color: #e95263;
}

.articles .content-attachments ul li,
.content-attachments ul li a {
  color: #8b4cbf;
}

.articles .content-attachments ul li p {
  padding-bottom: 0;
}

.content-attachments ul li {
  display: flex;
  justify-content: space-between;
}

.content-attachments .content-attachment-link a span {
  display: block;
}

.content-attachments .content-attachment-name {
  font-size: 120%;
  font-weight: 500;
}

.content-attachments .content-attachment-info {
  font-size: 90%;
  padding-bottom: 0;
}

#sharing-icons {
  display: inline-block;
}

.content-related {
  margin-top: 2rem;
}
.content-related h3 {
  margin-bottom: 2rem;
}

.content-related-tile {
  width: 25%;
  position: relative;
  overflow: hidden;
  background-color: #002f6c;
}

.content-related-tile:before {
  content: "";
  padding-top: 100%;
  display: block;
}

.content-related-tile > a {
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
}

.tile-placeholder {
  margin-top: 75%;
}

.content-related-tile p {
  padding-bottom: 0;
}

.content-related-tile .tile-title {
  font-weight: 500;
  font-size: 150%;
}

.content-related ul {
  display: flex;
}

.related-tile-placeholder {
  height: 100%;
  width: auto;
  position: absolute;
  top: 0;
}

.content-related-tile .tile-content {
  position: absolute;
  padding: 30px;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  top: 0;
  padding-left: 30px;
  z-index: 10;
}

.content-preview p {
  padding-bottom: 0;
  font-size: 90%;
}
.content-preview .content-preview-type {
  text-transform: uppercase;
  font-weight: bold;
  color: #fff !important;
}

.content-preview-date {
  text-transform: lowercase;
}
.content-preview.projects .content-preview-date {
  display: none;
}
.content-preview.projects .box-bg {
  background-image: url("img/icon-projects-w.svg");
}
.content-preview.articles .box-bg {
  background-image: url("img/icon-articles-w.svg");
}
.content-preview.news .box-bg {
  background-image: url("img/icon-news-w.svg");
}
.content-preview.papers .box-bg {
  background-image: url("img/icon-papers-w.svg");
}
.content-preview.presentations .box-bg {
  background-image: url("img/icon-presentations-w.svg");
}
.content-preview.projects .nectar-fancy-box:after {
  background-color: #e95263 !important;
}
.content-preview.articles .nectar-fancy-box:after {
  background-color: #31bbac !important;
}
.content-preview.news .nectar-fancy-box:after {
  background-color: #00b5cc !important;
}
.content-preview.papers .nectar-fancy-box:after {
  background-color: #f0c24c !important;
}
.content-preview.presentations .nectar-fancy-box:after {
  background-color: #8b4cbf !important;
}
.content-preview .box-bg {
  background-position: 50% 70%;
  background-size: 30%;
  background-repeat: no-repeat;
}

.content-related .content-related-tile::after {
  transition: all 0.6s cubic-bezier(0.24, 1, 0.3, 1);
  -webkit-transition: all 0.6s cubic-bezier(0.24, 1, 0.3, 1);
  transform: skew(22deg) translateX(-60%);
}
.content-related .content-related-tile:hover::after {
  transform: skew(22deg) translateX(-30%);
}

.content-preview .nectar-fancy-box .link-text {
  font-size: 100% !important;
  font-family: "Graphik Web";
  line-height: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  position: relative;
  z-index: 5;
  color: #fff;
  text-align: left;
}

.content-preview-author,
.content-preview-newspaper {
  font-style: oblique;
}

#content-search-box.hidden,
.theme .search-results.hidden {
  display: none;
}

.theme button#open-search-box {
  color: #fff;
  cursor: pointer;
}
.theme button#open-search-box:not(.active):hover {
  color: #31bbac;
  background: #fff;
}
.theme button#open-search-box:not(.active):hover i {
  color: #31bbac;
}

.project-related-contents {
  padding-top: 1rem;
}
.project-related-contents h2 {
  font-weight: 500;
  color: #e95263;
}

#portfolio-nav h3 .text {
  display: block;
}

#portfolio-nav h3 .line {
  height: 2px;
  width: 45px;
  background-color: #fff;
  position: absolute;
  content: "";
  right: -74px;
  display: block;
  backface-visibility: hidden;
  top: 50%;
  -webkit-transition: transform 0.4s cubic-bezier(0.05, 0.2, 0.1, 1);
  -webkit-transform: translateY(-50%) translateX(28px) scaleX(0);
  -webkit-transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.05, 0.2, 0.1, 1);
  transform: translateY(-50%) translateX(28px) scaleX(0);
  transform-origin: right;
}

#portfolio-extra {
  padding-bottom: 1.5rem;
}

button#open-search-box {
  padding: 1rem;
  border: 0.1rem solid;
  background: none;
  font-size: 120%;
  font-weight: bold;
  border-radius: 1rem;
  margin: 2rem auto 1rem;
  display: inline-block;
}

button#open-search-box.active {
  border: none;
  border-bottom: 0.1rem solid;
  border-radius: 0;
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
}
button#open-search-box.active::after {
  content: "";
  width: 2rem;
  height: 2rem;
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%) rotate(45deg);
  border: 0.1rem solid #fff;
  border-left: none;
  border-top: none;
}
button#open-search-box.active::before {
  content: "";
  width: 2.75rem;
  height: 0.3rem;
  background: #31bbac;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
}
.theme #search-box input#free-search,
.theme #search-box input#free-search:focus {
  color: #fff;
  border-bottom: 0.05rem solid #fff !important;
}
.theme #search-box input#free-search::-webkit-input-placeholder {
  /* Chrome */
  color: #fff;
  opacity: 0.5;
}

.project-link {
  font-size: 150%;
  color: #e95263;
  font-weight: 500;
  display: block;
  margin-bottom: 2rem;
}

.project-link:hover {
  color: #e95263;
}
.project-link:hover i {
  transform: translateX(25%);
}
.project-link i {
  background: none;
  color: #e95263;
  font-size: 150%;
  margin-right: 1rem;
  transition: transform 0.5s cubic-bezier(0.24, 1, 0.3, 1);
}

.nectar-fancy-box .box-bg:after {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

body.category
  .container-wrap[data-nav-pos="after_project_2"]
  .bottom_controls
  .previous-project:after,
body.category
  .container-wrap[data-nav-pos="after_project_2"]
  .bottom_controls
  .next-project:after {
  /*background-color: transparent;*/
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 70%,
    rgba(0, 0, 0, 0.15) 100%
  );
}
.category
  .container-wrap[data-nav-pos="after_project_2"]
  .bottom_controls
  .previous-project:after,
.category
  .container-wrap[data-nav-pos="after_project_2"]
  .bottom_controls
  .next-project:after {
  background-color: transparent !important;
}

body.category
  .container-wrap[data-nav-pos="after_project_2"]
  .bottom_controls
  #portfolio-nav
  ul
  .previous-project,
body.category
  .container-wrap[data-nav-pos="after_project_2"]
  .bottom_controls
  #portfolio-nav
  ul
  .next-project {
  justify-content: flex-start !important;
  -webkit-justify-content: flex-start !important;
}

body
  .container-wrap[data-nav-pos="after_project_2"]
  .bottom_controls
  #portfolio-nav
  ul
  .previous-project,
body
  .container-wrap[data-nav-pos="after_project_2"]
  .bottom_controls
  #portfolio-nav
  ul
  .next-project {
  background-color: #e95263;
}

#portfolio-nav .controls li h3 {
  width: 100%;
}

body
  .container-wrap[data-nav-pos="after_project_2"]
  .bottom_controls
  .previous-project
  span:not(.text) {
  text-align: left;
}

#portfolio-nav .controls li.next-project h3,
#portfolio-nav .controls li.previous-project h3,
body
  .container-wrap[data-nav-pos="after_project_2"]
  .bottom_controls
  .previous-project
  span:not(.text) {
  text-align: left;
}

.category .previous-project h3 {
  text-align: left;
}

body.category
  .container-wrap[data-nav-pos="after_project_2"]
  .bottom_controls
  .previous-project
  span:not(.text) {
  text-align: left;
}

body
  .container-wrap[data-nav-pos="after_project_2"]
  .bottom_controls
  #portfolio-nav
  ul
  .previous-project,
body
  .container-wrap[data-nav-pos="after_project_2"]
  .bottom_controls
  #portfolio-nav
  ul
  .next-project {
  align-items: flex-end;
  -webkit-align-items: flex-end;
  padding-bottom: 3%;
}
body
  .container-wrap[data-nav-pos="after_project_2"]
  .bottom_controls
  .next-project:hover:after,
body
  .container-wrap[data-nav-pos="after_project_2"]
  .bottom_controls
  .previous-project:hover:after {
  background-color: rgba(13, 13, 13, 0.4);
}

.content-inner.empty > article {
  display: none;
}

.content-attachments.empty {
  margin-top: 0;
}

.main-content ul.gallery {
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-content ul.gallery li {
  list-style: none;
}

.main-content ul.gallery li a:focus {
  outline: 0;
}

.main-content .mejs-video :focus {
  outline: 2px solid #ffffff!important;
}

.main-content ul.gallery li a:focus img {
  outline: 2px solid #002f6c!important;
}

.gallery-columns-0 .gallery-item {
  width: 100%;
}
.gallery-columns-1 .gallery-item {
  width: 100%;
}
.gallery-columns-2 .gallery-item {
  width: 50%;
}
.gallery-columns-3 .gallery-item {
  width: 33.33%;
}
.gallery-columns-4 .gallery-item {
  width: 25%;
}
.gallery-columns-5 .gallery-item {
  width: 20%;
}
.gallery .gallery-item {
  text-align: center;
  float: left;
  padding: 0;
  margin-bottom: 0;
}

.row .col img {
  margin-bottom: 0;
  max-width: 100%;
  height: auto;
}
.gallery a img {
  width: 95%;
  max-width: 95%;
  height: auto;
  max-height: 95%;
  padding: 0;
  background-color: none;
  border: none !important;
  transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -webkit-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
}

.gallery-caption {
  display: none;
}

.cosa-facciamo .main-content ul {
  margin-left: 0px;
  margin-bottom: 30px;
}

body.single-portfolio #sidebar #project-meta ul li:first-child,
body.single #single-meta ul li:first-child,
body.single-portfolio #sidebar div ul .facebook-share,
body.single-portfolio #sidebar div ul .twitter-share,
body.single-portfolio #sidebar div ul .pinterest-share,
body.single-post .blog-title #single-meta ul .facebook-share,
body.single-post .blog-title #single-meta ul .twitter-share,
body.single-post .blog-title #single-meta ul .pinterest-share,
body.single-product #single-meta ul .facebook-share,
body.single-product #single-meta ul .twitter-share,
body.single-product #single-meta ul .pinterest-share {
  margin-top: auto;
  margin: 0 8px;
  padding: 0px 0px 0px 0px !important;
  display: inline-block;
  border-right: none;
}

@media screen and (max-width: 1000px) {
  .content-sharing {
    margin-top: 1rem;
  }
}

@media all and (max-width: 680px) {
  .gallery-columns-2 .gallery-item,
  .gallery-columns-3 .gallery-item,
  .gallery-columns-4 .gallery-item,
  .gallery-columns-5 .gallery-item {
    width: 100%;
    padding-right: 0;
  }
}
