.Sisalto {
    margin-top: 100px;
    width: 70%;
    margin-left: 15%;
    padding-bottom: 150px;
    font-size: 1.1em;
}
.Sisalto > h2 {
    width: 100%;
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 0px;
    font-family: classico-urw, sans-serif;
    font-weight: 900;
}
.Sisalto > h3 {
    width: 100%;
    text-align: center;
    font-size: 1.3em;
    font-weight: 400;
    margin-top: 10px;
    margin-bottom: 50px;
    font-weight: 300;
}
h4 {
    margin-top: 40px;
    margin-bottom: 20px;
    display: block;
    font-size: 1.2em;
    font-weight: 500;
}

.LeftBar {
    flex: 5;
    padding-right: 50px;
}
.RightBar {
    padding-top: 80px;
    flex: 5;
}
.LogoLaatikko {
    margin-top: 30px;
    margin-bottom: 25px;
}
.LogoLaatikko .Logo {
    width: 60px;
    margin-right: 25px;
    display: inline-block;
    vertical-align: middle;
    border-radius: 100%;
    overflow: hidden;
}
.LogoLaatikko.Henkilo .Logo {
    width: 100px;
    height: 100px;
    margin-right: 25px;
    object-fit: cover;
    display: inline-block;
    vertical-align: middle;
    border-radius: 100%;
    overflow: hidden;
    border: 2px solid var(--TeemaVari);
}
.LogoLaatikko.Henkilo .Logo.flip{
    transform: scaleX(-1);
}
.LogoLaatikko .Logo.ihminen {
    opacity: 0.2;
}
.LogoLaatikko .Teksti {
    display: inline-block;
    vertical-align: middle;
    line-height: 1.5em;
    margin-left: 20px;
}
.lightOtsikko {
    font-weight: 500;
}
.SlackBox {
    width: 100%;
    padding: 30px;
    background: #f7f7f7;
    border-radius: 15px;
}
.SlackBox .Top {
    margin-bottom: 30px;
}
.SlackBox .Top i {
    font-size: 2.5em;
    vertical-align: middle;
    color: #25d366;
}
.SlackBox .Top a {
    vertical-align: middle;
    margin-left: 30px;
    font-size: 1.2em;
    font-weight: 500;
}
.SlackBox p {
    margin-bottom: 0px;
}
a {
    border-bottom: 2px solid var(--TeemaVari);
    padding-bottom: 0px;
    color: #333;
    text-decoration: none;
    transition: 300ms;
}
a:hover {
    cursor: pointer;
    transition: 300ms;
    color: var(--TeemaVari);
}
.Wrapper {
    display: flex;
    flex-flow: row;
}
.RightBar .TukiNimi {
    padding-left: 30px;
    display: inline-block;
    vertical-align: middle;
    width: 200px;
}
.TikoLaatikko {
    margin-top: 80px;
    margin-bottom: 100px;
}
.TikoLaatikko img {
    width: 150px;
    display: inline-block;
    vertical-align: middle;
}
.TikoLaatikko span {
    display: inline-block;
    vertical-align: middle;
    margin-left: 40px;
    width: calc(100% - 195px);
}
.Uutiskirjelaatikko {
    margin-top: 30px;
    background: #f7f7f7;
    border-radius: 15px;
    padding: 30px;
    width: 430px;
}
.Uutiskirjelaatikko.first {
    margin-top: 100px;
}
.Uutiskirjelaatikko b {
    margin-bottom: 10px;
    display: block;
    font-weight: 500;
}
.Uutiskirjelaatikko a {
    margin-left: 40px;
}

.ModaaliTausta {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background: #0005;
    z-index: 1000;
}
.Modaali {
    width: 40%;
    margin: auto;
    margin-top: 100px;
    background: white;
    border-radius: 20px;
    padding: 30px 80px;
    position: relative;
}
.SuljeModaali {
    position: absolute;
    right: 20px;
    top: 20px;
    border: none;
    background: none;
    font-size: 1.2em;
    cursor: pointer;
}
.Modaali input {
    width: 400px;
    height: 40px;
    font-size: 1.1em;
    border-radius: 5px;
    border: 1px solid #bbb;
    padding-left: 10px;
    margin-bottom: 20px;
}
.Modaali h4 {
    font-size: 1.7em;
    margin: 0;
    margin-bottom: 40px;
    margin-top: 20px;
}

.TilaaButton {
    padding: 5px 20px;
    color: white;
    border-radius: 5px;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1.05em;
    background-color: var(--SingleColorRGB);
    background: var(--SingleColorRGB);
    margin-top: 30px;
}
.TilaaButton.Loading {
    background: #ccc !important;
}
.TilaaButton.Loading .org {
    display: none;
}
.TilaaButton .load {
    display: none;
}
.TilaaButton.Loading .load {
    display: block;
}
.TilaaButton .load i {
    margin-right: 10px;
}
.LahetettySisalto {
    display: none;
    min-height: 200px;
}
.LahetettySisalto > button {
    display: inline-block;
    background: var(--SingleColorRGB);
    padding: 5px 20px;
    color: white;
    border-radius: 5px;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1.05em;
    text-decoration: none;
    margin-top: 30px;
}
.LahetettySisalto > button i {
    margin-left: 10px;
}
.Modaali p {
    margin-bottom: 30px;
}
.Paasisalto {
    display: block;
}
.Whatsapp {
    display: block;
    margin-top: 15px;
    text-decoration: none;
    background: #25d366;
    color: white;
    padding: 2px 0px;
    border-radius: 5px;
    text-align: center;
    width: 170px;
    border: none;
    margin-left: 30px;
}
.Whatsapp i {
    margin-right: 10px;
}
.Whatsapp:hover {
    color: white;
}

@media screen and (max-width: 800px) {
    .Sisalto {
        width: 80%;
        margin-left: 10%;
    }
    .LeftBar,
    .RightBar {
        width: 100%;
        display: block;
    }
    .TikoLaatikko img {
        width: 60%;
        display: block;
        margin-bottom: 30px;
    }
    .TikoLaatikko span {
        display: block;
        margin-left: 0;
        width: 100%;
    }
    .Wrapper {
        flex-flow: column;
    }
    .LeftBar {
        order: 2;
    }
    .RightBar {
        order: 1;
    }
    .SlackBox .Top img {
        display: block;
        margin-bottom: 20px;
    }
    .SlackBox .Top a {
        margin-left: 0px;
    }
    .RightBar {
        padding-top: 40px;
    }
    .RightBar .TukiNimi {
        padding-left: 0;
        width: 100%;
        margin-top: 20px;
        font-weight: 500;
    }
    .Whatsapp {
        margin-left: 0;
        margin-top: 30px;
    }
    .Uutiskirjelaatikko.first {
        margin-top: 70px;
    }
    .Uutiskirjelaatikko {
        width: 100%;
    }
    .Uutiskirjelaatikko span {
        display: block;
    }
    .Uutiskirjelaatikko a {
        margin-left: 0px;
    }
    .LeftBar {
        padding-right: 0px;
    }
    .Modaali {
        width: 96%;
        padding: 30px;
    }
    .Modaali input {
        width: 100%;
    }
}
