/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

body {
    --contentWidth: 1240px;
}

/* MENU */
.elementor-nav-menu__align-left .elementor-nav-menu {
    justify-content: space-between !important;
    width: 100% !important;
}

.elementor-nav-menu:after {
    display: none !important;
}

/*
.mobiilimenu {
    padding: 95px 0px 40px 0px !important;
}
*/
.mobiilimenu .sub-menu li {
    padding: 15px;
}

.mobiilimenu .sub-menu li a {
    font-size: 20px !important;
    font-family: var(--e-global-typography-primary-font-family ), Sans-serif;
}

/* elementor bug */ 
.elementor-widget-image a img[src$=".svg"] { width: 100% !important; }

/* #Aduuristatietenkin-ribbon*/
.scrolling_text {
    width: 100%;
    overflow: hidden;
    display: flex;
    white-space: nowrap;
}
.text {
    font-family: "Unbounded", Sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 24px;
    color: #fff;
    animation: animate_text 30s linear infinite;
}
.text span {
    margin: 0px 30px 0px 0px;
}

.scrolling_text .text span:before {
    background-image: url('/wp-content/uploads/pallot.svg');
    background-size: 13px 38px;
    background-repeat: no-repeat;
    display: inline-block;
    vertical-align: middle;
    width: 13px; 
    height: 38px;
    padding-right: 50px;
    content:"";
}

@keyframes animate_text {
    from {
      transform: translate3d(0, 0, 0);
    }
    to {
      transform: translate3d(-100%, 0, 0);
    }
}

@media only screen and (max-width: 768px) {
    .text {
        font-size: 18px;
    }

    .ribbon-container {
        padding: 10px 0px 10px 0px !important;
    }
}

/* ETUSIVU */

.etusivu-hero {
    max-height: 537px;
    overflow: hidden !important;
}

.etusivu-hero img {
    min-height: 30vh;
    object-fit: cover;
}

@media (max-width: 767px) {
    .kettera-monimuotoinen { 
        background-image:none!important;
    }}


@media (max-width: 992px) {
    .etusivu-hero .swiper-slide-inner {
         height: 30vh;
    }}

/* Artisti single */

.circle_icon {
    background: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    vertical-align: middle;
    padding: 10px;
}

.some_block {
    margin-right: 10px;
}

.some_block i {
    color: #000;
    font-size: 20px;
}

.some_block .fa, .fas {
    font-family: "Font Awesome 5 brands", "Font Awesome 5 Pro";
}

/* Konsertit archive */

.konsertti-btn .elementor-button-icon {
    font-size:28px; color: inherit; 
}

/* Footer */

.footer-accordian .elementor-accordion .elementor-accordion-item:first-of-type {
    display: none;
}

.footer-accordian .elementor-accordion-icon-opened {
    display: block;
    font-size: 22px;
}

.footer-accordian .elementor-accordion-icon-closed {
    display: block;
    font-size: 22px;
}

.footer-menu ul .menu-item-has-children {
    display: none;
}