/* General modal styles */

/* Button and modal styling */
.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    margin-top: -30px; /* Set margin from top */
    
}



.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Modal content container */
.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    width: 30%;
    border-radius: 8px;
    text-align: center;
    position: relative;
}

/* Input and button styles */
input[type="text"] {
    width: 80%;
    padding: 10px;
    font-size: 16px;
    margin-top: 10px;
}

.search-submit {
    background-color: #d50000;
    color: white;
    padding: 10px 20px;
    border: none;
    margin-top: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-submit:hover {
    background-color: #b71c1c;
}

/* Close button */
.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 20px;
    cursor: pointer;
}

/* Mobile responsiveness (below 768px) */
@media (max-width: 768px) {
    .modal-content {
        width: 80%;
        margin: 20% auto;
        padding: 15px;
    }
    
    input[type="text"] {
        width: 90%;
        font-size: 14px;
    }
    
    .search-submit {
        padding: 8px 16px;
        font-size: 14px;
    }
}

/* Very small devices (below 480px) */
@media (max-width: 480px) {
    .modal-content {
        width: 90%;
        margin: 25% auto;
    }
    
    input[type="text"] {
        width: 100%;
        font-size: 12px;
    }
    
    .search-submit {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* search end */

.lang-btn {
    display: inline-block;
    background-color: #d50000; /* Red background color */
    color: white;              /* White text color */
    font-size: 14px;           /* Font size */
    font-weight: bold;         /* Bold text */
    text-align: center;        /* Center text */
    text-decoration: none;     /* Remove underline */
    width: 40px;               /* Fixed width */
    height: 40px;              /* Fixed height */
    line-height: 40px;         /* Center text vertically */
    border-radius: 50%;        /* Circle shape */
    transition: background-color 0.3s; /* Smooth transition for hover effect */
    margin-top: -30px; /* Set margin from top */
}

.lang-btn:hover {
    background-color: #37393a; /* Darker red on hover */
    color: white; /* Ensure text color remains white on hover */
}



/* hide in desktop view */

/* Hide element in desktop view */
.protech_hide_desktop {
    display: none;
}

/* Show element in mobile view */
@media (max-width: 768px) {
    .protech_hide_desktop {
        display: block;
    }
}

/* hide in mobile view */

/* Hide element in mobile view */
.protech_hide_mobile {
    display: none;
}

/* Show element in desktop view */
@media (min-width: 769px) {
    .protech_hide_mobile {
        display: block;
    }
}


/* footer view all button */
.protech_button {
    display: inline-block;
    background: #c4161c; /* Red background */
    color: white;
    padding: 10px 30px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 22px; /* Rounded edges */
    border: none;
    cursor: pointer;
    margin-bottom: 10px;
}




.protech_button:hover {
    color: white; /* Ensure text color remains white on hover */
    background-color: black; /* Background color for underline */
}


/* social media footer */

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: -17px;
}

.social-icons a {
    color: #D42C2C; /* Red color */
    font-size: 25px; /* Icon size */
    text-decoration: none;
}

.social-icons a:hover {
    color: #B22222; /* Darker red on hover */
}


/* youtube video playlist */



/*  VIDEO PLAYER CONTAINER
############################### */
/* General container styling */
.video-container {
    display: flex;
    flex-direction: row;
    margin-top: 20px;
}

#main-video-player {
    width: 100%;
    margin-bottom: 20px;
}

#video-list {
    max-height: 500px; /* Adjust height as needed */
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #ddd;
}

.news-card {
    display: flex;
    margin-bottom: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.thumbnail img {
    width: 100px;
    height: auto;
    margin-right: 10px;
}

.news-content h3 {
    font-size: 16px;
    margin: 0;
    padding: 0;
}

.news-content p {
    font-size: 14px;
    margin: 0;
    color: #666;
}


.scrollable-list {
    scrollbar-width: thin; /* For modern browsers */
    overflow-y: scroll;
}

/* Responsive Layout */
@media (max-width: 768px) {
    /* Full width for both the video player and list on mobile */
    .col-sm-12 {
        width: 100%;
    }
}


/* seach place holder */
/* Modal styles */


/* stricky sidebar */
.shadow-border {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px; /* Optional: Add rounded corners */
    padding: 20px; /* Optional: Add padding inside the section */
    background-color: #fff; /* Optional: Add a background color */
}