﻿/*Global*/
html, body {
    height: 100%;
    margin: 0;
}
body {
    background-color: #f9fbfe;
    color: #585857;
}
.container {
    padding: 20px 40px;
}
input{
    max-width: none !important;
}
label {
    display: block;
}
h1,h2,h3,h4,h5,a {
    color: #00aeef;
}
.btn-primary {
    background-color: #00aeef;
    color: #fff;
    border: 2px solid #00aeef;
}
.btn-secondary {
    color: #00aeff;
    background-color: #fff;
    border: 2px solid #00aeef;
}
.btn-primary:hover {
    background-color: #fff;
    color: #00aeef;
    border: 2px solid #00aeef;
}

.btn-secondary:hover {
    color: #fff;
    background-color: #00aeef;
    border: 2px solid #00aeef;
}
.fixed {
    position: fixed;
    top: 0;
    width: 100%;
}
.content-header{
    margin-bottom: 40px;
}
.content-buttons{
    margin-bottom: 40px;
}

.datepicker-container{
    position: relative;
}
.datepicker-container:after {
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    content: "\f073";
    position: absolute;
    right: 8px;
    top: 8px;
}
.no-max-width {
    max-width: initial !important;
}
.counter-number {
    position: absolute;
    right: 20px;
    color: #ced4da !important;
}




/*Content*/
#content {
    margin-top: 40px;
    margin-bottom: 40px;
}
#content .container {
    position: relative;
    background-color: #fff;
}
#Body_lomake_formData{
    padding-top: 60px;
}
#Body_lomake_timer {
    background-color: #fff;
    padding: 20px 40px;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    font-weight: bold;
    text-align: center;
}
#Body_lomake_timer.fixed {
    position: fixed;
    top: 0;
    width: 100%;
    text-align: center;
    -webkit-box-shadow: 2px 7px 28px -12px rgba(0,0,0,0.75);
    -moz-box-shadow: 2px 7px 28px -12px rgba(0,0,0,0.75);
    box-shadow: 2px 7px 28px -12px rgba(0,0,0,0.75);
}
#Body_lomake_btnRemove{
    margin-top: 20px;
}

.tapahtumalistaesine{
    margin-bottom: 40px;
}
.tapahtumalistaus .tapahtuma{
    margin-bottom: 20px;
}

.hakuehdot{
    margin-bottom: 40px;
}
.hakuehdot > a:hover{
    text-decoration: none;
}
.hakuehdot .open:not(.collapsed)::after {
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    content: "\f078";
    margin-left: 10px;
}
.hakuehdot .open::after {
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    content: "\f054";
    margin-left: 10px;
}
.hakuehdot #collapseSearch{
    margin-top: 40px;
}

.tapahtuma-yhteistyokumppanit img {
    width: 100%;
    height: auto;
}

.ul-yhteistyokumppanit img {
    width: 150px;
}

.otsikolliset-yhteistyokumppanit {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
}
.mycheckbox input, .mycheckbox label, .myradio input, .myradio label {
    display: inline-block;
    margin-left: 10px;
}
.myradio label {
    display: inline;
}


.otsikolliset-yhteistyokumppanit img {
    width: 100%;
    height: auto;
    padding-top: 15px;
}

.otsikolliset-yhteistyokumppanit .yk-title {
    color: black !important;
}

.tapahtuma_kuva{
    margin-bottom: 20px;
}
.tapahtuma_kuva img{
    width: 100%;
    height: auto;
}

/*Footer*/
#footer {
    color: #fff;
    background: #000;
}
#footer h1,
#footer h2,
#footer h3,
#footer h4,
#footer h5{
    color: #fff;
}

#Body_lomake_tabContainer_osallitujalomakkeet {
    padding-top: 25px;
    margin-bottom: 25px;
    
    .ajax__tab_header {
        background-color: #f0f6fc;
        border: none;
        border-bottom: 1px solid #d4d4d4;
    }

    .ajax__tab.ajax__tab_active,
    .ajax__tab:hover {
        border-color: #d4d4d4 #d4d4d4 #fff !important;
        background-color: #fff;
    }

    .ajax__tab {
        height: auto;
        margin-top: 0;
        border: 1px solid transparent;
        margin-bottom: -1px;
    }

    .ajax__tab a {
        font-family: "Open Sans Condensed", sans-serif;
        font-size: 14px;
        font-weight: 700;
        color: #34495e;
        border-radius: 0;
        text-transform: capitalize;
    }

    .ajax__tab_outer .ajax__tab_inner .ajax__tab_tab {
        float: left;
        text-align: left;
        height: auto;
        width: auto;
        padding: 6px 15px;
        margin-top: 4px;
    }

    .ajax__tab_header, .ajax__tab_header * {
        background-image: none;
    }

    .ajax__tab_body {
        padding: 0;
        background-image: none;
        overflow: visible;
        border: 1px solid #d4d4d4;
        border-radius: 0px 0px 5px 5px;
        border-top: none;
        font-family: inherit;
        font-size: inherit;
    }

    .ajax__tab_panel {
        padding: 25px 15px 15px 15px;
        margin: 0px 15px;
    }
}

/*media queries*/
@media (min-width: 1200px) {
    .container {
        max-width: 1050px;
    }
}


@media (min-width: 576px) {
    
}

@media (min-width: 768px) {
    /*.tapahtumakalenteri .tapahtumalistaus{
        width: 50%;
        margin: auto;
    }*/
    .tapahtumakalenteri {
        padding: 40px;
    }
}

@media (min-width: 992px) {
    
}

@media (min-width: 1200px) {
    
}