/* 
** local.css
** 
** Global CSS styles for your Hugo site
*/


/* --------- MAIN LANDING PAGE --------- */

.main-hero {
    position: relative;
}

.main-hero-image {
    height: 500px;
    object-fit: cover;
    width: 100%;
    z-index: 0;
}

.main-hero-wash-lower {
    background: rgba(213, 191, 169, 0.1);
    height: 500px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

@media (prefers-color-scheme: dark) {
    .main-hero-wash-lower {
        background: rgba(20, 19, 19, 0.1);
    }
}

:root.dark .main-hero-wash-lower {
    background: rgba(20, 19, 19, 0.1);
}

.main-hero-wash-upper {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), 75%, rgba(0, 0, 0, 0.75));
    height: 500px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.main-hero-text {
    animation: contentSlideUpAnimation ease 0.9s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    color: white;
    font-family: var(--jhdocs-font-family-marketing);
    font-size: 50px !important;
    left: 33px;
    line-height: 1.2;
    max-width: 800px;
    opacity: 0;
    position: absolute;
    right: 33px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.75);
    text-wrap: balance;
    bottom: -10px;
}

@keyframes contentSlideUpAnimation {
    0% {
        bottom: -10px;
        opacity: 0;
    }

    100% {
        bottom: 10px;
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .main-hero-text {
        animation: none;
        bottom: 10px;
        opacity: 1;
    }
}

.home-page-content {
    font-family: var(--jhdocs-font-family-marketing);
    max-width: 1300px;
}

.home-page-intro {
    color: var(--jhdocs-text-header);
    font-size: 18px;
    margin-bottom: 35px;
}

.archived-warning {
    background-color: var(--jhdocs-callout-warning-bg);
    border-radius: 4px;
    box-shadow: var(--jhdocs-callout-shadow);
    color: var(--jhdocs-text-danger);
    display: flex;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 25px;
    padding: 20px;
}

.archived-warning-icon {
    fill: var(--jhdocs-text-danger);
    flex: 0 0 auto;
    height: 32px;
    margin: 0 7px 0 0;
    width: 32px;
}

.archived-warning-text {
    flex: 1 0 0%;
}

.feature-list {
    width: 100%;
}

.feature-list::after {
    content: "";
    clear: both;
    display: table;
}

.feature {
    color: var(--jhdocs-text-regular);
    display: flex;
    font-family: var(--jhdocs-font-family-marketing);
    font-size: 15px;
    float: left;
    min-height: 170px;
    margin: 0 25px 0 0;
    padding: 20px;
    width: 275px;
}

.feature-icon {
    background-color: var(--jhdocs-text-header);
    flex: 0 0 auto;
    height: 30px;
    margin-right: 12px;
    opacity: .5;
    width: 30px;
}

.feature-text {
    flex: 1 0 0%;
}

@media (max-width: 768px) {
    .main-hero-text {
        font-size: 32px !important;
    }

    .feature {
        float: none;
        min-height: 110px;
        width: 100%;
    }

}

.dense-data-table-container {
    overflow-x: auto;
}

.dense-data-table {
    width: 100%;
}

table.dense-data-table tr th,
table.dense-data-table tr td {
    font-size: 12px;
    padding: 10px !important;
}

table.dense-data-table select {
    margin: 0;
}

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

.version-comparision-same {
    opacity: 0.5;
}

.version-comparision-change {
    color: #ebc323;
}

.version-comparision-new {
    color: #31c531;
}

.green-icon {
    color: #349f34;
}

.danger-text {
    color: var(--jhdocs-text-danger);
}

.table-top-align td {
    vertical-align: top;
}

.component-detail {
    margin: 25px 0;
}

.component-detail-framework-icon {
    fill: var(--jhdocs-callout-info-icon);
    height: 32px;
    margin: -3px 9px 0 0;
    opacity: 0.33;
    width: 32px;
}

.component-detail-title-container {
    align-items: center;
    display: flex;
    margin: 0 0 10px 0;
}

@media (max-width: 768px) {
    .component-detail-title-container {
        flex-direction: column;
    }
}

.jhdocs-callout-title {
    align-self: flex-start;
    flex: 1 0 0%;
}

.component-detail-module-and-package {
    flex: 0 0 auto;
    font-size: 12px;
}

.component-detail-angular-warning-text {
    color: var(--jhdocs-text-danger);
    flex: 1 0 0%;
    font-weight: 600;
    margin-bottom: 15px;
}

.component-detail-no-api {
    margin-top: 15px;
    opacity: 0.5;
}

.component-detail-name-cell {
    font-weight: 600;
}

.component-detail-type-cell {
    font-style: italic;
}

.component-detail-default-cell {
    text-align: center;
}

table.component-detail-table {
    width: 99%;
}

table.component-detail-table tr {
    background-color: transparent;
    font-size: 12px;
}

table.component-detail-table tr:nth-child(odd) {
    background-color: transparent;
}

table.component-detail-table th {
    background-color: transparent !important;
    font-size: 12px;
    letter-spacing: 1px;
    opacity: 0.66;
    white-space: nowrap;
}

table.component-detail-table td {
    background-color: rgba(255, 255, 255, 0.45);
}

@media (prefers-color-scheme: dark) {
    table.component-detail-table td {
        background-color: rgba(0, 0, 0, 0.15);
    }
}

:root.dark table.component-detail-table td {
    background-color: rgba(0, 0, 0, 0.15);
}

.theme-card-container {
    margin-top: 35px;
    max-width: 1300px;
    width: 100%;
}

.theme-card-container::after {
    content: "";
    clear: both;
    display: table;
}

.theme-card {
    float: left;
    margin: 0 100px 0 0;
}

.theme-card h3 {
    margin: 0 0 7px 0;
}

.component-example-container {
    font-family: var(--font-family, "Segoe UI", "Open Sans", "Helvetica Neue", Arial, sans-serif);
    font-size: var(--font-size, 14px);
    margin: 25px 0;
    padding: 15px;
    position: relative;
}

.component-example-inline {
    display: inline-block;
    width: auto;
}

.component-example-block {
    display: block;
}

.hidden-mobile {
    display: block;
}

@media (max-width: 768px) {
    .hidden-mobile {
        display: none !important;
    }
}

.clearfix {
    overflow: auto;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.floating-image-left {
    float: left;
    margin: 0 15px 15px 0;
}

.floating-image-right {
    float: right;
    margin: 0 0 15px 15px;
}

/* --------- support-options partial --------- */

.support-options-option {
    display: flex;
    align-items: flex-start;
    margin-top: 25px;
}

.support-options-option-icon {
    flex: 0 0 32px;
    margin: 0 15px 0 0;
    opacity: 0.5;
}

.support-options-option-icon svg {
    fill: var(--jhdocs-callout-info-icon);
    opacity: 0.66;
}

.support-options-option-content {
    flex: 1 0 0%;
    color: var(--jhdocs-text-regular);
}

.support-options-option-content ul {
    margin-bottom: 0;
}

.support-options-option-content ul li {
    margin-left: -16px;
}

.support-options-subtitle {
    color: var(--jhdocs-callout-info-title);
    font-weight: bold;
    margin-bottom: 4px;
}

.floating-card-list {
    width: 100%;
}

.floating-card-list::after {
    content: "";
    clear: both;
    display: table;
}

.floating-card {
    background-color: var(--jhdocs-callout-info-bg);
    border-radius: 10px;
    box-shadow: var(--jhdocs-callout-shadow);
    color: var(--jhdocs-text-regular);
    font-size: 14px;
    float: left;
    min-height: 360px;
    margin: 0 25px 25px 0;
    padding: 20px;
    width: 350px;
}

.floating-card-title {
    color: var(--jhdocs-text-header);
    font-family: var(--jhdocs-font-family-marketing);
    font-size: 16px;
    font-weight: 600;
}

.floating-card-icon {
    background-color: var(--jhdocs-text-header);
    flex: 0 0 auto;
    height: 48px;
    margin-right: 12px;
    opacity: .5;
    width: 48px;
}

@media (max-width: 1481px) {
    .floating-card {
        float: none;
        min-height: 0;
        width: 100%;
    }
}

.component-detail-description-cell code {
    font-size: 12px;
}