/* CSS styles for 12Steps4COEs Virtual Intergroup website */

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5; /* Light Gray */
    color: #333333; /* Dark Gray */
    margin: 0;
    padding: 0;
}

.content a {
    color: #DF5A46; /* Red for unvisited links */
    text-decoration: none;
    transition: color 0.3s; /* Smooth transition for color change */
}

.content a:hover {
    color: #BA4B3A; /* Darker red for hovered links */
}

header {
    background-color: #ffffff; /* White */
    padding: 10px 0;
    text-align: center;
}

.navbar-container {
    background-color: #F7B212; /* Yellow */
    position: relative; /* Ensure relative positioning for children */
    box-shadow:  0 2px 4px rgba(0, 0, 0, 0.2); /* More pronounced shadow */
	}
	

nav {
    display: flex;
    justify-content: center;
}

nav a {
    color: #ffffff; /* White */
	font-weight: bold; /* Bold text */
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin: 0 10px;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 15px;
    transition: color 0.3s, background-color 0.3s;
}

nav a:hover,
nav a:focus {
	color: #ffffff; 
    background-color: #DF5A46; /* Red */
    border-top-left-radius: 0; /* Remove top left corner radius */
    border-top-right-radius: 0; /* Remove top right corner radius */
    border-bottom-left-radius: 8px; /* Rounded bottom left corner */
    border-bottom-right-radius: 8px; /* Rounded bottom right corner */  
}

.logo {
    text-align: center;
    margin-top: 10px;
}

.logo img {
    width: 60%; /* Adjusted size */
    height: auto;
}

.hamburger {
    display: none; /* Hide hamburger by default */
    cursor: pointer;
    padding: 10px;
    background-color: #F7B212; /* Match the navbar color */
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff; /* White */
    margin: 5px 0;
}

@media screen and (max-width: 768px) {
    nav {
        display: none; /* Hide navbar by default on small screens */
        flex-direction: column;
        align-items: flex-start; /* Align items to the left */
        padding-left: 20px; /* Add padding for spacing */
    }

    nav.show {
        display: flex; /* Show navbar when toggled */
    }

    .hamburger {
        display: block; /* Show hamburger on small screens */
    }
}
.navbar-top-container {
	height: 10px;
    background-color: #DF5A46; /* Reddish-orange */
}
.navbar-top {
    background-color: #DF5A46; /* Red */
	height: 10px;
}


.image-container img {
    display: block; /* This removes any extra space below the image */
    width: 100%; /* This makes the image responsive */
    margin: 0; /* Removes margin */
}

.navbar-bottom {
    height: 10px;
    background-color: #DF5A46; /* Red */
    margin: 0; /* Ensure no margin is present */
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.footer-logo {
    margin-right: 10px;
}

.footer-logo:last-child {
    margin-right: 0;
}

.footer-logo img {
    height: 60px; /* Adjusted size */
    width: auto;
}

.content {
    padding: 20px;
    margin: 20px auto;
    background-color: #ffffff; /* White */
    width: 80%;
    max-width: 960px;
	border: none;
	outline: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Drop shadow effect */
}
 /* Add clearfix to clear floats */
    overflow: auto;
}

.content::after {
    content: "";
    display: table;
    clear: both;
}

h2 {
    color: #DF5A46; /* Red */
    margin-top: 0;
}

p {
    line-height: 1.6;
}

ul {
  list-style: circle; /* Adjust list style as needed (disc, square, etc.) */
}

li {
  line-height: 1.5; /* Adjust spacing as desired (numerical value) */
}


.button {
    background-color: #DF5A46; /* Red */
    border: none;
    color: #ffffff; /* White */
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 10px 0;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #BA4B3A; /* Darker Red */
}

iframe {
    margin-top: 20px;
    border-radius: 8px;
    width: 100%;
}

footer {
    background-color: #f5f5f5; /* Light Gray */
    color: #333333; /* Dark Gray */
    padding: 20px 0;
    text-align: center;
}

footer .logo img {
    height: 40px; /* Adjusted size */
    width: auto;
}

/* Add styles for the scroll-to-top button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #DF5A46; /* Red */
    color: #ffffff; /* White */
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    display: none; /* Initially hidden */
    z-index: 999; /* Ensure it's above other elements */
    transition: background-color 0.3s;
}

.scroll-to-top:hover {
    background-color: #BA4B3A; /* Darker Red */
}
.img-float-left {
    width: 100%;
    display: block;
    margin-top: 2px; /* Adjust the top margin as needed */
    margin-bottom: 10px; /* Adjust the bottom margin as needed */
	margin-right: 10px;
    float: left;
    max-width: 200px; /* Limit the maximum width of the image */
}
.img-float-right {
    width: 100%;
    display: block;
    margin-top: 2px; /* Adjust the top margin as needed */
    margin-bottom: 10px; /* Adjust the bottom margin as needed */
	margin-left: 10px;
    float: right;
    max-width: 200px; /* Limit the maximum width of the image */
}

/* Media query for smaller screens */
@media screen and (max-width: 768px) {
.img-float-left {
	float: none; /* Remove float for smaller screens */
	margin: 20px auto; /* Center the image */
    } 
 .img-float-right {
	float: none; /* Remove float for smaller screens */
	margin: 20px auto; /* Center the image */
    }

}
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000; /* Optional: to add a black background */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Tab styling for Meetings page */
/* General styling for consistent widths and spacing */
.content-box, .tab-container {
    width: 80%;
    max-width: 960px;
    margin: 20px auto; /* Add margin to space out the content boxes */
    padding: 20px;
    background-color: #ffffff;
    border: none;
    box-sizing: border-box;
    border-radius: 10px;
}

/* Additional spacing for the ordinary content boxes */
.content-box {
    margin-top: 20px;  /* Add top margin for spacing from the navbar */
    margin-bottom: 20px;  /* Add bottom margin for spacing from the next section */
}

/* Specific styling for tab containers */
.tab {
    width: 80%;
    max-width: 960px;
    margin: 0 auto;  /* No margin to ensure it sits adjacent to the tab content */
    padding: 0;
    display: flex;
    border-radius: 10px 10px 0 0;  /* Rounded corners at the top */
}

.tab button {
    width: 50%;
    border: none;
    border-bottom: none; /* Remove bottom border to connect with tab container */
    background-color: #e1e1e1;
    cursor: pointer;
    padding: 14px 0;
    transition: 0.3s;
    font-size: 17px;
    box-sizing: border-box;
    border-radius: 10px 10px 0 0;  /* Rounded corners at the top */
}

.tab button:hover {
    background-color: #ccc;
}

/* Style the active tab button */
.tab button.active {
    background-color: #ffffff; /* White background */
    border-radius: 8px 8px 0 0; /* Rounded top corners */
}


/* Tab container styling */
.tab-container {
    padding: 20px; /* Padding inside the tab container */
    margin: 0 auto; /* Centers the container */
    background-color: #ffffff; /* White background */
    width: 80%; /* 80% of the viewport */
    max-width: 960px; /* Maximum width */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Drop shadow effect */
    overflow: auto; /* Add clearfix to clear floats */
    border-top: none; /* Remove top border */
    border-top-left-radius: 0; /* Remove top left corner radius */
    border-top-right-radius: 0; /* Remove top right corner radius */
    border-bottom-left-radius: 8px; /* Rounded bottom left corner */
    border-bottom-right-radius: 8px; /* Rounded bottom right corner */
}

.tab-container.active {
    display: block;
    border-radius: 0 0 10px 10px;  /* Rounded corners at the bottom */
    margin-top: 0;  /* Ensure no space between the tabs and the content */
}

.tab-container a {
    color: #DF5A46 !important; /* Red */
}

.tab-container a:hover,
.tab-container a:focus {
    color: #BA4B3A !important; /* Darker red */
}

footer a {
    color: #DF5A46; /* Red */
}

footer a:hover {
    color: #BA4B3A; /* Darker red */
}
