body {
  /* background: #fff url(../images/bg2.jpg) no-repeat; */
  overflow-x: hidden;
}

.title h1 {
  color: #140179;
}

.down, .up {
  transition: all ease-in-out 0.3s;
  -webkit-transition: all ease-in-out 0.3s;
  -moz-transition: all ease-in-out 0.3s;
  -ms-transition: all ease-in-out 0.3s;
  -o-transition: all ease-in-out 0.3s;
}


.test-button {
  display: none;
}

.number-container {
  display: inline;
}

.number-container p {
  display: inline;
}

.result {
  font-family: sans-serif;
  font-size: 20px;
  color: #140179;
}

.number {
  font-family: sans-serif;
  font-size: 20px;
  color: #140179;
}

.number_text {
  font-family: sans-serif;
  font-size: 20px;
  color: #140179;
}


.abacus {
  position: relative;
  margin-left: 4%;
  padding-top: 0px;
  margin-top: 30px;
  margin-right: 4%;
  border-width: 0px;
  background-image: url(../../../img/logo.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain !important;
  border-width: 20px;
  border-color: #424242;
  border-style: ridge;
}

.abacus::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.5);
}

.abacusRods {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
}

.abacusRods>div {
  width: 5.85%;
  background: url(../images/line.png) repeat-y center center;
}

.abacus img {
  max-height: 50px;
  max-width: 50px;
}

.lower .row {
  padding-top: 20px;
  padding-bottom: 20px;
  border-color: brown;
}

.abacus .row {
  margin: 0px;
}

.upper .row {
  padding-top: 20px;
  padding-bottom: 20px;
  border-color: brown;
}

.abacus .upper {
  min-height: 100px;

  border-bottom-width: 4px;
}


.abacus .lower {
  min-height: 200px;
  border-style: solid;
  border-width: 0px;
  border-color: #cbb086;
  border-top-width: 4px;
}


.mainHeader {
  padding-top: 15px;
  /* background: rgba(255, 255, 255, 0.8);
     box-shadow: 0px 0px 8px 1px rgba(0, 0, 0, 0.61); */
  position: relative;
}

.mainHeader .logo img {
  max-width: 100%;
  margin: 0px 0px 10px;
}

.mainHeader h1 {
  color: #e05260;
  padding-top: 15px;
}

.resultDIv {
  background: #f9d02b;
  /* position: absolute;
    top: 0;
    right: 0;
    height: 100%; */
  color: #e42637;
  font-size: 18px;
  padding: 15px;
  border: 2px dashed #e42637;
}

.resultDIv h3 {
  margin: 0px;
  padding-bottom: 10px;
  font-family: 'Abril Fatface', cursive;
}

.abacus .col-xs-1 {
  width: 5.85%;
  text-align: center;
}

.textInputBox {
  max-width: 300px;
}

.textInputBox:after {
  content: '';
  clear: both;
  display: block;
}

.textInputBox .form-control {
  width: 80%;
  display: inline-block;
  vertical-align: middle;
  float: left;
  margin-right: 1%;
}

.textInputBox #showResult {
  width: 19%;
  display: inline-block;
  vertical-align: middle;
  float: right;
}

.fastTransition {
  transition: all 0.2s;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -ms-transition: all 0.2s;
  -o-transition: all 0.2s;
}

.lower .fastTransition {
  transition: all ease-in-out 0.3s;
  -webkit-transition: all ease-in-out 0.3s;
  -moz-transition: all ease-in-out 0.3s;
  -ms-transition: all ease-in-out 0.3s;
  -o-transition: all ease-in-out 0.3s;
}

.ui-draggable-dragging {
  transition: none !important;
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -ms-transition: none !important;
  -o-transition: none !important;
  box-shadow: 0px 0px 4px 0px #d6a517;
}

.taskDiv {
  background: #4f5be6;
  min-height: 5px;
  padding: 0px 15px;
}

.taskDiv:after {
  content: '';
  display: block;
  clear: both;
}

.taskDiv .textInputBox {
  padding: 5px 10px;
  float: left;

  position: relative;
}

.taskDiv #showResult {
  background-color: #e32b3a;
  border-color: #a20909;
}

.taskDiv #showResult:hover, .taskDiv #showResult:focus {
  background-color: #f9d02a;
  border-color: #a20909;
  color: #b60304;
}

.buttonDiv {
  display: block;
}

.buttonDiv .buttonsWrapper {
  text-align: center;
  background: #d8e7ef;
  border-bottom: 1px solid #9ad9f8;
  padding: 10px 15px;
  display: none;
}

.buttonsWrapper button {
  padding: 5px 15px;
  outline: none;
  border: 1px solid #ffffff;
  background: #561e75;
  color: #fff;
  font-size: 13px;
  border-radius: 5px;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
}

.buttonsWrapper button:hover, .buttonsWrapper button:focus, .buttonsWrapper button:active {
  background: #f9d02a;
  color: #e22536;
}

.combinationsTrigger {
  float: left;
  padding: 5px 10px;
}

.combinationsTrigger a {
  float: left;
  display: block;
  padding: 4px 10px;
  background: #ffcc00;
  margin: 0px 10px;
  font-family: 'Abril Fatface', cursive;
  color: #ff0017;
  font-weight: bolder;
  text-decoration: none;
  font-size: 17px;
  border: 1px solid #fff;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
}

.combinationsTrigger a span {
  font-size: 12px;
  font-weight: bold;
  line-height: 0px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #a73640;
}

.combinationsTrigger a:hover, .combinationsTrigger a.active {
  background: #fff;
}

#testError:not(:empty) {
  padding: 4px 10px;
  text-align: left;
  background: red;
  color: #fff !important;
  clear: both;
  margin-top: 5px;
  position: absolute;
  bottom: -22px;
}

.resetBtn {
  float: right;
  display: inline-block;
  background: red;
  color: #fff;
  text-decoration: none;
  padding: 6px 24px;
  border: 1px solid #fff;
  margin: 5px 0px;
}

.resetBtn:hover {
  text-decoration: none;
  background: #fff;
  color: red;
}

@media(max-width:1366px) {
  .abacus .col-xs-1 {
    padding: 0 0%;
    text-align: center;
  }
}

@media(max-width:1240px) {
  .abacus .col-xs-1 {
    padding: 0 0.7%;
  }
}

@media(max-width:1150px) {
  .abacus .col-xs-1 {
    padding: 0 0.5%;
  }
}

@media(max-width:1150px) {
  .abacus .col-xs-1 {
    padding: 0 0.5%;
  }
}

.combinationsTrigger .doubleComb span {
  font-size: 12px;
  line-height: 13px;
  float: right;
  padding-left: 10px;
  font-weight: lighter;

}

.combinationsTrigger .doubleComb span i {
  display: block;

  font-style: normal;
  font-family: 'Abril Fatface', cursive;
}

.flashCards {
  text-align: center;
  padding-top: 30px;

}

.flashCards h1 {
  color: #e05260;
  font-size: 25px;
  padding-bottom: 20px;
}

.flashCardItems:after {
  content: '';
  clear: both;
  display: block;
}

.flashCardItems a {
  display: inline-block;
  vertical-align: top;
  padding: 4px;
  margin: 4px;
  min-width: 70px;
  height: auto;
  border: 1px solid #c3c3c3;
  width: 8%;
}

.flashCardItems a img {
  max-width: 100%;
}


.main-footer {
  position: relative;
  background-color: #ffffff;
  background-repeat: no-repeat;
  background-position: center center;
  margin-top: 200px;
}

.main-footer .footer-bottom {
  position: relative;
  padding: 15px 0px;
  text-align: center;
  background-color: #263da9;
}

.auto-container {
  position: static;
  max-width: 1170px;

  margin: 0 auto;
}

.main-footer .footer-bottom .copyright-text {
  position: relative;
}

.main-footer .footer-bottom p {
  line-height: normal;
  color: #fff;
  font-size: 13px;
  font-weight: 400;

  margin: 0;
}
