﻿#scrollview-home .photo {
}

div.k-scrollview ul.k-scrollview-wrap > li {
    text-align: center;
    display: table;
    box-sizing: border-box;
}

ul.k-scrollview-wrap > li > .img-wrapper {
    padding: 2em;
    display: table-cell;
    vertical-align: middle;
}

ul.k-scrollview-wrap > li > .img-wrapper > div {
    width: 30%;
    min-width: 150px;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: top;
    margin-bottom: 1em;
    margin-left: -450px;
}

ul.k-scrollview-wrap > li > .img-wrapper > div > div {
    margin: auto;
    margin-bottom: 0.5em;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height: 500px;
}


.img-wrapper > div {
    text-align: center;
}

.img-wrapper > div > div {
    margin: auto;
    margin-bottom: 0.5em;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.dropdown-header {
    border-width: 0 0 1px 0;
    text-transform: uppercase;
}

    .dropdown-header > span {
        display: inline-block;
        padding: 1px 10px;
    }

        .dropdown-header > span:first-child {
            width: 30px;
            margin: 2px 5px 2px -15px;
        }

.k-list-container > .k-footer {
    padding: 10px;
}

.k-listview-content {
    align-content: inherit !important;
}

.selected-value {
    display: inline-block;
    vertical-align: middle;
    width: 24px;
    height: 24px;
    background-size: 100%;
    margin-right: 5px;
    border-radius: 10%;
}

#PID-list .k-item {
    line-height: 1em;
    min-width: 300px;
    height: 50px;
}

/* Material Theme padding adjustment*/
.k-material #PID-list .k-item,
.k-material #PID-list .k-item.k-state-hover,
.k-materialblack #PID-list .k-item,
.k-materialblack #PID-list .k-item.k-state-hover {
    padding-left: 5px;
    border-left: 0;
}

#PID-list .k-item > span {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: top;
    margin: 2px 8px 8px 5px;
}

    #PID-list .k-item > span:first-child {
        -moz-box-shadow: inset 0 0 30px rgba(0,0,0,.3);
        -webkit-box-shadow: inset 0 0 30px rgba(0,0,0,.3);
        box-shadow: inset 0 0 30px rgba(0,0,0,.3);
        margin: 0 10px 0 0;
        width: 50px;
        height: 50px;
        border-radius: 10%;
        background-size: 100%;
        background-repeat: no-repeat;
        background-position: center;
        float: left;
    }

    #PID-list .k-item > span:last-child {
        float: left;
        display: contents;
    }

#PID-list h3 {
    font-size: 0.95em;
    font-weight: normal;
    margin: 0 0 1px 0;
    padding: 0;
}

#PID-list p {
    margin: 0;
    padding: 0;
    font-size: .8em;
}

.notificationAlert {
    word-wrap: break-word;
    white-space: normal;
    margin: -18px 10px 0 24px;
}

.contentWide {
    min-height: 600px;
    width: 100%;
    display: block;
}

.PicOfTheMonth .container .row, .calendar {
    margin-top: 5px;
    text-align: right;
    width: 25%;
    float: right;
}

.passpartu {
    text-align: center;
    height: 870px;
}

.photoCanvas {
    height: 770px;
}

.legend {
    max-width: 750px;
    text-align: left;
    margin: 0 auto;
}

@media (max-width: 820px) {
    .passpartu {
        height: 870px;
        width: 100%;
    }

    .photoCanvas {
        height: 770px;
    }

    .calendar {
        width: 50%;
    }
}

@media (max-width: 415px) {
    .passpartu {
        height: 680px;
    }

    .photoCanvas {
        height: 550px;
    }

    .calendar {
        width: 50%;
    }

    .legend p {
        font-size: 15px;
    }

    .legend h5 {
        font-size: 18px;
    }
}
