.text-center {
    text-align: center;
}

.table-result .btn-get{
    cursor: pointer;
    font-size: 21px;
}

.table-result .btn-get.current{
    color: #5C5C5C;
    background-color: white;
    border: 1px solid #A9A9A9;
}

.text-error {
    color: #e4231c;
    display: inline-block
}

.button.btn-logout{
    color: #e4231c;
    background-color: white;
    font-size: 18px;
    margin: 0 0 26px 20px;
    position: relative;
    top: -2px;
}

form button[type="submit"],
#fake-submit{
    background: white;
    float: left;
    height: 48px;
    border: 1px solid #A9A9A9;
    padding: 0 36px;
    font: 20px/34px 'PT Sans', Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: #4a4a4a;
    cursor: pointer;
}

#fake-submit{
    position: absolute;
    left: 361px;
    line-height: 50px;
    margin-top: -5px;
}

.fake-submit-wrapper .cancel{
    margin-left: 202px;
}

input[type="text"],
input[type="password"]{
    padding: 0 25px;
    margin: 0;
    background: none;
    height: 53px;
    border: 1px solid #979797;
    float: left;
    font: 32px/38px 'PT Sans', Arial, Helvetica, sans-serif;
    color: #989898;
}

.change-password input[type="password"]{
    width: 250px;
    height: 41px;
    font-size: 20px;
    line-height: 24px;
}

span.error{
    line-height: 22px;
    font-size: 18px;
    color: #e4231c;
    display: block;

}

span.error:after,
span.error:before{
   content: '';
   clear: both;
   width: 100%;
   display: block;
}

/*#credit-card-form .date span.error:after,
#credit-card-form .date span.error:before{
   display: none;

}*/

.type-choosing label span.price{
    display: inline;
}

.btn-add span.btn{
    float: left;
    height: 48px;
    border: 1px solid #979797;
    padding: 0 36px;
    font-weight: bold;
    font-size: 23px;
    line-height: 48px;
    color: #4a4a4a;
    cursor: pointer;
}

.integrations-list span.btn{
    margin: 0 0 0 20px;
    color: #979797;
    cursor: pointer;
    display: inline;
}

.add-another{
    cursor: pointer;
}

#hidden-forms{
    margin-top: -40px;
}

.step-panel-list {
    width: 70%;
    margin-left: 15%;
}

.setting-form .type-block p{
    display: none;
}

.setting-form .type-block p.active{
    display: block;
}

.hidden{
    display: none;
}

#custom-buttons .add-another{
    display: inline-block;
    vertical-align: middle;
    height: 47px;
    padding: 0 53px;
    font-weight: bold;
    font-size: 26px;
    line-height: 47px;
    color: #4a4a4a;
    border: 2px solid #9d9d9d;
    text-transform: uppercase;
    position: relative;
      float: none;
}

#custom-buttons .done-adding{
    display: inline-block;
    vertical-align: middle;
    font-size: 21px;
    line-height: 24px;
    color: #4a4a4a;
    text-decoration: underline;
    font-weight: normal;
    border: none;
    position: absolute;
}

.setting-form .errorlist li{
    color: #e4231c;
    display: inline-block;
    font-size: 18px;
}


.expanded.active{
    display: block;
}

.setting-form .btn-choose{
    cursor: pointer;
}

#ebook_pagination{
    text-align: center;
    position: relative;
}

#ebook_pagination .next_page,
#ebook_pagination .previous_page{
    position: absolute;
    top: 0;
}

#ebook_pagination .next_page{
    right: 0;
}

#ebook_pagination .previous_page{
    left: 0;
}

#ebook_pagination strong{
    color: black;
    display: inline-block;
    padding: 1px 7px;
    border-radius: 8px;
    background-color: #4a4a4a;
    color: white;
}

#books-per-page,
#books-per-page a{
    display: inline-block;
}

#books-per-page select{
    border: none;
    height: 29px;
    color: white;
    padding: 0 0 0 15px;
    text-align: -webkit-auto;
    width: 70px;
    background-color: rgb(228, 35, 28);
}

#books-per-page a{
    display: none;
}

.service-buttons p {
    color: #e4231c;
    overflow: hidden;
    height: 48px;
    background: #ececec;
    display: block;
    padding: 11px 26px 0 25px;
    cursor: pointer;
}

#books-list-search{
    position: absolute;
    right: 0;
}

.select-links {
    margin-right: 265px;
}

.select-links span{
    color: #e4231c;
    font-size: 18px;
    text-decoration: underline;
    padding-left: 22px;
    margin-left: 5px;
    cursor: pointer;
}

.select-links span.up,
.select-links span.down{
    text-decoration: none;
    background: url(../images/arrow1.png) no-repeat 6px 7px;
    background-size: 12px 10px;
}

.select-links span.up{
    background-image: url(../images/arrow1-up.png);
}

#show-complete-survey-popup{
    color: #e4231c;
    text-decoration: underline;
    cursor: pointer;
}

.service-panel{
    position: absolute;
    right: 50px;
}

.ebook-list{
    position: relative;
}

.show-records{
    color: rgb(228, 35, 28);
    font-size: 18px;
    font-weight: bold;
}

#ebooks-list{
    margin-bottom: 0;
}

#dashboard #ebook_pagination{
    border-top: 1px solid #797979;
    margin-bottom: 20px;
    padding: 20px 0;
}

#dashboard #ebook_pagination .next_page,
#dashboard #ebook_pagination .previous_page{
    position: absolute;
    top: 20px;
}

#dashboard .books-per-page{
    border-bottom: none;
}

#dashboard .books-per-page td{
    text-align: left;
}

.service-panel .activate{
    display: block;
    cursor: pointer;
}

.form.setting-form input[type="number"]{
    padding-right: 0;
    width: 73px;

}

#upload_ebook_form .input-title {
  padding: 15px 34px 0 15px;
}

.preview-table.content .resource-id{
    color: rgb(228, 35, 28);
    font-weight: initial;
    font-size: 19px;
    margin-top: -1px;
    width: 450px;
}

.preview-table.content .author{
    line-height: 19px;
    font-weight: initial;
    font-size: 15px;
    margin-top: -17px;
    width: 450px;
}

.ebook-list .preview-table.content .description {
    line-height: 33px;
    position: relative;
    top: -10px;
}

.preview-table.content a{
    color: #4a4a4a;
}

#show-terms-popup{
    float: initial;
    color: #e4231c;
}

span.close-popup-btn{
    position: absolute;
    top: 5px;
    right: 12px;
    cursor: pointer;
    font-family: Arial;
    display: none;
}

form button.loaded{
    background-image: url(../images/loader_2.GIF);
    width: 147px;
    pointer-events: none;
    opacity: 0.7;
    background-repeat: no-repeat;
    background-position: 0 14px;
}

#change-password-btn{
    position: relative;
}

#change-password-btn .successfully{
    color: rgb(0, 171, 0);
    position: absolute;
    top: 80px;
}

#change_password_form .input-holder {
    width: 332px;
}

.change-password{
    width: 520px;
}

.preview-table tr.even {
    border-bottom: none;*/
}

.preview-table-holder.table-result .btn-get {
    cursor: pointer;
    display: inline-block;
    padding: 0 53px;
    font-size: 26px;
}

.preview-table-holder.table-result .add-another{
    cursor: pointer;
    margin: -5px 0 0 20px;
    height: 50px;
}

.preview-table td p{
    min-width: 400px;
}

.nopopup ul.instruction-list li:before {
    content: ". ";
    font-size: 60px;
    position: relative;
    top: -3px;
    color: #e4231c;
}

.black *{
    color: rgb(55, 55, 55);
}

.ask-popup .popup.instructions-popup {
    width: 520px;
    padding: 60px 60px 30px;
}

.popup.instructions-popup .instruction-controls li{
    width: 230px;
}

.popup.instructions-popup .instruction-controls li.active{
    border-bottom: 1px solid rgb(231, 75, 70);
}

.popup.instructions-popup .instruction-list{
    padding: 0;
}

.popup.instructions-popup .instruction-controls li.active:after {
    bottom: -17px;
    background: url(../images/arrow1.png) no-repeat;
}

.popup.instructions-popup .instruction-controls{
    background: none;
}

/*sales block in dashboard*/
.description-list i{
    overflow:hidden;
    padding:0;
    float:left;
    margin:0 11px 0 0;
    display: block;
    width: 25px;
    height: 25px;
    border-radius: 13px;
}

div.ui-datepicker{
    font-size:14px;
    width: 22em;
}

div.ui-datepicker td{
    height: 20px;
    line-height: 20px;
}

div.ui-datepicker a{
    font-size: 1.1em;
}

.reports-block  .input-panel input.text {
    width: 190px;
    margin-right: 22px;
}

.reports-block  .input-panel input.text:last-child{
    margin-right: 0;
}

#download-report{
    cursor: pointer;
}

.date-error{
    border: 1px solid #e4231c;
}

.date-error::-webkit-input-placeholder{
    color:#e4231c;
}
.date-error::-moz-placeholder{
    color:#e4231c;
}
.date-error:-moz-placeholder{
    color:#e4231c;
}
.date-error:-ms-input-placeholder{
    color:#e4231c;
}

form#report-filter-form {
    margin-bottom: 70px;
}

.table-result .btn-get{
    min-width: 205px;
    margin: 0;
}

#cancel-subscription-form{
    width: 490px;
    margin: 0 auto;
}

#cancel-subscription-form button,
.show-subscription-canceling-confirm-popup,
#cancel-subscription-form div{
    color: #5C5C5C;
    background-color: white;
    border: 1px solid #A9A9A9;
    width: 226px;
    cursor: pointer;
    font-size: 21px;
    font-weight: bold;
    height: 51px;
    line-height: 51px;
    text-transform: uppercase;
    display: block;
    margin: 10px 0 0 0;
    line-height: 45px;
    text-align: center;
    float: left;
    padding: 0;
    box-sizing: border-box;
    font: 600 20px/51px 'PT Sans', Arial, Helvetica, sans-serif;
}

#cancel-subscription-form div{
    float: right;
}

.show-subscription-canceling-confirm-popup{

}

.center{
    text-align: center;
}

span.show-generate-link-popup {
    cursor: pointer;
}

#generate-link-popup .popup{
    width: 660px;
    padding: 20px;
}

#generate-link-popup .popup .row{
    margin-bottom: 20px;
}

#generate-link-popup #id_link_count{
    width: 60px;
    height: 42px;
}

#generate-link-popup button{
    position: absolute;
    right: 25px;
    padding: 0px 26px;
    width: 141px;
}

#credit-card-form ul.errorlist {
    text-align: center;
    list-style: none;
    margin: -35px 0 0;
}

#generate-ebook-link-form textarea{
    width: 650px;
    font-size: 16px;
    resize: none;
}

#generate-ebook-link-form textarea:disabled{
    background-color: white;
}

.dashboard.offer-box .title {
    display: block;
    font-size: 33px;
    line-height: 40px;
    padding: 0 0 24px;
}

.dashboard.offer-box button{
    height: 45px;
    line-height: 45px;
    border: 2px solid #fff;
    box-shadow: 0 0 1px 0 #fff;
    -webkit-box-shadow: 0 0 1px 0 #fff;
    -moz-box-shadow: 0 0 1px 0 #fff;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0 37px;
    font-size: 24px;
    margin: 0 36%;
    background: none;
    color: white;
    cursor: pointer;
}

.dashboard.offer-box{
    height: 116px;
    padding: 25px 65px 27px 36px;
    margin-top: 30px;
}

#generate-referral-link-form button{
    width: 274px;
}

#egistration-form label span{
    font-size: 17px;
}

#achievement-popup .popup{
    background: none;
}

.terms-content{
    height: 500px;
    overflow: auto;
}

#terms-popup .popup{
  padding: 30px 17px 60px;
}

form .notifyjs-wrapper *{
    font: 18px/36px Arial, Helvetica, sans-serif;
}

#registration-form .notifyjs-text {
    float: none;
}

input[type="checkbox"].check{
    position: absolute;
    opacity: 0;
    pointer-events: none;
    display: block;
}

form .notifyjs-bootstrap-error {
    background-position-y: 15px;
}

input[type='file']{
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
}

.abs{
    position: relative;
}

#upload_ebook_form input[type='file'] {
  position: absolute;
  top: -25px;
  left: 85px;
}

.choose-file,
.choose-file .description{
  overflow: visible;
}

.rel{
    position: relative;
}

.days-hours .col-2{
    display: inline-block;
    vertical-align: top;
}

.pointer-events-none{
    pointer-events: none;
}

#place-order button{
    position: relative;
    left: 320px;
}

#credit-card-form .date span.error{
    position: absolute;
    top: 63px;
}

.total-button {
    text-decoration: underline;
    position: relative;
    right: 16px;
    top: -6px;
    cursor: pointer;
}

#credit-card-form .error.non-field-errors.row-holder{
    text-align: center;
    padding-bottom: 5px;
}

.row-holder.billing{
    padding-bottom: 0;
}

.row-holder .update-link {
  position: absolute;
  right: 69px;
}

span.link{
    cursor: pointer;
}

.ask-item span.link{
    color: #e4231c;
}

#hidden-forms .inner{
    position: relative;
}

#preloader-bg{
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
    background: url(../images/preloader.GIF) center no-repeat;
}

#subscription-canceling-confirm-popup .popup-content{
    margin-top: -15px;
    margin-bottom: 20px;
    text-align: center;
}

.hide-referral-link-block{
    text-decoration: underline;
    cursor: pointer;
    position: absolute;
    bottom: -49px;
    right: 0;
    color: rgba(255, 210, 209, 1);
}

.external-settings {
   display: inline-block;
}


.profile-form .label-holder {
    text-align: left;
    width: 180px;
}

.profile-form label {
    padding-top: 8px;
}

.profile-form .input-holder {
    float: none;
    margin-left: 190px;
}

.profile-form input {
    line-height: 24px;
    height: 40px;
    font-size: 20px;
}

.integration-block-form .info-text p{
    overflow: hidden;
    text-overflow: ellipsis;
}

h2.warning {
    border-bottom: none;
}

.check-holder label{
    display: inline-block;
}

.check-holder > span{
    position: relative;
    top: -9px;
}

.check-holder > span > span{
    cursor: pointer;
}

#change-password .btn-submit{
    width: auto;
}

#upload_ebook_form .disabled{
    opacity: 0.5;
    pointer-events: none;
}

.ebook-link{
    font-weight: bold;
    color: #4a4a4a;
}

.footer-frame .show-terms-popup{
    display: block;
    text-align: right;
    margin-bottom: 20px;
    cursor: pointer;
    color: black;
}

.footer-frame .show-terms-popup:hover{
    text-decoration: underline;
}


/* books list modal load indicator */
.spinner-body {
  overflow: hidden;
}

.spinner-wrapper {
  z-index: 999999;
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
}

.loader {
  z-index: 2800;
  top: 50% !important;
  left: 50% !important;
  margin-top: -48px !important;
  margin-left: -48px !important;
  font-size: 16px;
  position: absolute;
  text-indent: -9999em;
  border: 5px solid transparent;
  border-bottom-color: #e4231c;
  border-top-color: #e4231c;
  -webkit-animation: rotate 1.5s linear 0s infinite;
  animation: rotate 1.5s linear 0s infinite;
}

.loader,
.loader:after {
  border-radius: 50%;
  width: 80px;
  height: 80px;
}

@-webkit-keyframes rotate {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes rotate {
  from {
    -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
/* end books list modal load indicator */


/* books list actions */
.service-panel.deactivated .service-buttons p {
    color: #A8A8A8;
}
/* end books list actions */


/* subscription management */
/* end subscription management */

/* DataTable */
.payment-history-table .dataTables_wrapper .dataTables_paginate {
    float: none;
    text-align: center;
    overflow: hidden;
}
.payment-history-table .dataTables_wrapper table.dataTable thead th {
    background: none;
    color: #e4231c;
    font-size: 20px;
    text-align: left;
    padding-left: 0;
    border-bottom-color: #e4231c;
    pointer-events: none;
}
.payment-history-table .dataTables_wrapper table.dataTable tbody td {
    background: transparent!important;
    border-top: none;
    border-bottom: 1px solid #000;
    text-align: left;
    padding: 10px 0;
}
.payment-history-table .dataTables_wrapper .dataTables_paginate .previous {
    float: left;
}
.payment-history-table .dataTables_wrapper .dataTables_paginate .next {
      float: right;
}
.payment-history-table .dataTables_wrapper .dataTables_paginate {
    margin: 20px 0;
}
.payment-history-table .dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0;
    border: none!important;
}
.payment-history-table .dataTables_wrapper .dataTables_paginate .paginate_button:hover,
.payment-history-table .dataTables_wrapper .dataTables_paginate .paginate_button:active {
    background: transparent;
    color: #4a4a4a!important;
    border: none!important;
    text-decoration: underline!important;
    box-shadow: none;
}
.payment-history-table .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.payment-history-table .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    display: inline-block;
    padding: 1px 7px;
    border-radius: 8px;
    background: #4a4a4a;
    color: #fff!important;
    border: none!important;
}
.payment-history-table .dataTables_wrapper a, .dataTables_wrapper .dataTables_length label {
    font-weight: bold;
    font-size: 18px;
    color: #e4231c;
}
.payment-history-table .dataTables_wrapper a:hover {
    text-decoration: none;
}
.payment-history-table .dataTables_length select {
    border: none;
    border-radius: 3px;
    font-weight: bold;
    color: white;
    padding: 5px 10px;
    background-color: rgb(228, 35, 28);
}
.payment-history-table .dataTables_wrapper .dataTables_length {
    float: right;
}
.payment-history-table .dataTables_wrapper .dataTables_filter {
    display: none;
}
.payment-history-table .selectmenu {
    display: inline-block;
    border: none;
    vertical-align: middle;
    color: #fff!important;
    font-size: 20px;
    line-height: 18px;
    border-radius: 4px;
    background: #e4231c;
    height: 30px;
    width: 73px!important;
}
.payment-history-table .selectmenu .selectmenu-icon {
    background: none;
    width: auto;
}
.payment-history-table .selectmenu .selectmenu-icon:before {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 5px;
    right: 5px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 9px solid #fff;
}
.payment-history-table .selectmenu .selectmenu-icon:after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    bottom: 5px;
    right: 5px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 9px solid #fff;
}
/* end DataTable */
/* payment-history */
.datepicker-wrapper .label-holder {
    text-align: left;
    display: inline-block;
    vertical-align: middle;
    float: none;
    width: auto;
}
.datepicker-wrapper .label-holder label {
    padding: 0;
    font-size: 19px;
}
.datepicker-wrapper .input-group-holder {
    display: inline-block;
    vertical-align: middle;
}
.datepicker-wrapper .input-group-holder input{
    border: 1px solid #979797;
    color: #989898;
    margin: 0 6px 0 12px;
    padding: 10px 18px;
    font-size: 23px;
    width: 186px;
}
.payment-history-table {
    position: relative;
    margin-top: 7px;
}
.payment-history-form a {
    color: #e4231c;
    font-size: 18px;
    font-weight: bold;
    text-decoration: underline;
}
.payment-history-table .select-links {
    position: absolute;
    left: 0;
    top: 10px;
    z-index: 1;
}
.payment-history-table .select-links span {
    margin-left: 0;
}
/* end payment-history */


.change-card-submit {
    text-align: center;
}

.change-card-submit a {
    margin-left: 30px;
}

form .change-card-submit button[type="submit"] {
  float: none;
}


.request-cancel-link-pending {
  color: grey;
}
