/* Screen widger than container
------------------------------------------------- */
@media screen and (min-width: 1170px) {
  .container {
    width: 100%;
    max-width: 1170px;
  }
}
/* Medium Devices, Laptop, Desktop
------------------------------------------------- */
@media only screen and (min-width: 992px) and (max-width: 1170px) {
  .container {
    width: 100%;
    max-width: 1170px;
  }
  /* .slide-text { display: none; } */
}
@media only screen and (min-device-width: 769px) 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: 769px) and (max-width: 991px) {
  .container {
    width: 100%;
    max-width: 991px;
  }
}
@media screen and (max-width: 980px) {
  /* .site-branding img { max-height: 50px; } */

  #sidebar-right { width: 30%; }
  .sidebar-right #main { width: 70%; }/*
  .sidebar-right #main img.image-field,
  .sidebar-right #main .field--type-image,
  .sidebar-right #main .field--type-video-embed-field {
    margin-right: 0;
  }*/

  .main-menu { display: none; }
  .active-menu .main-menu {
    display: block;
  }
  .mobile-menu {
    display: block;
    float: right;
  }
  .mobile-menu .fa:before {
    color: #339f32;
  }/*
  .menu-wrap {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    margin-left: -1000px;
    background: transparent;
    z-index: 100;
    transition: all 0.4s ease;
  }*/
  .active-menu .menu-wrap {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 10px;
    left: auto;
    width: 90%;
    max-width: 320px;
    height: 100%;
    margin-left: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 100;
	overflow-y: scroll;
    transition: all 0.4s ease;
  }
  .search-box,
  .active-menu .menu-wrap ul.main-menu {
    overflow-y: scroll;
  }
  .active-menu .menu-wrap ul.main-menu > li {
    display: block;
    float: none;
  }
  /* .active-menu ul.main-menu li:hover a, */
  .active-menu ul.main-menu li a.is-active,
  /* .active-menu ul.main-menu ul.submenu li:hover, */
  .active-menu ul.main-menu ul.submenu li.active {
	opacity: .6;
    background: #f4fef4;
  }
  .active-menu ul.main-menu li a.is-active,
  .active-menu ul.main-menu ul.submenu li.active a {
    color: #339f32;
  }
  .active-menu ul.main-menu ul.submenu li.active a {
    opacity: 1;
  }
  .active-menu .menu-wrap ul.main-menu a {
    padding-top: 10px;
    padding-bottom: 10px;
    color: #fff;
  }
  .active-menu .menu-wrap .dropdown-arrow {
    position: absolute;
    right: 10px;
  }
  .active-menu ul.main-menu ul.submenu {
    top: 0;
    opacity: 0.75;
    display: block;
    position: relative;
	background: rgba(60, 60, 60, 0.6);
  }
  .active-menu ul.main-menu ul.submenu::before,
  .active-menu ul.main-menu ul.submenu::after {
    content: "";
    display: table;
    clear: both;
  }
  .active-menu ul.main-menu ul.submenu li {
    position: relative;
    width: 100%;
    padding: 0 10px;
    background: none;
    /* text-align: right; */
  }
  .active-menu ul.main-menu ul.submenu li a {
    display: block;
    width: 100%;
  }
  .active-menu ul.main-menu ul,
  .active-menu ul.main-menu li a {
    border-bottom: 1px solid #434343;
  }
  .active-menu ul.main-menu ul.submenu li {
    border-top: 1px solid #434343;
  }
  .active-menu ul.main-menu ul.submenu li:first-child {
	border-top: 0;
  }
  .active-menu ul.main-menu ul.submenu li a {
	border-bottom: 0;
    padding-left: 10px;
	padding-right: 10px;
  }
  .active-menu .close-mobile-menu {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 10px;
    right: 5px;
  }
  .slider_caption,
  .slideshow .views-slideshow-controls-bottom  {
    top: auto;
    bottom: 25px;
  }
  .slide-text { display: none; }
  .exec-message .the-message { top: -10%; }
}
@media screen and (max-width: 768px) {
  /* Body */
  body {
    font-size: 0.9em;
  }
  .search-icon {
    padding: 10px 0 10px 10px;
  }
  .search-box-content {
    top: 30%;
    width: 90%;
  }
  /* Breadcrumb *//*
  #breadcrumb {
    padding: 6px 0;
  }
  .breadcrumb {
    font-size: 0.8em;
  }
  .breadcrumb-item-seperator {
    margin: 0 6px;
  }*/
  /* Layout -> Page layout *//* Sidebar */
  .sidebar,
  #sidebar-left,
  #sidebar-right,
  .no-sidebar #main,
  .two-sidebar #main,
  .sidebar-left #main,
  .sidebar-right #main,
  .two-sidebar #sidebar-left {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  #main::before,
  #main::after {
    content: "";
    display: table;
    clear: both;
  }
  #sidebar-left {
    padding-top: 30px;
  }
  aside.sidebar-left {
    border-top: 2px solid #9e329f;
  }
  /* 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%;
  }
  /* Homepage */
  .focus-pillars .the-updates {
    display: block;
	text-align: center;
  }
  .focus-pillar {
    width: 46%;
	float: none;
	min-height: 221.5px;
	position: relative;
	padding-bottom: 10px;
	vertical-align: top;
    display: inline-block;
  }

  .exec-message .the-message,
  .exec-message img.image-field {
    width: auto;
  }
  .exec-message img.image-field {
    margin-right: auto;
    margin-left: auto;
    display: block;
  }
  .exec-message .the-message {
    top: auto;
	/* opacity: 0.8; */
	position: relative;
	margin-top: -45px;
  }
  .field--type-image,
  .field--type-video-embed-field {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
	width: 100%;
  }
}
@media only screen and (min-width: 501px) and (max-width: 768px) {
  /* Sidebar *//*
  .sidebar,
  #sidebar-left,
  #sidebar-right,
  .two-sidebar #sidebar-left {
    float: left;
    width: 100%;
    height: 100%;
    margin: 0;
  }
  #sidebar-left {
    float: left;
    padding: 0 1% 0 0;
  }
  #sidebar-right {
    float: right;
    padding: 0 0 0 1%;
  }*/
  /* Footer */
  .new-download {
    flex: 1 1 50%;
    width: 50%;
    max-width: 50%;
    margin-bottom: 1.6em;
  }
  .new-download:nth-child(even) {
    padding: 0;
  }
  .new-download {
    padding-right: 1.6em;
  }
}
@media screen and (max-width: 640px) {
  /* Layout -> Header -> Header top */
  .header-top-container {
    flex-direction: column;
  }
  .header-top-left {
    margin-bottom: 6px;
  }

  .news-article,
  .embedded-video {
    max-width: 46%;
  }

  .embedded-video {
    padding-bottom: 28.6%;
  }

  .the-photos,
  .publications {
    text-align: center;
  }
  .publications .download {
    margin-left: 3%;
    margin-right: 3%;
  }
}
@media (max-width: 500px) {
  /* Layout -> Header */
  .header-container {
    padding: 6px 0;
  }
  .search-box-content input[type="search"] {
    padding: 15px;
  }
  .search-box-content input[type="submit"] {
    padding: 15px 20px 10px;
  }

  .slider_caption {
    top: 0;
	bottom: 0;
  }
  .slideshow .views-slideshow-controls-bottom .views-slideshow-pager-bullets li {
    width: 15px;
    height: 15px;
  }

  .field--type-image,
  .field--type-video-embed-field {
    width: 100%;
    text-align: center;
	margin-right: initial;
  }

  .page-node-5 #content-bottom { margin-top: -30px; }

  .half { width: 100%; }
  .objectives:last-child,
  .objectives:first-child {
    padding: 1em 0 0;
	border: 0;
  }

  .page-node-47 .the-updates {
    text-align: center;
  }

  .team-profile.board {
    max-width: 42%;
  }

  .team-profile.staff {
    max-width: 38%;
  }

  .news-article,
  .embedded-video {
    max-width: 45%;
  }
  /* Footer */
  .new-downloads {
    flex-direction: column;
  }
  .new-download {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin-bottom: 1.6em;
  }
}
@media (max-width: 430px) {
  /* layout -> Container */
  .container {
    width: 100%;
    max-width: 414px !important;
    padding: 0 6px;
  }

  .header-top-left {
    margin-bottom: initial;
  }

  .header-top li {
    width: 100%;
	text-align: center;
	display: table-row;
	margin-bottom: initial;
  }

  .header-top .contab {
    display: none;
  }

  .focus-pillar,
  .news-article,
  .embedded-video  {
    width: 95%;
	max-width: 95%;
  }

  .embedded-video {
    padding-bottom: 48.67%;
  }
}
@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 */
  }
}
