/*
contents:
  MAIN_SECTION
    plain
    common
    layout
    custom
    top_menu_tabs
    forecasts_group
  ALT_MEDIA_SECTION
  PAGE_SECTION
    home-page
    conditions-page
    lifts-page
*/

/** color_palette **/
  /* #000000; /* black */
  /* #ffffff; /* white */
  /* #38200e; /* bg_brown */
  /* #5b3417; /* header_bg_brown */
  /* #321d0b; /* footer_bg_brown */
  /* #d2e1e1; /* lt_blue_bg */
  /* #00385f; /* drk_blue */
  /* #aa0f24; /* link_red */
  /* #566781; /* alt_lt_blue */
  /* #ef851f; /* orange_zone */
  /* #e3a157; /* alt_orange_zone */
  /* #0073be; /* blue_zone */
  /* #5591c7; /* alt_blue_zone */
  /* #efd313; /* yellow_zone */
  /* #e0d65d; /* alt_yellow_zone */
  /* #95c630; /* green_zone */
  /* #a6cc66; /* alt_green_zone */
  /* #ad1725; /* red_zone */
  /* #cc7a69; /* alt_red_zone */
  /* #22ab8b; /* cyan_zone */
  /* #7cbdad; /* alt_cyan_zone */
  /* #531d7f; /* purple_zone */
  /* #9172b1; /* alt_purple_zone */
  /* #bbcacf; /* lt_gry_blu */
  /* #809da5; /* gry_blu */

/** MAIN_SECTION **/
/** plain **/
body {
  font-size: 62.5%; /* 1.0em equals 10px */ 
  font-family: Georgia, serif;
  padding: 0;
  margin: 0;
}
span.fake_link,
a,
a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none;
  color: #83ccdf;
}
a img {
  border: 0;
}

h1 {
  font-size: 1.4em;
  line-height: 1.0em;
  margin: 0;
  padding: 0;
}
strong.fake_h2,
h2 {
  display: block;
  font-size: 1.4em;
  font-weight: normal;
  margin: 0;
  padding: 0 0 2px;
}
strong.fake_h2 img, 
h2 img {
  padding-right: 5px;
  vertical-align: middle;
}
h3 {
  font-size: 1.2em;
  font-weight: bold;
  margin: 6px 0 0;
}

span.fake_p,
p {
  display: block;
  font-size: 1.3em;
  line-height: 1.25em;
  margin: 0 0 4px;
  padding: 0;
}
table {
  border-collapse: collapse;
  border: 0;
}
table th, table td {
  font-size: 1.15em;
  border: 0;
  padding: 0;
}

/** common **/
table.listing th,
table.listing td {
  font-weight: normal;
  text-align: left;
}
ul#box_links {
  margin: 0;
  padding: 0;
}
li.link_box {
  position: relative;
  margin: 0;
  padding: 4px 0 4px;
  list-style: none;
  background: url(img/mobile-arrow.gif) no-repeat 285px center;
  border-bottom: 1px solid #eff1f0;
}

li.link_box > a {
  display: block;
  padding: 0px 15px 0px 0px;
  text-decoration: none;
  color: #7c7b77;
}
li.link_box a:link,
li.link_box a:visited,
li.link_box a:hover,
li.link_box a:active {
  color: #7c7b77;
}

li.link_box strong.fake_h2 {
  margin: 0;
}
li.link_box span.fake_link {
  font-size: 0.9em;
}
li.link_box span.block {
  display: block;
  overflow: auto;
}
li.link_box span.block-image {
  float: left;
  display: none;
  background-image: url(img/icons.gif);
  background-position: -1474px center;
  background-repeat: no-repeat;
  width: 49px;
  height: 50px;
}
li#conditions-link_box span.block-image {
  background-position: -10px center;
  width: 40px;
  margin-right: 9px;
}
li#lifts-link_box span.block-image {
  background-position: -50px center;
  width: 34px;
  margin-right: 7px;
  margin-left: 8px;
  height: 28px;
}
li#runs-link_box span.block-image {
  background-position: -84px center;
  width: 37px;
  margin-right: 6px;
  margin-left: 6px;
  height: 19px;
}
li#sigs-link_box span.block-image {
  background-position: -84px center;
  width: 37px;
  margin-right: 6px;
  margin-left: 6px;
  height: 19px;
}
li#bowls-link_box span.block-image {
  background-position: -121px center;
  width: 30px;
  margin-right: 9px;
  margin-left: 10px;
  height: 28px;
}
li#parks-link_box span.block-image {
  background-position: -151px center;
  width: 33px;
  margin-right: 8px;
  margin-left: 8px;
  height: 26px;
}
li#cams-link_box span.block-image {
  background-position: -184px center;
  width: 37px;
  margin-right: 6px;
  margin-left: 6px;
  height: 28px;
}
li#events-link_box span.block-image {
  background-position: -221px center;
  width: 31px;
  margin-right: 9px;
  margin-left: 9px;
  height: 28px;
}
li#pmtour-link_box span.block-image {
  background-image: none;
  width: 31px;
  margin-right: 9px;
  margin-left: 9px;
  height: 28px;
}
li.link_box span.block-text {
  margin-left: 25px;
  display: block;
}
li.link_box span.block-text span.fake_p strong.label,
li.link_box span.block-text span.fake_p span.label,
li.link_box span.block-text span.fake_p span.value {
  font-size: 1.1em;
}
/*li.link_box span.block-text span.fake_p span.value {
  font-weight: bold;
}*/
  
div.contrast-block {
  background-color: white;
  padding: 4px;
}


span.icon {
  display: block;
  float: left;
  width: 25px;
  height: 50px;
  background-image: url(img/pcmr-dor-icons.png);
  background-repeat: no-repeat;
  background-position: -3000px center;
}
span.icon span {
  display: none;
}
  
/** layout **/
div#page {
  width: 320px;
  margin: 0 auto;
  background-color: #ffffff;
}
div#header {
  height: 100px;
  position: relative;
}
div#header a#full_site-link {
  position: absolute;
  top: 0;
  right: 0;
  color: white;
  padding: 0 0 10px 10px; /* big button */
  font-size: 1.1em;
}
div#header a#full_site-link:link,
div#header a#full_site-link:visited,
div#header a#full_site-link:hover,
div#header a#full_site-link:active {
  color: white;
}
div#header a#full_site-link strong {
  color: white;
  display: block;
  text-align: center;
  line-height: 1.0em;
  padding: 2px;
  width: 5em;
  background-color: #83ccdf;
}
div#content {
  position: relative;
  z-index: 5;
}
div#content h1 {
  overflow: auto;
  width: 238px;
  padding: 0px 73px 8px 9px;
  margin: 0;
  /*background-image: url(img/gradients.png);
  background-repeat: no-repeat;
  background-position: 0 bottom; */
  background-color: #7f9da7;
  color: white;
}
div#content h1 span.icon { /* (18) + (28) = 46 width */
  margin: 3px 5px 3px 0;
  height: 28px;
  display: none;
}
div#content h1 span.snowflake-icon {
  background-position: -818px center;
  width: 25px;
  margin-left: 6px;
  margin-right: 15px;
}
div#content h1 span.diff-icon {
  background-position: -877px center;
  width: 37px;
  margin-left: 0px;
  margin-right: 9px;
}
div#content h1 span.lifts-icon {
  background-position: -843px center;
  width: 34px;
  margin-left: 1px;
  margin-right: 11px;
}
div#content h1 span.bowls-icon {
  background-position: -914px center;
  width: 30px;
  margin-left: 3px;
  margin-right: 13px;
}
div#content h1 span.parks-icon {
  background-position: -944px center;
  width: 33px;
  margin-left: 1px;
  margin-right: 12px;
}
div#content h1 span.cams-icon {
  background-position: -977px center;
  width: 37px;
  margin-left: 0px;
  margin-right: 9px;
}
div#content h1 span.events-icon {
  background-position: -1014px center;
  width: 31px;
  margin-left: 3px;
  margin-right: 12px;
}
  
div#content h1 span.page_title {
  margin-top: 5px;
  padding-top: 5px;
  display: block;
  font-weight: normal;
}
div#content h1 span.updated {
  font-weight: normal;
  font-size: 0.62em; /* 0.8 / 1.3 */
  font-size: 0.72em; /* 0.8 / 1.3 */
  margin-top: -2px;
  display: block;
}
  
  
div#nav {
  z-index: 300;
  position: absolute;
  width: 73px;
  height: 28px;
  top: 1px;
  right: 0;
}
  a#menu-button {
    display: block;
    width: 43px;
    height: 28px;
    text-align: right;
    padding-right: 30px;
    padding-top: 2px;
    font-size: 1.0em;
    color: white;
    text-transform: uppercase;
  }
  a#menu-button:link,
  a#menu-button:visited,
  a#menu-button:hover,
  a#menu-button:active {
    color: white;
  }
  a#menu-button span.icon {
    display: none;
    width: 24px;
    height: 28px;
    background-position: -784px center;
    position: absolute;
    bottom: 8px;
    right: 3px;
  }
div#nav ul {
  position: absolute;
  top: 28px;
  right: 0;
  margin: 0;
  padding: 0;
}
div#nav ul li {
  display: none;
}
div#nav li {
  width: 112px;
  margin: 0;
  padding: 0;
}
div#nav li a {
  display: block;
  text-align: right;
  font-size: 1.2em;
  width: 100px;
  padding: 4px 5px;
  border: solid 1px #eff1f0;
  border-bottom: 0;
  background-color: #83ccdf;
}
div#nav li a:link,
div#nav li a:visited,
div#nav li a:hover,
div#nav li a:active {
  color: white;
}

div#body {
  color: #7c7b77;
  border-left: 1px solid #7f9da7;
  border-right: 1px solid #7f9da7;
}

div#footer {
  padding: 2px 0 3px;
  /*background-image: url(img/gradients.png);
  background-repeat: no-repeat;
  background-position: -320px 0;*/
  background-color: #7f9da7;
  position: relative;
  z-index: 10;
}
div#footer p {
  text-align: center;
  color: white;
  margin: 5px 0;
  font-size: 1.1em;
  line-height: 1.75em;
}
div#footer a,
div#footer a:link,
div#footer a:visited,
div#footer a:hover,
div#footer a:active {
  color: white;
  text-decoration: none;
}

/** custom **/
div.zone {
  margin: 0px 0px 10px 0px;
}
div.zone h2 {
  padding: 1px 0 1px 28px;
  color: white;
  margin-bottom: 5px;
  background-color: black;
  cursor: pointer;
}
div.zone table.report tr.lift-row th,
div.zone table.report tr.lift-row td {
  border-bottom: 2px solid black;
  padding-bottom: 0;
  margin-bottom: 0;
  font-weight: bold;
}
div#jupiter-zone h2 {
  background-color: #ef851f; /* orange_zone */
}
div#jupiter-zone tr.lift-row th,
div#jupiter-zone tr.lift-row td {
  border-color: #e3a157; /* alt_orange_zone */
}
div#king_con-zone h2 {
  background-color: #0073be; /* blue_zone */
}
div#king_con-zone tr.lift-row th,
div#king_con-zone tr.lift-row td {
  border-color: #5591c7; /* alt_blue_zone */
}
div#mcconkeys-zone h2 {
  background-color: #efd313; /* yellow_zone */
}
div#mcconkeys-zone tr.lift-row th,
div#mcconkeys-zone tr.lift-row td {
  border-color: #e0d65d; /* alt_yellow_zone */
}
div#payday-zone h2 {
  background-color: #95c630; /* green_zone */
}
div#payday-zone tr.lift-row th,
div#payday-zone tr.lift-row td {
  border-color: #a6cc66; /* alt_green_zone */
}
div#silverlode-zone h2 {
  background-color: #ad1725; /* red_zone */
}
div#silverlode-zone tr.lift-row th,
div#silverlode-zone tr.lift-row td {
  border-color: #cc7a69; /* alt_red_zone */
}
div#crescent-zone h2 {
  background-color: #22ab8b; /* cyan_zone */
}
div#crescent-zone tr.lift-row th,
div#crescent-zone tr.lift-row td {
  border-color: #7cbdad; /* alt_cyan_zone */
}
div#thaynes-zone h2 {
  background-color: #531d7f; /* purple_zone */
}
div#thaynes-zone tr.lift-row th,
div#thaynes-zone tr.lift-row td {
  border-color: #9172b1; /* alt_purple_zone */
}

div.block {
  padding-bottom: 5px;
}
div.block h2 {
  position: relative;
}
div.block span.controls-icon {
  display: block;
  width: 13px;
  padding-right: 3px;
  border-right: 2px solid white;
  height: 13px;
  position: absolute;
  top: 1px;
  left: 5px;
  background-image: url(img/control-icons.gif);
  background-position: -350px center;
  background-repeat: none;
}

div#jupiter-zone span.controls-icon {
  background-position: -30px center;
}
div#jupiter-zone.closed span.controls-icon {
  background-position: -12px center;
}
div#king_con-zone span.controls-icon {
  background-position: -67px center;
}
div#king_con-zone.closed span.controls-icon {
  background-position: -50px center;
}
div#mcconkeys-zone span.controls-icon {
  background-position: -105px center;
}
div#mcconkeys-zone.closed span.controls-icon {
  background-position: -88px center;
}
div#payday-zone span.controls-icon {
  background-position: -142px center;
}
div#payday-zone.closed span.controls-icon {
  background-position: -125px center;
}
div#silverlode-zone span.controls-icon {
  background-position: -179px center;
}
div#silverlode-zone.closed span.controls-icon {
  background-position: -162px center;
}
div#crescent-zone span.controls-icon {
  background-position: -217px center;
}
div#crescent-zone.closed span.controls-icon {
  background-position: -200px center;
}
div#thaynes-zone span.controls-icon {
  background-position: -254px center;
}
div#thaynes-zone.closed span.controls-icon {
  background-position: -237px center;
}
div.block div.block-content {
  position: relative;
  overflow: hidden;
}
div.block.opened div.block-content td {
  -webkit-animation-name: open-effect;
  -webkit-animation-duration: 0.5s;
  -webkit-animation-iteration-count: 1;
  height: auto;
  -webkit-opacity: 1.0;
}
@-webkit-keyframes open-effect {
  0% {
    height: 0;
    -webkit-opacity: 0;
    -webkit-animation-timing-function: ease-out;
  }
  100% {
    height: auto;
    -webkit-opacity: 1.0;
  }
}
div.block.closed div.block-content {
  -webkit-animation-name: close-effect;
  -webkit-animation-duration: 0.5s;
  -webkit-animation-iteration-count: 1;
  height: 0;
  -webkit-opacity: 0;
}
@-webkit-keyframes close-effect {
  0% {
    height: auto;
    -webkit-opacity: 1.0;
    -webkit-animation-timing-function: ease-out;
  }
  100% {
    height: 0;
    -webkit-opacity: 0;
  }
}


table.report {
  width: 320px;
}
table.report td.icon {
  text-align: center;
}
table.report th.title {
  padding-left: 10px;
  text-align: left;
  font-weight: normal;
  width: 130px;
}
table.report th.title span.run-title {
  display: block;
  float: left;
}
table.report th.title div.title-box span.icon {
  margin: -2px 0 0 5px;
}
table.report td.status {
  width: 78px;
  text-align: left;
}
table.report td.status div.status-box {
  width: 78px;
  height: 18px;
  position: relative;
}
table.report td.status div.status-box span.icon {
  float: none;
  position: absolute;
  top: 1px;
  left: -2px;
  /*border-right: solid 60px #d2e1e1; /* lt_blue_bg */
}
table.report td.icon span.icon {
  height: 13px;
  width: 30px;
}
table.report td.icon span.sixpack-icon {
  width: 30px;
  background-position: -63px -40px;
  margin: 0;
}
table.report td.icon span.quad-icon {
  width: 20px;
  background-position: -42px -40px;
  margin: 0 5px;
}
table.report td.icon span.triple-icon {
  width: 17px;
  background-position: -18px -40px;
  margin: 0 6px 0 7px;
}
table.report td.icon span.double-icon {
  width: 13px;
  background-position: -1px -40px;
  margin: 0 8px 0 9px;
}
table.report td.icon span.double_square-icon {
  width: 26px;
  background-position: -26px -13px;
  margin: 0 4px 0 4px;
}
table.report td.icon span.square-icon {
  width: 13px;
  background-position: -13px -13px;
  margin: 0 9px 0 10px;
}
table.report td.icon span.double_diamond-icon {
  width: 24px;
  background-position: -66px -13px;
  margin: 0 4px 0 5px;
}
table.report td.icon span.diamond-icon {
  width: 13px;
  background-position: -52px -13px;
  margin: 0 9px 0 10px;
}
table.report td.icon span.circle-icon {
  width: 13px;
  background-position: 0px -14px;
  margin: 0 9px 0 9px;
}
table.report td.icon span.alley-icon {
  width: 13px;
  background-position: -532px center;
  margin: 0 8px 0 9px;
}
table.report td.icon span.park-icon {
  width: 26px;
  background-position: 0px -26px;
  margin: 0 6px 0 6px;
}
table.report td.icon span.summeractivity-icon {
  width: 14px;
  height: 14px;
  background-position: 0px 0px;
  background-image: url(img/summer_activities.gif);
  margin: 0 8px 0 8px;
}
span.groomed_status-icon { /* currently same as open */
  width: 13px;
  height: 13px;
  background-position: 0px 0px;
}
span.open_status-icon {
  width: 13px;
  height: 13px;
  background-position: 0px 0px;
}
span.closed_status-icon {
  width: 13px;
  height: 13px;
  background-position: -13px 0px;
}
span.expected_status-icon {
  width: 13px;
  height: 13px;
  background-position: -26px 0px;
}
span.delay_status-icon {
  width: 13px;
  height: 13px;
  background-position: -39px 0;
}
span.windhold_status-icon {
  width: 13px;
  height: 13px;
  background-position: -39px 0;
}
span.event_status-icon {
  width: 13px;
  height: 13px;
  background-position: -52px 0px;
}
span.signature_status-icon {
  width: 13px;
  height: 13px;
  background-position: -65px 0px;
}
span.groomedam_status-icon {
  width: 13px;
  height: 13px;
  background-position: -104px 0px;
}
span.groomedpm_status-icon {
  width: 13px;
  height: 13px;
  background-position: -117px 0px;
}
span.groomerchoice_status-icon {
  width: 13px;
  height: 13px;
  background-position: -91px 0px;
}
span.groomed_status-icon {
  width: 20px;
  height: 13px;
  background-position: -110px -13px;
}
div#status_key-block {
  padding: 10px 0 0 28px;
}
div#status_key-block table.listing {
  width: 292px;
}
div#status_key-block table.listing th {
}
div#status_key-block table.listing th div.status-box {
  position: relative;
  width: 13px;
}
div#status_key-block table.listing th div.status-box span.icon {
  float: none;
  position: absolute;
  top: 1px;
  left: -2px;
}
div#status_key-block table.listing td {
  text-align: left;
}

p#main_page-link {
  padding: 10px 0 0 28px;
}
p#open_status {
  padding: 0px 0 0px 28px;
}
/** top_menu_tabs **/
#top_menu-tabs {
  display: -moz-box;
  display: -webkit-box;
  display: box;
  -moz-box-orient: horizontal;
  -webkit-box-orient: horizontal;
  box-orient: horizontal;
  -moz-box-pack: center;
  -webkit-box-pack: center;
  box-pack: center;
  -moz-box-align: start;
  -webkit-box-align: start;
  box-align: start;
  margin-bottom: 15px;
}
  #top_menu-tabs a {
    line-height: 1.2em;
    font-size: 1.4em;
    display: block;
    padding: 5px 10px;
    margin: 0 3px;
    background-color: #bbcacf; /* lt_gry_blu */
    color: white;
    -webkit-border-bottom-right-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-bottomright: 4px;
    -moz-border-radius-bottomleft: 4px;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
  }
  #top_menu-tabs a:link,
  #top_menu-tabs a:visited,
  #top_menu-tabs a:hover,
  #top_menu-tabs a:active {
    color: white;
  }
  #top_menu-tabs a.current,
  #top_menu-tabs a:hover,
  #top_menu-tabs a:active {
    background-color: #809da5; /* gry_blu */
  }
/** forecasts_group **/
div#forecasts-group {
  width: 320px;
  padding: 14px 0;
  margin: 0px auto 20px auto;
  overflow: hidden;
  position: relative;
}
  div.forecast-box {
    width: 106px;
    margin: 0px 0px 0px 0px;
    float: left;
    padding-bottom: 10px;
  }
  div.forecast-box:nth-child(4) {
    clear: left;
  }
div#forecasts-group div.forecast-box h3 {
  color: #76959e;
  text-align: center;
  margin: 0 0 0.5em;
  padding: 0;
  font-size: 1.4em;
}
div#forecasts-group div.forecast-icon {
  text-align: center;
  padding-bottom: 4px;
}
div#forecasts-group div.forecast-icon img {
    /* nothing here */
}
div#forecasts-group div.forecast-summary {
  text-align: center;
  padding: 0px 5px 2px;
  color: #545454; /* darker_gray */
}
div#forecasts-group div.forecast-temperature {
  text-align: center;
  color: #545454; /* darker_gray */
}


/** ALT_MEDIA_SECTION **/
@media only screen and (max-device-width: 480px) {
  /* iphone specific styles */
  body {
  /*
    background: -webkit-gradient(linear, left top, left bottom, 
      from(#00abeb), to(rgba(0,0,0,0)),
      color-stop(0.2, #fff),
      color-stop(0.5, #fff),
      color-stop(0.5, #66cc00));

    background:
      -webkit-gradient(radial, -50% -50%, 10, 150% 150%, 590, 
        from(#00abeb), to(rgba(0,0,0,1.0)),
        color-stop(1.0, #66cc00));
  */
  }
}

/** PAGE_SECTION **/

/** home-page **/
div#home-page div#nav a#menu-button {
  display: none;
}
div#home-page div#nav li#fullsite-link {
  display: block;
  position: absolute;
  top: -28px;
  right: 0;
  z-index: 101;
}
div#home-page div#nav li#fullsite-link a {
  background-color: transparent;
  border: 0;
  width: 102px;
  text-align: center;
}
div#content div#home-page  h1 span.page_title {
  padding-bottom: 4px;
}

/** conditions-page **/
div#conditions-page div#body {
  padding: 0 14px 5px 28px;
}
div#conditions-page p#main_page-link {
  padding: 10px 0 0 0px;
}
div#conditions-page p span.label,
div#conditions-page p strong.value,
div#conditions-page p#conditions-text {
  font-size: 1.2em;
}
div#conditions-page p.sensor_update_time {
  font-size: 1.2em;
  color: #566781; /* alt_lt_blue */
}
div#conditions-page div#body table.listing {
  width: 278px;
}
div#conditions-page div#body table.listing td {
  width: 6.0em;
}
  
/** lifts-page **/
div#lifts-page #body {
  padding-bottom: 12px;
}

/** runs-page **/
div#runs-page a#show_all-link {
  position: absolute;
  right: 10px;
  top: 45px;
}
div#runs-page #body {
  padding: 5px 0px 12px 0px;
}

/** signature page **/
div#sigs-page span.updated {
  padding-top: 4px;
}
div#sigs-page #body {
  padding-bottom: 8px;
}

/** parks-page **/
div#parks-page h2 {
  padding: 10px 0 0 28px;
}
div#parks-page div#body {
  padding-bottom: 12px;
}

/** bowls-page **/
div#bowls-page div#body {
  padding-bottom: 12px;
}

/** events-page **/
div#events-page div#body {
  padding: 0 14px 10px 20px;
  font-size: 1.2em;
}
div#events-page p#main_page-link {
  padding: 10px 0 0 0px;
}

/** cams-page **/
div#cams-page div#body {
  padding: 10px 14px 10px 28px;
}
div#cams-page p#main_page-link {
  padding: 10px 0 0 0px;
}
div#cams-page h2 {
  margin-top: 10px;
}
div#cams-page div.contrast-block {
  width: 122px;
}

.green_level {
  background: transparent url(img/difficulty_level_icons.gif) -7px -3px no-repeat;
  color: #57a628;
  padding-left: 17px;
}

.blue_level {
  background: transparent url(img/difficulty_level_icons.gif) -7px -27px no-repeat;
  color: #4f7aa4;
  padding-left: 17px;
}

.black_level {
  background: transparent url(img/difficulty_level_icons.gif) -7px -50px no-repeat;
  color: #000;
  padding-left: 17px;
}

.terrainpark_level {
  background: transparent url(img/difficulty_level_icons.gif) -3px -71px no-repeat;
  color: #faab4d;
  padding-left: 22px;
}

