﻿.demo-section {
    height: 410px;
    width: 848px;
}

#special-days {
    height: 100%;
    width: 100%;
    margin: 20px 0 0 0;
    padding: 0 20px;
    box-sizing: border-box;
    background: url('../Images/updatedCalendarBackground.png') transparent no-repeat 0 bottom;
}

#special-days::after {
    content: '';
    clear: both;
    display: table;
}

div#calendar {
    margin: 20px 0 0 408px;
    width: 100%;
    max-width: 340px;
    text-align: center;
    background: rgba(0,0,0,0.6);
    padding: 10px;
}

#calendar .k-content {
    height: 300px;
}
#calendar,
#calendar .k-content,
#calendar .k-header,
#calendar th,
#calendar .k-link,
#calendar .k-state-hover,
#calendar .k-state-selected,
#calendar .k-state-focused {
    background: transparent;
    border-color: transparent;
    color: #fff;
    box-shadow: none;
}
#calendar .k-content .k-state-hover,
#calendar .k-content .k-state-focused {
    font-size: 14px;
    font-weight: bold;
}
#calendar .k-state-selected, #calendar .k-state-selected.k-state-focused {
    font-size: 22px;
    font-weight: bold;
}
#calendar .k-content .k-link {
    padding: 0;
    min-height: 40px;
    line-height: 40px;
}
#calendar th {
    padding-top: 20px;
    color: #99E7F0;
}
#calendar td.k-other-month .k-link {
    color: #99E7F0;
}
#calendar th,
#calendar td {
    text-align: center;
}

#calendar td.k-state-focused,
#calendar .k-link:focus,
#calendar .k-link.k-state-focused {
    outline: none;                    
    background-color: #005a9e;        
    color: #ffffff;                   
    border-radius: 4px;
    box-shadow: 0 0 0 3px #ffffff,    
                0 0 0 5px #005a9e;    
}

/* Template Days */
.custom, .conference {
        width: 40px;
        height: 40px;
        margin: auto;
        -webkit-border-radius: 100px;
        -moz-border-radius: 100px;
        border-radius: 50%;
        line-height: 40px;
}
.custom {
    background-color: #fff;
    color: #000;
}
.conference {
    background-color: #70c114;
}
/*.cocktail {
background-color: #00a1e8;
}*/

#example {
    position: relative;
    min-height: 300px;
    font-size: 14px;
}

table {
    display: table;
    border-collapse: separate;
    border-spacing: 2px;
    border-color: gray;
}

.calendarDetails{
    display:inline-block;
    position:absolute;
    top:20px;
    margin-right:-401px;
    background-color: #fff;
    height: 349px;
    width:382px;
    z-index:1;
    opacity: 0.9;
    overflow: auto;
    padding:10px;
    text-align: left;
}

.calendarDetails span {
    color: #333;
    font-size: 12px;
    font-family: "Lucida Grande", verdana, arial, helvetica, sans-serif;
    line-height: 15px;
    display: block;
    margin: 1px 0;
}

.k-i-arrow-e, .k-i-arrow-w{
   background-image: url('../Kendo/styles/Black/sprite.png');
   filter: brightness(1000) !important;
}

#calendarDetails h3 {
    margin-bottom: 0;
    line-height: 1.25;
    text-align: center;
}

#calendarDetails h3:not(:first-of-type) {
    margin-top: 30px;
}

@media (max-width: 980px) {
    .demo-section {
        width: 100%;
        height: auto;
        align-items: center;
    }

    #special-days {
        margin: 0px;
        padding: 0px;
        background-image: none;
    }

    div#calendar {
        max-width: 280px;
        margin: auto;
        background-color: grey;
        padding: 20px;
    }

    .calendarDetails {
        position: static;
        display: block;
        margin: 20px auto 20px auto;
        width: auto;
        height: auto;
        max-height: 300px;
        left: auto;
        top: auto;
        margin-right: 0;
        border: 2px solid #758FAC;
    }
}

/*Might need to make a special element for this or just hide the calendar and show all events*/
@media (max-width: 360px) {
    div#calendar {
        max-width: 180px;
        margin: auto;
        background-color: grey;
        padding: 20px;
    }
}