/*
 * Disorganised styles start
 */
#glm-event-agenda-view {
    margin-top: 0px;
    display: none;
}
#glm-member-event-search {
    margin-top: 20px;
}
#glm-event-wrapper.event-detail {
    /* max-width: 650px; */
    margin: 0 auto;
    position: relative;
}
.glm-event-day-row {
    margin-top: 8px !important;
}

.glm-event-day-event {
    cursor: pointer;
    position: relative;
    border-radius: 5px;
    padding: 5px;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    transition: border 300ms;
}
#EventDrivingDirectionSubmit {
    width: 100%;
    margin: 0 0 1.25rem;
}
.glm-event-day-event h2 {
    font-size: 16px;
    padding-right: 5px;
}
.glm-event-day-event .event-content {
    padding: 10px;
}
.glm-hide{
    display: none;
}
.glm-event-day-event::before {
    content: "+" !important;
    float: right;
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    font-weight: bold;
}
.glm-event-day-event.open::before {
    content: "-" !important;
    font-size: 2.5rem;
    font-weight: bold;
}
.glm-event-day-event a.glm-read-more {
    margin: 10px;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    float: right;
    clear: right;
    transition: all 300ms;
}
.glm-event-cal {
    margin-top: 10px;
    width: 64px;
    border-radius: 5px;
    text-align: center;
}
.glm-event-cal-day-container {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}
.glm-event-cal-dow {
     font-size: .76rem;
     display: inline-block;
     width: 100%;
}
.glm-event-cal-day {
    padding-top: 10px;
    font-size: 1.6rem;
    display: inline-block;
    width: 100%;
    font-weight: bold;
}
.glm-event-cal-month {
    width: 100%;
    font-weight: bold;
}
#eventDetail-map {
     cursor: pointer;
     height: 260px;
}
#map-dialog{
    width: 100% !important;
}
#map_canvas{
    margin:0 auto !important;
}
.ui-dialog-titlebar-close::before{
    display: none;
}
.ui-dialog .ui-dialog-titlebar-close span{
    margin: -8px !important;
}
.timeDropDown{
    width: 30%;
}
.frontRecurrences{
    display: none;
}
.glm-add-event-form-wrapper input[name="event_name"]{
    margin-bottom: 0px;
}
.glm-add-event-form-wrapper input[name='contact_fname'],.glm-add-event-form-wrapper input[name='contact_lname']{
    width: 50%;
}
#glm-events-search-form input[type=submit] {
    margin-top: 20px !important;
    margin-bottom: 50px !important;
}
#glm-events-search-form h1 {
    padding: 0px;
}
.glm-search-icon {
    margin: 5px 0;
}
#glm-events-search-form #glm-event-name {
    width: 87%;
}
#glm-event-category {
    width: 85%;
}
#glm-event-pdf-submit,
#glm-event-rss-feed,
#glm-event-ical-feed {
    margin: 5px 5px;
}
@media only screen and (max-width: 40em) {
    #glm-event-add-event {
        margin-top: 20px !important;
    }
}
/* Event Detail Page */
#glm-event-detail-dates {
    margin: 0 0 10px 20px;
    position: relative;
}
#glm-event-view-select{
    width: 125px;
}
.glm-event-date:before {
    /* top: 0px; */
    content: "";
    background-image: url(../assets/calendar-icon-24x24.png);
    background-height: 24px;
    background-width: 24px;
    position: absolute;
    width: 24px;
    height: 24px;
    left: -36px;
}
.glm-event-date {
    margin-bottom: 15px;
}
.glm-event-times {
    margin-bottom: 15px;
}
.glm-event-times:before {
    content: "";
    background-image: url("../assets/time-icon-24x24.png");
    background-height: 24px;
    background-width: 24px;
    position: absolute;
    width: 24px;
    height: 24px;
    /* top: 6px; */
    left: -35px;
}
#glm-event-detail-location {
    margin: 0 0 10px 20px;
    position: relative;
}
#glm-event-detail-location:before {
    content: "";
    background-image: url("../assets/location-icon-24x24.png");
    background-height: 24px;
    background-width: 24px;
    position: absolute;
    width: 24px;
    height: 24px;
    top: 6px;
    left: -35px;
}
#glm-event-detail-cost {
    margin: 0 0 10px 20px;
    position: relative;
}
.event-overlay{
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0, 0.5);
    width: 100%;
    height: 900px;
    z-index: 999;
}
.loading{
    display: none;
    height: 13px;
    width: 208px;
    background: url('../assets/loader.gif');
    position: absolute;
    top:15%;
    left: 39%;
    z-index: 999;
}
.loading{
    display: none;
    height: 13px;
    width: 208px;
    background: url('../assets/loader.gif');
    position: absolute;
    top:15%;
    left: 39%;
    z-index: 999;
}
.sidebar-loading{
    display: none;
    height: 13px;
    width: 208px;
    background: url('../assets/loader.gif');
    position: absolute;
    top:15%;
    left: 13%;
    z-index: 999;
}
.sidebar-full-width{
    width: 100% !important;
}
#glm-event-detail-cost:before {
    content: "";
    background-image: url("../assets/cost-icon-24x24.png");
    background-height: 24px;
    background-width: 24px;
    position: absolute;
    width: 24px;
    height: 24px;
    top: 6px;
    left: -35px;
}
#glm-event-detail-tickets {
    margin: 0 0 12px 20px;
    position: relative;
}
#glm-event-detail-tickets:before {
    content: "";
    background-image: url("../assets/tickets-icon-24x24.png");
    background-height: 24px;
    background-width: 24px;

    position: absolute;
    width: 24px;
    height: 24px;
    top: 6px;
    left: -35px;
}
#glm-event-detail-registrations {
    margin: 0 0 12px 20px;
    position: relative;
}
#glm-event-detail-contact {
    margin: 0 0 10px 20px;
    position: relative;
}
#glm-event-detail-contact:before {
    content: "";
    background-image: url("../assets/contact-icon-24x24.png");
    background-height: 24px;
    background-width: 24px;
    position: absolute;
    width: 24px;
    height: 24px;
    top: 6px;
    left: -35px;
}
@media (max-width: 640px) and (min-width: 320px) {
    #sdate, #edate{
        width: 70%;
    }
}
@media (min-width: 641px) {
    #sdate, #edate{
        width: 35%;
    }
}
.hasDatepicker {
    height: 34px;
    max-width: 100%;
}
/* Front page styles */
#glm-events-frontpage-wrapper {
    font-size: 1rem;
    line-height: 1.2;
    width: 100%;
}
.glm-events-frontpage-day {
    background-color: grey;
    color: white;
    border-radius: 5px;
    margin: 0 0 10px 0;
    padding: 5px;
    text-align: center;
    font-size: .7em;
    font-weight: bold;
}
.glm-events-frontpage-event-image {
    float: left;
    height: 100%;
    width: 30%;
}
.glm-events-frontpage-event-image img {
    min-width: 90px;
    float: left;
    height: 100%;
}
.glm-events-frontpage-event-container {
    border: lightgrey solid 1px;
    border-radius: 5px;
    background-color: white;
    height: 90px;
}
.glm-events-frontpage-event-title {
    font-size: .66em;
    font-weight: bold;
    float: right;
    width: 70%;
}
.glm-events-frontpage-event-dates {
    font-size: .63em;
    font-weight: bold;
    float: right;
    width: 70%;
}
.glm-events-frontpage-event-content {
    font-size: .63em;
    float: right;
    width: 70%;
}
.fc-widget-content, .fc-event {
    cursor: pointer;
}
.fc-head .fc-head-container table{
    margin-bottom: 0px;
}
.fc-head .fc-head-container .fc-day-number{

}
.fc-week .fc-bg table tbody tr .fc-today{
    background: white;
}
.fc-row .fc-content-skeleton td, .fc-row .fc-helper-skeleton td {
    border-color: lightgrey;
}
.fc-row .fc-content-skeleton td, .fc-row .fc-helper-skeleton td{
    border-color: lightgrey;
}
.fc-content-skeleton table thead, .fc-row table thead{
    background: transparent;
}
a.fc-time-grid-event.fc-v-event {
    width: 60%;
}
#eventCalendar .fc-view-container thead tr .fc-today{
    background: rgba(130,179,209,.6);
}
#eventCalendar .fc-view-container tbody .fc-today{

}
#eventCalendar .fc-button .fc-icon.fc-icon-right-single-arrow:after {
    content: ">";
    font-weight: 700;
    font-size: 150%;
    top: -7%;
    left: 3%;
    display: block;
    color: black;
}
#eventCalendar .fc-button .fc-icon.fc-icon-left-single-arrow:after {
    content: "<";
    font-weight: 700;
    font-size: 150%;
    top: -7%;
    left: 3%;
    display: block;
    color: black;
}
.month-nav-container{

}

.month-nav, .year-nav{
    display: inline-block;
    margin: 5px;
    border: 1px solid lightgrey;
    padding: 3px 5px;
}
.month-nav:hover, .year-nav:hover{
    cursor: pointer;
    border: 1px solid black;

}
#event-date-toggle{
    width: 130px;
    margin-bottom: 0px;
}
#event-date-toggle-container{
    width: 130px;
    height: 30px;
    margin-left: 40px;
    margin-bottom: 0px;
    margin-top: -20px;
    float: left;
    opacity: 0;
}
label.date-toggle-label{
    font-weight: bold;
}
@media(max-width: 810px){
    #event-date-toggle-container{
        float: none;
        margin-left: 0;
        margin-top: 10px;
    }
    label.date-toggle-label{
        margin-top: 10px;
    }
}
.date-highlight{
    color: red;
    font-weight: bold;
    border: 1px solid black;
}
.current-date{
    background: #f5822a;
    color: white;
}
@media (max-width: 640px) and (min-width: 320px){
    .view-select{
        float: left;
    }
}
@media (min-width: 641px){
   .view-select {
        float: right;
        margin-right: 0;
/*        padding-right: 0;*/
    }
    #glm-event-view-select{
        float: right;
        margin-right: 0;
/*        padding-right: 0;*/
    }
}
.agenda-event-name{
    display: inline-block;
}
.agenda-event-recur-dates, .agenda-event-weekday{
    font-size: 13px;
/*    font-weight: bold;*/
}
.agenda-event-weekday{
    font-style: italic;
}
.date-range-container{
    font-size: 13px;
    margin-bottom: 8px;
}
.agenda-event-recur-dates{
/*    font-style: italic;*/
}

#glmRealEmail {
    display: none;
}
.glm-front-event-image-text{
    line-height: 1;
    font-size: 14px;
}
#glm-front-event-image{
    margin: 20px 0;
}

body #glm-event-detail-takeback-mini .glm-member-db-takeback-mini:hover {
    background-color: #5f0202;
}
body #glm-event-detail-takeback-mini .glm-member-db-takeback-mini {
    background-color: #6f1207;
    color: white;
}
#glm-event-detail-takeback-mini:hover {
    text-decoration: none;
    padding: 15px 150px 10px 15px;
    -webkit-transition: all 0.5s ease;
    -moz-transition:    all 0.5s ease;
    -o-transition:      all 0.5s ease;
    transition:         all 0.5s ease;
}
/*
 * Disorganised styles end
 */

/*
 * Search form styles start
 */
#glm-events-search-form input:not([type]),
#glm-events-search-form input[type="text"],
#glm-events-search-form input[type="password"],
#glm-events-search-form input[type="date"],
#glm-events-search-form input[type="datetime"],
#glm-events-search-form input[type="datetime-local"],
#glm-events-search-form input[type="month"],
#glm-events-search-form input[type="week"],
#glm-events-search-form input[type="email"],
#glm-events-search-form input[type="number"],
#glm-events-search-form input[type="search"],
#glm-events-search-form input[type="tel"],
#glm-events-search-form input[type="time"],
#glm-events-search-form input[type="url"],
#glm-events-search-form input[type="color"],
#glm-events-search-form textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    border-radius: 0;
    border-style: solid;
    border-width: 1px;
    border-color: #cccccc;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
    color: rgba(0,0,0,0.75);
    display: block;
    font-family: inherit;
    font-size: 0.875rem;
    height: 2.3125rem;
    margin: 0 0 1rem 0;
    padding: 0.5rem;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: border-color 0.15s linear,background 0.15s linear;
    -moz-transition: border-color 0.15s linear,background 0.15s linear;
    -ms-transition: border-color 0.15s linear,background 0.15s linear;
    -o-transition: border-color 0.15s linear,background 0.15s linear;
    transition: border-color 0.15s linear,background 0.15s linear;
}
#glm-events-search-form select#glm-event-category {
    width: 85%;
}
.glm-events-location-container{
    float: right;
}
.glm-events-time-container{
    float: left;
}
/*
 * Search form styles end
 */

/**********************************

Name: cmxform Styles

***********************************/
form.cmxform {
	max-width: 800px;
	font-size: 1.0em;
	color: #333;
}

form.cmxform legend {
	padding-left: 0;
}

form.cmxform legend, form.cmxform label {
	color: #333;
}

form.cmxform fieldset {
	border: none;
	border-top: 1px solid #C9DCA6;
	background: url(../images/cmxform-fieldset.gif) left bottom repeat-x;
	background-color: #F8FDEF;
}

form.cmxform fieldset fieldset {
	background: none;
}

form.cmxform fieldset p, form.cmxform fieldset fieldset {
	padding: 5px 10px 7px;
	background: url(../images/cmxform-divider.gif) left bottom repeat-x;
}

#glm-members-event-front-add form.cmxform label.error, label.error {
	/* remove the next line when you have trouble in IE6 with labels in list */
	color: red !important;
	font-style: italic;
    margin-bottom: 16px;
}
#glm-members-event-front-add input.error {
    margin-bottom: 2px;
}
div.error { display: none; }
input.checkbox { border: none }
input:focus { border: 1px dotted black; }
input.error { border: 1px dotted red; }
form.cmxform .gray * { color: gray; }
