/*
Theme Name: Carlo Ratti Associati
Author: // Mauro Demichelis - mauro@quattrolinee.it
Author URI: www.quattrolinee.it
Version: 07/2019
*/
html {
  background: #333333;
  scroll-behavior: smooth;
}

body {
  font-family: 'Decima Lt', sans-serif;
  font-size: 16px;
  margin: 0;
  padding: 0;
  background: #333333;
  color: #FFFFFF;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-height: 100vh;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

body b,
body .b,
body strong {
  font-weight: 700;
}

body i,
body em {
  font-style: italic;
}

body.overflow-hidden {
  overflow: hidden;
}

a {
  color: #FFFFFF;
}

a:hover {
  color: #FFFFFF;
  text-decoration: none !important;
}

.client:hover {
  color: #656565;
}

h1,
.h1 {
  font-family: 'Decima', sans-serif;
  font-size: 3rem;
  /*60px*/
}

h2,
.h2 {
  font-family: 'Decima', sans-serif;
  font-size: 1.5rem;
  /*30px*/
}

h3,
.h3 {
  font-family: 'Decima', sans-serif;
  font-size: 2.25rem;
  /*45px*/
}

h4,
.h4 {
  font-family: 'Decima', sans-serif;
  font-size: 1.25rem;
  /*25px*/
}

h5,
.h5 {
  font-family: 'Decima', sans-serif;
  font-size: 1rem;
  /*20px*/
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
  padding: 0;
}

hr {
  border-top: 2px solid rgba(255, 255, 255, 0.5) !important;
}

.border-top {
  border-top: 1px solid rgba(255, 255, 255, 0.5) !important;
}

.border-bottom {
  border-bottom: 1px solid rgba(255, 255, 255, 0.5) !important;
}



/*** ICONS ***/
.icon-fontastic:after {
  font-family: "carloratti";
  display: inline-block;
}

.icon-arrow-right:after {
  content: "\6b";
  font-size: 60%;
  margin-top: 0.5rem;
  margin-right: 0.5rem;
}

.icon-arrow-left:after {
  content: "\6a";
  font-size: 60%;
  margin-top: 0.5rem;
  margin-right: 0.5rem;
}

.icon-arrow-down:after {
  content: "\6c";
  font-size: 60%;
  margin-top: 0.5rem;
  margin-right: 0.5rem;
}

.icon-arrow-up:after {
  content: "\61";
  font-size: 60%;
  margin-top: 0.5rem;
  margin-right: 0.5rem;
}

.icon-arrow-start:after {
  content: "\68";
  font-size: 60%;
  margin-top: 0.5rem;
  margin-right: 0.5rem;
}

.icon-arrow-end:after {
  content: "\6d";
  font-size: 60%;
  margin-top: 0.5rem;
  margin-right: 0.5rem;
}

.icon-to-right:after {
  float: right;
}

/* PRELOAD */
#preload {
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: #333333;
  z-index: 100;
}

/* Don't miss Boxes */
.dont-miss {
  display: none;
}

.sticky {
  position: fixed !important;
  top: 0;
}

/* TEMPLATE HOMEPAGE */
.page-template-tpl-homepage .dont-miss {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  width: 100%;
  /* background-color: #EA2D49; */
  color: #D9D7CB;
  text-align: center;
}

.page-template-tpl-homepage .red{

  background-color: #EA2D49;;

}

.page-template-tpl-homepage .dont-miss a {
  color: #D9D7CB;
}

.page-template-tpl-homepage .dont-miss a .dontmiss-more {
  display: none;
}

.page-template-tpl-homepage .dont-miss a .dontmiss-less {
  display: inline;
}

.page-template-tpl-homepage .dont-miss a.collapsed .dontmiss-less {
  display: none;
}

.page-template-tpl-homepage .dont-miss a.collapsed .dontmiss-more {
  display: inline;
}

.page-template-tpl-homepage .dont-miss .line-h {
  width: 100%;
  height: 3px;
  margin: 0 auto;
  background: #333333;
}

.page-template-tpl-homepage .dont-miss .line-h::after {
  clear: both;
}

.page-template-tpl-homepage .dont-miss .text-underline {
  text-decoration: underline;
}

.page-template-tpl-homepage header {
  top: 25px;
  position: static;
}

.page-template-tpl-homepage header:hover > .bg-header {
  top: 0 !important;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  background: #333333;
  -webkit-transition: ease-in-out 0.5s;
  transition: ease-in-out 0.5s;
  -webkit-transition: top 1s;
  transition: top 0.7s;
  z-index: 2;
}

header #myheader {
  top: 170px;
}

header:hover > .bg-header {
  position: absolute;
  top: 0 !important;
}

header.bg-grey {
  background: #333333;
}

.bg-header {
  position: absolute;
  width: 100%;
  height: 105px;
  top: 0;
  left: 0;
  right: 0;
  background: #333333;
  -webkit-transition: linear 0.3s all;
  transition: linear 0.3s all;
}

.logo-cra {
  width: 100px;
  height: 100px;
}

.logo-cra a {
  display: block;
  width: 100%;
  height: 100%;
  background: url("assets/files/logo.png") no-repeat;
  background-size: auto 100%;
}

.hamburger {
  color: #FFFFFF;
  width: 32px;
  height: 24px;
  position: absolute;
  cursor: pointer;
  right: 0;
}

.hamburger span {
  content: "";
  display: block;
  position: absolute;
  height: 3px;
  width: 32px;
  background: #FFFFFF;
  border-radius: 1px;
  -webkit-transition: .2s;
  transition: .2s;
  z-index: 10;
  top: 11px;
  left: 0;
}

.hamburger span:before {
  content: "";
  display: block;
  position: absolute;
  height: 3px;
  width: 32px;
  background: #FFFFFF;
  border-radius: 1px;
  -webkit-transition: .2s;
  transition: .2s;
  z-index: 10;
  bottom: 9px;
  left: 0;
}

.hamburger span:after {
  content: "";
  display: block;
  position: absolute;
  height: 3px;
  width: 32px;
  background: #FFFFFF;
  border-radius: 1px;
  -webkit-transition: .2s;
  transition: .2s;
  z-index: 10;
  top: 9px;
  left: 0;
}

.hamburger span.close {
  background: none;
  opacity: 1;
}

.hamburger span.close:before {
  -webkit-transform-origin: 50% 50%;
          transform-origin: 50% 50%;
  top: 0;
  background: #FFFFFF;
  z-index: 10;
  position: absolute;
  -webkit-transform: rotate3d(0, 0, 1, 45deg);
          transform: rotate3d(0, 0, 1, 45deg);
}

.hamburger span.close:after {
  -webkit-transform-origin: 50% 50%;
          transform-origin: 50% 50%;
  top: 0;
  background: #FFFFFF;
  z-index: 10;
  position: absolute;
  -webkit-transform: rotate3d(0, 0, 1, -45deg);
          transform: rotate3d(0, 0, 1, -45deg);
}

.menu-header {
  display: none;
  background: #333333;
  height: 100vh;
  position: absolute;
  top: 75px;
  right: 0;
  overflow: hidden;
}

.menu-header #nav-menu ul.menu, .menu-header #nav-menu ul.sub-menu {
  list-style: none;
  padding: 0;
  display: block;
  height: 100%;
}

.menu-header #nav-menu ul.menu li, .menu-header #nav-menu ul.sub-menu li {
  padding: 0.15rem 0 0 0;
  text-align: center;
}

.menu-header #nav-menu ul.menu li a, .menu-header #nav-menu ul.sub-menu li a {
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  opacity: 0.5;
  padding-bottom: 0.3rem;
  text-transform: uppercase;
}

.menu-header #nav-menu ul.menu li a:hover, .menu-header #nav-menu ul.sub-menu li a:hover {
  background: url("assets/files/underline.png") bottom center no-repeat;
}

.menu-header #nav-menu ul.menu li.current-menu-item > a, .menu-header #nav-menu ul.menu li.current-page-ancestor > a, .menu-header #nav-menu ul.sub-menu li.current-menu-item > a, .menu-header #nav-menu ul.sub-menu li.current-page-ancestor > a {
  opacity: 1;
}

.menu-header #nav-menu ul.menu li.menu-item-has-children, .menu-header #nav-menu ul.sub-menu li.menu-item-has-children {
  padding: 0;
}

.menu-header #nav-menu ul.menu li.menu-item-has-children > a, .menu-header #nav-menu ul.sub-menu li.menu-item-has-children > a {
  display: none;
}

.menu-header #nav-menu ul.menu {
  margin-top: 3rem;
}

.menu-header #nav-menu ul.sub-menu {
  display: block;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
}

.navbar-collapse{
  height: 96vh;
}

.box{
  height:32vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.box-close{
  height:4vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.red-line {
  background: #EA2D49;
  height: 4vh;
  color: white;
  text-align: center;
  position: relative;
  z-index: 1;
  line-height: 40px;
}
.red-line:before {
  position: absolute;
  content: '';
  height: 10px;
  width: 10px;
  background: linear-gradient(45deg, rgba(51,51,51,1) 50%, rgb(255, 255, 255) 50%);
  z-index: 9;
  bottom: 0px;
  left: 0px;
  display: block;
}

.red-line:after{
  position: absolute;
  content:'';
  height: 20px;
  width:20px;
 background: #333333;
  z-index:9;
  top:0px;
  left:-20px;
  display:block;
  }



.menu-header #searchform {
  padding: 0.75rem 0 0 0;
  position: absolute;
  top: 0;
  left: calc(100% - 23px);
  right: 0;
  -webkit-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
}

.menu-header #searchform.new-position {
  left: 0%;
  right: 0;
}

.menu-header #searchform > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.menu-header #searchform label {
  text-indent: -9999px;
  background-image: url("assets/files/icon-search.svg");
  background-repeat: no-repeat;
  background-size: 17px;
  background-position-y: bottom;
  opacity: 0.5;
  padding-right: 1.5rem;
  max-width: 27px;
}

.menu-header #searchform label:hover {
  cursor: pointer;
  opacity: 1;
}

.menu-header #searchform input[type=text] {
  width: 100%;
  border: 0px solid #ccc;
  border-bottom: 1px solid white;
  font-size: 0.9rem;
  background-color: #333333;
  color: #FFFFFF;
}

.menu-header #searchform input[type=text]:focus {
  outline: none;
}

.menu-header #searchform #searchsubmit {
  display: none;
}

.menu-header .switch li {
  margin: 1rem;
  padding: 1rem;
}

.menu-header .switch li.selected {
  background: white;
  color: #333333;
}

.show-menu {
  display: block;
}

.content {
  margin-top: 150px;
  margin-bottom: 100px;
}

.featured-img img {
  min-width: 100%;
  height: fit-content;
  object-fit: cover;
}

/*** TEMPLATE ***/
/* TPL-HOMEPAGE */

.home-title{

  color: #ffffff;

}

.home-title .h4 {
  font-size: 1.25rem;
}

.grid-item, .grid-sizer {
  width: 100%;
}

.grid-item {
  border: 2px solid #333333;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin-bottom: 4px;
}

.grid-item:hover {
  border-color: #FFFFFF;
}

.grid-item:hover.home-project .position-absolut {
  background: white;
}

.grid-item .position-relative {
  overflow: hidden;
}

.grid-item .position-absolut {
  width: 100%;
  bottom: 0;
}

.grid-item .position-absolut .title-project {
  margin: 0;
}

.grid-item .position-absolut .info-project {
  opacity: 0.5;
}

.grid-item .position-absolut .info-project span {
  font-size: 1rem;
}

.grid-item.home-project .position-absolut {
  -webkit-transition: ease-in-out 0.5s;
  transition: ease-in-out 0.5s;
  background: rgba(255, 255, 255, 0.7);
}

.grid-item.home-project .position-absolut .title-project {
  color: #000000;
}

.grid-item.home-project .position-absolut .info-project {
  opacity: 0.8;
  color: #333333;
}
.grid-item-home .position-absolut .h5 .news-title{

  font-size: 12px;

}

.grid-item.home-project img {
  height: 250px;
}

.grid-item.home-publication:hover {
  border-color: #FFFFFF;
}

.grid-item.home-tweet div {
  color: #333333;
}

.grid-item.home-tweet .h5 {
  background: #D9D7CB;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

.publication.border-top {
  border-top: 3px solid !important;
}

.date {
  font-family: 'Decima I';
  font-size: 0.8rem;
  opacity: 0.5;
}

/* TPL-PUBLICATIONS */
.publications-aside .email, .publications-aside .newsletter {
  opacity: 0.5;
}

.publications-aside .email:hover, .publications-aside .newsletter:hover {
  opacity: 1;
}

.publications .publication.border-top {
  border-top: 1px solid rgba(255, 255, 255, 0.5) !important;
}

.publications .publication > span {
  opacity: 0.5;
}

/* TPL-PROJECTS */
.cont {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-auto-rows: 1fr;
  grid-gap: 10px;
}

.cont::before {
  content: '';
  width: 0;
  padding-bottom: 100%;
  grid-row: 1 / 1;
  grid-column: 1 / 1;
}

#publi-icon {
  width:20px;
  height:20px;
  background:url('assets/files/publi-icon.png') no-repeat;
  position:absolute;
  right:15px;
  top:12px;
}
.cont > .quadrato:first-child {
  grid-row: 1 / 1;
  grid-column: 1 / 1;
  position: relative;
}

/* Just to make the grid visible */

.cont > .quadrato {
  background-size: cover;
  background-position:50%;
  background-repeat:no-repeat;
  position: relative;
}

.quadrato:hover {

  border: 2px solid rgba(255,255,255,1);

}

.quadrato .grigio {

  position: absolute;
  background: rgba(255,255,255,0.7);
  top: 63%;
  padding: 10px;
  transition: ease-in-out 0.5s;
  width: 115px;
  height: 128px;
}
.cont > .quadrato-projects {
  position: relative;
}
.cont > .quadrato-projects .quadrato-projects-anchor {
  position: absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
}

  .title-project {
    font-size: 16px;
    margin: 0;
    color: #333;
  }

  .grigio .project-title{
    font-size: 16px;
    bottom: 10px;
    position: absolute;
    left: 10px;
    right: 10px;
  }


.info-project{
    font-weight: 600;
    color: #595753;
}

.info-project span {
    font-size: 14px;
  }
  .position-absolute {
    bottom: 5px;
    color: #333333;
    font-size: 1rem;
  }

.color-project {
  width: 100%;
  height: 4px;
}

.color-project.architecture {
  background: #46C4FF;
}

.color-project.design {
  background: #DE29B7;
}

.color-project.interior {
  background: #FDE000;
}

.color-project.masterplanning {
  background: #00C583;
}

.color-project.research {
  background: #FF8400;
}

.project .position-absolute {
  bottom: 5px;
  color: #333333;
  font-size: 1rem;
  text-transform: uppercase;
}

.project .img-project:hover > .position-absolute {
  display: block;
}

.project .img-project:hover img {
  filter: alpha(opacity=50);
}

.project .img-project > div:first-of-type {
  background: #FFFFFF;
}

.project .img-project img {
  position: relative;
  height: 250px;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.project .title-project {
  font-size: 1rem;
  margin: 0;
}

.project .info-project {
  opacity: 0.5;
}

.project .info-project span {
  font-size: 0.75rem;
}

.filter-sort {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.filter-sort .filter, .filter-sort .sort {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  list-style: none;
  padding: 0;
}

.filter-sort .filter li, .filter-sort .sort li {
  text-transform: uppercase;
  margin-right: 1rem;
  opacity: 0.5;
}

.filter-sort .filter li:hover, .filter-sort .sort li:hover {
  cursor: pointer;
  background: url(assets/files/underline.png) bottom center no-repeat;
}

.filter-sort .filter li.selected, .filter-sort .sort li.selected {
  opacity: 1;
}

.filter-sort .filter li a, .filter-sort .sort li a {
  font-size: 0.75rem;
}

.filter-sort .sort li {
  border: solid 1px #FFFFFF;
  border-radius: 30px;
}

.filter-sort .sort li:hover {
  cursor: pointer;
  background: none;
  font-weight: 700;
}

.filter-sort .sort li.selected {
  background: white;
  color: #333333;
}

.filter-sort .sort li a {
  padding: 0 1rem;
}

div[data-role="page"]:focus {
  outline: -webkit-focus-ring-color auto 0px;
}

/* TPL-COLLABORATORS */
.members .member-bio {
  color: #FFFFFF;
}

.members .member-bio p a {
  color: #696969;
}

.members .member-bio p a:hover {
  color: white !important;
}

.members p.member-name {
  font-size: 20px;
  text-transform: uppercase;
  color: #696969;
}

.members p.role {
  color: #696969;
}

.members a .read-more, .members a .read-less {
  font-size: 0.8rem;
  opacity: 0.5;
}

.members a .read-more {
  display: none;
}

.members a .read-less {
  display: inline-block;
}

.members a.collapsed .read-less {
  display: none;
}

.members a.collapsed .read-more {
  display: inline-block;
}

.past-members p {
  color: #696969;
}

.people img{
  width: 119px;
  height: inherit;
  object-fit: cover;

}

/* START HORIZONTAL SCROLL */
/* END HORIZONTAL SCROLL */
/* TPL-JOBS */
.job a,
.jobs-bottom-text {
  opacity: 0.5;
}

.normal-publication {
  width: auto;
  height: auto;
}

.normal-publication .pubblications {
  font-size: 12px;
  color: #FFF;
}

.normal-publication .form {
  color: #D9D7CB;
  font-size: 13px;
}

.int-publications {
  color: #fff;
  background: #0ab1fe;
  border: 2px solid #0ab1fe;
}

.int-publications:hover {
  border: 2px solid #D9D7CB;
}

/* TPL-DEFAULT */
.page-template-default p {
  line-height: 1.25rem;
}

/*** CONTENT ***/
/* CONTENT-PROJECT */
.single-project .category-project .color-project {
  width: 15%;
}

/* SEARCH */
.results-search aside p {
  position: -webkit-sticky;
  position: sticky;
  top: 90px;
}

.results-search aside div, .results-search aside ul {
  margin-top: 1rem;
  position: -webkit-sticky;
  position: sticky;
  top: 90px;
}

.results-search aside div li, .results-search aside ul li {
  border: solid 1px #fff;
  border-radius: 30px;
  text-align: center;
  width: 7rem;
}

.results-search aside div li.selected a, .results-search aside ul li.selected a {
  color: #FFFFFF;
}

.results-search aside div li.highlight, .results-search aside ul li.highlight {
  background-color: #fff;
}

.results-search aside div li.highlight a, .results-search aside ul li.highlight a {
  color: #333333;
}

.results-search .publication {
  list-style: none;
}

.results-search .publication span {
  opacity: 0.5;
}

/*** PARTIAL ***/
/* INC-SOCIAL */
.social a:last-of-type {
  margin-right: 0 !important;
}

/* LAYOUT-GALLERY */
#carousel ol.carousel-indicators {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-right: 5%;
  margin-left: 5%;
  z-index: 1;
}

#carousel ol.carousel-indicators li {
  width: 8px;
  height: 8px;
  margin-right: 1rem;
  margin-left: 1rem;
  border-radius: 50%;
}

/* .carousel-item-next, .carousel-item-prev, .carousel-item.active {
  display: contents;
} */
/* .carousel-item {
  position: relative;
} */

/* FOOTER */
footer {
  background: #333333;
  font-size: 0.8rem;
}

footer a, footer p, footer span {
  opacity: 0.5;
}

footer a:hover {
  opacity: 1;
}

footer .loghi-footer {
  width: auto;
  height: 80px;
}

footer .loghi-footer span {
  display: block; 
  width: 100%;
  height: 100%;
  /* background: url("assets/files/logo_CRA_ISO.png") no-repeat; */
  background: url("assets/files/logo_CRA.png") no-repeat;
  background-size: auto 100%;
  opacity: 1;
}

#newsletter {
  font-size: 0.8rem;
  background: #333333;
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 2;
  -webkit-transition: linear 0.5s;
  transition: linear 0.5s;
}

#newsletter a {
  opacity: 0.5;
}

#newsletter a:hover {
  opacity: 1;
}

/***
MEDIA QUERY
***/
@media (min-width: 420px) {

  .featured-img img {
    min-width: 100%;
  }

  .quadrato .grigio {

    position: absolute;
    background: rgba(255,255,255,0.7);
    top: 65%;
    padding: 10px;
    transition: ease-in-out 0.5s;
    width: 115px;
    height: 128px;
  }
  /* TPL-HOMEPAGE */
  .grid-item.home-publication {
    height: 110px;
    overflow: hidden;
  }
  .page-template-tpl-homepage #myheader{

    padding-top: 2rem!important;
  }
  .grid-item.home-tweet div {
    color: #333333;
  }
  .grid-item.home-tweet .h5 {
    background: #D9D7CB;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
  }
  .grid-item.home-tweet .marquee {
    line-height: 1;
    word-break: break-word;
    -webkit-animation: marquee 20s linear infinite;
            animation: marquee 20s linear infinite;
  }
  @-webkit-keyframes marquee {
    0% {
      -webkit-transform: translateY(20%);
              transform: translateY(20%);
    }
    100% {
      -webkit-transform: translateY(-100%);
              transform: translateY(-100%);
    }
  }
  @keyframes marquee {
    0% {
      -webkit-transform: translateY(20%);
              transform: translateY(20%);
    }
    100% {
      -webkit-transform: translateY(-100%);
              transform: translateY(-100%);
    }
  }
  .grid-item.home-tweet .bottom-bg {
    background: #D9D7CB;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
  }
}

@media (min-width: 420px) and (max-width: 575px) {
  .container {
    max-width: 422px;
  }
  .quadrato .grigio {

    position: absolute;
    background: rgba(255,255,255,0.7);
    top: 63%;
    padding: 10px;
    transition: ease-in-out 0.5s;
    width: 115px;
    height: 128px;
  }
}

/* col-sm */
@media (min-width: 576px) {

  /* TPL-HOMEPAGE */
  .grid-item .position-absolute .info-project span {
    font-size: 0.75rem;
  }
  .page-template-tpl-homepage #myheader{
    padding-top: 2rem!important;
  }
  .grid-item .title-project {
    font-size: 1rem;
    margin: 0;
  }
  .grid-item.home-project {
    font-size: 0.75rem;
  }
  .grid-item.home-project h2 {
    font-size: 0.75rem;
  }
  .grid-item.home-project img {
    height: 350px;
  }
  .grid-item.home-publication {
    height: 128px;
    font-size: 0.75rem;
  }
  .grid-item.home-publication span {
    font-size: 0.75rem;
  }
  .grid-item.home-publication h3 {
    font-size: 0.75rem;

  }
  .grid-item.home-tweet div {
    font-size: 12px;
  }
}

/* col-md */
@media (min-width: 768px) {
  html, body {
    scroll-behavior: smooth;
    font-size: 17px;
  }
  .grid-item, .grid-sizer {
    width: 50%;
  }
  .logo-cra a {
    background: url("assets/files/logo.png") no-repeat;
    background-size: auto 100%;
  }
  /* TPL-HOMEPAGE */
  .grid-item {
    margin-bottom: 0;
  }
  .grid-item.home-publication {
    height: 110px;
    overflow: hidden;
  }
  .menu-header #nav-menu ul.menu, .menu-header #nav-menu ul.sub-menu {
    list-style: none;
    padding: 0;
    display: block;
    height: 100%;
  }
  .menu-header #nav-menu ul.menu li, .menu-header #nav-menu ul.sub-menu li {
    padding: 0.75rem 0 0 0;
    text-align: center;
  }
  .menu-header #nav-menu ul.menu li a, .menu-header #nav-menu ul.sub-menu li a {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    opacity: 0.5;
    padding-bottom: 0.3rem;
    text-transform: uppercase;
  }
  .menu-header #nav-menu ul.menu li a:hover, .menu-header #nav-menu ul.sub-menu li a:hover {
    background: url("assets/files/underline.png") bottom center no-repeat;
  }
  .menu-header #nav-menu ul.menu li.current-menu-item > a, .menu-header #nav-menu ul.menu li.current-page-ancestor > a, .menu-header #nav-menu ul.sub-menu li.current-menu-item > a, .menu-header #nav-menu ul.sub-menu li.current-page-ancestor > a {
    opacity: 1;
  }
  .menu-header #nav-menu ul.menu li.menu-item-has-children, .menu-header #nav-menu ul.sub-menu li.menu-item-has-children {
    padding: 0;
  }
  .menu-header #nav-menu ul.menu li.menu-item-has-children > a, .menu-header #nav-menu ul.sub-menu li.menu-item-has-children > a {
    display: none;
  }
  .menu-header #nav-menu ul.menu {
    margin-top: 3rem;
  }
  .menu-header #nav-menu ul.sub-menu {
    display: block;
    -webkit-box-pack: space-evenly;
        -ms-flex-pack: space-evenly;
            justify-content: space-evenly;
  }

  .navbar-collapse{
    height: 75vh;
  }

  .box{
    height:25vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .box-close{
    height:4vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }

}

/* col-lg */
@media (min-width: 992px) {
  .grid-item, .grid-sizer {
    width: 10%;
  }
  .grid-item--width2 {
    width: 20%;
  }
  .grid-item--width4 {
    width: 40%;
  }
  .grid-item.home-project img {
    height: auto;
  }
  .content {
    margin-top: 200px;
    margin-bottom: 100px;
  }
  .to-right {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
  }
  .logo-cra {
    width: 120px;
    height: 120px;
  }
  .logo-cra a {
    background: url("assets/files/logo.png") no-repeat;
    background-size: auto 100%;
  }
  #head-hm {
    display: none !important;
  }
  /* TEMPLATE HOMEPAGE */
  .page-template-tpl-homepage header {
    top: 170px;
  }
  .page-template-tpl-homepage header:hover > .bg-header {
    top: 0 !important;
  }
  .page-template-tpl-homepage #head-hm {
    display: block !important;
    width: 100%;
    height: 160px;
    float: left;
  }
  .page-template-tpl-homepage #head-hm #head-newsletter {
    width: 128px;
    height: 165px;
    float: right;
    background-image: url(./assets/files/box-up-grey_165px.png);
    background-size:contain;
  }
  .page-template-tpl-homepage #head-hm #head-newsletter .home-newsletter {
    color: #FFFFFF;
  }
  .page-template-tpl-homepage #head-hm #head-newsletter .home-newsletter:hover {
    color: #000000;
  }
  .page-template-tpl-homepage #head-hm #head-box {
    width: 128px;
    height: 165px;
    float: right;
    background-image: url(./assets/files/box-up-red_165px-1.png);
    line-height: initial;
    background-size:contain;
  }
  .page-template-tpl-homepage #head-hm #head-box .line-h {
    width: 5px;
    height: 1px;
    float: left;
    margin-right: 100px;
    background: #D9D7CB;
  }
  .page-template-tpl-homepage #head-hm #head-box .line-h::after {
    clear: both;
  }
  .page-template-tpl-homepage #head-hm #head-box p {
    line-height: 1rem;
    font-size: 0.7rem;
    margin: 0;
  }
  .page-template-tpl-homepage #head-hm a {
    font-size: 0.7rem;
  }
  .page-template-tpl-homepage #head-hm::after {
    clear: both;
  }
  .page-template-tpl-homepage #message-head {
    width: 200px;
    height: 30px;
    float: right;
    text-align: right;
    text-transform: uppercase;
    margin-top: 9px;
    font-size: 12px;
  }

  .page-template-tpl-homepage .content {
    margin-top: 0px;
    margin-bottom: 100px;

  }

  .menu-header {
    display: none;
    background: none;
    position: relative;
    top: 0px;
    padding-top: 0.5rem;
    height: auto;
    overflow: hidden;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
  }
  .menu-header #nav-menu ul.menu, .menu-header #nav-menu ul.sub-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
  }
  .menu-header #nav-menu ul.menu li:last-of-type a, .menu-header #nav-menu ul.sub-menu li:last-of-type a {
    margin-right: calc(3rem + 25px);
  }
  .menu-header #nav-menu ul.menu li.menu-item-has-children, .menu-header #nav-menu ul.sub-menu li.menu-item-has-children {
    padding: 0.75rem 0 0 0;
  }
  .menu-header #nav-menu ul.menu li.menu-item-has-children > a, .menu-header #nav-menu ul.sub-menu li.menu-item-has-children > a {
    display: inline;
  }
  .menu-header #nav-menu ul.menu li a, .menu-header #nav-menu ul.sub-menu li a {
    margin-right: 3rem;
  }
  .menu-header #nav-menu ul.menu {
    margin: 0rem;
  }
  .menu-header #nav-menu ul.sub-menu {
    display: none;
    position: absolute;
  }
  .menu-header #nav-menu ul.sub-menu.display-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .menu-header #searchform.new-position {
    left: 40%;
    right: 0;
  }
  .grid-item.home-publication {
    height: 93px;
    overflow: hidden;
  }
  .home-projects .position-relative {
    overflow: hidden;
    border: 2px solid transparent;
  }
  .home-projects .position-relative:hover {
    border: 2px solid #FFFFFF;
  }
  .home-projects .col-12 {
    padding-right: 5px;
    padding-left: 5px;
  }
  /* TPL-COLLABORATORS */
  #collaborators .single-person img {
    float: left;
  }
  /* START HORIZONTAL SCROLL */
  .carousel img {
    max-width: -webkit-max-content;
    max-width: -moz-max-content;
    max-width: max-content;
    max-height: -webkit-max-content;
    max-height: -moz-max-content;
    max-height: max-content;
  }
  /* TPL-COLLABORATORS */
  .project {
    padding-right: 5px;
    padding-left: 5px;
  }
  /*** CONTENT ***/
  /* CONTENT-PROJECT */
  .single-project .category-project {
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
  }
  .single-project .category-project .color-project {
    width: 30%;
  }
}

/* col-xl */
@media (min-width: 1200px) {
  html, body {
    scroll-behavior: smooth;
    font-size: 18px;
  }
  .role,
  .member-bio {
    font-size: 16px;
  }
  /* TPL-HOMEPAGE */

  .grid-item.home-publication {
    height: 111px;
    overflow: hidden;
  }
}

.grid-layout-home {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(110px, 1fr))[auto-fill];
      grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  grid-gap: 10px;
  grid-auto-rows: minmax(110px, auto);
  grid-auto-flow: dense;
  /* padding: 10px; */
  /* max-width: 960px; */
  margin: 0 auto;
}


/* .grid-layout-home .grid-item-home:hover {
  border: 2px solid #fff;
} */

.grid-layout-home .grid-item-home {
  position: relative;
  padding: 10px;
  color: #595753;
  background: #656565;

}

@media only screen and (max-width: 642px) {
  .grid-layout-home .grid-item-home {
    -ms-grid-column-span: 2;
        grid-column-end: span 2;
    -ms-grid-row-span: 1;
        grid-row-end: span 1;
  }
}

@media only screen and (max-width: 522px) {
  .grid-layout-home .grid-item-home {
    -ms-grid-column-span: 3;
        grid-column-end: span 3;
    -ms-grid-row-span: 1;
        grid-row-end: span 1;
  }
}

.grid-layout-home .grid-item-home a.grid-link-home {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  border: 2px solid #fff;
}

.grid-layout-home .grid-item-home a.grid-link-home:hover {
  opacity: 1;
}

.grid-layout-home .grid-item-home.span-2 {
  -ms-grid-column-span: 2;
      grid-column-end: span 2;
  -ms-grid-row-span: 2;
      grid-row-end: span 2;
}

@media only screen and (max-width: 522px) {
  .grid-layout-home .grid-item-home.span-2 {
    -ms-grid-column-span: 3;
        grid-column-end: span 3;
    -ms-grid-row-span: 2;
        grid-row-end: span 2;
  }
}

.grid-layout-home .grid-item-home.span-3 {
  -ms-grid-column-span: 2;
      grid-column-end: span 2;
  -ms-grid-row-span: 1;
      grid-row-end: span 1;
}

@media only screen and (max-width: 522px) {
  .grid-layout-home .grid-item-home.span-3 {
    -ms-grid-column-span: 3;
        grid-column-end: span 3;
    -ms-grid-row-span: 1;
        grid-row-end: span 1;
  }
}

.grid-layout-home .grid-item-home.span-4 {
  -ms-grid-column-span: 3;
      grid-column-end: span 3;
  -ms-grid-row-span: 3;
      grid-row-end: span 3;
}

@media only screen and (max-width: 642px) {
  .grid-layout-home .grid-item-home.span-4 {
    -ms-grid-column-span: 2;
        grid-column-end: span 2;
    -ms-grid-row-span: 2;
        grid-row-end: span 2;
  }
}

@media only screen and (max-width: 522px) {
  .grid-layout-home .grid-item-home.span-4 {
    -ms-grid-column-span: 3;
        grid-column-end: span 3;
    -ms-grid-row-span: 3;
        grid-row-end: span 3;
  }
}

.grid-layout-home .grid-item-home.tweet-home {
  background-color: #D9D7CB;
  position: relative;
  display: flex;
  flex-direction: column;
}

.grid-layout-home .grid-item-home.tweet-home .tweet-info {
  font-size: 12px;
  text-align: right;
  color: #595753;
}

.grid-layout-home .grid-item-home.tweet-home .tweet-info .marquee {
  position: absolute;
  overflow: hidden;
}

.grid-layout-home .grid-item-home.tweet-home p {
  position: absolute;
  left: 10px;
  right: 10px;
}

.grid-layout-home .grid-item-home.tweet-home a.grid-link-home {
  border: 6px solid #595753;
}

.grid-layout-home .grid-item-home.tweet-home .x-logo {
  width: 100%;
  display: flex;
  margin-top: auto;
}

.grid-layout-home .grid-item-home.tweet-home .x-logo img {
  margin-left: auto;
  max-height: 16px;
}

.grid-layout-home .grid-item-home.project {
  position: relative;
  background-size: cover;
  background-position: center;
}

.grid-layout-home .grid-item-home.project .project-inner {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  position: absolute;
  height: 128px;
  left: 0;
  right: 50%;
  width: 115px;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 10px;
}

.grid-layout-home .grid-item-home.project .project-inner .project-info {
  font-size: 12px;
  text-align: left;
}

.grid-layout-home .grid-item-home.project .project-inner .project-title {
  position: absolute;
  bottom: 10px;
  font-weight: 700;
  font-size: 16px;
  color: #333;
  text-transform: uppercase;
  left: 10px;
  right: 10px;
  margin-bottom: 0;
}

.grid-layout-home .grid-item-home.project .project-inner.border-yellow {
  border-bottom: 6px solid yellow;
}

.grid-layout-home .grid-item-home.project .project-inner.border-cyan {
  border-bottom: 6px solid cyan;
}

.grid-layout-home .grid-item-home.project .project-inner.border-orange {
  border-bottom: 6px solid orange;
}

.grid-layout-home .grid-item-home.project .project-inner.border-green {
  border-bottom: 6px solid green;
}

.grid-layout-home .grid-item-home.project.project-big .project-inner {
  left: 0;
  right: 50%;
  bottom: 0;
  width: 115px;
  height: 128px;
}

.grid-layout-home .grid-item-home.news .news-title {
  color: #A09C95;
  font-size: 11px;
}

.grid-layout-home .grid-item-home.news p {
  font-size: 14px;
  color: #fff;
  font-weight: 300;
}




.infinite-carousel {
  /*width: 60vw;*/
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: box;
  display: flex;
  -webkit-box-align: center;
  -moz-box-align: center;
  -o-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  overflow: hidden;
}
.infinite-carousel-content {

  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: box;
  display: flex;
  -webkit-animation: infinite 30s linear infinite running;
  -moz-animation: infinite 30s linear infinite running;
  -o-animation: infinite 30s linear infinite running;
  -ms-animation: infinite 30s linear infinite running;
  animation: infinite 30s linear infinite running;
}
.infinite-carousel-content:hover {
  -webkit-animation-play-state: paused!important;
  -moz-animation-play-state: paused!important;
  -o-animation-play-state: paused!important;
  -ms-animation-play-state: paused!important;
  animation-play-state: paused!important;
}
.infinite-carousel-tag {
  display: -webkit-inline-box;
  display: -moz-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-box;
  display: inline-flex;
  -webkit-box-align: center;
  -moz-box-align: center;
  -o-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -moz-box-pack: center;
  -o-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.infinite-carousel-tag img{

  max-width: initial;
  height:300px

}

@-moz-keyframes infinite {
  0% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -o-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    -webkit-transform: translate(-50%);
    -moz-transform: translate(-50%);
    -o-transform: translate(-50%);
    -ms-transform: translate(-50%);
    transform: translate(-50%);
  }
}
@-webkit-keyframes infinite {
  0% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -o-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    -webkit-transform: translate(-50%);
    -moz-transform: translate(-50%);
    -o-transform: translate(-50%);
    -ms-transform: translate(-50%);
    transform: translate(-50%);
  }
}
@-o-keyframes infinite {
  0% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -o-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    -webkit-transform: translate(-50%);
    -moz-transform: translate(-50%);
    -o-transform: translate(-50%);
    -ms-transform: translate(-50%);
    transform: translate(-50%);
  }
}
@keyframes infinite {
  0% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -o-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    -webkit-transform: translate(-50%);
    -moz-transform: translate(-50%);
    -o-transform: translate(-50%);
    -ms-transform: translate(-50%);
    transform: translate(-50%);
  }
}

@media (min-width: 1200px) {
	#ajax-load-more .cont:not(:first-child) {
    		margin-top: -206px;
	}
}
@media (min-width: 768px) {
	#ajax-load-more .cont:not(:first-child) {
    		margin-top: -216px;
	}
}
@media (min-width: 576px) {
	#ajax-load-more .cont:not(:first-child) {
    		margin-top: -362px;
	}
}
@media (max-width: 575px) {
	#ajax-load-more .cont:not(:first-child) {
    		margin-top: -100%;
	}
}
.alm-btn-wrap .alm-load-more-btn.loading:before {
  background: #fff url("/assets/files/ajax-loader.gif") no-repeat center center;
  width: 30px;
  height: 30px;
  margin: 6px;
  border-radius: 3px;
  display: inline-block;
  z-index: 0;
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  -webkit-transition: width 0.5s ease-in-out;
  transition: width 0.5s ease-in-out; }

#projectCarousel {
  position:relative;
}
#projectCarousel .arrow {
 position:absolute;
 top:50%;
 display: block;
 height:50px;
 width:50px;
 z-index:1;
 transform: translateY(-50%);
 -webkit-transform: translateY(-50%);
 cursor: pointer;
 text-align:center;
 color:black;
 line-height: 50px;
 font-size:24px;
 font-weight: bold;
}
#projectCarousel .arrow.prev-arrow {
left:0;
}
#projectCarousel .arrow.next-arrow {
  right:0;
  }
#projectCarousel div a img{
  height: 350px;
  margin-right: 10px;
}
.close.fas.fa-times {
  color:white;
  text-shadow: none;
  opacity:1;
}

.page-template-tpl-homepage #myheader{
  padding-top: 3rem!important;
}
.page-template-tpl-homepage .content{
  margin-top: 20px;
}
/*# sourceMappingURL=style.css.map */


/* //////////////////////////////////
////////////////////////////////////
 NEW FILTER STYLE
////////////////////////////////////
/////////////////////////////////////// */

.filter_dtn_n {
  color: #999999;
   background-color: transparent;
   border: 1px solid transparent;
   margin: 0 2px;
}
.filter_dtn_n:hover {
  color: white;
}
.filter_dtn_n:focus {
  border: none;
  outline: none;
}
/* button::-moz-focus-inner {
  border: 0;
} */


.gray_color {
  color: #CFCFCF;
}

.filter_active{
  /* background-color: red;
  text-decoration: underline; */
  color: white;
  font-weight: bold;
}
#input_dropdown {
  top: 40px;
  background-color: #333333;
  position: absolute;
  z-index: 3;
}
button:hover {
  cursor: pointer;
}
