:root{
    /* These are color variables from the default template, some may be unused by the agenda */
    --bg-color:#F7F7F7;
    --main-color-dark:  #174B69;
    --main-color-light: #F0F0F0;
    --main-text-color:  #414141;
}

*, *::before, *::after{
    box-sizing: border-box;
}

/* These are just some demo values and can be ignored for your design */
body{
    position: relative;
    width: 100%;
    height: 100%;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.4;
    color: var(--main-text-color);
}

/* This is a demo container to hold the agenda and can be ignored for your design */
#demo {
    position: relative;
    width: 80%;
    margin: 100px auto;
    border: 0 solid #333;
}


*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    font-size: 1em;
    color: #2A2549;
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-weight: normal;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    background: rgb(23,76,106);
    background: linear-gradient(0deg, rgba(12,38,53,1)) 0%, rgba(23,76,106,1 100%);

}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 0.3rem;
    color: var(--main-color-dark);
    max-width: 90%;;
    padding-top: 1rem;
}
h2 {
    font-size: 1em;
    font-weight: normal;
    margin: 0 auto;
    max-width: 90%;
}

p {
    margin-top: 0;
    margin-bottom: 1em;
}


label {
    display: inline-block;
    margin: 0 0 .4rem;
}

button {
    border-radius: 0;
    cursor: pointer;
}

button:focus {
    outline: none;
}

input,
button,
select,
optgroup,
textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

select {
    word-wrap: normal;
}

button,
[type="button"],
[type="reset"] {
    -webkit-appearance: button;
}

::-moz-focus-inner {
    padding: 0;
    border-style: none;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="date"],
input[type="number"],
input[type="week"],
input[type="month"],
input[type="tel"],
input[type="file"],
input[type="image"],
input[type="time"],
input[type="search"],
input[type="url"],
select,
textarea {
    width: 100%;
    background-color: var(--main-color-light);
    border: none;
    box-sizing: border-box;
    min-height: 2.2rem;
    padding: .2rem .6rem;
}


a {
    text-decoration: underline;
    color: var(--main-color-dark);
}
a:hover {
    text-decoration: none;
}

.button,
.btn {
    border: none;
    background: none;
    cursor: pointer;
    padding: 8px 12px;
    color: #fff;
    background-color: #174B69;
    display: inline-flex;
    align-items: center;
    font-family: "Inter", sans-serif;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s all ease-in-out;
    height: 40px;
    vertical-align: top;
}

input + .button {
    margin-left: -5px;

}
.button svg {
    margin-left: 3px;
}

.center {
    text-align: center;
}

.col-1, .col-2 {
    margin: .8rem 0 .8rem;
}
.col-1 {
    width: 100%;
}
.col-2 {
    width: calc(50% - 1rem);
    display: inline-block;
}

.col-2:nth-child(2n+1) {
    margin-right: -6px
}
.col-2:nth-child(2n) {
    margin-left: 2rem;
}
@media only screen and (max-width: 720px) {
    .col-2 {
        width: 100%;
    }
    .col-2:nth-child(2n+1) {
        margin-right: 0;
    }
    .col-2:nth-child(2n) {
        margin-left: 0;
    }
}


#center {
    width: 100%;
    max-width: 980px;
    margin:  0 auto;
    min-height: 100%;
    background: #fff;
    padding: 30px 0px 0px;
}

#logo {
    display: block;
    width: 90%;
    max-width: 189px;
    margin: 0px auto 27px;
}

#header {
    width: 100%;
    background: var(--main-color-light);
    text-align: center;
    padding-bottom: 1.5rem;
}

#header img {
    width: 100%;
}

#header #marketing {
    font-size: 13px;
    color: #555;
    background: #ececec;
}
#header #marketing > div {
    padding: 5px 20px;
    max-width: 800px;
    margin: 0 auto;
}

#main {
    margin: 2rem auto;
    width: 90%;
    max-width: 760px;
}

#legal-privacy + label {
    width: 90%;
    margin-left: 10px;
    vertical-align: top;
    font-size: .8rem;
}

#stream {
    margin-top: 3rem;
}
#questions {
    vertical-align: top;
    display: inline;
}

.marketing-legal,
.marketing-legal p {
    font-size: .9em;
    color: var(--main-text-color);
}


#calendar a {
    display: inline-block;
    width: 90px;
    margin-right: 10px;
    text-decoration: none;
    vertical-align: top;
    text-align: center;
    margin-bottom: 100px;
}

#calendar a:last-child {
    margin-right: 0;
}

#calendar a img {
    width: 40px;
}



#footer {
    padding: 15px 0 8px;
    color: #888;
    font-size: .9em;
}
#footer strong {
    color: var(--main-blue-dark);
}
#footer img {
    width: 20px;
    display: inline-block;
    vertical-align: text-bottom;
}
#footer a {
    color: inherit;
    text-decoration: none;
}
#footer a:hover {
    text-decoration: underline;
}
#footer .col-imprint {
    display: inline-block;
    min-width: 270px;
}
#footer .col-contact {
    float: right;
}

#footer .center {
    max-width: 760px;
    width: 90%;
    text-align: left;
    margin: auto;
}
@media only screen and (max-width: 480px) {
    #footer .col-contact {
        margin-top: 20px;
        float: none;
        display: block;
    }
}

.storytile-sites-user-questions-question {
    width: 100%;
}

.storytile-sites-user-questions-question form,
.storytile-sites-public-chat-inputs form {
    display: flex;
}
textarea.storytile-sites-user-questions-input-text-visible {
    float: left;
}
textarea.storytile-sites-user-questions-input-text,
textarea.storytile-sites-user-questions-input-text-visible,
textarea.storytile-sites-public-chat-input-text {
    width: calc(100% - 120px);
    max-width: calc(100% - 120px);
    min-width: 100px;
    height: 50px;
    box-sizing: border-box;
    vertical-align: top;
    border: none;
    padding: 10px 37px 10px 10px;
    overflow: hidden;
    line-height: 1.2rem;
}

textarea.storytile-sites-user-questions-input-text {
    display: none;
}

button.storytile-sites-user-questions-input-button,
button.storytile-sites-public-chat-input-button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 50px;
    overflow: hidden;
    border: none;
    line-height: 45px;
    background: var(--main-text-color);
    color: #fff;
    transition: all 0.2s ease;
    /* pointer-events: none;
     opacity: 0.5;*/
}

button.storytile-sites-user-questions-input-button {
    background: var(--main-color-dark);
}

button.storytile-sites-user-questions-input-button:hover,
button.storytile-sites-public-chat-input-button:hover {
    background: var(--main-color-dark);
}