/* Importing Google font - Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

/* ===================================================================================================================================================================== */
/* GENERAL */

* {
    font-family: "Poppins", sans-serif;
}

body {
    background:#FCFCFF; /*#f4f5ff;*/
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    font-size: 1rem;
}

.container {
    display: flex;
    min-height: 100vh;
}

.page-title{
    padding: 16px 0 24px 0;
    font-size: 1.4rem;
    font-weight: 500;
}

.gap {
    padding-top:8px
}

@media (max-width: 1440px) {
    
    
    body{
        font-size:0.925rem;
    }
    
    .page-title{
        padding: 12px 0 18px 0;
        font-size: 1.2rem;
    }
    
    .gap {
        padding-top:6px
    }
    
}

/* ===================================================================================================================================================================== */
/* MOBILE HIDDEN, WEB HIDDEN, MOBILE ONLY & WEB ONLY*/

.mobile-hidden{
    display:block;
}

.web-hidden{
    display:none;
}

.mobile-only {
    display:none;
}

@media only screen and (max-width: 768px) {
    
    .mobile-hidden{
        display:none;
    }
    
    .web-hidden{
        display:block;
    }
    
    .web-only {
        display:none;
    }
    
    .mobile-only {
        display:block;
    }
    
}

/* ===================================================================================================================================================================== */
/* LOGO */

.logo {
    display: block;
    text-align: center;
    font-size: 1.2em;
}

.mobile-logo {
    display: none;
}

.logo-img{
    width: 220px;
}

@media (max-width: 1440px) {
    
    .logo {
        font-size: 1em;
    }
    
    .logo-img{
        width: 180px;
    }    
    
}
    
@media (max-width: 768px) {
    
    .logo {
        visibility: hidden;
        margin-top:-6px;
        margin-bottom:-12px;
    }
    
    .mobile-logo {
        display: block;
        position: absolute;
        margin:14px 0 0 20px;
    }
    
    .logo-img{
        width:200px;
        margin-left:40px;
    }
    
}

/* ===================================================================================================================================================================== */
/* MOBILE HEADER */

.mobile-header{
    display:none;
    background-color: #FFFFFF;
    width: 100%;
    height: 80px;
    position:fixed;
    border-bottom: 1px solid #dad9da;
}

@media (max-width: 768px) {

    .mobile-header{
        display:block;
        position: absolute;
    }
    
}

/* ===================================================================================================================================================================== */
/* SIDEBAR STYLES */

.sidebar {
    width: 240px;
    background-color: #ffffff;
    border-right: 1px solid #dad9da;
    border-bottom: 1px solid #dad9da;
    border-radius:0 0 6px 0;
    height: auto;
    padding: 20px;
}

.sidebar .user {
    padding:10px 10px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow:ellipsis;
}

@media (max-width: 1440px) {
    
    .sidebar {
        width: 200px;
        padding: 16px;
    }    
}

@media (max-width: 768px) {
  
    .sidebar {
        position: fixed;
        top: 0;
        left: -100%; /* Hide sidebar initially */
        transition: all 0.3s ease-in-out;
    }
    
    .sidebar.active {
        position: absolute;
        top: 0;
        left: 0; /* Hide sidebar initially */
        transition: all 0.3s ease-in-out;
    }
    
}

/* ===================================================================================================================================================================== */
/* NAVIGATION LINKS */

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links .submenu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 0;
    width: 100%;
}

.nav-links .parent-menu:hover{
    flex-direction:column;
    padding:0 15px;
    margin: 0;
    width:206px;
}
.nav-links .parent-menu:hover .submenu {
    display: block;
}

.nav-links a {
    width: 99%;
    text-decoration: none;
    color: #333;
    padding:10px 15px 8px 15px;
    font-weight: 500;
    white-space: nowrap;
    line-height:1;
    font-size:1rem;
    vertical-align: middle;
    border-radius: 6px;
    margin: 4px 0;
    border: 2px solid transparent;
}

.nav-links a:hover {
    background-color: #6A5ACD;
    color:#FFFFFF;
    border: 2px solid #6A5ACD;
}

.nav-links a:focus{
    outline: none;
    border: 2px solid #6A5ACD;
}

.nav-links .inline-icon {
    vertical-align: middle;
    padding: 0 8px 0 0;
    font-size: 24px !important;
}

.nav-links .label{
    vertical-align: middle;
}

.nav-links hr {
    margin: 15px 0;
    border-bottom: 1px solid #C0C0C0;
    border-top:0;
}

.nav-links .fill{
    background-color: #e6e6fa;
    border: 2px solid #e6e6fa;
}

@media (max-width: 1440px){
    
    .nav-links a {
        padding:8px 12px 6px 12px;
        margin: 3px 0;
        font-size:0.9rem;
    }
    
    .nav-links a:hover {
        background-color: #6A5ACD;
        color:#FFFFFF;
        border: 2px solid #6A5ACD;
    }
    
    .nav-links .inline-icon {
        vertical-align: middle;
        padding: 0 8px 0 0;
        font-size: 22px !important;
    }
    
}

/* ===================================================================================================================================================================== */
/* HAMBURGER */

.hamburger-menu {
    display: none;
    position: absolute;
    top: 23px;
    left: 20px;
    padding: 7px 0 2px 0;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    border-radius: 5px;
}

.hamburger-menu .bar {
    display: block;
    width: 24px;
    height: 3px;
    background-color: #5D3FD3;
    margin-bottom: 5px;
}

.hamburger-menu.active{
    width:44px;
    
    outline:0;
}

.hamburger-menu.active .bar{
    background-color: #5D3FD3;
}

.hamburger-menu.active .bar:nth-child(1) {
    transition: all 100ms ease-in-out;
    transform: rotate(45deg);
    transform-origin: top left;
    width: 24px;
}

.hamburger-menu.active .bar:nth-child(2) {
    transition: all 100ms ease-in-out;
    transform-origin: center;
    width: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
    transition: all 100ms ease-in-out;
    transform: rotate(-45deg);
    transform-origin: bottom left;
    width: 24px;
}

@media (max-width: 768px) {
    
    .hamburger-menu {
        display: block;
    }
    
}

/* ===================================================================================================================================================================== */
/* TYPOGRAPHY */

h1{
    font-size:1.75rem;
}

@media (max-width: 1440px){
    
    h1{
        font-size:1.50rem;
    }
    
}

/* ===================================================================================================================================================================== */
/* MAIN CONTENT STYLES */

.main-content {
    flex: 1;
    padding: 30px 20px 20px 40px;
}

.main-wrapper{
    max-width:1240px;
    margin:0 auto;
}

@media (max-width: 1440px) {
    .main-content {
        padding: 24px 12px 12px 32px;
    }    
}

@media (max-width: 768px) {
    .main-content {
        padding: 90px 20px 0 20px; /* Adjust padding for hamburger menu */
        min-width: 90%;
    }
}

/* ===================================================================================================================================================================== */
/* BUTTON */

.button {
    font-size: 1rem;
    font-weight: 500;
    padding: 9px 15px 10px 15px;
    border-radius: 5px;
    height: 46px;
}

.button:focus{
    outline: 3px solid #D3D3D3;
}

button .inline-icon {
    vertical-align: top;
    padding: 0 12px 0 0;
}

button .label{
    vertical-align: top;
    padding: 0 6px 0 0;
}

@media (max-width: 1440px) {
    
    .button {
        font-size: 0.92rem;
        padding: 10px 12px 10px 12px;
        height: 42px;
    }
    
    button .inline-icon {
        padding: 0 10px 0 0;
        font-size: 22px !important;
    }
    
    button .label{
        padding: 0 6px 0 0;
    }
    
}

/* PINK FILL BUTTON */

.pink-fill-btn {
    background: #6A5ACD;
    color: #FFFFFF;
    border: 2px solid #6A5ACD;
}

.pink-fill-btn:hover{
    background:#6A5ACD;
    color: #FFFFFF;
    opacity: .80;
}

/* PINK GLASS BUTTON */

.pink-glass-btn {
    background: #f4f5ff;
    color: #6A5ACD;
    border: 2px solid #6A5ACD;
}

.pink-glass-btn:hover{
    background:#6A5ACD;
    color: #FFFFFF;
}

.icon-btn{
    border: 0;
    background: #fff;
    height: 24px;
    vertical-align:top;
    padding:0 0 0 12px;
}

.icon-btn:hover{
    color: #6A5ACD;
}

/* ===================================================================================================================================================================== */
/* FLEX CONTAINER STYLES */

.flex-container{
    box-sizing: border-box;
    max-width: 1240px;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    /*border: 1px solid #dad9da;*/
    padding: 25px 30px 30px 30px;
    margin-bottom: 30px;
}

.flex-container-title{
    font-size: 20px;
    font-weight: 500;
    padding-bottom: 10px;
    border-bottom: 1px solid #919191;
}

@media (max-width: 1440px) {
    
    .flex-container{
        padding: 18px 24px 24px 24px;
        margin-bottom: 24px;
    }
    
    .flex-container-title{
        font-size: 18px;
        padding-bottom: 6px;
    }
    
}

@media only screen and (max-width: 768px) {
    
    main .flex-container{    
        padding: 20px;
    }
    
}

/* ===================================================================================================================================================================== */
/* COLLAPISBLE */

.collapsible-container {
    width: 100%;
    margin: 0 auto;
    
}

.collapsible-header {
    font-weight:500;
    cursor: pointer;
    padding: 10px 20px;
    border: 1px solid #ccc;
    border-bottom: none;
}

.collapsible-header:hover {
    background:#e6e6fa;
    
    /*background-color: #F5F5F5;*/
    /*background-color: #D3D3D3;*/
}

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 10px;
    border: 1px solid #ccc;
    border-top: none;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.collapsible-content p {
    margin: 10px 0;
}

.collapsible-content.active {
    padding: 15px;
}

.panel-heading  div:before {
    /*font-family: 'Glyphicons Halflings';*/
    content: "^";
    float: right;
    transition: all 0.5s;
    -webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	transform: rotate(180deg);
}

.panel-heading.active div:before {
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	transform: rotate(0deg);
}

/* ===================================================================================================================================================================== */

.affiliation-list ul{
    list-style-type: none;
    padding: 0;
    list-style-position: outside;
}

.affiliation-list ul li{
    padding:12px 12px;
    background: #FFFFFF;
    border: 1px solid #CCCCFF;
    margin: 18px 0;
    border-radius: 6px;
    font-weight:400;
    font-size:1rem;
    /*box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;*/
}

.affiliation-list ul li:before {
    content: '⊚';
    width: 30px;
    display: inline-block;
}

@media (max-width: 1440px) {
    
    .affiliation-list ul li{
        padding:12px 12px;
        margin: 18px 0;
        font-size:0.875rem;
    }
    
}

/* ===================================================================================================================================================================== */
/* NOTIFICATION BANNER */

.banner {
    font-size:18px;
    padding: 10px 15px;
    border-radius: 5px;
    margin:10px 0 20px 0;
    color: white;
    line-height: 1.5;
}

.banner-error{
    background: #f44336;
}

.banner-success{
    background: #008080;
}

.banner-info{
    background: #4682B4;
}

.banner-closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.banner-closebtn:hover {
    color: black;
}

.banner a {
  text-decoration: none;
  font-weight:500;
  color: yellow;
}

@media (max-width: 1440px){
    
    .banner {
        font-size:16px;
        padding: 8px 12px;
        margin:8px 0 16px 0;
        line-height: 1.5;
    }
    
    .banner-closebtn {
        margin-left: 15px;
        font-size: 20px;
        line-height: 20px;
    }
    
}

/* ===================================================================================================================================================================== */
/* PAGINATION */

.pagination-button{
    margin-right:10px;
    margin-bottom:10px;
    padding:5px 10px;
    border: #CCC 1px solid;
    background:#FFF; 
    border-radius:4px;
    display:inline !important;
    cursor:pointer;
    font-size:1rem;
}

.pagination-button:hover{
    background:#F0F0F0;
    
}

.pagination-button.current{
    background:#F0F0F0;
}

/* ======================================================= */


/* ======================================================= */

.update-content{
    text-align:left;
    padding: 16px 0 0 0;
    line-height:2;
    font-size:1rem;
}

.update-content p{
    margin:0 0 24px 0;
}

.update-content h3{
    font-weight:600;
    margin:0;
    font-size:1rem;
}

/* ======================================================= */
/* BASIC TABLE*/

.flex-container-basic-table {
    width:100% !important;
    table-layout: fixed;
    margin-top: 18px;
}

.flex-container-basic-table td {
    border: none;
    border-bottom:1px solid #dad9da;
    padding: 8px 12px;
    
}

.flex-container-basic-table th {
    background:#F0F0F0;
    padding: 10px 12px;
}

@media only screen and (max-width: 600px) {
    
    .flex-container-basic-table table{
        display: flex;
        flex-direction: row;
    }
  
    .flex-container-basic-table th, td { 
        display: block; 
        width: 100%; 
        
    }
  
}

/* ======================================================= */
/* INFO TABLE*/

.flex-container-info-table {
    width:100%;
    table-layout: fixed;
}

.flex-container-info-table td {
    border: none;
    border-bottom:1px solid #dad9da;
    padding: 12px 5px 12px 0;
    word-wrap: break-word;
}

.flex-container-info-table tr{
    
}

.flex-container-info-table tr:first-child td {
    padding: 0 5px 12px 0;
}
            
.flex-container-info-table tr:last-child td {
    border-bottom: none;
    padding: 12px 5px 0 0;
}

.flex-container-info-table td:first-child {
  font-weight: 500;
}

@media only screen and (max-width: 600px) {
    
    .flex-container-info-table table{
        display: flex;
        flex-direction: column; 
    }
  
    .flex-container-info-table th, td { 
        display: block; 
        width: 100%; 
        
    }
  
    .flex-container-info-table td:nth-child(odd){
        border-bottom:0;
        padding-bottom:0;
    }

}

/* ======================================================= */
/* SUBSCRIPTION STATUS */

.sub-status-active{
    font-weight: 500;
    color: green;  
}

.sub-status-expired{
    font-weight: 500;
    color: red;
}

.sub-status-inactive{
    font-weight: 500;
    color: blue;
}

/* ======================================================= */

/*

@media (max-width: 768px) {
    #cookie-banner {
        padding-bottom: 70px !important;
    }
    
    #cookie-preferences-footer {
        padding-bottom: 50px !important;
    }
    
}

*/