* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: Arial, Helvetica, sans-serif;
}

li {
  list-style-type: none;
}

.num-con li {
  list-style-type: none;
}

.wp-link {
  width: auto;
  height: auto;
  position: fixed;
  bottom: 50px;
  left: 50px;
  border-radius: 50%;
  z-index: 99999;
}

.wp-icon:hover {
  box-shadow: 0px 0px 20px -10px rgba(0,0,0,0.5);
}

.wp-icon {
  width: 80px;
  height: 80px;
}

.container {
  width: 100vw;
  height: auto;
  position: relative;
}

.body-size {
  position: relative;
  width: 100%;
  height: auto;
  padding-bottom: 50vh;
}

/****************************************************/

#navbar {
    position: fixed;
    z-index: 20;
    left: 0;
    right: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    width: 100vw;
    background-color: #000000;
}

#navbar li {
  list-style-type: none;
}

.brand {
    width: 25%;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
}

.nav-menu {
    width: 60%;
    height: 70px;
    font-size: 15px;
    margin-left: calc(10vw + 200px);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0);
    transition: all 0.25s ease-in;
}

.menu-items {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-links {
    line-height: 50px;
    padding: 15px;
    cursor: pointer;
}

.menu-item {
    text-align: center;
}

.menu-item:hover {
    background-color: rgba(257,257,257, 0.2);
}

.nav-dropdown {
    position: absolute;
    top: 70px;
    list-style-type: none;
    background-color: rgb(33,33,33);
    width: auto;
    display: none;
    z-index: 1;
    box-shadow: 2px 2px 10px 5px rgba(0,0,0,0.3);
    padding: 10px 5px;
}

.submenu-item {
    text-align: left;
    padding: 10px 70px 10px 10px;
}

.submenu-item:hover {
    background-color: rgba(50, 50, 50, 1);
}

.hamburger {
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 70px;
    height: 70px;
    cursor: pointer;
    z-index: 999;
}

.hamburger div {
    width: 70px;
    height: 70px;
    margin: 0;
    position: relative;
}

.hamburger span {
    background: rgba(257, 257, 257, 1);
    width: 30px;
    height: 3px;
    border-radius: 5px;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.2s ease-out;
}

.hamburger .line-1{
    transform: translate(-50%, -12px);
}
.hamburger .line-3{
    transform: translate(-50%, 9px);
}
.menu-active .line-1{
    transform: translate(-50%, -50%) rotate(-45deg);
}
.menu-active .line-3{
    transform: translate(-50%, -50%) rotate(45deg);
}
.menu-active .line-2{
    width: 0;
}

@media screen and (min-width: 800.2px) {

    .hamburger {
        display: none !important;
    }

}





@media screen and (max-width: 800.2px) {

    .menu-links {
        line-height: 50px;
    }

    .nav-dropdown {
        top: 50px;
    }

    .hamburger {
        width: 50px;
        height: 50px;
    }

    .hamburger div {
        width: 50px;
        height: 50px;
    }

    #navbar {
        height: 100px !important;
    }

    .brand {
        width: 40%;
        height: 50px;
    }

    .nav-menu {
        width: 100vw;
        height: 100vh;
        position: absolute;
        top: 0;
        left: 0;
        background-color: rgba(0,0,0,0.9);
        opacity: 0;
        transform: translateY(-100vh);
        font-size: 14px;
        margin-left: 0;
        margin-top: 0;
    }

    .menu-active .nav-menu {
        transform: translateY(0);
        opacity: 1;
    }

    .menu-items {
        display: block;
        text-align: center;
    }

}

#navbar li {
    text-decoration: none;
    color: #ffffff;
}

#navbar li:link {
    text-decoration: none;
    color: #ffffff;
}

#navbar li:visited {
    text-decoration: none;
    color: #ffffff;
}

#navbar li:active {
    text-decoration: none;
    color: #ffffff;
}

.company-logo {
    width: auto;
    height: 100%;
}

#navbar ul li a:not(:only-child):after,
#navbar ul li a:visited:not(:only-child):after {
    padding-left: 4px;
    content: " ▾";
}

.logo {
  width: 150px;
  height: 150px;
  position: absolute;
  left: 10vw;
  top: 0;
  background-color: rgba(0, 49, 83, 1);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 11;
}

.logo-img {
  width: 130px;
  height: auto;
}

.logo-phone {
  display: none;
}

.service-logo  {
  width: 500px;
  height: auto;
  margin-top: 100px;
}

@media only screen and (max-width: 800px) {

  .logo {
    display: none;
  }

  .logo_phone {
    width: 260px;
    height: 100px;
    min-width: 50px;
  }

  .logo-phone {
    display: block;
    position: absolute;
    width: 100vw;
    height: 100px;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 11;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .service-logo {
    width: 80vw;
  }

}

/****************************************************/
.carousel {
  width: 100vw;
  position: relative;
  background: #f1f1f1f1;
  height: calc(100vh - 100px);
  overflow: hidden;
  z-index: 10;
  margin-top: 100px;
}

.slide1 {
  background-image: url('images/bosch-kazan.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide2 {
  background-image: url('images/service.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide3 {
  background-image: url('images/references.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

a {
  text-decoration: none;
}

/* Slides */
.mySlides {
  display: none;
  text-align: center;
  height: 100vh;
}

.slide-header a {
  text-decoration: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  /*margin-top: -30px;*/
  padding: 16px;
  color: #888;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  position: absolute;
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  text-decoration: none;
}

/* The dot/bullet/indicator container */
.dot-container {
  width: 100%;
  position: absolute;
  bottom: 0;
  text-align: center;
  padding-bottom: 10px;
  background-color: transparent;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 2px;
  width: 20px;
  margin: 0 2px;
  background-color: #ffffff;
  display: inline-block;
  transition: height 0.6s ease;
}


.slide-header {
  display: block;
  justify-content: center;
  align-items: center;
}

.darkside {
  /*margin-bottom: -30px;*/
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 100%;
}

/* Add a background color to the active dot/circle */
.active, .dot:hover {
  height: 4px;
  width: 22px;
}

/* Add an italic font style to all quotes */
q {
  font-style: italic;
}

/* Add a blue color to the author */
.author {
  color: cornflowerblue;
}

.darkside p {
  text-align: center;
  font-size: 12px;
  color: white;
  padding: 5px 10px;
  border-top: 1px solid rgba(257, 257, 257, 1);
  border-bottom: 1px solid rgba(257, 257, 257, 1);
  cursor: pointer;
}

.darkside p:hover {
  color: #ababab;
}

.darkside h4 {
  font-size: 3rem;
  font-weight: 700;
  width: auto;
  height: auto;
  color: white;
}

@media (max-width: 800px) {
  .slideshow-container {
    height: 100vh;
  }

  .mySlides {
    height: 100vh;
  }
}

/**********************************/

.cards-body {
  width: 100vw;
  max-width: 1200px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.card_body {
  width: 700px;
  height: auto;
  margin: 50px auto;
  overflow: hidden;
  box-shadow: 2px 2px 30px 3px rgba(0,0,0,0.5);
}

.card-even {
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-odd {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
}

.card-image {
  width: 350px;
  height: 300px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.first_card {
  background-image: url('images/yer-tipli.png');
}

.second_card {
  background-image: url('images/divar-tipli.png');
}

.third_card {
  background-image: url('images/kazan-resim.png');
}

.fourth_card {
  background-image: url('images/panell.png');
}

.card-info {
  width: 350px;
  height: 300px;
}

.text-space {
  width: auto;
  height: auto;
  padding: 30px;
  text-align: justify;
  text-justify: inter-word;
}

.text-space {
  font-size: 14px;
}

.listt {
  margin-left: 20px;
}

.listt_con {
  margin-left: 20px;
}


.text-space li{
    list-style-type: circle;
}

.link-style {
  color: rgba(13, 6, 150, 1);
  cursor: pointer;
}

.link-style:hover {
  color: rgba(74, 66, 235, 1);
}

.link-style:active {
  color: rgba(32, 30, 71, 1);
}

.short {
}

.long {
  width: 290px;
  height: 240px;
  overflow: scroll;
}

.long p {
  margin-right: 15px;
}

.long ul {
  margin-right: 15px;
}

.hide{
  display: none;
}

@media (max-width: 800px) {


  .card-odd, .card-even {
    display: flex;
	  flex-direction: column;
	  align-items: center;
  }

  .card_body {
    width: 350px;
  }
}

@media (max-width: 400px) {
  .card_body {
    width: 90vw;
    height: auto;
  }

  .card-image {
    width: 100%;
  }

  .card-info {
    width: 100%;
    font-size: 13px;
    height: auto;
  }

  .long {
    width: 100%;
  }

  .ref-img {
    width: 90vw;
  }

}

/************************************/
.footer {
  width: 100vw;
  height: 50vh;
  position: absolute;
  bottom: 0;
  background-color: rgba(31, 31, 31, 1);
  text-align: center;
  display: block;
  color: white;
  padding: 5vh 5vw;
}

.info-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 5px;
  font-size: 14px;
}

code {
  font-size: 16px;
}

.foot-social {
  width: 33.3333%;
  height: 30vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(31,31,31,1);
  margin: 5px;
}

.foot-numbers {
  width: 33.3333%;
  height: 30vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(31,31,31,1);
  margin: 5px;
}

.num-con {
  display: block;
}

.foot-address {
  width: 33.3333%;
  height: 30vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(31,31,31,1);
  margin: 5px;
}

.number {
  font-size: 14px;
}

.facebookIconClass {
  width: 40px;
  cursor: pointer;
  margin: 10px;
}

.instagramIconClass {
  width: 40px;
  cursor: pointer;
  margin: 10px;
}

.dealer-logo {
  width: 100vw;
  max-width: 1200px;
}

.ser-img {
  width: 300px;
  height: 300px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin: 10px;
}

.ref-con {
  max-width: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  -webkit-display: box;
  -moz-display: box;
  -ms-display: flexbox;
  -webkit-display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 1vw auto;
}

.dealer {
  justify-content: center;
  align-items: center;
  color: black;
  position: relative;
  width: 100vw;
  height: 100vh;
  margin-top: 150px;
}

.txtfoot {
  width:auto;
}

.service {
  margin: 150px auto;
}

.special-id {
  text-align: left;
}

@media (max-width: 800px) {

  .body-size {
    padding-bottom: 60vh;
  }

  .footer {
    height: 60vh;
  }

  .info-container {
    display: block;
  }

  .foot-social {
    width: 100%;
    height: 15vh;
  }

  .foot-numbers {
    width: 100%;
    height: 15vh;
  }

  .foot-address {
    width: 100%;
    height: 15vh;
  }

  .ptxt {
    font-size: 16px;
  }

  .number {
    font-size: 14px;
  }

  .facebookIconClass {
    width: 25px;
    cursor: pointer;
  }

  .instagramIconClass {
    width: 25px;
    cursor: pointer;
  }

  .ser-img {
    width: 300px;
    height: 300px;
    margin: 20px;
  }

}

#dealer, #service, #reference  {
  display: none;
}

.dealer, .service {
  width: 100vw;
  height: auto;
}

.listt_con li {
  list-style-type: circle;
  margin-left: 20px;
}

/**************************CARD BODY****************************/

.reference-container {
  margin-top: 200px;
  max-width: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  -webkit-display: box;
  -moz-display: box;
  -ms-display: flexbox;
  -webkit-display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 1vw auto;
}

.ref-img {
  width: 300px;
  height: 300px;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin: 10px;
  overflow: hidden;
  box-shadow: 0px 0px 20px 5px rgba(0,0,0,0.5)
}

.ref-info {
  position: absolute;
  top: 85%;
  width: 100%;
  height: auto;
  background-color: rgba(0,0,0,0.8);
}

.reference-container h3 {
  font-size: 15px;
  color: white;
  text-align: center;
  padding-top: 15px;
}

.reference-container li{
  margin: 5px auto;
}

.reference-container ul {
 padding: 5px 20px 20px;
 color: white;
 text-align: justify;
 text-justify: inter-word;
 font-size: 15px;
}

.mouseOut {
  top: 85%;
  bottom: auto;
  animation: mouseLeave 0.5s linear;
}

.mouseIn {
  top: auto;
  bottom: 0;
  animation: mouseOver 0.3s linear;
}

/* @keyframes mouseOver {
  from {
    bottom: -20%;
  }
  to {
    bottom: 0);
  }
}
@keyframes mouseLeave {
  from {
    bottom: 0);
  }
  to {
    bottom: -20%;
  }
}
 */
@media (max-width: 800px) {
  .ref-img {
    width: 300px;
    height: 300px;
    margin: 20px;
  }
}

@media (max-width: 400px) {
  .ref-img {
    width: 90vw;
    height: 90vw;
    margin: 10px auto;
  }

  .reference-container h3 {
    font-size: 4.5vw;
  }

  .reference-container ul {
    font-size: 4.1vw;
  }

}

.sossial {
  display: flex;
  flex-direction: column;
}

.social-media_icons {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mail-box {
  color: rgba(230,230,230,1);
  font-size: 15px;
}
