html {
  min-height: 100%;
}
body {
  background: #fff;
  color: #4f525b;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: normal;
}
p {
  margin: 10px 0;
}
a {
  color: #4f525b;
  text-decoration: underline;
}
.btn {
  text-decoration: none;
}
.none-decoration {
  text-decoration: none;
}
.none-decoration:hover,
.none-decoration:focus,
.none-decoration:active {
  text-decoration: none;
}
.decoration {
  text-decoration: underline;
}

@media (min-width: 768px) {
  h2, .h2 {
    font-size: 36px;
  }
}


/* Header
-------------------------------------------------- */
header {
  background: url('../img/bg-header.jpg') center no-repeat,#FAFBFC;
  background-size: cover;
  height: 300px;
  padding: 30px 0;
}
.container {
  height: 100%;
  position: relative;
}
.logo-ditrade {
  background: url('../img/logo-ditrade.png') center no-repeat;
  background-size: 150px;
  margin-bottom: 10px;
  height: 50px;
  width: 150px;
  background-color: #FAFBFC;
}
.lead {
  font-size: 12px;
  width: 170px;
}
.dealers-login {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  padding: 10px;
  position: absolute;
  bottom: 0;
  left: 15px;
}
.dealers-login:hover {
  background: rgba(255, 255, 255, 0.7);
}
.dealers-login .glyphicon {
  margin-right: 5px;
}

@media (min-width: 768px) {
  header {
    height: 400px;
    /*padding: 90px 0;*/
  }
  .logo-ditrade {
    background-size: 200px;
    margin-top: 60px;
    margin-bottom: 30px;
    width: 200px;
  }
  .lead {
    font-size: 16px;
    width: auto;
  }
  .dealers-login {
    bottom: inherit;
    left: inherit;
    top: 0;
    right: 15px;
  }
}
@media (min-width: 992px) {
  header {
    background-size: auto;
  }
  .lead {
    font-size: 24px;
  }
}


/* About
-------------------------------------------------- */
.about {
  background: #e3e7ec;
  padding: 30px 0 50px;
}


/* Cooperation form
-------------------------------------------------- */
.cooperation {
  background: #33568d url('../img/bg-form.jpg') center bottom no-repeat;
  color: #fff;
  padding: 30px 0 50px;
}
.cooperation a,
.cooperation a:hover,
.cooperation a:focus,
.cooperation a:active {
  color: #fff;
}
.form-wrapper {
  background: #fff;
  border-radius: 20px;
  color: #4f525b;
  margin: 50px auto 30px;
  padding: 35px 15px;
  max-width: 640px;
}
.form-group {
  margin-bottom: 20px;
}
label {
  font-size: 14px;
  font-weight: normal;
}
.form-control {
  border-radius: 5px;
  color: #2c3e50;
  font-size: 24px;
  height: 50px;
}
.btn {
  border-radius: 10px;
  font-size: 20px;
  padding: 8px 30px;
}
.btn-primary {
  color: #fff;
  background-color: #3c64a1;
  border: 5px solid #d8e0ec;
  display: block;
  margin: 15px auto;
}
.btn-primary:hover {
  color: #fff;
  background-color: #3c64a1;
  border-color: #c4d0e3;
}
.btn-primary:active,
.btn-primary:focus,
.btn-primary:active:hover,
.btn-primary:active:focus {
  color: #fff;
  background-color: #32568e;
  border-color: #c4d0e3;
  outline: none;
}
.help-block {
  display: none;
}
.has-error .help-block {
  display: block;
}
.form-control::-webkit-input-placeholder {color:#d4d8dd;}
.form-control::-moz-placeholder          {color:#d4d8dd;}
.form-control:-moz-placeholder           {color:#d4d8dd;}
.form-control:-ms-input-placeholder      {color:#d4d8dd;}

@media (min-width: 768px) {
  .form-wrapper {
    padding: 35px 50px;
  }
  .btn-primary {
    margin: 15px 0;
  }
}



/* Contacts
-------------------------------------------------- */
.contacts {
  padding: 30px 0 0;
}
.contacts .container {
  margin-bottom: 40px;
}

.icon-location,
.icon-phone,
.icon-clock {
  background: url("../img/sprite.png") no-repeat;
  background-size: 80px;
  display: block;
  height: 80px;
  margin: 30px auto;
  width: 80px;
}
.icon-location {
  background-position: 0 0;
}
.icon-phone {
  background-position: 0 -80px;
}
.icon-clock {
  background-position: 0 -160px;
}

.map-wrapper {
  margin: 0 15px 30px;
}
@media (min-width: 768px) {
  .map-wrapper {
    margin: 0;
  }
}


/* Footer
-------------------------------------------------- */
footer {
  background: #33568d url('../img/bg-footer.jpg') center no-repeat;
  color: #fff;
  height: 150px;
  padding: 50px 0;
}
footer a,
footer a:hover,
footer a:focus,
footer a:active {
  color: #fff;
}
@media (min-width: 768px) {
  .up {
    text-align: right;
  }
}
