/* Global Styles */

body {
  margin: 0;
  padding: 0;
  font-family: Poppins, Arial, sans-serif;
  background-color: #f9f9f9;
}

header, content, footer, .container{
    overflow:hidden;
}
content{
    display: block;
    clear:both;
    width:80%;
    margin:0 auto;
}


.clear{
    clear:both;
}

.max-width{
    width: 600px;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
}





/* Header Styles */

header {
  height:300px;
  background: linear-gradient(to right, #122c8f, #0052eb);
  padding: 10px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background: url(../images/backgrounds/header-background1.jpg) no-repeat;
  background-position: 81% 43%; /*50% 30% / 69% 43%*/
  position: relative;
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(9, 63, 188, 0.4); /* Adjust the color and opacity as needed */
}


header .logo_link {
    color: white;
    text-decoration: none;
    background: #3026ca;
}

header .logo_link .logo {
    display: block;
    margin-top: -20px;
    margin-bottom: 20px;
    position: absolute;
    top: 0;
    left: 50px;
    background: #2d37c2;
    width:200px;
    height:160px;
    
    padding:10px;
    padding-top:30px;
    width:215px;
}

header .logo_link .logo .big_letter{
    float:left;
    font-weight:800;
    font-size:60px;
    margin-right:-10px;
}
header .logo_link .logo .line_vertical{
    font-size:60px;
    margin-right:-10px;
    float:left;
    font-weight:normal;
}


header .logo_link .words{
    margin-left:20px;
    margin-top:10px;
    float:left;
}
header .logo_link .first_word{
    margin-top:10px;
}


header .logo_link .motto{
    border-top: 1px white solid;
    text-transform:uppercase;
    padding-top:10px;
    text-align:center;
    letter-spacing: 2px;
}

header .login-link img{
    height:15px;
    width: auto;
    margin-right:10px;
}
header .login-link{
    background:#3026ca;
    border-left: 10px #261ea2 solid;
}
header .login-link:hover{
    background:#0700a6;
}



header nav{
    margin: 0 auto;
    width: auto;
    position:absolute;
    top:10px;
    right:0px;
}

header nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  position:relative;
}

header nav li {
  margin-right: 0px;
  float:left;
  height: 45px;
  position: relative;
}

header nav a::after {
  content: "";
  position: absolute;
  bottom: 15px; /* Adjust the value to move the underline down */
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px; /* Adjust the value to set the thickness of the underline */
  background-color: #5985eb; /* Set the desired color for the underline */
}

header nav a {
  position: relative;
  text-decoration: none;
  background: #0700a6; /* darker #122c8f */
  color: #fff;
  font-weight:800;
  text-transform:uppercase;
  padding: 10px 20px 20px 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
header nav a:hover {
  background: #3026ca;
  color: #ffffff;
}
header nav a::before {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #5985eb;
  transition: width 0.5s, height 0.5s, margin 0.5s, bottom 0.5s;
}

header nav li.active a {
  background: #3026ca;
  color: #ffffff;
}
header nav li:hover a::before {
  width: 20px;
  height: 20px;
  background-color: #5985eb;
  bottom: -30px;
  margin-bottom: 4px;
  z-index: 1;
}
header nav li.active a::before{
  width: 20px;
  height: 20px;
  background-color: white;
  bottom: -30px;
  margin-bottom: 4px;
  z-index: 1;
}




header .container{
  max-width: unset;
  width: 100%;
}




h1 {
  margin-bottom: 20px;
}
h1,h2,h3,h4,h5{
    color: #102b90;
}




/* Footer Styles */

footer {
  padding: 20px;
  text-align: center;
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(6, 0, 134, 0.7); /* Adjust the blue color and opacity as needed */
  z-index: -1; /* Position the overlay behind the content */
}

footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../images/backgrounds/footer-background1.jpg) repeat center;
  background-position: 55% 55%;
  z-index: -2; /* Position the background image behind the overlay and content */
}




footer p {
  color: #d7d7d7;
  font-size: 14px;
}



footer{
    position:relative;
}
footer .links{
    float:left;
}
footer .links a{
    color: #fefefe;
    padding-left:20px;
    padding-right:20px;
    text-decoration:none;
}

footer .logo1{
    float:right;
}
footer .word1{
    letter-spacing: 0.2em;
    color:#cccbcc;
}
footer .word2{
    color:#2d37c2;
    font-weight:bold;
    font-size:20px;
}




footer ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding:0;
  margin:0;
}

footer li {
  position: relative;
}

footer a {
  text-decoration: none;
  color: #000;
  position: relative;
}

footer .links a::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #5985eb; /* Updated to the desired color for small circles */
  transition: width 0.5s, height 0.5s, bottom 0.5s;
}

footer .links li.active a::before,
footer .links li:hover a::before {
  width: 13px; /* Adjusted to be 30% bigger than the small circle */
  height: 13px; /* Adjusted to be 30% bigger than the small circle */
  bottom: -17px;
  transition: width 0.5s, height 0.5s, bottom 0.5s;
}

footer .container{
    padding:0;
}
footer p{
    color:white !important;
}














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

    header{
        display:block;
    }
    #mobile_menu_outer_wrap {
        display:none;
        width: 100%;
    }
    #mobile_menu_wrap{
        position:relative;
        display:flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        flex-direction: row-reverse;
        width:100%;
        min-height:200px;
        border:0px gray solid;
        background: rgba(0,0,0,.8);
        background: #3462bd;
        border-bottom:40px rgba(0,0,0,.6) solid;
        border-top:10px rgba(0,0,0,.6) solid;
    }
    #mobile_logo_wrap{
        background: linear-gradient(to top, #122c8f, #0052eb);
        width: 100%;
        display:block;
        min-height: 60px;
    }
    a.site_info_link_mobile{
        color:white;
    }
    #mobile_logo{
        border: 0px gray solid;
        float: left;
        margin-right: 10px;
        margin-top: 15px;
        margin-left: 10px;
    }
    #mobile_logo img{
        width: auto;
        height: 40px;
        margin-top: -4px;
    }
    #mobile_site_text{
        color:white;
        float: left;
        margin-top: 4px;
        margin-left: 10px;
        font-size: 30px;
    }
    #mobile_site_text a{
        text-decoration:none;
        font-weight:bold;
        font-size: 20px;
    }
    .mobile_menu_icon{
        border:0px gray solid;
        height:60px;
        width:15%;
        text-align:left;
        padding-top:10px;
        padding-left:25px;
        margin-bottom:0px;
        float: left;
    }
    #mobile_menu{
        border:0px gray solid;
        width:100%;
        min-height:200px;
        margin-bottom: 50px;
    }
    #mobile_menu ul{
        list-style: none;
        padding-left: 0;
    }
    #mobile_menu a{
        font-size: 24px;
        display: block;
        padding: 10px 10px 10px 40px;
        border-top: 1px black solid;
        margin-top: 2px;
        color:white;
        background: #0052eb;/*#122c8f, #0052eb);*/
        background: linear-gradient(to bottom, #0449d6, #0b3bb5);
        font-weight:600;
        text-decoration:none;
    }
    #mobile_menu a.login-link img{
        display: inline-block;
        margin-bottom: -4px;
        margin-right: 10px;
        height: 25px;
        width: auto;
    }
    #mobile_menu a:hover{
        background: #122c8f;
        color:white;
        font-weight:600;
    }
    #mobile_menu .active a{
        background: #122c8f;
        color:white;
    }

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

    .menu_icon_container {
      display: inline-block;
      cursor: pointer;
    }

    .bar1, .bar2, .bar3 {
      width: 35px;
      height: 5px;
      background-color: #000;
      margin: 6px 0;
      transition: 0.4s;
    }

    /* Rotate first bar */
    .change .bar1 {
      transform: translate(0, 11px) rotate(-45deg);
    }

    /* Fade out the second bar */
    .change .bar2 {opacity: 0;}

    /* Rotate last bar */
    .change .bar3 {
      transform: translate(0, -11px) rotate(45deg);
    }

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








/* Table of Contents - Right side - Box */

.page__table_of_contents.open{
    float:right;
    width: 250px;
    height:auto;
    
    min-height: 100px;
    max-height: 400px;
    overflow: scroll;
    overflow-x: hidden;
    
    margin-right:0px;
    margin-left:20px;
    
    padding-top:10px;
    padding-bottom:15px;
    
    position: fixed;
    top: 50%;
    right: 0;
    transform: translate(0, -50%);
    background: linear-gradient(to top, #8997bc, #d8dde8);
    transition: margin-right 0.5s;

}

.page__table_of_contents.closed{
    float:right;
    width: 250px;
    height:auto;
    
    min-height: 100px;
    max-height: 400px;
    overflow: scroll;
    overflow-x: hidden;
    
    margin-right:-220px;
    margin-left:20px;
    
    padding-top:10px;
    padding-bottom:15px;
    
    position: fixed;
    top: 50%;
    right: 0;
    transform: translate(0, -50%);
    background: linear-gradient(to top, #8997bc, #d8dde8);
    transition: margin-right 0.5s;
}

.page__table_of_contents h4{
    color: #0700a6;
    font-weight:normal;
    margin:0;
    margin-bottom:10px;
}
.page__table_of_contents a{
    color: black;
}


.page__table_of_contents .content_box{
    width:185px;
    float:right;
    padding-right:10px;
}


.page__table_of_contents .vertical_line{
    height:100%;
    width:20px;
    background: #8caddb;
    position:absolute;
    top:0;
    left:0;
    cursor: pointer;
} 
.opener:hover{
    background: #7896c0;
}

.page__table_of_contents ul {
  list-style: none;
  padding:0;
  margin:0;
}

.page__table_of_contents li a {
    text-decoration: none;
    line-height: 20px;
}

.page__table_of_contents li.odd a {
  background:#ccc;
}
.page__table_of_contents li.even a {
  background:#bbb;
}
.page__table_of_contents a {
  display:block;
  width:94%;
  
  border: 1px gray solid;
  padding:5px;
  padding-left:10px;
}
.page__table_of_contents li a:hover {
  background:#e2e2e2;
}








.code_box {
  background-color: black;
  border: 1px solid #ccc;
  padding: 10px;
  font-family: "Courier New", monospace;
  font-size: 14px;
  color:white;
  padding:20px;
}




/* home - to list topics with the buttons */
.topic_box{
    border:1px gray solid;
    border-radius:10px;
    background: #ededed;
    padding:20px;
}



/* background change in content_box, to know where the content has ended */
.list_of_pages{
    background: black;
    color:white;
}




/* Search Results */
.search_result{
    margin-top:10px;
    margin-right:40px;
    margin-bottom:10px;
    border:1px rgba(0,0,0,0.2) solid;
    border-radius:5px;
    padding:10px;
    padding-left:20px;
}
.button_small{
    display:inline-block;
    padding:5px 20px;
    background: #060085;
    color:white;
    margin:2px;
    text-decoration: none;
    border-radius:5px;
}





/* styles that apply to all screen widths can go here */


/*1.	For mobile devices with a maximum width of 480px:*/
@media (min-width: 0px) and (max-width: 480px) {
/* Styles for mobile devices */

body{border:0px blue solid;}

    header{
        display:none;
    }

    #mobile_logo_wrap{
        display:block;
    }
    #mobile_menu_outer_wrap{
        display:none;
    }

nav ul li{
    width: 100%;
}

content{
    width: 100%;
    margin:unset;
}
.page__table_of_contents.closed{
    margin-right:-230px;
}
.page__table_of_contents .content_box{
    padding-right:25px;
}


}





/*2.	For small tablets with a maximum width of 768px:*/
@media (min-width: 481px) and (max-width: 768px) {
/* Styles for small tablets */

body{border:0px green solid;}

    header{
        display:none;
    }
    #mobile_logo_wrap{
        display:block;
    }
    #mobile_menu_outer_wrap{
        display:none;
    }

nav ul li{
    width: 100%;
}

content{
    width: 100%;
    margin:unset;
}
.page__table_of_contents.closed{
    margin-right:-230px;
}
.page__table_of_contents .content_box{
    padding-right:25px;
}


}





/*3.	For tablets with a maximum width of 992px:*/
@media (min-width: 768px) and (max-width: 992px) {
/* Styles for tablets */
body{border:0px yellow solid;}

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

    header{
        display:none;
    }
    #mobile_logo_wrap{
        display:block;
    }
    #mobile_menu_outer_wrap{
        display:none;
    }

nav ul li{
    width: 100%;
}


}


/*4.	For laptops and desktops with a maximum width of 1200px:*/
@media (min-width: 990px) and (max-width: 1200px) {
/* Styles for laptops and desktops */
body{border:0px orange solid;}

    header{
        display:block;
    }
    #mobile_menu_outer_wrap, #mobile_logo_wrap{
        display:none;
    }

} 


/*5.	For large screens with a minimum width of 1201px:*/
@media (min-width: 1201px) {
/* Styles for large screens */ /* copy and paste the styles that apply to the largest screen size into the media query for screens over 1201px. */

body{border:0px red solid;}


    header{
        display:block;
    }
    #mobile_menu_outer_wrap, #mobile_logo_wrap{
        display:none;
    }
    

}


