﻿/*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{
    display: inline-block;
    width: 150px;
    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;
}


.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;
}

.container .chosen-container-single .chosen-single,
.container .chosen-container-active.chosen-with-drop .chosen-single {
    background: rgba(255, 255, 255, 0);
    box-shadow: none;
    border: 1px solid #ced4da;
}

.container .chosen-container .chosen-drop {
    border: 1px solid #ced4da;
    border-top: 0;
}

.container .chosen-container .chosen-results li.highlighted,
.container .chosen-container .chosen-results li:hover,
.container .chosen-container .chosen-results li.selected {
    background: #3875d7;
}

.chosen-container {
    width: 100% !important;
}

.chosen-container > a {
    height: auto !important;
    padding: 6px 10px !important;
}

.chosen-container > a > div {
    padding-top: 6px !important;
}

.has-error .chosen-container a {
    border-color: #a94442;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

.has-error .chosen-container.chosen-with-drop a {
    border-color: #843534;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
}


.checkbox label {
    display: inline-block;
    margin: 0 0 0 10px;
}

.checkbox table tr,
.radiobuttonlist table,
.radiobuttonlist table tr,
.radiobuttonlist table tr td {
    border: none;
}

/*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) {
    
}