.popups_holder {
  display: none;
}

.popup {
  width: 450px;
}

.popup h4 {
  margin-bottom: 28px;
}

.popup h4::after {
  left: 82px;
  right: 82px;
}

.popup .border_header {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  letter-spacing: 0.05em;
  font-size: 1em;
  line-height: 1em;
  margin: 0 0 35px;
  position: relative;
  text-align: center;
  text-transform: uppercase;
}

.popup .border_header::after {
  background-color: #999999;
  content: "";
  height: 1px;
  left: 20px;
  position: absolute;
  right: 20px;
  top: 50%;
  z-index: 1;
}

.popup .border_header span {
  background-color: #fff;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.popup input.input, .popup input.inputfield, #club_add_score input.input, #club_add_score input.inputfield {
  background-color: #f8f8f8;
  border: 1px solid #e6e6e6;
  border-radius: 5px;
  color: #333;
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 0.875em;
  letter-spacing: 0.05em;
  line-height: 1em;
  margin-bottom: 10px;
  padding: 8px 10px 7px;
  width: 428px;
}

#club_add_score input.input, #club_add_score input.inputfield {
  padding: 0 10px;
}

.popup .search_holder {
  position: relative;
}

.popup a.btn {
  font-size: 0.75em;
  padding: 10px 25px;
}

.popup div.success {
  font-family: 'Lato', sans-serif;
  font-style: italic;
  font-size: 0.875em;
  letter-spacing: 0.05em;
  color: #c6b591;
  margin: 10px 0;
}

.popup .cta p {
  font-family: 'Lato', sans-serif;
  font-size: 0.875em;
  letter-spacing: 0.05em;
  font-weight: 300;
  color: #999999;
  text-align: center;
}

.popup .cta .btn_holder {
  text-align: center;
}

/*Played Here*/
#popup_played_here {
  width: 230px;
  text-align: center;
}

#popup_played_here p {
  text-align: center;
}

#popup_played_here .played_here_check {
  cursor: pointer;
  display: inline-block;
  font-size: 1em;
  height: 14px;
  line-height: 0.85em;
  padding-left: 25px;
  background: url("../media/images/bg_checkbox.png") no-repeat left top;
}

#popup_played_here .played_here_check.active {
  background-position: left bottom;
}

#popup_played_here a.btn {
  font-size: 0.875em;
  padding: 10px 25px;
  text-align: center;
}

/*Played here and FAVO*/
#popup_cta_anom, #popup_rem_friend {
  width: 230px;
}

/*ADD SCORE*/
#popup_add_score {
  width: 230px;
  height: auto;
}

.add_score_holder .dropdown {
  width: 100%;
  background-color: #ccc;
}

.add_score_holder {
  margin: 0 5px;
}

.add_score_holder .select_holder, .add_score_holder input.select_golfclub, .add_score_holder input.select_date {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #e6e6e6;
  background-color: #f8f8f8;
  border-radius: 5px;
  padding: 2px 5px 2px 5px;
  margin-bottom: 15px;
  position: relative;
  height: 25px;
}

.add_score_holder input.select_golfclub {
  background: url("../media/images/pointer_input_field.png") no-repeat scroll 97% center #f8f8f8;
  background-position: right 10px center
  /* Cr 25+, FF 13+, IE 9+, Op 10.5+ */
}

.add_score_holder input.select_date {
  background: url("../media/images/icn_calender.png") no-repeat scroll 97% center #f8f8f8;
  background-position: right 10px center
  /* Cr 25+, FF 13+, IE 9+, Op 10.5+ */
}

#club_add_score input.input, #club_add_score input.inputfield {
  width: 100%;
}

.autocompleet_holder {
  position: relative;
}

.add_score_holder .select_holder:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0px;
  width: 25px;
  height: 100%;
  border-left: 1px solid #e6e6e6;
  pointer-events: none;
  background: url("../media/images/dropdown_arrows.png") no-repeat center center #f8f8f8;
}

.add_score_holder .select_holder select {
  border: none;
  font-family: 'Lato', sans-serif;
  font-size: 0.875em;
  letter-spacing: 0.05em;
  background-color: #f8f8f8;
  float: left;
  display: inline-block;
  width: 100%;
  color: #333;
}

.score_blocks_holder {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #e6e6e6;
  background-color: #f8f8f8;
  margin: 15px 0;
  padding: 10px;
  clear: both;
  border-radius: 5px;
}

.add_score_holder .score_block {
  float: left;
  display: inline-block;
  box-sizing: border-box;
  width: 90px;
  height: 90px;
  border: 1px solid #e6e6e6;
  background-color: #fff;
  border-radius: 5px;
  margin: 4px;
}

.add_score_holder .score_block .hole_number {
  width: 24px;
  height: 24px;
  color: #999999;
  font-size: 0.7em;
  line-height: 2.1em;
  text-align: center;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #e6e6e6;
  border-right: 1px solid #e6e6e6;
  float: left;
  display: inline-block;
}

.add_score_holder .score_block .par_number {
  border-bottom: 1px solid #e6e6e6;
  color: #c6b591;
  display: inline-block;
  float: left;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.7em;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  height: 24px;
  width: 63px;
  text-align: center;
  line-height: 2.1em;
}

.add_score_holder .score_block .score {
  clear: both;
}

.add_score_holder .score_block .score input, #club_add_score .add_score_holder .score_block .score input {
  background-color: #fff;
  border: medium none;
  border-radius: 0;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1.5em;
  font-style: normal;
  letter-spacing: 0.05em;
  padding: 6px 0 0;
  text-align: center;
  width: 88px;
  margin-bottom: 5px;
  height: 35px;
}

#popup_add_score.popup .yd, #club_add_score .yd {
  width: 43px;
  height: 16px;
  color: #c6b591;
  font-size: 0.5em;
  line-height: 2em;
  text-align: center;
  font-family: 'Lato', sans-serif;
  font-weight: normal;
  border-top: 1px solid #e6e6e6;
  border-right: 1px solid #e6e6e6;
  float: left;
  display: inline-block;
  letter-spacing: 0.05em;
}

#popup_add_score.popup .yd div, #club_add_score .yd div {
  display: inline-block;
}

#popup_add_score.popup .hcp, #club_add_score .hcp {
  width: 44px;
  height: 16px;
  color: #c6b591;
  font-size: 0.5em;
  line-height: 2em;
  text-align: center;
  font-family: 'Lato', sans-serif;
  font-weight: normal;
  border-top: 1px solid #e6e6e6;
  float: left;
  display: inline-block;
  letter-spacing: 0.05em;
}

#popup_add_score.popup a.btn {
  box-sizing: border-box;
  width: 100%;
  text-align: center;
}

#popup_add_score.popup input.default, #club_add_score input.default {
  color: #c8c8c8;
}

.add_score_holder .select_date_holder {
  position: relative;
  float: left;
  width: 100%;
}

#popup_add_score .add_score_holder input.select_date.error-state, #club_add_score .add_score_holder input.select_date.error-state {
  margin-bottom: 50px;
}

.add_score_holder .error-holder-playdate {
  left: 25px;
  position: absolute;
  top: 40px;
  width: auto;
}

/*ADD MEDIA */
#popup_add_media {
  width: 230px;
}

#popup_add_media input.input {
  width: 100%;
  box-sizing: border-box;
}

#popup_add_media input.location {
  max-width: 220px;
  background: url("../media/images/pointer_input_field.png") no-repeat scroll 97% center #f8f8f8;
  background-position: right 10px center
  /* Cr 25+, FF 13+, IE 9+, Op 10.5+ */
}

#popup_add_media .upl_filename {
  font-family: 'Lato', sans-serif;
  font-style: italic;
  font-size: 0.875em;
  color: #c6b591;
  margin: 10px 0;
  display: block;
  letter-spacing: 0.05em;
}

#popup_add_media .preview_holder, #popup_upd_avatar .preview_holder {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: 100px;
  background-color: #f8f8f8;
  border: 1px solid #e6e6e6;
  margin-bottom: 15px;
  display: none;
}

#popup_upd_avatar .preview_holder {
  display: block;
}

#popup_add_media .preview_holder img, #popup_upd_avatar .preview_holder img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}

#popup_add_media .btn.browse {
  color: #fff;
  background-color: #333333;
  margin-bottom: 20px;
}

#popup_add_media .btn.browse:before {
  content: '+';
}

#popup_add_media .upl_prg_holder {
  display: block;
  width: 150px;
  margin: 0 auto 20px;
  border: 1px solid #e6e6e6;
  background-color: #f8f8f8;
  height: 7px;
}

#popup_add_media .upl_prg_holder .upl_prg {
  background-color: #c6b591;
  display: block;
  height: 100%;
  width: 0%;
}

#submit_video {
  display: none;
}

#submit_video p.youtube_warning {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  color: #999999;
  font-size: 0.875em;
  margin: 10px 2px 10px;
  letter-spacing: 0.05em;
}

#submit_video .input.youtube {
  display: inline-block;
  width: 242px;
}

#submit_video .input.youtube.invalid {
  border: 1px solid red;
}

#submit_video .input.youtube.valid {
  border: 1px solid green;
}

#submit_video a.btn.validate_link {
  margin-bottom: 10px;
  color: #c6b591;
  border: 1px solid #c6b591;
  background: #FFFFFF;
}

#submit_video a.btn.validate_link.valid {
  border: 1px solid green;
  color: green;
}

#submit_video .vid_preview_holder.no_data {
  display: none;
}

/*ADD / EDIT PROFILE PIC*/
#popup_upd_avatar .large_avatar_holder {
  margin: 25px auto;
}

#popup_upd_avatar .btn.submit {
  display: block;
  margin: 0 auto;
  text-align: center;
  width: 150px;
}

#popup_upd_avatar {
  width: 230px;
}

#popup_upd_avatar .upl_filename {
  font-family: 'Lato', sans-serif;
  font-style: italic;
  font-size: 0.875em;
  color: #c6b591;
  margin: 10px 0;
  display: block;
  text-align: center;
  letter-spacing: 0.05em;
}

#popup_upd_avatar input {
  box-sizing: border-box;
  width: 100%;
}

#popup_upd_avatar .upl_prg_holder {
  display: block;
  width: 150px;
  margin: 0 auto 20px;
  border: 1px solid #e6e6e6;
  background-color: #f8f8f8;
  height: 7px;
}

#popup_upd_avatar .upl_prg_holder .upl_prg {
  background-color: #c6b591;
  display: block;
  height: 100%;
  width: 0%;
}

/*ADD REVIEW*/
#popup_add_review {
  width: 230px;
}

#popup_add_review input.location {
  box-sizing: border-box;
  max-width: 220px;
  width: 100%;
  background: url("../media/images/icn_search.png") no-repeat scroll 97% center #f8f8f8;
  background-position: right 10px center
  /* Cr 25+, FF 13+, IE 9+, Op 10.5+ */
}

#popup_add_review input.location.disabled {
  background: #f8f8f8;
  opacity: 1.0;
}

#popup_add_review textarea {
  background-color: #f8f8f8;
  border: 1px solid #e6e6e6;
  border-radius: 5px;
  color: #333;
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 0.875em;
  letter-spacing: 0.05em;
  line-height: 1.357142857142857em;
  margin-bottom: 30px;
  padding: 8px 10px 7px;
  box-sizing: border-box;
  width: 100%;
  height: 170px;
  resize: none;
}

#popup_add_review .points_explanation {
  color: #999;
  display: block;
  font-size: 0.9em;
  font-style: italic;
  line-height: 1.35714em;
  margin-bottom: 15px;
}

#popup_add_review h5 {
  text-transform: uppercase;
  font-family: 'Lato', sans-serif;
  color: #333333;
  font-size: 0.6875em;
  margin-bottom: 5px;
  letter-spacing: 0.05em;
}

#popup_add_review .points_holder {
  margin-bottom: 12px;
}

#popup_add_review .points_holder span {
  color: #999999;
  font-size: 0.875em;
  line-height: 1em;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  background-color: #f8f8f8;
  border: 1px solid #e6e6e6;
  width: 28px;
  height: 21px;
  padding-top: 7px;
  float: left;
  display: inline-block;
  cursor: pointer;
  margin-right: 2px;
  margin: 0 2px 2px 0;
  text-align: center;
}

#popup_add_review .points_holder span.active {
  color: #fff;
  background-color: #c6b591;
}

#popup_add_review .points_holder span:nth-child(6) {
  clear: both;
}

#popup_add_review .btn {
  margin-top: 25px;
}

#popup_rem_friend {
  text-align: center;
}

#popup_rem_friend p {
  font-family: 'Lato', sans-serif;
  font-size: 0.875em;
  font-weight: 300;
  color: #999999;
  text-align: center;
  letter-spacing: 0.05em;
}

#popup_rem_friend a {
  margin-bottom: 15px;
}

@media only screen and (min-width: 768px) {
  #popup_cta_anom, #popup_rem_friend {
    width: 450px;
  }

  #popup_played_here {
    width: 350px;
  }

  #popup_played_here a.btn {
    min-width: 75px;
  }

  #popup_add_media {
    width: 500px;
  }

  #submit_video .input.youtube {
    width: 287px;
  }

  #submit_video a.btn.validate_link {
    margin: 0px 0px 0px 10px;
  }

  #popup_upd_avatar {
    width: 450px;
  }

  #popup_add_review {
    width: 500px;
  }

  #popup_add_review .points_holder span:nth-child(6) {
    clear: none;
  }
}
@media only screen and (min-width: 1024px) {
  .popup .border_header::after {
    left: 50px;
    right: 50px;
  }

  #popup_add_score {
    width: 940px;
  }

  .add_score_holder {
    margin: 0;
  }

  .add_score_holder .select_holder, .add_score_holder input.select_golfclub, .add_score_holder input.select_date,
  #club_add_score .add_score_holder .select_holder, #club_add_score .add_score_holder input.select_golfclub, #club_add_score .add_score_holder input.select_date {
    float: left;
    display: inline;
    margin-left: 20px;
    width: 182px;
  }

  .add_score_holder .select_date_holder {
    width: auto;
  }

  #club_add_score .add_score_holder .select_holder, #club_add_score .add_score_holder input.select_golfclub, #club_add_score .add_score_holder input.select_date {
    margin-left: 24px;
  }

  .add_score_holder .select_holder.select_holes, #club_add_score .add_score_holder .select_holder.select_holes {
    width: 115px;
  }

  .add_score_holder input.select_golfclub, #club_add_score input.select_golfclub {
    width: 199px;
    padding-right: 30px;
  }

  .add_score_holder input.select_golfclub, #club_add_score .add_score_holder .select_course {
    margin-left: 0;
  }

  .add_score_holder .score_block {
    margin: 6px;
  }

  #popup_add_score.popup a.btn {
    width: auto;
    text-align: left;
  }
}
/*SEGMENTED CONTROL*/
.segmented-control {
  width: 100%;
  height: 34px;
  color: #eeeeee;
  position: relative;
  display: inline-block;
  border: 1px solid currentColor;
  font-style: normal;
  font-weight: normal;
  font-family: 'Lato', sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  overflow: hidden;
  margin: .8em auto;
  border-radius: 2px;
  box-sizing: border-box;
  -moz-user-select: -moz-none;
  -ms-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-transition-duration: 0.2s;
  transition-duration: 0.2s;
  -webkit-transition-timing-function: cubic-bezier(0.445, 0.05, 0.55, 0.95);
  transition-timing-function: cubic-bezier(0.445, 0.05, 0.55, 0.95);
  -webkit-tap-highlight-color: transparent;
}

.segmented-control > input {
  position: absolute;
  left: -10000px;
  opacity: 0;
}

.segmented-control > input[type='checkbox'] ~ label {
  -webkit-transition-duration: 0;
  transition-duration: 0;
}

.segmented-control > input[type='checkbox'] ~ label:before {
  opacity: 0;
}

.segmented-control > input:disabled:nth-child(1) ~ label:nth-of-type(1) {
  opacity: 0.3;
  cursor: not-allowed;
}

.segmented-control > input:nth-child(1):checked ~ label:nth-of-type(1):after, .segmented-control > input:nth-child(1):checked ~ label:nth-of-type(1):before {
  opacity: 1;
}

.segmented-control > input:nth-child(1):checked ~ label:first-of-type:nth-last-of-type(1):after, .segmented-control > input:nth-child(1):checked ~ label:first-of-type:nth-last-of-type(1):before, .segmented-control > input:nth-child(1):checked ~ label:first-of-type:nth-last-of-type(1) ~ label:after, .segmented-control > input:nth-child(1):checked ~ label:first-of-type:nth-last-of-type(1) ~ label:before {
  left: 0%;
}

.segmented-control > input:nth-child(1):checked ~ label:first-of-type:nth-last-of-type(2):after, .segmented-control > input:nth-child(1):checked ~ label:first-of-type:nth-last-of-type(2):before, .segmented-control > input:nth-child(1):checked ~ label:first-of-type:nth-last-of-type(2) ~ label:after, .segmented-control > input:nth-child(1):checked ~ label:first-of-type:nth-last-of-type(2) ~ label:before {
  left: 0%;
}

.segmented-control > input:disabled:nth-child(2) ~ label:nth-of-type(2) {
  opacity: 0.3;
  cursor: not-allowed;
}

.segmented-control > input:nth-child(2):checked ~ label:nth-of-type(2):after, .segmented-control > input:nth-child(2):checked ~ label:nth-of-type(2):before {
  opacity: 1;
}

.segmented-control > input:nth-child(2):checked ~ label:first-of-type:nth-last-of-type(2):after, .segmented-control > input:nth-child(2):checked ~ label:first-of-type:nth-last-of-type(2):before, .segmented-control > input:nth-child(2):checked ~ label:first-of-type:nth-last-of-type(2) ~ label:after, .segmented-control > input:nth-child(2):checked ~ label:first-of-type:nth-last-of-type(2) ~ label:before {
  left: 50%;
}

.segmented-control > label {
  display: inline-block;
  padding: 0 .71em;
  cursor: pointer;
  float: left;
  line-height: 2em;
  font-style: inherit;
  font-weight: inherit;
  text-decoration: inherit;
  -webkit-transition-property: none;
  transition-property: none;
  -webkit-transition-duration: inherit;
  transition-duration: inherit;
  -webkit-transition-timing-function: inherit;
  transition-timing-function: inherit;
}

.segmented-control > label.disabled {
  color: #cccccc;
}

.segmented-control > label:before, .segmented-control > label:after {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.segmented-control > label:after {
  color: #666;
  content: attr(data-value);
  text-align: center;
  padding: inherit;
  z-index: 10;
  font-style: inherit;
  text-decoration: inherit;
  font-weight: inherit;
  opacity: 0;
  -webkit-transition-property: opacity, left;
  transition-property: opacity, left;
  -webkit-transition-duration: inherit;
  transition-duration: inherit;
  -webkit-transition-timing-function: inherit;
  transition-timing-function: inherit;
}

.segmented-control > label:after, .segmented-control > label {
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  box-sizing: border-box;
}

.segmented-control > label:before {
  content: '';
  color: #eeeeee;
  background: currentColor;
  -webkit-transition-property: left;
  transition-property: left;
  -webkit-transition-duration: inherit;
  transition-duration: inherit;
  -webkit-transition-timing-function: inherit;
  transition-timing-function: inherit;
}

.segmented-control > label:first-of-type:nth-last-of-type(1), .segmented-control > label:first-of-type:nth-last-of-type(1):after, .segmented-control > label:first-of-type:nth-last-of-type(1):before, .segmented-control > label:first-of-type:nth-last-of-type(1) ~ label, .segmented-control > label:first-of-type:nth-last-of-type(1) ~ label:after, .segmented-control > label:first-of-type:nth-last-of-type(1) ~ label:before {
  width: 100%;
}

.segmented-control > label:first-of-type:nth-last-of-type(2), .segmented-control > label:first-of-type:nth-last-of-type(2):after, .segmented-control > label:first-of-type:nth-last-of-type(2):before, .segmented-control > label:first-of-type:nth-last-of-type(2) ~ label, .segmented-control > label:first-of-type:nth-last-of-type(2) ~ label:after, .segmented-control > label:first-of-type:nth-last-of-type(2) ~ label:before {
  width: 50%;
}

.segmented-control.italic, .segmented-control .italic {
  font-style: italic;
}

.segmented-control.bold, .segmented-control .bold {
  font-weight: bold;
}

.segmented-control.underline, .segmented-control .underline {
  text-decoration: underline;
}

.segmented-control.line-through, .segmented-control .line-through {
  text-decoration: line-through;
}
