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


h1 {
   font-family: "Jost", Sans-serif !important;
}

h2, h4, h5, h6 {
   font-family: "Jost", Sans-serif !important;
}

h3 {
   font-family: "Jost", Sans-serif !important;
   font-size: 1.5vw;
}

body{
   font-family: "Jost", Sans-serif !important;
}


p {
  margin: 0.9rem 0 !important;
}

span{
   font-family: "Jost", Sans-serif;
   font-weight: 500;
   line-height: 1.3;
}

span a{
   color: #ed3e79 !important;
}

ul{
	padding: 0;
}

.uutinen-teksti ul{
	padding-left: 5%;
}

li{
	margin: 0px;
	text-align: left;
   padding: 0;
}

#modal-ready{
 background-image: url("https://omj.fi/wp-content/uploads/2023/11/OMJ_1080x1080_tausta_3.png");
 background-repeat: no-repeat;
 background-size: cover;
}

.entry-title{
   font-size: 2vw !important;
}

.wp-post-image {
  width: 100%;
  height: auto;
  border: solid 5px #1F9AC9;
  max-width: 60rem;
  max-height: 40rem;
  object-fit: cover;
  margin: 10px 0 0 10px;
}

.post-container {
  width: 100%;
  margin: auto;
  position: relative;
  height: auto;
  font-size: 1vw;
  max-width: 80vw;
}

.konsertti-container{
  display: flex;
  margin: auto;
  background: #fff;
  width: 85%;
  min-height: 85vh;
}

.uutinen-container{
  margin: auto;
  background: #fff;
  width: 85%;
}

.text-right{
  padding: 1% 5%;
  width: 100%;
}

.konsertti-esittelyt{
 min-height: 60vh;
 position: relative;
}

.cooperation-img {
  max-height: 80px;
  height: 100%;
  padding-right: 5%;
  width: auto;
}

.konsertti-some{
	margin-left: 5%;
	font-weight: 500;
}

.stream-logo {
  position: absolute;
  width: 45px;
  top: 15px;
  left: 15px;
  z-index: 999;
}

.category-logo {
	position: absolute;
	bottom: 2%;
	right: 0%;
	z-index: 1;
	background: #fff;
	padding: 1%;
	max-width: 120px;
}

.konserttisarja {
 background: #76C1FF;
 color: #ffffff;
 position: absolute;
 left: 15px;
 top: 15px;
 padding: 5px 10px;
 font-size: 0.8vw;
}

.peruttu_teksti{
   position: absolute;
   top: 50%;
   left: 50%;
   font-size: 35px;
   text-shadow: 4px 2px #3c3c3c;
   color: #fff;
   text-transform: uppercase;
   -webkit-text-stroke: 1px #acabab;
   font-weight: 500;
   transform: translate(-50%, -50%);
   text-align: center;
   font-family: 'Oswald', sans-serif;
   line-height: 1.2;
   z-index: 1;
}

.overlay{
  filter: grayscale(100%) blur(2px)
}

.vasen-puoli{
	width: auto;
	min-width: 40%;
}

.content-box{
	display: flex;
}

.next-prev-posts{
	display: flex;
	padding: 0 10%;
	margin: auto;
}

.img-container {
 position: relative;
 text-align: center;
 margin: 10px;
 max-width: 500px;
 max-height: 260px;
 border: solid;
 width: 100%;
}

.centered-text {
	background-color: rgba(0,0,0, 0.4);
	color: white;
	font-weight: bold;
	border: 2px solid #f1f1f1;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: auto;
	text-align: center;
	height: 85%;
	width: 85%;
	margin: 0px;
	justify-content: center;
	display: flex;
	align-items: center;
}

.modal-wrapper.styled .wp-post-modal {
  margin: 5vw auto !important;
}

.modal-wrapper {
   cursor: auto;
   background-color: #DFDFDFA3 !important;
   background-size: cover;
   background-repeat: no-repeat;
}

.close-modal{
   font-size: 4vw !important;
   position: absolute !important;
   color: #fff !important;
   background: transparent !important;
   text-shadow: 3px 1px 5px #000;
   padding: 0 1vw !important;
   margin: 0 !important;
   top: 0vw !important;
   right: 1vw !important;
}

.close-modal:focus {
    outline: none !important;
    border-radius: 5px;
}

.addtoany_shortcode {
    margin:1% 0 0 -10px;
}

.konsertin-tiedot{
	margin: 5%;
}

.tiedot{
  display: flex;
  align-items: center;
  margin: 0 20% 2% 0;
}

.uutinen-kuva{
   position: relative;
   max-width: 90vw;
   margin: auto;
   text-align: center;
}

.uutinen-kuva img {
   max-width: 60vw;
   }

.uutinen-otsikko{
   width: 70% !important;
   text-align: left;
   padding: 2% 0;
   width: 100%;
   font-size: 0.8vw;
   position: relative;
   margin: auto;
}

.uutinen-teksti{
   width: 70%;
   margin: auto;
   font-size: 0.9vw;
   position: relative;
}

.uutinen-some{
   width: 70%;
   margin: auto;
   font-size: 0.9vw;
   position: relative;
   padding: 2% 0;
}

/* Uutisen gallerian fixaus */
.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image) {
  width: calc(33.33% - var(--wp--style--unstable-gallery-gap, 16px)*0.66667);
  margin: 0;
}
.wp-block-gallery-1 {
  margin: 0;
  display: flex;
  gap: 0.5rem;
}

.wp-block-gallery-1 img {
  height: 100% !important;
  object-fit: cover;
}

/* ----- galleria ---- */

.oma-icon {
	font-size: 1.1vw;

 min-width: 20px;
 margin-right: 15px;
}

.oma-icon-stream {
	font-size: 1vw;
	color: #5e5353;
	margin: 0 !important;
	display: flex;
	text-align: left !important;
 width: 100%;
}

.konsertti-buttons {
   display: flex;
   margin: 5%;
}

[type="button"], button {
   border: unset !important;
}

[type="button"]:focus{
 background-color: none;
}

.popup-buttons{
  padding: 0.5vw 2vw;
  font-size: 1.1vw;
  min-width: 120px;
  color: #FFFFFF;
}

.popup-button-osta {
   background-color: #2368B0 !important;
}

.popup-button-osta:hover {
    background-color: #095FB5 !important;
}

.popup-button-login {
   background-color: #4D4D4D !important;
}

.popup-button-login:hover {
    background-color: #212121 !important;
}

.popup-button-stream {
   background-color: #EA3C3C !important;
}

.popup-button-stream:hover {
    background-color: #CF2E2E !important;
}

/*** WOOCOMMERCE ***/

header.page-header {
    padding-top: 42px;
}

.images {
    opacity: 1 !important;
}

.woocommerce-product-gallery__wrapper {
    margin: 0;
}

#primary {
    margin: 5% auto;
}

.quantity {
    width: 20%;
}

.single_add_to_cart_button {
  background-color: #ED3E79 !important;
  color: #ffffff !important;
  margin: 2% auto 5% auto !important;
  border: solid 2px #fff !important;
}

.single_add_to_cart_button:hover {
  background-color: #8B2346 !important;
}

.wp-post-modal {
  max-width: 80vw;
  width: 90% !important;
}

.wp-post-modal ul {
   /* display: inline-flex !important; */
}

.wp-post-modal ul li {
   /* list-style: none !important; */
   margin-left: 0 !important;
   margin-right: 1% !important;
}

.releated img {
   width: 10rem !important;

}

.wp-post-modal h2 {
   font-size: 1rem !important;
}

.tulevat-konsertit{
 margin-bottom: 5%;
}

.tulevat-konsertit img{
 object-fit: cover;
}

.konsertti-some-mobile {
   display: none;
}

/** Uutiskirjeen popup **/
#mailchimp-top-bar {
    display: none ;
}

.mc4wp-success {
    color: #94ffa0;
    font-size: 1.2rem;
}

.mc4wp-alert {
  color: red;
  font-size: 1.2rem;
}

.trp-ls-shortcode-language, .trp-ls-shortcode-current-language{
 width: 70px !important;
}

.trp-language-switcher > div {
  padding: 4px 20px 3px 0px !important;
}



/*** MEDIA SETTINGS ***/


@media screen and (max-width: 1024px) {
 
      .entry-title {
          font-size: 1.5rem !important;
      }
      .konsertti-container {
        display: block;
        width: 100%;
      }
      
      .konsertti-esittelyt{
        min-height: 230px;
        position: relative;
}
      
     .cooperation-text {
        position: relative;
        bottom: 5%;
}
      
      .uutinen-container {
        display: block;
        width: 100%;
        padding: 5%
      }
       
      .post-container {
         font-size: 1rem;
         width: 95%;
     }
     
     .fas {
         font-size: inherit;
         color: inherit;
     }
     
     .konserttisarja{
      font-size: 0.7rem;
     }
     
     .peruttu_teksti{
       font-size: 1.8rem;
     }
     
     .popup-buttons {
      font-size: 2.5vw;
      padding: 5px 10px;
     }
     
     .addtoany_list.a2a_kit_size_32 a:not(.addtoany_special_service) > span{
      width: 1.5rem !important;
      }
      
      .wp-post-modal {
       max-width: 95vw;
       width: 100% !important;
   }
      
      .close-modal {
       font-size: 2rem !important;
      }
      
     .wp-post-modal h1 {
       font-size: 1.5rem;
       width: 100% !important;    
     }
     
     .uutinen-otsikko {
       width: 100% !important;
     }
     
     .uutinen-teksti {
      width: 100% !important;
      font-size: 1rem !important;
     }
     
     .uutinen-some {
       width: 100%;
       font-size: 0.8rem;
     }
     
     .uutinen-kuva{
      width: 100%;
      max-width: 100%;
     }
     
     .uutinen-kuva img {
      max-width: 100% !important;
   }
     
     .next-prev-posts {
       padding: 0 0%;
   }
   
     .tulevat-konsertit{
      display: none;
     }
     .show-in-laptop {
      display: none;
     }
     .konsertti-some-mobile {
      margin-top: 20px;
      display: block;
   }

}


.hfe-nav-menu .trp-language-switcher-container {
    display: inline-flex;
}

