*{
    margin: 0;
    padding: 0;
    text-decoration: none;
    outline: none;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

:root{
    --primary-color: rgb(1, 42, 93);
    --secondary-color: rgb(12, 100, 201);
}
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 0.5rem;
}

.container{
    max-width: 1535px;
    width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
}
.Epara{
    margin-top: 0.5rem;
}

.access-link{
    color: var(--secondary-color);
}
/* Navbar */

#nav {
    padding: 0 20px;
    background-color: var(--primary-color);
    height: 70px;
    display: flex;
    justify-content: space-between;
}

#logo {
    font-weight: bold;
    display: flex;
    align-items: center;
}

#logo > a > img {
    width: 12rem;
}
main{
    min-height: 100vh !important;
}

.menu {
    list-style: none;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.menu a {
    color: white;
}

.menu li {
    padding: 5px 5px 0px 5px;
    margin-left: 1rem;
    font-size: 1.5rem;
    margin-top: 1.5rem;
    border-bottom: 4px solid transparent;
}

.menu li:hover {
    border-bottom: 4px solid var(--secondary-color);
}

#hamburger-icon {
    margin: auto 0;
    display: none;
    cursor: pointer;
}

#hamburger-icon div {
    width: 35px;
    height: 4px;
    background-color: white;
    margin: 6px 0;
    transition: 0.4s;
}

.open .bar1 {
    -webkit-transform: rotate(-45deg) translate(-6px, 6px);
    transform: rotate(-45deg) translate(-6px, 6px);
}

.open .bar2 {
    opacity: 0;
}

.open .bar3 {
    -webkit-transform: rotate(45deg) translate(-6px, -8px);
    transform: rotate(45deg) translate(-6px, -8px);
}

.open .mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    height: calc(100vh - 50px);
    width: 100%;
}

.mobile-menu li {
    margin-bottom: 10px;
}


header > img{
    width: 100%;
    background-position: center;
    background-size: cover;
    border: 1px solid black;
}

header > h3{
    padding: 1rem 0;
    text-align: center;
    color: rgb(92,143,208);
}


.table-content{
    width: 100%;
    display: flex;
   justify-content: center;
    background-color: rgb(247,247,247);
    padding: 0.5rem 0;
    margin: 0.5rem 0;
}

/* slider */

/* Slideshow container */
.slideshow-container {
    max-width: 100%;
    position: relative;
    margin: auto;
}
.error-para{
    margin-top: 1rem;
}
#error-container{
    margin: 1rem auto;
}
/* Fading animation */
.swiper {
    width: 100%;
    height: auto;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}


/* slider end */



.API-FHIR-section {
    display: flex;
    justify-content: space-evenly;
    padding: 0.5rem 0;
}
.FHIR-URIs  {
    text-align: center;
}
.API-Resources {
    text-align: center;
}

/* Table */
table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    border: 1px solid white;
}

th, td {
    text-align: left;
    padding: 4px 8px;
    font-size: small;

}
tr >th{
    background-color: rgb(91, 143, 208);
    color: white;
}
table, th, td {
    border: 1px solid white;
}

caption{
    text-align:left;
    font-size: 1rem;
    font-weight: bold;
    padding: 0.5rem 0;
}
.auth-caption::after{
    display: block;
    content: "Need to send valid Access token, received after authentication with every request to validate user. If the token is missing or expired, the server will respond with a 401 UNAUTHORIZED.";
    font-size: 0.8rem;
    font-weight: normal;
}
.error-caption::after{
    display: block;
    content: "FHIR Server will return Operation Outcome Resource with error message for all the valid request with status code 200 in XML/JSON format.";
    font-size: 0.8rem;
    font-weight: normal;
}
tr:nth-child(odd){background-color: rgb(234,239,247);}
tr:nth-child(even){background-color: rgb(210.222,239);}

.Question-talkehr {
    background-color: rgb(234,243,254);
    padding: 0.5rem;
}
.Question-talkehr > h3{
    padding-top: 0.5rem;
    padding-bottom: 1rem;
    color: #4E2D82;
}
.first-table  td{
    font-weight: 600;
    text-decoration: underline;
}
.icon{
    width: 4rem;
}

/* Footer */
footer{
    border-top: 5px solid rgba(6, 151, 209);
    background-color: var(--primary-color);
    color: white;
    padding: 0 0.5rem;
    width:100%;

    /* position: fixed;
    bottom: 0; */
}
.footer-navigation {
    display: flex;
    justify-content: flex-end;
    padding: 0.5rem 0;

}

.footer-navigation > a::after{
    content: "|";
    margin: 0 0.1rem;
}

.footer-navigation > a:last-child::after{
    content: "";

}
.footer-navigation > a{
    font-size: 0.7rem;
    color: white;
}
.Copy-Right{
    display: flex;
    justify-content: space-between;
    padding-bottom: 0.5rem;
}
.table-content-nav{
    border-bottom: 5px solid rgb(105, 105, 105);

}
.table-content-nav > h3 {
    padding: 1rem 0;
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.home-section{
    padding: 0 0.5rem;
}

.home-content{
    border-top: 1px solid rgb(12, 100, 201) ;
}

.auth-heading ,.api-heading ,.res-heading{
    padding-top: 1rem;
    border-bottom: 1px solid rgb(12, 100, 201) ;
}
.content:nth-child(1){
    padding-top: 0.5rem;
}
.content{
    padding-bottom: 1rem;
}

.table-container{
    overflow-x: auto;
}


@media screen and (max-width: 980px) {
    #nav nav {
        display: none;
    }
    .menu > li {
        margin-top: 1rem;
    }
    #logo > a > img {
        width: 10rem;
    }
    .mobile-menu {
        background-color: var(--primary-color);
    }
    #hamburger-icon {
        display: block;
    }
    .open .mobile-menu {
        position: absolute;
        z-index: 2;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-top: 1rem;
        justify-content: flex-start;
    }
}
@media screen and (max-width: 576px) {

    br {
        display: none;
    }
    .API-FHIR-section{
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .footer-navigation{
        justify-content: center;
    }
    .Copy-Right{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    .Copy-Right > p:nth-child(1){
        display: none;
    }

    .table-container{
        overflow-x: scroll;
    }

}


@media  (min-width: 576px) and (max-width: 768px) {
    .API-Resources{
        display: flex;
        flex-direction: column;
    }
    .API-FHIR-section{
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .footer-navigation{
        justify-content: center;
    }
    .Copy-Right{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    .Copy-Right > p:nth-child(1){
        display: none;
    }

    .table-container{
        overflow-x: scroll;
    }

}

