/* Reset + basic styles */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.pg404 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10vh;
    font-size: 24px;
    color: #FF0000FF;
}

body {
    /*font-family: Arial, sans-serif;*/
    font-family: 'neue_haas_grotesk_display_pro', Helvetica, Arial, sans-serif !important;
    line-height: 1.6;
    /*color: #333;*/
    color: #2b2926;
    scroll-behavior: smooth;
    max-width: 100%;
    /*padding-left: 25px;*/
    /*margin-right: 25px;*/
}

.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 100%;
    /*max-width: 1140px;*/
    background: white;
    z-index: 9999;
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
}

.nav-logged-in {
    max-width: 100%;
    margin: 0 auto;
    padding-top: 12px;
    padding-right: 20px;
    padding-bottom: 5px;
    display: flex;
    flex-direction: column;
}

.nav-not-logged-in {
    max-width: 100%;
    margin: 0 auto;
    padding-top: 12px;
    padding-right: 20px;
    padding-bottom: 5px;
    display: flex;
    flex-direction: column;
}

/* TOP ROW */
.nav-top {
    display: flex;
    /*align-items: first ;*/
    justify-content: space-between;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    padding-top: 12px;
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-img {
    height: 40px;
    margin-left: 40px;
    margin-right: 15px;
}

.page_title {
    font-size: 1.8rem;
    font-weight: 600;
    color: black;
}

/* MENU */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 18px;
    margin: 0;
    padding: 0;
    margin-right: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: black;
    font-size: 0.95rem;
    transition: opacity 0.2s ease;
}

.nav-menu a:hover {
    opacity: 0.7;
}

/* STATUS LINE */
.nav-status {
    margin-top: 8px;
    font-size: 0.85rem;
    color: black;
    text-align: left;
    margin-left: 40px;
}

.information {
    background: white;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem 2rem;
}

.sc-information {
    text-align: center !important;
}

/* ============== */
/* Hero Boxes CSS */
/* ============== */

.hero {
    width: 100%;
    margin-top: 110px;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-image: url('/images/soft_blue_orange_bg.png');
}

.hero-content {
    width: 100%;
    max-width: 100%;
    /*max-width: 1140px; */
    padding: 25px;
    text-align: center;
    color: black;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
}

.hero-ctas {
    margin: 2rem 0; /* ~2 lines above and below */
}

.contentful_btn {
    display: inline-block;
    padding: 14px 28px;
    margin-right: 15px;
    margin-left: 15px;
    background-color: #007db8;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    border: none;
    transition: all 0.25s ease;
}

.contentful_btn:hover {
    background-color: #2b2926;
    transform: translateY(-2px);
}

.contentful_secondary_btn {
    display: inline-block;
    padding: 14px 28px;
    margin-right: 15px;
    margin-left: 15px;

    color: #2b2926;
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    border: #2b2926 solid 1px;
    transition: all 0.25s ease;
}

.contentful_secondary_btn:hover {
    background-color: #2b2926;
    transform: translateY(-2px);
    color: white;
}

/* =============== */
/* Feature Box CSS */
/* =============== */

.isv-news {
    padding-top: 25px;
    padding-bottom: 25px;
    margin-left: 40px;
    margin-right: 40px;
    /*border-bottom: 2px solid black;*/
}

.section-title {
    text-align: left;
    margin-bottom: 5px;
}

.section-description {
    text-align: left;
    margin-bottom: 15px;
}

/* Grid */
.isv-news-grid {
    display: grid;
    gap: 28px;
}

.isv-news-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.isv-news-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.isv-news-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.isv-news-grid.cols-5 {
    grid-template-columns: repeat(5, 1fr);
}

/* Card */
.isv-box {
    display: flex;
    flex-direction: column;
    padding: 25px;
    border: 1px solid #FF8800;
    border-radius: 12px;
    background: #ffffff;
    transition: all 0.2s ease;
}

.isv-box:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.isv-image-wrapper {
    height: 200px; /* adjust as needed */
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 20px;
}

.isv-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* automatic cropping */
}

/* Content */
.isv-box-title {
    text-align: center;
    margin-bottom: 15px;
}

.isv-box-text {
    flex-grow: 1; /* keeps links aligned at bottom */
    color: #555;
}

/* Text Links */
.isv-box-links {
    margin-top: 5px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.isv-feature-links {
    margin-top: 5px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.isv-text-link {
    color: #007db8;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.2s ease;
}

.isv-text-link:hover {
    color: #005bb5;
    text-decoration: underline;
}

/* ============================== */
/* component row with image start */
/* ============================== */

.component-row {
    padding: 60px 20px;
}

.row-inner {
    max-width: 100%;
    /*max-width: 1200px;*/
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.row-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.row-text h2 {
    margin-bottom: 10px;
}

.row-text .teaser {
    font-weight: 600;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .row-inner {
        grid-template-columns: 1fr;
    }
}

/* ============================ */
/* component row with image end */
/* ============================ */

/* ============ */
/* Services CSS */
/* ============ */

.services {
    background: #f9f9f9;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.service-card {
    flex: 1 1 200px;
    margin: 1rem;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h2 {
    margin-bottom: 1rem;
}

.service-card p {
    text-align: left;
}

.service-card li {
    text-align: left;
    margin-left: 20px;
}

.service-card li::marker {
    font-size: 1.75em; /* or 20px, 2rem, etc. */
    margin-bottom: 1rem;
}

/*.about {*/
/*    background: url('images/about_us_background.jpg') center/cover no-repeat;*/
/*    color: white;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    text-align: center;*/
/*    position: relative;*/
/*    padding: 25px 2rem;*/
/*    min-height: 55vh;*/
/*}*/

/*.about .content {*/
/*    position: relative;*/
/*    max-width: 800px;*/
/*    z-index: 1;*/
/*    min-height: 65vh !important;*/
/*}*/

.about h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about p {
    font-size: 1.25rem;
}

/*.contact {*/
/*    background: #f4f4f4;*/
/*    padding: 25px 2rem;*/
/*    min-height: 55vh;*/
/*}*/

/*.contact form {*/
/*    max-width: 600px;*/
/*    margin: 0 auto;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*}*/

/*.contact label {*/
/*    margin-top: 1rem;*/
/*    font-weight: 500;*/
/*}*/

/*.contact input, .contact textarea {*/
/*    padding: 0.75rem;*/
/*    margin-top: 0.5rem;*/
/*    border: 1px solid #ccc;*/
/*    border-radius: 4px;*/
/*    font-size: 1rem;*/
/*}*/

/*.contact button {*/
/*    margin-top: 1.5rem;*/
/*    padding: 0.75rem;*/
/*    background: #007bff;*/
/*    color: white;*/
/*    border: none;*/
/*    border-radius: 4px;*/
/*    font-size: 1.1rem;*/
/*    cursor: pointer;*/
/*}*/
.footer-icons {
  margin-left: 40px;
}

.footer-icons a {
    color: #222;
    margin: 0 0.5rem;
    font-size: 1.2rem;
    text-decoration: none;
}

.footer-icons a:hover {
    /*color: #f90; !* optional hover color *!*/
}
.footer-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    background: #f6f5f1;
    color: #222;
    margin-left: 40px;
}
.footer-legal {
    text-align: left;
    font-size: 12px;

}
.footer-copy {
    text-align: right;
    font-size: 12px;margin-right: 35px;
}

footer {
    border-top: 1px solid ;
    border-color: rgba(64,29,25,.2);
    padding-top: 15px;
    text-align: left;
    background: #f6f5f1;
    color: #222;
}

.hero_button {
    color: #1e73be;
    text-transform: none;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 18px;
    font-weight: 700;
    border-color: #ffffff;
    background-color: #ffffff;
    border-width: 1px;
    border-radius: 0.375rem;
    margin-left: 55px;
}

.button {
    display: inline-block;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    line-height: 1.25;
    outline: 2px solid transparent;
    outline-offset: 2px;
    cursor: pointer;
    transition-property: all;
    transition-duration: 200ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --text-opacity: 1;
    box-sizing: border-box;
    position: relative;
    top: 0;
}

.multiple-items {
    display: flex;
    justify-content: space-between; /* spreads items evenly */
    align-items: center;
    text-align: center;
    margin: 2rem 0;
    width: 100%;
}

.item {
    flex: 1;
}


.item img {
    display: block;
    margin: 0 auto 0.5rem;
}

.item a {
    color: #0066cc;
    text-decoration: none;
}

.multiple-items + .multiple-items {
    margin-top: 1rem;
}

.topic_image {
    width: 65%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.login {
    width: 100%;
    min-height: 120px;
    background: url('https://isv.ringcentral.com/images/soft_blue_orange_bg.png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.login-content {
    width: 100%;
    max-width: 100%;
    padding: 25px 2rem;
    text-align: center;
    color: black;
}

/* ======================== */
/* ==== Responsive CSS ==== */
/* ======================== */

@media (max-width: 992px) {
    .isv-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .isv-news-grid {
        grid-template-columns: 1fr;
    }

    .nav-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .nav-menu {
        flex-wrap: wrap;
        gap: 12px;
    }
}

/* ============================== */
/* ==== from other CSS files ==== */
/* ============================== */

/* ====== admin display tables ================== */
.CustomTable {
    width: 100%;
    max-width: 400px;
    margin: 25px auto 0 auto;
}

.CustomTable td, th {
    padding: 5px !important;
    /* border: 1px solid grey ; */
}

.CustomTable input[type="text"], .CustomTable input[type="password"] {
    color: #222;
    width: 325px;
    height: 25px;
    padding: 15px ;
    border-radius: 4px;
    border-color: #8c8c8c;
    border-width: 1px;
    border-style: solid;
    background-color: #fff;
    font-size: 18px;
}

.CustomTable textarea {
    color: black;
    /* height: 200px !important; */
    width: 80%;
}

.CustomTableFullCol {
    text-align: left;
}

.left_col {
    width: 50% !important;
    vertical-align: top !important;
}

.right_col {
    width: 50% !important;
    vertical-align: top;
}

.right_text {
    text-align: right;
}

/* =====================  */
.EditTable {
    background-color: white !important;
    margin-top: 40px;
    width: 1000px;
    /* border: 1px solid red ; */
    padding: 30px;
    margin-left: auto;
    margin-right: auto;
}

.EditTable input[type="text"], input[type="password"] {
    color: black;
    width: 300px;
}

.EditTable textarea {
    color: black;
    height: 150px;
    width: 90%;
}

.edit_left_col {
    width: 40% !important;
    padding-left: 10px;
}

.edit_right_col {
    padding-left: 10px;
    /* background-color: red !important ; */
}

.EditTableFullCol {
    text-align: center;
    vertical-align: middle;
    padding: 8px;
}

/* =====================  */
.addform_left_col {
    width: 35% !important;
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.addform_right_col {
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    /* background-color: red !important ; */
}

.addform_left_col_even {
    width: 35% !important;
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: lightgrey;
}

.addform_right_col_even {
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: lightgrey;
}

/* =====================  */
#page_title_img {
    vertical-align: middle;
}

#page_title {
    display: inline;
    vertical-align: middle;
}

.msg_good {
    color: #008EC2;
    font-weight: bold;
}

.msg_bad {
    color: red;
    font-weight: bold;
}

.submit_button {
    background: #008ec2;
    border-color: #006799;
    color: #fff;
    vertical-align: middle;
}

.logout_button {
    background: red;
    border-color: #006799;
    color: #fff;
    vertical-align: middle;
}

.save_button {
    background: #008ec2;
    border-color: #006799;
    color: #fff;
    margin-top: 25px;
}

.right_side {
    margin-left: 200px;
}

.div_center {
    margin: auto;
    width: 50%;
}

.wizard {
    border: 1px solid black;
    margin: 10px;
    /*transform: scale(0.5);*/
}

.para {
    text-align: left !important;
    margin-top: 25px;
    margin-bottom: 25px;
}

.title {
    text-align: center;
    color: #008ec2;
}

.focus {
    color: red;
    text-align: left !important;
    font-weight: bold;
}

.blue {
    color: blue;
    text-align: left !important;
    font-weight: bold;
}

.links {
    color: #008ec2;
}

.links:visited {
    color: #008ec2;
}

.custom_settings {
    width: 400px !important;
}

/* ======================= */
.blink_me {
    animation: blinker 1s linear infinite;
    animation-iteration-count: 5;
    color: red;
    font-weight: bold;
    font-size: 20px;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}
