
#age_gate {
    position: fixed;
    left: 0px;
    top: 0px;
    z-index: 1000000;
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

#age_overlay {
    position: fixed;
    left: 0px;
    top: 0px;
    z-index: 1000010;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: .8!important;
    filter: alpha(opacity=50);
}

#age_content {
    position: relative;
    /*left: 50%;*/
    top: 50%!important;
    transform: translate(0, -50%);
    z-index: 1001010;
    width: 632px; 
    height: auto;
    color: #aaa;
    background-color: #000;
    border: 1px solid #000;
    padding: 2em;
    margin: 0px auto;
    font-size: 14px;
    font-family: Arial, sans-serif;
    text-align: center;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0px 0px 10px #000;
    -moz-box-shadow: 0px 0px 10px #000;
    box-shadow: 0px 0px 10px #000;
    box-sizing: border-box;
}

@media screen and (max-width: 640px){
    #age_content {
        width: 528px; 
    }
}

#age_content.is_mobile {
    top: auto;
    width: auto;
    max-width: 768px;
    height: auto;
    margin: 0px 10px;
    padding: 34px 20px;
}

#age_content .age_header_title {
    color: #fff;
    margin-top: 13px;
    font-size: 32px;
    font-weight: 500;
}

#age_content #age_header_subtitle {
    color: #fff;
    margin-top: 15px;
    margin-bottom: 20px;
    font-size: 16px;
}

#age_content .age_birthdate {
    margin-bottom: 15px;
}

#age_content .age_birthdate .age_birth_title_label {
    color: #fff;
    font-size: 14px;
}

#age_content .age_facebook_group {
    margin: 15px 0px;
}

#age_content .age_facebook_or_label {
    color: white;
    font-size: 18px;
}

#age_content .age_group {
    margin-bottom: 12px;
    margin-top: 18px;
}

#age_content .age_field_group {
    text-align: left;
}

#age_content .age_field {
    color: white;
    font-size: 14px;
}

#age_content .placeholder::before {
    width: 100%;
    color: #666;
    content: attr(placeholder);
    text-align: center;
}

#age_content .age_missing {
    padding-left: 10px;
    border-left: 10px solid #649999;
    margin-left: -20px;
}

#age_content .age_nowrap {
    white-space: nowrap;
}

#age_missing_message {
    display: block;
    margin-bottom: 10px;
    color: #ffffff;
    font-style: normal;
    font-size: 18px;
    font-weight: 500;
}

#age_content .age_privacy {
    color: white;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    margin: 15px auto!important;
    width: 80%;
}

/* add new block*/
#by_entering_eu a {
    color: white;
    text-decoration: underline;
}

/* end new block*/

#age_content .age_privacy a {
    color: white;
    text-decoration: underline;
}

#age_content .age_privacy #by_entering_eu {
    display: none;
}

#age_content .age_terms {
    margin: 15px 0px;
    font-size: 12px;
}

#age_content .age_terms a {
    color: white;
    text-decoration: underline;
}

#age_content #age_confirm {
    margin-top: 15px;
}

#age_content.is_mobile #age_confirm button {
    display: block;
    width: 90%;
    min-height: 30px;
    min-width: 0px;
    margin: 0px auto;
    padding: 10px 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#age_content #age_confirm button {
    cursor: pointer;
    min-width: 380px;
    font-weight: bold;
    color: white;
    background: none;
    background-color: grey;
    border: 1px solid grey;
    margin-top: 5px;
    padding: 15px 40px;
    font-size: 100%;
    text-transform: uppercase;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

#age_content #age_confirm button:hover {
    color: white;
    background-color: black;
    border: 1px solid white;
    -webkit-box-shadow: 0px 0px 10px #fff;
    -moz-box-shadow: 0px 0px 10px #fff;
    box-shadow: 0px 0px 10px #fff;
}

#age_content .select_drop_menu_default_style:hover {
    cursor: pointer;
}

#age_content #age_age_date_picker input {
    height: 33px;
    text-align: center;
    color: #333;
    font-size: 15px;
    width: 88%;
    margin: 0 auto;
}

#age_content #age_select_country_group {
    list-style: none;
    padding: 0;
}

#age_content #age_select_country_group #show_selected_language,
#show_selected_country {
    margin: 3px; /* Added to fix focus for country and language links */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#age_content #age_select_country_group .pipe {
    margin: 3px;
}

#age_content #age_select_country_group > li {
    display: inline-block;
    position: relative;
    /*max-height: 30px;*/
    overflow: hidden;
}

#age_content #age_select_country_group select {
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    min-width: 100%;
    z-index: 10;
}

#age_content #age_select_country_group .country {
    width: 45%;
    text-align: right;
}

#age_content #age_age_date_textfield input {
    max-width: 100%;
    width: 364px;
    height: 35px;
    padding: 5px 5px;
}

#age_content #age_select_country_group .pipe {
    color: white;
    width: 3px;
    display: inline-block;
}

#age_content #age_select_country_group .language {
    width: 45%;
    text-align: left;
    display: inline-block;
}

#age_content #age_select_country_group a {
    color: white;
    font-size: 12px;
    display: block;
    text-decoration: underline;
}

#age_content #age_select_country_group a:hover {
    color: white;
}

#age_content #age_age_select_group {
    width: 100%;
    /*margin: 0px auto;*/
    margin-left: auto;
    margin-right: auto;
}

#age_content #age_age_select_group select {
    width: 30%!important;
    height: 33px;
    font-size: 16px!important;
    margin-left: 1%;
    background-color: #000000!important;
    background-position-x: 0;
    color: white!important;
    border: none;
    display: inline-block;
}

#age_age_date_input_textfield {
  width: 69%;
  margin: 0 auto;
}

.is_mobile #age_age_date_input_textfield {
  width: 97%;
}

#age_age_date_input_textfield input{
  width: 30%;
  height: 40px;
  font-size: 16px;
  text-align: center;
  background-color: #fff;
  border-radius: 5px;
  border: none;
  margin-right: 1%;
}

#age_age_date_input_textfield input:last-child{
  margin-right: 0;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#age_content #province_field_block {
    margin-top: 15px;
}

#age_content #age_select_province {
    min-width: 380px;
    font-size: 14px;
    background-color: #fff;
}

#age_content.is_mobile #age_select_province {
    width: 90%;
    min-width: 0px;
    font-size: 15px;
}

#age_content #facebook_login_button_bottom {
    margin-top: 18px;
}

#age_content #age_confirm_non_muslim {
    margin-top: 15px;
    padding-bottom: 0px;
}

#age_content .age_responsibility_small_div {
    color: white;
    font-size: 12px;
}

#age_content .age_responsibility_small_div a {
    color: white;
}

#age_content .age_logo {
    width: 137px;
    overflow: hidden;
    margin: 0 auto;
}

#age_content .age_logo img {
    max-width: 100%;
}

#age_content.is_mobile .age_group {
    float: none;
    width: auto;
    margin-bottom: 10px;
}

#age_select_date_of_birth {
    text-align: center;
}

#age_content.is_mobile #age_select_date_of_birth {
    width: 87%;
    height: 25px;
}

#age_content.is_mobile #age_age_select_group {
    width: 97%;
}

#age_content.is_mobile .age_field_group {
    text-align: center;
}

#age_content.is_mobile #age_confirm_non_muslim {
    margin-top: 15px;
}

#age_content.is_mobile label {
    padding-left: 0px;
}

#age_content.is_mobile label input {
    position: relative;
    left: auto;
    top: -1px;
    margin-right: 5px;
}

#age_content.is_mobile #age_age select {
    width: 30%;
    font-size: 16px;
}

#age_content.is_mobile #age_age input {
    width: 20%;
    font-size: 16px;
}

#age_content.is_mobile #age_select_language,
#age_content.is_mobile #age_select_country {
    width: 35%;
    font-size: 14px;
}

#age_content .line {
    position: relative;
    width: 100%;
    height: 1px;
    margin: 15px 0px;
    background: linear-gradient(to right, #eabd71 13%, #e5b76e 25%, #d9a867 29%, #d2a062 36%, #d09d61 45%, #d29f63 45%, #e3b378 49%, #efc287 53%, #f6ca8f 57%, #f8cd92 65%, #f6cb90 65%, #e5b77b 69%, #d9a86c 72%, #d2a064 77%, #d09d61 91%);;
}

#age_content #facebook_social {
    margin: 10px;
    display: none;
}

#age_content #age_facebook_basic_top .age_facebook_or_label {
    margin-top: 15px;
    display: none;
}

#age_content .socialGlobalBtn {
    /* global button class */
    display: inline-block;
    text-decoration: none;
    min-width: 380px;
    height: 39px;
    padding: 5px 0px;
    color: #fff;
    font-size: 110%;
    line-height: 2em;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

#age_content .socialGlobalBtn span {
    top: -2px;
    position: relative;
}

#age_content.is_mobile .socialGlobalBtn {
    /* global button class */
    display: block;
    width: 90%;
    min-width: 0px;
    margin: 0px auto;
    height: 33px;
    padding: 3px 9px;
    font-size: 10px;
}
/* facebook button class*/

#age_content .facebookBtn {
    background: #4060A5;
}

#age_content .facebookBtn:before {
    /* use :before to add the relevant icons */
    font-family: "FontAwesome";
    font-size: 180%;
    margin: 4px 10px;
    content: "\f09a";
    /* add facebook icon */
    display: inline-block;
    vertical-align: bottom;
}

#age_content .facebookBtn:hover {
    background: #24355C;
}

input.placeholder {
    text-align: center;
}

::-webkit-input-placeholder {
    text-align: center;
}

:-moz-placeholder { /* Firefox 18- */
    text-align: center;
}

::-moz-placeholder {  /* Firefox 19+ */
    text-align: center;
}

:-ms-input-placeholder {
    text-align: center;
}