@tailwind base;
@tailwind components;
@tailwind utilities;

@import "s3_direct_upload_progress_bars";
@import "linecons";
@import 'utilities';
@import 'slick';
@import 'subinvestment_pdf';
@import 'template';

@import "active_admin";

body.active_admin .table_tools_segmented_control {
  display: inline-block;
  list-style-type: none;
  margin: 0px;
  padding: 0px;
  font-size: 14px;
}

.popup-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.popup-modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

body.active_admin .styled_panel {
  font-weight:bold;
  font-weight: 400;
  font-size:19px;
  margin-bottom: 20px;
}

th, td, caption {
  padding: 10px 10px 4px 5px;
}

.right{
  text-align: right;
}

td.total-td{
  text-align: left;
  font-weight:bold;
  font-size:14px;
  color:#03c;
}


tfoot{
  border-top:12px solid #990000;
}

.panel_contents{
font-size: 14px;
}

body.active_admin #header {
  background: none repeat scroll 0% 0% #205081;
  border-bottom: 1px solid #44484B;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.37);
  text-shadow: 0px 1px 0px #000;
  height: 20px;
  overflow: visible;
  position: static;
  padding: 9px 0;
  z-index: 900;
}


body.active_admin #title_bar {
  background: #FFF;
  text-shadow: 0px 1px 0px #FFF;
  border-width: 0px;
  border-style: solid;
  -moz-border-top-colors: none;
  -moz-border-right-colors: none;
  -moz-border-bottom-colors: none;
  -moz-border-left-colors: none;
  border-image: none;
  border-color: #E6E6E6 #D4D4D4 #EEE;
  font-size: 1em;
  font-weight: bold;
  line-height: 18px;
  color: #5E6469;
  -moz-box-sizing: border-box;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.37);
  display: table;
  width: 100%;

  margin: 0px 0px 15px;
  padding: 10px 30px;
  z-index: 800;
}

body.active_admin #header a, body.active_admin #header a:link {
  color: rgba(255, 255, 255, 1);
  font-size: 14px;
}

body.active_admin #title_bar h2 {
  margin: 0px;
  padding: 0px;
  font-size: 22px;
  font-weight: bold;
}

body.active_admin form fieldset ol > li label {
  display: block;
  width: 20%;
  float: left;
  font-weight: bold;
  color: #5E6469;
  font-size: 1.3em;
}

#admin_user_remember_me_input label {
  width: auto;
}

body.active_admin form input[type="text"]:focus, body.active_admin form input[type="password"]:focus, body.active_admin form input[type="email"]:focus, body.active_admin form input[type="number"]:focus, body.active_admin form input[type="url"]:focus, body.active_admin form input[type="tel"]:focus, body.active_admin form textarea:focus {
  border: 1px solid rgba(8, 139, 255, 1);
  box-shadow: 0px 0px 4px rgba(4, 127, 236, 1);
}

body.active_admin form input[type="text"], body.active_admin form input[type="password"], body.active_admin form input[type="email"], body.active_admin form input[type="number"], body.active_admin form input[type="url"], body.active_admin form input[type="tel"], body.active_admin form textarea {
  width: 76%;
  border: 1px solid #C9D0D6;
  border-radius: 3px;
  font-size: 1.5em;
  font-family: Helvetica,Arial,sans-serif;
  outline: medium none;
  padding: 8px 10px 7px;
}

body.active_admin #sidebar form input[type="text"],
body.active_admin #sidebar form input[type="number"] {
  font-size: 13px;
}

body.active_admin #header #site_title a {
  display: inline-block;
  color: rgba(255, 255, 255, 1);
  float: left;
  margin-right: 20px;
  margin-bottom: 0px;
  padding-top: 3px;
  font-size: 20px;
  font-weight: bold;
}

body.active_admin table.index_table {
  width: 100%;
  margin-bottom: 10px;
  border: 0px none;
  border-spacing: 0px;
  font-size: 14px;
}

body.active_admin .status_tag.paid, body.active_admin .status_tag.sent {
  background: #8daa92;
}

#investment_amount.edit-investment-amount {
  width: 150px;
  border:none ;
  padding-left: 0;
}

#investment_amount.edit-investment-amount:focus,
#investment_amount.edit-investment-amount:active {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.popup-background {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(100,100,100,0.5);
  z-index: 900;
}

.popup-box {
  top: 30%;
  left: 40%;
  z-index: 901;
}

.investment-big-block {
   width: 66% !important;
   margin-right: 0 !important;
   float: left;
 }

#investment_details_panel {
  font-size:14px;
}

body.active_admin .attributes_table table th {
  box-shadow: none;
  background: none repeat scroll 0% 0% transparent;
  width: 150px;
  font-size: 0.9em;
  padding-left: 0px;
  text-transform: none;
  color: #5E6469;
  text-shadow: 0px 1px 0px #FFF;
}

body.active_admin .attributes_table table td {
  padding: 8px 12px 6px;
  vertical-align: top;
  border-bottom: 1px solid #CCC;
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
}

#investment_sub_investments {

  font-size: 14px;

}

#investment_distributions {

  font-size: 14px;

}

body.active_admin .panel_contents table th {
  padding-top: 10px;
  background: none repeat scroll 0% 0% transparent;
  color: #5E6469;
  box-shadow: none;
  text-shadow: 0px 1px 0px #FFF;
  text-transform: uppercase;
  border-bottom: 1px solid #CCC;
  font-size: 12px;
}

#referrand_checkbox_div {
  margin-bottom: 15px;
}

body.active_admin form select {
  width: 78%;
}

body.active_admin form .fragments .fragments-group .fragment select {
  width: auto;
}

body.active_admin form .filter_form_field.filter_select select {
  width: 240px;
}

body.active_admin form .radio .choices-group li.choice {
  display: inline-block;
  margin-right: 10px;
}

body.active_admin form fieldset.inputs {
  background: #fff;
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
}

body.active_admin form fieldset ol > li label {
  font-weight: normal;
  display: flex;
}

select {
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.428571429;
  background-color: white;
  background-image: none;
  border: 1px solid #cccccc;
}

body.active_admin form fieldset > ol > li.boolean label {
  padding-left: 0;
}

.mce-tinymce {
  display: inline-block !important;
  width: 78% !important;
  border: 1px solid #C9D0D6 !important;
}

body.active_admin form fieldset ol > li.hidden {
  padding: 0;
}

#title_sidebar_section { display: none }

form fieldset > ol > li.error {
  position: relative;
}

body.active_admin form fieldset > ol > li p.inline-errors {
  position: absolute;
  display: inline;
  margin-left: 10px;
  width: 300px;
  top: 15px;
  left: -1000px;
}

body.active_admin form .error input[type="text"],
body.active_admin form .error input[type="password"],
body.active_admin form .error input[type="email"],
body.active_admin form .error input[type="number"],
body.active_admin form .error input[type="url"],
body.active_admin form .error input[type="tel"],
body.active_admin form .error select,
body.active_admin form .error textarea {
  border-color: rgb(147, 36, 25);
}

ul#tabs li#comments {
  display: none;
}

#password_checkbox_div {
  margin-bottom: 15px;
}

.label-input {
  border: none !important;
  padding: 0 !important;
}

.more-interest {
  margin: 20px;
  margin-left: 0;
  font-size: 14px;
}

.has_many_delete a {
  float: right;
  margin-right: 7% !important;
}

.has_many_fields .inputs ol li {
  padding: 5px;
  li.fragment {
    padding: 0;
  }
}

.textarea-form .mce-container {
  width: 100% !important;
}

.pure-form.pure-form-stacked {
  margin-top: 10px;
}

.upload {
  border: none;
}

.net-income th {
  color: #000 !important;
}

.net-income td {
  font-weight: bold;
}

body.active_admin #title_bar {
  margin-top: 47px;
}

.download_links {
  font-size: 14px;
  a {
    padding-left: 20px;
  }
  a:first-child {
    background: image-url(/assets/excel-bbf14b04147acbd8ef41d1faf757ab38514602f6405147f88272f84d9eef1ba3.png) left center no-repeat;
  }
  a:last-child {
    background: image-url(/assets/pdf-969449ea75917543cf670b1c58de17c16b089e76e8ba61d91fad5e30f31596a8.png) left center no-repeat;
    display: none;
  }
  a.pdf {
    background: image-url(/assets/pdf-969449ea75917543cf670b1c58de17c16b089e76e8ba61d91fad5e30f31596a8.png) left center no-repeat;
  }
  a.email {
    background: image-url(/assets/email-dbc29cb66562d1365464e42484d020eaaadb83c705268ef346927acb86f70678.png) left center no-repeat;
  }
}

.admin_user_payments .download_links a:last-child,
.admin_payments .download_links a:last-child,
.admin_investment_accrueds .download_links a:last-child,
.admin_investment_retaineds .download_links a:last-child,
.admin_investment_sub_distributions .download_links a:last-child,
.admin_investment_profits .download_links a:last-child,
.admin_tax_reports .download_links a:last-child {
  display: inline;
}


/* xe style */

.xe-widget.xe-counter, .xe-widget.xe-counter-block .xe-upper, .xe-widget.xe-progress-counter .xe-upper {
  background: #fff;
  padding: 1% 2% 1% 1%;
  line-height: 1;
  display: table;
  margin-bottom: 20px;
}

.xe-widget {
  position: relative;
}

.xe-widget.xe-counter .xe-icon, .xe-widget.xe-counter-block .xe-upper .xe-icon, .xe-widget.xe-progress-counter .xe-upper .xe-icon {
  width: 1%;
}

.xe-widget.xe-counter .xe-icon i, .xe-widget.xe-counter-block .xe-upper .xe-icon i, .xe-widget.xe-progress-counter .xe-upper .xe-icon i {
  display: block;
  background: #68b828;
  color: #fff;
  text-align: center;
  font-size: 25px;
  line-height: 50px;
  width: 50px;
  height: 50px;
  -webkit-border-radius: 50%;
  -webkit-background-clip: padding-box;
  -moz-border-radius: 50%;
  -moz-background-clip: padding;
  border-radius: 50%;
  background-clip: padding-box;
  font-style: normal;
  font-weight: bold;
}

.xe-widget.xe-counter .xe-icon, .xe-widget.xe-counter .xe-label, .xe-widget.xe-counter-block .xe-upper .xe-icon, .xe-widget.xe-counter-block .xe-upper .xe-label, .xe-widget.xe-progress-counter .xe-upper .xe-icon, .xe-widget.xe-progress-counter .xe-upper .xe-label {
  display: table-cell;
  vertical-align: middle;
  padding: 18px;
}

.xe-widget.xe-counter .xe-label {
  padding-right: 0;
}

.xe-widget.xe-counter .xe-icon+.xe-label, .xe-widget.xe-counter-block .xe-upper .xe-icon+.xe-label, .xe-widget.xe-progress-counter .xe-upper .xe-icon+.xe-label {
  padding-left: 0;
}

.xe-widget.xe-counter .xe-label .num, .xe-widget.xe-counter-block .xe-upper .xe-label .num, .xe-widget.xe-progress-counter .xe-upper .xe-label .num {
  display: block;
  font-size: 20px;
  font-weight: normal;
  color: #3e3f3f;
}

.xe-widget.xe-counter .xe-label span, .xe-widget.xe-counter-block .xe-upper .xe-label span, .xe-widget.xe-progress-counter .xe-upper .xe-label span {
  display: block;
  font-style: normal;
  font-size: 10px;
  text-transform: uppercase;
  color: #979898;
  margin-top: 5px;
}

/* xe style end */

.filter-box {
  padding-bottom: 10px;
}

.filter-link {
  font-size: 14px;
  margin-right: 10px;
  padding: 3px;
}

.filter-link.selected {
  background: #ccc;
  border-radius: 5px;
}

.filter-label {
  font-size: 14px;
  margin-right: 10px;
  padding: 3px;
}

a.filter-link, a.filter-label:link, a.filter-label:visited {
  color: #38678b;
  text-decoration: none;
}

a.filter-link.selected {
  color: #323537;
}

.index.admin_investments .table_tools {
  display: none;
}

.admin_investment_sub_distributions .table_tools {
  display: none;
}

.admin_updates .table_tools {
  display: none;
}

.index_as_blog .post {
  margin-bottom: 20px;
}

#latest_posts {
  list-style-type: none;
  padding-left: 0;
  li {
    padding: 3px 0;
  }
}

#utility_nav ul {
  text-align: left;
}

body.active_admin.admin_sub_investors .scopes {
  display: none;
}

.must-hide { display: none !important; }

.negative { color:#EC4242 }

.active_admin .shade {
  position: absolute;
  z-index: 70000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.3;
  background: 50% 50% image_url(/assets/loading-blue.gif) no-repeat #000;
}

body.sub-investor.admin_user_payments.index .dropdown_menu { display: none; }

.flashes {
  width: 100%;
}

body.index.admin_sub_distributions.active_admin .blank_slate { display: none; }

#sub_distribution_transfer_to_id_input { display: none; }

#sub_distribution_current_admin_user_id_input { display: none; }

#wrapper span.exchange-rand-rate {
  text-align: left;
  font-weight: bold;
  font-size: 11px;
}

.xe-widget.xe-counter .xe-label .num.blue {
  color: #38678b;
}

body.sub-investor .breadcrumb {
  display: none;
}

#wrapper span.last-year-date {
  color: #ec4242;
}

.submit-transfer {
  background: #eee !important;
  color: #777 !important;
  text-shadow: none !important;
  border: 1px solid #ddd !important;
  cursor: auto !important;
}

.flash.flash_alert {
  display: none;
}

.alert-danger {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
  top: 35%;
  left: 35%;
  z-index: 9999;
}

.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
}

.dialog-close {
  color: #777;
  font-size: 16px;
  padding-left: 10px;
  cursor: pointer;
}

#edit_loan_payment li.link_action {
  padding: 5px;
}

.accrued-info {
  cursor: pointer;
}

.accrued-info .icon {
  width: 16px;
  height: 16px;
  background: 0% 50% image_url(/assets/toolbar_get_info.png) no-repeat transparent;
  display: inline-block;
  cursor: pointer;
}

.accrued-info label {
  display: inline-block;
  float: left;
  cursor: pointer;
}

.retained-info {
  cursor: pointer;
}

.retained-info .icon {
  width: 16px;
  height: 16px;
  background: 0% 50% image_url(/assets/toolbar_get_info.png) no-repeat transparent;
  display: inline-block;
  cursor: pointer;
}

.retained-info label {
  display: inline-block;
  float: left;
  cursor: pointer;
}

.li-make-payment {
  display: block;
  font-size: 0.95em;
  font-weight: bold;
  padding: 7px 16px 5px;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  color: #38678b;
  cursor: pointer;
}
.li-make-payment:hover {
  background-color: #75a1c2;
  background-image: linear-gradient(180deg, #75a1c2, #608cb4);
  text-shadow: #5a83aa 0 1px 0;
  color: #FFF;
}
.li-make-payment:active {
  background-color: #608cb4;
  background-image: linear-gradient(180deg, #608cb4, #75a1c2);
  color: #FFF;
}


.admin_sub_investments .download_links a:last-child {
  display: inline;
}

.admin_investments .download_links a:last-child {
  display: inline;
}

.exchange-rate {
  text-align: right;
  margin: 10px 0;
  font-size: 20px;
}

.initial-description {
  line-height: 25px;
  width: 78%;
}

.sub-investor-investment-source-wrapper, .investment-source-wrapper, .investment-status-wrapper {
  margin-top: 10px;

  label {
    margin-right: 20px;
    line-height: 30px;
    width: 300px !important;
    font-size: 1.3em;
  }
}

form fieldset > ol > li fieldset:not(.inputs) ol.choices-group {
  width: 15%;
  box-sizing: content-box;
}
.current-exchange-rate-wrapper div {
  float: left;
  font-size: 14px;

  &:first-child {
    margin-right: 20px;
  }
}

.current-exchange-rate-wrapper div .underline {
  text-decoration: underline;
}

.sub-investment-per-annum-panel {
  clear: both;
  width: 50%;

  &.accrued-amount, &.retained-amount {
    float: left;
  }
  &.accrued-percentage, &.retained-percentage {
    float: right; clear: right;
  }

  h3 {
    margin-top: 0;
  }

  .panel_contents {
    white-space: pre-wrap;
  }
}

.sub-investment-interest-periods {
  clear: left;
}

.update-post {
  img {
    max-width: 100%;
    height: auto;
  }
}

.new.admin_updates {
  .email-subinvester {
    float: left;
    margin-top: 5px;
    margin-right: 5px;
  }
}


.accrued-notification-batch-send, .interest-reserve-notification-batch-send {
  border-radius: 200px;
  display: inline-block;
  font-weight: bold;
  font-size: 1.0em;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 12px;
  margin-right: 3px;
  padding: 7px 16px 6px;
  text-decoration: none !important;
  background-color: #FFFFFF;
  background-image: linear-gradient(180deg, #FFFFFF, #E7E7E7);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 0 0 rgba(255, 255, 255, 0.8) inset;
  border: solid 1px #c7c7c7;
  border-color: #c7c7c7;
  border-top-color: #d3d3d3;
  border-right-color: #c7c7c7;
  border-bottom-color: #c2c2c2;
  border-left-color: #c7c7c7;
  text-shadow: #fff 0 1px 0;
  color: #5E6469;
  background-color: #FFFFFF;
  background-image: linear-gradient(180deg, #FFFFFF, #F0F0F0);
  border-color: #d0d0d0;
  border-top-color: #d9d9d9;
  border-right-color: #d0d0d0;
  border-bottom-color: #c5c5c5;
  border-left-color: #d0d0d0;
  font-size: 0.9em;
  padding: 4px 14px 4px;
  margin-bottom: 10px;
  cursor: not-allowed;

  &.active {
    cursor: pointer;
  }
}


.investment-balance-report {
  form {
    .date-range {
      .datepicker {
        font-size: 12px;
        margin-left: 0 !important;
      }
    }
  }

  .content {
    display: flex;

    .investment-content {
      width: 70%;
    }
    .filter-content {
      margin-left: 5%;
      width: 25%;

      h3 {
        margin-top: 0;
      }
    }
  }
}

.investment-balance-report .hidden {
  display: none;
}

.download_links {
  .pdf {
    background: url(/assets/pdf-04c3b05….png) left center no-repeat;
  }

  a:last-child {
    &.csv {
      background: none;
    }
  }
}

#update_email_sub_investor_input {
  width: 100%;

  label {
    width: 100%;
  }
}

.accrued-retained-report-title {
  font-size: 16px;
  text-align: center;
  margin: 10px 0;
}

.sub-investment-account-type {
  font-size: 1.3em;
}

.float-right {
  float: right;
}

.pt-7 {
  padding-top: 7px;
}

.static-break {
    margin-bottom: 300px;
}

.update-post {
  max-width: calc(100vw - 330px);
}

.admin_sub_investors.show {
  .action_items {
    display: flex;
    justify-content: space-between;
    .left-items {
      width: 600px;
    }

    .right-items {
      width: 600px;
    }
  }
}

@media (max-width: 1024px) {
  .admin_sub_investors.show {
    .action_items {
      .left-items {
        width: 400px;
      }

      .right-items {
        width: 400px;
      }
    }
  }
}

@media (max-width: 768px) {
  .admin_sub_investors.show {
    .action_items {
      .left-items {
        width: 300px;
      }

      .right-items {
        width: 300px;
      }
    }
  }
}
/* Cache Busting - Force Recompile */
/* 1. Force the Sidebar to a reasonable width */
/* 1. Force the New Sidebar to behave */
#main-menu {
  width: 280px !important;
  max-width: 280px !important;
  z-index: 100 !important; /* Keep it above everything */
  border-right: 1px solid #e5e7eb !important;
}

/* 2. Fix the "Big Squares" (Arrows/Icons) in the sidebar */
#main-menu svg, 
#main-menu i,
#main-menu .group svg {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  display: inline-block !important;
}

/* 3. Shift the Content to the Right so it doesn't overlap */
.xl\:ms-60 {
  margin-left: 280px !important;
  padding-top: 2rem !important;
}

/* 4. Fix your legacy Header height which is currently set to 20px */
body.active_admin #header {
  height: auto !important; /* Let Tailwind determine height */
  min-height: 50px;
  position: relative !important;
}

/*# sourceMappingURL=active_admin.css-86806bb73a4691ae002d064d495c6695dc29e14e4565f80b3ca7f8d179a29451.map */
