/*

Theme Name: Airi Child

Author: Jani Tantarimäki

Template: airi

Text Domain: airi-child

*/

.site-content p, .site span {
    color:#222222;
}

h1, h2, h3, h4, h5 {
    font-family: "Lobster", sans-serif !important;
    font-weight: 400;
    font-style: normal;
    color: #222222;
    margin-bottom: 20px;
}

h1 {
    color: #FFA914;
    font-size: clamp(1.5rem, 4vw, 5rem);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 4vw, 2rem);
}

h4 {
    font-size: clamp(1.5rem, 4vw, 2rem);
}

h5 {
    font-size: clamp(1.5rem, 4vw, 2rem);
}

.site-content {
    padding-bottom: 0px;
    padding-top: 0px;
}

.elementor-element {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.page-numbers {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.next {
    padding: 6px;
}

.previous {
    padding: 6px;
}

.site-main {
    padding-right: 0px;
}

.headeri {
    text-align: center;
    padding-top: 180px;
    padding-bottom: 180px;
    background-size: cover;
    background-position: center;
    border-bottom-left-radius: 200px;
}

.headeri-frontpage {
    text-align: center;
    padding-top: 250px;
    padding-bottom: 250px;
    background-size: cover;
    background-position: center;
}

.headeri h1 {
    color: #fff;
}

h1 a, h2 a, h3 a, h4 a, h5 a {
    color: #222222;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover {
    color: #222222;
}

.site-content a:not(h1 > *, h2 > *, h3 > *, h4 > *, h5 > *) {
    color: #497300;
    text-decoration: underline;
    font-weight: bold;
}

.site-content a:hover:not(h1 > *, h2 > *, h3 > *, h4 > *, h5 > *) {
    color: #497300;
    text-decoration: underline;
    font-weight: bold;
}

.site-logo {
    max-width: 200px;
    height: auto;
}

.menu-item a {
    text-decoration: none;
    color: #497300 !important;
}

.menu-item a:hover {
    text-decoration: underline;
    color: #497300 !important;
}

a::after, .current-menu-item::after {
    display: none !important;
}

.mobile-menu-toggle {
    border: none !important;
}

.current_page_item a {
    color: #FFA914 !important;
}

.entry-content {
    padding: 0px;
    padding-bottom: 100px;
}

.elementor-divider-separator {
    --divider-color: #C7C7C7 !important;
    --divider-border-style: dashed !important;
}

.footer-container {
    background-color: #222222;
    padding-top: 50px;
    padding-bottom: 50px;
}

.site-footer p {
    text-align: center;
    color: #A1A1A1 !important;
}

.wpforms-submit, .btn {
    background-color: #497300 !important;
    color: #fff !important;
    border-radius: 0px !important;
    border: 2px solid #497300 !important;
    padding: 20px !important;
    text-decoration: none !important;
    border-radius: 50px !important;
}

.wpforms-submit:hover, .btn:hover {
    background-color: #fff !important;
    color: #497300 !important;
    border-radius: 0px !important;
    border: 2px solid #497300 !important;
    padding: 20px !important;
    text-decoration: none !important;
    border-radius: 50px !important;
}

.elementor-button {
    background-color: #497300 !important;
    border-radius: 0px !important;
    border: 2px solid #497300 !important;
    padding: 20px !important;
    text-decoration: none !important;
    border-radius: 50px !important;

    span {
        color: #fff !important;
        fill: #fff !important;
    }
}

.elementor-button:hover {
    background-color: #fff !important;
    border-radius: 0px !important;
    border: 2px solid #497300 !important;
    padding: 20px !important;
    text-decoration: none !important;
    border-radius: 50px !important;

    span {
        color: #497300 !important;
        fill: #497300 !important;
    }
}

.wpforms-submit {
    height: auto !important;
}

.wpforms-submit:hover {
    background: none !important;
}

.site-header {
    padding: 20px 0;
}

h1 {
    display: flex;
}

h1::after {
  content: "";
  flex: 1;
  border-bottom: 3px dotted #FFA914;
  margin-left: 1rem;
  width: auto;
  align-self: center;
}

.wpforms-container {
    padding-top: 0px !important;
    margin-top: 0px !important;
}

.subnav-toggle {
    display: none !important;
}

.menu-item-has-children > span {
    padding-left: 15px;
    padding-right: 15px;
    display: block;
    color: #497300 !important;
    cursor: pointer;
}

body.mobile-menu-active .menu-item-has-children > span {
  padding: 15px;
}

.menu-item-has-children > span::after {
  content: "\f347";
  font-family: dashicons;
  margin-left: 6px;
}

.mobile-menu-toggle:hover {
    color: #fff !important;
}

.main-navigation li:first-of-type {
    padding-left: 15px !important;
}

/* Small devices (landscape phones, 576px and up) */

@media (max-width: 575.98px) {
	.headeri-frontpage {
        text-align: center;
        padding-top: 120px;
        padding-bottom: 120px;
        background-size: cover;
        background-position: center;
    }
}



/* Medium devices (tablets, 768px and up) */

@media (max-width: 767.98px) {

	
}



/* Large devices (desktops, 992px and up) */

@media (max-width: 991.98px) {

	

}



/* Large devices (desktops, less than 1200px) */

@media (max-width: 1199.98px) {
    .entry-content {
        padding: 0px 20px;
    }

}

.mobile-menu-toggle {
 background: none !important;
}

.image-credits {
    display: flex;
    justify-content: right;
    padding: 10px;
}

.e-grid {
    grid-template-rows: auto !important;
}