/*
/   name           Craft
/   version        1.1
/   description    Responsive and customizable Joomla!3 template
/   demo           http://demo.favthemes.com/craft
/   author         FavThemes
/   author URL     https://www.favthemes.com
/   copyright      Copyright (C) 2012-2017 FavThemes.com. All Rights Reserved.
/   license        Licensed under GNU/GPLv3 (http://www.gnu.org/licenses/gpl-3.0.html)
*/

/*//////////////////////////////////////////////////////////////////////////////
///
///  custom style
///
//////////////////////////////////////////////////////////////////////////////*/



/* valkoinen alareuna pois//*/
.favstyle div[id^="favcontent-box"],
.favstyle div[id*=" favcontent-box"] {
  margin-top: 7px;
  margin-bottom: 0px;
  background-color: #fff;
  box-shadow: 0 0 7px rgba(0,0,0,.27);
}

div#favcontent-image1,#favcontent-image2,#favcontent-image3,#favcontent-image4,#favcontent-image5 {
    margin-bottom: 0px;
    padding-bottom: 0px;
}

.favstyle div.favth-clearfix[id^="favcontent-description"], .favstyle div.favth-clearfix[id*=" favcontent-description"] {
    margin-top: 0 !important;
    padding: 10px;
}

.moduletable.sponsorit p img {
    padding: 7px;
    background-color: none!important;
}

/*artikkelin tausta */

#fav-maincontent {
  background-color: #fff;
    }


.fav-container h4 {
  color: #028002;
  font-weight: uppercase;
  }

/*taulukon tekstiväri */
.favth-table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    color: #000;
}



/* otsikko viivat light */
.fav-container .moduletable.favth-light h3:first-of-type,
.fav-container .fav-module-block-light h3:first-of-type,
.fav-container #fav-main h3:first-of-type,
.fav-container #fav-map h3:first-of-type,
.fav-container .page-header h2,
.fav-container h2.item-title,
.fav-container .hikashop_product_page h1 {
  color: #111;
  border-bottom: thick dotted #b1b1b1;
  border-top:thick dotted #b1b1b1;
  padding: 14px 0 14px 0;
}
/* color */
.fav-container .moduletable.favth-color h3:first-of-type,
.fav-container .fav-module-block-color h3:first-of-type {
  color: #fff;
  border-bottom: 1px thick dotted #fff;
}

/* dark */
.fav-container .moduletable.favth-dark h3:first-of-type,
.fav-container .fav-module-block-dark h3:first-of-type {
  color: #fff;
  border-bottom: 1px thick dotted #838383;
}

/* clear */
.fav-container .moduletable.favth-clear h3:first-of-type,
.fav-container .fav-module-block-clear h3:first-of-type {
  color: #fff;
  border-bottom: 1px thick dotted #fff;
}

/* title dashed */
.moduletable.favth-title-dashed > h3:first-of-type {
  padding-top: 14px;
}
.moduletable.favth-title-dashed.favth-light > h3:first-of-type,
.fav-module-block-light .moduletable.favth-title-dashed h3:first-of-type {
  border-top: thick dotted #b1b1b1;
}
.moduletable.favth-title-dashed.favth-color > h3:first-of-type,
.fav-module-block-color .moduletable.favth-title-dashed h3:first-of-type {
  border-top: thick dotted #fff;
}
.moduletable.favth-title-dashed.favth-dark > h3:first-of-type,
.fav-module-block-dark .moduletable.favth-title-dashed h3:first-of-type {
  border-top: thick dotted #838383;
}
.moduletable.favth-title-dashed.favth-clear > h3:first-of-type,
.fav-module-block-clear .moduletable.favth-title-dashed h3:first-of-type {
  border-top: thick dotted #777;
}

/* title dashed top */
.moduletable.favth-title-dashed-top > h3:first-of-type {
  padding-top: 14px;
  border-bottom: 1px solid transparent;
}
.moduletable.favth-title-dashed-top.favth-light > h3:first-of-type,
.fav-module-block-light .moduletable.favth-title-dashed-top h3:first-of-type {
  border-top: thick dotted #b1b1b1;
}
.moduletable.favth-title-dashed-top.favth-color > h3:first-of-type,
.fav-module-block-color .moduletable.favth-title-dashed-top h3:first-of-type {
  border-top: thick dotted #fff;
}
.moduletable.favth-title-dashed-top.favth-dark > h3:first-of-type,
.fav-module-block-dark .moduletable.favth-title-dashed-top h3:first-of-type {
  border-top: thick dotted #838383;
}
.moduletable.favth-title-dashed-top.favth-clear > h3:first-of-type,
.fav-module-block-clear .moduletable.favth-title-dashed-top h3:first-of-type {
  border-top: thick dotted #777;
}

/*/
///
///  variations
///
/*/

/* light */
.fav-container .moduletable.favth-light h3:first-of-type,
.fav-container .fav-module-block-light h3:first-of-type,
.fav-container #fav-main h3:first-of-type,
.fav-container #fav-map h3:first-of-type,
.fav-container .page-header h2,
.fav-container h2.item-title,
.fav-container .hikashop_product_page h1 {
  color: #111;
  border-bottom: thick dotted #b1b1b1;
}

/* color */
.fav-container .moduletable.favth-color h3:first-of-type,
.fav-container .fav-module-block-color h3:first-of-type {
  color: #fff;
  border-bottom: thick dotted #fff;
}

/* dark */
.fav-container .moduletable.favth-dark h3:first-of-type,
.fav-container .fav-module-block-dark h3:first-of-type {
  color: #fff;
  border-bottom: thick dotted #838383;
}

/* clear */
.fav-container .moduletable.favth-clear h3:first-of-type,
.fav-container .fav-module-block-clear h3:first-of-type {
  color: #fff;
  border-bottom: thick dotted #fff;
}

/* copyright teksti */
#fav-copyright a:hover {
color: #028002;
}
#fav-copyright a:visited {
    color: #028002;
}

.nuoret td {
padding: 5px;
font-size: 0.9em;

}

/* logo tablet + mobile ///*/

@media (max-width: 767px) {
.favth-navbar {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 99999;
    padding-left: 4%;
    -moz-box-shadow: 0 1px 5px 0 rgba(0,0,0,.67);
    -webkit-box-shadow: 0 1px 5px 0 rgba(0,0,0,.67);
    box-shadow: 0 1px 5px 0 rgba(0,0,0,.67);
}
  



@media (max-width: 766px) {
  .default-logo img,
  .media-logo img {
    max-height: 70px;

  }
    
  @media (max-width: 991px){
#fav-container .favnav.navstyle ul.nav > li > a, #fav-container .favnav.navstyle ul.nav > li > .nav-header {
    margin: 0px 2px 0px 0px;
    padding: 10px 10px 15px !important;
    margin-bottom: 0px !important;
}

