/* ==========================================================================
   CLIENT THEME: AS YOU SOW
   Sources: 
   1. asyousow/dashboard/css (Base Theme)
   2. RJ/WES HTML files (Extracted Overrides)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. BASE TYPOGRAPHY & RESETS
   -------------------------------------------------------------------------- */
body, h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, p, 
.navbar, .brand, .btn-simple, .alert, a, .td-name, td, button.close, button {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-family: "Trebuchet", "Calibri", Arial, sans-serif;
    font-weight: 400;
    color: #000;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
    font-weight: 300;
    margin: 30px 0 15px;
}

h1, .h1 { font-size: 52px; }
h2, .h2 { font-size: 36px; }
h3, .h3 { font-size: 28px; margin: 20px 0 10px; }
h4, .h4 { font-size: 22px; line-height: 30px; }
h5, .h5 { font-size: 16px; margin-bottom: 15px; font-weight: 600; }
h6, .h6 { font-size: 14px; font-weight: 600; text-transform: uppercase; }

p {
    font-size: 14px;
    line-height: 1.5;
}

h1 small, h2 small, h3 small, h4 small, h5 small, h6 small,
.h1 small, .h2 small, .h3 small, .h4 small, .h5 small, .h6 small,
h1 .small, h2 .small, h3 .small, h4 .small, h5 .small, h6 .small,
.h1 .small, .h2 .small, .h3 .small, .h4 .small, .h5 .small, .h6 .small {
    color: #9A9A9A;
    font-weight: 300;
    line-height: 1.5;
}

h1 small, h2 small, h3 small, h1 .small, h2 .small, h3 .small {
    font-size: 60%;
}

/* --------------------------------------------------------------------------
   2. COMPONENT OVERRIDES
   -------------------------------------------------------------------------- */
.card {
    border-radius: 4px;
    background-color: #FFFFFF;
    margin-bottom: 30px;
}

.card .card-image {
    width: 100%;
    overflow: hidden;
    height: 260px;
    border-radius: 4px 4px 0 0;
    position: relative;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.card .card-image img { width: 100%; }

.card .filter {
    position: absolute;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.68);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    opacity: 0;
    filter: alpha(opacity=0);
}

.card .filter .btn {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.card:hover .filter {
    opacity: 1;
    filter: alpha(opacity=100);
}

.card .btn-hover { opacity: 0; filter: alpha(opacity=0); }
.card:hover .btn-hover { opacity: 1; filter: alpha(opacity=100); }

.card .card-body { padding: 15px 15px 40px 15px; }
.card .card-header {
    padding: 15px 15px 0;
    background-color: #FFFFFF;
    border-bottom: none !important;
}

.card .card-category, .card .card-category i, .card label i { font-size: 16px; }
.card label {
    font-size: 12px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.card .card-title {
    margin: 0;
    color: #1d1d1d;
    font-weight: 600;
    font-size: 19px;
}

.card .avatar {
    width: 30px;
    height: 30px;
    overflow: hidden;
    border-radius: 50%;
    margin-right: 5px;
}

.card .description { font-size: 14px; color: #333; }
.card .card-footer {
    padding-top: 0;
    background-color: transparent;
    line-height: 30px;
    border-top: none !important;
    font-size: 14px;
}

.card .card-footer .legend { padding: 5px 0; }
.card .card-footer hr { margin-top: 5px; margin-bottom: 5px; }
.card .stats { color: #a9a9a9; }
.card .card-footer div { display: inline-block; }

.card .author {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}
.card .author i { font-size: 14px; }
.card h6 { font-size: 12px; margin: 0; }

.card.card-separator:after {
    height: 100%;
    right: -15px;
    top: 0;
    width: 1px;
    background-color: #DDDDDD;
    content: "";
    position: absolute;
}

.card .ct-chart { margin: 30px 0 30px; height: 245px; }
.card .ct-label { font-size: 1rem !important; }

.card .table tbody td:first-child, .card .table thead th:first-child { padding-left: 15px; }
.card .table tbody td:last-child, .card .table thead th:last-child {
    padding-right: 15px;
    display: inline-flex;
}

.card .alert { border-radius: 4px; position: relative; }
.card .alert.alert-with-icon { padding-left: 65px; }

/* Card Stats */
.card-stats .card-body { padding: 15px 15px 0px; }
.card-stats .card-body .numbers { font-size: 1.8rem; text-align: right; }
.card-stats .card-body .numbers p { margin-bottom: 0; }
.card-stats .card-footer { padding: 0px 15px 10px 15px; }
.card-stats .icon-big { font-size: 3em; min-height: 64px; }
.card-stats .icon-big i { font-weight: 700; line-height: 59px; }

/* Card User */
.card-user .card-image { height: 110px; }
.card-user .card-image-plain { height: 0; margin-top: 110px; }
.card-user .author { text-align: center; text-transform: none; margin-top: -70px; }
.card-user .avatar {
    width: 124px;
    height: 124px;
    border: 5px solid #FFFFFF;
    position: relative;
    margin-bottom: 15px;
}
.card-user .avatar.border-gray { border-color: #EEEEEE; }
.card-user .title { line-height: 24px; }
.card-user .card-body { min-height: 240px; }
.card-user .card-footer, .card-price .card-footer { padding: 5px 15px 10px; }
.card-user hr, .card-price hr { margin: 5px 15px; }

.card-plain { background-color: transparent; box-shadow: none; border-radius: 0; }
.card-plain .card-image { border-radius: 4px; }
.card.card-plain { border: none !important; }
.card.card-plain .card-header { background-color: transparent !important; }

/* --------------------------------------------------------------------------
   3. CUSTOM WIDGETS & UTILS (From File 10)
   -------------------------------------------------------------------------- */
span.main_score {
    display: inline-block;
    height: 100px;
    width: 100px;
    line-height: 100px;
    border-radius: 50px;
    background-color: #73C167;
    color: white;
    text-align: center;
    font-size: 3em;
}

span.theme_score {
    display: inline-block;
    height: 30px;
    width: 30px;
    line-height: 30px;
    border-radius: 20px;
    background-color: #73C167;
    text-align: center;
    font-size: 1.1em;
    color: #fff;
}

.toggle.ios, .toggle-on.ios, .toggle-off.ios { border-radius: 20rem; }
.toggle.ios .toggle-handle { border-radius: 20rem; }

.progress, .progress .progress-bar {
    height: 30px;
    border-radius: 20rem;
    font-size: 14px;
}

/* Color Overrides */
.bg-success { background-color: #00813D; }
.btn-light { background-color: #73C167; }

/* Dropdown Overrides */
.bootstrap-select .dropdown-toggle .filter-option-inner-inner { color: #fff; }
.companyselect .dropdown-toggle,
.companyselect .dropdown-toggle .filter-option-inner-inner {
    color: #00813D;
}

.companyselect,
.companyselect .dropdown-toggle:hover,
.companyselect .dropdown-toggle .filter-option-inner-inner:hover,
.companyselect > .dropdown-toggle.bs-placeholder,
.companyselect > .dropdown-toggle.bs-placeholder:active,
.companyselect > .dropdown-toggle.bs-placeholder:focus,
.companyselect > .dropdown-toggle.bs-placeholder:hover {
    color: #fff;
}

.card .card-footer div {
    text-align: right;
    font-size: 14px;
    color: #CCC;
}
.card .card-footer div a { text-decoration: underline; }

.float {
    position: fixed;
    width: 105px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #73C167;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 3px #999;
}

.progress-bar { color: #000; font-weight: bold; }
.chart-container { flex: 5; }
.chart-wrapper canvas { position: relative; height: 500px !important; }
.headline { font-weight: 800; }
.breadcrump {
    font-weight: bolder !important;
    font-size: 15px !important;
    text-transform: none !important;
    display: inline;
}

/* Angular Material Overrides */
.mat-form-field-label {
    font-size: 15px !important;
    margin-top: -.40em !important;
}
.custom-color.mat-select-value { color: green !important; }


/* --------------------------------------------------------------------------
   4. EXTRACTED FROM HTML (Racial Justice & Workplace Equity)
   -------------------------------------------------------------------------- */

/* Brand Colors (Extracted from inline styles) */
.text-primary-brand {
    color: #601A4A !important; /* As You Sow Purple */
}
.text-danger-brand {
    color: #ee442f !important; /* As You Sow Red */
}

/* Chart Override */
::ng-deep .circle-chart__percent {
    fill: #601A4A !important;
    alignment-baseline: auto !important;
    font-size: 10px !important;
}

/* Tooltip Positioning */
.left_53 {
    left: 53% !important;
    padding: 1.5rem !important;
}

/* Footer Spacing */
.footer-spacing-lg {
    margin-top: 150px;
}

/* Logo Sizing */
.footer-logo-img {
    max-width: 200px;
}

/* Section Spacing */
.section-spacing {
    margin: 80px;
}

/* --------------------------------------------------------------------------
   5. MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 640px) and (orientation: portrait) {
    body { flex-direction: column; }
    h1, h2, h3, h4, h5 { font-size: 60%; }
    .Main-content, .col, .col-md-12 { padding: 0px !important; }
    .chart-wrapper canvas { position: relative; height: 281px !important; }
}