body{
  font: 15px/1.5 Arial, Helvetica, sans-serif;
  padding:0;
  margin:0;
  background-color:#f4f4f4;
}

/* Globālie */
.container{
  width:80%;
  margin:auto;
  overflow:hidden;
}
ul{
  margin: 0;
  padding: 0;
}
.button_1{
  height: 38px;
  background: #e8491d;
  border:0;
  padding-left: 20px;
  padding-right: 20px;
  color: #fff;
}

.dark{
  padding: 15px;
  background: #35424a;
  color: #fff;
  margin-top: 10px;
  margin-bottom: 10px;
}

/*header*/
header{
  background:#35424a;
  color:#fff;
  padding-top: 30px;
  min-height: 70px;
  border-bottom: #e8491d 3px solid;
}
header a{
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 16px;
}
header li{
  float: left;
  display: inline;
  padding: 0 20px 0 20px;
}
header #branding{
  float: left;
}
header #branding h1{
  margin: 0;
}
header nav{
  float: right;
  margin-top: 12px;
}
header .highlight, header .current a{
  color: #e8491d;
  font-weight: bold;
}
header a:hover{
  color: #ccc;
  font-weight: bold;
}

/*showcase*/
#showcase{
  min-height: 400px;
  background: url('../images/ainava.jpg') no-repeat 0 -270px;
  text-align: center;
  color: #fff;
}
#showcase h1{
  margin-top: 100px;
  font-size: 55px;
  margin-bottom: 10px;
}
#showcase p{
  font-size: 20px;
}

#newsletter{
  padding: 10px;
  color: #fff;
  background: #35424a;
}
#newsletter h1{
  float: left;
}
#newsletter form{
  float: right;
  margin-top: 15px;
}
#newsletter input[type="email"]{
  padding: 4px;
  height: 25px;
  width: 250px;
}

/*boxes*/
#boxes{
  margin-top: 20px;
}
#boxes .box{
  float: left;
  text-align: center;
  width: 30%;
  padding: 10px;
}
#boxes .box img{
  height: 80px;
}

/* Sidebar */
aside#sidebar{
  float: right;
  width: 30%;
  margin-top: 10px;
}
aside#sidebar .quote input, aside#sidebar .quote textarea{
  width: 90%;
  padding: 5px;
}

/* Main-col */
article#main-col{
  float: left;
  width: 65%;
}

/* Services */
ul#services li{
  list-style: none;
  padding: 20px;
  border: #ccc solid 1px;
  margin-bottom: 5px;
  background: #e6e6e6;
}

/* Footer */
footer{
  padding: 20px;
  margin-top: 20px;
  color: #fff;
  background-color: #e8491d;
  text-align: center;
}

/* Parnadzi */
section#boxes h3 a{
  color: #6E2C00;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 16px;
}
section#boxes h3 a:hover{
  color: #145A32;
  font-weight: bold;
}
.order-title {
  color: #6E2C00;
  text-transform: uppercase;
  font-size: 24px;
  margin-bottom: 0;
}

/* Attēlu karuselis ******************/
* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 600px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  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);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}
/***************************/
/* menu zem kartu nosaukumiem*****/
.kartas {
  height: auto;
  width: 300px;
}
.kartas ul{
  list-style: none;
  position: relative;
  margin: 0;
  padding: 0px;
  z-index: 1000;
}
.kartas ul li{
  position: relative;
  text-transform: uppercase;
  font-size: 24px;
  padding-top: 5px;
  background: #A9DFBF;
  border-radius: 6px;
  padding-left: 5px;
}
.kartas ul li a{
  color: #6E2C00;
  font-size: 18px;
  text-decoration: none;
  padding: 5px;
  line-height: 2.0;
}
.kartas ul li ul li{
  background: #CCD1D1;
  margin: 5px 0;
}
.kartas ul ul{
  position: absolute;
  width: 300px;/*zilais*/
  height: 0px;
  overflow: hidden;
  z-index: 100;
  transition: height 1s;
}
.kartas ul li:hover ul, .kartas ul li a:hover ul{
  height: 650px;
}
.kartas ul ul li:hover{
  background: #7DCEA0;
  font-weight: bold;
}

/* Media Queries */
@media only screen and (max-width: 768px) {
  header #branding,
  header nav,
  header nav li,
  #newsletter h1,
  #newsletter form,
  #boxes .box,
  article#main-col,
  aside#sidebar{
    float: none;
    text-align: center;
    width: 100%;
  }
  header{
    padding-bottom: 20px;
  }
  #showcase h1{
    margin-top: 40px;
  }
  #newsletter button, .quote button{
    display: block;
    width: 100%;
  }
  #newsletter form input[type="email"], .quote input, .quote textarea{
    width: 100%;
    margin-bottom: 5px;
  }
}
@media only screen and (max-width: 375px) {
  #showcase{
    min-height: 200px;
  }
  #showcase h1{
    margin-top: 40px;
    font-size: 30px;
    margin-bottom: 10px;
  }

}
