.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;
}

@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;
  outline: none;
  position: relative;
  overflow: hidden;
  z-index: 1102;
    border: hidden;
    color: #000;
}

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

#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;
    /*
       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{
    height: 40px;
    background-color: #DD9E37;
    color: #fff;
    line-height: 40px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}

.mbox-msg-container .flex-center{
    margin-top: 5px;
}

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

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

.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-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
}

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

.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;
}

.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;
}

/* Override size for this popup only */
.lic-mbox-wrapper.restricted-popup {
    width: 500px;
}

/*
 * 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;
}
