/*
Theme Name: marjahokkanen
Author: Nardus Media
Author URI: http://www.nardusmedia.fi
Description: 
Version: 1.0
License: Do not use without permission
License URI: https://www.nardusmedia.fi
*/

/*
.brandcolor_main #75704E;
$brandcolor_main_lighter: #B4B2A3;
$brandcolor_colorful_1: #33658A;
$brandcolor_colorful_2: #932F6D;
$brandcolor_bg: #F7F4F3;
$brandcolor_bg2: #ffffff;
$brandcolor_bg3: #181B1D;
$brandcolor_dark: #08090A;
$brandcolor_maintext: #4D4D4D;
*/

body {
    font-family: 'Public Sans', sans-serif;
    color: #4D4D4D;
    background-color: #F7F4F3;
}

a:link, a:active, a:visited{
    color: #932F6D;
    text-decoration: none;
}
a:hover{
    color: #75704E;
    text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Rufina', serif;
    color: #75704E;
}
h2 a:link, h2 a:active, h2 a:visited  {
    color: #75704E;
    text-decoration: none;
}
h2 a:hover  {
    color: #932F6D;
    text-decoration: none;
}
.logopalkki {
  width: 100%;
  height: auto;
  display: inline-block;
}

.logo {
  display: inline-block;
  margin-left: -20px;
}

.logo img {
  width: 200px;
  height: auto;
    @media screen and (max-width: 768px) {
        width: 200px;
        height: auto;
    }
  
}
.logo-asianajajaliitto img {
  width: 100px;
  height: auto;
margin-top: 12px;
    @media screen and (max-width: 768px) {
        width: 100px;
        height: auto;
    }
  
}
.footeri .logo {
  display: inline-block;
  margin-left: -10px;
  margin-top: -12px;
    @media screen and (max-width: 992px) {
        display: block;
        margin: 0px;
        width: 100px;
        height: auto;
        padding: 0px;
    }
}
.footeri .logo img {
  width: 250px;
  height: auto;
    @media screen and (max-width: 768px) {
        width: 300px;
        height: auto;
    }
  
}
.somekieli{
   float: right;
   padding-top: 50px;
   padding-right: 30px;
   width: auto;
   display: inline-block;
}
.some{
display: inline-block;
}
.some i{
  color: #75704E;
  font-size: 50px;
  padding-top: 0px;
  margin-left: 3px;
}
.kieli {

}

.kieli img {
    width: 40px;
    height: auto;
    margin-top: -10px;  
    margin-left: 5px;
}
.navi {
    width: auto;
    display: inline-block;
}
.mainmenu {
    margin: 0px auto 0px auto;
    box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.5);
    width: 100%;
    /* position: fixed;
     top: 0;
     z-index: 1000;*/
     background: #F7F4F3;
}
#hero .container {
  background-color: #f7f4f3;
}
.hero-teksti{
  background-color: #f7f4f3;
  margin: 0px;
  
    @media screen and (max-width: 768px) {
            height: 400px;
    }
}
.hero-kuva{
  background-color: #f7f4f3;
  margin: 0px;
  padding: 0px;
  width: 100%;
  height: auto;
  box-sizing: border-box;
}
.hero-kuva img{
  width: 100%;
  height: auto;
}
.hero-teksti h2 {
    font-family: 'Rufina', serif;
    color: #08090A;
    font-size: 4vw;
    line-height: auto;
    font-weight: 700;
    position: relative;
    top: 17%;
    left: 10%;
    width: 90%;
    
    @media screen and (max-width: 768px) {
        padding: 0px;
        font-size: 30px;
    }
}
.hero-teksti .txt1 {
    font-family: 'Public Sans', sans-serif;
    color: #4D4D4D;
    font-size: 18px;
    line-height: auto;
    font-weight: normal;
    position: relative;
    top: 20%;
    left: 10%;
    width: 90%;
    
    @media screen and (max-width: 768px) {
        padding: 0px;
        top: 20%;
    }
}
#content {
  padding: 100px;
}
#content-index {
  padding: 30px 0px;
}
.entry-date{
  display: block;
}
.artikkelimerkinnat{
  margin-bottom: 15px;
  display: block;
}
.content-entry-date{
  padding-bottom: 15px;
}
.content-category{
  padding-bottom: 15px;
  text-transform: uppercase;
}
.content-author{
  padding-bottom: 15px;
}
#content .row {
  padding: 50px 0px;
}

.uutislaatikko {
  padding: 30px;
  background: #f7f4f3;
  border-style: solid;
  border-width: 15px;
  border-color: white;
  float: left;
  width: 50%;
  min-height: 400px;
  
      @media screen and (max-width: 768px) {
        width: 100%;
    }
}
.uutislaatikko h1 {
  font-size: 33px;
}
.esittely h1  {
  font-size: 55px;
  padding-bottom: 20px;
}
/*
.esittely (vanha?)  {
  padding: 50px;
  margin: 0px;
  max-width: 800px;
  text-align: center;
  font-size: 22px;
      @media screen and (max-width: 768px) {
        padding: 30px;
    }
}
*/
.esittely {
  margin-top: 50px;
}
.kuvalaatikko  {
  padding: 0;
  margin: 0px;


}
.kuvalaatikko img {
  width: 100%;
  height: auto;
  
}
.tekstilaatikko {
padding: 30px;
margin: 0px;
border: solid 1px #000;
box-sizing: border-box;
width: auto;
}
.tekstilaatikko h1 {
  font-size: 33px;
}


.footer {
        background-color: #181B1D;
        width: 100%;
        margin-top: 40px;
        padding
    }  
.footeri{
        background-color: #181B1D;
        color: #fff;
        font-family: 'Public Sans', sans-serif;
        font-size: normal;
        line-height: 22px;
        padding: 80px 0;
            @media screen and (max-width: 922px) {
        padding: 20px;
    }
    }
.footeri h2{
        padding: 10px 10px;
    }
.footeri h3{
        padding-bottom: 30px;
    }
.footeri a:link, .footeri, .footeri a:active, .footeri a:visited{
        color: #fff;
        text-decoration: none;
    }
.footeri a:hover {
        color: #fff;
        text-decoration: none;
    }
.color-gold {
        color: #75704E;
    }
.tietosuojaseloste {
        
}
#tietosuoja {
        background-color: #08090A;
        color: #B4B2A3;
        text-align: left;
        padding: 30px;
}
#tietosuoja a:link, #tietosuoja, #tietosuoja a:active, #tietosuoja a:visited{
        color: #B4B2A3;
        text-decoration: none;
    }
#tietosuoja a:hover {
        color: #ffffff;
        text-decoration: none;
    }
    
.kuvakolumni img{
        width: 100%;
        height: auto;
    }
    
.ota-yhteytta2 {
  background-color: #75704E;
  padding-top: 40px;
}

/* buttonit*/

.buttoni {
  padding-top: -100px;
}

.button-ota-yhteytta {
  background-color: #75704E;
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 20px;
  display: inline;
  height: 50px;
  margin-right: 20px;
}
.button-gold{
  background-color: #75704E;
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  padding: 7px 40px;
  border-radius: 20px;
  margin-top: 5px;
  display: inline-block;
  font-family: 'Public Sans', sans-serif;
  
}
a:hover .button-gold{
  background-color: #932F6D;
  border-color: #932F6D; 
}

.palvelut .button-gold {
    margin-bottom: 20px;
    background: transparent;
    border: 2px solid #75704E;
}
.palvelut {
  background-color: #08090A;
  padding-top: 50px;
  padding-bottom: 50px;
  color: #ffffff;
}
.palvelut h2 {
  color: #ffffff;
  font-size: 23px;
  margin-top: 40px;
  line-height: 30px;
}
.palvelut .oikea-palkki {
  text-align: center;
}
.palvelut .oikea-palkki img {
  margin-bottom: 40px;
}
.footeri .kol1 {
        @media screen and (max-width: 992px) {
        margin-bottom: 20px;
    }
}
.footeri .ota-yhteytta-button {
        @media screen and (max-width: 992px) {
        
    }
}
.footeri .button-gold {
  background-color: transparent;
  border: 2px;
  border-style: solid;
  border-color: #75704E;
  color: white;
  text-align: center;
  text-decoration: none;
  padding: 12px 26px;
  font-size: 18px;
  border-radius: 20px;
  margin-top: 75px;
  display: inline-block;
}
.frm_button_submit {
  background-color: transparent;
  border: 1px;
  border-style: solid;
  border-color: #fff;
  color: white;
  text-align: center;
  text-decoration: none;
  padding: 5px 40px;
  border-radius: 20px;
  margin-top: 10px;
  display: inline-block;
}
.frm_button_submit:hover {
  background-color: #932F6D;
  border-color: #932F6D; 
}
.frm_required{
  color: #ffffff;
}
/* bs menun muokkaus */

.navbar {
  /*text-transform: uppercase;*/
  font-family: 'Public Sans', sans-serif;
  color: #08090A;
}

.navbar-light .navbar-brand {
  color: rgba(0, 0, 0, 0.9);
  color: #75704e;
}

.navbar-light .navbar-brand:hover, .navbar-light .navbar-brand:focus {
  color: rgba(0, 0, 0, 0.9);
  color: #932F6D;
}

.navbar-light .navbar-nav .nav-link {
  color: rgba(0, 0, 0, 0.5);
  color: #75704e;
  color: #08090A;
}

.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus {
  color: rgba(0, 0, 0, 0.7);
  color: #932F6D;
}

.navbar-light .navbar-nav .nav-link.disabled {
  color: rgba(0, 0, 0, 0.3);
  color: #08090A;
}

.navbar-light .navbar-nav .show > .nav-link,
.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .nav-link.active {
  color: rgba(0, 0, 0, 0.9);
  color: #932F6D;
}

.navbar-light .navbar-toggler {
  color: rgba(0, 0, 0, 0.5);
  border-color: rgba(0, 0, 0, 0.1);
  color: #75704e;
}

.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-light .navbar-text {
  color: rgba(0, 0, 0, 0.5);
  color: #75704e;
}

.navbar-light .navbar-text a {
  color: rgba(0, 0, 0, 0.9);
  color: #75704e;
}

/*.navbar-collapse li{
    border-bottom: 1px solid #932F6D;
}*/

.navbar-light .navbar-text a:hover, .navbar-light .navbar-text a:focus {
  color: rgba(0, 0, 0, 0.9);
  color: #932F6D;
}
.brandcolor_bg {
  background-color: #F7F4F3;
}
.brandcolor_bg2 {
  background-color: #ffffff;
}
.brandcolor_bg3 {
  background-color: #181B1D;
}

#palvelut  {
  margin-bottom: 30px;
  position: relative;
}

.palvelut img {
  width: 100%;
  height: auto;
}
.palvelut-txt {
  padding: 20px;
  background-color: #F7F4F3;
  min-height: 300px;
  margin-bottom: 20px;
  position: relative;
}
.page-title {
  padding: 20px;
  background-color: #F7F4F3;
  margin-bottom: 20px;
}
.kirjallisuus .button-gold {
  margin-top: 20px;
}
.container .kirjallisuus {
  margin: 50px 0px 40px 0px;
}
.post-thumbnail{
  margin-bottom: 20px;
}
.tuoteteksti{
  padding: 30px 30px;
  background: #F7F4F3;
}
.tuotekuva{
  background: #F7F4F3;
  padding: 30px 30px 30px 30px;
  margin: 0px;
}
.tuotekuva img{
  padding: 0px;
  margin: 0px;
}
.widget-right-1{
  background: #F7F4F3;
  padding: 30px;
  margin-bottom: 20px;
}
.widget-right-1-otsikko {
  font-family: 'Rufina', serif;
  font-size: 24px;
  color: #75704E;
}
.widget-right-3-otsikko {
  font-family: 'Rufina', serif;
  font-size: 24px;
  color: #75704E;
  margin-bottom: 20px;
}
.widget-right-1 ul {
  padding: 0;
  margin: 0;
}
.widget-right-1 li {
  list-style-type: none;
  padding: 10px 0px;
  margin: 0;
}
.widget-right-1 a:link, .widget-right-1, .widget-right-1 a:visited  {
  color: #08090A;
}
.widget-right-1 a:active {
  color: #932F6D;
}
.widget-right-1 a:hover {
  color: #932F6D;
  text-decoration: none;
}
.etusivun-blogi-teksti h2 {
  font-size: 24px;
  @media screen and (max-width: 768px) {
        font-size: 21px;
    }
}
.keskitetty-otsikko{
  width: 100%;
  text-align: center;
  padding: 30px 20px 20px 20px;
}
.etusivun-blogi li {
  list-style-type: none;
  padding: 0px;
  margin: 20px 0px;
   @media screen and (max-width: 768px) {
        
    }
}
.etusivun-blogi-kuva {
  padding: 0px;
  margin: 0px;
  overflow: hidden;
  height: 300px;
  width: 100%;
  display: block;
  position: relative;
  background-color: #F7F4F3;
  @media screen and (max-width: 992px) {
        margin-left: 0px;
     margin-right: 50px;
    }
  @media screen and (max-width: 768px) {
     margin-left: 0px;
     margin-right: 25px;
     height: 280px;
    }
}
.etusivun-blogi-kuva img {
  height: auto;
  width: 100%;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  @media screen and (max-width: 768px) {
  
    }
}
.etusivun-blogi-teksti {
  padding: 50px;
  margin: 0px -50px;
  background-color: #F7F4F3;
     @media screen and (max-width: 992px) {
        margin-left: 0px;
     margin-right: 50px;
    }
   @media screen and (max-width: 768px) {
        margin-left: 0px;
     margin-right: 25px;
     padding: 30px;
    }
 
}
.etusivun-blogi-teksti a:hover {
  color: #932F6D;
  text-decoration: none;
}
.blogin-pvm {
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.footerin-formi .frm_primary_label{
  color: #B4B2A3;
}

.etusivun-karuselli{
  margin-top: 40px;
  margin-bottom: 40px;
  font-family: 'Rufina', serif;
}
.etusivun-karuselli .teksti-col{
  background-color: #75704E;
  display: inline-block;
  width: 50%;
  padding: 100px 0px 100px 50px;
  color: #fff;
  font-size: 48px;
  line-height: normal;
       @media screen and (max-width: 992px) {
        width: 100%;
        display: block;
        padding: 40px;
        font-size: 37px;
    }
}
.etusivun-karuselli .titteli{
  font-size: 18px;
  margin-top: 10px;
}
.etusivun-karuselli .kuva-col{
  display: inline-block;
  background-color: #000;
  overflow: hidden;
  position: relative;
  @media screen and (max-width: 992px) {
        width: 100%;
        display: block;
        height: 450px;
    }

}
.etusivun-karuselli .kuva-col img {
     height: 100%; /* Aseta kuvan korkeudeksi 100% divin korkeudesta */
     width: auto; /* Säilytä kuvan kuvasuhde */
     position: absolute;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%); /* Keskittää kuvan */
     @media screen and (max-width: 992px) {
        position: relative;
    }
}
.etusivun-esittelyn-container  {
    width: 100%;
    margin-bottom: 40px;
    /*background-image: url('https://www.marjahokkanen.com/images/hattu-ja-miekka.png');
    background-repeat: no-repeat;
    background-size: 500px auto;*/
}
.etusivun-esittelyteksti {
     padding-left: 35%;
     padding-right: 0%;
     font-family: 'Rufina', serif;
     font-weight: 600;
     @media screen and (max-width: 992px) {
        width: 100%;
        padding: 20px;
    }
}
.etusivun-esittelytekstin-kuva img  {
     width: auto;
     height: 300px;
}
.etusivun-palvelut-container{
     width: 100%;
     background-color: #08090A;
     margin-bottom: 40px;
     padding: 40px;
     color: #fff;
      @media screen and (max-width: 992px) {
        padding: 20px;
    }
}
.etusivun-palvelut-container h2{
     color: #fff;
     font-size: 26px;
}
.etusivun-palvelut .outer-col {
    display: grid;
    place-items: center; /* Keskittää vaakasuunnassa ja pystysuunnassa */
    /*height: 100vh;*/ /* Täysi näkymäkorkeus */
 }   

.etusivun-palvelut .inner-col {
    padding: 20px;
     @media screen and (max-width: 992px) {
        padding: 0px;
    }
}
.palvelut-yrityksille{
     margin-bottom: 40px;
}
.palvelut-yhteisoille{
     margin-bottom: 20px;
}
.etusivun-palvelut .kuva-col{

}
.etusivun-palvelut .kuva-col img {
    width: 100%;
    height: auto;
}
.etusivun-ajankohtaista {
    margin-bottom: 40px;
         @media screen and (max-width: 992px) {
        padding: 20px;
    }
}
.etusivun-ajankohtaista h2 {
  font-size: 26px;
  margin-bottom: 20px;
  @media screen and (max-width: 768px) {
        font-size: 21px;
    }
}
.etusivun-ajankohtaista .kolli {
  @media screen and (max-width: 768px) {
        margin-bottom: 40px;
    }
}
.ota-yhteytta1 {
  margin-bottom: 20px;
}
.ota-yhteytta1 h2 {
  font-size: 26px;
  margin-bottom: 5px;
  color: #08090A;
  @media screen and (max-width: 768px) {
        font-size: 21px;
    }
}
.blogit {
  margin-top: 50px;
  margin-bottom: 40px;
}
.blogit h1 {
  margin-bottom: 20px;
}
.blogit h2 {
  font-size: 26px;
  margin-bottom: 20px;
  color: #08090A;
}
.blogit h2 a:link, .blogit h2 a:visited {
  color: #08090A;
}
.blogit h2 a:link, .blogit h2 a:hover {
  color: #932F6D;
}
.post {
  margin-bottom: 40px;
}
.cat {
  color: #932F6D;
  text-transform: uppercase;
}
.post-meta{
  margin-bottom: 20px;
}
.post-categories a:link, .post-categories a:hover, .post-categories a:visited, .post-categories a:active{
  color: #932F6D;
}
.post-meta-widget{
  margin-bottom: 0px;
  color: #08090A; 
}
.blogit .button-gold {
  color: #ffffff;
}
.blogit .button-gold:hover {
  background-color: #932F6D;
}
.post-categories{
  text-transform: uppercase;
}
.cv{
  margin-top: 50px;
}
.cv h1{
  margin-bottom: 20px;
}
.cv h2{
    font-size: 26px;
  margin-bottom: 20px;
  color: #08090A;
}

/* Custom CSS for dropdown menu links */
.navbar-nav .dropdown-menu a {
            color: #08090A; 
        }

        .navbar-nav .dropdown-menu a:hover,
        .navbar-nav .dropdown-menu a:focus {
            color: #932F6D;
}
.inc-etusivun-ajankohtaista{
    margin-top: 40px;
    padding-top: 40px;
    border-top: 3px solid #ffffff;
            
}
.ota-yhteytta .inc-etusivun-ajankohtaista{
            display: none;
}
.artikkelikuva-oikeassa-palkissa {
    width: 100%; /* Asettaa div-elementin täyteen leveyteen suhteessa sen vanhempaan elementtiin */
    overflow: hidden; /* Varmistaa, että ylimenevät kuvat eivät näy */
}
.artikkelikuva-oikeassa-palkissa img {
    width: 100%; /* Skaalaa kuvan div-elementin leveyteen */
    height: auto; /* Säilyttää kuvasuhteen */
    display: block; /* Poistaa mahdolliset valkoiset välit kuvan alla */
}
body img {
    margin-bottom: 20px;
}

hr.wp-block-separator {
    display:none;
}
