* {
  box-sizing: border-box;
}

body {
  padding: 0;
}

h3 {
  color: green;
  font-size: 14px;
}

textarea {
  resize: none;
  min-height: 140px;
}

form label {
  font-weight: bold;
}

form .form-check label {
    font-weight: normal;
}

fieldset {
    border: 1px solid #a6a6a6;
    padding: 10px;
    margin-bottom: 10px;
}

body.logged-in fieldset legend {
  background: green;
}

fieldset legend {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    width: auto;
    padding: 5px;
    background: #899ca9;
    min-width: 160px;
    text-align: center;
}

img, svg {
    max-width: 100%;
}

input:disabled, button:disabled {
    cursor: not-allowed !important;
    opacity: 0.5;
}


/* Captcha
----------------------------------------------------------------------------------------------------------------*/
.captcha-wrapper {
    display: flex;
    gap: 10px;
}
    .captcha-wrapper .security-wrapper,
    .captcha-wrapper .security-wrapper img {
        min-width: 160px;
        min-height: 40px;
    }

    .captcha-wrapper button {
        min-width: 40px;
        min-height: 40px;
    }



.autosize {
    resize: none;
    overflow: hidden;
}

.allow-slimscroll {
    width: 100% !important;
    overflow: hidden;
}

.allow-slimscroll::-webkit-scrollbar {
    display: none;
}

.allow-slimscroll, .slimScrollDiv {
    height: auto !important;
    max-height: 80vh!important;
}

.alert-pre {
    word-wrap: break-word;
    word-break: break-all;
    white-space: pre-wrap;
}

.copy-address-wrapper {
    text-align: right;
}

    .copy-address-wrapper label,
    .copy-address-wrapper input {
        display: inline-block;
        vertical-align: middle;
    }

    .copy-address-wrapper input {
        width: 15px;
        height: 15px;
        margin-right: 3px;
        margin-top: -3px;
    }

    .copy-address-wrapper label {
        font-size: 12px;
        font-weight: bold;
        margin: 0;
    }
    .copy-address-wrapper label:hover {
        cursor: pointer;
    }

.metadata-form {
    font-size: 80%;
    line-height: 16px;
    display: block;
}

/* Statuses */
.status {
    min-width: 65px;
    display: inline-block;
    text-align: center;
    color: #fff;
}
.status.pending, .status.processing {
    color: #ffc107;
}
.status.approve, .status.active, .status.succeeded {
    color: #28a745;
}
.status.waiting {
    color: #5c6870;
}
.status.reject, .status.inactive, .status.payment_failed{
    color: #dc3545;
}

.hide {
  display: none;
}

.btn, .badge {
    margin-right: 2px;
}
.btn:only-child, .badge:only-child {
    margin-right: 0;
}

.page-link {
    cursor: pointer;
}

#topbar {
    background: #f1c0bb;
    border-bottom: 5px solid #e38177;
}

main {
    padding: 0 20px;
}

input.form-control:read-only {
    background-color: #dde1e3;
    opacity: 1;
}

input[type=radio], input[type=checkbox] {
    cursor: pointer;
}

table.table tr td:last-child form, table.table tr td:last-child .btn {
    display: inline-block;
}

table.table tr td:last-child .btn.mw-auto {
    min-width: auto
}

.sticky-login-as {
    text-align: center;
    padding: 10px;
    background: #f2faff;
    border-top: 2px solid #97b9cc;
}

.custom-file-upload {
    display: inline-block;
    position: relative;
    margin: 0;
}
.custom-file-upload input[type="file"] {
    visibility: hidden;
    position:absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100;
}

/* Tag Inputs
---------------------------------------------------------------------*/
.bootstrap-tagsinput  {
  max-height: 38px;
  width: 100%;
}
  .bootstrap-tagsinput .tag {
    background: #17a2b8;
    padding: 3px 5px;
    margin: 0;
    position: relative;
    font-size: 90%;
    max-height: 38px;
    border-radius: 3px;
  }
  .bootstrap-tagsinput .tag span {
    background: #495057;
    border: none;
    width: 15px;
    height: 15px;
    line-height: 13px;
    position: absolute;
    border-radius: 50%;
    right: -5px;
    top: -10px;
    text-align: center;
    font-size: 8px;
  }
  .bootstrap-tagsinput .tag span:hover {
    background: red;
  }

.modal-dialog {
    max-width: 60vw;
    margin: 0 auto;
}
.modal-fullscreen {
    max-width: 97%;
    max-height: 97%;
}

.modal-body {
    overflow-y: auto;
    max-height: 75vh;
}

.modal-dialog.modal-fullscreen .modal-body {
    padding: 0;
}

/* Data Table
---------------------------------------------------------------------*/
table.dataTable.table-sm .sorting:before, table.dataTable.table-sm .sorting_asc:before, table.dataTable.table-sm .sorting_desc:before,
table.dataTable.table-sm .sorting:after, table.dataTable.table-sm .sorting_asc:after, table.dataTable.table-sm .sorting_desc:after {
  top: -35px;
}
table.dataTable thead>tr>th.sorting_asc,
table.dataTable thead>tr>th.sorting_desc,
table.dataTable thead>tr>th.sorting,
table.dataTable thead>tr>td.sorting_asc,
table.dataTable thead>tr>td.sorting_desc,
table.dataTable thead>tr>td.sorting {
  padding-right: 0;
}

/* TinyMCE
---------------------------------------------------------------------*/
.tox-statusbar__branding {
  display: none;
}

/* Chart
---------------------------------------------------------------------*/
#age-chart-wrapper {
  height: auto;
}

/* Table Grid
---------------------------------------------------------------------*/
#table-grid {
  table-layout: fixed ;
  width: 100% !important;
}

#table-grid tr td, #table-grid tr th {
  position: relative;
  overflow: hidden;
  text-overflow: ellipsis;
}

#table-grid tr th .form-control,
#table-grid tr td .form-control {
    width: 90%;
}

#table-grid .day-label {
  border-radius: 7px;
  color: #ffffff;
  background: #ababab;
  padding: 3px 7px;
  margin: 0 5px;
  display: none;
  position: absolute;
  right: 5px;
  transition: 0.3s;
  font-size: 80%;
}

#table-grid .day-label:hover {
  background: #2e6700;
  padding: 3px 10px;
}

#table-grid.weekview .day-label {
  display: inline-block;
}


  /* Birth Column
  ---------------------------------------------------------------------*/
  #table-grid #birthdate-column .form-control {
      width: 100%;
  }
  /* #birthdate-column {
    vertical-align: top;
  }

  #birthdate-column div, #birthdate-column button{
    display: inline;
  }
    #birthdate-column div {
        width: 75%;
        float: left;
    }

    #birthdate-column button {
        margin-left: 5px;
        font-size: 11px;
        min-height: 38px;
    } */

  /* Birth Range
  ---------------------------------------------------------------------*/
  #birthdaterange, #birthdate {
    background: #fff;
    font-weight: normal;
    color: #000;
    cursor: pointer;
    padding: 5px 10px;
    text-align: left;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    width: 100%;
    min-height: 38px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    }
    #birthdaterange i {
      padding-right: 10px;
    }
    #birthdaterange span, #birthdate{
      margin: 0;
      padding: 0;
      text-align: center;
      font-size: 80%;
    }


  /* Age Column
  ---------------------------------------------------------------------*/
  #table-grid #age-column .form-control {
    padding-left: 5px;
    padding-right: 5px;
    vertical-align: top;
    display: inline-block;
    width: 47%;
  }


.bootstrap-select .dropdown-menu {
    max-height: 400px !important;
}
.bootstrap-select .dropdown-menu  .inner {
    max-height: 300px !important;
}

.table.list {
    table-layout: fixed;
}
    .table.list tr td, .table.list tr th {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .table.list tr td:last-child, .table.list tr th:last-child {
        overflow: unset;
        text-overflow: unset;
        white-space: unset;
    }

body.logged-in #spark-app {
    padding-bottom: 50px;
}

footer.app-footer {
    text-align: center;
}
footer.app-footer nav {
    padding: 20px;
}
footer.app-footer nav ul li {
    display: inline-block;
    margin: 0 10px;
}
footer.app-footer nav ul li, footer.app-footer nav ul li a {
    text-decoration: none;
}

footer.app-footer nav ul li a:hover {
    text-decoration: underline
}

.alert ul {
    list-style-position: inside;
    padding: 0;
    margin: 0;
}

  /* Admin Dashboard
  ---------------------------------------------------------------------*/
  .required {
      color: red;
  }

  .card .card-header .btn, table.table .btn {
      margin-bottom: 2px;
      white-space: nowrap;
  }

  a.with-badge span.badge {
    border-radius: 50%;
    top: -10px;
    position: relative;
    left: -5px;
  }

  .public-link-wrapper {
      font-size: 10px;
      padding: 5px;
      display: inline-block;
      width: 100%;
      font-weight: bold;
      margin-bottom: 0;
  }
  .public-link-wrapper .btn {
    font-size: inherit;
    padding: 2px 5px;
    margin: 0 0 5px;
  }

  fieldset section .form-group input:read-only,
  fieldset section .form-group textarea:read-only,
  fieldset section .form-group select:read-only option {
    text-indent: -200%;
    overflow: hidden;
  }

  section.row {
      padding: 40px 0;
      margin-bottom: 5px;
      position: relative;
  }
  section.row span.row-counter {
      position: absolute;
      left: 48.5%;
      top: -18px;
      width: 30px;
      height: 30px;
      line-height: 24px;
      font-weight: bold;
      font-size: 16px;
      color: #ffffff;
      text-align: center;
      background: #b9c3ca;
      border: 1px dashed #c6ced3;
      border-radius: 50%;
  }


  section.formset-multi-row:nth-child(odd){
    background: #e2e6e9;
    border: 1px dashed #b1b1b1;
  }
  section.formset-multi-row:nth-child(even){
      background: #eeeeee;
      border: 1px dashed #dddddd;
  }


.ledger-table-view table {
    margin: 20px 0;
    font-size: 12px;
    table-layout: auto;
}
    .ledger-table-view table tr th,
    .ledger-table-view table tr td{
        padding: 3px;
        border: 1px solid #a6a6a6;
        border-collapse: collapse;
    }

    .ledger-table-view table tr th {
        background: #deefed;
        text-align: left;
    }

    .ledger-table-view fieldset section ul.list-group a.fixedassets-preview,
    .ledger-table-view fieldset section ul.list-group a.trialbalance-preview,
    .ledger-table-view table.ledger-converted {
        display: none;
    }

.list-group-item {
    display: flex;
    justify-content: space-between;
}

    .list-group-item.selected a{
        color: #28a745;
    }


/* PDFit.co
--------------------------------------------------------------------------------*/

#pdf-sidepanel {
    display: flex;
}
    #pdf-sidepanel nav {
        margin-right: 20px;
    }

    #pdf-sidepanel nav ul li span {
        width: 31px;
        text-align: center;
        display: inline-block;
        margin: 0 0 5px;
        cursor: pointer;
    }

    #pdf-sidepanel nav ul li span.active {
        border: 2px solid #000;
    }

    #pdf-sidepanel section {
        width: 100%;
    }


#pdf-rearrange-modal #pdfEditSortable2,
#pdf-splitpage-modal  .modal-body ul,
#pdf-removepage-modal  .modal-body ul ,
#pdf-rotation-modal  .modal-body ul {
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: stretch;
    margin: 0;
    padding: 0;
}

#pdf-rearrange-modal  #pdfEditSortable2 li,
#pdf-splitpage-modal  .modal-body ul li,
#pdf-removepage-modal  .modal-body ul li ,
#pdf-rotation-modal  .modal-body ul li {
    list-style: none outside;
    margin-right: 10px;
    margin-bottom: 10px;
    width: 175px;
    height: 175px;
    text-align: center;
    font-size: 11px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    border: 1px solid #c7cdd1;
    background: #fff;
    margin: 5px;
    flex-direction: column;
    position: relative;
    background-size: 65% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transition: background .1s;
}

#pdf-rearrange-modal  #pdfEditSortable2 li:hover,
#pdf-splitpage-modal  .modal-body ul li:hover,
#pdf-removepage-modal  .modal-body ul li:hover{
    background-size: 60% !important;
}

#pdf-rotation-modal  .modal-body ul li .background{
    background: transparent;
    display: grid;
    place-items: center;
    place-content: center;
    overflow: hidden;
}

#pdf-rotation-modal li .background img{
    width: 50%;
    transition:.1s;
}

#pdf-rotation-modal li:hover .background img{
    transform:scale(1.15);
}

#pdf-rearrange-modal  #pdfEditSortable2 li:after,
#pdf-splitpage-modal  .modal-body ul li:after,
#pdf-removepage-modal  .modal-body ul li:after,
#pdf-rotation-modal  .modal-body ul li:after{
    content: '';
    width: 100%;
    height: 100%;
    background: linear-gradient(to top,rgba(0,0,0,.2) 4%,transparent 57%);
    position: absolute;
    z-index: 1;
}


#pdf-rearrange-modal  #pdfEditSortable2 li span,
#pdf-splitpage-modal  .modal-body ul li span,
#pdf-removepage-modal  .modal-body ul li span ,
#pdf-rotation-modal  .modal-body ul li span {
    border-radius: 5px;
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
    background: #f46b5c;
    color: #fff;
    margin: 0 5px 5px 0;
}

#pdf-splitpage-modal  .modal-body ul li input[type="checkbox"],
#pdf-removepage-modal  .modal-body ul li input[type="checkbox"] ,
#pdf-rotation-modal  .modal-body ul li input[type="checkbox"] {
    width: 15px;
    height: 15px;
    width: 15px;
    height: 15px;
    position: absolute;
    left: 50%;
    top: 50%;
}

#pdf-splitpage-modal  .modal-body ul label,
#pdf-removepage-modal  .modal-body ul label ,
#pdf-rotation-modal  .modal-body ul label {
    margin: 0;
}

#pdf-bookmark-modal .modal-body ul, ul#pdf-bookmark-list {
    margin: 0;
}
#pdf-bookmark-modal .modal-body ul li, ul#pdf-bookmark-list li {
    list-style: none outside;
}

#pdf-bookmark-modal .modal-body ul li a:hover, ul#pdf-bookmark-list li a:hover {
    text-decoration: none;
    color: lightcoral;
}


.r-btnAdmin.isadmin {
    background: #28a745;
    border-color: #28a745;
}


body#pdfit-body {
    padding-top: 120px;
    overflow-x: hidden;
}

#pdfit-header-main .auth {
    border: 1px solid #f46b5c;
    padding: 10px 20px;
    border-radius: 20px;
    color: #f46b5c;
    transition: background ease-in-out 0.2s;
}
#pdfit-header-main .auth:hover {
    color: #fff;
    background: #f46b5c;
}

/* PDFit.co: Edit page sidebar and content */
#pdf-edit-wrapper {
    display: flex;
    text-decoration: none;
    transition: all 0.4s;
}

  #pdf-edit-sidebar {
    width: 35%;
    max-width: 400px;
    transition: all 0.4s;
    height: 100vh;
  }

  #pdf-edit-sidebar.active {
    margin-left: -25%;
  }

  #pdf-edit-sidebar.active #pdf-sidepanel {
      display: none;
  }

  #pdf-edit-content {
    width: 100%;
    padding: 20px;
    min-width: height 100vh;
    transition: all 0.4s;
  }

  #pdf-edit-content h2 {
    text-align: center;
    margin-bottom: 50px;
  }

  #pdf-edit-content p {
    text-align: justify;
  }

  @media (max-width: 768px) {
    #pdf-edit-sidebar {
        margin-left: calc((25% - -40px) * -1);
    }

    #pdf-edit-sidebar.active {
      margin-left: 0;
    }

    #pdf-edit-sidebar.active #pdf-sidepanel {
        display: block;
    }

    #pdf-edit-toggleSidebar span {
      display: none;
    }
  }


#pdfit-contact-form label {
    width: 90%;
    font-weight: normal;
}
    #pdfit-contact-form input[type=text],
    #pdfit-contact-form input[type=email],
    #pdfit-contact-form textarea {
        background: none;
        border: none;
        border-radius: unset;
        border-bottom: 1px solid #ffffff;
        width: 100%;
        color: #ffffff;
        padding-left: unset;
        padding-right: unset;
    }
    #pdfit-contact-form ::-webkit-input-placeholder {
        color: #ffffff;
    }

    #pdfit-contact-form .form-control:focus {
        background: unset;
        border-color: unset;
        box-shadow: unset;
    }

    #pdfit-contact-form textarea.form-control {
        height: 150px;
    }

/* PDFit.co: Header */
#pdfit-header {
    min-width: 980px;
    margin:0 auto;
    padding: 30px 0 0;
    position: fixed;
    top: 0;
    background: #ffffff;
}
    #pdfit-header #pdfit-logo-wrapper {
        padding-left: 5%;
    }

    #pdfit-header #pdfit-logo-wrapper img {
        width: 120px;
    }

    #pdfit-header #pdfit-topmenu-wrapper {
        text-align: right;
        padding-right: 5%;
    }
    #pdfit-header #pdfit-topmenu-wrapper nav {
        margin: 30px 0;
        height: 40px;
        line-height: 40px;
    }
        #pdfit-header #pdfit-topmenu-wrapper nav ul li {
            list-style: none outside;
            display: inline;
            padding: 0 10px;
        }

        #pdfit-header #pdfit-topmenu-wrapper nav ul li a {
            text-decoration: none;
            color: #000000;
            display: inline-block;
        }

        #pdfit-header #pdfit-topmenu-wrapper nav ul li.auth {
            margin-left: 20px;
        }

        #pdfit-header #pdfit-topmenu-wrapper nav ul li.auth a{
            color: #f46b5c;
            border: 1px solid #f46b5c;
            border-radius: 20px;
            padding: 0 20px;
            transition: background ease-in-out 0.20s;
        }

        #pdfit-header #pdfit-topmenu-wrapper nav ul li.auth a:hover {
            background: #f46b5c;
            color: #ffffff;
        }

/* Hero: Home */
#pdfit-home #hero-home {
    padding: 50px 0;
}
    /* Hero */
    #pdfit-home #hero-home h2 {
        color: #f46b5c;
        font-size: 72px;
        line-height: 1.25em;
        text-align: center;
    }

    #pdfit-home section .row.squared > * {
        padding: 0;
    }
    #pdfit-home section img {
        width: 100%;
    }

    /* Cell Content: Colored */
    #pdfit-home section .cell-orange {
        background: #f46b5c;
        color: #ffffff;
    }

    #pdfit-home section .cell-white {
        background: #ffffff;
        color: #000;
    }

    /* Cell Content: Inner */
    #pdfit-home section .cell-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        width: 60%;
        margin: 0 auto;
    }

    #pdfit-home #contact-row {
        background: #f4857a;
        color: rgb(255,255,255);
        padding-top: 120px;
        padding-bottom: 120px;
    }


/* Hero: Pricing */
#pdfit-pricing #hero-pricing {
    padding: 50px 0;
}

#pdfit-pricing #hero-pricing h2 {
    color: rgb(244,107,92);
    text-align: center;
    line-height: 1.35em;
    font-size: 40px;
}

#pdfit-pricing section .row {
    margin-bottom: 40px;
}

#pdfit-pricing section .col-4 {
    background: rgb(252,251,251);
    padding: 100px;
}

    #pdfit-pricing section .col-4.cell-colored {
        color: #ffffff;
        background: rgb(244,107,92);
    }

    #pdfit-pricing section .col-4 h3,
    #pdfit-pricing section .col-4 h4 {
        color: #000;
    }

    #pdfit-pricing section .col-4 h3 {
        line-height: 1.41em;
        font-size: 22px;
    }

    #pdfit-pricing section .col-4 h4{
        line-height: 1.75em;
        font-size: 18px;
    }

    #pdfit-pricing section .col-4 .btn {
        border: 1px solid #000;
        border-radius: 20px;
    }

    #pdfit-pricing section .col-4.cell-colored,
    #pdfit-pricing section .col-4.cell-colored h4,
    #pdfit-pricing section .col-4.cell-colored h3 {
        color: #ffffff;
    }

    #pdfit-pricing section .col-4.cell-colored .btn {
        border-color: #ffffff;
        color: #ffffff;
    }

#pdfit-contact #contact-row {
    padding: 120px 0;
}

    #pdfit-contact #contact-row .col-7 {
        padding-left: 15%;
    }

    #pdfit-contact #contact-row h2{
        color: rgb(244,107,92);
        margin-bottom: 60px;
    }

    /* Contact Landing Page */
    #pdfit-contact #contact-row #pdfit-contact-form input[type=text],
    #pdfit-contact #contact-row #pdfit-contact-form input[type=email],
    #pdfit-contact #contact-row #pdfit-contact-form textarea {
        border-color: #000000;
        color: #000000;
    }

    #pdfit-contact-form ::-webkit-input-placeholder {
        color: rgba(0,0,0,0.5);
    }

    #pdfit-contact #contact-row #pdfit-contact-form input[type=submit] {
        width: 90%;
        background-color: #000;
        color: #fff;
        border-radius: unset;
    }

#hero-default {
    background: #494949;
    height: 400px;
    text-align: center;
    color: #ffffff;
    margin-bottom: 40px;
}
#hero-default .col-12 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#pdfit-faq #hero-faq {
    background: url('/images/pdfit/hero/faq.webp') no-repeat;
    background-size: cover;
    height: 400px;
    text-align: center;
    color: #ffffff;
    margin-bottom: 40px;
}

    #pdfit-faq #hero-faq .col-12 {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #pdfit-faq section .cell-wrapper {
        padding: 40px;
    }

    #pdfit-faq section .cell-wrapper svg,
    #pdfit-faq section .cell-wrapper h3{
        color: rgb(244,107,92);
        fill: #F46B5C;
    }

    #pdfit-faq section .cell-wrapper svg {
        width: 50px;
        height: 50px;
        margin-bottom: 60px;
    }

    #pdfit-faq section .cell-wrapper h3 {
        line-height: 1.41em;
        font-size: 22px;
        margin-bottom: 40px;
    }
#pdfit-privacy-policy #hero-default,
#pdfit-terms-and-conditions #hero-default{
    height: 200px;
}


#pdfit-privacy-policy .container{
    max-width: 1000px;
}

#pdfit-terms-and-conditions .definition-table td{
    padding: 10px;
}

#pdfit-terms-and-conditions table,
#pdfit-terms-and-conditions th,
#pdfit-terms-and-conditions td {
    border: 1px solid #494949;
}


/* PDFit.co: Footer */
#pdfit-footer {
    text-align: center;
    padding: 30px 0;
}
    #pdfit-footer #social-list li {
        list-style: none outside;
        display: inline-block;
    }
