/*
 * Stylesheet for authenticated pages within the application
 */
/*========================COMMON CLIENT & BANK CONTENT=======================*/
.newquotediv #quote-due-by-container .daterow {
  margin-left: -3px;
  margin-right: -3px;
}

.newquotediv #quote-due-by-container .daterow .col-xs-6 {
  padding-left: 3px;
  padding-right: 3px;
  max-width: 142px;
}

.clientindex .dark h3 {
  padding-top: 15px;
}

@media (min-width: 1200px) {
  .clientindex .dark h3 {
    padding-top: 0;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .clientindex .dark h3 {
    padding-top: 0;
  }
}
.bank-data .dark h3 {
  padding-top: 15px;
}

@media (min-width: 1200px) {
  .bank-data .dark h3 {
    padding-top: 0;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .bank-data .dark h3 {
    padding-top: 0;
  }
}
.countdown {
  width: 310px;
}

#countdown {
  height: 105px;
  /* Animation start */
  /* Animation end */
  /*
  @media screen and (max-width: 48em) {
      .main-example {
          width: 100%;
      }
      .countdown-container {
          height: 100px;
      }
      .time {
          height: 70px;
          width: 48px;
      }
      .count {
          font-size: 1.5em;
          line-height: 80px;
      }
      .label {
          font-size: 0.8em;
          top: 72px;
      }
  }
  */
}

#countdown .time {
  border-radius: 5px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  display: inline-block;
  text-align: center;
  position: relative;
  height: 80px;
  width: 50px;
  -webkit-perspective: 479px;
  -moz-perspective: 479px;
  -ms-perspective: 479px;
  -o-perspective: 479px;
  perspective: 479px;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -o-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

#countdown .count {
  background: #666666;
  color: #222222;
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: 40px;
  line-height: 80px;
  overflow: hidden;
  position: absolute;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  top: 0;
  width: 100%;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-transform-style: flat;
  -moz-transform-style: flat;
  -ms-transform-style: flat;
  -o-transform-style: flat;
  transform-style: flat;
}

#countdown .count.top {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 5px 5px 0 0;
  height: 50%;
  -webkit-transform-origin: 50% 100%;
  -moz-transform-origin: 50% 100%;
  -ms-transform-origin: 50% 100%;
  -o-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
}

#countdown .count.bottom {
  background-image: linear-gradient(rgba(0, 0, 0, 0.05), transparent);
  background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0.05), transparent);
  background-image: -moz-linear-gradient(rgba(0, 0, 0, 0.05), transparent);
  background-image: -ms-linear-gradient(rgba(0, 0, 0, 0.05), transparent);
  background-image: -o-linear-gradient(rgba(0, 0, 0, 0.05), transparent);
  border-top: 1px solid #666666;
  border-bottom: 1px solid #666666;
  border-radius: 0 0 5px 5px;
  line-height: 0;
  height: 50%;
  top: 50%;
  -webkit-transform-origin: 50% 0;
  -moz-transform-origin: 50% 0;
  -ms-transform-origin: 50% 0;
  -o-transform-origin: 50% 0;
  transform-origin: 50% 0;
}

#countdown .label {
  __font-size: normal;
  font-size: 1em;
  margin-top: 5px;
  display: block;
  position: absolute;
  top: 82px;
  width: 100%;
  color: #666666;
}

#countdown .count.curr.top {
  -webkit-transform: rotateX(0deg);
  -moz-transform: rotateX(0deg);
  -ms-transform: rotateX(0deg);
  -o-transform: rotateX(0deg);
  transform: rotateX(0deg);
  z-index: 3;
}

#countdown .count.next.bottom {
  -webkit-transform: rotateX(90deg);
  -moz-transform: rotateX(90deg);
  -ms-transform: rotateX(90deg);
  -o-transform: rotateX(90deg);
  transform: rotateX(90deg);
  z-index: 2;
}

#countdown .flip .count.curr.top {
  -webkit-transition: all 250ms ease-in-out;
  -moz-transition: all 250ms ease-in-out;
  -ms-transition: all 250ms ease-in-out;
  -o-transition: all 250ms ease-in-out;
  transition: all 250ms ease-in-out;
  -webkit-transform: rotateX(-90deg);
  -moz-transform: rotateX(-90deg);
  -ms-transform: rotateX(-90deg);
  -o-transform: rotateX(-90deg);
  transform: rotateX(-90deg);
}

#countdown .flip .count.next.bottom {
  -webkit-transition: all 250ms ease-in-out 250ms;
  -moz-transition: all 250ms ease-in-out 250ms;
  -ms-transition: all 250ms ease-in-out 250ms;
  -o-transition: all 250ms ease-in-out 250ms;
  transition: all 250ms ease-in-out 250ms;
  -webkit-transform: rotateX(0deg);
  -moz-transform: rotateX(0deg);
  -ms-transform: rotateX(0deg);
  -o-transform: rotateX(0deg);
  transform: rotateX(0deg);
}

.main-chart {
  height: 100%;
}

/*========================SELECTED CONTENT=======================*/
::selected,
::selection {
  color: #ffffff;
  background-color: #12289C;
}

/*========================PAGE CONTENT===============================*/
body {
  background-color: #FFFFFF;
  color: #2F323A;
}

hr {
  border-top: 1px solid #12289C;
  height: 1px;
}

/*========================TOP BAR===============================*/
.black-bg {
  background-color: #F5F5F5;
}

/*========================LGOUT BUTTON===========================*/
ul.top-menu > li > .logout {
  color: #f2f2f2;
  font-size: 12px;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  border: 1px solid #11279B !important;
  padding: 5px 15px;
  margin-right: 15px;
  background: #12289C;
  margin-top: 15px;
}

/*========================SIDE MENU ITEMS========================*/
ul.sidebar-menu li a,
ul.sidebar-menu li a i {
  color: #2F323A;
  background-color: inherit;
}

ul.sidebar-menu li a.active,
ul.sidebar-menu li a:hover,
ul.sidebar-menu li a:focus,
ul.sidebar-menu li a.active i,
ul.sidebar-menu li a:hover i,
ul.sidebar-menu li a:focus i {
  color: #11279B;
  background-color: #FFFFFF;
}

ul.sidebar-menu li a.active,
ul.sidebar-menu li a:hover,
ul.sidebar-menu li a:focus {
  margin-left: -10px;
  margin-right: -10px;
  padding-left: 20px;
  /* Line text with items above and below */
}

#sidebar {
  z-index: 100;
  background-color: #F5F5F5;
  border-right: 1px solid #12289C;
}

/*========================TABLES LAYOUT=======================*/
.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
  vertical-align: middle;
  text-align: center;
}

/* DARK UI */
table thead tr th,
.thead-default th {
  color: #12289C !important;
  font-style: bold;
  background-color: unset !important;
  background-color: rgba(0, 0, 0, 0.05) !important;
}

.table-striped > tbody > tr:nth-child(2n+1) > td,
.table-striped > tbody > tr:nth-child(2n+1) > th {
  background-color: rgba(0, 0, 0, 0.02);
}

.table-striped > tbody > tr:nth-child(2n) > td,
.table-striped > tbody > tr:nth-child(2n) > th {
  background-color: unset !important;
}

.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
  border-color: #12289C #CCCCCC;
}

.table-bordered {
  border: none;
}

.table-bordered th,
.table-bordered td {
  /* Match look of data tables */
  border-left-width: 0px !important;
}

.table-bordered th:last-child,
.table-bordered td:last-child {
  /* Match look of data tables */
  border-right-width: 0px !important;
}

/*========================FORM FIELDS========================*/
.form-control, .btn {
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  padding: 12px;
  height: initial;
  font-size: 14px;
  color: #12289C;
}

select.form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-position: right 50%;
  background-repeat: no-repeat;
  background-image: url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%20%3C%21DOCTYPE%20svg%20PUBLIC%20%22-//W3C//DTD%20SVG%201.1//EN%22%20%22http%3A//www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd%22%3E%20%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%20x%3D%220px%22%20y%3D%220px%22%20width%3D%2214px%22%20height%3D%2212px%22%20viewBox%3D%220%200%2014%2012%22%20enable-background%3D%22new%200%200%2014%2012%22%20xml%3Aspace%3D%22preserve%22%3E%20%3Cpolygon%20points%3D%223.862%2C7.931%200%2C4.069%207.725%2C4.069%20%22/%3E%3C/svg%3E);
}

.form-control:active,
.form-control.btn:active:focus,
.form-control:focus {
  border-color: #12289C;
  outline: 0;
  color: #12289C;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

/*========================BUTTONS========================*/
.btn {
  width: 100%;
  max-width: 280px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  transition: all 200ms ease-out;
  background-color: #11279B;
  border: 2px solid #12289C !important;
  border-radius: 5px;
}

.btn:hover,
.btn:active,
.btn:visited,
.btn:focus,
.btn.active,
.btn.focus,
.btn-default:hover,
.btn-default:active,
.btn-default:visited,
.btn-default:focus,
.btn-default.active,
.btn-default.focus,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:visited,
.btn-primary:focus,
.btn-primary.active,
.btn-primary.focus {
  color: #ffffff;
  background-color: #11279B !important;
  border: 2px solid #12289C !important;
  outline-color: #12289C !important;
}

.btn-secondary,
.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:visited,
.btn-secondary:focus,
.btn-secondary.active,
.btn-secondary.focus {
  color: #12289C;
  background-color: transparent !important;
  border: 2px solid #12289C !important;
  outline-color: #12289C !important;
}

/*========================LINKS=============================*/
a,
a:visited,
a:hover {
  color: #11279B;
}

/*========================CHECKBOXES========================*/
input[type=checkbox] {
  -webkit-appearance: none;
  width: 20px;
  min-width: 20px !important;
  min-height: 20px !important;
  __border: 1px solid #12289C;
  border: 1px solid #2F323A;
  vertical-align: middle;
  margin-right: 5px;
  /*
  -webkit-box-shadow: none;
  -moz-box-shadow:none;
  box-shadow: none;
  */
}

input[type=checkbox]:checked {
  background-color: #12289C;
  border: 1px solid transparent;
}

input[type=checkbox]:checked::before {
  content: "\f00c" !important;
  text-align: center;
  --margin: 5px;
  margin: 2px;
  position: absolute;
  --font-size: 28px;
  color: #ffffff !important;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-family: "fontAwesome";
}

/*========================PAGINATION=========================*/
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  z-index: 2;
  color: #ffffff;
  cursor: default;
  __background-color: #12289C !important;
  __border-color: #12289C !important;
  background-color: #11279B !important;
  border-color: #12289C !important;
}

/*========================VALIDATIONS========================*/
label.error {
  __color: red;
  color: #FF4500;
  padding-left: 2px;
}

/*========================DATATABLES=========================*/
.dt-button {
  margin-right: 2px !important;
  width: auto !important;
  __background-color: #12289C !important;
  __border-color: #12289C !important;
}

.dt-filter {
  width: 105%;
}

/*=====================TABLE RESPONSIVE======================*/
.table-responsive {
  width: 100%;
  overflow: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: -ms-autohiding-scrollbar;
}

table.dataTable.dtr-inline.collapsed > tbody > tr[role=row] > td:first-child:before,
table.dataTable.dtr-inline.collapsed > tbody > tr[role=row] > th:first-child:before {
  __background-color: #11279B !important;
  background-color: #11279B !important;
  border-color: #12289C !important;
}

/*=====================CLIENT PAGES==========================*/
.client-logo-frame {
  background-color: #ffffff;
  border-radius: 5px;
  margin: 10px;
  padding: 10px;
  margin-bottom: 20px;
  height: 150px;
  white-space: nowrap;
  text-align: center;
  margin: 1em 0;
}

.client-logo-spacer {
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

img.client-logo {
  width: 80px;
  vertical-align: middle;
}

.well,
.panel {
  background-color: #FAFAFA;
  border-radius: 0px;
  border-color: #CCCCCC;
}

.panel-heading {
  color: #2F323A;
  background-color: #EEEEEE;
  border-radius: 0px;
  border-color: #CCCCCC;
  border-bottom: 0px;
}

/*=====================BANK PAGES============================*/
.bank-chart-well {
  background-color: #FAFAFA;
  padding: 10px;
  border-radius: 0px;
  min-height: 400px;
}

.banks-chart-page {
  padding-bottom: 10px;
  color: #ffffff;
}

.bank-data .quote-well,
.bank-data .deposit-well {
  background-color: #FAFAFA;
  padding: 10px;
  border-radius: 0px;
  min-height: 50px;
}

/*=====================CLIENT PAGES==========================*/
.client-data .nav-tabs {
  border: unset;
  background-color: #F5F5F5;
}

.client-data .chart-well,
.client-data .deposit-well {
  padding: 10px;
  padding-top: 30px;
  border-radius: 0px;
  min-height: 50px;
}

.client-data .email-well {
  border-radius: 0px;
  padding: 40px;
}

.client-data .bar-chart-container {
  padding-top: 20px;
  margin: auto;
  width: 90%;
  height: 90%;
  text-align: center;
}

.client-data .pie-chart-container {
  padding-top: 20px;
  margin: auto;
  width: 70%;
  height: 90%;
  text-align: center;
}

.client-data .gains-chart-page,
.client-data .holdings-chart-page,
.client-data .ratings-chart-page {
  padding-bottom: 10px;
}

.client-data > ul.nav-tabs {
  padding: 10px;
}

.client-data > ul.nav-tabs > li {
  background-color: #FFFFFF !important;
}

.client-data > ul.nav-tabs > :first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.client-data > ul.nav-tabs > :last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.client-data > ul.nav-tabs > li > .btn {
  color: #2F323A;
  background-color: #FFFFFF !important;
  border-color: #FFFFFF !important;
  border-radius: 10px;
  font-size: 12px;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.client-data > ul.nav-tabs > li > .btn:hover {
  color: #ffffff;
  background-color: #11279B !important;
}

.client-data > ul.nav-tabs > li.active > .btn:hover,
.client-data > ul.nav-tabs > li.active > .btn:active,
.client-data > ul.nav-tabs > li.active > .btn:active:focus,
.client-data > ul.nav-tabs > li.active > .btn {
  color: #ffffff;
  background-color: #11279B !important;
}

.client-data > ul.nav-tabs > li > .btn > .badge {
  color: #2F323A;
  background-color: #26D494;
}

.deposits h4 {
  padding-top: 5px;
}

.deposits h5 {
  padding-top: 15px;
  padding-bottom: 15px;
}

/* Client and Bank Admin pages */
.page-menu .btn {
  margin-top: 10px;
}

.page-details {
  margin-top: 0px;
}

/* Search links on Client and Bank pages */
table.search-links {
  margin-top: 10px;
  width: 100%;
}

table.search-links td {
  text-transform: uppercase;
  padding-left: 15px;
  font-size: 14px;
  white-space: nowrap;
}

.search-link {
  color: #11279B;
  text-transform: uppercase;
  font-size: 14px;
  padding-top: 10px;
  padding-bottom: 10px;
  border: solid 1px #12289C;
}

h3.search-link {
  font-size: 30px;
}

/* Padding classes */
.paddinng-top-10 {
  padding-top: 10px;
}

/* Client & Bank Quote Notes */
.quote-notes {
  white-space: pre-line;
  overflow-wrap: break-word;
}

/* New Quote */
.highlight-row {
  background-color: #11279B;
  color: #FFFFFF;
}

.btn-rm {
  text-transform: capitalize;
  color: #12289C !important;
  padding: 2px;
  margin-top: 1px;
  margin-bottom: 1px;
}

.highlight-row .btn-rm {
  color: #FFFFFF !important;
  border-color: #FFFFFF !important;
}

/*
 * Overrides that lived in site.css
 */
body {
  padding-top: 0px;
  padding-bottom: 0px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
  max-width: 280px;
}

.float-right {
  float: right;
}

.thankyou {
  display: none;
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 600;
}

.form-signin-heading {
  text-align: center;
}

/* ------ Client page ----- */
.thead-default th {
  color: #12289C;
  background-color: #EEEEEE;
}

.table td {
  white-space: nowrap;
}

.search {
  float: right;
  display: inline-block;
  position: relative;
  top: 20px;
}

.main-chart {
  padding-top: 0px;
}

.dark {
  background-color: #FFFFFF;
}

/*
   * Remove this for Dark UI
  .table-striped > tbody > tr:nth-child(2n) > td, .table-striped > tbody > tr:nth-child(2n) > th {
     background-color: $background-panel !important;
  }
   */
.site-title h4 {
  font-size: 32px;
}

/* Overrides for Dashio */
.modal-header {
  background: #12289C;
}

.modal-body {
  color: #03052F;
}

.img-fluid {
  background-color: #CCCCCC;
  border: 1px solid #12289C;
  border-radius: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
}
