/* Small Devices (Tablets, 768px and below) */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin-bottom: 10px;
    }

    main {
        padding: 10px;
    }

    h1, h2 {
        font-size: 1.8rem;
    }
/* make the collapsed menu a right sidebar */
    #navbarMenu {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 250px;       /* sidebar width */
        background-color: #FFF8DC;
        color: #004080;
        padding-top: 80px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 2000;
		opacity:90%
    }

    /* when opened */
    #navbarMenu.show {
        transform: translateX(0);
    }

    /* menu items alignment */
    #navbarMenu ul {
        flex-direction: column !important;
        text-align: left !important;
        padding-left: 20px;
    }
    form input[type="submit"],
    a.btn {
        width: 100%;
    }
	table,
            thead,
            tbody,
            th,
            td,
            tr {
                display: block;
            }

            thead tr {
                position: absolute;
                top: -9999px;
                left: -9999px;
            }

            tr {
                margin-bottom: 20px;
                border: 1px solid #ddd;
            }

            td {
                border: none;
                position: relative;
                padding-left: 50%;
            }

            td:before {
                position: absolute;
                left: 6px;
                content: attr(data-label);
                font-weight: bold;
            }
}

/* Extra Small Devices (Phones, 480px and below) */
@media (max-width: 480px) {
    nav ul {
        padding: 0;
    }

    nav ul li {
        margin: 5px 0;
    }

    h1, h2 {
        font-size: 1.5rem;
    }

    form input[type="text"],
    form input[type="email"],
    form input[type="password"],
    form textarea {
        font-size: 1rem;
        padding: 8px;
    }

    form input[type="submit"] {
        padding: 8px;
    }
	 table,
            thead,
            tbody,
            th,
            td,
            tr {
                display: block;
            }

            thead tr {
                position: absolute;
                top: -9999px;
                left: -9999px;
            }

            tr {
                margin-bottom: 20px;
                border: 1px solid #ddd;
            }

            td {
                border: none;
                position: relative;
                padding-left: 50%;
            }

            td:before {
                position: absolute;
                left: 6px;
                content: attr(data-label);
                font-weight: bold;
            }
}

@media (min-width: 768px) {
    section {
        flex-direction: row;
        justify-content: space-between;
    }

    section p {
        max-width: 500px;
        margin-right: 20px;
    }
}
/* Responsive Adjustments */
@media (max-width: 768px) {
    .slide h2 {
        font-size: 1.5rem;
    }
	 .slider, .right-marquee {
        width: 100%;
        max-height: none;
    }
    .slider .banner-image {
        height: auto;
    }
    .slide {
        height: 300px !important;
    }
}

@media (max-width:768px)
{
	
aside iframe {
width :250px;
height:350px;

}
@media (max-width:480px)
{
	
aside iframe {
width :180px;
height:300px;

}
	
}
