#gym-calendar-container { background: #FFF;}
#gym-calendar-container * { 
    margin: 0;
    padding: 0;
}


#view-controller-container {
    float: right;
    margin: 5px 10px;
    display: none;
}
#view-controller-container ul {
    margin: 0;
}
#view-controller-container li {
    list-style-type: none;
    float: left;
    padding: .5em .8em;
    border: 1px solid #a5842a;
    background: #a5842a;
    font-family: 'NovecentowideBold',sans-serif;
    cursor: pointer;
}
#view-controller-container li.selected {
    background: #FFF;
    color: #a5842a;
}


#calendar-container {
    clear: both;
    width: 100%;
}
#calendar-container table.calendar-table {
    width: 100%;
    margin: 0;
}

#main-content table.calendar-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #a5842a;
}
table.calendar-table th {
    background: #a5842a;
    color: #FFF;
    font-size: .9em;
    border: 1px solid #a5842a;
    font-family: 'NovecentowideBold',sans-serif;
}
table.calendar-table tbody td {
    border: 1px solid #a5842a;
    border-bottom: 0;
    vertical-align: top;
}
table.calendar-table tbody tr td.not-timeRow {
    border-top: 0;
}

table.calendar-table th .day-of-week-name {
    font-size: .8em;
}
table.calendar-table th .day-of-week-date {
    font-size: 1.4em;
}


table.week-display-table tbody th {
    width: 5%;
}
table.week-display-table tbody td {
    height: 1em;
    width: 19%;
}

table.condensed-display-table tbody th {
}
table.condensed-display-table tbody th div {
    font-size: .8em;
}
table.condensed-display-table tbody td {
    /*width: 18%;*/
    height: 30px;
}


#gym-calendar-container .previous-link {
    float: left;
}
#gym-calendar-container .next-link {
    float: right;
}
#gym-calendar-container .previous-link,
#gym-calendar-container .next-link {
    padding: .25em .5em;
}
#gym-calendar-container .previous-link:hover,
#gym-calendar-container .next-link:hover {
    background: #FFF;
    color: #a5842a;
    cursor: pointer;
}
#gym-calendar-container .previous-link.not-valid,
#gym-calendar-container .next-link.not-valid {
    visibility: hidden;
}


#classes-container {
}

#gym-calendar-container .class-element {
    display: none;
    margin-bottom: .5em;
    border: 1px solid #666;
    border-radius: 4px;
    text-align: center;
    background: #FFF;
    cursor: pointer;
    font-family: sans-serif;
    box-shadow: 2px 2px 5px #999;
}


#gym-calendar-container tbody td .class-element:last-child {
    margin-bottom: 0;
}

#gym-calendar-container .class-element .in-class-indicators {
    position: absolute;
    margin-top: -3px;
    margin-left: -5px;
}
#gym-calendar-container .class-element .in-class-indicators div {
    float: left;
    width: 20px;
    height: 20px;
    margin-right: 1px;
    background-color: #FFF;
    border-top: 1px solid #999;
    border-radius: 11px;
    border: 1px solid #222;
    box-shadow: 1px 1px 3px #333;
}
#gym-calendar-container .month-display-table .class-element .in-class-indicators div {
    width: 12px;
    height: 12px;
    background-size: 100%;
}
#gym-calendar-container .class-element .in-class-indicators div:first-of-type {
}
#gym-calendar-container .class-element .in-class-indicators div:last-of-type {
}

.key-label {
    clear: left;
    font-family: 'NovecentowideNormal',sans-serif;
    color: #a5842a;
    font-size: .9em;
}
#gym-calendar-container .class-key li {
    background: url("../images/checkbox-sml.png") left center no-repeat;
    color: #666;
}

#gym-calendar-container .class-element .in-class,
#gym-calendar-container .class-key .in-class {
    background: url("../images/attending-class.png") center center no-repeat;
}
#gym-calendar-container .class-element .in-waiting-list,
#gym-calendar-container .class-key .waiting-list {
    background: url("../images/class-waiting-list.png") center center no-repeat;
}
#gym-calendar-container .class-element .locked,
#gym-calendar-container .class-key .locked-in {
    background: url("../images/locked.png") center center no-repeat;
}
#gym-calendar-container .class-key li {
    list-style-type: none;
    background-position: left center !important;
    padding-left: 20px;
    margin: 0 .5em;
    font-size: .8em;
    float: left;
}
#gym-calendar-container .class-key li:last-child {
}
#gym-calendar-container .class-rules {
    clear: left;
    margin: 0em 1em;
    padding-top: .5em;
    font-size: .9em;
}
#gym-calendar-container .class-rules li {
    list-style-type: circle;
}


#gym-calendar-container .class-element .class-type-text {
    width: 100%;
    display: block;
    font-family: 'NovecentowideBold',sans-serif;
}
#gym-calendar-container .class-element .class-staff {
    font-size: .9em;
}
#gym-calendar-container .class-element .class-times  {
    font-size: .9em;
}

#gym-calendar-container .class-element .class-date {
    font-size: .9em; display: none;
}

#gym-calendar-container .class-element.week-view {
    position: absolute;
}

#gym-calendar-container .class-element.week-view .class-type-text {
    line-height: 1em;
}
#gym-calendar-container .class-element.week-view .class-staff, 
#gym-calendar-container .class-element.week-view .class-times {
    display: none;
}

#gym-calendar-container .month-display-table .class-element {
    width: 2em;
    height: 2em;
    float: left;
    display: inline-block;
    margin-right: .3em;
}
#gym-calendar-container .month-display-table td:hover {
    background-color: #EEE;
    cursor: pointer;
}
#gym-calendar-container .month-display-table .class-element .class-type-text,
#gym-calendar-container .month-display-table .class-element .class-staff,
#gym-calendar-container .month-display-table .class-element .class-times {
    display: none;
}
#gym-calendar-container .class-element .class-type-abbrev {
    display: none;
}
#gym-calendar-container .month-display-table .class-element .class-type-abbrev {
    display: block;
    font-weight: bold;
    padding: .2em 0;
}

#class-details-container {
    display: none;
    position: absolute;
    padding: 1em;
    z-index: 10;
    top: 5px;
    max-width: 960px;
}
#class-details-container .close-option {
    background: url("../images/close.png") center center no-repeat;
    width: 48px;
    height: 48px;
    float: right;
    margin: .5em;
    cursor: pointer;
}
#class-details-container .class-details > div {
    font-family: sans-serif;
    background: #FFF;
    border-width: 3px;
    border-style: solid;
    box-shadow: 5px 5px 35px #000;
}
#class-details-container .class-details h1 {
    /*background-color: #a5842a;*/
    color: #FFF;
    padding: .2em .5em;
    font-weight: bold;
}
#class-details-container .class-details > div > div {
    padding: .5em 1em;
}
#class-details-container .class-details .class-element-item {
    padding-top: .5em;
    clear: left;
}
#class-details-container .class-details h4 {
    float: left;
    font-size: 1.2em;
}
#class-details-container .class-staff {
}
#class-details-container .class-description h4 {
    float: none;
}
#class-details-container .class-element-data {
    float: left;
}
#class-details-container .class-description .class-element-data {
    float: none;
    padding: 0 .5em;
    line-height: 2em;
}
#class-details-container .class-cost .class-element-data,
#class-details-container .class-staff .class-element-data {
    padding: 0 1em;
    font-size: 1.2em;
}
#class-details-container .class-access {
    clear: both;
    text-align: center;
    padding: 1em;
}
#class-details-container .class-times,
#class-details-container .class-household-list {

}
#class-details-container .class-times h4 {
    padding-left: .8em;
}
#class-details-container .class-times .class-element-data{
    float: none;
    padding: 0 1em;
}
#class-details-container .class-times {
    padding-top: .5em;
    clear: left;
}
#class-details-container .class-times table {
    clear: both;
    width: 100%;
    margin: 0;
    border: 1px solid #ccc;
}

#class-details-container .class-times thead th {
    border: 1px solid #CCC;
}
#class-details-container .class-times thead th.attendees-section {
    min-width: 20em;
}

#class-details-container .class-times th,
#class-details-container .class-times td {
    font-size: .85em;
    white-space: nowrap;
    color: #666;
    border-top: 1px solid #CCC;
    padding: .5em;
}

#class-details-container .class-times thead tr th:not(:first-child) {
    font-weight: normal;
}

#class-details-container .class-times tbody tr:not(.past-class):hover th,
#class-details-container .class-times tbody tr:not(.past-class):hover td {
    color: #333;
    background-color: #eee;
}
#class-details-container .class-times tbody tr:not(.past-class) td:hover {
    cursor: pointer;
}


#class-details-container .class-times tr.past-class th,
#class-details-container .class-times tr.past-class td {
    color:#CCC;
}
#class-details-container .class-times tr.next-class {
    font-weight: bold;
}
#class-details-container .class-times tr.future-class {
    font-weight: normal;
}
#class-details-container .class-times tbody tr th:last-of-type {
}
#class-details-container .class-times tr td {
    background-repeat: no-repeat;
    background-position: center center;
    border-left: 1px dashed #CCC;
}
#class-details-container .class-times tr td.class-total {
}
#class-details-container .class-times tbody tr td {
    background-image: url("../images/checkbox.png");
}
#class-details-container .class-times tbody tr td:not(.class-total).waiting {
    background-image: url("../images/checkbox-waiting.png");
}
#class-details-container .class-times tbody tr td:not(.class-total).locked {
    background-image: url("../images/checkbox-locked.png");
}
#class-details-container .class-times tbody tr td.no-balance {
    background-image: url("../images/checkbox-unavailable.png");
    cursor: default;
}
#class-details-container .class-times .past-class  {
    color: #CCC;
}
#class-details-container .class-times tbody tr td.past-class  {
    background-image: none;
}
#class-details-container .class-times tbody tr td.attending.past-class {
    background-image: url("../images/checked.png");
}
#class-details-container .class-times tbody tr td.attending {
    background-image: url("../images/checkbox-checked.png");
}
#class-details-container .class-times tfoot tr.child-minding td,
#gym-calendar-container .class-key .child-minding {
    background-image: url("../images/childminding.png");
}
#class-details-container .class-times tfoot tr.child-minding td.child-minding-exists,
#gym-calendar-container .class-key .child-minding-exists {
    background-image: url("../images/childminding-no.png");
    cursor: pointer;
}
#class-details-container .class-times tfoot tr.child-minding td.child-minding-yes,
#gym-calendar-container .class-key .child-minding-yes {
    background-image: url("../images/childminding-yes.png");
    cursor: pointer;
}

#class-details-container .class-times tfoot {
}
#class-details-container .class-times tfoot th {
    text-align: right;
}

#class-details-container .class-times .toggle-view {
    display: none;
    float: right;
    font-size: .8em;
    padding: .4em 0 .5em;
    color: #999;
}

#class-details-container .class-times .toggle-view:hover {
    color: #333;
    cursor: pointer;
}

#class-no-balance {
    display: none;
    position: absolute;
    background: url("../images/transparent-bg.png");
    text-align: center;
}
#class-no-balance > *  {
    padding: 0 2em;
}
#class-no-balance > h3  {
    padding-top: 2em;
}

.currency-value {
    text-align: right;
}

#class-details-container .class-household-list li input {
    margin-top: .4em;
    float: left;
    clear: left;
}

#class-details-container .stand-out-text {
    font-weight: bold;
    font-size: 1.6em;
    clear: left;
}

#class-details-container .class-day {
    text-align: center;
    margin-top: 1em;
    font-size: 2em;
}
#class-details-container .class-time {
    text-align: center;
}

#class-details-container button {
    font-family: 'NovecentowideBold',sans-serif;
    background: #a5842a;
    padding: .2em .5em;
    color: #fff;
    border: 0;
    border-radius: 0;
    font-size: 1.5em;
}

#class-details-underlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    background: #000;
    opacity: .3;
}
#class-details-container .class-household-list .class-element-data {
    float: none;
}
#class-details-container .class-household-list .class-element-data li {
    background: url("../images/checkbox.png") left center no-repeat;
    padding-left: 1.5em;
    font-size: 1em;
    cursor: pointer;
}
#class-details-container .class-household-list .class-element-data .in-past li {
    background: none;
}
#class-details-container .class-household-list .class-element-data li.attending {
    background-image: url("../images/checkbox-checked.png");
}
#class-details-container .class-household-list .class-total {
    text-align: right;
    font-size: 1.1em;
    border-top: 1px dashed #CCC;
    border-left: 1px dashed #CCC;
    margin-top: .5em;
    padding: .3em;
}
#class-details-container .class-household-list .save-attendees-container {
    margin-top: 1em;
    text-align: center;
}
#class-details-container button#save-attendees {
    font-size: 1.2em;
}

#class-details-container .class-options {
    clear: left;
}
#class-details-container .class-options > div {
    display: inline-block;
    margin: .5em 2em;
}
#class-details-container .class-options li {
/*    float: right;
    margin-right: .5em*/
}
#class-details-container .class-options li a {
    background-color: #a5842a;
    color: #FFF;
    padding: .3em .5em;
    font-size: .8em;
}


#gym-calendar-container .pink, .class-type-element.pink { border-color: pink; }
#gym-calendar-container .red, .class-type-element.red { border-color: #e34438; }
#gym-calendar-container .purple, .class-type-element.purple { border-color: #c69ee0; }
#gym-calendar-container .blue, .class-type-element.blue { border-color: #b1c0e3; }
#gym-calendar-container .turquoise, .class-type-element.turquoise { border-color: turquoise; }
#gym-calendar-container .green, .class-type-element.green { border-color: #b3ee88; }
#gym-calendar-container .yellow, .class-type-element.yellow { border-color: #eeed88; }
#gym-calendar-container .black, .class-type-element.black { border-color: black; }
#gym-calendar-container .brown, .class-type-element.brown { border-color: #93671b; }

.pink .class-type-text,
#gym-calendar-container .month-display-table .pink,
#main-content .class-type-element.pink h2,
.class-type-element.pink .class-type-class-time div {
    background-color: pink;
}
.red .class-type-text,
#gym-calendar-container .month-display-table .red,
#main-content .class-type-element.red h2,
.class-type-element.red .class-type-class-time div  {
    background-color: #e34438;
    color: #FFF !important;
}
.purple .class-type-text,
#gym-calendar-container .month-display-table .purple,
#main-content .class-type-element.purple h2,
.class-type-element.purple .class-type-class-time div {
    background-color: #c69ee0;
}
.blue .class-type-text,
#gym-calendar-container .month-display-table .blue,
#main-content .class-type-element.blue h2,
.class-type-element.blue .class-type-class-time div {
    background-color: #b1c0e3;
}
.turquoise .class-type-text,
#gym-calendar-container .month-display-table .turquoise,
#main-content .class-type-element.turquoise h2,
.class-type-element.turquoise .class-type-class-time div {
    background-color: turquoise;
}
.green .class-type-text,
#gym-calendar-container .month-display-table .green,
#main-content .class-type-element.green h2,
.class-type-element.green .class-type-class-time div {
    background-color: #b3ee88;
}
.yellow .class-type-text,
#gym-calendar-container .month-display-table .yellow,
#main-content .class-type-element.yellow h2,
.class-type-element.yellow .class-type-class-time div {
    background-color: #eeed88;
}
.black .class-type-text,
#gym-calendar-container .month-display-table .black,
#main-content .class-type-element.black h2,
.class-type-element.black .class-type-class-time div {
    background-color: black;
    color: #FFF;
}
.brown .class-type-text,
#gym-calendar-container .month-display-table .brown,
#main-content .class-type-element.brown h2,
.class-type-element.brown .class-type-class-time div {
    background-color: #93671b;
    color: #FFF;
}




#loading {
    position: absolute;
    background: transparent url('../images/ajax-loader.gif') center 40% no-repeat;
}
.loading {
    background: transparent url('../images/ajax-loader.gif') center center no-repeat;
    min-width: 40px;
    min-height: 40px;
    clear: both;
}

#loading-bg {
    position: absolute;
    background: #FFF;
    opacity: .2;
}

#class-remove-option {
    float: right;
    margin: .3em;
}

.class-type-element {
    margin: 0 1% 1%;
    background: #FFF;
    border-width: 1px;
    border-style: solid;
    box-shadow: 3px 3px 5px #333;
}

.class-type-element .class-type-description {
    margin: 0;
    padding: .5em 1em;
}
.class-type-element .class-type-description p {
    margin: 0;
    padding: 0 0 1em;
    font-size: 0.9em;
}

.class-type-element .class-type-class-time {
    float: left;
    margin: .1em 0 .1em .5em;
}
.class-type-element .class-type-class-time:last-child {
    float: none;
    display: inline-block;
}
.class-type-element .class-type-class-time div:first-child {
    float: left;
    padding: .5em;
}

.class-type-element .class-type-class-time div {
    float: left;
    padding: .5em;
}
.class-type-element .class-type-class-time div:last-child {
    display: none;
}
.class-type-element .class-type-class-time div a {
    color: #FFF;
    font-family: 'NovecentowideBold',sans-serif;
}

#gym-calendar-container .display-week { display: none; }

#childminding-container {
    position: absolute;
    z-index: 15;
    border: 1px solid #666;
    background-color: #FFF;
}

#main-content .page-container table {
    margin: 0 0 !important;
    width: 100%;
}
.page-container {
    background: #FFF;
    padding: 10px 16px;
}
.page-container .data-table {
    width: 100%;
}




#main-content .page-container td, #main-content .page-container th {
    font-size: 0.75em;
    border: 1px solid #ccc;
    padding: .5em 1em;
}
#main-content .page-container th {
    font-size: 0.7em;
    border: 1px solid #ccc; 
    padding: .3em 1em !important;
    color: #444;
    background: #EEE;
}

#list-filter {
  float: right;
}

#filter-close {
    position: absolute;
    width: 30px;
    height: 30px;
    background: #FFF url("../images/close-small-a5842a.png") center center no-repeat;
    border: 1px solid #a5842a;
    /*border-radius: 15px;*/
    z-index: 6;
    margin-top: -15px;
    margin-left: -15px;
    cursor: pointer;
}

#list-filter .list-filter-title {
    margin: 0;
    padding: .3em .5em;
    background-color: #a5842a;
    color: #FFF;
    font-family: 'NovecentowideBold',sans-serif;
    font-size: .9em;
    cursor: pointer;
}
#list-filter form {
    display: none;
    position: absolute;
    background: #FFF;
    box-shadow: 2px 2px 5px #999;
    border: 1px solid #a5842a;
    padding: .5em;
    z-index: 5;
}
#list-filter.show_it form {
    display: block;
}

.filter-item {
    text-align: right;
    margin-bottom: .3em;
}
.filter-item label {
    padding-left: 1em;
}
#main-content .filter-item input[type="text"] {
    width: 10em;
}
#main-content .filter-item select {
    border-radius: 0;
    background: none;
    border-width: 1px !important;
    border-color: #a5842a;
    border-style: solid;
    padding: 4px 6px;
    height: auto;
    background: #fff;
    width: 10em;
}



.number-value { text-align: right; }
.simple-value { text-align: center; }
.currency-value { text-align: right; }
.currency-indicator { font-style: italic; }
.no-break {
    white-space: nowrap;
}

.childminding-times table {
    width: 100%;
}
.childminding-times table td {
    text-align: center;
    width: 20%;
}


#childminding-summary .button {
    float: right;
    margin-left: .5em;
    font-size: .9em;
    padding: .3em .5em;
}

.button, .button a {
    color: #FFF;
    font-family: 'NovecentowideBold',sans-serif;
}
.button a:hover {
    color: #FFF;
    text-decoration: none;
}

.info-message {
    padding: 1em .5em 0;
    font-size: .8em;
    text-align: center;
    color: #333;
}

#cancel-confirm-buttons {
    text-align: center;
}
#cancel-confirm-buttons .form-set > * {
    padding: .5em 1em;
    margin: .5em;
}

#main-content .time-selection-full select {
    width: 8em;
}

@media screen and (max-width:700px){
    #class-details-container { width: 100%; margin: 0; top: 0; left: 0; padding: 0;}
    #class-details-container .class-times table th,
    #class-details-container .class-times table td { font-size: .75em; }
    
}

@media screen and (max-width:650px){
.calendar-table tbody th, .calendar-table tr:nth-child(n+2) th {     display: none; }
.calendar-table tbody  td { display: block; height: inherit !important; border: none !important; padding: 0px !important; clear: both !important; }
.class-element {     margin: 10px !important; }
#view-controller-container {     display: none !important; }
#gym-calendar-container .class-element .class-date { display: block; }
#gym-calendar-container .display-week { display: inline; }

#gym-calendar-container .month-display-table .calendar-table tbody td div {     width: 100% !important;    clear: both;    display: block;}
#gym-calendar-container .month-display-table .class-element {    height: initial;     width: 95% !important; }
#gym-calendar-container .month-display-table .class-element .class-type-text, #gym-calendar-container .month-display-table .class-element .class-staff, #gym-calendar-container .month-display-table .class-element .class-times {     display: block;}
#gym-calendar-container .month-display-table span.class-type-abbrev,#gym-calendar-container .month-display-table .class-staff,#gym-calendar-container .month-display-table  .class-date,#gym-calendar-container .month-display-table   .class-times { background: #fff; color: #000; }
#gym-calendar-container .month-display-table .class-type-abbrev { display: none !important; }
#gym-calendar-container .month-display-table .not-current-month div {     display: none; }
#gym-calendar-container .month-display-table div:first-child {     text-align: center;    margin-top: 10px;    background: #a5842a;    color: #fff;    font-weight: bold; }
}




@media screen and (max-width:590px){
    table.calendar-table th,
    #view-controller-container li { font-size: .75em; }
    #class-details-container .class-times table th,
    #class-details-container .class-times table td { font-size: .7em; }
}

