﻿

/*======================================================
  CALENDAR.CSS
  ======================================================
    
    1. MINI CALENDAR
    2. CALENDAR STYLE 1
    3. CALENDAR STYLE 2
    4. DETAILS PAGE
    5. SUBMIT EVENT PAGE
    6. MEDIA QUERIES

  ===================================================== */


/*======================================================
  MINI CALENDAR 
  ===================================================== */

.myZone .calendarContainer {
    width: 100%;
    float: left;
    margin: 0;
    padding: 10px;
    border: 1px solid #d8d8d8;
    font-size: 0.824em;
    border-collapse: collapse;
}

    .calendarContainer h1 {
        font-size: 12px;
        font-weight: bold;
        text-transform: uppercase;
        margin: 0px 0px 0px 0px;
        padding: 0px 0px 0px 0px;
    }

.calendar {
    padding: 0;
    width: 100%;
    font-size: 1em;
}

    .calendar caption {
        display:none;
    }

    .calendar table {
        color: #000000;
        width: 100%;
        border-collapse: collapse !important;
		font-size: 1.143em;
    }

        .calendar table tbody tr {
            border-top: solid 1px #ccc;
            padding: 2px 0;
        }
            .calendar table tbody tr:first-child {
                border-top: none;
            }

        .calendar table tr, .calendar table td, .calendar table th {
            height: 37px;
            color: #000;
        }

        .calendar table th {
            font-weight: bold;
            text-align: center;
            font-size: 1.071em;
            height: 48px;
            background: #e9f3f7;
        }

        .calendar table tbody td {
            background-color: transparent;
            color: #767676;
            width: 14.2857%;
        }

            .calendar table td.day {
                background-color: transparent;
                color: #000;
                font-weight: 600;
                cursor:default;
            }


			.calendar table td.daywithevent {
				border-left: solid 1px #fff;
				border-right: solid 1px #fff;
				color: #fff !important;
				background: transparent url(../../../../images/structure/bg-calendar-daywithevent2x.gif) 0 center repeat-x;
				background-size: auto 30px;
				cursor: pointer !important;
				font-weight: bold;
			}
			
			.no-backgroundsize .calendar table td.daywithevent{ background: #005696; }

    .calendar table td {
        height: 32px;
        margin: 0;
        padding: 0;
        text-align: center;
    }

.myZone .calendarArrows{
    float: right;
    padding: 8px 0 0 0;
}

.myZone .calendarArrowsLeft, .myZone .calendarArrowsRight{
    float: left;
    text-indent: -9999em;
    overflow: hidden;
    width: 9px;
    height: 14px;
    font-size: 1%;
}

.myZone .calendarArrowsLeft{
    background: url(../../../../images/structure/chevron-left-calendar2x.png) 0 0 no-repeat;
    background-size: 9px auto;
    cursor: pointer;
    padding-right: 5px;

}

.no-backgroundsize .myZone .calendarArrowsLeft{ background: url(../../../../images/structure/chevron-left-calendar.png) 0 0 no-repeat; }

.myZone .calendarArrowsRight{
    margin-left: 25px;
    background: url(../../../../images/structure/chevron-right-calendar2x.png) 0 0 no-repeat;
    background-size: 9px auto;
    cursor: pointer;
    padding-right: 5px;
}

.no-backgroundsize .myZone .calendarArrowsRight{ background: url(../../../../images/structure/chevron-right-calendar.png) 0 0 no-repeat; }

.month {
    cursor: pointer;
}

/*======================================================
  CALENDAR STYLE 1 
===================================================== */

.hidden {
    display: none;
}

.hide {
    display: none;
}

/* RIGHT COLUMN */

.calendarSearch {
    width: 30%;
    float: right;
}

#intCategories {
    padding: 10px;
    margin: 0 0 5px 0;
    background: #eaeaea;
    border: solid 1px #ccc;
}

    #intCategories select {
        width: 100%;
        margin-bottom: 8px;
        text-transform: uppercase;
    }

.optionsContainer input {
    margin: 0 5px 0 0;
}

#intCategories label {
    text-transform: none;
    font-size: 12px;
    font-weight: bold;
}

input[type="submit"].categoryButton {
    width: 100%;
    margin: 10px 0;
}

#intCategories p {
    margin: 0 !important;
}

#intCategories .intCategoriesHeader p {
    color: #000;
    font-size: 18px;
    padding: 11px 0 15px 0;
}

.categorybutton {
    float: right;
}

#submitEventContainer {
    width: 100%;
    margin: 10px 0;
    text-align: center;
}

/* MINI CALENDAR */

.calendarContainer {
    width: 100%;
    float: left;
    overflow: hidden;
    margin: 15px 0px 0px 0px;
}

    .calendarContainer h1 {
        font-size: 12px;
        font-weight: bold;
        text-transform: uppercase;
        margin: 0px 0px 0px 0px;
        padding: 0px 0px 0px 0px;
    }

    .calendarContainer table {
        width: 100%;
    }

.miniCalendarHeader td {
    padding: 0;
}

.miniCalendarHeader .calendarMonth {
    padding: 0 5px;
}

    .miniCalendarHeader .calendarMonth a {
        font-size: .9em;
        font-weight: bold;
        color: #fff;
    }

.miniCalendarHeader td.calendarButton {
    width: 20px !important;
    text-align: center;
}

    .miniCalendarHeader td.calendarButton a {
        display: block;
        text-align: center;
        height: 33px;
        width: 33px;
        line-height: 33px;
    }

        .miniCalendarHeader td.calendarButton a:hover,
        .miniCalendarHeader td.calendarButton a:active,
        .miniCalendarHeader td.calendarButton a:focus {
            background: rgba(0,0,0,0.1);
        }

        .miniCalendarHeader td.calendarButton a img {
            display: inline-block;
            margin: 0 auto;
            width: 10px;
            height: auto;
            margin-top: -3px;
        }



.miniCalendarBody td {
    height: 28px;
    font-size: .9em;
}

.miniCalendarBody .DayHeader {
    font-size: .9em;
    height: 28px;
    text-align: center;
    background: #eaeaea;
}

.miniCalendarBody .Highlight {
    background-color: #b3d9dd;
}

    .miniCalendarBody .Highlight a {
        color: #000 !important;
        font-weight: bold;
    }

.miniCalendarBody .OtherMonthDay a {
    color: #CCC !important;
}


/* LEFT COLUMN */

.calendarWrapper {
    width: 70%;
    padding-right: 40px;
}

.eventContainer {
    width: 100%;
    border-bottom: 1px solid #cdcdcd;
    padding-bottom: 10px;
    float: left;
    overflow: hidden;
    margin: 15px 0 5px 0;
}

    .eventContainer > :first-child {
        margin-top: 0;
        padding-top: 0;
    }

.eventDetails {
    position: relative;
    padding-left: 85px;
    margin-bottom: 15px;
    min-height: 80px;
}

    #printArea .eventDetails p, .eventDetails p {
        margin: 0 0 3px 0;
        font-size: 1em;
        line-height: 1.2em;
        max-height: 2.4em;
        overflow: hidden;
        position: relative;
        padding-left: 88px;
    }

        #printArea .eventDetails p strong, .eventDetails p strong {
            display: block;
            position: absolute;
            left: 0;
            top: -1px;
        }

.dateContainer {
    width: 70px;
    height: 65px;
    margin: 0 14px 0 0;
    position: absolute;
    left: 0;
    top: 0;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}


.eventDetails .date {
    display: block;
    float: left;
    height: 60px;
    overflow: hidden;
    padding: 8px 0 0px 0;
    text-align: center;
    width: 70px;
    color: #FFF;
    font-size: 20px;
    line-height: 22px;
    font-weight: bold;
    font-family: 'News Cycle', Arial, Helvetica, sans-serif;
}


/*======================================================
  2. CALENDAR STYLE 2 / COUNCIL CALENDAR
  ===================================================== */

.ui-datepicker-trigger {
    margin-left: 4px;
    vertical-align: middle;
    width: 20px;
    height: auto;
}

.calendarTop {
    margin-bottom: 40px;
}

/* MINI CALENDAR */

.miniCalendarContainer {
    width: 35%;
    float: left;
    padding-right: 20px;
}

.miniCalendar, .miniCalendar table {
    width: 100%;
}

.miniCalendarHeaderTwo td {
    vertical-align: middle;
}

.miniCalendarHeaderTwo .prev, .miniCalendarHeaderTwo .next {
    display: block;
    width: 33px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

.miniCalendarHeaderTwo .next {
    float: right;
}

    .miniCalendarHeaderTwo .prev:hover,
    .miniCalendarHeaderTwo .prev:active,
    .miniCalendarHeaderTwo .prev:focus,
    .miniCalendarHeaderTwo .next:hover,
    .miniCalendarHeaderTwo .next:active,
    .miniCalendarHeaderTwo .next:focus {
        background-color: rgba(0,0,0,0.1);
    }

    .miniCalendarHeaderTwo .prev img, .miniCalendarHeaderTwo .next img {
        display: inline-block;
        margin: 0 auto;
        width: 12px;
        height: auto;
    }

.miniCalendarBodyTwo .DayHeader {
    background: #eaeaea;
    font-size: .9em;
    text-align: center;
}

.miniCalendarBodyTwo td {
    height: 28px;
    font-size: .9em;
    text-align: center;
}

    .miniCalendarBodyTwo td > a {
        display: block;
    }

.miniCalendarBodyTwo .Highlight {
    background-color: #b3d9dd;
}

    .miniCalendarBodyTwo .Highlight a {
        color: #000 !important;
        font-weight: bold;
    }

.miniCalendarBodyTwo .OtherMonthDay a {
    color: #999 !important;
}

/*  SEARCH FORM  */


.calendarSearchForm {
    width: 65%;
    float: right;
}

.calendarSearchHeader {
    height: 40px;
    color: #fff;
    font-size: 1em;
    padding: 0 10px;
    font-weight: bold;
    line-height: 40px;
}

.calendarSearchTable {
    width: 100%;
    margin-top: 10px;
}

    .calendarSearchTable td {
        padding: 3px 0;
    }

        .calendarSearchTable td:first-child {
            width: 100px;
        }

    .calendarSearchTable input[type="text"] {
        height: 33px;
        line-height: 33px;
    }

        .calendarSearchTable input[type="text"].hasDatepicker {
            width: 150px;
        }

    .calendarSearchTable .button {
        height: 33px;
        line-height: 33px;
        padding: 0 5px;
        margin: 0 3px 0 0;
    }

/*  RESULTS SECTION  */

.calendarBottom {
    margin-top: 20px;
    padding-top: 20px;
    border-top: solid 1px #ccc;
}

    .calendarBottom > :first-child {
        margin-top: 0;
        padding-top: 0;
    }

    .calendarBottom > h2 {
        display: inline-block;
        padding-bottom: 10px;
    }

    .calendarBottom .resultsFound {
        display: inline-block;
        font-size: .9em;
        color: #666;
    }

.dateRange {
    display: block;
    margin-bottom: 10px;
    color: #666;
    font-size: .9em;
    line-height: 1.2;
}

.calendarResults .titleRow td {
    height: 40px;
    line-height: 40px;
    width: 100%;
}

.calendarResults .altrow td {
    border-top: solid 1px #ccc;
}

.calendarResults .altrow:last-child td {
    border-bottom: solid 1px #ccc;
}

/*======================================================
  2. DETAILS PAGE
  ===================================================== */

a.backTrigger {
    display: inline-block;
    padding: 5px 7px;
    font-size: .9em;
    float: right;
    margin-left: 20px;
}

.eventDetailsTable td {
    padding: 5px 0;
}

.eventDetailsTable tr {
    border-top: solid 1px #eee;
}

    .eventDetailsTable tr:first-child {
        border-top: none;
    }

/*======================================================
  3. SUBMIT EVENT
  ===================================================== */

.submitEventTable td {
    padding: 5px 0;
}

.ui-datepicker-trigger {
    margin-left: 4px;
    vertical-align: middle;
    width: 20px;
    height: auto;
}

.submitEventTable td input,
.submitEventTable td select,
.submitEventTable td textarea {
    max-width: 500px;
}

.dateTimeTableCell input {
    width: 100px !important;
}

.skillQuestion input[type="text"] {
    display: block;
}

/*======================================================
  5. MEDIA QUERIES
  ===================================================== */


/*==================
  Tablet
====================*/

@media only screen and (max-width : 991px) {

    /*================
  2. CALENDAR STYLE 2
  ==================== */

    .miniCalendarContainer, .calendarSearchForm {
        width: 50%;
    }

    .pager button {
        height: 40px;
        width: 40px;
        line-height: 40px;
    }
}


@media only screen and (max-width : 767px) {

    /*================
  2. CALENDAR STYLE 1
  ==================== */

    .calendarWrapper, .calendarSearch {
        width: 100%;
    }

    .calendarWrapper {
        padding-right: 0;
    }

    .calendarSearch {
        margin-bottom: 40px;
    }

    .calendarContainer {
        display: none;
    }

    .dateContainer {
        display: none;
    }

    .eventDetails {
        padding: 0;
        font-size: .9em;
        min-height: 0;
    }

        .eventDetails p {
            height: auto;
        }

    /*================
  2. CALENDAR STYLE 2
  ==================== */

    .miniCalendarContainer {
        display: none;
    }

    .calendarSearchForm {
        width: 100%;
        float: none;
    }

    .calendarResults .altrow td {
        font-size: .85em;
    }


    /*================
  2. DETAILS PAGE
  ==================== */

    a.backTrigger {
        display: inline-block;
        padding: 5px 7px;
        font-size: .9em;
        float: none;
        margin-left: 0;
        margin-bottom: 10px;
        width: auto;
    }

    .eventDetailsTable td:first-child {
        width: 100px !important;
    }


    /*================
  3. SUBMIT EVENT
  ==================== */

    .submitEventTable td {
        padding: 0;
        display: block;
    }

        .submitEventTable td:first-child {
            padding-top: 10px;
        }

        .submitEventTable td input[type="text"],
        .submitEventTable td select,
        .submitEventTable td textarea {
            width: 95%;
        }

    .ui-timepicker-hours,
    .ui-timepicker-minutes {
        display: block !important;
        width: 100% !important;
    }

    .dateTimeTableCell input {
        width: 100px !important;
    }

    .skillQuestion input[type="text"] {
        display: block;
    }

    .submitEventTable .button {
        max-width: 95% !important;
    }
}

@media only screen and (max-width : 480px) {

    /*================
      3. CALENDAR STYLE 2
      ==================== */

    .calendarSearchTable {
        font-size: .9em;
    }

        .calendarSearchTable td:first-child {
            width: 80px;
        }

        .calendarSearchTable input[type="text"].hasDatepicker {
            width: 120px;
        }

    #ui-datepicker-div {
        left: 3% !important;
        width: 94% !important;
        font-size: .85em;
    }

        #ui-datepicker-div select {
            height: auto;
            line-height: 1.2;
        }

    /*================
      3. CALENDAR STYLE 2
      ==================== */

    .eventDetailsTable td {
        display: block;
    }
}