#nav_bg {
    background-image: url("http://cartest.ee/img/banner.jpg");
    height: 30vh;
    width: auto;
    background-size: cover;
    background-position: 70%;
    box-shadow: 0px 10px 20px grey;
}
#nav {
    margin:auto;
    position:relative;
}
#nav_asjad {
    position: relative;
    background-color:white;
    opacity:0.88;
}
#nav_asjad a {
    text-decoration: none;
}
#menu_items {
    position: relative;
    margin-left: 145px;
}
.dropdown {
    position: relative;
    margin-top: 16px;
    cursor: default;
    color: #007bff;
}
#logo {
    position: absolute;
    left:5;
    top:5;
}
#sisu_bg {
    min-height:65vh;
    width:100%;
    background-size:cover;
    background: url("http://cartest.ee/img/sisu_taust.png") no-repeat center center fixed;
    background-position-y: 32%;
}
#footer {
    position: fixed;
    bottom:0;
    height:5vh;
    width:100%;
    background-color: #4f4f4f;
    box-shadow: 0px -10px 20px grey;
}
.p-3 {
    font-size: 24px;
    text-align:center;
}
#sisu {
    padding-top:50px;
    padding-bottom: 10px;
}
#footer_content {
    position: relative;
    color:white;
    padding-top:15px;
}
#footer_tekst {
    position: relative;
    text-align: center;
}
p {
    text-align: justify;
}
.container p {
    padding:0px 15px;
}
.row > p {
    font-size:20px;
    margin-bottom:1.8rem;
}
#sisu img {
    cursor: pointer;
}
.modal-dialog {
    margin-left:20%;
}
#modaal_img {
    height:auto;
    width:60vw;
}
.modal-content {
    width:63vw;
    height:auto;
}
#fb_img {
    position:fixed;
    height:auto;
    width:35px;
    right:30;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 120px;
    margin-top:16px;
    z-index: 1;
    text-align: center;
}
.dropdown-content a {
    color: #0064cf;
    font-size: 19px;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
.dropdown-content a:hover {
    background-color: #ddd;
}
.dropdown:hover .dropdown-content {
    display: block;
}
td {
    min-width: 160px;
    border-bottom: rgba(0,0,0,0.15) 1px solid;
}

#hinnakiri_rida {
    font-size: 1.4rem;
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(0,0,0,0.15);
}

#hinnakiri_rida img {
    cursor: default;
}

.info {
    display: inherit;
}

#liik {
    font-weight: bold;
}

#main_hinnad {
    display: flex;
}

#hinnakiri_eri_1 {
    margin: 10px 0;
}

#hinnakiri_eri_2 {
    font-size: 12px;
    margin-bottom: 3px;
}

#sisu > #pesula_info_pilt, #sisu > #pesula_hinnakirja_pilt {
    cursor:default;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

#kontakt {
    padding-top:1%;
}

input[type=text], input[type=email], textarea {
    border: 0.5px solid rgba(0,0,0,0.55);
    width:100%;
}

label {
    padding-top: 5px;
}

input[type=submit] {
    margin-top: 5px;
}

textarea {
    min-height: 10vh;
}

#kaart {
    margin:0;
    margin-top:15px;
    padding:0;
}

#esise_pilt {
    width:68%;
    height: auto;
    float: right;
    cursor:default !important;
}

#info_tekst {
    float: left;
    padding-top:1px;
}

.modal_pilt {
    cursor:pointer;
    border: rgb(0,0,0) 1px solid;
    border-radius:2px;
}

#pesu_kirjeldus > p {
    text-align:left;
    padding:0;
}


.pesulahinnakiri > .row:nth-child(3) {
    padding-top:25px;
}

.pesulahinnakiri > .row:nth-child(1n+4) {
    padding-top:15px;
    border-top: rgba(0,0,0,0.15) 1px solid;
}

#logod, #hinnaklassid {
    padding:0;
    left:-21px;
    font-size:22px;
}

#logod > img {
    width:40%;
    height:auto;
    cursor:default;
}

img[alt*="auto"] {
   margin-left:29px;
}

#auto_span {
    margin-left:80px;
}

#pesula_logo {
    position:absolute;
    right:0;
}

#pesula_juhend {
    display:flex;
}

#juhend {
    margin:auto;
    color:#00649D;
}

#pesula_nimekiri {
    font-size:26px;
    padding-top:20px;
}

#autopesula_hinnakiri {
    color:#00649D;
}

ul {
  list-style: none; /* Remove default bullets */
}

ul li::before {
  content: "\2022";  /* Add content: \2022 is the CSS Code/unicode for a bullet */
  color: #00649D; /* Change the color */
  font-weight: bold; /* If you want it to be bold */
  font-size:30px; /* Bullet size */
  display: inline-block; /* Needed to add space between the bullet and the text */
  width: 0.7em; /* Also needed for space (tweak if needed) */
  margin-left: -1em; /* Also needed for space (tweak if needed) */
}

@media (max-width: 1272px) {
    #footer_content {
        padding-top:0;
    }
}

@media (max-width: 1200px) {
    #info_tekst {
        padding-left:0;
        padding-top:5rem;
    }
    input[type=text], input[type=email], textarea {
        width:100%;
    }
    .saada {
        text-align:center;
    }
    input[type=submit] {
      width:100%
    }
    form > h1 {
        text-align:center;
    }
    #logod {
        left:0;
    }
    img[alt*="auto"] {
        margin-left:13px;
    }
    #auto_span {
        margin-left:50px;
    }
    #pesula_logo {
        display:none;
    }
    
}

@media (max-width:991px) {
  #logoimg {
    display: none;/* kas panen siis kuhugile mujale */
  }
  #menu_items {
      margin-left: 0;
  }
  #footer_tekst {
    font-size:0.8em;
  }
  #hinnakiri_tekst {
      font-size: 1rem;
      margin-top: 10px;
      margin-left: 0;
  }
  #hinnakiri_rida {
      font-size: 1.1rem;
  }
  #info_tekst {
      padding-top:1.3rem;
  }
  #hinnaklassid {
      padding:0;
      left:10px;
      font-size:22px;
  }
  #auto_span {
      margin-left:50px;
  }
  img[alt*="auto"] {
      margin-left:19px;
  }
  #koma {
      display:none;
  }

}

@media (max-width: 817px) {
}

@media (min-width: 768px) {
    #info_tekst_sm {
        display:none;
    }
}

@media (max-width: 767px) {
  #footer_tekst {
      font-size:0.6em;
  }
  #fb_img {
      height: auto;
      width:20px;
  }
  #hinnakiri_tekst {
      margin-top:0;
  }
  #info_tekst, #esise_pilt {
      display:none;
  }
  #info_tekst_sm {
      display:block;
      text-align:center;
  }
  #esise_pilt {
      margin-right:100px;
  }
  .p-3 {
      font-size:110%;
  }
  #auto_span {
      margin-left:28px;
  }
  #hinnaklassid {
      left:5px;
  }
}
