body {
  background: #1a1a18;
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  overflow: hidden;
  position: relative;
}

body::after {
  content: '';
  background: url(img/bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.25;
}

.top_logo {
  height: 100px;
  color: #fff;
  font-size: 22px;
  text-align: center;
}

.polvet_logo {
  display: block;
  margin: 0 auto;
  padding: 10px;
  max-width: 200px;
}

.polvet_sygnet {
  display: block;
  text-align: center;
  margin: 0 auto;
  width: 40px;
  margin-top: 10px;
}

.content {
  max-width: 1200px;
  margin: 0 auto;
}

.masonry_box {
  display: flex;
  /* align-items: center;
justify-content: left; */
  margin: 70px 0;
  height: calc(100vh - 100px - 120px - 30px - 140px - 70px);
}

.masonry_item {
  width: 50%;
  text-align: center;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  margin: 20px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.masonry_box_desp {
  color: #171716;
  background: rgba(245, 243, 243, 0.8);
  text-decoration: none;
  padding: 40px;
  font-weight: 300;
  line-height: 1.4em;
  z-index: 2;
  width: 100%;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
}

.masonry_box_desp strong {
  font-weight: 400;
}

.masonry_box_desp img {
  display: block;
  margin: 0px auto;
  padding-bottom: 28px;
  height: 60px;
  transition: transform .5s;
}

.masonry_item:hover .masonry_box_desp img {
  margin-top: 65px;
  transform: scale(1.5);
  transition: all .5s;
}

.more {
  position: absolute;
  bottom: 20px;
  margin-left: -1000px;
  background: #e4002c;
  color: #fff;
  padding: 10px 30px;
  -webkit-transition: all 0.62s ease-out;
  -moz-transition: all 0.62s ease-out;
  -o-transition: all 0.62s ease-out;
  transition: all 0.62s ease-out;
}

.masonry_item:hover .more {
  margin-left: 0;
  left: auto;
  -webkit-transition: all 0.62s ease-out;
  -moz-transition: all 0.62s ease-out;
  -o-transition: all 0.62s ease-out;
  transition: all 0.62s ease-out;
}

.masonry_item:hover .masonry_box_desp {
  background: transparent;
}

.masonry_item:hover .masonry_box_desp span {
  visibility: hidden;
}

.masonry_item:hover .overflow {
  opacity: 0.6;
  -webkit-transition: all 0.52s ease-out;
  -moz-transition: all 0.52s ease-out;
  -o-transition: all 0.52s ease-out;
  transition: all 0.52s ease-out;
}

.overflow {
  background: linear-gradient(-45deg, #fff, #c6d9ad, #fff, #c6d9ad);
  background-size: 400% 400%;
  animation: gradient 6s ease infinite;
  height: 100vh;
  width: 100%;
  display: block;
  position: absolute;
  z-index: 0;
  opacity: 0;
  -webkit-transition: all 0.52s ease-out;
  -moz-transition: all 0.52s ease-out;
  -o-transition: all 0.52s ease-out;
  transition: all 0.52s ease-out;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.footer {
  position: relative;
  color: #fff;
  text-align: center;
  background: rgba(0, 0, 0, 0.10);
  padding: 10px;
  font-size: 14px;
  letter-spacing: 0.3px;
  line-height: 19px;
  height: 120px;
}

.f_left, .c_left, .r_left {
  float: left;
  display: block;
}

.f_left, .r_left {
  width: 25%;
  padding-top: 45px;
}

.f_left {
  padding-top: 25px;
}

.c_left {
  width: 50%;
}

.footer a {
  text-decoration: none;
  color: #fff;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

.footer a:hover {
  color: #e4002c;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

.tv-footer-social-icon-inner {
  padding-top: 5px;
}

.tvblock-social-content {
  display: inline-block;
  color: #fff;
  margin: 5px;
}

.tvblock-social-content a {
  color: #fff;
  font-size: 22px;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

.tvblock-social-content a:hover {
  color: #e4002c;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

.fa-circle {
  font-size: 6px;
  margin-right: 10px;
}

@media only screen and (max-width: 1199px) {
  .masonry_box_desp {
    padding: 25px;
    min-height: 290px;
  }

  body {
    height: 100vh;
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .content {
    max-width: 100%;
    padding: 0 25px;
  }
}

@media only screen and (max-width: 991px) {
  .masonry_box {
    display: flex;
    margin: 70px 0;
    height: auto;
  }

  .footer {
    position: fixed;
    width: 100%;
    bottom: 0;
  }
  .footer {
    font-size: 12px;
    letter-spacing: 0.1px;
    line-height: 17px;
    padding:  10px 0;
  }
  .polvet_logo{
    max-width: 140px;
  }
  .masonry_box_desp {
    padding: 25px 15px;
    min-height: 320px;
  }
  .masonry_box_desp img {
    height: 40px;
  }
}

@media only screen and (max-width: 768px) {
  .top_logo {
    height: 90px;
    font-size: 20px;
  }



  .masonry_box {
    display: block;
    margin: 45px 0;
  }
  .masonry_box_desp {
      min-height: auto;
      width: calc(100% - 30px);
}
.more {
    position: relative;
    bottom: 0px;
    margin-left: 0;
  }

  body {
    min-height: 100vh;
    height: auto;
    overflow: auto;
  }

  .footer {
    position: relative;
  }



  .masonry_item {
    width: 100%;
    display: block;
    margin: 0;
    margin-bottom: 20px;
  }
  .f_left, .c_left, .r_left{
    width: 100%;
  }
  .footer{
    height: 100%;
    display: inline-block;
  }
  .f_left, .r_left {
    padding-top: 15px;
}
}

@media only screen and (max-width: 480px) {
.top_logo{
  font-size: 16px;
}
.polvet_sygnet{
  width: 31px;
}
.masonry_box {
    margin: 23px 0;
}
}
