/* CognitiveTPG Site Styles */

/* ============================================
   NAVIGATION DROPDOWN STYLES
   Make dropdowns work on hover - pure CSS
   ============================================ */
.dropdown-hover .dropdown-menu,
.nav .dropdown-hover .dropdown-menu,
ul.nav .dropdown-hover > .dropdown-menu {
    display: none;
    margin-top: 0;
    border-radius: 0;
    border: 1px solid #ddd;
    box-shadow: 0 6px 12px rgba(0,0,0,0.175);
    position: absolute;
    z-index: 1000;
    background: #fff;
}

.dropdown-hover:hover > .dropdown-menu,
.nav .dropdown-hover:hover > .dropdown-menu,
ul.nav .dropdown-hover:hover > .dropdown-menu,
li.dropdown-hover:hover > ul.dropdown-menu {
    display: block !important;
}

.dropdown-hover.open .dropdown-menu,
.nav .dropdown-hover.open .dropdown-menu,
li.dropdown-hover.open > ul.dropdown-menu {
    display: block !important;
}

.nav-justified > li {
    position: relative;
}

.nav-justified .dropdown-menu {
    min-width: 750px;
    padding: 20px;
    left: 0;
}

.yamm-content {
    padding: 10px;
}

.yamm-content .col-sm-2 {
    padding: 10px;
}

.yamm-content img {
    max-width: 80px;
    max-height: 60px;
    margin-bottom: 8px;
}

.yamm-content ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.yamm-content ul li {
    padding: 2px 0;
}

.yamm-content ul li a {
    padding: 3px 0;
    display: block;
    color: #666;
    font-size: 13px;
}

.yamm-content ul li a:hover {
    color: #990000;
    text-decoration: none;
}

.yamm-content b a {
    color: #990000;
    font-weight: bold;
}

/* Screen reader only - visually hidden but accessible */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   SOCIAL ICONS
   ============================================ */

/* Social Icons - Original Sprite Style */
.socials {
    padding: 0;
    float: right;
    text-align: center;
    list-style: none;
    margin: 0;
}

.socials li {
    margin-left: 5px;
    display: inline-block;
    float: left;
}

.socials a {
    display: block;
    width: 24px;
    height: 24px;
    text-indent: -9999px;
    overflow: hidden;
}

.socials .twitter {
    background: transparent url('/assets/images/socials_icons.png') scroll -30px 0 no-repeat;
}

.socials .facebook {
    background: transparent url('/assets/images/socials_icons.png') scroll -60px 0 no-repeat;
}

.socials .youtube {
    background: transparent url('/assets/images/socials_icons.png') scroll -90px 0 no-repeat;
}

.socials .linkedin {
    background: transparent url('/assets/images/socials_icons.png') scroll -180px 0 no-repeat;
}

/* Hover states - slightly darker */
.socials .twitter:hover,
.socials .facebook:hover,
.socials .youtube:hover,
.socials .linkedin:hover {
    opacity: 0.7;
}

/* ============================================
   HOMEPAGE CAROUSEL COMPONENT
   This controls the banner/slider on homepage
   DO NOT MODIFY without checking homepage display
   ============================================ */
#homeCarousel {
    position: relative;
    overflow: hidden;
}

#homeCarousel .carousel-inner {
    overflow: hidden;
}

#homeCarousel .carousel-inner .item img {
    width: 100%;
    height: auto;
}

/* Caption text - positioned above the indicators */
#homeCarousel .carousel-caption {
    bottom: 40px;
    padding-bottom: 10px;
    background: transparent;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

#homeCarousel .carousel-caption p {
    margin: 0;
    font-size: 14px;
}

/* Carousel indicators (dots) - positioned at very bottom */
#homeCarousel .carousel-indicators {
    bottom: 8px;
    z-index: 15;
    margin-bottom: 0;
}

#homeCarousel .carousel-indicators li {
    width: 12px;
    height: 12px;
    margin: 1px 3px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

#homeCarousel .carousel-indicators .active {
    width: 14px;
    height: 14px;
    background-color: #fff;
}

/* Carousel controls (arrows) */
#homeCarousel .carousel-control {
    background-image: none;
    opacity: 0.5;
}

#homeCarousel .carousel-control:hover {
    opacity: 0.9;
}

/* Page content spacing */
.page-content {
    padding-top: 20px;
    min-height: 400px;
}

/* Primary link color - for links only */
a.primary {
    color: #990000;
}

a.primary:hover {
    color: #660000;
    text-decoration: none;
}

/* Highlight headings - cyan/teal color */
h4.highlight, h4.highlight a {
    color: #0099cc;
}

h4.highlight a:hover {
    color: #007799;
    text-decoration: none;
}

/* Primary headings - for product pages */
h2.primary, h3.primary {
    color: #0099cc;
}

/* Muted text */
.muted {
    color: #999;
}

/* Footer social icons styling */
#footer .socials {
    margin-top: 10px;
}
