/* page fonts */
@font-face {
  font-family: 'Proxima Nova Regular';
  src: url('../fonts/ProximaNova-Regular.eot');
  src: url('../fonts/ProximaNova-Regular.eot?#iefix') format('embedded-opentype'),
  url('../fonts/ProximaNova-Regular.woff') format('woff'),
  url('../fonts/ProximaNova-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Proxima Nova Bold';
  src: url('../fonts/ProximaNova-Bold.eot');
  src: url('../fonts/ProximaNova-Bold.eot?#iefix') format('embedded-opentype'),
  url('../fonts/ProximaNova-Bold.woff') format('woff'),
  url('../fonts/ProximaNova-Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* changing main page styles */
body, html {
  height: auto;
}
.blog_main-container {
  padding: 0 !important;
  position: relative;
}
.blog_header {
  display: none !important;
}

.menu-mobile {
  display: none !important;
}

.blog_footer {
  display: none !important;
}

.blog_main-container:after {
  display: none;
}
/* page styles */
.lp-container {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: url(../img/lp-images/background.jpg) no-repeat center top / cover;
  z-index: 0;
  min-height: 100vh;
}
body.logged-in .lp-container {
  min-height: calc(100vh - 32px);
}

.lp-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: block;
  background-color: rgba(0,0,0,.2);
  z-index: -1;
}

.lp-wrapper {
  width: 770px;
  margin: 0 auto;
}

.landing-header {
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
}
.lh-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 647px;
  margin: 35px auto 0;
}

.lp-logo {
  display: inline-block;
}

.mandria-logo {
}

.ecolines-logo {
}

.landing-content {
  text-align: center;
}

.landing-content h1 {
  margin-top: 120px;
  margin-bottom: 0;
  font: 45px 'Proxima Nova Bold', Helvetica, sans-serif;
  color: #ffffff;
}

.subheader {
  margin-top: 16px;
  font: 20px 'Proxima Nova Regular', Helvetica, sans-serif;
  color: #ffffff;
}

.participation {
  margin-top: 24px;
  font: 20px/1.2 'Proxima Nova Regular', Helvetica, sans-serif;
  color: #ffffff;
}

.participation a {
  line-height: inherit;
  color: #f55c0b;
  border-bottom: 1px dashed transparent;
  -webkit-transition: border .4s ease;
  -moz-transition: border .4s ease;
  -ms-transition: border .4s ease;
  -o-transition: border .4s ease;
  transition: border .4s ease;
}

.participation a:hover {
  color: #f55c0b;
  border-color: #f55c0b;
}

.landing-content > h2 {
  margin-top: 25px !important;
  margin-bottom: 22px;
  font: 24px 'Proxima Nova Bold', Helvetica, sans-serif;
  color: #ffffff;
}

form {
  display: inline-block;
  width: 476px;
}

input#subs-name,
input#subs-email,
input#subs-submit {
  display: block;
  height: 50px;
  width: 100%;
  margin-bottom: 13px;
  padding-left: 30px;
  padding-right: 30px;
  margin-right: 30px;
  border: 1px solid #acacac;
  background-color: #ffffff;
  outline: none;
  font: 18px 'Proxima Nova Regular', Helvetica, sans-serif;
  color: #404040;
  -webkit-transition: all .1s ease;
  -moz-transition: all .1s ease;
  -ms-transition: all .1s ease;
  -o-transition: all .1s ease;
  transition: all .1s ease;
  -webkit-appearance: none;
}

input#subs-name::placeholder,
input#subs-email::placeholder {
  color: #bdbdbd;
}

input#subs-name:focus,
input#subs-email:focus {
  box-shadow:
    1px 1px 1px 0 #ff8c00,
    -1px -1px 1px 0 #ff8c00,
    -1px 1px 1px 0 #ff8c00,
    1px -1px 1px 0 #ff8c00;
  border-color: transparent;
}

input#subs-submit {
  margin-bottom: 0;
  padding: 0;
  border: 2px solid transparent;
  background-color: #005999;
  color: #ffffff;
  cursor: pointer;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -ms-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}

input#subs-submit:hover {
  border: 2px solid #005999;
  color: #005999;
  background-color: #ffffff;
}

.mail-info {
  margin-top: 62px;
  margin-bottom: 174px;
  font: 18px/1.3 'Proxima Nova Regular', Helvetica, sans-serif;
  color: #ffffff;
  white-space: nowrap;
}

.landing-footer {
  background-color: #484848;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
}

.lf-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 1176px;
  margin: 0 auto;
}

.rules-container {
  text-align: center;
}

.rules-container * {
  font: 20px 'Proxima Nova Regular', Helvetica, sans-serif;
  color: #ffffff;
}

.rules-link {

}

.copyright {
  margin-top: 20px;
}

.bus-img {
  margin-top: 12px;
  margin-right: -53px;
  margin-bottom: 0;
}

#subs-submit-done {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  width: 100%;
  text-align: center;
  background-color: #71be48;
  -webkit-transition: all .2s ease;
  -moz-transition: all .2s ease;
  -ms-transition: all .2s ease;
  -o-transition: all .2s ease;
  transition: all .2s ease;
}
#subs-submit-done span {
  position: relative;
  font: 20px 'Proxima Nova Regular', Helvetica, sans-serif;
  color: #ffffff;
}
#subs-submit-done span:before {
  content: '';
  position: absolute;
  top: 5px;
  left: -30px;
  height: 15px;
  width: 18px;
  background: url(../img/lp-images/done.png) no-repeat center center;
}

@media all and (max-width: 1300px) {
  .lp-container {
    padding-bottom: 100px;
  }

  .landing-content h2 {
    margin-top: 45px;
  }

  .mail-info {
    margin-bottom: 70px;
  }

  .lf-wrapper {
    width: 780px;
  }

  .mandria-f-logo img {
    width: 180px;
  }

  .rules-container {
    margin-top: 15px;
    margin-bottom: 15px;
  }

  .rules-container * {
    font-size: 18px;
  }

  .copyright {
    margin-top: 10px;
  }

  .bus-img {
    width: 180px;
    margin-right: 0;
  }
}

@media all and (max-width: 800px) {
  .lp-wrapper {
    width: 500px;
  }

  .lh-wrapper {
    width: 500px;
  }

  .landing-content h1 {
    font-size: 36px;
  }

  .mail-info {
    white-space: normal;
  }

  .hidebr {
    display: none;
  }

  .lf-wrapper {
    width: 540px;
  }

  .rules-container * {
    font-size: 15px;
  }

  .copyright {
    margin-top: 5px;
  }

  .mandria-f-logo img {
    width: 130px;
  }

  .bus-img {
    margin-right: -12px;
    margin-bottom: 10px;
    width: 130px;
  }
}

@media all and (max-width: 540px) {
  .lh-wrapper{
    width: 320px;
  }

  .lp-container {
    padding-bottom: 212px;
  }

  .lp-wrapper {
    width: 320px;
  }

  .landing-content h1 {
    margin-top: 100px;
  }

  .mandria-logo img {
    width: 135px;
  }

  .ecolines-logo img {
    width: 130px;
  }

  .subheader {
    margin-top: 14px;
  }

  .mail-info {
    margin-top: 40px;
    margin-bottom: 68px;
  }

  form {
    width: 100%;
  }

  #subs-submit-done span {
    font-size: 16px;
  }

  #subs-submit-done span::before {
    top: 2px;
    left: -23px;
  }

  .lf-wrapper {
    flex-wrap: wrap;
    width: 320px;
  }
  .bus-img {
    margin-right: 0;
  }

  .mandria-f-logo,
  .rules-container,
  .eco-link {
    margin: auto;
    text-align: center;
    flex-basis: 100%;
    margin-top: 15px;
  }

  .eco-link {
    flex-basis: auto;
    margin-bottom: 15px;
  }

  .rules-link {
    font-size: 20px;
  }

  .copyright {
    margin-top: 15px;
  }
}