/* common colors used for yes/no/maybe states on invitations */
/* count styles, like seen on view page guest list */
/* mixin for three column layout like the gallery page, with an ad on the right */
/* this makes it possible to share styles without having to use the primary and secondary classes */
/* home page */
body.p_home .container {
  background: #f1f1f1;
}

#home_page, #home_page_promo {
  -moz-box-shadow: 0 1px 0 #999999;
  -webkit-box-shadow: 0 1px 0 #999999;
  box-shadow: 0 1px 0 #999999;
  width: 980px;
  margin: 0 auto;
  border: 1px solid #e8e8e8;
  background: white;
  padding: 0;
  overflow: hidden;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
}

#main_carousel {
  float: left;
  width: 660px;
}
#main_carousel #moving_boxes {
  width: 660px;
}

div.columns {
  zoom: 1;
  overflow: hidden;
  background: url(/assets/1371498122/images/home/home_page_bg.png) repeat-y;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
}

.primary {
  float: left;
  width: 660px;
  overflow: hidden;
}

.secondary .create {
  height: 78px;
  position: relative;
}
.secondary .create #btn_create {
  top: 18px;
  position: absolute;
  left: 65px;
  width: 190px;
  margin: 0 auto;
}

.occasion_sidebar {
  float: right;
  width: auto;
  overflow: hidden;
}
.occasion_sidebar .popular {
  height: 260px;
  padding: 20px;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  background: white;
  text-align: center;
}
.occasion_sidebar .popular ul {
  text-align: left;
}
.occasion_sidebar .popular .btn_view_all_occasions {
  margin-top: 20px;
}
.occasion_sidebar h3 {
  display: block;
  line-height: 20px;
  text-align: left;
  font-size: 17px;
  color: #333333;
  margin-bottom: 1em;
  margin-top: 10px;
  padding-left: 10px;
}
.occasion_sidebar #occasions_sidebar {
  border-bottom: 0;
  text-align: left;
}

.secondary {
  border-top: 1px solid #e5e5e5;
  float: right;
  width: 320px;
  overflow: hidden;
}
.secondary .ad {
  margin: 10px auto;
  width: 300px;
  height: 250px;
  -khtml-user-select: none;
  -moz-user-select: none;
}

.features {
  float: left;
  width: 659px;
  background: url(/assets/1371498122/images/home/bg_features.png) repeat-x bottom;
  height: 271px;
}
.features .feature_section {
  font-size: 11px;
  line-height: 1.5em;
  padding: 20px;
  float: left;
  width: 178px;
  border-left: 1px solid #e5e5e5;
  height: 271px;
}
.features .party_ideas a span {
  display: block;
  text-align: center;
}
.features .feature_section:first-of-type {
  border-left: none;
}
.features .feature_section a:hover {
  text-decoration: none;
}
.features .feature_section h3 {
  color: #666666;
  font-size: 14px;
  padding: 0 0 10px 0;
}
.features .feature_section p {
  color: #999999;
  margin-bottom: 1em;
}
.features .feature_section ul {
  margin-bottom: 1em;
  padding-left: 15px;
  color: #999999;
}
.features .feature_section li {
  list-style-type: square;
}
.features .feature_section img {
  margin: 0 auto 5px auto;
  display: block;
}
.features .feature_last {
  width: 180px;
}
.features a#play_button {
  text-align: center;
  font-size: 12px;
  color: #6aa60a;
  font-weight: bold;
  display: block;
}

.signed_out .primary {
  background: url("/assets/1371498122/images/home/primary_bg.png") no-repeat scroll 0 0 white;
}

.signed_in .section {
  width: 620px;
}
.signed_in .occasion_sidebar {
  padding: 20px 20px 0 20px;
  width: 280px;
}
.signed_in .occasion_sidebar #btn_create {
  left: 0;
  width: 100%;
}
.signed_in .occasion_sidebar .create {
  border-bottom: 1px solid #e0e0e0;
}
.signed_in .popular {
  background: transparent;
  border-top: 0;
  height: 160px;
}
.signed_in #occasion_selector {
  margin-left: -20px;
  width: 280px;
}
.signed_in .primary {
  padding: 20px;
  width: 620px;
}
.signed_in h3 {
  display: block;
  line-height: 20px;
  text-align: center;
  font-size: 12px;
  color: #666666;
  margin: 0px 0 5px;
  padding-left: 0;
}
.signed_in .secondary .create {
  height: 65px;
  position: relative;
}
.signed_in .secondary .create #btn_create {
  top: 0;
  position: absolute;
  left: 0;
  width: 275px;
  margin: 0 auto;
}

#upcoming_events {
  padding: 0 10px;
}
#upcoming_events ul {
  clear: left;
}
#upcoming_events .no_events {
  clear: both;
  zoom: 1;
  padding: 20px 50px 20px 200px;
  background: url(/assets/1371498122/images/icon_calendar_big.png) 90px 20px no-repeat;
  overflow: hidden;
}
#upcoming_events .no_events h4 {
  font-size: 16px;
  color: #666666;
  margin-bottom: 5px;
}
#upcoming_events .no_events div {
  float: left;
  width: 160px;
}
#upcoming_events .no_events div span {
  line-height: 25px;
}
#upcoming_events .footer {
  padding: 20px 0;
  text-align: center;
}

h3.upcoming_event_heading {
  overflow: hidden;
}
h3.upcoming_event_heading span {
  float: left;
}
h3.upcoming_event_heading a {
  float: right;
  font-size: 11px;
  font-weight: normal;
}

/* occasion selector */
#occasion_selector {
  overflow: hidden;
}
#occasion_selector ul {
  float: left;
  width: 140px;
}
#occasion_selector ul li a {
  white-space: nowrap;
  margin: 5px 0;
  color: #666666;
  line-height: 21px;
  padding: 0 10px 0 5px;
  background: url(/assets/1371498122/images/home/selected_occasion_bg.gif) repeat-x;
  background-position: left -50px;
  display: block;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  /* make "wedding/engagement" fit in the hover box */
  letter-spacing: -0.1px;
}
#occasion_selector ul li a:hover, #occasion_selector ul li a:focus {
  color: white;
  font-weight: bold;
  background-position: left top;
  text-decoration: none;
}

#home_page_promo {
  border-bottom: 0;
  color: #999999;
  font-size: 11px;
  line-height: 1.3em;
  margin-top: 20px;
  background: url(/assets/1371498122/images/home/bg_bottom_promo.png) repeat-x;
  height: 120px;
}
#home_page_promo h3 {
  color: #666666;
  font-size: 16px;
  white-space: nowrap;
  text-align: left;
}
#home_page_promo h3 a {
  color: #666666;
  text-decoration: none;
}
#home_page_promo h3 a:hover, #home_page_promo h3 a:focus {
  text-decoration: underline;
}
#home_page_promo p {
  width: 160px;
  margin-bottom: 0.8em;
}
#home_page_promo .promo {
  float: left;
  width: 180px;
  height: 95px;
  padding: 25px 0 0 140px;
  border-right: 1px solid #e1e1e1;
}
#home_page_promo .last {
  border-right: 0;
}
#home_page_promo .connect_with_evite {
  padding-top: 20px;
  height: 100px;
  background: url(/assets/1371498122/images/home/bg_connect_with_evite.jpg) bottom left no-repeat;
  -webkit-border-top-left-radius: 10px;
  -webkit-border-bottom-left-radius: 10px;
  -moz-border-radius-topleft: 10px;
  -moz-border-radius-bottomleft: 10px;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}
#home_page_promo .become_evite_insider {
  width: 198px;
  background: url(/assets/1371498122/images/home/bg_evite_insider.jpg) bottom left no-repeat;
}
#home_page_promo .postmark_promo {
  padding-left: 125px;
  width: 190px;
  background: url(/assets/1371498122/images/home/postmark_promo.png) bottom left no-repeat;
}

#home_page .section {
  position: relative;
  margin-bottom: 20px;
  padding: 0;
  color: #999999;
  font-size: 11px;
  clear: both;
}
#home_page .section img.loader {
  margin: 20px auto;
  display: block;
}
#home_page .section ul {
  position: relative;
}

.profile_events ul {
  position: relative;
}

#home_page .section h3, .profile_events h3 {
  font-size: 16px;
  line-height: 40px;
  color: #666666;
  margin-bottom: 0;
  padding: 0 15px;
  border: 1px solid #e3e3e3;
  background: #fafafa;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  zoom: 1;
}

#home_page .section li a:focus {
  text-decoration: underline;
}

#home_page .section a.thumb img {
  background: white;
  display: block;
  width: 144px;
  height: 112px;
  margin-right: 2px;
  border: 1px solid #cccccc;
  padding: 4px;
  -moz-box-shadow: 0 1px 2px #cccccc;
  -webkit-box-shadow: 0 1px 2px #cccccc;
  box-shadow: 0 1px 2px #cccccc;
}
#home_page .section a:hover.thumb img {
  border: 1px solid #71ab0b;
}
#home_page #occasions ul {
  overflow: hidden;
  padding: 0 10px;
}
#home_page #occasions .templates {
  position: absolute;
  top: 20px;
  right: 0;
  overflow: hidden;
  padding: 0;
  text-align: center;
  padding-bottom: 5px;
}

.module_3_templates {
  position: absolute;
  top: 20px;
  right: 0;
  overflow: hidden;
  padding: 0;
  text-align: center;
  padding-bottom: 5px;
}

#home_page #occasions .templates li, .module_3_templates li {
  float: left;
  display: inline;
}

#home_page #occasions .templates a.thumb img, .module_3_templates a.thumb img {
  float: left;
  margin: 0 4px;
  width: 85px;
  height: 68px;
  display: inline;
}

#home_page #occasions .templates a.thumb img.last, .module_3_templates a.thumb img.last {
  margin-right: 0;
}

#home_page #occasions .templates ul, .module_3_templates ul {
  margin-bottom: 10px;
  overflow: hidden;
  height: 92px;
}

#home_page #occasions .templates a.view_more, .module_3_templates a.view_more {
  font-size: 12px;
}

.occasions li.occasion {
  min-height: 30px;
  height: auto !important;
  height: 30px;
  margin: 0;
  position: relative;
  padding: 17px 0 18px 129px;
  border-bottom: 1px solid #e3e3e3;
  clear: both;
}

#home_page .section li.occasion:last-child {
  border-bottom: none;
}

ul#shared_events li.event {
  min-height: 48px;
}

#home_page #occasions li.occasion {
  padding-left: 10px;
  min-height: 120px;
  height: auto !important;
  height: 150px;
}
#home_page #occasions .title {
  font-size: 18px;
  font-weight: normal;
  line-height: 22px;
  width: 260px;
  margin-bottom: 0;
}
#home_page #occasions .title a {
  color: black;
}
#home_page #occasions .blurb {
  width: 265px;
  color: #666666;
  font-size: 12px;
  line-height: 1.3em;
  padding: 10px 0;
}

/* system alert */
.system_alert_holder {
  margin: 0 auto 15px;
  width: 980px;
  display: none;
}

.system_alert {
  position: relative;
  color: #666666;
  line-height: 41px;
  text-align: center;
  border: 1px solid #e8e8e8;
  background: #fff8a4 url(/assets/1371498122/images/system_alert_bg.png) repeat-x;
  overflow: hidden;
  -webkit-background-clip: padding-box;
  -moz-box-shadow: 0 1px 0 #cccccc;
  -webkit-box-shadow: 0 1px 0 #cccccc;
  box-shadow: 0 1px 0 #cccccc;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
}
.system_alert a {
  font-weight: bold;
}
.system_alert a img {
  margin-right: 10px;
}
.system_alert a.system_alert_x {
  position: absolute;
  top: 13px;
  right: 15px;
  width: 15px;
  height: 15px;
  display: block;
  background: url(/assets/1371498122/images/system_alert_x.png);
}

.btn_major {
  background: #6fab0b url(/assets/1371498122/images/btn_major.png) top;
  border: 3px solid white;
  text-shadow: #558708 1px 1px 1px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  -moz-box-shadow: 0 1px 2px #aaaaaa;
  -webkit-box-shadow: 0 1px 2px #aaaaaa;
  box-shadow: 0 1px 2px #aaaaaa;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  color: white;
  width: 156px;
  height: 34px;
  display: block;
  line-height: 34px;
  cursor: pointer;
  -webkit-background-clip: padding-box;
}
.btn_major:hover {
  color: white;
  background-position: 0 -34px;
  text-decoration: none;
}
.btn_major.disabled {
  background-position: 0 -68px;
  color: #f6f6f6;
  text-shadow: 0 0 1px #999999;
  cursor: default;
}
.btn_major.active, .btn_major:focus {
  background-position: 0 -102px;
  color: #eeeeee;
  text-shadow: none;
  cursor: default;
}
.btn_major.active span, .btn_major:focus span {
  background: url(/assets/1371498122/images/spinner.gif) left no-repeat;
  padding-left: 22px;
}

.signed_out #carousel {
  height: 160px;
  overflow: hidden;
  width: 100%;
  border-top: 1px solid #e5e5e5;
  background: url("/assets/1371498122/images/home/bg_bottom_carousel.png") no-repeat scroll center 51px white;
}
.signed_out #carousel .carousel-wrap {
  width: 770px;
  margin-left: 105px;
  margin-top: 2px;
}
.signed_out #carousel .carousel-previous {
  left: 25px;
  top: 40px;
}
.signed_out #carousel .carousel-next {
  top: 40px;
  left: 930px;
}
.signed_out #carousel .center-wrap {
  display: none;
}
.signed_out #carousel .templates {
  padding-top: 0;
  height: 640px;
  width: 964px;
  position: relative;
}
.signed_out #carousel h3 {
  color: #666666;
  font-size: 14px;
  padding: 20px 0 5px 20px;
}

.signed_in #carousel_occasions h3 {
  font-size: 12px;
  color: #666666;
  margin-bottom: 1em;
  padding-top: 10px;
  text-align: center;
}
.signed_in #carousel_occasions .templates {
  height: 123px;
  overflow: hidden;
  width: 280px;
  margin: 0 auto;
  border-bottom: 1px solid #e0e0e0;
  padding: 0;
  position: relative;
}
.signed_in #carousel_occasions .templates ul {
  margin-left: 0;
}
.signed_in #carousel_occasions .templates li {
  width: 96px;
  height: auto;
}
.signed_in #carousel_occasions .templates li a {
  margin: 0;
  height: 68px;
  width: 85px;
  -moz-box-shadow: 0 1px 3px #dddddd;
  -webkit-box-shadow: 0 1px 3px #dddddd;
  box-shadow: 0 1px 3px #dddddd;
}
.signed_in #carousel_occasions .templates li img {
  width: 77px;
  height: 60px;
}
.signed_in #carousel_occasions .carousel-wrap {
  width: 280px;
  margin: 5px 0 0 0;
}
.signed_in #carousel_occasions .carousel-control {
  top: 88px;
}
.signed_in #carousel_occasions .carousel-previous {
  left: 80px;
}
.signed_in #carousel_occasions .carousel-next {
  left: 173px;
}
.signed_in #carousel_occasions .carousel-pagination {
  margin: 13px auto 0 auto;
}
.signed_in #carousel_occasions .carousel-item {
  padding: 0;
}
.signed_in #carousel_occasions div.loader {
  background-color: #f9f9f9;
}

#ad_home-signed-out-sidebar {
  background: none repeat scroll 0 0 #f9f9f9;
  border: 1px solid #e5e5e5;
  float: left;
  height: 250px;
  margin: 10px 0 0 10px;
  width: 300px;
}
