*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  list-style-type: none;
  text-decoration: none;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.ph {
	display: none;
}
@media screen and (max-width: 990px) {
.ph {
	display: block;
	font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
    color: #777;
    font-size: 18px;
    text-transform: uppercase;
	text-align:  center;
}
}

.main .container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 1rem;
  justify-content: center;
  align-items: center;
}
.main .card {
  color: #252a32;
  border-radius: 2px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.24);
}
.main .card-image {
  position: relative;
  display: block;
  width: 100%;
  padding-top: 70%;
  background: #ffffff;
}
.main .card-image img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media only screen and (max-width: 600px) {
  .main .container {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 1rem;
  }
}
.container:after,
.container:before {
	display:none;
	content:" "
}
.titlegal{
	font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
	color:#777;
	font-size: 24px;
	text-transform: uppercase;
	border-bottom: solid 1px #888; 
}
.fancybox-button--share,
.fancybox-button--zoom,
.fancybox-button--thumbs {
	display: none  !important;		
}
.about .navbar-nav li:nth-child(1) a {
    color: #000;
    background-color: #fff;
    padding-top: 10px;
    border-bottom: solid 1px #000000;
}
.contacts .navbar-nav li:nth-child(3) a {
    color: #000;
    background-color: #fff;
    padding-top: 10px;
    border-bottom: solid 1px #000000;
}
.projects .navbar-nav li:nth-child(2) a,
.horeca .navbar-nav li:nth-child(2) a,
.homes .navbar-nav li:nth-child(2) a,
.appartments .navbar-nav li:nth-child(2) a {
    color: #000;
    background-color: #fff;
    padding-top: 10px;
    border-bottom: solid 1px #000000;
}