
/* Screen widger than container
------------------------------------------------- */
@media screen and (min-width: 1020px) {
  .container {
    width: 100%;
    max-width: 1320px;
  }
  .slideshow {
    z-index: 0;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    max-width: 1350px;
  }
}

/* Medium Devices, Laptop, Desktop
------------------------------------------------- */
@media only screen and (min-width: 954px) and (max-width: 1020px) {
  .container {
    width: 100%;
    max-width: 1320px;
  }
}

@media screen and (max-width: 953px) {
  /* Body */
  body {
    font-size: 0.9em;
  }
  .header {
    padding: 0 15px;
  }
  .main-menu {
    display: none;
  }
  .fa-navicon:before,
  .fa-reorder:before,
  .fa-bars:before {
    color: #182a52;
  }
  .active-menu .main-menu {
    display: block;
  }
  .mobile-menu {
    display: block;
    float: right;
  }
  .menu-wrap {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    margin-right: 0;
    background: transparent;
    z-index: 100;
    transition: all 0.4s ease;
  }
  .active-menu .menu-wrap {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 90%;
    max-width: 320px;
    height: 100%;
    margin-right: 0;
    z-index: 100;
    transition: all 0.4s ease;
  }
  .active-menu .menu-wrap ul.main-menu {
    overflow-y: scroll;
    /* padding-top: 50px; */
  }
  .menu-wrap ul.main-menu > li {
    float: none;
    display: block;
    border-bottom: 1px solid #494949;
  }
  ul.main-menu > li a,
  ul.main-menu > li a:visited {
    color: #efefef;
    padding-top: 10px;
    padding-bottom: 10px;
    background: #182a52;
  }
  ul.main-menu > li a:hover,
  ul.main-menu > li a.is-active,
  .active-menu ul.main-menu a:hover,
  .active-menu ul.main-menu a.is-active {
    color: #182a52;
    background: #dfdfff;
  }
  .menu-wrap .dropdown-arrow {
    position: absolute;
    right: 10px;
  }
  .active-menu ul.main-menu ul.submenu {
    position: relative;
    display: block;
    top: 0;
    opacity: 1;
  }
  ul.main-menu ul.submenu::before,
  ul.main-menu ul.submenu::after {
    content: "";
    display: table;
    clear: both;
  }
  ul.main-menu ul.submenu li,
  ul.main-menu ul.submenu li:visited {
    position: relative;
    width: 100%;
    padding: 0 10px;
    background: #2b3d65;
  }
  ul.main-menu ul.submenu li a,
  ul.main-menu ul.submenu li a:hover {
    width: 100%;
    display: block;
    background: none;
  }
  ul.main-menu ul.submenu li a {
    border-bottom: 0;
  }
  .active-menu .close-mobile-menu {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0px;
    right: 16px;
  }
  h1 { font-size: 1.6em; }
  .slide-text { font-size: 1em; }
  /* Layout -> Page layout */
  .no-sidebar #main,
  .two-sidebar #main,
  .sidebar-left #main,
  .sidebar-right #main {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0 15px;
  }
  #main::before,
  #main::after {
    content: "";
    display: table;
    clear: both;
  }
  .sidebar,
  #sidebar-left,
  #sidebar-right {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  /* Node Content */
  .page-title-wrap {
    padding: 16px 0;
  }
  .page-title-wrap h1.page-title {
    font-size: 1.6em;
  }/*
  #node-comment .indented {
    margin-left: 20px;
  }*/
  /* Layout -> Footer */
  #footer {
    position: relative;
    z-index: 2;
  }
  .footer-bottom-middle {
    flex-direction: column;
  }
  .copyright {
    margin-bottom: 12px;
  }
  /* Content -> Form */
  .page-content input[type="text"],
  .page-content input[type="email"],
  .page-content input[type="password"],
  .page-content input[type="search"] {
    width: 100%;
    max-width: 100%;
  }
  input {
    max-width: 100%;
  }
}

@media (max-width: 820px) {
  .slider_caption {
    right: 15px;
    top: initial;
    bottom: 10px;
    padding: 10px 10px 2px;
  }
  .slide-text { display: none; }
  .slideshow .views-slideshow-controls-bottom {
    top: inherit;
    bottom: 10px;
  }
  .slideshow .views-slideshow-controls-bottom .views-slideshow-pager-bullets li {
    height: 25px;
  }
  .latest-news,
  .key-activities {
    text-align: center;
  }
  .news-article {
    max-width: 29.35%;
  }
  .key-activities header {
    text-align: justify;
  }
}

@media only screen and (min-width: 501px) and (max-width: 767px) {
  
  /* Sidebar */
  .sidebar,
  #sidebar-left,
  #sidebar-right,
  .two-sidebar #sidebar-left {
    float: left;
    width: 50%;
    height: 100%;
    margin: 0;
  }
  #sidebar-left {
    float: left;
    padding: 0 1% 0 0;
  }
  #sidebar-right {
    float: right;
    padding: 0 0 0 1%;
  }
  /* Footer */
  .footer-block {
    flex: 1 1 50%;
    width: 50%;
    max-width: 50%;
    margin-bottom: 1.6em;
  }
  .footer-block:nth-child(even) {
    padding: 0;
  }
  .footer-block {
    padding-right: 1.6em;
  }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
  body {
   /* -webkit-text-size-adjust: none; *//* none for no scaling */
  }
}

/* ipad pro, Small Devices, Tablets
------------------------------------------------- */
@media only screen and (min-width: 501px) and (max-width: 991px) {
  /*.slider_caption { top: 10%; }*/
}

@media (max-width: 500px) {
  
  /* Layout -> Header */
  .header-container {
    padding: 6px 0;
  }
  .align-left,
  img.align-left,
  figure.align-left,
  .align-right,
  img.align-right,
  figure.align-right,
  .align-center,
  img.align-center,
  figure.align-center {
    clear: both;
    margin: 0 auto;
    float: none;
  }
  .slide-title {
    font-size: 1.2em;
    font-weight: normal;
  }
  .int-sector {
    width: 50%;
    height: 200px;
    padding: 50px 20px;
  }
  .int-sector h5 {
    top: 0;
  }
  .slideshow .views-slideshow-controls-bottom .views-slideshow-pager-bullets li {
    height: 20px;
  }
  .partners,
  .latest-news,
  .page-news-updates #block-kristofah-content { text-align: center; }
  .news-article {
	max-width: 320px;
	margin: 25px auto;
  }
  .page-title-wrap h1.page-title {
	text-align: left;
  }
  .profile.staff,
  .profile.advisory,
  .profile.executive {
    max-width: 250px;
  }
  .the-downloads { column-count: unset; }
  /* Layout -> Sidebar */
  .sidebar,
  #sidebar-left,
  #sidebar-right,
  .two-sidebar #sidebar-left {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  /* Footer */
  .footer-blocks {
    flex-direction: column;
  }
  .footer-block {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin-bottom: 1.6em;
  }
}

@media (max-width: 414px) {
  /* layout -> Container */
  .container {
    width: 100%;
    max-width: 414px !important;
    padding: 0 16px;
  }
  .int-sector {
    padding-top: 10px;
    padding-left: 10px;
  }
  .int-sector h5 {
    margin-top: 0;
    font-size: 1.2em;
  }
  .news-article {
    max-width: 90%;
  }
}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation: landscape) {
  body {
   /* -webkit-text-size-adjust: none; *//* none for no scaling */
  }
}