* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    margin: 0;
    font-family: "acherus-grotesque", sans-serif;
}

.navbar {
    font-size: 18px;
    background-image: linear-gradient(260deg, #2376ae 0%, #30475e 100%);
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding-bottom: 10px;
}



footer > p {
    padding: 25px;
    color: #eeeeee;
    background-image: linear-gradient(260deg, #2376ae 10%, #30475e 90%);
    text-align: center;
    font-family: "acherus-grotesque", sans-serif;
}

/* mailui */

form {
  border: 3px solid #f1f1f1;
  font-family: Arial;
}

.email_container {
  padding: 20px;
  background-color: #f1f1f1;
  radius-bottom: 50px;
}

.email_container a {
    color: Black;
}

input[type=text], input[type=submit], textarea {
  width: 100%;
  padding: 18px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

input[type=submit] {
  background-color: #30475e;
  color: white;
  border: none;
}

input[type=submit]:hover {
  opacity: 0.8;
}

/* mailui finish*/

.service_body {
    background: lightgrey;
    text-align: center;
}

.service_text {
    font-size: 16px;
    padding: 25px;
    margin: 10px;
    color: #ddddd;
    display: inline-block;
    letter-spacing: 2px;
}

.service_container, .galery_container{
    position: relative;
    background-color: #cccccc;
    padding: 1px 5px 1px 0px;
    width: 100%;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    color: white;
    opacity: 0.8;
    font-family: "acherus-grotesque", sans-serif;
}

.service_container {
    background-image: url("bgg.jpg");
}

.galery_container {
    background: #30475e;
    opacity: 0.8;
}

.container {
    background-image: url("bgg3.jpg");
}

.galery_body {
    padding: 10px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.galery_body {
    padding: 10px;
    color: rgba(255, 255, 255, 0.8);;
    text-align: center;
}


.galerija_text, .galerija_index_text {
    font-size: 18px;
    font-family: "acherus-grotesque", sans-serif;
    background-image: linear-gradient(260deg, #2376ae 0%, #30475e 100%);
    border: 1px solid rgba(0, 0, 0, 0.2);

    color: rgba(255, 255, 255, 0.9);;
    text-align: center;
}

.galerija_text {
    padding: 80px 0px 20px 0px;
}

.galerija_index_text {
    padding: 10px 0px 10px 0px;
}

.main-nav {
    list-style-type: none;
    display: none;
}

.nav-links,
.logo {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
}

.main-nav li {
    text-align: center;
    margin: 15px auto;
}

.logo {
    display: inline-block;
    font-size: 22px;
    margin-top: 10px;
    margin-left: 20px;
    vertical-align:  left;
    height: 35px;
}




.navbar-toggle {
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    font-size: 24px;
}

.active {
    display: block;
}


.row {
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
  padding: 0 4px;
}

.column {
    -ms-flex: 100%;
    flex: 100%;
    max-width: 100%;
}

/* POLAROD */
/* Position the image container (needed to position the left and right arrows) */
.container {
    position: relative;
    background: rgb(87,166,166);
    background: #819db1;
    padding: 1px 0px 1px 0px;
    margin: 0px;
    width: 100%;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    color: white;
}



.class_services {
    background-color: #f9f9f9;
    color: #888888;
    padding: 10px;
}

.class_gallery{
    background-color: #f9f9f9;
    color: black;
    padding: 10px;
}

.class_contacts {
    font-family: "acherus-grotesque", sans-serif;
    border-top: 1px solid #30475e;
    background-color: #f9f9f9;
    color: #888888;
    padding: 15px 0px 40px 0px;
}

div.polaroid {
  width: 100%;
  background-color: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  padding: 5px;
  border-spacing: 0;
}

div.galery_polaroid {
  width: 100%;
  background-color: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  padding: 5px;
  border-spacing: 0;
  display: inline-block;
}


div.polaroid:hover{
    padding: 2px;
    background-color: #30475e;
    color: #30475d;
    font-family: "acherus-grotesque", sans-serif;
}


.image {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: 1.5s ease;
  backface-visibility: hidden;
}

.ss {
    margin-top: 1px;
    min-height: 50px;
}

.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.polaroid_text {
    text-align: center;
    font-family: "acherus-grotesque", sans-serif;
    padding: 20px 0px 15px 10px;
    letter-spacing: 3px;
    text-shadow: 1px 1px 2px #000000;
    font-size: 18px;
    color: lightgrey;
    border: 1px solid lightgrey;

}

.polaroid:hover .polaroid_text{
    color: white;
    border: 2px solid #30475e;
    font-family: "acherus-grotesque", sans-serif;
}


.polaroid:hover .middle {
  opacity: 1;
}
.polaroid:hover .image {
  opacity: 0.6;
}

div.container {
  text-align: center;
  padding: 20px 20px;
}


.galery_logo {
    display: inline-block;
    vertical-align:  middle;
    height: 50px;
    padding-bottom: 10px;
}

.galery_logo_min {
    display: inline-block;
    vertical-align:  middle;
    height: 35px;
    padding-bottom: 10px;
}

.slider_body{
    margin: 10px;
    background-color: red;
    border-radius: 3px;

}

@keyframes slider {
    0% {
      left: 0;
    }
    20 % {
      left: 0;
    }
    25% {
      left: -100%;
    }
    45% {
      left: -100%;
    }
    50% {
      left: -200%;
    }
    70% {
      left: -200%;
    }
    75% {
      left: -300%;
    }
    95% {
      left: -300%;
    }
    100% {
      left: -400%;
    }
}

#slider {
    overflow: hidden;
}

#slider figure img {
    width: 20%;
    float: left;
}

#slider figure{
    position: relative;
    width: 500%;
    margin: 0;
    left: 0;
    animation: 18s slider infinite;
    opacity: 1;
}

.box{
    position: relative;
    display: inline-block; /* Make the width of box same as image */
}
.box .text{
    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
    text-align: center;
    top: 40%; /* Adjust this value to move the positioned div up and down */
    background: rgba(0, 0, 0, 0.8);
    font-family: Arial,sans-serif;
    color: #fff;
    width: 60%; /* Set the width of the positioned div */
    font-family: "acherus-grotesque", sans-serif;
}




@media screen and (min-width: 900px) {
    .navbar {
        display: flex;
        justify-content: space-between;
        padding-bottom: 0;
        height: 70px;
        align-items: center;
    }

    .main-nav {
        display: flex;
        margin-right: 30px;
        flex-direction: row;
        justify-content: flex-end;
    }

    .main-nav li {
        margin: 0;
    }

    .nav-links {
        margin-left: 40px;
    }

    .logo {
        margin-top: 0;
    }

    .navbar-toggle {
        display: none;
    }

    .logo:hover,
    .nav-links:hover {
        color: rgba(255, 255, 255, 1);
    }
    .logo {
        display: inline-block;
        vertical-align:  middle;
        height: 45px;
    }

     .column {
        -ms-flex: 33%;
        flex: 33%;
        max-width: 33%;
      }

      div.container {
          text-align: center;
          padding: 20px 20px;
        }


}

.fixed-nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  width: 100%;
  height: 70px;
  padding: 10px;
  background-color: #00a087;
}

/* The element at the top of the page right after the fixed navigation bar
   MUST have sufficient top margin or else it will be covered by the bar */
.content {
  margin-top: 20px;
}

/* Example responsive navigation menu  */
.fixed-nav-bar li, .fixed-nav-bar a {
  height: 50px;
  line-height: 50px;
}
.menu {
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
}
.menu a, .menu a:visited {
  color: #ffffff;
}
.menu a:hover, .menu a:target {
  color: #ebebeb;
}
.menu-items {
  display: inline-block;
  padding: 0px 5px;
}
.sitename {
  display: inline-block;
  margin-right: 20px;
  margin-left: 10px;
}
a.sitename, a:visited.sitename {
  color: #e0e0e0;
}
.menu-items li {
  display: inline-block;
  margin-right: 10px;
  margin-left: 10px;
}
.menu-items a {
  text-decoration: none;
}
.show, .hide {
  display: none;
  padding-left: 15px;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center left;
  color: #dde1e2;
}
.show {
  background-image: url(assets/down-arrow-icon.png);
}
.hide {
  background-image: url(assets/up-arrow-icon.png);
}


.img-comp-container {
  position: relative;
  height: 200px; /*should be the same height as the images*/
}

.img-comp-img {
  position: absolute;
  width: 50%;
  height: auto;
  overflow:hidden;
}

.img-comp-img img {
  display:block;
  vertical-align:middle;
}

.img-comp-slider {
  position: absolute;
  z-index:9;
  cursor: ew-resize;
  /*set the appearance of the slider:*/
  width: 40px;
  height: 40px;
  background-color: #2196F3;
  opacity: 0.7;
  border-radius: 50%;
}




@media only screen and (max-width: 800px) {
  .menu {
    position: relative;
    width: 100%;
  }
  .sitename {
    position: absolute;
    top: 0;
    left: 15px;
    margin-left: 0px;
  }
  .menu-items {
    display: none;
    width: 100%;
    margin-top: 5px;
    background-image: linear-gradient(260deg, #2376ae 0%, #30475e 100%);

  }
  .menu-items li {
    display: block;
    text-align: center;

  }
  .show, .hide {
    position: absolute;
    top: 0;
    right: 15px;
  }
  .show {
    display: inline-block;
  }
  .hide {
    display: none;
  }
  #menu:target .show {
    display: none;
  }
  #menu:target .hide, #menu:target .menu-items {
    display: inline-block;
  }
}

@media only screen and (max-width: 220px) {
  .sitename, .show, .hide {
  }
}