.main_container
{
   padding-top:40px;
   padding-bottom:40px;

   width: 100%;
   max-width: 1000px;
}

.logo_container
{
  float: left;
  width: 67%;
  max-width: 628px;
}

.logo_container img
{
  width: 100% !important;
  height: auto !important;
  max-width: 628px;
}

.header_buttons 
{
  float: right;
  width: 32%;
  max-width: 249px;

  text-align: center;
  padding: 15px;
  padding-top: 24px;

  margin-top: 40px;
}

.header_buttons img
{
  width: 100% !important;
  height: auto !important;
  max-width: 219px;
}

.mainMenuContainer 
{
  overflow: hidden;
  max-width: 930px;
}

.rightSection .subscribeContainer div
{
  max-width: 270px;
  margin: 0 auto;
}

table.bodyContainer td.bodyColumn,
div.pageBody {
  padding-right: 0;
  padding-left: 0;
}

.indexPage div.pageBody {
  padding-right: 10px;
  padding-left: 10px;
}

DIV.poweredByContainer
{
  filter: alpha(opacity=40);
  opacity: 0.4;

  color: black;
}

DIV.poweredByContainer A
{
  font-weight: normal;
}

.shoppingCartIcon
{
  background-image: url('img/shopping_cart_back.png');    
}

TABLE.menuTopItem
{
  margin-top: 0px !important;
}

.border_left_bg,
.border_right_bg
{
  width: 35px;
}

.header_left IMG,
.header_right IMG,
.footer_left IMG,
.footer_right IMG
{
  width: 100%;
  min-width: 35px;
}

.header_right,
.menu_left_bg,
.menu_right_bg
{
  background-size: 100% 100%;
}

#mobile-menu-actions
{
  /*border-bottom: solid 1px #000;*/
  cursor: pointer;
  cursor: hand;    
  line-height: 40px;
  overflow: hidden;
}

#mobile-menu-actions .menu-caption
{
  font-size: 110%;
  font-weight: bold;
  color: white;
  padding-right: 5px;
}

.menu-btn
{
    padding: 6px 5px;
    margin: 5px 0px 4px;
    background-color: transparent;
    background-image: none;
    border: none;
}

.menu-btn .icon-bar {
    display: block;
    width: 22px;
    height: 3px;
    border-radius: 2px;
}

.menu-btn .icon-bar + .icon-bar
{
  margin-top: 4px;
}

.menu-btn .icon-bar {
    background-color: #fff;
}

.menu-btn:hover .icon-bar, .menu-btn:focus .icon-bar
{
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
  filter: alpha(opacity=60);
  -moz-opacity: 0.6;
  -khtml-opacity: 0.6;
  opacity: 0.6;
}

/* responsive tabs */
.tabs {
  background-color: transparent;
  padding: 0 5px;

  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
}
.tabs div.menu-item 
{
  background-color: Transparent;  
  display: inline-block;      
  margin: 10px 0 -1px 5px;  
}

.tabs a, 
.tabs a:link,
.tabs a:active,
.tabs a:visited,
.tabs a:hover
{
  display: block;
  padding: 10px 15px;
  text-decoration :none;
  background-color: #4db848;
  color: #fff;  
  text-decoration:none;
}

.tabs a:hover {
  background-color: #f7941e;
  color: #fff;
  cursor:hand;
}

.tabs div.menu-item.active
{
  /*border-bottom-color: #FFF;    */
}

.tabs .menu-item a.active,
.tabs .menu-item a.active:hover 
{
  /* 
     copied from the 
     tabbedpanelitemactive 
  */
  background-color: transparent;
  color: #000;

  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=100);
  -moz-opacity: 1;
  -khtml-opacity: 1;
  opacity: 1;
    
  text-decoration: none !important; 
  cursor: text !important; 
}

.calendarDayContentBtn {
  background: #fff;
}

TD.CalendarWeekCell a.calendarDayContentBtn,
TD.CalendarWeekCell a.calendarDayContentBtn {
  color: #4db848;
}

TD.CalendarWeekCell a.calendarDayContentBtn:hover,
TD.CalendarWeekCell a.calendarDayContentBtn:hover {
  color: #f7941e;
}

.calendar-close-link {
  background-color: #4db848;
}

.calendar-close-link i {
  color: #fff;
}


/* wide screens */
@media (min-width: 768px) {
  .pickClassesGridContainer {
    overflow: auto !important;
    height: 300px;
    width: 100%;
  }

  .pickClassesGridContainer #scroller
  {
    width: auto !important;
    overflow: hidden;
  }

  .Classes2SelectorGrid TR TD 
  {
    white-space: normal !important;
  }
}

@media all and (max-width: 1024px) {
    table.bodyContainer td.leftColumn {
        display: none;
    }

    .indexPage div.pageBody {
      padding-left: 0;
    }

    .main_container {
        padding:5px;
    }

    .rightColumn img {
        display: block;
        margin-left: auto;
        margin-right: auto 
    }
}

.visible-mobile-block
{
  display: none;
}

@media all and (max-width:767px) {
    .main_container {
        padding:0px;
    }


    .logo_container 
    {
       width: 55%;
    }

  .header_buttons 
  {
    width: 44%;

    padding: 7px;

    margin-top: 0;
  }

    .indexPage div.pageBody {
      padding-right: 0;
    }

    table.bodyContainer td.bodyColumn {
        display: block;
    }

    table.bodyContainer td.rightColumn {
        display: block;
        background-color: transparent;
        width: 100%;
        border-left: none;
        align-content: center;

        padding: 0; 
        padding-bottom: 15px;
    }

    .visible-mobile-block {
        display: block;
    }

    .hidden-mobile  {
        display: none;
    }

    #menu-holder{
        display: none;
    }

    table.subscribeContactTable
    {
        width: 100%;
    }

    div.news_std
    {
        display: none;
    }

    div.news_mob
    {
        display: block;
    }
}

@media all and (max-width: 550px) {

  .logo_container
  {
    float: none;
    width: 100%;
    max-width: none;
  }

  .header_buttons 
  {
    float: none;
    width: 100%;
    max-width: none;
  }

  .header_buttons br + br {
    displayX: none;
  }
}

@media all and (max-width: 479px) {
    td.copyright,
    td.poweredByTD   {
        display: block;
        text-align:center;
        align-content: center;
    }

    td.poweredByTD {
        padding-top: 10px;
    }

    .poweredByContainer {
        float: none !important; 
        text-align: center !important;
    }

    TD.frameContent {
        border-left: none !important;
        border-bottom: none !important;
        border-right: none !important;
    }

    .submitBtn, .tellAFriendControls .submitBtn {
        background-repeat:no-repeat;
        background-position-x: right;
    }
}


@media all and (min-width:767px) and (max-width:830px) {
    .subscribe-content div.subscribeContactTableValueTD,
    .subscribe-content div.subscribeContactTableButtonTD
    {
      max-width: 200px;
    }
    
    .subscribe-content
    {
      max-width: 765px;
    }
}

input[type=submit],
input[type=button],
A.register, A.classDetails, A.dropin, A.schedule-btn,
a.customButton,
A.register:visited, A.classDetails:visited, A.dropin:visited, A.schedule-btn:visited,
a.customButton:visited {
    background-color: #4eb648;
    color: #fff;
}

    input[type=submit]:hover,
    input[type=button]:hover,
    A.register:hover, A.classDetails:hover, A.dropin:hover, A.schedule-btn:hover,
    a.customButton:hover {
        background-color: #ec8e1f;
        color: #fff;
    }