
/*Colours used:
    RED: #d81e05
    BLACK: #000000
    Light Grey: # e7e7e7
    Dark Grey: #929292
*/

/*FONTS*/
/*@font-face {
    font-family: 'Frutiger';
    src: url('../fonts/Frutiger-Italic.otf');
    font-style: italic;
}

@font-face {
    font-family: 'Frutiger';
    src: url('../fonts/Frutiger-Bold.otf');
    font-weight: bold;
}*/

@font-face {
    font-family: 'Frutiger';
    src: url('../fonts/Frutiger-Cn.otf');
}
/*
@font-face {
    font-family: 'Frutiger';
    src: url('../fonts/Frutiger-UltraBlack.otf');
    font-weight: 400;
}

@font-face {
    font-family: 'Frutiger';
    src: url('../fonts/Frutiger-BlackCn.otf');
    font-weight: 500;
}

@font-face {
    font-family: 'Frutiger';
    src: url('../fonts/Frutiger-ExtraBlackCn.otf');
    font-weight: 600;
}*/

@font-face {
    font-family: 'Trump Gothic East';
    src: url('../fonts/trump_gothic_east_bold.ttf');
}
@font-face{
    font-family:'Texgyreschola-italic';
    src:url('../fonts/texgyreschola-italic.otf');
}


/*General Styles*/

/*html,
body {
    background-color: #d81e05!important;
   
    background-color:transparent!important;
    height: 100%;
    width: 100%;
    font-family: 'Frutiger';
    overflow: hidden;
    margin: 0;
    padding: 0;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}*/


/*BUTTON DOWNSTATES*/
#download-forms:active,#back-to-cal:active,#add-to-calendar:active,#submit-reg-btn:active,#submit-form-btn:active,#cancel-reg-btn:active,.month:active,#next-month:active,#past-month:active{
    opacity:0.7;
}

/*header styles*/
section#header.extra-weeks-head {
    margin-top:10px !important;    
}

section#browse-months.extra-weeks-browse{
    bottom:250px;
}

/*#header {
    margin-top: 90px!important;
    text-align: center;
    color: white;
    width: 100%;
    display: block;
    height:670px;
    margin: auto;
}

#header h1 {
    font-size: 5em;
    font-weight: 400;
    margin: 10px 0;
}


#header h3{
    font-size: 4em;
    margin-top:10px;
    margin-bottom:40px;
}*/

h2.calendar-heading {
    text-align: center;
    padding: 10px 0;
    font-size: 24px;
}

#header-line {
    width: 15%;
}

#this-month-img {
    width: 10%;
}

#branch-events {
    display: block;
    margin: auto!important;
    height: 100px!important;
    font-size: 2.5em;
    line-height: 100px;
    width: 96%;
    margin: 0;
    background-color: white;
    color: #d81e05;
    position: relative;
    font-family:'Texgyreschola-italic';
    line-spacing:1px;
}

#branch-events-img {
    width: 3%;
    margin-top: -1%;
}


/*calendar styles*/

tbody {}

td {
    background-color: white;
}
/*#calendar{
        max-height:837px;
    overflow-y: scroll;
}*/
table.calendar-table {

    width: 97%;
    border-spacing: 10px!important;
    margin:auto;
}

td.calendar-day {
    height: 100px;
    max-height: 100px;
    border: 1px solid #515151;
    color: #545454;
    border-top: 15px solid #515151;
    vertical-align: top;
    box-shadow: 2px 2px 2px 0px #dadada;
}

.past-event,
.past-event p {
    color: #929292 !important;
}

.days-passed {
    color: #545454;
}

/*.day-label {
    text-transform: uppercase;
}*/

td.calendar-day {
    width: 100px;
    max-width:100px;
}

tr {
    width: 100%;
}

.day-label {
    position: relative;
    top: -24px;
    color: white;
    text-align: center;
    width: 100%;
    font-size: 1.6em;
    margin: 0;
}

td.calendar-day.top-row {
    border-top: 3em solid #515151;
    height: 100px;
}

.top-row .day,
.top-row .past-day {
    position: relative;
    top: -19px;
    font-size: 2em;
        /*left: 5px;*/
}

.day {
    font-size: 2em;
    font-family: Arial, Helvetica, sans-serif;
    padding-left: 5px;
}

.day-head {
    top: -68px;
}

.past-day {
    color: #aaaaaa;
}

.today {}

#event-title-sm {
    font-size: 32px;
    color: black;
    text-align: left;

    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top:5px;
    padding-bottom:3px;
    /*padding-left:5px;*/
    /*display: -webkit-box;
    -webkit-line-clamp:1;
    -webkit-box-orient: vertical; */
    overflow:hidden;
}
/*.content > li:not(:first-child) { border-top:1px solid #d9d9d9;padding-top:3px;}*/

#event-desc-sm {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical; 
    font-size: 28px;

    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
    color: black;
    padding-left:5px;
}

#month-name {
    text-align: center;
    text-transform: uppercase;
    color: #515151;
    display: inline-block;
    width: 33.33%;
    font-size: 2em !important;
    margin-top:0;
}

#yr {

}

#past-month {
    display: inline-block;
    width: 75%;
    margin-left: 1%;
    text-transform: uppercase;
    color: white;
    margin-top: 0;
    font-size: 2em;
    margin-bottom: 0;
    cursor: pointer;
    text-align: left;
}

#past-month a,
#next-month a {
    /*opacity: .5;*/
}

#arrow-left {
    height: 2em;
    margin-left: 3%;
    margin-right: 7%;
    cursor: pointer;
}

#arrow-right {
    height: 2em;
    cursor: pointer;
}

#next-month {
    display: inline-block;
    width: 75%;
    text-align: right;
    font-size: 2em;
    margin-right: 10%;
    text-transform: uppercase;
    color: white;
    margin-top:0;
    cursor: pointer;
}

.nav-months, #calendar>h3
{
    visibility: visible;
}


/*Event Details*/

#event-details {
    margin-top: 20px;
    display: none;
    top: 0px;
    width: 95%;
    background-color: white;
    border: 10px solid #515151;
    border-top: 80px solid #515151;
    margin: auto;
    position: relative;
    height: 500px;
}

#event-day {
    position: relative;
    left: 90px;
    top: -80px;
    right: 0;
    margin: auto;
    text-align: left;
    font-size: 5em;
    width: 100%;
    font-family: "Frutiger-Roman","Arial", Verdana, sans-serif;
    color: #fff;

}

#date-number {
    font-size: 5em;
    border-bottom: 4px solid black;
    left: 15px;
    position: relative;
    padding-bottom: 0px;
}

#date-month{
    position: relative;
    text-transform: uppercase;
    bottom: -46px;
    left: -40px;
    font-size: 3em;
    text-align: center;
}

#event-year{
position: absolute;
    text-transform: uppercase;
    top: 110px;
    left: 18px;
    font-size: 1.5em;
    z-index: 5;
    width: 46px;
    text-align: center;
}

#event-date {
    position: relative;
    top: 10px;
    left: 0;
    color: #d81e05;
    margin: 0px 0px 15px;
}

#event-title, .event-title {
    position: relative;
    top: 0px;
    left: 200px;
    font-size: 5em;
    text-transform: uppercase;
    margin-bottom:0;
    word-wrap: break-word;
    display: inline-block;
    width: 75%;
}

#content-body p.event-title {
    font-size: 2.4em;
    color: #515151;    
}

.event-time-location,
.event-instructor {
    position: relative;
    top: 0px;
    left: 200px;
    color:#666;
}

#event-subtitle, .event-subtitle {
    position: relative;
    top: 100px;
    left: -470px;
    right: 0;
    margin: auto;
    text-align: left;
    font-size: 45px;

    display:none; /*for now as we aren't using subtitle*/
 
}

#event-description , .event-description{
    position: relative;
    /*top: 75px;*/
    left: 275px;
    word-wrap: break-word;
    display: inline-block;
    width: 75%;
    margin-top:0;
    font-size:3.5em;
}

.event-description {
    left: 200px;
    top: 20px;    
    color: #666;
}

#event-sidebar-img {
    width: 10%;
    position: absolute;
    bottom: 240px;
    left: 10px;
}

#nav-events {
    width: 130px;
    float: left;
    position: absolute;
    top: 300px;
    left: 10px;
}

#nav-events #last-event img, 
#nav-events #next-event img {
    width: 18px;
}

#nav-events  #count {
    margin: 0 10px 0;
    font-size: 14px;
    position: relative;
    bottom: 7px;
}

#icon{
    position: absolute;
    width: 4%!important;
    top: 18px;
    left: 48%;
}

#back-to-cal #icon {
    top: 18px;
}

#bottom-icons {
    position: absolute;
    bottom: 0;
    width: 100%;
    /*overflow-y: hidden;*/
    background-color: #e7e7e7;
    height: 125px;
}

#bottom-icons img {
    width: 30%;
    margin-left: 0%;
    margin-top: 15px;
}

#bottom-icons div {
    width: 25%;
    margin-top: 25px;
    display: inline-block;
    position:relative;
}

#container {
    display: block;
    margin: auto;
    width: auto;
    text-align: center;
}

#bottom-icons p {
    text-align: center;
    font-size: 16px;
    margin: 10px 0 0;
}
#event-info {
    position: relative;
    top: -60px;
}
#event-info li{
    color:black;
    display: none;  
}

#event-info li.selected-event{
    color:black;
    display: block;
}

#add-to-cal-popup,#download-forms-popup{
    display:none;
    height: 1250px;
    width: 80%;
    margin: auto;
    background-color: white;
    position: relative;
    top: -22%;
    border: 10px solid black;
    border-top: 80px solid black;
    font-family: Frutiger !important;
    text-transform: uppercase;
    z-index:9999;
}

#download-forms-popup{
    height:1100px!important;
}

input{
    text-transform: uppercase;
    color: #929292;
}

#add-to-cal-popup h1,#download-forms-popup h1{
    position: absolute;
    top: -85px;
    color: white;
    left: 0;
    right: 0;
    margin: auto;
    font-size: 5em;
    text-align: center; 
    font-family: Frutiger;
}

#success,#success-form{
    display:none;
    text-align: center;
    z-index:999;
}

#success h3,#success-form h3{
    font-size:8em;
    margin-bottom:0;
}

#success img, #success-form img{
    width:8%;
    display:block;
    margin:auto;
}

#success p,#success-form p{
    text-transform:uppercase;
    font-size:5em;
}

#submit-reg{
    padding:5%;
}

#submit-reg label{
    font-size:2em;
    margin-bottom: 15px;

}

#cancel-reg-btn{
    position: absolute;
    bottom: 10px;
    right: 15px;
    height: 120px;
    background-color: black;
    color: white;
    width: 300px;
    font-size: 64px;
    font-family:Frutiger !Important;
}

#submit-form-btn{
    bottom: 10px;
    right: 350px;
    height: 120px;
    background-color: black;
    color: white;
    width: 300px;
    text-align: center;
    font-size: 64px;
    font-family: Frutiger !Important;
    position: absolute;
}


label#tac-label{
    display: inline-block!important;
    width: 93% !important;
    position: absolute !important;
    bottom: 70px !important;
    right: -61%;
    font-size:1em!important;
}

input#tac{
    position: absolute !important;
    bottom: 79px !important;
    right: 315px !important;
}


#submit-form{
    padding: 80px;
    padding-top:20px;
}

#cancel-form-btn{
    position: absolute;
    bottom: 10px;
    right: 15px;
    height: 120px;
    background-color: black;
    color: white;
    width: 300px;
    text-align: center;
    font-size: 64px;
    font-family: Frutiger !Important;
}

#reg-email{
    /*margin-top: 50px;
    border: 1px solid black;
    height: 48px;
    width: 100%;
    display: block;
    margin: auto;
    font-size:45px;
    margin-bottom: 50px;*/
}


#reg-later-label,#reg-now-label{
    font-size: 2em !important;

}

#submit-form label{
    font-size: 3em;
    display: block;

    margin-top: 45px;
    margin-bottom:10px;
}

#form-email,#submit-first,#submit-last,#submit-phone{
    font-size:3em;
    height:1.5em;
    width:100%!important;
    /*border:2px solid black;*/
    padding: -4px;
    text-transform: uppercase;

    color: #929292;
}


#submit-reg label{
    margin-top:20px;
    margin-bottom:20px;   
    font-size: 1.5em; 
    padding:10px;  
    display:inline-block;
    width:100px; 
    vertical-align: middle;
    margin:0;
}


#submit-reg-btn{
    position:absolute;
    bottom:10px;
    right:350px;
    height:120px;
    background-color:black;
    color:white;
    width:300px;
    font-family:Frutiger !Important;

    font-size: 64px;
}

#black-down{
    display: block;
    margin:auto;
    width:3%;
}

#reg-now-section{
    /*display: none;*/
    margin-top:150px;
    font-family: Frutiger;
}

#reg-now-section label{
    font-size: 4em;
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    width:350px;
    margin-left:12% !important;
}

#reg-now-section input{
    font-size:4em;
    vertical-align: middle;
    margin:30px;
    width:750px;
    border:1px solid black;
}

#reg-later-label,#reg-now-label{
    width:350px !important;
}

#reg-now{
    margin-left:24%;
}
input[type=radio] { 
transform: scale(2)!important; 
-moz-transform: scale(2) !important; 
-ms-transform: scale(2) !important; 
-webkit-transform: scale(2) !important; 
-o-transform: scale(2)!important; 
}
/*Browse Months Styles*/
#browse-by-month {
    display: block;
    margin: auto!important;
    height: 100px;
    font-size: 2.5em;
    line-height: 100px;
    width: 96%;
    margin: 0;
    background-color: white;
    color: #d81e05;
    position: relative;
    font-family:'Texgyreschola-italic';
    text-align: center;
    letter-spacing: 1px;
}

#browse-month-img {
    width: 4%;
    margin: -1% auto 5px;
    display: block;
}

#browse-months {
    display: block;
    margin: auto;
    position:absolute;
    bottom:425px;
    left:0;
    right:0;
    height:20%;
}

#browse-tablet-div{
    display:none;
        position: fixed;
    bottom:  0px!important;
    left: 0;
    right: 0;
}

.month {
    width: 32.25%;
    height: 100px;
    float: left;
    margin: 10px;
    border: 1px solid white;
    color: white;
    background-color: rgba(255, 255, 255, .15);

    line-height: 100px;
}

#browse-buttons{
    width:97%;
    display:block;
    margin:auto;
}

.month-name {
    display: inline-block;
    margin: 0 !important;
    width: 55px;
    padding-left:25px;
    text-transform: uppercase;
    font-size:1.75em;
}

.view-month {

    font-size: 1.5em;
    position: relative;
    right: -40%;
}

.no-events-in-month{
    opacity:0.5;
}

.year {

}

/*calendar day - events*/

.counter {
    display: inline-block;
    margin: auto;
    width: 86%;
    text-align: center;
    font-size:16px;
}

.swipe-arrow{
    width: 3%;
   display:inline-block;    
}    
.top-row .carousel-events{
    top: -20px;
    width: 75%;
    left: 0px;
    float: right;
}

#days-events .carousel-events {
    top: 0px;
    width: 90%;
    left: -7px;
    float: right;
}

#days-events .carousel-events .content li {
    margin: 5px 0;
}

.carousel-events {
    width: 100%;
    position: relative;
    top: -5px;
    overflow: hidden;
}

/*.content {
    margin: 0;
    padding: 0;
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    -webkit-padding-start: 0;
}

.content li {
    font-size: 100px;
    margin: 0;
    padding: 0;
    width: 95%;
    display:block;
    margin:auto;
    list-style: none;
    text-align: center;
}*/

/*.top-row .active {
    height: 155px;
}

.active li {
    position: absolute;
    top: 200px;
}

.top-row .active li.current {
    top: -30px;
}

.active li.current {
    top: 10px;
}

.active {
    height: 193px;
}

.offscreen {
    position: absolute;
    left: -2000px;
}

.active .buttons {
    display: none;
    padding: 5px 0;
    background: #eee;
    text-align: center;
    z-index: 10;
    position: relative;
}

.carouselbox button {
    border: none;
    display: none;
}

.active button {
    display: block;
}

.offscreen {
    position: absolute;
    left: -2000px;
}*/


.grey-out{
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'//www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */
    filter:blur(5px)  grayscale(100%);
    -moz-filter: blur(5px) grayscale(100%);
    -ms-filter: blur(5px) grayscale(100%);
    -o-filter: blur(5px) grayscale(100%);
    filter: gray; /* IE6-9 */
    -webkit-filter: blur(5px)  grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
    opacity:0.5;
 }
 .grey-out-forms{
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'//www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */
    filter:grayscale(100%);
    -moz-filter:grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
    opacity:0.7;
 }

/*#footer{
    position:fixed;
    bottom:130px;
    left:0;
    right:0;
    margin:auto;
    color:white;
    text-align: center;
}*/

#touch-img{
    width:7%;
    display:block;
    margin:auto;
}

#touch-text{
    margin-top: 20px;
    text-align: center;
    font-size: 3em;
}

#alert-dialog{
    z-index:999999;
    display:none;
    border-top:50px solid black!important;
    border: 5px solid  black;
    text-align: center;
    height:400px;
    width:50%;
    position:fixed;
    top:39%;
    left:0;
    right:0;
    margin:auto;    
    background-color:white;
}

#alert-dialog h3{
    color: white;
    position: relative;
    top: -73px;
    font-size:2em;
}

#alert-dialog img{
    top: -105px;
    position: relative;
}

#alert-dialog p{

    position: relative;
    top: -20px;
    width: 70%;
    left: 0;
    right: 0;
    margin: auto;
    font-size:2em;
}

#alert-dialog button{   
    bottom:0px;
    right:0;
    left:0;
    height:60px;
    background-color:black;
    color:white;
    width:300px;
    font-family:Frutiger !Important;

    font-size: 36px;
    margin-top:100px;   
}

#instructions{   
    visibility: hidden; 
    background-color:white;
    display: block;
    height: 400px;
    width: 55%;

    margin:auto;
    border:1px solid black;
    border-top: 60px solid black;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    text-align: right;
}

#instructions #black-down{
    margin-top:-1px;
}

#instructions h3{
    color: white;
    position: relative;
    top: -80px;
    left: 0;
    right: 0;
    text-align: center;
    margin: auto;
    font-size:3em;
}

#instructions p{
    margin-top:0;
    width:97%;
    font-size:2em;
}
#instructions-touch{
    width: 13%;
    position: absolute;
    left: 5px;
    top: 48px;
}
#instructions small{
    font-size:1.5em;
} 
.rocking{
    -webkit-animation-name: rocking;
     -webkit-animation-duration: 3s; 
     -webkit-animation-iteration-count: infinite; 
     animation-direction:alternate-reverse;
     -webkit-animation-timing-function: ease-in-out; 
     -moz-animation-name: rocking; 
     -moz-animation-duration: 3s; 
     -moz-animation-iteration-count: infinite; 
     -moz-animation-timing-function: ease-in-out; 
}

@-webkit-keyframes rocking /* Safari and Chrome */ { 50% { -webkit-transform: rotate(-15deg) translateY(-1px); } 100%{-webkit-transform:rotate(15deg);}}

.pulse{-webkit-animation:pulse 1s ease-out;-webkit-animation-iteration-count:infinite;opacity:0.0;animation-direction:alternate-reverse;}

@-webkit-keyframes pulse{0%{-webkit-transform:scale(0.9, 0.9);opacity:1.0;}
50%{opacity:1.0;}
100%{-webkit-transform:scale(1.0, 1.0);opacity:1.0;}
}

#disable-clicks{
    height: 300px;
    background-color: transparent;
    position: absolute;
    bottom: -4px;
    width: 80%;
    z-index: 9999;
}

canvas{
    height: auto;
    width: 980px;
    z-index: 1;
    background-color: #d81e05!important;   
}



/* iphone5 portrait */
@media only screen and (min-width: 320px) and (max-width: 767px) and (orientation : portrait) {
    .day-mobile {
        color: #d81e05 !important;
    }

    #wrapper #content-body #event-details ul#event-info {
        margin: 20px 0 !important;
    }

    #event-details {
        height: 650px;
    }

    .top-row .carousel-events {
        top: -47px;
        width: 100%;
        left: 0;
        float: none;
        background: white;
        height: 100%;
        position: relative;
        z-index: 99;
        display: block;
    }    

    #days-events .carousel-events{
        top: -23px;
        width: 100%;
        left: 0;
        float: right;
        background: white;
        height: 100%;
        position: relative;
        z-index: 99;
        display: block;
    }

    #date-number {
        font-size: 4em;
    }

    #date-month {
        bottom: -36px;
        left: -29px;
        font-size: 2em;
    }
    #month-name {
        width: 50%;
    }
    #next-month,
    #past-month {
        display: none;
    }

    #arrow-right,
    #arrow-left {
        height: 3em;
    }
    
    .day {
        font-size: 2em;
        font-family: Arial, Helvetica, sans-serif;
        padding-left: 5px;
        z-index: 333;
        position: relative;
        color: #545454;
    }
    td.calendar-day {
        height: 50px;
        width: 50px;
        max-height: 50px;
        max-width: 50px;
    }

    td.calendar-day.top-row {
        height: 50px;
        width: 50px;
        max-width: 50px;
        max-height: 50px;
    }
    #event-day {
        left: 0px;
        top: -75px;
        font-size: 3.75em;
    }

    #event-year {
        top: 95px;
        left: -48px;
    }

    #content-body p.event-title {
        left: 85px;
        line-height: 1.2em;
        width: 70%;
        font-size: 1.8em;
    }

    #content-body .event-time-location {
        left: 85px;
        width: 70%;
    }

    #content-body .event-instructor {
        left: 85px;
        width: 70%;
    }

    #content-body .event-description {
        left: 85px;
        width: 70%;
    }

    #nav-events {
        width: 100%;
        float: none;
        position: relative; 
        top: 0px; 
        left: 0px; 
        margin: 40px auto 0px;
        text-align: center;
    }

    #bottom-icons img {
        width: 60%;
    }

    #back-to-cal #icon {
        position: absolute;
        width: 9% !important;
        top: 10px;
        left: 45.5%;
    }  

    #calendar-and-events + p {
        margin: 20px 0 20px 20px;
    }

    .days-passed {
        color: #545454;
    }

}

/* iphone 5 landscape */
@media only screen and (min-width: 320px) and (max-width: 767px) and (orientation : landscape) {
    .day-mobile {
        color: #d81e05 !important;
    }    
     #event-details {
        height: 650px;
    }
    .top-row .carousel-events {
        top: -47px;
        width: 100%;
        left: 0;
        float: none;
        background: white;
        height: 100%;
        position: relative;
        z-index: 99;
        display: block;
    }    

    #days-events .carousel-events{
        top: -23px;
        width: 100%;
        left: 0;
        float: right;
        background: white;
        height: 100%;
        position: relative;
        z-index: 99;
        display: block;
    }

    #date-number {
        font-size: 4em;
    }

    #date-month {
        bottom: -36px;
        left: -29px;
        font-size: 2em;
    }
    #month-name {
        width: 50%;
    }
    #next-month,
    #past-month {
        display: none;
    }

    #arrow-right,
    #arrow-left {
        height: 3em;
    }

    td.calendar-day {
        height: 50px;
        width: 50px;
        max-height: 50px;
        max-width: 50px;
    }

    td.calendar-day.top-row {
        height: 50px;
        width: 50px;
        max-width: 50px;
        max-height: 50px;
    }
    
    .day {
        font-size: 2em;
        font-family: Arial, Helvetica, sans-serif;
        padding-left: 5px;
        z-index: 333;
        position: relative;
        color: #545454;
    }

    #event-day {
        left: 0px;
    }

    #event-year {
        top: 95px;
        left: -48px;
    }

    #content-body p.event-title {
        left: 85px;
        line-height: 1.2em;
        width: 70%;
        font-size: 1.8em;
    }

    #content-body .event-time-location {
        left: 85px;
        width: 70%;
    }

    #content-body .event-instructor {
        left: 85px;
        width: 70%;
    }

    #content-body .event-description {
        left: 85px;
        width: 70%;
    }

    #nav-events {
        width: 100%;
        float: none;
        position: relative; 
        top: 0px; 
        left: 0px; 
        margin: 40px auto 0px;
        text-align: center;
    }

    #bottom-icons img {
        width: 40%;
    }

    #back-to-cal #icon {
        position: absolute;
        width: 7% !important;
        top: 10px;
        left: 46.5%;
    }  
    #calendar-and-events + p {
            margin: 20px 0 20px 20px;
        float: left;
    }  
    .days-passed {
        color: #545454;
    }  
}

/*iphone 6 plus portrait */
@media only screen and (min-device-width : 414px) and (max-device-width : 736px) and (orientation : portrait) and (-webkit-device-pixel-ratio : 3) { 
    .day-mobile {
        color: #d81e05 !important;
    }    
    #event-details {
        height: 650px;
    }

    .top-row .carousel-events {
        top: -47px;
        width: 100%;
        left: 0;
        float: none;
        background: white;
        height: 100%;
        position: relative;
        z-index: 99;
        display: block;
    }    

    #days-events .carousel-events{
        top: -23px;
        width: 100%;
        left: 0;
        float: right;
        background: white;
        height: 100%;
        position: relative;
        z-index: 99;
        display: block;
    }

    td.calendar-day {
        height: 50px;
        width: 50px;
        max-height: 50px;
        max-width: 50px;
    }

    td.calendar-day.top-row {
        height: 50px;
        width: 50px;
        max-width: 50px;
        max-height: 50px;
    }    

    #date-number {
        font-size: 4em;
    }

    #date-month {
        bottom: -36px;
        left: -29px;
        font-size: 2em;
    }
    #month-name {
        width: 50%;
    }
    #next-month,
    #past-month {
        display: none;
    }

    #arrow-right,
    #arrow-left {
        height: 3em;
    }
    
    .day {
        font-size: 2em;
        font-family: Arial, Helvetica, sans-serif;
        padding-left: 5px;
        z-index: 333;
        position: relative;
        color: #545454;
    }

    #event-day {
        left: 0px;
    }

    #event-year {
        top: 95px;
        left: -48px;
    }

    #content-body p.event-title {
        left: 85px;
        line-height: 1.2em;
        width: 70%;
        font-size: 1.8em;
    }

    #content-body .event-time-location {
        left: 85px;
        width: 70%;
    }

    #content-body .event-instructor {
        left: 85px;
        width: 70%;
    }

    #content-body .event-description {
        left: 85px;
        width: 70%;
    }

    #nav-events {
        width: 100%;
        float: none;
        position: relative; 
        top: 0px; 
        left: 0px; 
        margin: 40px auto 0px;
        text-align: center;
    }

    #bottom-icons img {
        width: 60%;
    }

    #back-to-cal #icon {
        position: absolute;
        width: 9% !important;
        top: 10px;
        left: 45.5%;
    }  
    #calendar-and-events + p {
        margin: 20px 0 20px 20px;
        float: left;
    }    
    .days-passed {
        color: #545454;
    }
}

/*iphone 6 plus landscape */
@media only screen and (min-device-width : 414px) and (max-device-width : 736px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 3) { 
    .day-mobile {
        color: #d81e05 !important;
    }
     #event-details {
        height: 500px;
    }

    .top-row .carousel-events {
        top: -47px;
        width: 100%;
        left: 0;
        float: none;
        background: white;
        height: 100%;
        position: relative;
        z-index: 99;
        display: block;
    }    

    #days-events .carousel-events{
        top: -23px;
        width: 100%;
        left: 0;
        float: right;
        background: white;
        height: 100%;
        position: relative;
        z-index: 99;
        display: block;
    }
    td.calendar-day {
        height: 50px;
        width: 50px;
        max-height: 50px;
        max-width: 50px;
    }

    td.calendar-day.top-row {
        height: 50px;
        width: 50px;
        max-width: 50px;
        max-height: 50px;
    }
    #date-number {
        font-size: 4em;
    }

    #date-month {
        bottom: -36px;
        left: -29px;
        font-size: 2em;
    }
    #month-name {
        width: 50%;
    }
    #next-month,
    #past-month {
        display: none;
    }

    #arrow-right,
    #arrow-left {
        height: 3em;
    }
    
    .day {
        font-size: 2em;
        font-family: Arial, Helvetica, sans-serif;
        padding-left: 5px;
        z-index: 333;
        position: relative;
        color: #545454;
    }
    .day + .carousel-events {
        color: #fff;
    }
    #event-day {
        left: 0px;
    }

    #event-year {
        top: 95px;
        left: -48px;
    }

    #content-body p.event-title {
        left: 115px;
        line-height: 1.2em;
        width: 70%;
        font-size: 1.8em;
    }

    #content-body .event-time-location {
        left: 115px;
        width: 70%;
    }

    #content-body .event-instructor {
        left: 115px;
        width: 70%;
    }

    #content-body .event-description {
        left: 115px;
        width: 70%;
    }

    #nav-events {
        width: 100%;
        float: none;
        position: relative; 
        top: 0px; 
        left: 0px; 
        margin: 40px auto 0px;
        text-align: center;
    }

    #bottom-icons img {
        width: 40%;
    }

    #back-to-cal #icon {
        position: absolute;
        width: 7% !important;
        top: 10px;
        left: 46.5%;
    }  
    #calendar-and-events + p {
        margin: 20px 0 20px 20px;
        float: left;        
    }    
    .days-passed {
        color: #545454;
    }
}

/*ipad portrait */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio: 1) { 
    .day-mobile {
        color: #d81e05 !important;
    }    
    #wrapper div#content-head {
        width: 95%;
    }

    #wrapper .fullpage #content-body {
        width: 95%;
    }
    table.calendar-table {
        width: 100%;
        margin: 0px;
    }

    #past-month,
    #next-month {
        display: none;
    }

    #event-day {
        left: 35px;
    }

    .calendar-day.top-row .carousel-events,
    td.calendar-day.top-row .carousel-events {
        top: -50px;
        width: 100%;
        left: 0;
        float: none;
        background: white;
        height: 100%;
        position: relative;
        z-index: 99;
        display: block;
    }    

    #days-events .carousel-events {
        top: -25px;
        width: 100%;
        left: 0;
        float: right;
        background: white;
        height: 100%;
        position: relative;
        z-index: 99;
        display: block;

    }
     .top-row .carousel-events ol.content {
        display: none;
     }
     #days-events .carousel-events ol.content {
        display: none;
     }
     .days-passed {
        color: #545454;
    }
     .day {
        font-size: 2em;
        font-family: Arial, Helvetica, sans-serif;
        padding-left: 5px;
        z-index: 333;
        position: relative;
        color: #545454;
    }

    td.calendar-day.top-row {
        height: 80px;
        width: 80px;
    }
    td.calendar-day {
        height: 80px;
        width: 80px;
    }    
    #event-details {
        height: 500px;
        width: 92%;
        margin: 0px;
        float: left;
    }

    #event-title, .event-title {
        position: relative;
        top: 0px;
        left: 150px;
        font-size: 5em;
        text-transform: uppercase;
        margin-bottom:0;
        word-wrap: break-word;
        display: inline-block;
        width: 75%;
    }

    #nav-events {
        width: 130px;
        float: left;
        position: absolute;
        top: 300px;
        left: 10px;
    }

    .event-time-location, .event-instructor {
        left: 150px;
    }
    .event-description {
        left: 150px;
    }
    #bottom-icons img {
        width: 30%;
    }
    #back-to-cal #icon {
        position: absolute;
        width: 5% !important;
        top: 10px;
        left: 47.5%;
    }

    #calendar-and-events + p {
        margin: 20px 0 20px 20px;
        float: left;        
    }    


}

/*ipad landscape */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape)  and (-webkit-min-device-pixel-ratio: 1){
    .day-mobile {
        color: #d81e05 !important;
    }    
    #wrapper .fullpage #content-head {
        width: 95%;
    }
    #wrapper .fullpage #content-body {
        width: 95%;
    }
    table.calendar-table {
        width: 100%;
        margin: 0px;
    }
    td.calendar-day.top-row {
        height: 80px;
        width: 80px;
    }
    td.calendar-day {
        height: 80px;
        width: 80px;
    }  

    .calendar-day.top-row .carousel-events,
    td.calendar-day.top-row .carousel-events {
        top: -50px;
        width: 100%;
        left: 0;
        float: none;
        background: white;
        height: 100%;
        position: relative;
        z-index: 99;
        display: block;
    }    

    #days-events .carousel-events {
        top: -25px;
        width: 100%;
        left: 0;
        float: right;
        background: white;
        height: 100%;
        position: relative;
        z-index: 99;
        display: block;

    }
    .top-row .carousel-events ol.content {
        display: none;
     }
    #days-events .carousel-events ol.content {
        display: none;
     }

    .day {
        font-size: 2em;
        font-family: Arial, Helvetica, sans-serif;
        padding-left: 5px;
        z-index: 333;
        position: relative;
        color: #545454;
    }  
    #event-details {
        height: 500px;
        width: 95%;
        margin: 0px;
        float: left;
    }

    #nav-events {
        width: 130px;
        float: left;
        position: absolute;
        top: 300px;
        left: 10px;
    }
    
    #bottom-icons img {
        width: 30%;
    }
    #back-to-cal #icon {
        position: absolute;
        width: 5% !important;
        top: 10px;
        left: 47.5%;
    }

    #calendar-and-events + p {
        margin-left: 20px;
        float: left; 
        margin: 20px 0 20px 20px;       
    }  
    .days-passed {
        color: #545454;
    }      
}
    