body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
}
div,
table,
a,
p,
ul,
li,
h1,
h2,
h3,
h4,
h5,
form,
th,
input,
textarea,
img {
  margin: 0;
  padding: 0;
  font-family: "Ubuntu", sans-serif;
  border: none;
  font-weight: 300;
  text-decoration: none;
  list-style: none;
  font-size: 13px;
}
ul,
p,
table {
  margin-top: 15px;
  color: #f2f2f2;
}
a {
  color: #dfdfdf;
}
h2 {
  font-weight: 500;
  color: #ffffff;
}
.content {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}
.clearer {
  clear: both;
  font-size: 1px;
  height: 1px;
}
* {
  margin: 0;
}
.wrapper {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  margin: 0 auto -470px;
  /* background: url(img/mbg.png) top center no-repeat #424242; */
  /* background: url(img/mbg.png) top center no-repeat #fbfbfb; */
}
/* .footer, */
.push {
  height: 470px;
  clear: both;
}
.footer {
  background: url("img/bg.jpg");
  background-size: cover;
  padding: 0 15px 20px 15px;
}
.footer .content {
  display: flex;
}
@media (max-width: 700px) {
  .footer .content {
    flex-direction: column;
    align-items: center;
  }
}
/*-------------------------------------main-----------------------------------*/
.main {
  background: url(img/mbg.png) top center no-repeat #424242;
  background-size: cover;
}
@media (max-width: 600px) {
  .main {
    padding-bottom: 35px;
  }
}
@media (min-width: 600px) {
  .main {
    height: 390px;
  }
}
.citroen a {
  display: inline-block;
  width: 200%;
  height: 100%;
  border: solid black 1px;
  -webkit-transform: perspective(400px) rotateY(10deg);
}
.logos {
  /* height: auto; */
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
}
.logos a {
  flex: 1;
  display: block;
}

img.mitau {
  position: absolute;
  bottom: 5px;
  width: 226px;
  height: 54px;
}
.citroen,
.kia,
.eneos,
.byd {
  max-width: 260px;
  height: 260px;
  margin: 30px 30px 0px 30px;
  background-repeat: no-repeat;
  background-size: 200px;
  background-position: center center;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  text-align: center;
  background-size: 100%;
  position: relative;
}
.citroen h3,
.kia h3,
.eneos h3,
.byd h3 {
  color: #7b7c7e;
  font-weight: 400;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  position: absolute;
  bottom: 0;
  display: block;
  width: 100%;
}
@media (max-width: 600px) {
  .logos {
    flex-direction: column;
  }
  .logos a {
    width: 100%;
  }
  .citroen,
  .kia,
  .eneos,
  .byd  {
    margin: 0 auto;
    height: 200px;
  }
  .citroen h3,
  .kia h3,
  .eneos h3,
  .byd h3  {
    bottom: -20px;
  }
}
.citroen {
  background-image: url("img/citroen-logo.png");
}
.citroen:hover,
.eneos:hover,
.byd:hover {
  margin-top: 50px;
}
.citroen:hover .citroen-filtrs,
.kia:hover .kia-filtrs,
.eneos:hover .eneos-filtrs,
.byd:hover .byd-filtrs {
  opacity: 0;
  transition: 0.5s;
}
.kia-filtrs,
.citroen-filtrs,
.eneos-filtrs,
.byd-filtrs {
  max-width: 260px;
  width: 100%;
  height: 260px;
  position: absolute;
  background-size: 100%;
  background-repeat: no-repeat;
}
.kia-filtrs {
  margin-top: 85px;
  background-image: url("img/kia-filtrsy.png");
  display: none;
}
.citroen-filtrs {
  background-image: url("img/citroen-filtrs.png");
  margin-top: 50px;
  display: none;
}
.kia:hover {
  margin-top: 50px;
}
.kia {
  /* background-image: url('img/kia-logo.png'); */
  background-image: url("img/kia-logo-new.png");
}
.eneos {
  background-image: url("img/mitaumotors-logo2.png");
}
.byd {
  /* background-image: url('img/kia-logo.png'); */
  background-image: url("img/byd-logo.png");
}
.main ul {
  /* position: absolute;
  bottom: 5px;
  right: 10px; */
  text-transform: uppercase;
  margin-top: 0;
  padding-top: 15px;
  padding-right: 15px;
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-left: auto;
}
.main ul li {
  /* float: left; */
  margin-left: 13px;
  display: inline-block;
}
.main ul li a {
  color: #7b7c7e;
  font-size: 10px;
}
.aktiva {
  font-weight: 400;
  color: #333333;
  text-decoration: underline;
}
@media (max-width: 600px) {
  .main ul {
    bottom: auto;
    top: 10px;
  }
}
/*----------------------------------foother-----------------------------------*/
.info img {
  margin-top: 30px;
}
.info,
.rekviziti,
.darba-laiks {
  /* float: left; */
  margin-top: 40px;
  flex: 1;
  padding: 0 15px;
  /* min-width: 240px; */
}
@media (max-width: 700px) {
  .info,
  .rekviziti,
  .darba-laiks {
    text-align: center;
  }
  .darba-laiks table {
    width: 100%;
    text-align: center;
  }
}
.darba-laiks table {
  color: #f2f2f2;
}
.darba-laiks table tr td {
  width: 80px;
}
.dizains,
.copy {
  margin-top: 40px;
}
.dizains {
  float: right;
}
.copy {
  /* float: left; */
  max-width: 1000px;
  width: 100%;
  margin: 40px auto 0 auto;
  text-align: center;
  padding-bottom: 10px;
  box-sizing: border-box;
}

.blk1,
.blk2,
.blk3 {
  float: left;
  width: 300px;
  margin: 0 10px;
}
iframe {
  margin-top: 20px;
}

#googleMap {
  height: 400px;
  width: 100%;
}

.popupbg {
  background: url(img/popup_bg.png);
  width: 100%;
  position: fixed;
  z-index: 10;
  bottom: 0px;
  top: 0px;
  left: 0px;
  right: 0px;
}

.popupcont {
  width: 1024px;
  margin: 0 auto;
}

.popupwrap {
  width: 1024px;
  margin: 0 auto;
  position: absolute;
  top: 50%;
}

.popup {
  width: 1024px;
  margin-top: -295px;
  background: #fff;
  height: 591px;
  position: relative;
  box-shadow: 0px 0px 2px 1px #6a6965;
}

.popup .close {
  background: url(img/closepopup.png) top no-repeat;
  width: 32px;
  height: 32px;
  display: block;
  right: -16px;
  top: -16px;
  position: absolute;
  z-index: 10;
}

.popup .close:hover {
  background: url(img/closepopup.png) bottom no-repeat;
}

.contact-info {
  background: #424242;
  /* background: #efefef; */
  padding: 20px;
}

.contact-info p,
.contact-info h3 {
  color: #fff;
  /* color: #333333; */
}

.contact-info h3 {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}

.contblk__list {
  max-width: 1040px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
.contblk__item {
  flex: 1;
  display: block;
  /* vertical-align: top; */
  padding: 20px;
  box-sizing: border-box;
}
.contblk__item p {
  line-height: 18px;
}
@media (max-width: 940px) {
  .contblk__list {
    flex-wrap: wrap;
  }
  .contblk__item {
    max-width: 49%;
    min-width: 49%;
    text-align: center;
  }
}
@media (max-width: 600px) {
  .contblk__item {
    max-width: 100%;
    min-width: 100%;
  }
}

.contblk__item a {
  color: #fff;
  /* color: #333333; */
  text-decoration: underline;
}

.contblk__item a:hover {
  text-decoration: none;
  color: #f6111d;
}
