/* ---------------------------- */
/* cookie consent dialog styles */
/* ---------------------------- */

#PartnerLandingPage > #cookiedialogbackground{
  display: block;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  background-color: rgba(0, 0, 0, .5);

  position: fixed;
  align-items: center;
  justify-content: center;

  display: flex;
  bottom: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  z-index: 500;
}

#cookiedialogbox {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 1000;
}

#PartnerLandingPage #cookiedialogbox{
  bottom: auto;
  left: auto;
  z-index: 1000;
}

#PartnerLandingPage .SubmitButtonRow{
  display: flex;
  flex-direction: row-reverse;
}
#PartnerLandingPage .cookiedialogbuttons .cookiedialogbutton-left{
  order: 2;
  margin-left: auto;
}
#PartnerLandingPage .cookiedialogbuttons .cookiedialogbutton-right {
  order: 1;
  margin-left: 60px;
}
#cookiedialogbox .CaptionInnerContainer .Text {
  padding-left: 170px;
}
#cookiedialogbox .CookieHeaderText::before {
  content: 'Stop! What about cookies?';
}
#PartnerLandingPage #cookiedialogbox .CookieHeaderText::before {
  content: 'What about cookies?';
}
#cookiedialogimage {
  position: absolute;
  bottom: 0px;
  left: -27px;
  width: 184px;
  height: 194px;
  float: left;
  z-index: 1001;
}
#cookiedialogcontent {
  text-align: left;
  font-family: Verdana, Arial, Times New Roman, sans-serif;
  font-size: 8pt;
  color: #5A2800;
  margin-left: 162px;
  max-width: 420px;
  padding: 8px;
  word-wrap: break-word;
}
#cookiedetailsbox .SubmitButtonRow {
  margin-left: 2px;
  margin-right: 8px;
  margin-top: 10px;
  margin-bottom: 10px;
}
#cookiedetailsbox .LeftButton {
  flex-grow: 2;
}
#cookiedetailsbox .CenterButton {
  margin-left: 5px;
  margin-right: 5px;
}
#cookiedetailsbox {
  display: none;
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 600px;
  z-index: 1001;
}

#PartnerLandingPage #cookiedialogbackground > #cookiedetailsbox {
  bottom: auto;
  left: auto;
}

.cookiedetailscontent {
  text-align: left;
  font-family: Verdana, Arial, Times New Roman, sans-serif;
  font-size: 8pt;
  color: #5A2800;
  word-wrap: break-word;
}

/* Toggle Switches */
.switch {
  position: relative;
  display: inline-block;
  width: 37px;
  height: 20px;
}

.switch input {
  display:none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: green;
}

input:focus + .slider {
  box-shadow: 0 0 1px green;
}

input:checked + .slider:before {
  -webkit-transform: translateX(16px);
  -ms-transform: translateX(16px);
  transform: translateX(16px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

input:disabled + .slider {
  background-color: #ccc;
}

input:disabled + .slider:before {
  background-color: gray;
}

/** -------------------------------
  *  Stylesheet declarations for the
  *  NEW TABLES
  *  -------------------------------
  */

.TableContainer {
  border: 1px solid black;
  position: relative;
  width: 100%;
  font-size: 1px;
}
.TableContainer .Odd {
  background-color: #f1e0c6;
}
.TableContainer .Even {
  background-color: #d5c0a1;
}

/* TABLEHEADER DECORATION */
.TableContainer .CaptionContainer {
  position: relative;
  font-size: 1pt;
  background-color: #5f4d41 !important;
  height: 100%;
  width: 100%;
  text-align: left;
}
.CaptionContainer .CaptionInnerContainer {
  position: relative;
  background-color: #5f4d41;
  width: 100%;
  height: 100%;
  padding-top: 3px;
  padding-bottom: 4px;
}
.CaptionContainer .Text {
  font-family: Verdana, Arial, Times New Roman, sans-serif;
  font-size: 10pt;
  font-weight: bold;
  text-align: left;
  color: white;
  padding-left: 10px;
  padding-top: 0px;
  padding-bottom: 0px;
}
.CaptionContainer .CaptionEdgeLeftTop {
  position: absolute;
  width: 5px;
  height: 5px;
  top: -2px;
  left: -2px;
  z-index: 50;
}
.CaptionContainer .CaptionEdgeRightTop {
  position: absolute;
  width: 5px;
  height: 5px;
  top: -2px;
  right: -2px;
  z-index: 50;
}
.CaptionContainer .CaptionEdgeLeftBottom {
  position: absolute;
  width: 5px;
  height: 5px;
  left: -2px;
  bottom: -3px;
  z-index: 50;
}
.CaptionContainer .CaptionEdgeRightBottom {
  position: absolute;
  width: 5px;
  height: 5px;
  right: -2px;
  bottom: -3px;
  z-index: 50;
}
.CaptionContainer .CaptionBorderTop {
  position: absolute;
  width: 100%;
  height: 4px;
  left: 0px;
  top: -1px;
}
.CaptionContainer .CaptionBorderBottom {
  position: absolute;
  width: 100%;
  height: 4px;
  left: 0px;
  bottom: -2px;
}
.CaptionContainer .CaptionVerticalLeft {
  position: absolute;
  height: 100%;
  width: 3px;
  left: -1px;
  top: 0px;
}
.CaptionContainer .CaptionVerticalRight {
  position: absolute;
  height: 100%;
  width: 3px;
  right: -1px;
  top: 0px;
}
* html .TableContainer .CaptionContainer .CaptionEdgeRightTop {
  right: -3px;
}
* html .TableContainer .CaptionContainer .CaptionEdgeLeftBottom {
  bottom: -4px;
}
* html .TableContainer .CaptionContainer .CaptionEdgeRightBottom {
  right: -3px;
  bottom: -4px;
}
* html .TableContainer .CaptionContainer .CaptionBorderBottom {
  bottom: -3;
}
* html .TableContainer .CaptionContainer .CaptionVerticalRight {
  right: -2px;
}
/* TABLE CONTENT */
.TableContentContainer {
  border: 1px solid #5F4D41;
  position: relative;
  margin-right: 7px;
  margin-bottom: 5px;
  height: 100%;
  background-color: #d4c0a1;
  padding: 0px;
}
.TableContent {
  width: 100%;
  border-collapse: collapse;
}
.TableContent td {
  padding-left: 5px;
  padding-top: 2px;
  padding-right: 5px;
  padding-bottom: 2px;
}
.InnerTableContainer .TableContentContainer {
  box-shadow: 3px 3px 2px #875f3e;
}
/* INNERLYOUT 1 */
.TableContainer .Table1 {
  width: 100%;
  background-color: #d4c0a1;
  border: 2px solid #55636c;
}
.TableContainer .Table1 .InnerTableContainer {
  padding: 5px;
}
/* INNERLYOUT 2 */
.TableContainer .Table2 {
  width: 100%;
  border: 2px solid #55636c;
  background-color: #f1e0c5;
  padding: 0px;
  margin: 0px;
  border-collapse: collapse;
}
.TableContainer .Table2 td {
  padding: 0px;
  margin: 0px;
}
.TableContainer .Table2 .InnerTableContainer {
  margin-top: 1px;
}
.TableContainer .Table2 .InnerTableContainer table {
  border-collapse: collapse;
}
.TableContainer .Table2 .InnerTableContainer td {
  padding-top: 2px;
  padding-left: 5px;
  padding-bottom: 2px;
  padding-right: 5px;
  border: 1px solid #faf0d7;
}
/* INNERLYOUT 3 */
.TableContainer .Table3 {
  width: 100%;
  border: 2px solid #55636c;
  background-color: #f1e0c5;
}
.TableContainer .Table3 .InnerTableContainer {
  width: 100%;
  position: relative;
  margin-top: 5px;
  margin-left: 3px;
}
.TableContainer .Table3 .TableContent td {
  border: 1px solid #faf0d7;
}
/* INNERLYOUT 4 */
.TableContainer .Table4 {
  width: 100%;
  border: 2px solid #55636c;
  background-color: #f1e0c5;
  padding-left: 3px;
}
.TableContainer .Table4 .InnerTableContainer {
  width: 100%;
  position: relative;
  margin-top: 3px;
}
.TableContainer .Table4 .InnerTableContainer .TableContentContainer {
  margin-right: 4px;
}
.TableContainer .RowInnerTableDataBorders td {
  border: 1px solid #faf0d7;
}
/* INNERLYOUT 5 */
.TableContainer .Table5 {
  width: 100%;
  border: 2px solid #55636c;
  background-color: #f1e0c5;
}
.TableContainer .Table5 .InnerTableContainer {
  width: 100%;
  position: relative;
  margin-top: 5px;
  margin-left: 3px;
}

/* Captionless Table */
.TableContainer.Captionless {
  border: none;
}
.TableContainer.Captionless table {
  border: none;
  background-color: unset;
}
.TableContainer.Captionless .InnerTableContainer {
  margin: 0 !important;;
}
.TableContainer.Captionless .TableContentContainer {
  margin: 0 !important;;
}


/** -------------------------------
  *  Stylesheet declarations for the
  *  BUTTONS
  *  -------------------------------
  */

  .BigButton {
  position: relative;
  width: 135px;
  height: 25px;
  cursor: pointer;
  z-index: 10;
  /* prevent text selection on long touch */
  user-select: none;
  -webkit-user-select: none;
}
.BigButtonOver {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 135px;
  height: 25px;
  visibility: hidden;
  z-index: 15;
}
.ButtonText {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 25px;
  width: 135px;
  z-index: 20;
}
.BigButtonText {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 135px;
  height: 25px;
  margin: 0px;
  padding: 0px;
  cursor: pointer;
  background: none;
  border: none;
  text-align: center;
  color: #ffd18c;
  font-family: Verdana, Arial, Times New Roman, sans-serif;
  font-size: 12px;
  font-weight: normal;
  z-index: 20;
  text-shadow:
  -1px -1px 0 #000,
    0   -1px 0 #000,
    1px -1px 0 #000,
    1px  0   0 #000,
    1px  1px 0 #000,
    0    1px 0 #000,
  -1px  1px 0 #000,
  -1px  0   0 #000;
}
span.BigButtonText,
a.BigButtonText {
  margin-top: 5px;
}
.BigButtonText:hover {
  top: 1px;
  left: 1px;
}
a.BigButtonText,
a.BigButtonText:link,
a.BigButtonText:visited,
a.BigButtonText:focus,
a.BigButtonText:active,
a.BigButtonText:hover {
    font-weight: normal;
    color: #ffd18c;
    text-decoration: none;
}

.SmallButton {
  position: relative;
  width: 60px;
  height: 25px;
  cursor: pointer;
  z-index: 10;
  /* prevent text selection on long touch */
  user-select: none;
  -webkit-user-select: none;
}
.SmallButtonOver {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 60px;
  height: 25px;
  visibility: hidden;
  z-index: 15;
}
.SmallButtonText {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 60px;
  height: 25px;
  margin: 0px;
  padding: 0px;
  cursor: pointer;
  background: none;
  border: none;
  text-align: center;
  color: #ffd18c;
  font-family: Verdana, Arial, Times New Roman, sans-serif;
  font-size: 12px;
  font-weight: normal;
  z-index: 20;
  text-shadow:
  -1px -1px 0 #000,
    0   -1px 0 #000,
    1px -1px 0 #000,
    1px  0   0 #000,
    1px  1px 0 #000,
    0    1px 0 #000,
  -1px  1px 0 #000,
  -1px  0   0 #000;
}
.SmallButtonText:hover {
  top: 1px;
  left: 1px;
}

/* button row */
.SubmitButtonRow {
  position: relative;
  margin-top: 25px;
  margin-bottom: 25px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}
.SubmitButtonRow .LeftButton,
.SubmitButtonRow .CenterButton,
.SubmitButtonRow .RightButton {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 5px;
  text-align: center;
}
/** ---------------------------
  *  password strength indicator
  *  ---------------------------
  */
.PWStrengthContainer {
  position: relative;
  clear: both;
}
.PWStrengthIndicator {
  text-align: center;
  border: 1px solid grey;
  color: white;
  width: 211px;
  font-size: 10pt;
}
.TextInputLine .PWStrengthIndicator {
  width: 242px;
}
.PWStrengthLevel0, .PWStrengthLevel1 {
  background-color: #EC644B;
}
.PWStrengthLevel2 {
  background-color: #eb8005;
}
.PWStrengthLevel3 {
  background-color: #b0b300;
}
.PWStrengthLevel4 {
  background-color: #20a000;
}
.PWStrengthToolTip {
  display: none;
  position: absolute;
  width: 215px;
  top: -25px;
  padding: 0px 8px 8px 8px;
  border: 1px double #5A2800;
  color: #5A2800;
  font-size: 8pt;
  background-image: url(../images/global/content/scroll.gif);
  z-index: 1000;
  left: 250px;
}
.TextInputLine .PWStrengthToolTip {
  left: 270px;
  min-width: 250px;
}

/* slightly different layout for password tool tips on the landing page */
.BoxInputText .PWStrengthToolTip {
  background-image: none;
  left: -272px;
  width: 250px;
  margin-top: -33px;
  padding: 5px;
  font-size: 8pt;
  color: #ffffff;
  background-color: #da761e;
  border: 2px outset #ffffff;
  filter: alpha(opacity=90);
  opacity: 0.90;
  -moz-opacity: 0.90;
  -moz-border-radius: 10px;     /* Firefox */
  -webkit-border-radius: 10px;  /* Safari, Chrome */
  -khtml-border-radius: 10px;   /* Konqueror */
  border-radius: 10px;          /* CSS3 */
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
  z-index: 1;
}
.SmallPasswordForm .PWStrengthToolTip {
  top: -65px;
}
.PWStrengthToolTipHeadline {
  font-weight: bold;
  margin-top: 8px;
  margin-bottom: 5px;
}
.BoxInputText .PWStrengthToolTipHeadline {
  margin-top: 0px;
}
.PWStrengthToolTip .HelperDivArrow {
  background-image: url(../images/global/content/helper-div-arrow.png);
  position: absolute;
  top: 7px;
  left: -8px;
  width: 8px;
  height: 13px;
}
.SmallPasswordForm .PWStrengthToolTip .HelperDivArrow {
  top: 45px;
}
/* slightly different layout for password tool tips on the landing page */
.BoxInputText .PWStrengthToolTip .HelperDivArrow {
  display: none;
}
.PWStrengthToolTip .InputIndicator {
  position: absolute;
  height: 12px;
  width: 12px;
  left: 0px;
  top: 2px;
  float: left;
  margin-right: 5px;
  background-repeat: no-repeat;
}
.PWStrengthToolTip .PWRule {
  position: relative;
  padding-left: 15px;
  margin-bottom: 4px;
}
.PWStrengthToolTip .InputIndicatorOK {
  background-image: url(../images/global/general/ok.gif)
}
.PWStrengthToolTip .InputIndicatorNotOK {
  background-image: url(../images/global/general/nok.gif)
}
.PasswordInputLabel {
  margin-top: 0px;
}
.CharacterNameInputLabel {
  margin-top: 25px;
}

/* 9 Grid Buttons */
.TibiaButton {
  background: none;
  border-image-source: url(../images/global/buttons/button_standard_9grid_idle.png);
  border-image-slice: 12 12 fill;
  border-image-width: auto;
  border-image-outset: 0;
  border-image-repeat: repeat;
  border-width: 0;
  padding: 0;
  display: inline-block;
  text-align: center;
  color: #ffd18c;
  font-family: Verdana, Arial, Times New Roman, sans-serif;
  font-size: 12px;
  font-weight: normal;
  text-shadow:
  -1px -1px 0 #000,
    0   -1px 0 #000,
    1px -1px 0 #000,
    1px  0   0 #000,
    1px  1px 0 #000,
    0    1px 0 #000,
  -1px  1px 0 #000,
  -1px  0   0 #000;
  box-sizing: border-box;
  cursor: pointer;
}
.TibiaButton:hover:not([disabled]) {
  border-image-source: url(../images/global/buttons/button_standard_9grid_hover.png);
}
.TibiaButton.GreenButton {
  border-image-source: url(../images/global/buttons/button_standard_green_9grid_idle.png);
}
.TibiaButton.GreenButton:hover:not([disabled]) {
  border-image-source: url(../images/global/buttons/button_standard_green_9grid_hover.png);
}
.TibiaButton:disabled {
  border-image-source: url(../images/global/buttons/button_standard_9grid_disabled.png);
  color: #cccccc;
  cursor: not-allowed;
}
.TibiaButtonWithIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
}
.TibiaButtonWithIcon img,
.TibiaButtonWithIcon span {
  margin-right: 4px;
}
.TibiaButtonWithIcon:hover:not([disabled]) img,
.TibiaButtonWithIcon:hover:not([disabled]) span {
  transform: translate(1px, 1px);
}

@media screen\0, body {
  #cookiedialogbox {
    margin-left: -303px;
    bottom: -81px;
  }
  #cookiedetailsbox {
    margin-left: -303px;
    bottom: -81px;
  }
}

/* desktop mode on mobile devices on landingpage
@media (max-width: 500.01px) {
  #cookiedialogbox .CaptionInnerContainer .Text {
    padding-left: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
  }
}
@media (max-width: 768.01px) {
  #cookiedialogbox, #cookiedetailsbox {
    left: unset;
    right: unset;
    margin-left: 10px;
    margin-right: 10px;
  }
}*/