﻿/*
Theme Name: Swingood child
Template: hello-elementor
Author: Swingood
Version: 1.0.15.
Text Domain: swingood-child
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* homenaje-regular - latin */
@font-face {
  font-family: 'Homenaje';
  font-style: normal;
  font-weight: 400;
  src: url('../font/homenaje-v10-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Homenaje Regular'), local('Homenaje-Regular'),
       url('../font/homenaje-v10-latin-regular.eot') format('embedded-opentype'), /* IE6-IE8 */
       url('../font/homenaje-v10-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../font/homenaje-v10-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../font/homenaje-v10-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../font/homenaje-v10-latin-regular.svg') format('svg'); /* Legacy iOS */
  font-display: swap;
}

h1, h2, h3, h4, h5, h6{
  font-family: 'Homenaje', sans-serif !important;
}

.has-text-align-center{
  text-align: center !important;
}

h1{
 font-size: 2rem;
}

body{
	font-family: 'Homenaje', sans-serif !important;
  font-size: 1.2rem !important;
  line-height: 1.6 !important;
  letter-spacing: 0.3px !important;
}

a {
    font-family: 'Homenaje', sans-serif;
}

.podcast {
  margin: 0;
}

.podcast iframe{
  border: solid;
  width: 100%;
}

.premium-blog-author-thumbnail img {
 border-radius: 50% !important;
}

.menu-menu1-container {
  width: 100%;
  margin-left: 25%;
}

.hfe-nav-menu{
 width: 100% !important;
}

.search-form label {
  margin-right: 1rem;
  height: auto;
  justify-content: center;
  display: flex;
  width: auto;
  }

.comment-reply-link {
    font-size: 1.2rem !important;
}

.comment-metadata {
    font-size: 14px !important;
}

small {
  font-size: 60% !important;
  margin-left: 5% !important;
}

.site-header {
  max-width: 100% !important;
  background: #fff;
  padding: 0 5% !important;
  height: 100px;
  position: fixed !important;
  top: 0;
  z-index: 999;
}

.site-title {
  margin-bottom: 0;
  font-size: 2rem;
}

.site-description {
  font-size: 1rem;
}

.page-header {
	text-align: center;
	margin: 0 auto 5% auto;
	padding: 2% 15%;
	background: #fff;
}

.category-grid img {
    max-height: 20vh;
    object-fit: cover;
    object-position: center;
}

/*
 * STICKY MENU SETTINGS
 */

.she-header a.hfe-menu-item {
color: #333 !important;
}
.she-header{
	border-bottom: solid #333;
}

/* hide recaptca icon */
.grecaptcha-badge { opacity:0;}

.site-main {

 max-width: 998px !important;
 margin: 1% auto;
	width: 95% !important;
 /* margin-top: 115px; */
}

.wp-block-image {
  max-width: 600px
  }

.entry-title{
 color: #333;
 text-align: left;
 padding: 2em 0 5px 0 !important;
 margin: 0;
}

.post-date{
 margin-bottom: 1em;
}


.entry-content {
 padding: 0 1em;
 margin: auto;
 max-width: 768px;
}

.entry-meta {

}

.navigation {
    background: whitesmoke;
    padding: 1em 1em;
    margin-top: 20px;
}

.comments-area{
 padding: 2em 2em;
 max-width: 768px;
 margin: auto;
}

.alignleft {
  margin-left: 0 !important;
}

img.attachment-full.size-full.wp-post-image {
    border-style: none;
    height: auto;
    max-width: 100%;
    height: 35vh;
    object-fit: cover;
}

/** Nomadin päiväkirja **/

.et-ver-timeline-template-1 .et-timeline-line {
    border-right: 1px solid #D68917;
    border-left: 1px solid #D68917;
}

.et-ver-timeline-template-1 .et-timeline-date span {
    color: #333333;
    border: 1px solid #D68917;
    font-size: 1rem;
    font-family: 'Homenaje',sans-serif;
}

.et-ver-timeline-template-1 .et-timeline-circle {
    background-color: #fff;
    border: 3px solid #D68917;
}


.et-ver-timeline-template-1 .et-title a {
 color: #454545;
 font-family: 'Homenaje', sans-serif !important;
 font-size: 1.5rem;
}

.et-ver-timeline-template-1 .et-content {
 color: #454545;
 font-family: 'Homenaje', sans-serif !important;
 font-weight: 300;
 font-size: 1rem;
}

.et-ver-timeline-template-1 .et-link-button a {
 border: 2px solid #ff5400;
 color: #ff5400;
 font-family: 'Homenaje', sans-serif !important;
 font-size: 1rem;
}

.et-ver-timeline-template-1 .et-link-button a:hover{
 background: none;
 color: inherit;
}

.et-ver-timeline-template-1 .et-timeline-date {
 margin-bottom: 0px;
}

.et-ver-timeline-template-1 .et-timeline-item {
    float: left;
    clear: left;
    margin-top: 40px;
    margin-bottom: 33px;
}
.et-ver-timeline-template-1 .et-timeline-item:nth-of-type(2n) {
    float: right;
    clear: right;
    margin-top: 15%;
}

/* -------------- Add to any -------------------*/
.addtoany_content{
 text-align: center;
}

/* --------------- Noptin popup ----------------*/
.noptin-popup-content {
    padding: 2em;
}

/* Podcast icons */

.podcast-icons-column{
 height: 100px;
}

.podcast-icons .alignleft{
	margin: 0 2% 0 0;
}

#spu-3843 {
  position: fixed;
  top: 10vh;
  bottom: auto;
  max-height: 85vh;
  overflow: scroll;
  width: 15% !important;
  padding: 2% !important;
  margin-left: 2%;
}

.arrow {
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  margin-left: 0em;
}

.left {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
	margin-right: 15px;
}
.right {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.wrapper{
		 background-color: #ffffffe8;
			margin-top: 1%;
			position: relative;
}

.header-image {
    border: solid;
    height: 45vw;
				max-height: 30rem;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
				background-position: center;
}

figcaption {
    margin-bottom: 1rem;
}

#related-articles{
		position: fixed;
		top: 10vh;
		right: 1%;
		background: #ffffffc9;
		width: 15%;
		padding: 1%;
		overflow: scroll;
		max-height: 90%;
		display: none;
}

#related-articles img{
			max-width: 100% !important;
			max-height:180px !important;
			object-fit: cover;
}

.crp-list-title{
	display: none;
}

.avainsanapilvi{
	padding: 5%;
}

.search-form{
  margin: 0 2% 0 auto !important;
  display: flex !important;
}

@media (max-width: 600px) {
	.postauksen-esittely{
		display: none;
 }
  
 .entry-title {
  padding: 1em 0 5px 0 !important;
  }
}
	
@media (max-width: 1300px) {
	
	.mobile{
  visibility: hidden;
	}
}

@media (max-width: 998px){
    .site-title{
     font-size: 1.7rem;
    }
    
    .site-description {
     font-size: 1rem;
   }
   
   h1.entry-title-for-archive {
       padding-top: 50px;
   }
   
   .site-main {
     width: 100% !important;
   }
   
   .search-form {
     margin: 5% 0% 5% 1% !important;
     display: block;
   }
   
   .search-form label {
     margin-right: 1rem;
     height: auto;
     justify-content: center;
     display: flex;
     width: auto;
   }
   
   .menu-menu1-container {
     margin-left: 0%;
   }
}