.content-box {
    background-color: rgb(255, 255, 255) !important; /*rgp(243,243,243)*/
    
}

.bold {
    font-weight: bold !important;
}

#menu, #menu a {
    z-index: 99999 !important;
}

#menu a:hover {
    color: #fbbd08!important;
    border-color: #fbbd08 !important;
}

#menu a:active {
    color: rgba(251, 190, 8, 0.541) !important;
}

.img-swither {
    min-height: 25em;
}

.ankkurit a{
    color: rgba(85, 37, 245, 0.972);
    border-color: #fbbd08 !important;
}

.ankkurit a:hover {
    color: #fbbd08!important;
    border-color: #fbbd08 !important;
}
.ankkurit a:active {
    color: rgba(252, 117, 6, 0.541) !important;
}

.video1 {
    border-radius: 0%;
    width: 100%;
    height: 100%;
    display: inline-block;
    object-position: left;
    
}

.video2 {
    border-radius: 0%;
    width: 100%;
    height: 100%;
    display: inline-block;
    object-position: center;
    
}

.video3 {
    border-radius: 0%;
    width: 100%;
    height: 100%;
    display: inline-block;
    object-position: center;
    
}

.ikoni-oikea {
    position: inline-block;
    padding: 0px 50px 0px;
  
}
.mallit {
    width: auto;
    height: auto;
}

 /*--- 
.ikoni-pieni{
    position: inline-block;
    padding: 0px 0px 0px;
}

---*/

/*------
.aforismi {
    background-image: url(../img/aforismi.jpg);
    background-repeat: no-repeat;
    background-position: 1em 1em;
    width: auto;  
    height: auto; 
} -------- */

 /*suunnittelu-sivun galleria*/

.uppercase {
    text-transform: uppercase !important;
}

.ui.five.column.grid {
    margin-bottom: 0;
    margin-right: 0;
    
}

.gallery .elements {
   
    display: grid;
    grid-template-columns: auto auto auto auto auto;
    grid-gap: 0px 1.450em;  /*0px 0.945em*/
   /* flex-wrap: wrap;       ei ollut näkyvissä */
   /* flex-direction: row;     ei ollut näkyvissä */
  
}



/*

 @media screen and (min-width: 200px) {     
    .gallery .elements {
        grid-template-columns: auto;
    }
}

@media screen and (min-width: 616px) {
    .gallery .elements {
        grid-template-columns: auto auto;
    }
}

@media screen and (min-width: 1268px) {
    .gallery .elements {
        grid-template-columns: auto auto auto;
    }
}                                         */

.gallery .elements .image-col .image {
    position: relative;
    overflow: hidden;
    padding-bottom: 15px;
    
     
}

.gallery .elements .image-col .image img {
    width: 100%;   /*auto*/
    max-width: calc(100% + 0%);
    margin-top: 0.2em;
    margin-bottom: 0.2em;
    border-radius: 3%;
    height: auto;
     
     
    
    
}



.gallery .elements .image-col .image img {
    display: inline;
    transform: scale3d(0px,0px,0px);
    transition: opacity 150ms ease-in;
    opacity: 1;
     
}

.gallery .elements .image-col .image img.hidden {
    opacity: 0;
     
}

.gallery .elements .image-col .image:hover > .gallery-alt {
    background-color: rgba(174, 190, 245, 0.893);
    border-radius: 0 0 15pt 15pt;
     
}

.gallery-alt {
    position: absolute;
    /*background-color: rgba(187, 187, 187, 0.616);  /*tekstille*/
    min-height: 2.8rem;
    padding-top: 5px;
    text-align: center;
    bottom: 2%;
    left: 0;
    min-width: 100%;
    font-size: 10pt;
    font-weight: bold;
    transition: background-color 150ms ease;
    
}

.gallery-alt:hover {
    background-color: rgba(255, 255, 255, 0.216);
}




.dog {
    background-image: url(../img/logokoiraetusivu.gif);
    background-repeat: no-repeat;
    background-position: 1em 1em;
}

.pens {
    background-image: url(../img/lyijyt.gif);
    background-repeat: no-repeat;
    margin-left: -15em;
    height: 100%;
}


  .lyijyt {
    right: 0;
    top: 0;
    z-index: -1 !important;
    position: absolute;
    width: 30%;
    height: auto;
}

.disclaimer {
    color: #ddd;
    font-size: 11pt;
}



/*alku*/

.theather2 {
    padding: 0px;
    margin: 1em 0 0 0;
    display: none;
    position: fixed;
    width: 100vw;  /*100vw*/
    z-index: 100;
    overflow-y: auto;
    overflow-x: auto;
    height: 100vh;
    background-color: rgba(228, 228, 228, 0.945);
}

.theather2 .title {
    position: fixed;
    z-index: 101;
    width: 100vw;
    background-color: rgba(49, 49, 49, 0.835);  /*0.835*/
    min-height: 2.7em;
    text-align: center;
    transition: opacity 150ms ease-in, transform 150ms ease-in;
    opacity: 1;
}

.theather2 .title.hidden {
    opacity: 0;
    transform: translate3d(0px, -3.3em, 0px);
}

.theather2 .title > h2 {
    padding-top: 0.2em;
    padding-left: 0.5em;
    color: #fbbd08;
}

@media screen and (max-width: 768px) {
    .theather2 .title > h2 {
        padding-top: 1.7em;
        font-size: 1.514rem;
     }
}

@media screen and (max-width: 568px) { /*568px*/
    .theather2 .title > h2 {
        padding-top: 2em;
        font-size: 1.314rem;
     }
}

.theather2 .image-container {
    max-width: 90vw;  /*90vw*/
    max-height: 80vh;     /*80vh*/
    margin-left: auto;
    margin-right: auto;
    margin-top: 3em;
    margin-bottom: 10em;
}

@media screen and (max-width: 768px) {
    .theather2 .image-container {
        margin-top: 5em;
        margin-bottom: 9em;
    }
}

@media screen and (max-width: 568px) { /*568px*/
    .theather2 .image-container {
        margin-top: 7em;
        margin-bottom: 8em;
    }
}

.theather2 .image-container img {
    height: auto;
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
}

.theather2 .controls div {
    background-color: rgba(122, 122, 122, 0);
    border: 1px solid rgba(189, 189, 189, 0.335);
    border-radius: 0px;
    transition: border-color 150ms ease-in, background-color 150ms ease-in;
    z-index: 102;
}

.theather2 .controls div > i {
    transition: transform 150ms ease-in;
    color: #fbbd08;
}

.theather2 .controls div:hover > i {
    transform: scale3d(1.1, 1.1, 1);
}

.theather2 .controls div#right {
    position: fixed;
    top: 50vh;
    right: 0;
    padding: 1em 0.5em 1em 0.5em;
}

.theather2 .controls div#left {
    position: fixed;
    top: 50vh;
    padding: 1em 0.5em 1em 0.5em;
}

.theather2 .controls div#close {
    position: fixed;
    top: 0;
    right: 0;
    padding: 0.5em 1em 0.5em 1em;
}

.theather2 .controls div#fullscreen {
    position: fixed;
    top: 0;
    right: 5em;
    padding: 0.5em 1em 0.5em 1em;
}

.theather2 .controls div#right:hover, .theather2 .controls div#left:hover,
.theather2 .controls div#close:hover, .theather2 .controls div#fullscreen:hover {
    background-color: rgba(187, 187, 187, 0.315);
    border-color: rgba(122, 122, 122, 0.616);
    cursor: pointer;
}

.theather2 .ribbon {
    position: fixed;
    bottom: 0;
    width: 100vw;
    transition: opacity 150ms ease-in, transform 150ms ease-in;
    opacity: 1;
}

.theather2 .ribbon.hidden {
    opacity: 0.15;
    transform: translate3d(0px, 3.3em, 0px);
}

.theather2 .ribbon > .ribbon-content {
    position: initial;
    overflow-x: scroll;
    display: flex;
    flex-wrap: nowrap;
    max-height: 4em;
}

.theather2 .ribbon > .ribbon-content > .wrapper {
    display: inherit;
    width: 5em;
    transition: border-color 150ms ease-in, transform 150ms ease-in;
    border: 2px solid transparent;
}

.theather2 .ribbon > .ribbon-content > .wrapper img {
    width: 5em;
}

.theather2 .ribbon > .ribbon-content > .wrapper.focused {
    border: 2px solid #fbbd08;
}

.theather2 .ribbon > .ribbon-content > .wrapper:hover {
    transform: scale3d(1.1, 1.1, 1);
    border: 2px solid #fbbd08;
    cursor: pointer;
}
/*loppu*/






iframe {
    border: 0;
    width: 100%;
    height: 700px;
    /*height: calc(100vh - 355px) */ /*asetus jää 1/2 vajaaksi mobiilin näytöllä*/
}



.iframe2 {    /*inforuutu*/
    border: 1px solid transparent;
    color:rgba(20, 20, 20, 0.678);
    width: 100%;
    height: 500px;
    overflow: auto;
 /*   overflow: hidden !important; /* Hide scrollbars */
}



.inforuutu18{    /*inforuutu yläpalkki*/
    /* background-color: #ffffff;*/
    border: 0px solid transparent;
    border-radius: 0px;
    background-image: url("../img/bgimages/img_17c.jpg");
    background-size: cover;
    width: 100%;
    height: 80px;
    display: inline-block;
    position: relative;
    padding-top: 6px;
    padding-left:10px;
    padding-bottom: 2px;
    padding-right:10px;
    
    
}

.inforuutu19{    /*inforuutu yläpalkki*/
    /* background-color: #ffffff;*/
    border: 0px solid transparent;
    border-radius: 0px;
    background-image: url("../img/bgimages/img_19.jpg");
    background-size: cover;
    width: 100%;
    height: 80px;
    display: inline-block;
    position: relative;
    padding-top: 6px;
    padding-left:10px;
    padding-bottom: 2px;
    padding-right:10px;
    
}


.infolaatikko { /*3D gallery -ohjeet*/
    background-color: #fdfccc;
    border: 5px solid transparent;
    padding: 18px;
    
}

.infolaatikko2 {
    background-color: #fdfccc;
    border: 5px solid transparent;
    padding: 40px;
}

.infolaatikko-white {   
    background-color: #ffffff;
    border: 5px solid transparent;
   
}

.infolaatikko-white3d {     /*suunnittelu-sivu*/
  background-color: #ffffff;
  border: 5px solid transparent;
  background-image: url("../img/3dg.png"); 
  background-size: cover;
  font-size: 10pt;
  font-weight: bolder;
  text-align: center;
 
}

.infolaatikko-white3dg {    /*Virtuaaligalleria-sivu*/
  background-color: #ffffff;
  border: 5px solid transparent;
  background-image: url("../img/3dg.png"); 
  background-size: cover;
  font-weight: bolder;
  width:90%;

 
}

.inforuutu_valk {  /*infotiedot ja */
    background-color: #ffffff;
    border: 2px solid transparent; 
    border-color: rgba(196, 194, 194, 0.76);
    
}


/*infot-mainos osa*/
.inforuutu_valk2 {  /*infotiedot ja */
  background-color: #ffffff;
  border: 6px solid transparent; /*2px solid transparent*/
  border-color: rgba(252, 207, 7, 0.983);
  border-style: dotted;
  border-radius: 55px;
  text-align: center; 
  z-index: 2; 
  width: 50%; 
  margin-left: 52%; 
  position: absolute;
  bottom: 70%; 
  padding: 29px 5px 0px 5px;
  min-width: 190px;
  animation-name: example;
  animation-duration: 8s;
  animation-delay: 3s;
  animation-iteration-count: 10;
  }
    
  @keyframes example {
    0%   {background-color: white;}
    25%  {background-color: rgb(254, 233, 3);}
    50%  {background-color: rgb(253, 174, 4);}
    100% {background-color: white;}
  
  }
  
/*infot-mainos osa*/





.infolaatikko-white-kuva3 {  /*??? */
    background-color: #ffffff;
    border: 0px solid transparent;
    border-radius: 25px;
    background-image: url("../img/bgimages/img_23.jpg");
    background-size: cover;
    width: auto;
    height: auto;
    display: inline-block;
    position: relative;
    padding: 20px;
}

.infolaatikko3D {  /*index-sivulla*/
    background-color: #ffffff;
    border: 0px solid transparent;
    border-radius: 20pt;
    background-image: url("../img/bgimages/img_24.jpg");
    background-size: cover;
    width: auto;
    height: auto;
    display: inline-block;
    position: relative;
    padding: 45px;
    font-size: small;
   

}

.infolaatikkolaatu { /*designer sivulla*/
    /* background-color: #ffffff;*/
     border: 0px solid transparent;
     border-radius: 25px;
     background-image: url("../img/bgimages/img_15.jpg");
     background-size: cover;
     width: auto;
     height: auto;
     display: inline-block;
     position: relative;
     padding: 9px;
     font-size: small;
 }




.infolaatikko-white-kuva3 { /* ???*/
    /* background-color: #ffffff;*/
     border: 0px solid transparent;
     border-radius: 30px;
     background-image: url("../img/bgimages/img_13.jpg");
     background-size: cover;
     width: auto;
     height: auto;
     display: inline-block;
     position: relative;
     padding: 20px;
    
 }


 .infolaatikko-white-kuva10 { /*???*/
    /* background-color: #ffffff;*/
     border: 0px solid transparent;
     border-radius: 10px;
     background-image: url("../img/bgimages/img_10.jpg");
     background-size: cover;
     width: auto;
     height: auto;
     display: inline-block;
     position: relative;
     text-align: center;
     padding: 10px;
     padding-top: 25px;
     padding-bottom: 25px;
     
 }


 .infolaatikko-white30 { /*etu*/
   background-color: #ffffff;
   border: 15px solid transparent;
   border-color: hsl(45, 86%, 71%);
   border-style: groove;
   border-radius: 0px;
   /*background-image: url("../img/bgimages/img_15.jpg");*/
   background-size: cover;
   width: auto;
   height: auto;
   display: inline-block;
   position: relative;
   padding: 3px;
   font-size: small;
   text-align: center;
   padding: 15pt;
   
}


.infolaatikko-white-kuva1 { /*designer sivulla*/
   /* background-color: #ffffff;*/
    border: 0px solid transparent;
    border-radius: 25px;
    background-image: url("../img/bgimages/img_15.jpg");
    background-size: cover;
    width: auto;
    height: auto;
    display: inline-block;
    position: relative;
    padding: 10px;
    font-size: small;
}

.infolaatikko-white-kuva2 { /*designer sivulla*/
    /* background-color: #ffffff;*/
     border: 0px solid transparent;
     border-radius: 10px;
     background-image: url("../img/bgimages/img_13.jpg");
     background-size: cover;
     width: auto;
     height: auto;
     display: inline-block;
     position: relative;
     padding: 20px;
 }

 .infolaatikko-kuva2 { /*designer sivulla*/
  /* background-color: #ffffff;*/
   border: 0px solid transparent;
   border-radius: 20px;
   background-image: url("../img/bgimages/blom.jpg");
   background-size: cover;
   width: auto;
   height: auto;
   display: inline-block;
   position: relative;
   padding: 20px;
}


 .infolaatikko-white-kuva4 { /*designer sivulla*/
    /* background-color: #ffffff;*/
     border: 0px solid transparent;
     border-radius: 8px;
     background-image: url("../img/bgimages/img_20f.jpg");
     background-size: cover;
     width: auto;
     height: auto;
     display: inline-block;
     position: relative;
     padding: 20px;
     font-size: 9pt;
 }



 .infolaatikko-white-kuva5 { /*3D gallery sivulla-info*/
    /* background-color: #ffffff;*/
     border: 0px solid transparent;
     border-radius: 8px;
     background-image: url("../img/bgimages/img_14.jpg");
     background-size: cover;
     width: auto;
     height: auto;
     display: inline-block;
     position: relative;
     padding: 20px;
 }

 .infolaatikko-white-kuva6 { /*3D gallery sivulla - ohjeet*/
    /* background-color: #ffffff;*/
     border: 0px solid transparent;
     border-radius: 8px;
     background-image: url("../img/bgimages/img_4.jpg");
     background-size: cover;
     width: auto;
     height: auto;
     display: inline-block;
     position: relative;
     padding: 20px;
 }

 .infolaatikko-kuva6 { /*desinger sivulla*/
  /* background-color: #ffffff;*/
   border: 0px solid transparent;
   border-radius: 8px;
   background-image: url("../img/bgimages/img_29.jpg");
   background-size: cover;
   width: auto;
   height: auto;
   display: inline-block;
   position: relative;
   padding: 20px;
}

 .infolaatikko-kuva12 { /*taidehinnat sivulla - linkit*/
    /* background-color: #ffffff;*/
     border: 0px solid transparent;
     border-radius: 3px;
     background-image: url("../img/bgimages/img_1.jpg");
     background-size: cover;
     width: auto;
     height: auto;
     display: inline-block;
     position: relative;
     padding: 25px;
     font-size: 16px;
 }


 .infolaatikko-white-kuva7 { /*taidehinnat sivulla - lahjainfo*/
    /* background-color: #ffffff;*/
     border: 0px solid transparent;
     border-radius: 75px;
     background-image: url("../img/bgimages/img_23.jpg");
     background-size: cover;
     width: auto;
     height: auto;
     display: inline-block;
     position: relative;
     padding: 25px;
     font-size: 14px;
     text-align: center;
     
 }

 .infolaatikko-white-kuva11 { /*taidehinnat sivulla - hinnat info*/
    /* background-color: #ffffff;*/
     border: 0px solid transparent;
     border-radius: 10px;
     background-image: url("../img/bgimages/img_27.jpg");
     background-size: cover;
     width: auto;
     height: auto;
     display: inline-block;
     position: relative;
     padding: 20px;
 }

 .infolaatikko-white-kuva9 { /*taidehinnat sivulla - väli-info*/
    /* background-color: #ffffff;*/
     border: 0px solid transparent;
     border-radius: 10px;
     background-image: url("../img/bgimages/img_7.jpg");
     background-size: cover;
     width: auto;
     height: auto;
     display: inline-block;
     position: relative;
     padding: 20px;
     text-align: center;
 }



.infolaatikko-white-kuva8 { /*taidehinnat sivulla - loppuinfo*/
    /* background-color: #ffffff;*/
     border: 0px solid transparent;
     border-radius: 10px;
     background-image: url("../img/bgimages/img_15.jpg");
     background-size: cover;
     width: auto;
     height: auto;
     display: inline-block;
     position: relative;
     padding: 20px;
 }

 .infolaatikko-white2 {
    background-color: #ffffff;
    border: 5px solid transparent;
    text-align: left;
    padding: 10px;
    padding-top: 25px;
    padding-bottom: 25px;
}

.infolaatikko3 {  /*index 3d info */
    background-color: #a6d9f7;
    border: 5px solid transparent;
    text-align: center;
    padding: 10px;
    padding-top: 25px;
    padding-bottom: 25px;

}
.infolaatikko4 {
    background-color: #e8f7d5;
    border: 5px solid transparent;
    padding: 35px;
}

.infolaatikko-white-kuva12 { /*taidehinnat sivulla - lahjainfo*/
    /* background-color: #ffffff;*/
     border: 0px solid transparent;
     border-radius: 75px;
     background-image: url("../img/bgimages/img_23c.jpg");
     background-size: cover;
     width: auto;
     height: auto;
     display: inline-block;
     position: relative;
     padding: 25px;
     font-size: 14px;
     text-align: center;
     
 }
 .infolaatikko-white-kuva13 { /*taidehinnat sivulla - lahjainfo*/
    /* background-color: #ffffff;*/
     border: 0px solid transparent;
     border-radius: 75px;
     background-image: url("../img/bgimages/img_23d.jpg");
     background-size: cover;
     width: auto;
     height: auto;
     display: inline-block;
     position: relative;
     padding: 25px;
     font-size: 14px;
     text-align: center;
     
 }
 .infolaatikko-white-kuva14 { /*taidehinnat sivulla - lahjainfo*/
    /* background-color: #ffffff;*/
     border: 0px solid transparent;
     border-radius: 25px;
     background-image: url("../img/bgimages/img_10c.jpg");
     background-size: cover;
     width: auto;
     height: auto;
     display: inline-block;
     position: relative;
     padding: 25px;
     font-size: 14px;
     text-align: center;
     
 }

 .inforuutu_pink {  /*yleisruutu */
  background-color: #f3bef6;
  border: 2px solid transparent; 
  border-color: rgba(196, 194, 194, 0.76);
  border-radius: 25pt;
  padding: 12pt;
  text-align: center;
  z-index: 2; 
  width: 50%; 
  margin-left: 50%; 
  position: absolute;
  bottom: 0%; 
  
  min-width: 190px;
 
}

.infolaatikko-srkuva { /*taidehinnat sivulla - hinnat info*/
  /* background-color: #ffffff;*/
   border: 0px solid transparent;
   border-radius: 10px;
   background-image: url("../img/bgimages/img_20.jpg");
   background-size: cover;
   width: auto;
   height: auto;
   display: inline-block;
   position: relative;
   padding: 20px;
}
.infolaatikko-kiitoskuva { /*taidehinnat sivulla - hinnat info*/
  /* background-color: #ffffff;*/
   border: 0px solid transparent;
   border-radius: 10px;
   background-image: url("../img/bgimages/img_20b.jpg");
   background-size: cover;
   width: auto;
   height: auto;
   display: inline-block;
   position: relative;
   padding: 20px;
}

/* Contact Section */

/* Contact Section, pohjaväri */
#contact {
	padding: 22px 0 50px 0;   /*1.muuttaa yläharmaan ja 3.muuttaa alaharmaan*/
	background-color: rgb(230, 230, 230);
}

/* Contact Section, otsikko */
#contact h2 {
	padding-top: 20px;
	font-size: 30px;
	font-weight: 400;
	color: rgb(138, 135, 135);
}

/* Contact Section, teksti */
#contact h3 {
	padding-top: 20px;
	font-size: 20px;
	font-weight: 400;
	color: #fff;
}
#contact form {
	padding: 30px 0;
}
#contact .text-danger {
	color: #E87E04;
	text-align: left;
}
label {
	font-size: 12px;
	font-weight: 400;
	font-family: 'Open Sans', sans-serif;
	float: left;
}
#contact .form-control {
	display: block;
	width: 100%;
	padding: 10px 12px;
    
	font-size: 14px;
	line-height: 1.42857143;
	color: #2c3e50;
	background-color: rgba(255,255,255,0.8);
	background-image: none;
	border: 1px solid #999;
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
	-webkit-transition: none;
	-o-transition: none;
	transition: none;
}
#contact .form-control:focus {
	border-color: inherit;
	outline: 0;
	-webkit-box-shadow: transparent;
	box-shadow: transparent;
}
.form-control::-webkit-input-placeholder {
color: #2c3e50;
}
.form-control:-moz-placeholder {
color: #2c3e50;
}
.form-control::-moz-placeholder {
color: #2c3e50;
}
.form-control:-ms-input-placeholder {
color: #2c3e50;
}
#contact .social {
	margin-top: 80px;
}
#contact .social ul li {
	display: inline-block;
	margin: 0 20px;
}
#contact .social i.fa {
	font-size: 22px;
	padding: 4px;
	color: rgb(150, 148, 148);
	transition: all 0.5s;
}
#contact .social i.fa:hover {
	color: #000;
}

.btn:active, .btn.active {
	background-image: none;
	outline: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}
a:focus, .btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn.active.focus {
	outline: none;
	outline-offset: none;
}

/*käyntikortti-eivoimassa*/
.cont1 img {
	border-radius: 0%;
    max-width:300px;
    max-height: 170px;
   /*display: inline-block;*/
   float: left;
   
}   

/*repe-ei voimassa* /
.cont2 img {
	border-radius: 0%;
    max-width: 115px;
    max-height: 190px;
  
    /*display: inline-block;*/
   /* float: right;   */ 


.img-responsive
{
   width: 100%;
   height: auto; 
   
}


/* Contact Section  end */

/* color muuttaa linkin värin  */
.btn-default {
	text-transform: uppercase;
	color: rgb(143, 140, 140);
	background-color: transparent;
	border-color: #777;
	padding: 14px 20px;
	margin: 0;
	font-size: 16px;
	border-radius: 0%; /*8%*/
	margin-top: 20px;
}
.btn-default:hover, .btn-default:focus, .btn-default.focus, .btn-default:active, .btn-default.active {
	color: #fff;
	background: rgba(243, 105, 12, 0.6);
	border-color: #8c8d8d;
	border-radius: 0%; /*8%*/
}

       * {box-sizing: border-box;}
        body /*{font-family: Verdana, sans-serif;}*/
        .mySlides {display: none;}
        img {vertical-align: middle;}
      
        
        /* Slideshow container */
        .slideshow-container {
          max-width: 1137px; /*1137px*/
          position: relative;
          margin: auto;
                  
        }
        
        /* 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 {
          height: 15px;
          width: 15px;
          margin: 0 2px;
          background-color: #bbb;
          border-radius: 50%;
          display: inline-block;
          transition: background-color 0.6s ease;
        }
        
        .active {
          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}
        }
        
        /* On smaller screens, decrease text size */
        @media only screen and (max-width: 300px) {
          .text {font-size: 11px}
        }

       .slidet {
           width: 100%;
           
          
       }

 
/*indexistä siirretty*/






       * {box-sizing: border-box;}
       body /*{font-family: Verdana, sans-serif;}*/
       .mySlides {display: none;}
       img {vertical-align: middle;}
     
       
       /* Slideshow container */
       .slideshow-container {
         max-width: 1137px;  /*1137px*/
         position: relative;
         margin: auto;
                 
       }
       
       /* 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 {
         height: 15px;
         width: 15px;
         margin: 0 2px;
         background-color: #bbb;
         border-radius: 50%;
         display: inline-block;
         transition: background-color 0.6s ease;
       }
       
       .active {
         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}
       }
       
       /* On smaller screens, decrease text size */
       @media only screen and (max-width: 300px) {  /*300px*/
         .text {font-size: 11px}
       }

      .slidet {
          width: 100%;
                  
      }

    /*topnav merkki UUSI VALIKKO linkkipalkki*/

    .topnav {
        overflow: hidden;
        background-color: rgba(97, 97, 97, 0.561);
       /* height: 50px;*/
        
      
      }
      
      .topnav a {
        float: left;
        display: block;
        color: #f2f2f2;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 13px;
        font-weight: bold;
      }
      
      .active2 {
        background-color:  #838383;
       
      }
      
      .active22 {
        width: 20%;
        color: #838383;
      }

      .topnav .icon {
        display: none;
        font-family: Verdana, sans-serif;
       
      }
      
      .dropdown {
        float: left;
        overflow: hidden;
         
      }
      
      .dropdown .dropbtn {
        font-size: 13px;
        font-weight: bold;
        border: none;
        outline: none;
        color: white;
        padding: 17px 16px;
        background-color: inherit;
        font-family: inherit;
        margin: 0;
      }
      
      .dropdown-content {
        display: none; /*none>contents*/
        position: absolute; /*absolute>relative*/ 
        background-color: #d9d7d7; /*f9f9f9   muutos210424*/
        min-width: 160px;
        box-shadow: 0px 8px 16px 0px rgba(150, 149, 149, 0.2);
        z-index: 1;
        
      }
            
      .dropdown-content a {
        float: none;
        color: rgb(16, 15, 15);  /*perusteksi*/
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: left;
      }




      .topnav a:hover, .dropdown:hover .dropbtn { 
       /* background-color: #555; yläpalkin hover pohja*/ /*04.11.25 muutos*/
       /* color: white;*/
       /* color: rgb(250, 169, 6); yläpalkin hover teksti 210424muutos*/
        color: rgb(0, 0, 0); /*yläpalkin hover teksti 210424muutos*/
      }

    
      .dropdown-content a:hover { 
        background-color: rgb(240, 221, 167); /*pud valik hover pohja 210424muutos*/
        color: black; /*pud valik hover teksti*/
      }
      

      
      .dropdown:hover .dropdown-content {
        display: block;
      }
      
      @media screen and (max-width: 600px) {
        .topnav a:not(:first-child), .dropdown .dropbtn  {
          display: none;
        }
        .topnav a.icon {
          float: right;
          display: block;
        }
      }
      
      @media screen and (max-width: 600px) {
        .topnav.responsive {position: relative;}
        .topnav.responsive .icon {
          position: absolute;
          right: 0;
          top: 0;
        }
        .topnav.responsive a {
          float: none;
          display: block;
          text-align: left;
        }
        .topnav.responsive .dropdown {float: none;}
        .topnav.responsive .dropdown-content {position: relative;}
        .topnav.responsive .dropdown .dropbtn {
          display: block;
          width: 100%;
          text-align: left;
        }
      }
      
/*Up nuoli etusivulla */ /*navi oikealle*/
#navbar8 {
  background-color: rgb(192, 191, 189);
  position: fixed;
  top: 50%;
  
  padding: 10pt;
  text-align: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: block;
  transition: top 0.3s;
  z-index: 1;
 
 right: 35px;    /*navi oikealle*/
  /* left: 50%; /*navi keskelle*/
   /* left: 0; /*navi vasemmalle*/

}  




/*face ja insta logot */ /*navi oikealle*/
#navbar5 {
    background-color: rgba(250, 248, 245, 0.006);
    position: fixed;
    top: 7px;

   
    border-radius: 20%;
    display: block;
    transition: top 0.3s;
    z-index: 1;
   
   right: 35px;    /*navi oikealle*/
    /* left: 50%; /*navi keskelle*/
     /* left: 0; /*navi vasemmalle*/

  }
  
  #navbar5 a {
    float: left;    /*vasen tai oikea kellunta*/
    display: block;
    color: rgba(238, 168, 18, 0.726);
    text-align: center;
    padding: 7px 1px 3px 1px; /* 1-ylä, 2-oik, 3-pohja, 4-vas    7px*/
    text-decoration: none;
    font-size: 17px;
    border-radius: 20%;
    
  }
  
  #navbar5 a:hover {
   /* background-color: rgb(221, 221, 221);*/
    background-color: rgba(238, 168, 18, 0.726);
    
  }
  
  .facebook {
    background: #373737;
    color: white;
    
    border-radius: 20%;
    width: 100%;
    height: auto;
  

  }
  
  .instagram {
    background: #373737;
    color: white;
    border-radius: 20%;
    width: 100%;
    height: auto;
   
  }


  #navbar6 {
    background-color: rgba(250, 248, 245, 0.281);
    position: fixed;
    top: 0;
    width: 130px;
    border-radius: 20%;
    display: block;
    transition: top 0.3s;
    z-index: 1;
    left: 0;     /*navi vasen*/
    
  }
  
  #navbar6 a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 10px 0px 10px 10px; /* 1-ylä, 2-oik, 3-pohja, 4-vas*/
    text-decoration: none;
    font-size: 17px;
    
  }
  
  #navbar6 a:hover {
    background-color: rgb(221, 221, 221);
    color: rgba(238, 168, 18, 0.726);
  }

/* For Testimonial Section*/
.testimonial-content{
  margin-top:150px;
}
.testimonial-content .testimonial-quote i{
  font-size:60px;
  margin-bottom:40px;
  color:#6d809e;
}
.testimonial-content .testimonial-quote p{
  font-size:16px;
}
.testimonial-content .singnature{
  width:100%;   
 
  display:block;
  overflow:hidden;
  margin:8px 0 30px 0; /*50px 0 30px 0;*/
}
.testimonial-content .regards-by h5{
  margin-bottom:5px;
}
.profile-photo{
  height:650px;
}


.lightbg {
  background-color: #dddfeb !important; 
}
.transition {
  -webkit-transition: all 300ms linear;
  -moz-transition: all 300ms linear;
  -o-transition: all 300ms linear;
  -ms-transition: all 300ms linear;
  transition: all 300ms linear;
}
.sections {
  background: #ffffff;
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}

.sections2{
  padding-top:350px;
  padding-bottom:350px;
  position: relative;
  overflow: hidden;
  color:#fff;
}
.sections3{
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}
.sections4{
  padding-top:5px;
  position: relative;
  overflow: hidden;
}
.home-wrapper{
  margin-top:290px;
  color:#fff;
}


/* For Portfolio Section*/
.portfolio-item {
	margin-bottom:20px;
}

.portfolio-wrapper2{
    margin-top:25px;
}
.portfolio-wrapper2 .portfolio-item.width-img{
    width:100%;
    overflow:hidden;
    height:265px;
    margin-top: -8%;
}
.portfolio-wrapper2 .portfolio-item.width-img img{
    width:100%;
}



/* Tyyli popup-ikkunalle */
#popupForm {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  padding: 20px;
  background-color: #f1f1f1;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

/* Tyyli lomakkeelle */
form {
  margin-top: 20px;
}

label {
  display: block;
  margin-bottom: 10px;
}

input[type="text"], input[type="radio"] {
  margin-bottom: 10px;
}

input[type="submit"] {
  padding: 10px 20px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #45a049;
}
