/* NAVIGATION FONT */
/* exo-2-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Exo 2';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/exo-2-v26-latin-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/exo-2-v26-latin-300.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* exo-2-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Exo 2';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/exo-2-v26-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/exo-2-v26-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* exo-2-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Exo 2';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/exo-2-v26-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/exo-2-v26-latin-700.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* exo-2-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Exo 2';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/exo-2-v26-latin-800.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/exo-2-v26-latin-800.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

h1, h2, h3, h4, h5 {
  font-family: 'Exo 2', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 800;
}

h1.page-header {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  padding-bottom: 1.5rem;
}

.container {
  margin-left: auto;
  margin-right: auto;
}

.img-responsive {
  max-width: 100%;
}
.img-responsive-sm {
  max-width: 60%;
}

.img-responsive-xs {
  max-width: 40%;
}

.main-content>section {
  padding-top: 20px;
}

.piilo {
  visibility: hidden;
  width: 0;
  height: 0;
  overflow: hidden;
  margin: 0;
}

.text-center, .center {
  text-align: center;
}
.form-row {
  display: block;
  width: 380px;
  margin-left: auto;
  margin-right: auto;
}

.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 2px;
}

.form-row small {
  font-size: 70%;
}

.form-row label {
  text-align: left;
  width: 100%;
  display: block;
  color: #777;
  font-size: 80%;
  margin-top: 10px;
}

.form-row button {
  font-weight: bold;
  font-size: 14px;
  margin-top: 1.1rem;
  color: #fff;
  background-color: #333334;
}
.form-palaute-error {
  font-size: 16px;
  font-weight: bold;
  color: red;
}
/*Loader*/
#loader {
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: ease;
}


.container-1 {
  padding: 0 0 20px;
}

.container-1 p.header-subline {
  margin-bottom: 3.5rem;
}

.portfolio-section.section {
  padding-bottom: 70px;
}

.portfolio-section .portfolio-btn-wrapper {
  margin-bottom: 0;
  text-align: center;
}

.portfolio-section .section-title {
  margin-bottom: 50px;
}

.portfolio-section .portfolio-btn-wrapper button {
  padding: 10px 23px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  background: #eff2f9;
  color: #051441;
  border-radius: 0;
  margin-right: 10px;
  margin-bottom: 50px;
  -webkit-transition: all .3s ease-out 0s;
  transition: all .3s ease-out 0s;
}

.portfolio-section .portfolio-btn-wrapper button.active {
  background: #3E54FF;
  color: #fff
}

@media only screen and (min-width:768px) and (max-width:991px) {
  .portfolio-section .portfolio-btn-wrapper button {
    margin-right: 10px;
    padding: 7px 18px;
    font-size: 16px
  }
}

@media(max-width:767px) {
  .portfolio-section .portfolio-btn-wrapper button {
    margin-right: 10px;
    padding: 7px 18px;
    font-size: 16px
  }
}

.portfolio-section .portfolio-btn-wrapper button:last-child {
  margin-right: 0
}

.portfolio-item-wrapper {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 30px
}

.portfolio-item-wrapper:hover .portfolio-overlay {
  opacity: 1;
  visibility: visible;
  -webkit-transform: scale(1);
  transform: scale(1)
}

.portfolio-item-wrapper .portfolio-img img {
  width: 100%
}

.portfolio-item-wrapper .portfolio-overlay-description {
  position: absolute;
  z-index: 33;
  width: 100%;
  height: 45px;
  left: 0;
  bottom: 0px;
  border-radius: 0;
  /*background: #33333385;*/
  background: #175ca985;
  padding: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
}

.portfolio-overlay-description h4 {
  color:#ddd;
  font-weight: 400;
  font-size: 1.2rem;
}

.portfolio-item-wrapper:hover .portfolio-overlay-description {
  display: none;
}

.portfolio-item-wrapper .portfolio-overlay {
  position: absolute;
  z-index: 63;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  border-radius: 0;
  /*background: #333334B8;*/
  background: #175ca9B8;
  padding: 35px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all .3s ease-out 0s;
  transition: all .3s ease-out 0s;
  -webkit-transform: scale(.9);
  transform: scale(.9)
}

@media only screen and (min-width:992px) and (max-width:1199px) {
  .portfolio-item-wrapper .portfolio-overlay {
    padding: 30px 20px
  }
}

@media only screen and (min-width:768px) and (max-width:991px) {
  .portfolio-item-wrapper .portfolio-overlay {
    padding: 30px 20px
  }
}

.portfolio-item-wrapper .portfolio-overlay .overlay-content h4 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 23px;
}

.portfolio-item-wrapper .portfolio-overlay .overlay-content p {
  color: #fff;
  margin-bottom: 35px
}

.portfolio-item-wrapper .portfolio-overlay .overlay-content .border-btn {
  padding: 8px 27px;
  color: #fff;
  border: 2px solid #fff
}

.portfolio-item-wrapper .portfolio-overlay .overlay-content .border-btn:hover {
  color: #3E54FF;
  background: #fff
}

/* top header content */
.center-container {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.center-header {
  width: 70%;
  margin: 1em auto 3em auto;
}
.center-header h2, .container-1 h2 , .portfolio h2 {
  padding-top: 2em;
  padding-bottom: 0.8em;
  text-align: center;
}

.two-columns {
  display: flex;
  flex-direction: row;
  width: 80%;
  margin: 1em auto;
  margin-bottom: 5em;
  /* border: 1px solid black; */
}

.image-caption {
  font-size: 0.85rem;
  color: #999;
  margin-top: 0.2rem;
}

.two-columns h2, .two-columns h1 {
  margin-bottom: 1em;
}
.two-columns p {
  font-size: 16px;
}
.first-col {
  /* border: 1px solid black; */
  flex: 1;
  margin-right: 2em;
}
.sec-col {
  /* border: 1px solid black; */
  flex: 1;
  margin-right: 2em;
}
.third-col {
  /* border: 1px solid black; */
  flex: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.text-legal {
  position: relative;
}
.first-col.small-margin, .sec-col.small-margin, .third-col.small-margin {
  margin-right: 10px;
}

@media only screen and (min-width:768px) and (max-width:1198px) {
  .small-margin > a {
    display: block;
    clear:both;
  }
}

@media (max-width: 768px) {
  .two-columns {
    flex-direction: column;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    align-items: flex-start;
  }

  h1.page-header-container-80 {
    margin-left: auto;
    text-align: center;
    width: 100%;
  }

  .img-responsive-sm {
    max-width: 100%;
  }

  .img-responsive-xs {
    max-width: 100%;
  }

  .text-left-mobile {
    text-align: left!important;
  }
}

@media (min-width: 769px) {
  h1.page-header-container-80 {
    margin-left: 2.4em;
  }
  .service-right > .two-columns {
    flex-direction: row-reverse;
  }
}


/* NEWS BOX ----------------------------------------- */

.news-container {
  position: absolute;
  top: 740px;
  right: 10px;
  width: 320px;
  z-index: 80;
}

.news-section {
  background-color: #ebebeb;
  color: #000;
  padding: 16px;
  border-left: 2px solid #DEDEDE;
  border-radius: 8px 0 0 8px;
  box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
}

.news-section .close-news {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 20px;
  color: #000;
  cursor: pointer;
}

@media (min-width: 1600px) {
  .news-container {
    top: 740px;
    width: 480px;
  }
}

/* Mobile & small screens */
@media (max-width: 1124px) {
  .news-container {
    width: 260px;
    top: 800px;
  }
}
@media (max-width: 991px) {
  .news-container {
    position: relative;
    width: 100%;
    top: auto;
    right: auto;
    margin-top: 1rem;
  }

  .news-section {
    border-left: none;
    border-radius: 8px;
    box-shadow: none;
  }

  .news-section .close-news {
    top: 8px;
    right: 8px;
  }
}




/* End----------------------------------------- */