* {
  margin: 0;
  padding: 0;
}

body {
  color: black;
  font-family: "Roboto", sans-serif;
}

.royaltycalculator .formcontainer .centerbox {
  background: #f7f8f9;
  color: #333;
  padding: 0 30px;
}
.royaltycalculator .delimiter {
  padding: 0 10px 0px 10px;
}
.royaltycalculator .formcontainer .centerbox > .row {
  padding-top: 27px;
}
.royaltycalculator .formcontainer .button {
  background: #f7f8f9;
  padding: 30px;
}
.royaltycalculator .formcontainer .button .btn {
  width: 97%;
  padding: 13px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 14px;
  margin-left: 10px;
}
.royaltycalculator .formcontainer .bottombox {
  background: #eff1f2;
  color: #333;
  padding: 0 30px;
}
.royaltycalculator .bottombox label {
  padding-top: 20px;
  padding-left: 26px;
}
.royaltycalculator .bottombox label {
  padding: 5px 0 0 19px;
}
.royaltycalculator .bottombox .row-class.toppadding label {
  padding-top: 35px;
}
.royaltycalculator .bottombox .row-class.toppadding .delimiter {
  padding-top: 28px;
  display: inline-block;
}
.royaltycalculator .formcontainer .bottombox .result {
  padding-left: 15px;
}
.royaltycalculator .formcontainer .bottombox > .row {
  /*padding-top: 25px;padding-bottom: 25px;*/
  padding: 16px 0 25px;
}
.royaltycalculator .formcontainer .bottombox p {
  margin-top: 17px;
  font-size: 14px;
  letter-spacing: 0.025em;
  margin-bottom: 0;
  line-height: 17px;
  padding: 0 25px;
  font-weight: 400;
}
.royaltycalculator h3 {
  background: #57ab2f;
  margin-bottom: 0;
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.025em;
  text-align: center;
  padding: 18px;
  border-radius: 5px 5px 0px 0;
}
.royaltycalculator .formcontainer .centerbox input,
.royaltycalculator .formcontainer .centerbox select {
  min-width: 272px;
  padding: 4px 10px;
  border: 1px solid #e8e8e8;
  border-radius: 5px;
  margin: 8px 0;
  box-shadow: none;
}
.royaltycalculator .formcontainer .bottombox .paddingtop {
  padding-top: 10px;
}
.royaltycalculator .formcontainer .centerbox select {
  padding: 11px 10px;
  border: 1px solid #e8e8e8;
  border-radius: 5px;
  height: 40px;
}
.royaltycalculator .formcontainer .centerbox .paddingtop {
  padding-top: 12px !important;
}
.royaltycalculator .formcontainer .centerbox p {
  font-size: 14px;
  line-height: 17px;
  font-weight: 400;
  letter-spacing: 0.025em;
  padding: 15px;
}
.royaltycalculator .formcontainer .bottombox .heading {
  font-size: 14px;
  letter-spacing: 0.025em;
  font-weight: 400;
  line-height: 20px;
  font-weight: bold;
}
.royaltycalculator .centerbox label,
.royaltycalculator .bottombox label {
  /*padding: 0 0 0 15px;padding: 0 0 0 24px;*/
  padding: 10px 0 0 19px;
  font-size: 14px;
  letter-spacing: 0.025em;
  font-weight: 400;
  line-height: 20px;
}
.royaltycalculator .centerbox label,
.royaltycalculator .bottombox label {
  padding: 10px 0 0 25px;
  font-size: 14px;
  letter-spacing: 0.025em;
  font-weight: 400;
  line-height: 16px;
  display: inline-block;
  font-family: roboto;
  min-width: 165px;
}
.royaltycalculator .faq-block li strong:before {
  content: "";
  width: 6px;
  height: 6px;
  display: inline-block;
  background: #57ab2f;
  border-radius: 100%;
  margin-right: 18px;
  vertical-align: middle;
}
.royaltycalculator .faq-block {
  margin-top: 80px;
}
.royaltycalculator .faq-block ul {
  margin-bottom: 0;
  padding: 0 30px 50px;
}
.royaltycalculator .faq-block li {
  padding: 20px 0 5px;
  margin: 0;
  list-style: none;
}
.royaltycalculator .faq-block li strong {
  font-size: 18px;
  font-weight: bold;
}
.royaltycalculator .faq-block li p {
  margin-left: 23px;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 0;
  line-height: 27px;
}
.royaltycalculator .faq-block h2 {
  padding: 1px 0 25px;
  text-align: center;
}
.royaltycalculator .royaltytitle {
  margin-bottom: 50px;
}
.royaltycalculator .royaltytitle h1 {
  font-size: 50px;
  letter-spacing: -0.01em;
  font-size: 50px;
  margin-left: -2px;
  margin-bottom: 0;
}
.royaltycalculator .royaltytitle p {
  font-weight: 300;
  margin: 4px 0 10px 2px;
  font-size: 20px;
  letter-spacing: 0.025em;
}
.royaltycalculator .royaltytitle span {
  margin-top: 15px;
  font-weight: 300;
  font-family: roboto;
  color: #bebebe;
  font-size: 14px;
  letter-spacing: 0.025em;
}
.royaltycalculator .royaltytitle .button_container {
  padding: 0;
}
.royaltycalculator .royaltytitle .activeDIY:before {
  display: inline-block;
  content: "DIY Publishing";
  vertical-align: middle;
  font-size: 16px;
  line-height: 26px;
  color: #333;
  font-family: roboto;
  font-weight: bold;
  text-transform: uppercase;
  opacity: 1;
  letter-spacing: 0.025em;
}
.enterdetails > div,
.authorroyalty > div {
  padding: 0px 13px;
  margin-right: 8px;
}
.authorroyalty > div {
  margin-left: 13px;
}

.enterdetails .alert {
  position: absolute;
  z-index: 9999;
  width: 100%;
}
.enterdetails .alert:before {
  content: "";
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #57ab2f;
  position: absolute;
  top: -10px;
  left: 50%;
  margin-left: -5px;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.enterdetails .alert {
  position: absolute;
  z-index: 9999;
  min-width: 273px;
  padding: 5px 10px;
  border: 1px solid #e8e8e8;
  border-radius: 5px;
  margin: 8px 0;
  right: 10px;
  width: auto;
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  .royaltycalculator .formcontainer .centerbox input,
  .royaltycalculator .formcontainer .centerbox select {
    width: 77%;
    min-width: 0;
  }
  .royaltycalculator .centerbox label,
  .royaltycalculator .bottombox label {
    min-width: 0;
  }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
  .col-md-nopadding {
    padding: 0 !important;
  }
  .col-md-padding-7 {
    padding: 0 7px !important;
  }
  .authorroyalty > div {
    margin-left: 0;
  }
  .royaltycalculator .centerbox label,
  .royaltycalculator .bottombox label {
    min-width: 0;
    font-size: 12px;
  }
  .royaltycalculator .formcontainer .centerbox input,
  .royaltycalculator .formcontainer .centerbox select {
    padding: 10px 0 0 0px;
    min-width: 0;
  }
  .royaltycalculator .formcontainer .centerbox input,
  .royaltycalculator .formcontainer .centerbox select {
    width: 84%;
    padding: 10px 9px;
    line-height: 20px;
  }
  .royaltycalculator .delimiter {
    padding: 0 5px;
  }
  .royaltycalculator .formcontainer .centerbox {
    padding: 0 15px;
  }
  .royaltycalculator .formcontainer .button {
    padding: 30px 15px;
  }
  .royaltycalculator .formcontainer .bottombox {
    padding: 0 15px;
  }
  .royaltycalculator .formcontainer .centerbox p {
    font-size: 12px;
  }
  .enterdetails .alert {
    padding: 10px;
    font-size: 12px;
    letter-spacing: 0em;
    line-height: 20px;
    min-width: 190px !important;
  }
  .royaltycalculator .faq-block h2 {
    padding: 50px 0 25px;
    text-align: center;
  }
}
@media screen and (min-width: 577px) and (max-width: 767px) {
  .col-sm-nopadding {
    padding: 0 !important;
  }
  .royaltycalculator .formcontainer .centerbox input,
  .royaltycalculator .formcontainer .centerbox select {
    min-width: 89%;
  }
  .royaltycalculator .delimiter {
    padding: 0 10px;
  }
  .authorroyalty {
    margin-top: 37px;
  }
  .authorroyalty > div {
    margin-left: 0;
  }
  .royaltycalculator .royaltytitle {
    margin-top: 55px;
    margin-bottom: 42px;
  }
  .royaltycalculator .royaltytitle h1 {
    font-size: 38px;
  }
  .royaltycalculator .royaltytitle p {
    font-size: 14px;
  }
  .royaltycalculator .royaltytitle span {
    font-size: 12px;
  }
  .royaltycalculator div#switch_btns::before {
    font-size: 12px;
  }
  .royaltycalculator div#switch_btns::after {
    font-size: 12px;
  }
  .royaltycalculator h3 {
    font-size: 14px;
    padding: 10px;
  }
  .royaltycalculator .centerbox label,
  .royaltycalculator .bottombox label {
    font-size: 12px;
    min-width: 0;
  }
  .royaltycalculator .formcontainer .bottombox p {
    font-size: 12px;
  }
  .royaltycalculator .faq-block {
    margin-top: 70px;
  }
  .royaltycalculator .faq-block h2 {
    padding-top: 50px;
    font-size: 26px;
  }
  .royaltycalculator .faq-block li strong {
    position: relative;
    display: inline-block;
    margin-left: 23px;
  }
  .royaltycalculator .faq-block li strong:before {
    position: absolute;
    top: 11px;
    left: -11px;
  }
  .alert-danger {
    line-height: 20px;
    font-size: 12px;
  }
  .royaltycalculator .formcontainer .centerbox p {
    padding: 15px 0;
  }
}
@media screen and (max-width: 576px) and (min-width: 320px) {
  .col-xs-nopadding {
    padding: 0 !important;
  }
  .authorroyalty {
    margin-top: 37px;
  }
  .authorroyalty > div {
    margin-left: 0;
  }
  .royaltycalculator .royaltytitle {
    margin-top: 55px;
    margin-bottom: 42px;
  }
  .royaltycalculator .royaltytitle h1 {
    font-size: 38px;
  }
  .royaltycalculator .royaltytitle p {
    font-size: 14px;
    text-align: center;
  }
  .royaltycalculator .royaltytitle span {
    font-size: 12px;
  }
  .royaltycalculator div#switch_btns::before {
    font-size: 12px;
  }
  .royaltycalculator div#switch_btns::after {
    font-size: 12px;
  }
  .royaltycalculator h3 {
    font-size: 14px;
    padding: 10px;
  }
  .royaltycalculator .centerbox label,
  .royaltycalculator .bottombox label {
    font-size: 12px;
    min-width: 0;
  }
  .royaltycalculator .formcontainer .bottombox p {
    font-size: 12px;
    padding: 0 5px;
  }
  .royaltycalculator .faq-block {
    margin-top: 50px;
  }
  .royaltycalculator .faq-block h2 {
    padding-top: 30px;
    font-size: 26px;
    padding-bottom: 15px;
  }
  .royaltycalculator .faq-block li strong {
    position: relative;
    display: inline-block;
    margin-left: 23px;
  }
  .royaltycalculator .faq-block li strong:before {
    position: absolute;
    top: 11px;
    left: -11px;
  }
  .royaltycalculator .formcontainer .centerbox input,
  .royaltycalculator .formcontainer .centerbox select,
  .enterdetails .alert {
    min-width: 90%;
    width: 90%;
  }
  .royaltycalculator .centerbox label,
  .royaltycalculator .bottombox label {
    padding: 10px 0 0 5px;
  }
  .royaltycalculator .delimiter {
    padding: 0 2px 0px 2px;
  }
  .enterdetails > div,
  .authorroyalty > div {
    padding: 0;
  }
  .alert-danger {
    line-height: 20px;
    font-size: 12px;
  }
  .royaltycalculator .formcontainer .centerbox p {
    margin-left: -10px;
    padding: 0 5px;
  }
  .royaltycalculator .faq-block ul {
    margin-bottom: 0;
    padding: 0 5px 50px;
  }
  .royaltycalculator .royaltytitle span {
    margin-top: 0;
  }
  .royaltycalculator .formcontainer .centerbox p {
    font-size: 12px;
  }
  .bottombox {
    min-height: 200px !important;
  }
}

.green {
  color: #57ab2f;
  margin-top: 20px;
}

.clearfix {
  clear: both;
  content: "";
}

section.header {
  margin: 0;
  padding: 0;
  /* background-color: rgba(0, 0, 0, 0.219); */
  position: relative;
  z-index: 99999;
  /* margin: 0 auto; */
  background: url(images/mene-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 10px;
  height: 107px;
}

section.header div ul.topnav:first-child {
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 500;
  font-size: 16px;
  margin: 25px 0 0 0;
  /* text-align: center; */
}

section.header ul.topnav li {
  float: left;
  width: 145px;
  height: 40px;
  /* background-color: rgba(0, 0, 0, 0.548); */
  text-align: center;
  line-height: 40px;
  /* transition: all 2s; */
  /* padding: 10px; */
}

.hamburger {
  background: none;
  position: absolute;
  top: 5%;
  right: 5%;
  line-height: 45px;
  padding: 5px 15px 0px 15px;
  color: #57ab2f;
  border: 0;
  font-size: 1.4em;
  font-weight: bold;
  cursor: pointer;
  outline: none;
  z-index: 10000000000000;
  display: none;
}
.cross {
  background: none;
  position: absolute;
  top: 0px;
  right: 0;
  padding: 7px 15px 0px 15px;
  color: #999;
  border: 0;
  font-size: 3em;
  line-height: 65px;
  font-weight: bold;
  cursor: pointer;
  outline: none;
  z-index: 10000000000000;
}

section.header ul.topnav li a {
  color: black;
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 30px;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  text-transform: uppercase;
}

section.header ul.topnav li a:hover {
  color: #57ab2f;
}

section.header ul.topnav li ul li {
  border-left: 1px solid grey;
  border-right: 1px solid grey;
}

section.header ul.topnav li ul li:first-child {
  border-top: 1px solid grey;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

section.header ul.topnav li ul li:last-child {
  /* border-radius-b: 5px; */
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  border-bottom: 1px solid grey;
}

section.header ul.topnav li ul li {
  position: relative;
  left: -50px;
  width: 250px;
  text-align: left;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.5s linear;
  /* display: none; */
}
/* section.header ul li:hover ul {
  -webkit-box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.47);
  -moz-box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.47);
  box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.47);
} */

section.header ul.topnav li:hover ul li {
  visibility: visible;
  opacity: 1;
  background-image: url(images/mene-bg.jpg);
}

section.header ul.topnav li ul li a {
  width: 170px;
  font-size: 15px;
  margin: 0;
  padding: 12px 15px;
  background: transparent;
}

section.header ul.topnav li.width140 {
  width: 180px;
}
section.header ul.topnav li.width77 {
  width: 70px;
}
section.header ul.topnav li.width197 {
  width: 198px;
}
section.header ul.topnav li.width94 {
  width: 107px;
}
section.header ul.topnav li.width201 {
  width: 202px;
}
section.header ul.topnav li.width105 {
  width: 105px;
}
section.header ul.topnav li.width130 {
  width: 130px;
}
section.header ul.topnav li.width108 {
  width: 108px;
}

.newslatter-area h4 {
  font-size: 18px;
}

.newslatter-area input {
  border-radius: 5px;
  float: left;
  background-color: #fff;
  padding-left: 25px;
  margin-right: 20px;
}

.newslatter-area input::placeholder {
  font-weight: 500;
}
.newslatter-area button:hover {
  color: grey;
}

section.royalty div.jumbotron {
  background-color: white;
}

section.royalty div.container h1.heading {
  letter-spacing: -0.01em;
  font-size: 3.3em;
  margin-left: -2px;
  margin: 30px 0 0 0;
}

section.royalty div.container p.heading {
  font-weight: 300;
  margin: 4px 0 10px 2px;
  font-size: 1.3em;
  letter-spacing: 0.025em;
}

section.royalty div.container span.heading {
  margin-top: 15px;
  font-weight: 300;
  font-family: roboto;
  color: #bebebe;
  font-size: 14px;
  letter-spacing: 0.025em;
}

.switch::before {
  display: inline-block;
  font-size: 16px;
  content: "MIE Publishing";
  vertical-align: middle;
  line-height: 26px;
  color: #333;
  font-family: roboto;
  font-weight: bold;
  text-transform: uppercase;
  opacity: 1;
  margin-right: 20px;
}

.switch::after {
  display: inline-block;
  content: "Guided Publishing";
  font-size: 16px;
  line-height: 26px;
  vertical-align: middle;
  color: #333;
  font-family: roboto;
  font-weight: bold;
  text-transform: uppercase;
  opacity: 0.6;
}

input[type="checkbox"] {
  box-sizing: border-box;
  padding: 0;
}

input {
  float: none;
  margin-right: 0;
}

.tgl-sw-android + .btn-switch {
  position: relative;
  display: block;
  height: 32px;
  width: 72px;
  background: transparent;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 auto;
  border: 2px solid #57ab2f;
}

.tgl-sw-android + .btn-switch:after {
  position: absolute;
  left: 5px;
  top: 3px;
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 100px;
  background: #57ab2f;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.05);
  content: "";
  transition: all 0.3s ease;
}

section.royalty .main {
  background-color: #eee;
}

section.royalty .main2 {
  background-color: rgb(251, 251, 251);
  /* padding: 30px; */
  height: auto;
}

section.royalty .margin-top {
  margin-top: 40px;
  padding: 25px;
}
section.royalty .margin-top1 {
  margin-top: 40px;
  padding: 25px;
}

/* .hello {
  background-color: red;
} */

section.royalty .space {
  margin-bottom: 20px;
}

/* .blue {
  background-color: blue;
}  */

section.royalty .greenBorder {
  border: 2px solid #57ab2f;
  border-radius: 6px;
}

section.royalty .borderBottom {
  margin-bottom: 3%;
}

section.royalty .marginTop {
  margin-top: 3%;
}

section.royalty .center {
  text-align: center;
  background-color: #57ab2f;
  margin-bottom: 0;
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.025em;
  padding: 18px;
  border-radius: 5px 0px 0px 0;
  margin-bottom: 25px;
  font-weight: 400;
}

section.royalty input,
section.royalty select {
  width: 85%;
  height: 35px;
  padding: 2%;
  border-radius: 5px;
  border: 1px solid grey;
}

section.royalty input:focus {
  outline-color: #57ab2f;
  border: 1px solid #57ab2f;
}

section.royalty button {
  width: 97%;
  padding: 10px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 14px;
  /* margin-left: 10px; */
  background-color: #57ab2f;
  margin: 30px 0 30px 0;
  color: #fff;
  font-weight: 400;
  /* margin: 30px auto; */
  /* text-align: center; */
}

section.royalty button:hover {
  color: #57ab2f !important;
  background-color: #fff;
  border-color: #57ab2f;
}

section.royalty .display {
  display: none;
}

section.royalty #display1 {
  width: 100%;
  margin: 0 auto;
}

/* ADDED CODE */
.row.mr--15 {
  margin-right: -15px;
}

.row.panel {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
}

.royaltycalculator .faq-block li p {
  margin-top: 2px !important;
}

section.royalty input,
section.royalty select {
  width: 85% !important;
  padding: 0 8px;
  color: black;
}

.control-label {
  font-weight: 400;
  padding-right: 0 !important;
  text-align: left !important;
}

.row.panel .col-md-6 {
  padding-left: 40px;
  padding-right: 40px;
}

.form-horizontal {
  padding: 0 15px;
}

section.royalty .margin-top {
  padding-left: 12px;
  padding-right: 12px;
  /* padding-top: 35px; */
  padding-bottom: 0;
  margin-top: 10px;
}

.grid {
  display: grid;
  grid-template-rows: auto auto auto;
}

.royalty .row.head {
  margin-left: -16px;
  margin-right: -16px;
  margin-top: -1px;
}

section.royalty .main2 {
  background-color: #f3f3f3;
}

.royaltycalculator .faq-block ul {
  padding: 0 !important;
}

.royaltycalculator .faq-block li p {
  margin-bottom: 10px;
  line-height: 24px;
}

@media only screen and (max-width: 540px) {
  .row.panel .col-md-6 {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media only screen and (max-width: 360px) {
  .form-horizontal {
    padding: 0 !important;
  }

  section.royalty div.container h1.heading {
    font-size: 1.8em;
  }

  section.royalty .margin-top {
    padding-right: 5px;
    padding-left: 5px;
  }

  .row.panel .col-md-6 {
    padding-left: 10px;
    padding-right: 10px;
  }

  .grid {
    grid-template-rows: auto auto auto;
  }
}

@media only screen and (min-width: 554px) {
  section.royalty button {
    width: 175px;
  }
}
