﻿/* ============ Global & Body Styles ============ */
body { 
    background: #ffffff url(../../assets/images/36346125073368.jpg) repeat-x;
    background-position: top left;
    font-family: 'Roboto', sans-serif;
    font-weight: 400; 
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    letter-spacing: 0.2px;
}

a {
    color: #2c3e03;
}

/* ============ Conference Layout ============ */
.conference-container {
    background-color: #ffffff;
    box-shadow: -1px 3px 12px -1px rgba(0, 0, 0, 0.39);
    -webkit-box-shadow: -1px 3px 12px -1px rgba(0, 0, 0, 0.39);
    -moz-box-shadow: -1px 3px 12px -1px rgba(0, 0, 0, 0.39);
}

.main-container {
    background: url(../../assets/images/tl1.jpg) top left no-repeat, url(../../assets/images/tr1.jpg) top right no-repeat;
    padding-top: 50px;
    min-height: 600px;
}

.main-content {
    padding: 0px 50px;
}

.main-content h3 {
    display: inline-block;
    vertical-align: top;
    letter-spacing: 1px;
    background-color: #2c3e03;
    color: #ffffff;
    padding: 10px 60px;
    margin-top: 0;
    margin-bottom: 12px;
    line-height: 1;
    border: none;
    margin-left: -62px;
    font-size: 20px;
    font-family: 'Oswald', sans-serif;
}

/* ============ Original Header Styles ============ */

	.conference-header {
  background: #fff;
  border-bottom: 2px solid #e0e0e0;
  min-height: 100px;
}

.header-logo {
  max-height: 60px;
}
.header-right {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-right: -10px; /* move logos slightly to right */
}

.partner-logo {
  max-height: 60px; /* same as header logo */
}

.header-center {
  max-width: 650px;
  padding: 0 15px;
}

.conf-name {
  font-size: 0.95rem;
}

.conf-title {
  font-size: 1.1rem;
  line-height: 1.3;
}

.conf-short {
  font-size: 1.05rem;
  color: #b30000;
}

@media (max-width: 992px) {
  .conference-header {
    flex-direction: column;
    text-align: center;
    padding: 10px;
  }
  .header-left, .header-right {
    margin: 5px 0;
  }
  .header-logo, .partner-logo {
    max-height: 50px;
  }
}
.partner-logo.mb {
  margin-right: 55px; /* moves dist.jpg left */
}


/* ============ Navigation Bar ============ */
.custom-navbar {
    background: linear-gradient(90deg, #1B5E20 0%, #2E7D32 100%);
    padding: 0.75rem 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-bottom: 2px solid #66BB6A;
}

.custom-navbar .navbar-brand {
    color: #ffffff;
    font-weight: 600;
}

.custom-navbar .navbar-nav .nav-link {
    color: #E8F5E9;
    font-weight: 500;
    padding: 0.8rem 1rem;
    position: relative;
    transition: color 0.3s ease, background-color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.custom-navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #66BB6A;
    transition: width 0.3s ease;
}

.custom-navbar .navbar-nav .nav-link:hover,
.custom-navbar .navbar-nav .nav-link.active,
.custom-navbar .navbar-nav .nav-link.show {
    color: #66BB6A;
}

.custom-navbar .navbar-nav .nav-link:hover::after,
.custom-navbar .navbar-nav .nav-link.active::after {
    width: 70%;
}

.custom-navbar .navbar-toggler {
    border: 2px solid #66BB6A;
    border-radius: 8px;
}

.custom-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(102, 187, 106, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.custom-navbar .dropdown-menu {
    background-color: #2E7D32;
    border-radius: 8px;
    border: none;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.custom-navbar .dropdown-item {
    color: #E8F5E9;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.custom-navbar .dropdown-item:hover,
.custom-navbar .dropdown-item:focus {
    background-color: #388E3C;
    color: #ffffff;
}

/* ============ Sidebars & Widgets ============ */
.side-container {
    border: 1px solid #333;
    background-color: #ffffff;
    margin-bottom: 15px;
    min-height: 312px;
}

.side-container h3 {
    background-color: #c6001b;
    color: #ffffff;
    padding: 10px;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    border-bottom: 2px solid #ffff;
}

.side-container-inner {
    padding: 10px;
}

.side-links h5,
.side-links .menu li a {
    font-family: 'Oswald', sans-serif;
    margin-top: 5px;
}

.side-links h5 span,
.side-links .menu li a span {
    color: #2c3e03 !important;
    display: block;
    font-weight: 400;
}

.side-links .menu {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.side-links .menu li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1rem;
}

.side-links .menu li a:hover {
    text-decoration: underline;
    color: #000000;
}

.side-links h5.title {
    color: #b83131;
    font-weight: 400;
    border-bottom: 1px solid #ddd;
    padding-bottom: 3px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.committee h5 {
    color: #2c3e03;
    margin-top: 15px;
}

.committee p {
    margin-bottom: 0px;
}

/* ============ Ticker News ============ */
.news {
    box-shadow: inset 0 -15px 30px rgba(0, 0, 0, 0.4), 0 5px 10px rgba(0, 0, 0, 0.5);
    width: 350px;
    height: 30px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 4px;
    padding: 3px;
    -webkit-user-select: none;
}

.news span {
    float: left;
    color: #fff;
    padding: 6px;
    position: relative;
    top: 1%;
    border-radius: 4px;
    box-shadow: inset 0 -15px 30px rgba(0, 0, 0, 0.4);
    font: 16px 'Source Sans Pro', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -webkit-user-select: none;
    cursor: pointer;
}

.news ul {
    float: left;
    padding-left: 20px;
    animation: ticker 10s cubic-bezier(1, 0, .5, 0) infinite;
    -webkit-user-select: none;
}

.news ul li {
    line-height: 30px;
    list-style: none;
}

.news ul li a {
    color: #fff;
    text-decoration: none;
    font: 14px Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -webkit-user-select: none;
}

@keyframes ticker {
    0% {
        margin-top: 0;
    }
    25% {
        margin-top: -30px;
    }
    50% {
        margin-top: -60px;
    }
    75% {
        margin-top: -90px;
    }
    100% {
        margin-top: 0;
    }
}

.news ul:hover {
    animation-play-state: paused;
}

.news span:hover+ul {
    animation-play-state: paused;
}

/* Ticker Color Classes */
.blue {
    background: #347fd0;
}

.blue span {
    background: #2c66be;
}

.red {
    background: #d23435;
}

.red span {
    background: #c22b2c;
}

.green {
    background: #699B67;
}

.green span {
    background: #547d52;
}

.magenta {
    background: #b63ace;
}

.magenta span {
    background: #842696;
}

.yellow {
    background: yellow;
}

.yellow span {
    background: yellow;
}

/* ============ Utility Classes ============ */
.full-width {
    width: 100%;
}

.width-25 {
    width: 25%;
}

.width-50 {
    width: 50%;
}

.text-justify {
    text-align: justify;
}

/* ============ Menu Sites ============ */
.menu-sites {
    margin: 10px 0px;
    display: inline-flex;
}

.menu-sites-right {
    justify-content: right;
    float: right;
}

.menu-sites-right>li.last a:after {
    margin-right: 0px !important;
}

.menu-sites>li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
}

.menu-sites>li a:after {
    content: "|";
    margin-left: 15px;
    margin-right: 15px;
    color: #b5b5b5;
}

.menu-sites>li.last a:after {
    content: "";
}

/* ============ Buttons ============ */
.btn-primary {
    color: #fff;
    background-color: #87a73e;
    border-color: #87a73e;
}

a.btn-primary:hover {
    color: #fff;
    background-color: #2c3e03;
}

/* ============ Footer ============ */
footer {
    border-top: 1px solid #ddd;
    background-color: #e70707;
    height: 50px;
}

footer p {
    font-size: 14px;
}

/* ============ Responsive Styles ============ */
@media all and (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: none;
    }
    
    .navbar .nav-item:hover .dropdown-menu {
        display: block;
    }
    
    .navbar .nav-item .dropdown-menu {
        margin-top: 0;
    }
}

@media (max-width: 991.98px) {
    .custom-navbar .navbar-collapse {
        margin-top: 1rem;
    }

    .custom-navbar .navbar-nav {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 0.5rem;
    }

    .custom-navbar .nav-link {
        text-align: left;
        padding: 1rem;
    }

    .custom-navbar .dropdown-menu {
        background-color: transparent;
        box-shadow: none;
        margin-top: 0;
        padding-left: 1rem;
    }

    .custom-navbar .dropdown-item {
        border-bottom: none;
    }

    .custom-navbar .navbar-nav .nav-link::after {
        display: none;
    }

    header {
        text-align: center;
        justify-content: center !important;
    }

    #site-info {
        display: block;
        text-align: center;
        padding: 0;
    }

    a#conference-logo {
        float: unset;
        margin-right: 0px;
        margin-bottom: 10px;
        display: block;
    }

    .navbar-toggler {
        margin: 0 auto;
        text-align: center;
        border: none;
    }

    p.conf-name {
        font-size: 25px;
        font-weight: 400;
        line-height: 30px;
        margin-bottom: 5px;
    }

    .navbar, .dropdown-menu {
        padding: 10px;
    }

    .main-content {
        padding: 0px 15px;
    }

    .main-content h3 {
        margin-left: -26px;
        padding: 10px 30px;
    }

    .conference-container {
        box-shadow: none;
    }

    .dropdown-menu {
        background-color: #4a6214 !important;
    }
}