/*=================================================================
  Created by Sebastian Paripsa
==================================================================*/

/*=================================================================
  Constants
==================================================================*/

:root {
    /* colors */
    --white: #fff;
    --white-70: rgb(255, 255, 255, 0.7);
    --bluish-dark-extra: rgb(12, 17, 24);
    --black: #222;
    --darker-black: #111111;
    --light-grey: #555;
    --modern-green: #04AA6D;
    --xafs-green: #4dbf00;
    --lavender: #ddd;
    --primary-100: #e2e0ff;
    --primary-200: #c1beff;
    --primary-300: #a29dff;
    --primary-400: #837dff;
    --primary-500: #645cff;
    --primary-600: #504acc;
    --primary-700: #3c3799;
    --primary-800: #282566;
    --primary-900: #141233;
    --red-light: #f8d7da;
    --red-dark: #842029;
    --green-light: #d1e7dd;
    --green-dark: #0f5132;

    /* fonts  */
    --max-width: 1250px;

    /* vars */
    --backgroundColor: var(--grey-50);
    --textColor: var(--grey-900);
    --borderRadius: 0.25rem;
    --letterSpacing: 1px;
    --transition: 0.3s ease-in-out all;
    --fixed-width: 600px;

    /* box shadow*/
    --shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-2: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-3: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-4: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    /*outline: 1px solid red;*/
}

/*=================================================================
  Basic Setup
==================================================================*/

body {
    /* Roboto from google fonts*/
    font-family: "Roboto", sans-serif;
    /*background-color: lavender;*/

}

h3,
h4,
h5 {
    margin: 0;
    margin-bottom: 1.38rem;
    font-family: var(--headingFont);
    font-weight: 400;
    line-height: 1.3;
    text-transform: capitalize;
    letter-spacing: var(--letterSpacing);
}


h2 {
    font-family: "Sen", sans-serif;
    margin-top: 30px;

}

h4 {
    font-size: 1.563rem;
}

a {
    color: var(--xafs-green);
}

/*=================================================================
  Media
==================================================================*/

.responsive {
    width: 100%;
    height: auto;
}

.img-side-by-side {
    float: left;
    width: 33.33%;
    padding: 5px;
}

.row::after {
    content: "";
    clear: both;
    display: table;
}

/*=================================================================
  Buttons
==================================================================*/

.button {
    font-family: "Sen", sans-serif;
    background-color: var(--black);
    border: none;
    color: var(--xafs-green);
    padding: 20px 40px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 20px;
    margin: 6px 2px;
    cursor: pointer;
    transition-duration: 0.4s;
    border-radius: 12px;
}

.button-center {
    margin: 100 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}


.button4:hover {
    box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);
}

.button-more {
    font-family: "Sen", sans-serif;
    background-color: var(--black);
    border: none;
    color: var(--xafs-green);
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 20px;
    margin: 6px 2px;
    cursor: pointer;
    transition-duration: 0.4s;
    border-radius: 12px;
}



/*=================================================================
  Content
==================================================================*/

.container {
    /*background-color: #151515;*/
    min-height: calc(100vh - 50px);
    color: var(--black);
    max-width: var(--max-width);
    margin: auto;
}

.content-container {
    margin-left: 50px;
}

.featured-content {
    height: 50vh;
    padding: 50px;
}

.featured-title {
    width: 200px;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;

  padding: 16px;
  margin-top: -140px;
  color: black;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}
/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
/* Caption text */
.text {
  color: black;
  font-size: 15px;
  padding: 8px 12px;


  width: 100%;
  text-align: center;
}
/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #999999;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}
.active,
.dot:hover {
  background-color: var(--darker-black);
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev,
  .next,
  .text {
    font-size: 11px
  }
}

/*=================================================================
  Page
==================================================================*/

.page {
    width: 90vw;
    max-width: var(--max-width);
    margin: 0 auto;
}

.page {
    padding-top: 2rem;
    min-height: calc(100vh - (6rem + 4rem));
}

/*=================================================================
  Hero
==================================================================*/

.hero {
    height: 40vh;
    position: relative;
    margin-bottom: 2rem;
    background: url('../img/refxas_thumbnail.JPG') center/cover no-repeat;
    border-radius: var(--borderRadius);
}

.hero-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    border-radius: var(--borderRadius);
}

.hero-text {
    color: var(--white);
    text-align: center;
}

@media only screen and (min-width: 768px) {
    .hero-text h1 {
        font-size: 4rem;
        margin-bottom: 0;
    }
}

/*=================================================================
  Tables
==================================================================*/

.longTextHover {
    white-space: nowrap;
    text-overflow:ellipsis;
    overflow: hidden;
    max-width:1px;
}
abbr[title] {
    text-decoration: none;
}

caption {
    caption-side: top;
    text-align: left;
    margin-top: .5em;
    margin-bottom: .5em;
    margin-left: .5em;
    font-weight: bolder;
    font-family: "Sen", sans-serif;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    border: 1px solid var(--lavender);
    font-family: "Sen", sans-serif;
}

.table-title {
    font-size: 20px;
    font: bold;
    color: var(--xafs-green);
}


thead,
th,
td {
    word-break: break-all;
    text-align: left;
    padding: 16px;
    font-family: "Sen", sans-serif;

}

tr:nth-child(even) {

    font-family: "Sen", sans-serif;

}

tr:hover {
    background-color: var(--lavender);
}

.item-table {
    overflow-y: auto;
    overflow-x: hidden;
}

.limit-abstract-length {
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.limit-title-length {
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.limit-id-length {
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#table_detail {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    border: 1px solid var(--lavender);
    font-family: "Sen", sans-serif;
}

#table_detail .hidden_row {
    display: none;
}

.subh {
    padding-left: 30px;
}

.subsubh {
    padding-left: 60px;
}

.subsubsubh {
    padding-left: 90px;
}

.subd {
    padding-left: 200px;
}

.subsubd {
    padding-left: 230px;
}


.arrow {
    border: 1px solid var(--xafs-green);
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
  }
.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
  }


/*=================================================================
  Navbar
==================================================================*/

.navbar {
    width: 100%;
    height: 50px;
    background-color: var(--black);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    align-items: center;
    padding: 0 50px;
    height: 100%;
    color: var(--white);
    font-family: "Sen", sans-serif;
}

.logo-container {
    flex: 1;
}

.logo {
    font-size: 30px;
    color: var(--xafs-green);
}

.menu-container {
    flex: 6;
}

.responsive_coll {
    width: 50%;
    max-width: 100px;
    min-width: 50px;
    max-height: 40px;
    padding: 30px;
    padding-bottom: 20px;
}

.responsive_daph {
    width: 30%;
    max-width: 200px;
    min-width: 50px;
    height: auto;
    padding: 30px;
}

.btn {
    cursor: pointer;
    color: var(--white);
    background: var(--primary-500);
    border: transparent;
    border-radius: var(--borderRadius);
    letter-spacing: var(--letterSpacing);
    padding: 0.375rem 0.75rem;
    box-shadow: var(--shadow-1);
    transition: var(--transtion);
    text-transform: capitalize;
    display: inline-block;
}

.menu-list {
    display: flex;
    list-style: none;
}

.menu-list-item {
    margin-right: 30px;
}

.menu-list-item.active_nav {
    font-weight: bold;
}


@media screen and (min-width: 992px) {
    .navbar {
        height: 5rem;
    }

    .nav-center {
        display: flex;
        align-items: center;
    }

    .nav-header {
        padding: 0;
        margin-right: 2rem;
        height: auto;
    }

    .nav-btn {
        display: none;
    }

    .nav-links {
        height: auto !important;
        flex-direction: row;
        align-items: center;
        width: 100%;
    }

    .nav-link {
        padding: 0;
        border-top: none;
        margin-right: 1rem;
        font-size: 1rem;
    }

    .contact-link {
        margin-right: 0;
        margin-left: auto;
    }
}

.profile-container {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.profile-text-container {
    margin: 0 20px;
}

.profile-picture {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.toggle {
    width: 40px;
    height: 20px;
    background-color: var(--white);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: relative;
}

.toggle-icon {
    color: goldenrod;
}

.toggle-ball {
    width: 18px;
    height: 18px;
    background-color: var(--black);
    position: absolute;
    right: 1px;
    border-radius: 50%;
    cursor: pointer;
    transition: 1s ease all;
}

/*=================================================================
  Searchbar + Searchpage
==================================================================*/

.results-found {
    color: var(--black);
    padding: 5px 10px;
    font-size: 1.2rem;
}

.search-container {
    align-items: center;
}


input {
    padding: 4px 10px;
    margin-top: 8px;
    font-size: 17px;
    border: none;
    border-radius: 0px;
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, .5);
    transition: all 500ms cubic-bezier(0, 0.110, 0.35, 2);
    color: rgba(255, 255, 255, .5);
}

.search-container button {
    color: white;
    float: right;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2f3640;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.4s;
}

/*=================================================================
  Footer
==================================================================*/

footer {
    position: sticky;
    width: 100%;
    background-color: var(--black);
}

footer .footer-text {
    width: 100%;
    text-align: left;
    color: var(--xafs-green);
    font-weight: 300;
    font-family: "Sen", sans-serif;
}

/*=================================================================
  Errors
==================================================================*/

.fourofour {
    color: var(--black);
}

@import url('https://fonts.googleapis.com/css?family=Fjalla+One');

.container_error{
  display: block;
  text-align: center;
  margin-top: 5%;
}
.four1{
animation: swing ease-in-out 1.5s infinite alternate;
    display: inline-block;
}
.zero{
  animation: swing2 ease-in-out 1.5s infinite alternate;
  display: inline-block;
}
.four2{
animation: swing3 ease-in-out 1.5s infinite alternate;
    display: inline-block;
}

@keyframes swing {
    0% { transform: rotate(3deg); }
    100% { transform: rotate(-3deg); }
}

@keyframes swing2 {
    0% { transform: rotate(-3deg); }
    100% { transform: rotate(3deg); }
}
@keyframes swing3 {
    0% { transform: rotate(-3deg); }
    100% { transform: rotate(8deg); }
}
.h1_fof{
  font-family: 'Fjalla One';
  text-align: center;
  color: var(--darker-black);
  font-size: large;
}
