.mbox-loader {
  min-width: 100px;
  height: 25px;
  position: absolute;
  bottom: 40%;
  left: 50%;
  margin: auto;
  margin-left: -50px;
  padding:0;
  list-style-type: none;
}

.mbox-loader li {
  float: left;
  position: relative;
}

.circle {
  width: 20px;
  height: 20px;
  border-radius: 0 0 50% 50%;
  border: 2px solid #fff;
  border-top: 0;
  border-left: 0;
  border-right: 0;
}

.ball {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  top: 50%;
  left: 50%;
  margin-top: -5px;
  margin-left: -5px;
  border-radius: 100%;
  background: #fff;
  box-shadow: 0 -15px 0 0 rgba(255, 255, 255, 0.15), 0 -10px 0 0 rgba(255, 255, 255, 0.10), 0 -5px 0 0 rgba(255, 255, 255, 0.05);
}

.circle {
  -webkit-animation: rotate 1.5s cubic-bezier(0.45, 0, 1, 1) infinite;
  animation: rotate 1.5s cubic-bezier(0.45, 0, 1, 1) infinite;
}

.ball {
  -webkit-animation: fall 1.5s cubic-bezier(0.95, 0, 1, 1) infinite;
  animation: fall 1.5s cubic-bezier(0.95, 0, 1, 1) infinite;
}

.mbox-loader li:nth-child(1) div {
  -webkit-animation-delay: 100ms;
  animation-delay: 100ms;
}

.mbox-loader li:nth-child(2) div {
  -webkit-animation-delay: 200ms;
  animation-delay: 200ms;
}

.mbox-loader li:nth-child(3) div {
  -webkit-animation-delay: 300ms;
  animation-delay: 300ms;
}

.mbox-loader li:nth-child(4) div {
  -webkit-animation-delay: 400ms;
  animation-delay: 400ms;
}

.mbox-loader li:nth-child(5) div {
  -webkit-animation-delay: 500ms;
  animation-delay: 500ms;
}

.modal-open-adjustment {
    height: 100%;
    overflow: hidden;
}

@keyframes rotate {
  0%, 20% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@-webkit-keyframes rotate {
  0%, 20% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes fall {
  0%, 20% {
    transform: translatey(-30px);
    opacity: 0;
  }
  20%, 24%, 27%, 30%, 50%,
  75% {
    transform: translatey(0px);
    opacity: 1;
  }
  22% {
    transform: translatey(-10px)
  }
  25% {
    transform: translatey(-6px)
  }
  28% {
    transform: translatey(-2px)
  }
  30% {
    box-shadow: 0px 0px 0px rgba(255, 255, 255, 0.3);
  }
  75%,
  100% {
    box-shadow: 0 -15px 0 0 rgba(255, 255, 255, 0.15), 0 -10px 0 0 rgba(255, 255, 255, 0.10), 0 -5px 0 0 rgba(255, 255, 255, 0.05);
    transform: translatey(30px);
    opacity: 0;
  }
}

@-webkit-keyframes fall {
  0%, 20% {
    -webkit-transform: translatey(-30px);
    opacity: 0;
  }
  20%, 24%, 27%, 30%, 50%,
  75% {
    -webkit-transform: translatey(0px);
    opacity: 1;
  }
  22% {
    -webkit-transform: translatey(-10px)
  }
  25% {
    -webkit-transform: translatey(-6px)
  }
  28% {
    -webkit-transform: translatey(-2px)
  }
  30% {
    box-shadow: 0px 0px 0px rgba(255, 255, 255, 0.3);
  }
  75%,
  100% {
    box-shadow: 0 -15px 0 0 rgba(255, 255, 255, 0.15), 0 -10px 0 0 rgba(255, 255, 255, 0.10), 0 -5px 0 0 rgba(255, 255, 255, 0.05);
    -webkit-transform: translatey(30px);
    opacity: 0;
  }
}

.mboxloader-wrap, 
.mbox-deposit-wrap, 
.mbox-rewards-wrap {
  position: absolute;
  left: 0;
  top: 0;
  padding: 0;
  overflow: hidden;
  border-width: 0px;
  border-style: solid;
  border-radius: 5px;   
}

.mbox-rewards-wrap{
  overflow: visible;
  border: solid 1px #cf9c33;
}

.mboxloader-outer, .mbox-deposit-outer {
  background-repeat: no-repeat;
  background-position: calc(50% - 0px) calc(60% - 130px);
  background-size: auto 200px;
  height: 100%;
  width: 100%; 
  position: relative;
  overflow: hidden;
}

#mbox-loader{
  position: fixed;
}

.mbox-deposit-outer {
  background-color: #000;
}

.mbox-rewards-outer{
  background: #000;
  height: 100%;
  position: relative;
  width: 100%;
  overflow: visible;
}

.mboxloader-content,
.mbox-deposit-content,
.mbox-rewards-content {
  height: 0;
  padding: 0;
  position: relative;
  width: 0;
  overflow: hidden;
}

.mbox-rewards-content{
  overflow: visible !important;
}

.mbox-deposit-frame, .mbox-rewards-frame{
  overflow: hidden;
}

.mboxloader-content img, mbox-rewards-content img{
  width: 199px;
  height: 293px;
  margin: 0 auto;
}

#fancybox-outer, .fancybox-outer-orig, .multibox-outer {
    border-radius: 3px;
  position: relative;
  width: 100%;
    height: 100%;
    background: #fff;
    /*
       background: #000 url('/diamondbet/images/fancybox/bkg.png') repeat-x;
       border: solid 2px #cf9c33;
   */
}

#fancybox-content, .multibox-content, .mboxloader-content, .mbox-deposit-content, .mbox-rewards-content {
  width: 0;
  height: 0;
  padding: 0;
  text-align: center;
  outline: none;
  position: relative;
  overflow: hidden;
  z-index: 1102;
  border: hidden;
  color: #000;
}

.multibox-content{
    border-radius: 3px;
    overflow: hidden;
}

#fancybox-close, .fancybox-close-orig, .mbox-rewards-close {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 30px;
  height: 30px;
  background: transparent url('/diamondbet/images/fancybox/fancybox.png') -40px 0px;
  cursor: pointer;
  z-index: 1103;
  display: none;
}

.mbox-rewards-close{
  background: url('/diamondbet/images/lightbox/close-lightbox.png');
  width: 22px;
  height: 22px;
  display: auto;
  top: -10px;
  right: -10px;
}

.multibox-wrap{
    padding: 0;
    border-radius: 3px;
    position: fixed;
    /*
       box-shadow: 4px 4px 6px 4px #000;
    */
}

.multibox-overlay{
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0.8 !important;
  background: #000;
  width: 100% !important;
  height: 100% !important; 
}

.mboxloader-close, .mbox-deposit-close{
  display: none;
}

#inhousefrb-container {
  width: inherit;
  height: inherit;
  background-color: #141213;
}

#inhousefrb-container #inhousefrb-header {
  height:62px;
  background-color: #DD9E37;
  color: white;
  padding-top: 20px;
  box-sizing: border-box;
}
#inhousefrb-container #inhousefrb-header-left {
  width: 150px;
  text-align: center;
  display: inline-block;
}

#inhousefrb-container #inhousefrb-header-center {
  width: 330px;
  font-size: 20px;
  text-align: center;
  font-weight: bold;
  display: inline-block;
}

#inhousefrb-container #inhousefrb-header-right {
  width: 150px;
  text-align: center;
  display: inline-block;
}

#inhousefrb-container #inhousefrb-content-container {
  background-color: white;
  border-radius: 5px;
  width: calc(100% - 30px);
  height: calc(100% - 154px);
  margin: 15px;
}

#inhousefrb-container #inhousefrb-content {
  position: relative;
  height: 100% ;
  margin-bottom: 15px;
}

#inhousefrb-container #inhousefrb-image {
  position: absolute;
  top: 0px;
  text-align: center;
  width: 260px;
  height: calc(100% - 30px);
  margin-top: 30px;
  display: inline-block;
}

#inhousefrb-container #inhousefrb-image.start-msg {
  background-repeat: no-repeat;
  background-position: center top;
}

#inhousefrb-container #inhousefrb-image.end-msg {
  background-repeat: no-repeat;
  background-position: center top;
}

#inhousefrb-container #inhousefrb-image.amount-msg {
  background-repeat: no-repeat;
  background-position: center top;
}

#inhousefrb-container #inhousefrb-text {
  position: absolute;
  top: 0px;
  right: 15px;
  text-align: center;
  height: calc(100% - 30px);
  width: 325px;
  display: inline-block;
  color: #3C3C3C;
  margin-top: 30px;
}

#inhousefrb-button-container {
  height: 62px;
  width: 100%;
}

#inhousefrb-container #inhousefrb-button {
  display: inline-block;
  text-align: center;
  height: 30px;
  min-width: 200px;
  padding:14px 30px 6px 30px;
  background-color: #DD9E37;
  color: white;
  font-size: 18px;
  border-radius: 2px;
  margin-left: calc(50% - 130px);
  margin-right: calc(50% - 130px);
  cursor: pointer;
}

#close-inhousefrb-box {
  height: 30px;
  cursor: pointer;
  font-size: 22px;
}

#inhousefrb-text > span {
  font-size: 25px;
  font-weight: bold;
  text-transform: uppercase;
  color: #DD9E37;
  margin: 0px;
}

#inhousefrb-text > em {
  font-size: 16px;
  font-style: normal;
  font-weight: bold;
  color: #3C3C3C;
  display: block;
}

#inhousefrb-text > strong {
  display: block;
  font-size: 35px;
  margin-top: 20px;
  color: #DD9E37;
}

#inhousefrb-text > p {
  color: #5c5c5c;
  font-size: 16px;
}

.mbox-msg-title-bar{
    min-width: 150px;
    height: 40px;
    background-color: #DD9E37;
    color: #fff;
    line-height: 40px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}

.mbox-msg-container .flex-center{
    width: 100%;
}

.mbox-msg-container a{
    color: #000;
}

.lic-mbox-wrapper {  /* For step 1 and step 2 */
    background: #fff !important; 
    color: #fff;
    min-width: 300px;
}

.lic-mbox-header {
    background-color: #DD9E37;
    height: 62px;
    text-align: center;
}

/*
.lic-mbox-header-left {
    width: 150px;
    height: 62px;
    float: left;
}

.lic-mbox-header-center {
    width: 600px;
    float: left;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
}
*/

.lic-mbox-title {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    padding: 20px;
}

.lic-mbox-close-box {
    position: absolute;
    top: 22px;
    right: 30px;
    margin: 0;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
}

.lic-mbox-container {
    padding: 20px;
    overflow:  hidden;
    color: #000;
    font-size: 14px;
}

.lic-mbox-container a{
    color: #000000;
}

.lic-mbox-btn{
    font-size: 20px;
    font-weight: 600;
    height: 40px;
    padding-top: 20px;
    text-align: center;
    cursor: pointer;
    border-radius: 2px;    
}

.lic-mbox-btn-active {
    background-color: #DD9E37;
    color: #fff;
}

.lic-mbox-btn-inactive {
    background-color: #888;
    color: #555;
}

.lic-mbox-input{
    height: 50px;
    color: #ADADAD;
    border-color: #D0D0D0;
    border-radius: 2px;
    box-shadow: none;
    margin-top: 10px;
    font-size: 20px;
    background-color: #fff;
    text-align: center;
    width: 420px;
}

.lic-mbox-btn{
    width: 420px;
}

#lic-mbox-login-custom-top #lic-mbox-btn-show-default{
    width: 250px;
}

#lic-mbox-login-custom-top #lic-mbox-btn-show-custom{
    width: 150px;
}

#lic-mbox-login-custom-info{
    float: left;    
}

#lic-mbox-login-custom-top{
    margin-top: 4px;
    margin-bottom: 4px;
}

#lic-mbox-login-custom .remember_nid{
    text-align: left;
}

/*
 *Rules used inside Dialog Popup
 */
.lic-mbox-wrapper.dialog{
    width: 400px;
}

.lic-mbox-wrapper.dialog.mobile{
    width: 100%;
}

.lic-mbox-wrapper.dialog.mobile:not(.limits-deposit-set) {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.lic-mbox-wrapper.dialog.limits-deposit-set:not(.mobile){
    width: 800px;
}

.lic-mbox-actions {
    display: flex;
    justify-content: space-around;
    justify-items: center;
    padding: 0 20px 20px;
}
.lic-mbox-actions #dialog__button--ok,
.lic-mbox-actions #dialog__button--yes,
.lic-mbox-actions #dialog__button--no {
    /*flex: 1;*/
    width: 120px;
    font-size: 20px;
    text-align: center;
    background-color: #DD9E37;
    border-radius: 7px;
    height: 30px;
    cursor: pointer;
    font-weight: 600;
    line-height: 30px;
    padding: 5px;
}

.lic-mbox-wrapper.dialog.mobile .lic-mbox-actions {
    padding: 0 20px 120px;
}

.lic-mbox-wrapper.dialog.mobile .lic-mbox-container {
    overflow: visible;
}

.betmax-label {
    text-align: left;
    padding-bottom: 10px;
}

#rg-duration-betmax {
    margin: 10px 0;
}

#rg-duration-betmax > div {
    width: 100%;
}

.dialog__image--centered {
    text-align: center;
}
.dialog__image--centered img {
    height: 150px;
}
.dialog__message--centered {
    font-size: 18px;
    text-align: center;
}

.loader-msg {
    color: #fff !important;
    font-size: 14px;
    float: left;
    position: relative;
    margin-left: -20px;
    font-weight: bold;
}

.mbox-loader li {
    list-style-type: none;
}

.mbox-loader ul {
    float: left;
    position: relative;
    padding: 0px !important;
}

/* Rules taken from registration process css to style the Select
(there are some slight changes compared to the one on registration) */
.lic-mbox-wrapper select {
    width: 100%;
    height: 50px;
    color: #ADADAD;
    border-color: #D0D0D0;
    border-radius: 2px;
    box-shadow: none;
    margin-top: 10px;
    font-size: 20px;
    padding-left: 50px;
    background-color: #fff;
}
.styled-select, .styled-select-valid, .styled-select-error {
    position: relative;
    display: inline-block;
}

.styled-select::after, .styled-select-valid::after, .styled-select-error::after {
    content: "\25bc";
    position: absolute;
    top: 11px;
    right: 1px;
    display: block;
    width: 30px;
    font-size: 12px;
    line-height: 48px;
    text-align: left;
    color: #ADADAD;

    -webkit-pointer-events: none;
    -moz-pointer-events: none;
    pointer-events: none;
}

.styled-select::after {
    background: #fff none repeat scroll 0 0;
}

.styled-select-valid::after {
    background: #e6f8ea none repeat scroll 0 0;
}

.styled-select-error::after  {
    background: #FED6D7 none repeat scroll 0 0;
}


/*
Special rules for "reg-dep-lim-prompt" & "dep-lim-info-box"
we cannot override these values "globally" for the "lic-mbox" popups
*/
#reg-dep-lim-prompt .lic-mbox-container {
    text-align: center;
    font-weight: bold;
}
#reg-dep-lim-prompt .lic-mbox-wrapper select {
    padding-left: 15px;
}
/*Will fix the mboxMsg only for "Limit added successfully" as per design*/
div#dep-lim-info-box ~ div#mbox-msg > .multibox-outer {
    width: 80% !important;
    margin: 0 auto !important;
}
div#reg-dep-lim-prompt .styled-select {
    width: 100%;
}

/* Override size for this popup only */
.lic-mbox-wrapper.restricted-popup {
    width: 500px;
}
.lic-mbox-wrapper.global-deposit-limit {
    width: 850px;
}
.lic-mbox-wrapper.global-deposit-limit .lic-mbox-container {
    padding-top: 5px;
}
.lic-mbox-wrapper.global-deposit-limit .lic-mbox-container .half{
    max-height: 400px;
}

.lic-mbox-wrapper.global-withdraw-limit {
    width: 400px;
}
.lic-mbox-wrapper.global-withdraw-limit .lic-mbox-container {
    padding-top: 5px;
}

/*
 * Extra rules for when the box is called inside the new game page
 * we cannot load all the CSS we normally have on the site or many things will fuck up
 */
body.has-popup-overlay .lic-mbox-container {
    padding: 0px;
}

.mbox-msg-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 600px;
}

.mbox-msg-container .text-container {
    font-size: 14px;
    padding: 0 10px;
    margin-bottom: 20px;
    overflow-y: auto;
}

.mbox-msg-container .mbox-msg-content {
    font-size: 14px;
}


@media screen and (max-width: 767px) {
    :root .text-container.is-ios {
        padding-bottom: 40px;
        margin-bottom: 40px;
    }
}