/* General Resets */
body, html, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, a, ol, ul, li, table, tr, th, td, img, input, textarea, button {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
    font-family: Arial, sans-serif;
}

body {
    line-height: 1.6;
    background-color: #fff;
    color: #333;
}

a {
    text-decoration: none;
    color: #4183C4;
}

a:hover {
    text-decoration: underline;
    color: #3d85c6;
}

/* Buttons */
.button {
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 45px;
    cursor: pointer;
    border: 1px solid #ccc;
    background: white;
}

.button:hover {
    background-color: #ddd;
}

.searchbtn {
    font-size:18px;
    padding: 12px;
    border-radius: 45px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #000;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.6rem; }

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    color: #000;
    padding: 12px 16px;
    display: block;
}

.dropdown-menu a:hover {
    background-color: #ddd;
}

/* Notifications */
.notification {
    position: relative;
    display: inline-block;
    background-color: #f1f1f1;
    padding: 10px;
    border-radius: 4px;
}

.notification .badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background: red;
    color: white;
    padding: 5px;
    border-radius: 50%;
}

/* Responsive */
@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
    }

    .dropdown-menu {
        position: static;
    }
}


.youtube-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Media Files Displayed Tabs foe Articles, Lessons, Modules, Courses */
.tab-media {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

/* Style the buttons inside the tab */
.tab-media button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
}

/* Style the tab */
.tab-media {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

/* Style the buttons inside the tab */
.tab-media button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
}

/* Change background color of buttons on hover */
.tab-media button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
.tab-media button.active {
    background-color: #ccc;
}

/* Style the tab content */
.tab-media-content {
    display: none;
    padding-top: 5px;
    padding-bottom: 5px;
    -webkit-animation: fadeEffect 1s;
    animation: fadeEffect 1s;
}

/* Fade in tabs */
@-webkit-keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}


/* --------------------- */

.dropmenu {
    position: relative;
    display: inline-block;
}

.dropmenu a {
    color: floralwhite;
    text-decoration: none;
}

.dropmenu a:hover {
    background-color: red;
    color: white;
}

.dropmenu button {
    display: block;
    size: 12px;
    background-color: #f1f1f1;
    color: #00f;
    font-size: 12px;
    text-align: left;
    text-decoration: none;
}

.dropmenu button:hover {
    color: white;
}

.dropmenu-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    color: blue;
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 0px 0px;
    z-index: 1;
}

.dropmenu:hover .dropmenu-content {
    display: block;
}

.dropmenu-content p {
    margin-top: 1px;
}

.dropmenu-content a {
    display: block;
    color: #00f;
    font-size: 14px;
    padding: 8px 16px;    
    text-decoration: none;
}

/* Change the link color on hover */
.dropmenu-content a:hover {
    background-color: #1F86C6; /* red; */
    color: white;
    height: 20px;
}

.dropmenu-content button {
    display: block;
    background-color: #f1f1f1;
    color: #00f;
    min-width: inherit;
    padding-left: 4px;
    padding-right: 4px;
    text-align: center;
    text-decoration: none;
}

/* Change the link color on hover */
.dropmenu-content button:hover {
    background-color: #1F86C6; /* #555;*/
    color: white;
}

/* when added an image, set it of the given size and left-aligned.*/
.dropmenu-content img 
{
    width: 20px;
    height: 100%;
    float: left;
    margin-right: 5px;
}

input[type=text] {
    width: 95%;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    background-color: white;
    /* background-image: url('../images/searchicon.png'); */
    background-position: 10px 10px; 
    background-repeat: no-repeat;
    padding: 12px 20px 12px 40px;
}

input[type=text]:focus {
    width: 95%;
}

/* Add to a new file or existing CSS file */
.loader {
    border: 5px solid #f3f3f3;
    border-radius: 50%;
    border-top: 5px solid #3498db;
    width: 30px;
    height: 30px;
    margin: 10px auto;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}