/*
 Theme Name:     Myyntimaatio
 Theme URI:      https://myyntimaatio.fi
 Description:    Myyntimaation Hello Themen lapsiteema.
 Author:         Myyntimaatio
 Author URL:     https://myyntimaatio.fi
 Template:       elementor-hello-theme-master
 Version:        1.0.0
*/



/* Globaalit */

.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 89% !important;
    width: 89%;
}

.mm-red {
    color: #d14545;
}

@media all and (min-width: 1300px) and (max-width: 1500px) {
    html {
        font-size: 14px;
    }
}

@media all and (min-width: 1025px) and (max-width: 1299px) {
    html {
        font-size: 11px;
    }
}

@media all and (min-width: 930px) and (max-width: 1024px) {
    html {
        font-size: 10px;
    }
}

@media all and (min-width: 768px) and (max-width: 929px) {
    html {
        font-size: 8px;
    }
}

@media all and (min-width: 540px) and (max-width: 767px) {
    html {
        font-size: 12px;
    }
}

@media all and (max-width: 539px) {
    html {
        font-size: 6px;
    }
}


/* Menu */

.mm-menu-logo img {
    width: 300px !important;
}

.mm-menu-cta {
    font-weight: 200;
    border: 1px solid #d14545 !important;
    border-radius: 3px;
}

.mm-menu-cta a {
    color: #d14545 !important;

}

@media all and (max-width: 768px) {
    .mm-nav .elementor-item-active {
        background-color: transparent !important;
        color: #000 !important;

    }

    .mm-nav .elementor-item:hover {
        background-color: transparent !important;
        color: #000 !important;
    }

    .mm-nav .menu-item {
        display: flex;
        justify-content: center;
    }

     .mm-nav .menu-item a  {
         padding-left: 0 !important;
     }

     .mm-nav .elementor-nav-menu {
         text-align: center !important;
     }


    .mm-menu-cta {
        display: inline-block !important;
        padding-left: 20px !important;
    }



    .elementor-nav-menu--dropdown .elementor-item:hover {
        background-color: transparent !important;
        color: #000 !important;
    }

    .elementor-nav-menu--dropdown .elementor-item.elementor-item-active {
        background-color: transparent !important;
        color: #000 !important;
    }
}

/* Etusivu */

.mm-lander-svg img {
    width: 65%;
}

.mm-lander {
    height: 85vh !important;
}

.mm-small-icon img {
    width: 50%;
}

.mm-overlap-block {
    display: block !important;
}

/* Valokuvaus */

.mm-arrow-down {
	animation: arrow_bounce 2.2s ease-out infinite;
}
@keyframes arrow_bounce {
  0% { transform:translateY(0%); }
  12.5% { transform:translateY(20%); }
  25% { transform:translateY(0%); }
  37.5% { transform:translateY(20%); }
  50% { transform:translateY(0%); }
}

/* Tarra-automaatti */

.mm-tarra-automaatti-info {
    text-align: center;
    font-family: "Chewy", Sans-serif;
    font-size: 3.5rem;
    animation-name: fadeInUp;
    -webkit-animation-duration: 1.25s;
    animation-duration: 1.25s;
    width: 100%;
}

fieldset {
    border: none;
    display: block;
    flex-wrap: wrap;
    justify-content: center;
}

.mm-progress-bar {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    margin: 61px auto 41px;
    background: #000;
    border-radius: 3px;
    color: #fff;
    width: 89%;
}

.mm-step {
    width: 100%;
    text-align: center;
    padding: 20px;
    font-size: 1.2rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	flex-direction: column;
}

.mm-step-active {
    background: #d14545;
    border-radius: 3px;
}

.mm-size-container {
    display: flex;
    justify-content: center;
    padding: 41px 0;
    width: 100%;
}

.wpcf7-response-output {
    width: 100%;
}

.wpcf7-not-valid-tip {
    text-align: center;
    margin: 11px 0 0;
}

.mm-rivit {
    display: flex !important;
    justify-content: center;
    flex-wrap: wrap;
}

.mm-rivit label {
    width: 50% !important;
    margin-right: 21px;
}

.wpcf7-display-none {
    display: none;
}

div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {
    display: flex !important;
    justify-content: center;
    margin-top: 41px;
}

div.wpcf7-response-output {
    width: 100%;
}

.mm-colors-heading {
    width: 100%;
    text-align: center;
    font-family: 'Chewy', sans-serif;
    font-size: 2rem;
    padding-bottom: 41px;
}

.mm-colors-heading-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column;
}

.mm-color-combinations {
    width: 200px;
    height: 60px;
    margin: 0 auto;
}

.mm-colors {
    border: 1px solid #000;
    overflow: hidden;
    width: 100%;
}

.mm-color {
    float: left;
}

#black {
    background: #000;
    width: 99px;
    height: 60px;
    display: block;
}

#white {
    background: #fff;
    width: 99px;
    height: 60px;
    display: block;
}

#red {
    background: red;
    width: 99px;
    height: 60px;
    display: block;
}
#blue {
    background: #0000b1;
    width: 99px;
    height: 60px;
    display: block;
}
#lila {
    background: #a05bc9;
    width: 99px;
    height: 60px;
    display: block;
}
#green {
    background: #159f39;
    width: 99px;
    height: 60px;
    display: block;
}

#turquoise {
    background: #40E0D0;
    width: 99px;
    height: 60px;
    display: block;
}

#orange {
    background: #FF7F00;
    width: 99px;
    height: 60px;
    display: block;
}

#grey {
    background: #808080;
    width: 99px;
    height: 60px;
    display: block;
}

#yellow {
    background: #FFFF00;
    width: 99px;
    height: 60px;
    display: block;
}

.mm-colors-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.mm-colors-heading-container .wpcf7-form-control-wrap {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 11px 0 21px;
}

.wpcf7-form-control-wrap, .wpcf7-form-control {
    display: flex;
    flex-wrap: wrap;

}

span.wpcf7-not-valid-tip {
    width: 100%;
}

.mm-joku-muu-container {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.mm-color-preview {
    width: 50% ;
    margin: 0 auto 41px !important;
    border: 1px solid #000;
    padding: 21px;
}

.combination1 {
    margin-top: 21px !important;
    margin-bottom: 0 !important;
    background: #000;
    color: #fff;
    margin-bottom: 41px !important;
}

.combination2 {
    margin-top: 21px !important;
    margin-bottom: 0 !important;
    background: #fff;
    color: #d14545;
    margin-bottom: 41px !important;
}

.combination3 {
    margin-top: 21px !important;
    margin-bottom: 0 !important;
    background: #fff;
    color: #0000b1;
    margin-bottom: 41px !important;
}

.combination4 {
    margin-top: 21px !important;
    margin-bottom: 0 !important;
    background: #fff;
    color: #a05bc9;
    margin-bottom: 41px !important;
}

.combination5 {
    margin-top: 21px !important;
    margin-bottom: 0 !important;
    background: #fff;
    color: #159f39;
    margin-bottom: 41px !important;
}

.combination6 {
    margin-top: 21px !important;
    margin-bottom: 0 !important;
    background: #808080;
    color: #000;
    margin-bottom: 41px !important;
}

.combination7 {
    margin-top: 21px !important;
    margin-bottom: 0 !important;
    background: #FFFF00;
    color: #000;
    margin-bottom: 41px !important;
}

.combination8 {
    margin-top: 21px !important;
    margin-bottom: 0 !important;
    background: #40E0D0;
    color: #fff;
    margin-bottom: 41px !important;
}

.combination9 {
    margin-top: 21px !important;
    margin-bottom: 0 !important;
    background: #159f39;
    color: #fff;
    margin-bottom: 41px !important;
}

.combination10 {
    margin-top: 21px !important;
    margin-bottom: 0 !important;
    background: #FF7F00;
    color: #000;
    margin-bottom: 41px !important;
}

.combination11 {
    margin-top: 21px !important;
    margin-bottom: 0 !important;
    background: #FF7F00;
    color: #fff;
    margin-bottom: 41px !important;
}

.combination12 {
    margin-top: 21px !important;
    margin-bottom: 0 !important;
    background: #a05bc9;
    color: #fff;
    margin-bottom: 41px !important;
}

.color-combination-test > .wpcf7-form-control {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#Musta-valko {
    width: 100%;
}

.mm-liite {
    text-align: center;
    width: 100%;
}

.mm-joku-muu-container .joku-muu {
    width: 100%;
    justify-content: center;
    display: flex;
    padding-bottom: 21px;
}

#muu-vari {
    margin: 0 auto;
    width: 70%;
}

#muu-vari label {

    width: 100%;

}

.joku-muu input {
    margin-top: 21px !important;
}

.mm-fontit-kuva-container {
    width: 50%;
    display: flex;
    justify-content: center;
}

.mm-fontit-kuva-container img {
    object-fit: contain;
}

.mm-fontit-valinnat-container {
    width: 50%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.mm-fontit-valinnat-container input {
    margin-top: 5px;
}

.mm-fontit-valinnat-container .wpcf7-checkbox span {
    width: 100%;
    padding-left: 101px;
    margin: 0 auto;
}

.mm-align-container {
    width: 100%;
    padding-bottom: 41px !important;
    padding-top: 41px;
}

.mm-align img {
    width: 10%;
    margin: 0 auto;
}

.mm-align span {
    width: 100%;
    text-align: center;
    margin-top: 11px;
}

.mm-align {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column;
}

.mm-align-width {
    width: 89%;
    margin: 0 auto;
    display: flex;
}

.mm-form-heading {
    font-family: 'Chewy', sans-serif;
    font-size: 2rem;
    padding-bottom: 41px;
    text-align: center;
}

.asiakastyyppi {
    display: flex;
    justify-content: center;
    margin-bottom: 21px;
}

.mm-form-container {
    display: block;
    width: 60%;
}

.mm-form-container label {
    width: 100%;
    margin-bottom: 21px;
}

#mm-flex-wrap {
    flex-wrap: wrap;
}

#Combination1preview {
    margin-top: 81px;
    width: 60%;
    background: #000;
    color: #fff;
    padding: 20px;
    border-radius: 3px;
}

.mm-preview-heading {

    font-family: Arial;
    font-size: 1.5rem;

}

.mm-preview-paragraph {

    font-family: Arial;
    font-size: 0.8rem;

}

.extra-color-combination > .wpcf7-form-control {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.mm-button-centerer-container {
    margin-left: 21px;
}

.cf7mls_back.action-button {
    margin: 0 auto !important;
}

.mm-button-centerer-container {
    width: 50%;
    display: block;
    float: left;
    margin: 0 auto;
}

.wpcf7-form > .mm-button-centerer-container{
    width: 100% !important;
}

.first .mm-button-centerer-container {
    width: 100%;
}

.mm-align-btn {
    justify-content: center;
    width: 50%;
    display: block;
    float: right;
    margin: 0 auto;
}

.extra-color-combination > .wpcf7-form-control .wpcf7-list-item {
    margin-bottom: 21px;
}

.mm-joku-muu-container .wpcf7-form-control-wrap {
    padding: 0px 21px;
}

.wpcf7-form-control-wrap input, #muu-vari textarea {
    margin: 21px 0;
}

.muu-vari-lisatiedot textarea {
    margin-top: 21px;
    margin-bottom: 41px;
}

.wpcf7-form {
    width: 100%;
    margin: 0 auto;
    display: block;
    float: left;
    word-wrap: break-word;
}

.wpcf7-submit {
    font-family: "Oswald", Sans-serif;
    font-size: 1rem;
    font-weight: 200;
    text-transform: uppercase;
    color: #d14545 !important;
    border-color: #d14545;
    padding: 15px 30px !important;
    margin: 0 auto !important;
    border-width: 2px;
    height: auto;
}

.wpcf7-submit:hover, .cf7mls_btn:hover, .cf7mls_back:hover, .mm-menu-cta:hover {
    animation-name: elementor-animation-pulse;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    background: #d14545 !important;
    color: #fff !important;
    transition: 0.3s;
    transition-timing-function: ease-in-out;
}

.mm-menu-cta a:hover {
    color: #fff !important;
    transition: 0.3s;
    transition-timing-function: ease-in-out;
}

.cf7mls_btn {

    font-family: 'Oswald';
    background: rgba(0, 0, 0, 0) !important;
    border: 2px solid #d14545 !important;
    color: #d14545 !important;
    font-weight: 200 !important;
    border-radius: 3px !important;
    text-transform: uppercase;
    padding: 15px 30px !important;
}

.cf7mls_next.action-button, .cf7mls_back.action-button {
        margin: 10px auto !important;
        display: block;
}

.action-button {
    font-family: 'Oswald';
    background: rgba(0, 0, 0, 0) !important;
    border: 2px solid #d14545 !important;
    color: #d14545 !important;
    font-weight: 200 !important;
    border-radius: 3px !important;
    text-transform: uppercase;
    padding: 15px 30px !important;
}

.keskitys > .wpcf7-checkbox {
    display: flex;
    justify-content: center;
}

.keskitys .wpcf7-list-item {
    width: 31.5% !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.keskitys .wpcf7-list-item-label {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-left: 10px;
}


/*Tarra automaatti tyylit WS*/
.tarra-automaatti.lomake ul.wsf-group-tabs.wsf-tabs {
    background: #000;
	border-radius: 5px;
	justify-content: space-between;
	margin-bottom: 100px;
}
.tarra-automaatti.lomake .wsf-form ul.wsf-group-tabs > li > a {
	color: #fff;
    padding: 40px 40px;
    font-size: 20px;
	border: none;
}

.tarra-automaatti.lomake .wsf-form ul.wsf-group-tabs > li.wsf-tab-active > a {
    background-color: #d14545 !important;
    color: #ffffff !important;
    padding: 40px 60px;
    font-size: 20px;
}

.tarra-automaatti.lomake .wsf-groups {
    text-align: center;  
} 

.tarra-automaatti.laheta div#wsf-1-field-wrapper-43 {
    text-align: left;
}

.tarra-automaatti button.wsf-button.wsf-button-full {
    width: auto;
	padding: 15px 25px;
    background: #fff;
    border: 2px solid #d14545;
    margin-top: 50px;
    font-family: 'Oswald';
    font-size: 16px;
    font-weight: 300;
    color: #d14545;
    text-transform: uppercase;
	transition: .3s;
}


.tarra-automaatti button.wsf-button.wsf-button-full:hover {
    background: #d14545;
    border: 2px solid #d14545;
    color: #fff;
}

.tarra-automaatti.fontit-section .font-types {
    text-align: left;
	padding-top: 15px;
}

.tarra-automaatti.fontit-section input[type=radio].wsf-field + label.wsf-label {
    margin: 0 0 16px !important;
}

.tarra-automaatti .text-align label img {
    width: 60px;
	margin: 15px;
}

.tarra-automaatti .text-align label {
    display: flex !important;
    align-items: center;
	flex-direction: column-reverse;
}

.tarra-automaatti .text-align input[type=checkbox].wsf-field,
.tarra-automaatti .text-align input[type=checkbox].wsf-field + label.wsf-label:after {
    top: 90px;
}

.tarra-automaatti .text-align input[type=radio].wsf-field + label.wsf-label:after {
    top: unset;
}

.tarra-automaatti .text-align .wsf-inline {
    margin: 30px 50px;
}

.color-combination.section .mm-color-combinations {
    margin-bottom: 40px;
}

.tarra-automaatti.lomake .varieroja p {
    text-align: left;
}

.tarra-automaatti.lomake ul.wsf-group-tabs.wsf-tabs a {
    pointer-events: none;
}

.tarra-automaatti.lomake .lisaa-vaihtoehtoja {
    margin-bottom: 50px;
}

.tarra-automaatti.koko legend,
.tarra-automaatti.tekstimaara legend,
.tarra-automaatti.kpl legend,
.tarra-automaatti.varit legend,
.tarra-automaatti.fontit legend,
.tarra-automaatti.tiedot legend,
.tarra-automaatti.laheta legend {
	display: none;
}


@media all and (max-width: 768px) {
    .mm-step {
        display: none;
    }

    .mm-size-container {
        padding: 0 0 21px;
    }

    .mm-color-preview {
        width: 100%;
    }

    .mm-fontit-valinnat-container .wpcf7-checkbox span {
        padding-left: 11px;
    }

    .wpcf7-file {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }

    .mm-liite {
        font-size: 2em;
    }

    .mm-painomenetelma {
        font-size: 2em;
    }

    .keskitys .wpcf7-list-item {
        margin-bottom: 41px !important;
    }

     .keskitys .last {
        margin-bottom: 0 !important;
    }

    .Koko .wpcf7-list-item {
        width: 100% !important;
    }

    .mm-step-active {
        display: flex;
        justify-content: center;
    }

    .mm-progress-bar {
        width: auto;
    }

    span.wpcf7-not-valid-tip {
        font-size: 2em;
    }

    div.wpcf7-response-output {
        font-size: 2em;
    }


    .color-combination-test > .wpcf7-checkbox {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }


    .mm-size-container {
        flex-wrap: wrap;
    }

    .mm-fontit-kuva-container {
        width: 100%;
    }

    .mm-fontit-valinnat-container {
        width: 100%;
    }

    .fontti > .wpcf7-checkbox {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    #Combination1preview {
        width: 100%;
    }

    .mm-align img {
        width: 40%;
    }

    .mm-align-width {
        width: 100%;
    }

    .keskitys .wpcf7-list-item-label {
        font-size: 1.3rem;
    }

    .mm-tarra-automaatti-info {
        font-size: 2.5rem;
    }

}

@media all and (max-width: 539px) {
    .mm-tarra-automaatti-info {
        font-size: 4.8rem !important;
    }

    .mm-step-active {
        font-size: 2.2rem;
    }

    .keskitys .wpcf7-list-item-label {
        font-size: 1.9rem;
    }

    span.wpcf7-list-item {
        font-size: 2rem;
    }

    .action-button {
        font-size: 2rem;
    }

    .mm-tasmennys {
        font-size: 2rem;
    }

    .wpcf7-form-control-wrap input {
        font-size: 2rem;
    }

    .wpcf7-select, .wpcf7-textarea {
        font-size: 2rem;
    }


    .mm-preview-heading {
        font-size: 3rem;
    }

    .mm-preview-paragraph {
        font-size: 1.8rem;
    }


    .mm-fontit-valinnat-container .wpcf7-checkbox span {
        width: auto;
        padding-left: 0;
    }


    .mm-form-heading {
        font-size: 4.8rem;
    }

    .wpcf7-submit {
        font-size: 2rem;
    }


}


/* Footer */

.mm-aukioloajat .mabel-bhi-businesshours td {
    background: none !important;
    border: none;
    padding-left: 0;
}

@media all and (max-width: 768px) {
    .mm-aukioloajat .mabel-bhi-businesshours td {
        font-size: 18px;
    }
	
	.mm-progress-bar {
		display: none;
	}
	
	#mobile-bar {
		display: flex;
	}
	
	.mm-button-centerer-container {
		width: 100%;
	}
	
	.mm-align-btn {
		width: 100%;
	}
}

@media all and (min-width: 769px) {
	.mm-progress-bar {
		display: flex;
	}
	
	#mobile-bar {
		display: none;
	}
}

@media all and (min-width: 769px) and (max-width: 1024px) {
    .mm-aukioloajat .mabel-bhi-businesshours td {
        font-size: 16px !important;
    }
}

@media all and (min-width: 769px) and (max-width: 1024px) {
        .color-combination-test > .wpcf7-checkbox {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .mm-fontit-valinnat-container .wpcf7-checkbox span {
        padding-left: 50px;
    }

    .mm-tasmennys {
    font-size: 1.4rem;
}
}
