@import url('https://fonts.googleapis.com/css?family=Architects+Daughter&display=swap');
@import url('https://fonts.googleapis.com/css?family=Work+Sans&display=swap');
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+KR&display=swap');

      html {
        height:100%;
        width:100%;
      }
      body {
        background-repeat: no-repeat;
        background-attachment: fixed;
        overflow: hidden;
        overflow-y: scroll;
        font-family: "Work Sans", sans-serif;
        font-size: 15px;
        color:#183169;
        background-color:#FFFCFA;
        line-height:1.8;
      }

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #97a9d0;
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #5270b0;
}

      footer {
         position: relative;
         left: 0;
         bottom: 0;
         width: 100%;
         height:100px;
         color: #3990D4;
         text-align: center;
      }

      footer ul li {
        list-style:none;
        text-align:center;
        display: inline-block;
      }

      footer ul li a {
        padding: 10px;
        font-family: "Noto Sans KR";
        font-size: 18px;
        text-decoration: none;
        position:relative;
        color: #1C6CAB;
      }
      footer ul li a:hover {
        color: #3990D4;
      }

      footer ul li a,
      ul li a:after,
      ul li a:before {
        transition: all .3s ease;
      }

      .sisalto {
        width:100%;
        position: relative;
      }

      .linkit {
        float:right;
        margin:auto;
        margin-right: 50px;
        min-width: 550px;
        max-width: 30%;
        z-index: 1;
      }

      .some {
        float:left;
        margin:auto;
        min-width: 200px;
        max-width: 30%;
      }

@font-face {
  font-family: 'homehearth';
  src: url('Home&Hearth.eot'); /* IE9 Compat Modes */
  src: url('Home&Hearth.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('Home&Hearth.woff') format('woff'), /* Modern Browsers */
       url('Home&Hearth.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('Home&Hearth.svg#svgFontName') format('svg'); /* Legacy iOS */
}

h1 {
  text-align: center;
  font-family: "homehearth", sans-serif;
  font-size: 30px;
  color: #1C6CAB;
  letter-spacing: 5px;
}

h1 {
    display: grid;
    width: 100%;
    align-items: center;
    text-align: center;
    grid-template-columns: minmax(20px, 1fr) auto minmax(20px, 1fr);
    grid-gap: 20px;
}
h1:before {
    content: '';
    height:7px;
    background: linear-gradient(to left, #1C6CAB, white);
}
h1:after {
    content: '';
    height:7px;
    background: linear-gradient(to right, #1C6CAB, white);
}

h2 {
  text-align: left;
  font-family: "Architects Daughter", sans-serif;
  text-transform: uppercase;
  font-size: 23px;
  color:#3990D4;
}

span {
  text-align: left;
  background-color: #3990D4;
  padding: 5px 15px 5px 15px;
  margin: 0px 15px 0px 15px;
  border-radius: 10px;
  font-family: "homehearth", sans-serif;
  text-transform: lowercase;
  font-size: 20px;
  color:white;
  letter-spacing: 4px;
}

.joulu, .uutuus {
  background-color: #f02951;
    
}

.alennus {
  background-color: #97a9d0;
  text-decoration: line-through;
}

table {
  margin-left: auto;
  margin-right: auto;
  color:#3990D4;
}
th {
  padding: 10px 30px;
  border-color: #3990D4;
}
table, th, td {
  border: 1px solid #83C1F1;
  border-collapse: collapse;
}

hr{
    height: 0;
    margin: 30px;
    padding: 0;
    border: 0;
}

.hr-7 {
    height: 5px;

    border-radius: 10px;
    background-image: -webkit-linear-gradient(left, white, #83C1F1, #1C6CAB, #83C1F1, white);
    background-image:    -moz-linear-gradient(left, white, #83C1F1, #1C6CAB, #83C1F1, white);
    background-image:     -ms-linear-gradient(left, white, #83C1F1, #1C6CAB, #83C1F1, white);
    background-image:      -o-linear-gradient(left, white, #83C1F1, #1C6CAB, #83C1F1, white);
}

.kauppa-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  justify-content: center; 
}

.kauppa-item {
  align-content: center;
  border-radius: 10px;
}
.kauppa-item img {
  width:100%;
}

.somelinkit ul {
  list-style: none;
  text-align: center;
}

.somelinkit ul li {
          display: inline-block;
      }

.somelinkit ul li a {
  font-family: "Architects Daughter", sans-serif;
  text-transform: lowercase;
  font-size: 20px;
  padding: 18px;
  color: white;
  line-height:1;
  text-decoration: none;
  display: block;
  position:relative;
  z-index: 1;
}

.somelinkit li {
  background-color: #1C6CAB;
  margin: 20px;
  border-radius: 15px;
          transition: all .3s ease;
}

.somelinkit ul li a:hover {
  color: white;

}

.somelinkit li:hover {
  background-color: #3990D4;  
}

.somelinkit ul li a,
       ul li a:after,
       ul li a:before {
          transition: all .3s ease;
      }


      nav {
        max-width:900px;
        margin: 0 auto;
        padding: 30px 0;
        /*mask-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #ffffff 25%, #ffffff 75%, rgba(255, 255, 255, 0) 100%); */
      }
      header ul {
        list-style: none;
         text-align: center;
         background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 25%, rgba(255, 255, 255, 0.2) 75%, rgba(255, 255, 255, 0) 100%);
         box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
      }

      header ul li {
          display: inline-block;
      }

      header ul li a {
          padding: 18px;
          font-family: "Noto Sans KR";
          text-transform:uppercase;
          color: rgba(57, 144, 212, 1);
          font-size: 18px;
          line-height:1;
          text-decoration: none;
          display: block;
          position:relative;
          z-index: 1;
      }

      header ul li a,
       ul li a:after,
       ul li a:before {
          transition: all .3s ease;
      }

      header ul li a:hover {
          color: white;
      }

      header ul li a:after {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        margin: auto;
        width: 100%;
        height: 1px;
        content: '.';
        color: transparent;
        background: #1C6CAB;
        visibility: none;
        opacity: 0;
        z-index: -1;
      }
      header ul li a:hover:after {
          opacity: 1;
          visibility: visible;
          height: 100%;
      }
      

            .row{
        -webkit-column-count:4;
        -moz-column-count:4;
        column-count:4;
        
        -webkit-column-gap:20px;
        -moz-column-gap:20px;
        column-gap:20px;
        padding: 10px 50px;
        padding-bottom:50px;
      }
      @media (max-width:1200px){
        .row{
        -webkit-column-count:3;
        -moz-column-count:3;
        column-count:3;
          
        -webkit-column-gap:20px;
        -moz-column-gap:20px;
        column-gap:20px;
      }
      }
      @media (max-width:800px){
        .row{
        -webkit-column-count:2;
        -moz-column-count:2;
        column-count:2;
          
        -webkit-column-gap:20px;
        -moz-column-gap:20px;
        column-gap:20px;
      }
      }
      @media (max-width:600px){
        .row{
        -webkit-column-count:1;
        -moz-column-count:1;
        column-count:1;
      }  
      }

      .card {
        width: 100%;
        height: auto;
        margin: 1.5% auto;
        transition: all .3s;
      }

      .card:hover {
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        transform: scale(1.03, 1.03);
      }

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.95);
  padding: 1em;
}

/* Modal Content */
.modal-content {
  position: relative;
  margin: auto;
  padding: 0;
  width: 60%;
  max-width:100%;
  height: 100%;
  align-content: center;
}

.mySlides {
  display: none;
}

.iso{
  position:absolute;
  left:50%;
  top:50%;
  transform: translate(-50%, -50%);
  max-width:100%;
  max-height:100%;
  margin-bottom: 10px;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 50px;
  font-size: 35px;
  font-weight: bold;
  padding: 16px;
  border-radius: 5px 5px 5px 5px;
  transition: all .6s ease;
}

.close:hover,
.close:focus {
  color: white;
  text-decoration: none;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s;
}

.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 25px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 40px;
  transition: 0.6s ease;
  border-radius: 5px 5px 5px 5px;
  user-select: none;
  -webkit-user-select: none;
}
.prev {
  transform: translate(-50px, 0);
}

/* Position the "next button" to the right */
.next {
  right: 0;
  transform: translate(50px, 0);
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}




      img.card {
      border: 5px solid white;
      border-radius: 10px;
      }

      img.logo {
      display: block;
      margin-left: auto;
      margin-right: auto;
      padding-top:50px;
      }

      img.nimi {
      display: block;
      margin-left: auto;
      margin-right: auto;
      }
.infolaatikko {
      margin-left: auto;
      margin-right: auto;
      max-width:750px;
      padding-bottom: 60px;
}

.submitted {
  text-align: center;
}


#gform {
  max-width:500px;
  margin-left: auto;
  margin-right: auto;
}

input::placeholder, textarea::placeholder {
  color: #1C6CAB;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  margin-top:15px;
  margin-bottom:15px;
}

input, textarea {
  border: solid 1px #1C6CAB;
  color: #1C6CAB;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
}

input {
  height:40px;
  padding: 0px 15px 0px 15px;
  margin-bottom:15px;
  width:49%;
}

textarea {
  width:99%;
  min-width: 99%;
  max-width: 99%;
  min-height:50px;
  max-height:200px;
  padding:15px;
  margin-bottom: 15px;
}

.fsubmit {
  width:99%;
  color: white;
  outline:none;
  transition: 0.3s;
  background-color: #1C6CAB;
  border-radius: 15px;
}

.fsubmit:hover {
  background-color: white;
  border: solid 1px #1C6CAB;
  border-radius: 15px;
  color:#1C6CAB;
  font-size: 110%;
  font-weight: bold;
}

.left {
    width:24%;
    float:left;
}

img.naama {
  width:100%;
  height:auto;
}

.right {
  width:75%;
  float:right;
  padding-bottom: 60px;
}

.lista {
  list-style: none;
}

.aboutList {
  line-height: 1;
  content: '&diams;' ;
}

.aboutList:before {
  content: '\2005\2005\2005''\25CF''\2005\2005\2005';
}