#ws-calendar-container * {
    box-sizing: border-box;
}

h1#mc {
    width: calc(100% - 170px);
}

#ws-calendar-container:after {
    clear: both;
    display: table;
    content: '';
}


/* ==================================
Search FIeld
=================================== */

.search-button {
    float: left;
    font-size: 0.75em;
    width: 25%;
    margin-left: 2%;
}

.search-bar {
    width: 73%;
    padding-left: 20px;
    margin-top: 21px;
    /*    float: left;
*/
}

#search-controls:after {
    content: '';
    clear: both;
    display: table;
}

#search-controls {
    margin-bottom: 30px;
}

.search-field {
    float: left;
    width: 73%;
}

#search-options {
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;
    /* TWEENER - IE 10 */
    display: -webkit-flex;
    /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;
    /* NEW, Spec - Firefox, Chrome, Opera */
    flex-wrap: wrap;
    justify-content: space-between;
}

.search-field .user-entry {
    border-radius: 3px;
}

.search-field input {
    width: 100%;
}

#search-list-screen {
    min-width: 76px;
}

input.small-btn {
 /*   background-color: #777; */
    border: 0 solid #d9dde1;
    border-radius: 5px;
    box-sizing: border-box;
    color: #ffffff;
    cursor: pointer;
    font-family: "Open Sans", "Helvetica", "Arial", sans-serif;
    font-size: 12px;
    font-weight: 600;
    height: 45px;
    padding: 3px 10px;
    position: relative;
    text-align: center;
    transition: background-color 0.3s ease 0s;
    width: 100%;
}

input#search-button {
     -webkit-appearance: none;
     border-radius: 0;
    border-radius: 5px !important;
    background-color: #777;
}

#search-results-info {
    margin-bottom: 1.5em;
}

#search-results-info span {
    font-weight: bold;
}


/* ====================================
Toggle View
==================================== */

.toggle-view {
    /*    border-left: 1px solid #ccc;
*/
    float: left;
    /* padding-left: 4%;*/
    /*    padding-right: 4%;
   width: 15%;
   */
    width: 153px;
    padding-top: 21px;
    /*min-width:235px;*/
}

.toggle-view button,
.toggle-search button {
    background: #e4e4e0;
    color: #aaa;
    border: 0px solid #aaa;
    height: 45px;
    width: 45px;
    line-height: 45px;
    border-radius: 7px;
    background-clip: padding-box;
}

.toggle-view button {
    margin-right: 7px;
    float: left;
    display: block;
}

.toggle-view button#btn-grid {
    margin-right: 0;
}

.toggle-search {
    /*    float: left;
    border-left: 1px solid #ccc;
    padding-left: 4%;
    margin-left:4%;*/
    padding-top: 21px;
}

.toggle-view button:active {
    padding: 0;
}

.toggle-view button.selected,
.toggle-view button.selected:hover {
  /*  background: #777; */
    color: #fff;
    border: 0px solid #555;
    height: 45px;
    width: 45px;
    /*    margin-right: 3%;
*/
    border-radius: 7px;
}

.toggle-view button:hover {
/*    background-color: #F4F4F2;
*/    color: #555;
    cursor: pointer;
}

.toggle-view button#btn-list:before,
.toggle-view button#btn-summary:before,
.toggle-view button#btn-grid:before,
.toggle-search button#btn-search:before {
    font-family: 'FontAwesome';
    font-size: 19px;
}

.toggle-view button#btn-summary:before,
.toggle-view button#btn-grid:before {
    font-size: 18px;
}

.toggle-view button#btn-list:before {
    content: '\f03a';
}

.toggle-search button#btn-search:before,
.toggle-search button#btn-list:before {
    content: '\f002';
}

.toggle-view button#btn-summary:before {
    content: '\f00b';
}

.toggle-view button#btn-grid:before {
    content: '\f009';
}

.toggle-view button span,
.toggle-search button span {
    position: absolute;
    left: -999999px;
    top: -999999px;
}

.toggle-view button:last-child {
    margin-right: 0 !important;
}

#content_legacy h1 {
    /*    margin-bottom: 34px !important;
*/
    margin-bottom: 20px !important;
}


/* ====================================
Recurring-Events-Toggle
==================================== */

.recurring-events-toggle {
    border-left: 1px solid #ccc;
    float: left;
    padding-left: 4%;
    padding-right: 4%;
    width: 20%;
    text-align: center;
}

.recurring-events-toggle button {
    display: inline;
    font-size: 10px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
}

.recurring-events-toggle button {
    transition: background-color 0.5s ease !important;
}

.recurring-events-toggle #button-toggle-left.toggle-on {
    text-transform: uppercase;
    padding: 3px 8px 3px 10px;
    -webkit-border-top-left-radius: .5em;
    -webkit-border-bottom-left-radius: .5em;
    -moz-border-radius-topleft: .5em;
    -moz-border-radius-bottomleft: .5em;
    border-top-left-radius: .5em;
    border-bottom-left-radius: .5em;
    border: 0;
    border-right: 3px solid #666;
    -moz-border-right-colors: #666;
    background-color: #777;
    color: #fff;
}

.recurring-events-toggle #button-toggle-left.toggle-off {
    text-transform: uppercase;
    padding: 3px 8px 3px 10px;
    -webkit-border-top-left-radius: .5em;
    -webkit-border-bottom-left-radius: .5em;
    -moz-border-radius-topleft: .5em;
    -moz-border-radius-bottomleft: .5em;
    border-top-left-radius: .5em;
    border-bottom-left-radius: .5em;
    background-color: #F4F4F2;
    border: 0;
    color: #666;
}

.recurring-events-toggle #button-toggle-right.toggle-on {
    text-transform: uppercase;
    padding: 3px 10px 3px 8px;
    -webkit-border-top-right-radius: .5em;
    -webkit-border-bottom-right-radius: .5em;
    -moz-border-radius-topright: .5em;
    -moz-border-radius-bottomright: .5em;
    border-top-right-radius: .5em;
    border-bottom-right-radius: .5em;
    border: 0;
    border-left: 3px solid #666;
    -moz-border-left-colors: #666;
    background-color: #777;
    color: #fff;
}

.recurring-events-toggle #button-toggle-right.toggle-off {
    text-transform: uppercase;
    padding: 3px 10px 3px 8px;
    -webkit-border-top-right-radius: .5em;
    -webkit-border-bottom-right-radius: .5em;
    -moz-border-radius-topright: .5em;
    -moz-border-radius-bottomright: .5em;
    border-top-right-radius: .5em;
    border-bottom-right-radius: .5em;
    border: 0;
    background-color: #F4F4F2;
    color: #666;
}


/* ====================================
Filter by date
==================================== */

.search-time {
    width: 100%;
    margin: auto;
    margin-top: 0%;
    border-top: 2px solid #777;
    padding-left: 20px;
    padding-right: 20px;
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;
    /* TWEENER - IE 10 */
    display: -webkit-flex;
    /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;
    /* NEW, Spec - Firefox, Chrome, Opera */
    flex-wrap: wrap;
    justify-content: space-between;
}


/*.search-time:after {content: '';
    clear: both;
    display: table;}*/

#search-options.toggle-on {
    padding-left: 20px;
    padding-right: 20px;
}


/*.search-bar:after,
.search-time:after {
    content: '';
    clear: both;
    display: table;
    overflow: visible;
}*/

.time-presets {
    /*    width: 47.5%;
    max-width:484.5px;*/
    /*    float: left;
*/
    /*margin-right: 4%;
    border-right: solid 1px #ccc;*/
    position: relative;
    padding-top: 21px;
    width: 50%;
    min-width: 250px;
}

.custom-time {
    /*    width: 30%;
*/
    /*float: left;*/
    overflow: hidden;
    width: 189px;
    margin-top: 21px;
    /*    padding-right: 4%;*/
}

.date-entry {
    width: 47%;
    float: left;
}

.date-entry input {
    width: 100%;
}

.duration {
    width: 6%;
    float: left;
    text-align: center;
    line-height: 40px;
}

.timeframe-chooser {
    height: 45px;
    width: 100%;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #444d56;
    background-color: #fff;
    transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    font-family: "Open Sans", sans-serif;
    font-size: 12.5px;
    line-height: 45px;
    cursor: pointer;
}

#timeframe-chooser:hover {
 /*   background: #7B7B7B !important; */
    color: #fff !important;
}

.timeframe-chooser:after {
    font-family: "FontAwesome";
    content: '\f0d7';
    padding-left: 11px;
}

#time-options {
    display: none;
    position: absolute;
    z-index: 10;
    width: 100%;
}



#time-options li {}

#time-options li a {
   /* background-color: #999; */
    color: #fff !important;
    padding: 10px;
    width: 100%;
    display: block;
    clear: left;
    font-size: 12px;
    border-bottom: 1px solid #bbb;
}

#time-options #months-options,
#time-options #months-options.closed {
	display:none;
	}
#time-options #months-options.open {
	display:block;
	}	
#time-options #months-options li a {
	background-color:#fff;
	color:#333 !important;
}
#time-options #months-options li a:hover {
	background-color:#f6f6f6;
	}
#time-options li a {position:relative;}
#time-options #months-trigger.open:after {
	  content: "\f106";
    font-family: "FontAwesome";
    font-size: 19px;
    font-weight: 400;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
	}
#time-options #months-trigger.closed:after {
	  content: "\f107";
    font-family: "FontAwesome";
    font-size: 19px;
    font-weight: 400;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
	}

#ws-modal-menu h4.closed::after {
    content: "";
    font-family: "FontAwesome";
    font-size: 26px;
    font-weight: 400;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

#paging-controls {
    overflow: hidden;
    margin-top: 30px;
    margin-bottom: 20px;
}

#paging-controls .back {
    display: block;
    float: left;
}

#paging-controls .next {
    display: block;
    float: right;
}

#time-options li a:hover {
 /*   background-color: #aaa; */
    text-decoration: none;
}

#expand-events,
#expand-sponsors,
#expand-topics,
#expand-locations,
#more-topics {
    background-color: #131F33;
    border: 0;
    color: #b7bcc4;
    height: 28px;
    margin: 0;
    padding: 0;
    width: 100%;
    font-size: 12px;
    margin-top: 8px;
}

#expand-events:hover,
#expand-sponsors:hover,
#expand-topics:hover,
#expand-locations:hover,
#more-topics:hover {
    color: #fff;
}

.user-entry {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 0;
    box-shadow: none;
   
    font-family: "Open Sans", "Helvetica", "Arial", sans-serif;
    padding: 10px;
    box-sizing: border-box;
    height: 45px;
    font-size: .89em;
}

.user-entry:focus {
    border: 1px solid #444;
    background-color: #fff;
}

#calendar-actions {
    display: block;
    float: right;
    margin-top: -3.75em;
    margin-top: -3em;
}
@media (max-width: 800px) {
#calendar-actions {	
	background-color: #fff;
    float: left;
    margin-top: 0;
    padding-bottom: 21px;
    width: 100%;
}
}
	
	

/*
#ws-calendar-container.detail-view #calendar-actions {
    margin-top: 8px;
	width:auto;
} */


.submit-event:after {
    content: '\f0fe';
    font-family: 'FontAwesome';
    color: #666;
    margin-left: 5px;
}

#menu-items {
    float: left;
    /* margin-right: 20px;*/
}

#menu-items li {
    float: left;
    margin-left: 7px;
}
#menu-items li.calendar-share-facebook {margin-left:0;}

#ws-download:first-child {
	margin-left:0;}

.calendar-share-facebook a:after {
    content: '\f09a';
    font-family: 'FontAwesome';
}
.calendar-share-twitter a:after {
    content: '\f099';
    font-family: 'FontAwesome';
}
.calendar-share-email a:after {
    content: '\f0e0';
    font-family: 'FontAwesome';
}
#ws-download a:after {
    content: '\f019';
    font-family: 'FontAwesome';
}

#ws-share a:after {
    content: '\f064';
    font-family: 'FontAwesome';
}

#ws-contact a:after {
    content: '\f007';
    font-family: 'FontAwesome';
}

#ws-add a:after {
    content: '\f067';
    font-family: 'FontAwesome';
}

#menu-items li a {
  /*  background-color: #777; */
    border-radius: 4px;
    box-sizing: border-box;
    color: #fff;
    display: block;
    text-align: center;
    width: 22px;
    height: 21px;
    line-height: 21px;
    padding: 1px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
}

#menu-items li a:hover {
    text-decoration: none;
    color: #fff;
}

#menu-items li span {
    position: absolute;
    top: -999999px;
    left: -999999px;
}

.label-small {
    font-size: .75em;
    text-align: center;
    display: block;
}

.separate-line {
    display: block;
    clear: both;
}

.adjacent {
    float: left;
    position: relative;
}
#cal-closing {
	margin-top:2em;
	margin-bottom:1em;	
	}

/* =============================
Detail Screen
============================= */

#ws-calendar-container.detail-view {
    /* overflow: hidden;*/
    margin: auto;
    /*max-width: 1000px;
    padding-left: 3%;
    padding-right: 3%;*/
    padding-top: 0px;
}

#ws-calendar-container.detail-view:after {
    content: '';
    display: table;
    clear: both;
}

#ws-calendar-container.detail-view .back-btn {
 /*   background-color: #7B7B7B; */
    color: #f4f4f2;
    float: left;
    font-size: 0.83em;
    border-radius: 50px;
    padding: 0.5em 1.1em;
    margin-bottom: 30px;
}

#ws-calendar-container.detail-view .back-btn:hover {
    text-decoration: none;
}

#ws-calendar-container.detail-view .back-btn:before {
    content: '\f112';
    font-family: "FontAwesome";
    margin-right: 5px;
    font-size: .95em !important;
}

.section::after,
.container::after {
    clear: both;
}

#ws-calendar-container.detail-view img {
    width: 100%;
    max-width: 600px;
}

#ws-calendar-container.detail-view .detail-content {
    margin-bottom: 50px;
    overflow: hidden;
}

#ws-calendar-container.detail-view .ws-description {
    clear: both;
	margin-top:1em;
	float:left;
}

#cal-intro {
    margin-bottom: 1em;
   /* float: left; */
   display:block;
   clear:both;
}

.main-content-container {
    display: inline;
    float: left;
    width: 100%;
}

.container-limit {
    margin-left: auto;
    margin-right: auto;
    /* max-width: 605px;
    width: 92%;*/
}

#ws-calendar-container.detail-view #ws-title {
    margin-bottom: 1em;
    margin-top: 1em;
    line-height: 1.2;
}

#ws-calendar-container.detail-view dt {
    clear: both;
    float: left;
    font-weight: 700;
    margin-bottom: 0.5em;
    width: 100px;
}

#ws-calendar-container.detail-view dd {
    float: right;
/*    font-size: 0.9em; */
    margin-left: 0;
    margin-right: 1em;
    width: calc(100% - 120px);
	margin-bottom:.7em;
	}
#ws-calendar-container.detail-view dd.ws-description {
	width:100%;
	}	
/*
#ws-calendar-container.detail-view dd:last-child {
    margin-top: 1em;
}
*/

.place-off-screen {
    position: absolute;
    top: -999999px;
    left: -999999px;
}


/* =================================
Updated search Controls 
================================== */

#filter-events {
    display: none;
}

#recurring-events,
#filter-events {
    /* float: left;*/
    /* padding-right: 4%;
     margin-right:4%;
        border-right: 1px solid #ccc;
   */
    padding-top: 21px;
}

#recurring-events button,
#filter-events button {
    height: 45px;
    border: 0;
    border-radius: 4px;
    padding: 0 15px;
    font-size: 11px;
    cursor: pointer;
}

#recurring-events button.toggle-on:hover {
    color: #555;
}

#btn-show-recurring.toggle-on,
#btn-show-recurring.toggle-on:hover,
#btn-filter {
    /* background-color: #f4f4f2;*/
    background-color: #E4E4E0; 
    color: #777;
}

#btn-show-recurring.toggle-off {
 /*   background-color: #777; */
    color: #f4f4f2;
}

#btn-show-recurring:before {
    margin-right: 5px;
    font-family: 'FontAwesome';
    font-size: 14px;
    line-height: 45px;
}

#btn-show-recurring.toggle-on:before {
    content: '\f070';
    color: #aaa;
}

#btn-show-recurring.toggle-off:before {
    content: '\f070';
    /* f00c*/
}

.time-presets {
    border: 0;
}


#search-options.toggle-on {
    height: auto;
    overflow: hidden;
    position: relative;
}

#search-options.toggle-off {
    height: 0;
    overflow: hidden;
    position: absolute;
    top: -999999px;
    left: -999999px;
}

#btn-search:hover {
/*    background-color: #f4f4f2;
*/    color: #555;
    cursor: pointer;
}

#btn-search.selected,
#btn-search.selected:hover {
  /*   background: #777; */
    color: #fff;
    border: 0px solid #555;
    height: 45px;
    width: 45px;
    /*    margin-right: 3%;
*/
    border-radius: 7px;
}

#search-controls {
    background-color: #f6f6f6;
    padding-bottom: 20px;
}


/* Sticky Controls */

#search-controls.stick {
    border-bottom: 2px solid #777;
    left: 50%;
    padding-bottom: 25px;
    position: fixed;
    top: 0;
    transform: translate(-50%, 0px);
    width: 100%;
    z-index: 100;
}

#search-controls.stick #search-time,
#search-controls.stick #search-options.toggle-on {
    width: 100%;
    margin: auto;
    border: 0;
    padding: 0 40px;
}

.recurring-event {
    /* background-color: #eee !important;*/
}

#ws-calendar-container .entry.recurring-event .title a:before {
	   background-clip: padding-box;
   /* background-color: #ff6600 !important;*/
    border-radius: 5px;
    box-sizing: border-box;
    color: #fff !important;
    content: "Recurring";
    display: block;
    float: left;
    font-size: 10px;
    font-weight: 500 !important;
    line-height: 21px;
    margin-right: 10px;
    padding: 0 5px;
	}

/* ================================
Media Query
================================ */


/*
@media (max-width: 880px) {
    .time-presets {
        width: 20%;
    }
    .search-bar {
        width: 60%;
    }
}

@media (max-width: 750px) {
    .time-presets {
        width: 100%;
    }
    #recurring-events button {
        width: 200px;
    }
    #calendar-actions {
        margin-top: 0;
        margin-bottom: 21px;
        float: left;
    }
    h1#mc {
        width: 100%;
    }
    #cal-intro {
        clear: both;
    }
    #menu-items #ws-download {
        margin-left: 0;
    }
}

@media (max-width: 650px) {
    .custom-time {
        width: 100%;
    }
    .search-bar {
        width: 100%;
        padding: 0;
    }
}

@media (max-width: 550px) {
    .toggle-view {
        display: none;
    }
    .search-field,
    .search-button {
        width: 100%;
        margin-left: 0;
    }
    .search-button {
        margin-top: 21px;
    }
    #calendar-actions {
        float: left;
    }
    #content_legacy {
        padding: 24px 5% !important;
    }
}
*/
