/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 *                  OA SCOUTING DRUPAL THEME - STYLES
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */


/* Fixes bold fonts not working in Chrome */
* {-webkit-font-smoothing: antialiased;}

/* * * * * * * * * * * * * * *
 *     MAIN CSS VARIABLES
 * * * * * * * * * * * * * * */

:root {
  --oa-red: #E31837;
  --oa-white: #FFFFFF;
  --oa-grey: #36454F;
  --oa-black: #030006;
  --oa-dark-red: #640813;
  --oa-grey-2: #E6E7E8;
  --oa-blue: #005596;
  --oa-eastern: #191345;
  --thrive-purple: #683a89;
  --local-support: #c85103;
  --theme-main: var(--oa-red);
  --theme-contrast: var(--oa-white);
  --header-color: var(--theme-main);
  --header-contrast: var(--theme-contrast);
  --link-color: var(--theme-main);
  --link-hover: var(--oa-black);
  --museo-sans: 'museo-sans', 'Gill Sans', Helvetica, sans-serif;
  --museo-slab: 'museo-slab', 'Rockwell', Helvetica, sans-serif;
}

body.path-high-adventure,
body.page-node-type-high-adventure-page {
  --theme-main: #03733F;
  --theme-contrast: var(--oa-white);
  --header-color: var(--theme-main);
  --header-contrast: var(--theme-contrast);
  --btn-hover-bg: var(--oa-white);
  --btn-hover-txt: var(--theme-main);
  --link-color: var(--theme-main);
  --link-hover: #2ad376;
}

body.path-history,
body.page-node-type-history-page,
body.page-node-type-timeline-item,
nav#block-history,
div.view-taxonomy-term-history {
  --header-color: #C1AA82;
  --header-contrast: var(--oa-dark-red);
  --theme-main: var(--oa-dark-red);
  --link-color: var(--theme-main);
}

body.path-training,
body.page-node-type-training-page,
body.page-node-type-training-syllabi {
  --theme-main: var(--oa-blue);
  --theme-contrast: var(--oa-white);
  --header-color: var(--theme-main);
  --header-contrast: var(--theme-contrast);
  --btn-hover-bg: var(--oa-white);
  --btn-hover-txt: var(--theme-main);
  --link-color: var(--theme-main);
}

body.page-node-type-inductions-page,
body.page-node-type-jumpstart-page {
  --header-color: var(--oa-dark-red);
}

body.path-endowment,
body.page-node-type-endowment-page {
  --theme-main: var(--oa-grey);
  --header-color: var(--theme-main);
}

body.path-thrive,
body.page-node-type-thrive-page {
  --theme-main: var(--thrive-purple);
  --header-color: var(--theme-main);
}

body.path-local-support,
body.page-node-type-local-support-basic-page {
  --theme-main: var(--local-support);
  --header-color: var(--local-support);
}

/* Eastern Region Overrides */
body.path-eastern,
body.page-node-type-eastern-region-basic-page {
  --header-color: var(--oa-eastern);
  --header-contrast: var(--oa-white);
  --theme-main: var(--oa-eastern);
  --link-color: var(--theme-main);
  --link-hover: #615fab;
}

.maintenance-page main {
  background-color: var(--oa-white);
  color: var(--oa-black);
  text-align: center;
  height: 100vh;
}

/* End main CSS variables */

/* * * * * * * * * * * * * * *
 *          MESSAGES
 * * * * * * * * * * * * * * */

.messages {
    background: no-repeat 10px 17px;  /* LTR */
    border: 1px solid;
    border-width: 1px 1px 1px 0;  /* LTR */
    border-radius: 2px;
    padding: 15px 20px 15px 35px; /* LTR */
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin-bottom: 10px;
}
[dir="rtl"] .messages {
    border-width: 1px 0 1px 1px;
    background-position: right 10px top 17px;
    padding-left: 20px;
    padding-right: 35px;
    text-align: right;
}
.messages + .messages {
    margin-top: 1.538em;
}
.messages__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.messages__item + .messages__item {
    margin-top: 0.769em;
}
/* See .color-success in Seven's colors.css */
.messages--status {
    color: #325e1c;
    background-color: #f3faef;
    border-color: #c9e1bd #c9e1bd #c9e1bd transparent;  /* LTR */
    box-shadow: -8px 0 0 #77b259; /* LTR */
}
[dir="rtl"] .messages--status {
    border-color: #c9e1bd transparent #c9e1bd #c9e1bd;
    box-shadow: 8px 0 0 #77b259;
    margin-left: 0;
}
/* See .color-warning in Seven's colors.css */
.messages--warning {
    background-color: #fdf8ed;
    border-color: #f4daa6 #f4daa6 #f4daa6 transparent;  /* LTR */
    color: #734c00;
    box-shadow: -8px 0 0 #e09600; /* LTR */
}
[dir="rtl"] .messages--warning {
    border-color: #f4daa6 transparent #f4daa6 #f4daa6;
    box-shadow: 8px 0 0 #e09600;
}
/* See .color-error in Seven's colors.css */
.messages--error {
    background-color: #fcf4f2;
    color: #a51b00;
    border-color: #f9c9bf #f9c9bf #f9c9bf transparent;  /* LTR */
    box-shadow: -8px 0 0 #e62600; /* LTR */
}
[dir="rtl"] .messages--error {
    border-color: #f9c9bf transparent #f9c9bf #f9c9bf;
    box-shadow: 8px 0 0 #e62600;
}
.messages--error p.error {
    color: #a51b00;
}


/* * * * * * * * * * * * * * *
 *       HTML ELEMENTS
 * * * * * * * * * * * * * * */

html {
  font-size: initial;
}

body {
  padding-top: 0px;
  font-family: var(--museo-sans);
  font-size: 15px;
  letter-spacing: 0.03em;
  background: #F1F1F1;

}

body.toolbar-tray-open {
  padding-top: 79px !important;
}

p {
  margin: 10px 0 10px;
  font-size: 15px;
}

h1 {
  font-family: var(--museo-slab);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.02em;
}

h2 {
  font-family: var(--museo-slab);
  font-weight: normal;
  font-size: 24px;
  letter-spacing: 0.02em;
}

h3 {
  font-family: var(--museo-sans);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.02em;
}

h4 {
  font-family: var(--museo-sans);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.01em;
}

h4.label {
  color: var(--oa-black);;
}

h5 {
  font-family: var(--museo-sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  margin-top: 13px;
  margin-bottom: 10px;
}

h6 {
  font-family: var(--museo-sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
}

hr {
  border-top: 1px solid #aaa;
}

blockquote {
  margin-left: 15px;
  padding-left: 15px;
  font-size: inherit;
  padding-top: 2px;
  padding-bottom: 2px;
  border-left: 3px solid var(--theme-main);
  margin-bottom: 5px;
}

blockquote p:last-child {
    margin-bottom: 10px !important;
}

img, iframe {
  max-width: 100%;
}

.responsive-iframe {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
.responsive-iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.container-fluid.main-container {
  min-height: 50vh;
  padding-left: 30px;
  padding-right: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.container-fluid.html-subsite {
  padding: 0px;
}

/* Start hyperlink formatting */

a {
  color: var(--oa-blue);
  transition: all 0.25s;
}

a:hover {
  text-decoration: none;
  color: #231F20;
}

.main-container  a {
  color: var(--link-color);
  font-weight: bold;
}

.main-container a:hover {
  color: var(--link-hover)
}

.main-container .alert a,
.main-container .alert a:visited {
  color: var(--oa-black);
}

.main-container .alert a:hover {
  color: var(--oa-grey);
}

article a[href$=".pdf"]:not(.no-following-icon)::after {
  content: "\f1c1";
  margin-left: 5px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

article a[href$=".doc"]:not(.no-following-icon)::after,
article a[href$=".docx"]:not(.no-following-icon)::after {
  content: "\f1c2";
  margin-left: 5px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

article a[href$=".xls"]:not(.no-following-icon)::after,
article a[href$=".xlsx"]:not(.no-following-icon)::after {
  content: "\f1c3";
  margin-left: 5px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

article a[href$=".ppt"]:not(.no-following-icon)::after,
article a[href$=".pptx"]:not(.no-following-icon)::after {
  content: "\f1c4";
  margin-left: 5px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

article a[href$=".zip"]:not(.no-following-icon)::after {
  content: "\f1c6";
  margin-left: 5px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

/* End hyperlink formatting */


/* * * * * * * * * * * * * * *
 *      Pagination
 * * * * * * * * * * * * * * */

.pagination > li > a,
.pagination > li > a:visited,
.pagination > li > span {
  color: var(--oa-black);
  background-color: var(--oa-white);
}

.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > a:visited,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
  background-color: var(--theme-main);
  color: var(--theme-contrast);
  border-color: var(--theme-main);
}

/* * * * * * * * * * * * * * *
 *     BOOTSTRAP ELEMENTS
 * * * * * * * * * * * * * * */

/* Cards */

.card {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: var(--oa-white);
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
}

.card > hr {
  margin-right: 0;
  margin-left: 0;
}

.card > .list-group {
  border-top: inherit;
  border-bottom: inherit;
}

.card > .list-group:first-child {
  border-top-width: 0;
  border-top-left-radius: calc(0.25rem - 1px);
  border-top-right-radius: calc(0.25rem - 1px);
}

.card > .list-group:last-child {
  border-bottom-width: 0;
  border-bottom-right-radius: calc(0.25rem - 1px);
  border-bottom-left-radius: calc(0.25rem - 1px);
}

.card > .card-header + .list-group,
.card > .list-group + .card-footer {
  border-top: 0;
}

.card-body {
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  min-height: 1px;
  padding: 1.25rem;
}

.card-title {
  margin-bottom: 0.75rem;
}

.card-subtitle {
  margin-top: -0.375rem;
  margin-bottom: 0;
}

.card-text:last-child {
  margin-bottom: 0;
}

.card-link:hover {
  text-decoration: none;
}

.card-link + .card-link {
  margin-left: 1.25rem;
}

.card-header {
  padding: 0.75rem 1.25rem;
  margin-bottom: 0;
  background-color: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.card-header:first-child {
  border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}

.card-footer {
  padding: 0.75rem 1.25rem;
  background-color: rgba(0, 0, 0, 0.03);
  border-top: 1px solid rgba(0, 0, 0, 0.125);
}

.card-footer:last-child {
  border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px);
}

.card-header-tabs {
  margin-right: -0.625rem;
  margin-bottom: -0.75rem;
  margin-left: -0.625rem;
  border-bottom: 0;
}

.card-header-pills {
  margin-right: -0.625rem;
  margin-left: -0.625rem;
}

.card-img-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1.25rem;
  border-radius: calc(0.25rem - 1px);
}

.card-img,
.card-img-top,
.card-img-bottom {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 100%;
}

.card-img,
.card-img-top {
  border-top-left-radius: calc(0.25rem - 1px);
  border-top-right-radius: calc(0.25rem - 1px);
}

.card-img,
.card-img-bottom {
  border-bottom-right-radius: calc(0.25rem - 1px);
  border-bottom-left-radius: calc(0.25rem - 1px);
}

.card-deck .card {
  margin-bottom: 15px;
}

@media (min-width: 576px) {
  .card-deck {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    margin-right: -15px;
    margin-left: -15px;
  }
  .card-deck .card {
    -ms-flex: 1 0 0%;
    flex: 1 0 0%;
    margin-right: 15px;
    margin-bottom: 0;
    margin-left: 15px;
  }
}

.card-group > .card {
  margin-bottom: 15px;
}

@media (min-width: 576px) {
  .card-group {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
  }
  .card-group > .card {
    -ms-flex: 1 0 0%;
    flex: 1 0 0%;
    margin-bottom: 0;
  }
  .card-group > .card + .card {
    margin-left: 0;
    border-left: 0;
  }
  .card-group > .card:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
  .card-group > .card:not(:last-child) .card-img-top,
  .card-group > .card:not(:last-child) .card-header {
    border-top-right-radius: 0;
  }
  .card-group > .card:not(:last-child) .card-img-bottom,
  .card-group > .card:not(:last-child) .card-footer {
    border-bottom-right-radius: 0;
  }
  .card-group > .card:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
  .card-group > .card:not(:first-child) .card-img-top,
  .card-group > .card:not(:first-child) .card-header {
    border-top-left-radius: 0;
  }
  .card-group > .card:not(:first-child) .card-img-bottom,
  .card-group > .card:not(:first-child) .card-footer {
    border-bottom-left-radius: 0;
  }
}

.card-columns .card {
  margin-bottom: 0.75rem;
}

@media (min-width: 576px) {
  .card-columns {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    -webkit-column-gap: 1.25rem;
    -moz-column-gap: 1.25rem;
    column-gap: 1.25rem;
    orphans: 1;
    widows: 1;
  }
  .card-columns .card {
    display: inline-block;
    width: 100%;
  }
}

/* List Groups */

.list-group-flush {
  border-radius: 0;
}

.list-group-flush > .list-group-item {
  border-width: 0 0 1px;
}

.list-group-flush > .list-group-item:last-child {
  border-bottom-width: 0;
}


/* Margin & Padding Utilities */

.m-0 {
  margin: 0 !important;
}

.mt-0,
.my-0 {
  margin-top: 0 !important;
}

.mr-0,
.mx-0 {
  margin-right: 0 !important;
}

.mb-0,
.my-0 {
  margin-bottom: 0 !important;
}

.ml-0,
.mx-0 {
  margin-left: 0 !important;
}

.m-1 {
  margin: 0.25rem !important;
}

.mt-1,
.my-1 {
  margin-top: 0.25rem !important;
}

.mr-1,
.mx-1 {
  margin-right: 0.25rem !important;
}

.mb-1,
.my-1 {
  margin-bottom: 0.25rem !important;
}

.ml-1,
.mx-1 {
  margin-left: 0.25rem !important;
}

.m-2 {
  margin: 0.5rem !important;
}

.mt-2,
.my-2 {
  margin-top: 0.5rem !important;
}

.mr-2,
.mx-2 {
  margin-right: 0.5rem !important;
}

.mb-2,
.my-2 {
  margin-bottom: 0.5rem !important;
}

.ml-2,
.mx-2 {
  margin-left: 0.5rem !important;
}

.m-3 {
  margin: 1rem !important;
}

.mt-3,
.my-3 {
  margin-top: 1rem !important;
}

.mr-3,
.mx-3 {
  margin-right: 1rem !important;
}

.mb-3,
.my-3 {
  margin-bottom: 1rem !important;
}

.ml-3,
.mx-3 {
  margin-left: 1rem !important;
}

.m-4 {
  margin: 1.5rem !important;
}

.mt-4,
.my-4 {
  margin-top: 1.5rem !important;
}

.mr-4,
.mx-4 {
  margin-right: 1.5rem !important;
}

.mb-4,
.my-4 {
  margin-bottom: 1.5rem !important;
}

.ml-4,
.mx-4 {
  margin-left: 1.5rem !important;
}

.m-5 {
  margin: 3rem !important;
}

.mt-5,
.my-5 {
  margin-top: 3rem !important;
}

.mr-5,
.mx-5 {
  margin-right: 3rem !important;
}

.mb-5,
.my-5 {
  margin-bottom: 3rem !important;
}

.ml-5,
.mx-5 {
  margin-left: 3rem !important;
}

.p-0 {
  padding: 0 !important;
}

.pt-0,
.py-0 {
  padding-top: 0 !important;
}

.pr-0,
.px-0 {
  padding-right: 0 !important;
}

.pb-0,
.py-0 {
  padding-bottom: 0 !important;
}

.pl-0,
.px-0 {
  padding-left: 0 !important;
}

.p-1 {
  padding: 0.25rem !important;
}

.pt-1,
.py-1 {
  padding-top: 0.25rem !important;
}

.pr-1,
.px-1 {
  padding-right: 0.25rem !important;
}

.pb-1,
.py-1 {
  padding-bottom: 0.25rem !important;
}

.pl-1,
.px-1 {
  padding-left: 0.25rem !important;
}

.p-2 {
  padding: 0.5rem !important;
}

.pt-2,
.py-2 {
  padding-top: 0.5rem !important;
}

.pr-2,
.px-2 {
  padding-right: 0.5rem !important;
}

.pb-2,
.py-2 {
  padding-bottom: 0.5rem !important;
}

.pl-2,
.px-2 {
  padding-left: 0.5rem !important;
}

.p-3 {
  padding: 1rem !important;
}

.pt-3,
.py-3 {
  padding-top: 1rem !important;
}

.pr-3,
.px-3 {
  padding-right: 1rem !important;
}

.pb-3,
.py-3 {
  padding-bottom: 1rem !important;
}

.pl-3,
.px-3 {
  padding-left: 1rem !important;
}

.p-4 {
  padding: 1.5rem !important;
}

.pt-4,
.py-4 {
  padding-top: 1.5rem !important;
}

.pr-4,
.px-4 {
  padding-right: 1.5rem !important;
}

.pb-4,
.py-4 {
  padding-bottom: 1.5rem !important;
}

.pl-4,
.px-4 {
  padding-left: 1.5rem !important;
}

.p-5 {
  padding: 3rem !important;
}

.pt-5,
.py-5 {
  padding-top: 3rem !important;
}

.pr-5,
.px-5 {
  padding-right: 3rem !important;
}

.pb-5,
.py-5 {
  padding-bottom: 3rem !important;
}

.pl-5,
.px-5 {
  padding-left: 3rem !important;
}


/* * * * * * * * * * * * * * *
 *     BOOTSTRAP OVERRIDES
 * * * * * * * * * * * * * * */

.alert-primary {
  border-color: var(--oa-red);
  border-left-width: 8px;
  background-color: #fbfbfb;
}


.nav-pills>li.active>a, 
.nav-pills>li.active>a:focus, 
.nav-pills>li.active>a:hover {
  background-color: var(--oa-red);
}


/* * * * * * * * * * * * * * *
 *          NAVBAR
 * * * * * * * * * * * * * * */

.navbar {
  margin-top: 0px;
  margin-bottom: 0px;
  border: 0px;
  border-radius: 0px;
}


.navbar nav a {
  padding: 0px;
}

.dropdown-menu li {
  margin-top: 5px;
  margin-bottom: 5px;
  float: none;
}

a.has-child:after {
  content: " \25be";
}

.dropdown-menu > li > a,
.dropdown-menu > li > a:visited {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: 400;
  line-height: 1.42857143;
  color: #333;
  white-space: nowrap;
}

.navbar-default {
  color: var(--header-contrast);
  background-color: var(--header-color);
}

.navbar-default .navbar-nav > li > a {
  color: var(--header-contrast);
  font-weight: normal;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li:hover > a {
  background-color: #eeeeee;
  color: var(--theme-main);
}

.navbar-default .navbar-toggle .icon-bar {
  background-color: #eeeeee;
}

.navbar-header {
  color: var(--theme-contrast);
  padding: 10px 0px 0px 0px;
}

.navbar-default .navbar-toggle {
  border: 0px;
}

.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
  background-color: transparent;
  color: var(--oa-grey-2);
}

.navbar-toggle {
  /* (80px - button height 34px) / 2 = 23px */
  margin-top: 22px;
  margin-right: 10px;
  padding: 9px 10px;
  padding-bottom: 6px !important;
  margin-bottom: 9px;
}

.subnav-toggle {
	font-weight: bold;
	position: relative;
	float: none;
}

.subnav-toggle h3 {
  height: auto;
  padding: 0;
  margin: 0;
}

.navbar-subpage .navbar-nav > li > a:focus,
.navbar-subpage .navbar-nav > li:hover > a,
.subnav-toggle h3 {
  background-color: initial;
  color: var(--header-contrast);
  opacity: 0.8;
}

.navbar-subpage .navbar-container {
  padding-left: 30px;
  padding-right: 30px;
  max-width: 100%;
  margin: auto;
}

.navbar-subpage .navbar-header {
	text-align: center;
	padding: 0;
}

ul.navbar-center { width: 100%; text-align: center;}
.navbar-center li { display: inline-block; float: none; }
.navbar-center .dropdown-menu > li { display: block; }
.navbar-subpage .navbar-nav>li>a { line-height: auto; }

@media (max-width: 1680px) {
  .carousel {
    height: auto !important;
  }
}

@media (max-width: 767px) {
  .navbar-header {
    padding-top: 0px;
  }

  .navbar-default .navbar-nav > li:hover > a {
    background-color: var(--theme-main);
    color: var(--oa-white);
  }

  .navbar-default .navbar-nav .dropdown-menu > li a {
    color: var(--oa-white);
  }

  .navbar-default .navbar-nav .dropdown-menu > li a:hover {
    background-color: #eeeeee;
    color: var(--theme-main);
  }

  .navbar-default .navbar-nav .dropdown-menu > li a:hover {
    background-color: #eeeeee;
    color: var(--theme-main);
  }

  .navbar-brand {
    width: calc(100% - 60px) !important;
  }

  .navbar-toggle {
    margin-top: 12px;
    padding-left: 5px;
    padding-right: 5px;
  }

  .carousel {
    height: auto !important;
    max-height: 160px;
  }
}
@media screen and (max-width: 737px) {
  .carousel {
    height: auto !important;
  }
}
@media screen and (max-width: 732px) {
  .carousel {
    height: auto !important;
  }
}
@media screen and (max-width: 667px) {
  .carousel {
    height: auto !important;
  }
}
@media screen and (max-width: 640px) {
  .navbar-toggle {
    margin-top: 11px;
  }

  .carousel {
    height: auto !important;
  }
}
@media screen and (max-width: 568px) {
  .carousel {
    height: auto !important;
  }
}
@media screen and (max-width: 415px) {
  .navbar-toggle {
    margin-top: 10px;
  }

  .carousel {
    height: auto !important;
  }
}
@media screen and (max-width: 375px) {
  .navbar-toggle {
    margin-top: 8px;
  }

  .carousel {
    height: auto !important;
  }
}
@media screen and (max-width: 320px) {
  .carousel {
    height: auto !important;
  }
}

@media (min-width: 768px) and (max-width: 1270px) {
  .container-fluid.main-container {
    max-width: 90%;
  }
}

@media (min-width: 768px) {
  .navbar-brand {
    padding: 0px;
  }

  .navbar-default .navbar-nav > li > a {
    padding: 20px;
  }

  .dropdown .dropdown-menu {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;

    max-height: 0;
    display: none !important;
    overflow: hidden;
    opacity: 0;
    right: auto;
    left: auto;
  }

  .navbar-nav > li > .dropdown-menu {
    margin-top: -1px;
    margin-right: -1px;
  }

  .dropdown:hover .dropdown-menu {
    max-height: 300px;
    opacity: 1;
    display: block !important;
  }

  /* Inductions Portal */
  #induction-wrapper {
    margin: 0;
    width: 100%;
    display: inline-block;
  }

  #induction-desc {
    float: left;
    width: 50%;
    overflow: hidden;
    padding: 10px;
  }

  #induction-video-50 {
    float: left;
    width: 50%;
    overflow: hidden;
    padding: 10px;
    font-size: 12px;
  }
}

@media (max-width: 767px) {
  .navbar-default .navbar-nav > li {
    padding-bottom: 5px;
  }
  ul.navbar-center { text-align: initial;}
  .navbar-center li { display: block; }

  .navbar-default .navbar-nav > li > a {
    padding: 2px;
    border-radius: 4px;
    padding-left: 5px;
  }

  .dropdown .dropdown-menu {
    display: block;
  }

  .dropdown-menu li {
    margin-left: 15px;
  }

  .dropdown-menu > li > a {
    display: block;
    padding: 2px;
    border-radius: 4px;
    padding-left: 5px;
  }

  .dropdown-menu {
    position: relative;
    float: none;
    padding-top: 0px;
    padding-bottom: 0px;
    background-color: inherit;
    -webkit-background-clip: initial;
    background-clip: initial;
    border: none;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none
  }


  #featuredButtons.row {
    margin-right: -15px;
    margin-left: -15px;
  }

  aside { margin-top: 15px;}

}

@media (min-width: 768px) {
    .navbar-nav > li > a {
        /* (80px - line-height of 27px) / 2 = 26.5px */
        padding-top: 28px;
        padding-bottom: 28px;
        line-height: 27px;
    }
    .navbar-subpage .navbar-nav > li > a {
        /* (80px - line-height of 27px) / 2 = 26.5px */
        padding-top: 18px;
        padding-bottom: 18px;
        line-height: 14px;
    }
}

.navbar-brand {
  width: 100%;
  max-width: 350px;
  margin: 0px;
}

.navbar-brand img {
  width: 100%;
  max-width: 350px;
  height: auto;
}

.navbar-container {
  padding-left: 30px;
  padding-right: 30px;
  max-width: 1200px;
}

.secondary-nav-container {
  background-color: var(--oa-grey);
}

.secondary-nav-row {
  color: var(--oa-grey-2);
  margin: auto;
  width: 100%;
  padding-right: 0px;
  max-width: 1200px;
}

.secondary-nav {
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: right;
}

.secondary-nav-item {
  display: inline-block;
  padding-left: 15px;
  font-size: 90%;
  color: var(--oa-grey-2);
  transition: all 0.25s;
}

.secondary-nav-separator {
  padding-left: 15px;
}

div.secondary-nav:first-child {
  padding-left: 0px;
}

.secondary-nav-item a {
  color: var(--oa-grey-2) !important;
}

.secondary-nav-link {
  padding-top: 5px;
  padding-bottom: 5px;
}

.secondary-nav-link a {
  vertical-align: middle;
}

.secondary-nav-link i {
  font-size: 1.5em;
  vertical-align: -10%;
  padding-right: 3px;
}

.secondary-nav-link span {
  padding-left: 5px;
}

.secondary-nav-link a:hover {
  color: var(--theme-contrast);
  text-decoration: none;
}

.secondary-nav-socialmedia a {
  font-size: 26px;
  vertical-align: middle;
  color: inherit;
  transition: all 0.25s;
}

.secondary-nav-socialmedia a:hover {
  color: var(--theme-contrast);
}

.secondary-nav-socialmedia i {
  padding-left: 3px;
}

/* header-masthead */

header.masthead {
  background: center center no-repeat scroll;
  background-color: #868e96;
  background-attachment: scroll;
  position: relative;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

header.masthead .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #212529;
  opacity: 0.5;
}

header.masthead .page-heading,
header.masthead .post-heading,
header.masthead .site-heading {
  padding: 50px 0 45px;
  min-height: 200px;
  color: var(--oa-white);
}

@media only screen and (min-width: 768px) {
  header.masthead .page-heading,
  header.masthead .post-heading,
  header.masthead .site-heading {
    padding: 150px 0;
	min-height: 400px;
  }
}

header.masthead .page-heading,
header.masthead .site-heading {
  text-align: center;
}

header.masthead .page-heading h1,
header.masthead .site-heading h1 {
  font-size: 50px;
  margin-top: 0;
}

header.masthead .page-heading .subheading,
header.masthead .site-heading .subheading {
  font-size: 24px;
  font-weight: 300;
  line-height: 1.1;
  display: block;
  margin: 10px 0 0;
  font-family: var(--museo-sans);
}

@media only screen and (min-width: 768px) {
  header.masthead .page-heading h1,
  header.masthead .site-heading h1 {
    font-size: 80px;
  }
}

header.masthead .post-heading h1 {
  font-size: 35px;
}

header.masthead .post-heading .meta,
header.masthead .post-heading .subheading {
  line-height: 1.1;
  display: block;
}

header.masthead .post-heading .subheading {
  font-size: 24px;
  font-weight: 600;
  margin: 10px 0 30px;
  font-family: var(--museo-sans);
}

header.masthead .post-heading .meta {
  font-size: 20px;
  font-weight: 300;
  font-style: italic;
  font-family: var(--museo-slab);
}

header.masthead .post-heading .meta a {
  color: var(--oa-white);
}

@media only screen and (min-width: 768px) {
  header.masthead .post-heading h1 {
    font-size: 55px;
  }
  header.masthead .post-heading .subheading {
    font-size: 30px;
  }
}

/* end header-masthead */

/* Images */
.main-container img:not(.img-responsive) {
    padding: 10px;
}

#search {
  appearance: none;
  -webkit-appearance: none;
  border-radius: 5px;
  border: 1px solid var(--oa-grey-2);
  padding-left: 10px;
  color: var(--oa-black);;
}

#search-form .search-advanced #edit-lang-fieldset {
  display: none;
}

#block-oascouting-views-block-slideshow-main-slider .form-group,
#block-oascouting-views-block-subpage-banner-image-block-1 .form-group,
#block-oascouting-views-block-eastern-region-banner-image-block-1 .form-group {
  margin-bottom: 0px;
}

.carousel {
  width: 100%;
  max-width: 100%;
  height: auto !important;
  overflow: hidden;
  margin: 0 auto;
}

.carousel-control {
  background-image: none !important;
  width: 10%;
}

.carousel-control:hover {
  background-image: none;
}

.carousel-inner > .item > a > img,
.carousel-inner > .item > img,
.img-responsive,
.thumbnail a > img,
.thumbnail > img {
  width: 100%; /* Adds onto Bootstrap style to make main carousel image full width */
}

.user-login-form {
  border: 1px solid #e1e1e1;
  margin: 10px auto;
  padding: 10px;
  max-width: 33%;
}

@media screen and (max-width: 768px) {
  .user-login-form {
    max-width: 90%;
  }
}

/* * * * * * * * * * * * * * *
 *          BUTTONS
 * * * * * * * * * * * * * * */

.btn {
  margin-right: 5px;
  white-space: normal;
}

div .btn-default,
div .btn-primary,
div .btn-info {
  color: var(--theme-contrast);
  background-color: var(--theme-main);
  border-color: transparent;
}

div .btn-default:hover,
div .btn-primary:hover,
div .btn-info.hover,
div .btn-info:hover {
  color: var(--theme-main) !important;
  background-color: var(--theme-contrast) !important;
  border-color: calc(1 / 16em) solid var(--theme-main) !important;
}

div .btn-default.active,
div .btn-default:active,
.open > .dropdown-toggle.btn-default,
div .btn-primary.active,
div .btn-primary:active,
div .btn-info.active,
div .btn-info:active {
  color: var(--theme-main) !important;
  background-color: var(--theme-contrast) !important;
  border-color: var(--oa-black) !important;
}

div .btn-default.focus,
div .btn-default:focus,
div .btn-primary.focus,
div .btn-primary:focus,
div .btn-info.focus,
div .btn-info:focus {
  color: var(--theme-main) !important;
  background-color: var(--theme-contrast) !important;
  border-color: var(--oa-black) !important;
}

div .btn-default:visited,
div .btn-primary:visited,
div .btn-info:visited {
  color: var(--theme-contrast);
  background-color: var(--theme-main);
  border-color: transparent;
}

body .btn.btn-secondary {
    color: var(--oa-white);
    background-color: var(--oa-grey);
    border-color: var(--oa-grey);
}

body .btn.btn-secondary:hover {
    color: var(--oa-grey);
    background-color: var(--oa-grey-2);
    border-color: var(--oa-grey);
}

body .btn.btn-secondary:focus,
body .btn.btn-secondary.focus {
    color: var(--oa-grey);
    background-color: var(--oa-grey-2);
    border-color: var(--oa-grey);
    box-shadow: 0 0 0 0.2rem rgba(39, 49, 57, 0.5);
}

body .btn.btn-secondary.disabled,
body .btn.btn-secondary:disabled {
    color: var(--oa-white);
    background-color: var(--oa-grey);
    border-color: var(--oa-grey);
}

body .btn.btn-secondary:not(:disabled):not(.disabled):active,
body .btn.btn-secondary:not(:disabled):not(.disabled).active,
.show > .btn.btn-secondary.dropdown-toggle {
    color: var(--oa-grey);
    background-color: var(--oa-grey-2);
    border-color: var(--oa-grey);
}

body .btn.btn-secondary:not(:disabled):not(.disabled):active:focus,
.btn-secondary:not(:disabled):not(.disabled).active:focus,
.show > .btn.btn-secondary.dropdown-toggle:focus {
    background-color: var(--oa-grey-2);
    border-color: var(--oa-grey-2);
    box-shadow: 0 0 0 0.2rem rgba(39, 49, 57, 0.5);
}

body .btn.btn-outline-secondary {
    color: var(--oa-grey);
    border-color: var(--oa-grey);
}

body .btn.btn-outline-secondary:hover {
    color: var(--oa-grey);
    background-color: var(--oa-grey-2);
    border-color: var(--oa-grey);
}

body .btn.btn-outline-secondary:focus,
body .btn.btn-outline-secondary.focus {
    color: var(--oa-grey);
    background-color: var(--oa-grey-2);
    border-color: var(--oa-grey);
    box-shadow: 0 0 0 0.2rem rgba(39, 49, 57, 0.5);
}

body .btn.btn-outline-secondary.disabled,
body .btn.btn-outline-secondary:disabled {
    color: var(--oa-grey);
    background-color: transparent;
}

body .btn.btn-outline-secondary:not(:disabled):not(.disabled):active,
body .btn.btn-outline-secondary:not(:disabled):not(.disabled).active,
.show > .btn.btn-outline-secondary.dropdown-toggle {
    color: var(--oa-white);
    background-color: var(--oa-grey);
    border-color: var(--oa-grey);
}

body .btn.btn-outline-secondary:not(:disabled):not(.disabled):active:focus,
body .btn.btn-outline-secondary:not(:disabled):not(.disabled).active:focus,
.show > .btn.btn-outline-secondary.dropdown-toggle:focus {
    background-color: var(--oa-grey);
    border-color: var(--oa-grey);
    box-shadow: 0 0 0 0.2rem rgba(39, 49, 57, 0.5);
}

#featuredButtons {
  background: var(--theme-main);
  padding-top: 15px;
  padding-bottom: 15px;
}

#featuredButtons .btn-default {
  margin: 10px 0px;
  text-transform: uppercase;
  font-weight: bold;
  padding: 10px;
  font-size: 1.25em;
  border: 4px solid var(--theme-contrast);
  background: transparent;
  white-space: normal;
  text-align: center;
  border-radius: 0.25em;
}

#featuredButtons .btn-default:hover {
  background: var(--theme-contrast);
  border-color: var(--theme-contrast) !important;
  opacity: 0.9;
  color: var(--theme-main) !important;
  border-radius: 0.5em;
}

.oaha-connect a { color: #00542B; }
.oaha-connect a:hover { color: #40403F; }

.path-high-adventure #featuredButtons img{
	width: 100%;
}

.path-high-adventure #featuredButtons .btn-oaha {
  margin: 10px 0px;
  text-transform: uppercase;
  font-weight: bold;
  padding: 2px;
  font-size: 1.2em;
  border: 4px solid var(--oa-black);;
  background: transparent;
  white-space: normal;
  text-align: center;
}

.btn-oaha {
  color: var(--theme-main);
  background-color: var(--theme-contrast);
  border: 3px solid var(--theme-main);
  font-family: var(--museo-slab);
  font-weight: bold;
}

.btn-oaha:hover {
  color: var(--theme-contrast);
  background-color: var(--theme-main);
  border-color: var(--theme-main);
}

.btn-oaha-rev {
  color: var(--theme-contrast);
  background-color: var(--theme-main);
  border: 3px solid var(--theme-contrast);
  font-family: var(--museo-slab);
  font-weight: bold;
}

.btn-oaha-rev:hover {
  color: var(--theme-main);
  background-color: var(--theme-contrast);
  border-color: var(--theme-contrast);
}

.path-high-adventure #featuredButtons .btn-oaha-rev {
  margin: 10px 0px;
  text-transform: uppercase;
  font-weight: bold;
  padding: 2px;
  font-size: 1.2em;
  border: 4px solid var(--theme-contrast);
  background: var(--theme-main);
  white-space: normal;
  text-align: center;
}

.path-high-adventure #featuredButtons .btn-oaha-rev:hover {
  background: var(--theme-contrast);
  border-color: var(--theme-main);
  color: var(--theme-main);
}

.btn-oaha-sidebar {
    color: var(--theme-contrast) !important;
    background-color: var(--theme-main);
    font-family: var(--museo-slab);
    font-weight: bold;
}

.btn-oaha-sidebar:hover {
    color: var(--theme-main) !important;
    background-color: var(--theme-contrast);
    border-color: var(--theme-contrast);
}

.path-high-adventure #featuredButtons .btn-oaha-sidebar {
    margin: 10px 0px;
    text-transform: uppercase;
    font-weight: bold;
    padding: 2px;
    font-size: 1.2em;
    border: 4px solid var(--theme-contrast);
    background: var(--theme-main);
    white-space: normal;
    text-align: center;
}

.path-high-adventure #featuredButtons .btn-oaha-sidebar:hover {
    background: var(--theme-contrast);
    border-color: var(--theme-main);
    color: var(--theme-main);
}


.btn-training {
  color: var(--theme-main);
  background-color: var(--theme-contrast);
  border: 3px solid var(--theme-main);
  font-family: var(--museo-slab);
  font-weight: bold;
}

.btn-training:hover {
  color: var(--theme-contrast);
  background-color: var(--theme-main);
  border-color: var(--theme-main);
}

.btn-training-rev {
  color: var(--theme-main);
  background-color: var(--theme-contrast);
  border: 3px solid var(--theme-contrast);
  font-family: var(--museo-slab);
  font-weight: bold;
}

.btn-training-rev:hover {
  color: var(--theme-main);
  background-color: var(--theme-contrast);
  border-color: var(--theme-contrast);
}

.btn-traning-sidebar {
    color: var(--theme-contrast);
    background-color: var(--theme-main);
    font-family: var(--museo-slab);
    font-weight: bold;
}

.btn-training-sidebar:hover {
    color: var(--theme-main);
    background-color: var(--theme-contrast);
    border-color: var(--theme-contrast);
}

/* * * * * * * * * * * * * * *
 *  HOME PAGE NEWS ARTICLES
 * * * * * * * * * * * * * * */

.flex-container {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;

  -webkit-flex-flow: nowrap;
  flex-flow: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: row;

  background: var(--oa-white);
  border: 1px solid #ddd;
  border-radius: 4px;

  margin-bottom: 25px;
  flex-shrink: 0;
}

.flex-image { flex-shrink: 0; }

.path-frontpage .page-header {
  display: none;
}

.path-high-adventure .page-header {
  display: none;
}

body.page-node-type-html-subsite .page-header {
  display: none;
}

.page-header {
  margin: 20px auto 0px 0px;
}

.flex-image img {
  border-radius: 4px 0px 0px 4px;
  width: 140px;
  height: 140px;
  object-fit: cover;
  object-position: left;
  cursor: pointer;
}

.flex-image img:hover {
  transition: opacity 1s;
  opacity: 0.6;
}

.flex-preview {
  margin-left: 15px;
  margin-right: 15px;
  margin-top: 5px;
  margin-bottom: 5px;
}

.flex-content {
  height: 95px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
}

.flex-content h5 {
  margin-top: 10px;
  font-size: 1.2em;
}

.flex-content p {
  text-overflow: ellipsis;
  font-size: 14px;
}

.flex-data {
  margin-top: 15px;
  color: gray;
  font-size: 0.85em;
  align-self: flex-end;
}

.view-news .view-content,
.view-taxonomy-term .view-content {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
}

@media screen and (max-width: 500px) {
  .flex-container {
    flex-direction: column;

    width: 100%;
    max-width: 500px;
  }

  .flex-image img {
    border-radius: 4px 4px 0px 0px;
    max-width: 100%;
    width: 440px;
    height: auto;
    object-fit: cover;
    text-align: center;
  }

  .flex-data {
    margin-bottom: 5px;
  }
}

#recent-news .panel-heading {
  background: var(--oa-grey-2);
}

article .col-sm-4 {
  width: auto;
}

/* This controls the lists on the publications and forms pages */
ul.list-resources {
  padding-left: 8px;
}

ul.list-resources li {
  padding-bottom: 5px;
}

.panel-heading {
  color: #333;
  background-color: #f5f5f5;
  border-color: #ddd
}

.view-recent-updates .views-field-title,
.view-related-content .views-field-title {
  padding-bottom: 3px;
}

.view-related-content .list-group {
  margin-bottom: 0px;
}
.view-related-content .list-group-item {
  border-left: none;
  border-right: none;
}

.captcha {
  margin-top: 5px;
  margin-bottom: 15px;
}

/* * * * * * * * * * * * * * *
 *          SIDEBAR
 * * * * * * * * * * * * * * */

.sidebar .list-group-item:first-child {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

@media (min-width: 767px) {
  .sidebar h5 {
    line-height: 0px;
    padding-bottom: 0px !important;
    overflow: visible;
  }
}

.sidebar hr {
  margin-left: -31px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.sidebar-ul {
  margin-bottom: 0px;
}

.sidebar-ul > li {
  font-size: 1em;
  padding-bottom: 2px;
}

.sidebar-ul > li > a {
  color: var(--oa-black);;
  cursor: pointer;
  transition: all 0.25s;
}

.sidebar-ul > li > a:hover {
  color: var(--theme-main);
}

.sidebar-ul .fa-bug {
  font-size: 1.05em !important;
}

/* * * * * * * * * * * * * * *
 *      INSTAGRAM MODULE
 * * * * * * * * * * * * * * */

.instagram-feed {
  margin-bottom: 20px;
  background-color: var(--oa-white);
  border: 1px solid transparent;
  border-radius: 4px;
  -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
  box-shadow: 0 1px 1px rgba(0,0,0,.05);
  border-color: #ddd;
  display: flex;
  flex-direction: column-reverse;
}

.instagram-feed .instagram_profile,
.instagram-feed .instagram_gallery {
  overflow: hidden;
}

.instagram-feed .instagram_gallery {
  padding: 15px;
  padding-bottom: 0px;
}

.instagram-feed .instagram_profile {
    padding-bottom: 0.5em;
}
.instagram-feed .instagram_profile p {
  font-size: 0px;
  height: 14px;
  text-align: right;
}

.instagram-feed .instagram_profile p a::before {
  content: "\f16d";
  font: normal normal normal 14px/1 "Font Awesome 5 Brands";
  font-size: inherit;
  text-rendering: auto;
  font-size: 14px;
  color: #999;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin-right: 4px;
}

.instagram-feed .instagram_profile p a::after {
  font-size: 14px;
  color: #999;
  content: "oabsa";
  margin-right: 1em;
}

/* Known classes are instagram-image, instagram-video, instagram-sidebar */
.instagram-feed .instagram_gallery [class^="instagram-"] img {
  margin: 0.25% 0.25%;
  width: 32.833333333333336%;
  float: left;
}

.instagram-feed .instagram_profile .instagram_profile_image {
  display: none;
}

/* End Instagram */

ul.news-list {
  list-style: none;
  margin-left: -30px;
}

.news-title {
  font-weight: 600;
  padding: 0px;
  display: block;
}

.news-date {
  font-weight: 300;
  padding-left: 0px;
  display: block;
}

/* For the accordion on the Membership page */
#faq-accordion .panel-title {
    font-family: var(--museo-sans);
}


/* * * * * * * * * * * * * * *
 *          FOOTER
 * * * * * * * * * * * * * * */

.content-bottom {
  /* This hides a module area that creates white space at the right-hand side of the page. */
  margin-left: 0px;
  margin-right: 0px;
}

.footer {
  text-align: left;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--oa-white);
  padding-top: 25px;
  margin-top: 25px;
}

body.page-node-type-html-subsite .footer {
  margin-top: 0px;
}

.footer h4 {
  font-weight: 600;
  margin-top: 10px;
}

.footer-main {
  background: var(--oa-grey);
}

.footer-sub {
  padding-top: 25px;
  padding-bottom: 20px;
  text-align: center;
  background-color: #20292F;
  margin-top: -1px;
}

.footer-sub p {
  font-size: 13px !important;
}

.footer-sub a {
  color: var(--oa-white);
  transition: all 0.25s;
}

.footer-sub a:hover {
  color: #FC1B41 !important;
}

.footer-main > div.row {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-sub > div.row {
  max-width: 1200px;
  margin: 0 auto;
}

ul.footer-links {
  list-style: none;
}

ul.footer-links li {
  padding-bottom: 5px;
}

ul.footer-links li *:not(i),
ul.footer-links li a:visited {
  color: var(--oa-white);
  font-weight: normal;
  text-decoration: none;
  transition: all 0.25s;
}

ul.footer-links li i {
  color: var(--oa-white);
  text-decoration: none;
  transition: all 0.25s;
}

ul.footer-links li:hover *,
ul.footer-links li:hover a:visited {
  color: #FC1B41;
}

.footer-socialmedia {
  padding-left: 5px;
}

.footer-socialmedia i {
  padding-right: 5px;
  font-size: 30px;
  transition: all 0.25s;
  color: var(--oa-white);
}

.footer-socialmedia i:hover {
  color: #FC1B41;
}

.list-group > .list-group-item > .fa.fa-chevron-right {
  float: right;
}

.footer-main {
  background-image: url('/themes/oascouting-theme/images/bsa_action_folio.svg');
  background-repeat: no-repeat;
  background-position: bottom;
  background-attachment: scroll;
  background-size: cover;
  background-repeat: no-repeat;
}

@media screen and (max-width: 768px) {
  .footer-main {
    background-size: 768px;
    background-position: left bottom;
  }
}

/* iPhone 5 (portrait) */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 568px) {
  .secondary-nav-separator {
    padding-left: 10px;
  }

  .secondary-nav-item {
    padding-left: 10px;
  }
}

/* Responsive styling for reCAPTCHA */
@media screen and (max-height: 575px) {
  #rc-imageselect, .g-recaptcha {
    transform: scale(0.85);
    -webkit-transform: scale(0.85);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
  }
}

/* * * * * * * * * * * * * * *
 *         ACCORDION
 * * * * * * * * * * * * * * */

.accordion {
  width: 100%;
  height: 450px;
  overflow: hidden;
  margin: auto;
}

.accordion ul {
  width: 100%;
  display: table;
  table-layout: fixed;
  margin: 0;
  padding: 0;
}

.accordion ul li {
	display: table-cell;
	position: relative;
	margin 0;
	padding 0;
	width: 75px;
	max-width: 75px;
	height: 450px;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	text-decoration: none;
	color: var(--oa-white);
	cursor: pointer;
	background-color: rgba(0,0,0,0.5);
	background-blend-mode: color;
}
.accordion ul li div { width: 100%; height: 100%; }
.accordion ul li:hover { opacity: 0.6; }
.accordion h2 {
	font-weight: bold;
	transform: rotate(90deg);
	white-space: nowrap;
}
.accordion ul li div p, .accordion ul li div a { display: none; }
.accordion ul li.selected {
	width: 100%;
	cursor: initial;
}
.accordion ul li.selected, li.selected:hover { opacity: 1; }
.accordion ul li.selected div {
    padding: 20px;
}
.accordion ul li div h2.open {display: none;}
.accordion ul li div h2.closed {display: inherit;}
.accordion ul li.selected div h2.closed {display: none;}
.accordion ul li.selected div h2.open {display: inherit;}
.accordion ul li.selected div h2 {
	font-weight: bold;
	height: auto;
	width: auto;
	transform: none;
	margin-bottom: 10px;
}
.accordion ul li.selected div p, .accordion ul li.selected div a { display: block; }
.accordion ul li.selected a.btn {
	display: inline-block;
	margin: 5px;
	width: 40%;
}
.accordion ul li.selected div p img.accordionlogo {
	float: right;
	margin: 0 10px;
	width: 20%;
	max-width: 250px;
	min-width: 100px;
}
.oaha-white { filter: brightness(0) invert(1); }

@media (max-width: 813px) {
	.accordion, .accordion ul li { height: auto; }
    .accordion ul {
        width: 100%;
        display: block;
        table-layout: unset;
        margin: 0;
        padding: 0;
    }
    .accordion ul li {
        width: 100%;
        max-width: 100%;
        height:auto;
        display: block;
    }

	.accordion ul li div { width: 100%; height: 100%; }
	.accordion ul li:hover { opacity: 0.6; }
	.accordion h2.closed {display:none;}
	.accordion h2.open { display: inherit; }
	.accordion h2 {
		font-weight: bold;
		transform: none;
		white-space: normal;
	}
	.accordion ul li div p, .accordion ul li div a { display: none; }
	.accordion ul li.selected {
		width: 100%;
	}
	.accordion ul li.selected, li.selected:hover { opacity: 1; }
	.accordion ul li.selected div {
        padding: 20px;
    }
	.accordion ul li div {
        padding:10px 20px;
    }
	.accordion ul li.selected div h2.closed {display:none;}
	.accordion ul li.selected div h2.open {
		font-weight: bold;
		height: auto;
		width: auto;
		transform: none;
		margin-bottom: 10px;
	}
	.accordion ul li.selected div p, .accordion ul li.selected div a { display: block; }
	.accordion ul li.selected a.btn {
		display: inline-block;
		margin: 5px;
		width: 40%;
	}
	.accordion ul li.selected div p img.accordionlogo {
		float: right;
		margin: 0 10px;
		width: 20%;
		max-width: 250px;
		min-width: 100px;
	}
}
/* End Accordion */

.subbanner {z-index: 0; position: relative; width: auto; height: auto;}
.subbanner img { z-index:1; position: relative; width: auto; height: auto; object-fit: cover;}
.subbanner div {z-index:2; position: absolute; top: 0; height: 100%; width: 100%; background-color: rgba(0,0,0,0.5); color: var(--oa-white); object-fit: contain;}
.subbanner div h1 { text-align: center; position: absolute; width: 100%; top: 50%; font-size: xx-large;}


/* * * * * * * * * * * * * * *
 *         TRAINING
 * * * * * * * * * * * * * * */
.view-syllabi .form--inline .form-checkboxes {
    padding-bottom: 5px;
}

.view-syllabi .form--inline .checkbox label {
    padding: 5px 10px;
    border-radius: 4px;
    color: var(--theme-contrast);
    background: var(--theme-main);
    margin-bottom: 8px;
}

.view-syllabi .form--inline .checkbox label:hover {
	  color: var(--theme-contrast);
    background-color: #0065b3;
    border-color: transparent;
}

.view-syllabi .form--inline .checkbox label input[type="checkbox"] {
    margin-right: 5px;
}

@media (max-width: 768px) {
    .view-syllabi .form--inline .checkbox label {
        padding-left: 30px;
    }
}

.view-syllabi .form--inline>.form-item label {
    margin-right: 8px;
}

.view-syllabi .form--inline>.form-item input {
    margin-right: 5px;
}

.view-syllabi .view-content {
	margin-top: 20px;
}

.view-syllabi .views-field.views-field-title {
    display: inline-block;
}

.view-syllabi .views-field.views-field-field-session-type {
    display: inline-block;
    padding-left: 8px;
}

.label-training {
    background-color: var(--theme-main);
}

.blockquote-testimonial p {
    margin: 0px !important;
}

.file .file-link {
    margin-left: 6px;
    margin-right: 6px;
}

.views_slideshow_cycle_teaser_section { width: auto !important; height: auto !important; min-height: 10.5em !important; margin-bottom: 10px; }
.views_slideshow_cycle { width: auto !important; height: auto !important; }
.views_slideshow_slide { width: auto !important; height: auto !important; }


/* * * * * * * * * * * * * * *
 *          HISTORY
 * * * * * * * * * * * * * * */

body.page-node-type-history-page article>footer {
    display: none;
}

/**
  * History Timeline Styles
  */

.history-timeline .view-filters .form-item {
    margin-bottom: 10px;
}

.history-timeline .view-filters div#edit-actions {
    vertical-align: bottom;
    margin-bottom: 10px;
}

.history-timeline .tl-storyslider .tl-slider-container-mask {
    background-color: #F1F1F1;
}

.history-timeline .tl-text .tl-headline-date,
.history-timeline .tl-text h3.tl-headline-date {
    display: none;
}

.history-timeline .tl-timeaxis-minor {
  margin-left: 1rem;
}

.history-timeline .tl-slide-content {
    width: 100% !important;
}

.history-timeline .tl-slidenav-previous:hover .tl-slidenav-description,
.history-timeline .tl-slidenav-next:hover .tl-slidenav-description {
    display: none;
}

.history-timeline .tl-timemarker .tl-timemarker-content-container {
    background-color: var(--oa-grey);
    transition: all 0.2s;
}

.history-timeline .tl-timemarker:hover .tl-timemarker-content-container {
    background-color: var(--oa-black);;
    border-color: #CCC;
    box-shadow: none;
}

.history-timeline .tl-timemarker.tl-timemarker-active .tl-timemarker-content-container .tl-timemarker-content .tl-timemarker-text h2.tl-headline {
        color: var(--theme-contrast);
}

/**
  * History Directory Styles
  */

.view-history-directory .views-exposed-form .form-item {
    display: inline-block;
    margin-bottom: 8px;
}

.view-history-directory .views-exposed-form label {
    display: block;
}

.view-history-directory .views-exposed-form #edit-actions {
    width: 100%;
    max-width: 275px;
    vertical-align: bottom;
    margin-bottom: 8px;
}

.view-history-directory .views-exposed-form .btn {
    width: 100%;
}


/* * * * * * * * * * * * * * *
 *        PRINT STYLES
 * * * * * * * * * * * * * * */

@media print {
    nav.navbar,
    .footer-main {
        display: none;
    }

    body {
        background: var(--oa-white);
    }

    .split-ui .col-md-3 {
        display: none;
    }

    .split-ui .col-md-9 {
        width: 100%;
    }

    .tab-content>.tab-pane {
        display: block;
    }

    .panel-default {
        border-color: var(--oa-white);
    }

    .panel-default>.panel-heading {
        background-color: var(--oa-white);
        color: var(--oa-black);;
        border-color: var(--oa-white);
    }

    .panel-title {
        font-weight: bold;
        font-style: italic;
    }

    .panel-collapse.collapse {
        display: block !important;
    }

    .btn-primary {
        color: var(--oa-black);00;
        background-color: var(--oa-white);
        border: 1px solid var(--oa-black);;
    }

    .footer {
        padding-top: 0px;
    }

    .footer-sub {
        padding-top: 0px;
        color: var(--oa-black);;
        background-color: var(--oa-white);
    }
}

/* Adjust padding and width for the panel content area */
@media {
    /* Content area  */
    .panel-collapse .container {
        width: 100%;
        padding: 10px;
        overflow-wrap: break-word;
    }

    /* Make image responsive */
    .panel-collapse .container img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }
}

/* * * * * * * * * * * * * * *
 *     LANGUAGE OF THE OA
 * * * * * * * * * * * * * * */

.language-of-the-oa {
    margin-top: 5px;
}

.language-of-the-oa .view-header {
    padding-bottom: 15px;
}

.language-of-the-oa .views-exposed-form>.form--inline {
    background: #dddddd;
    border: 1px solid var(--oa-black);;
    margin-bottom: 10px;
    padding: 10px 15px 15px;
}

.language-of-the-oa .views-exposed-form label {
    display: block;
}

.language-of-the-oa .views-exposed-form>.form--inline>div.form-group {
  margin-bottom: 0px;
}

.language-of-the-oa .form-item-tid-op {
    display: none;
}

.language-of-the-oa #edit-actions {
    margin-top: 21px;
}

.language-of-the-oa .view-content {
    display: table;
}

.language-of-the-oa .views-row {
    display: table-row;
}

.language-of-the-oa .views-row .views-label {
    display: none;
    font-weight: bold;
    padding-bottom: 5px;
}

.language-of-the-oa .views-row:first-child .views-label {
    display: block;
}

.language-of-the-oa .italic .views-field-name {
    font-style: italic;
}

.language-of-the-oa .views-field {
    display: table-cell;
    padding: 10px 20px;
}

.language-of-the-oa p {
    margin: 0px;
}

@media (min-width: 768px) {
    .language-of-the-oa .views-row:nth-child(even) {
        background-color: #dddddd;
    }
}

@media (max-width: 767px) {
    .language-of-the-oa .views-exposed-form>.form--inline {
        margin-bottom: 15px;
        padding: 15px;
    }

    .language-of-the-oa .views-exposed-form>.form--inline>div.form-group:not(:first-child) {
        margin-top: 15px;
    }

    .language-of-the-oa .view-content,
    .language-of-the-oa .views-field {
        display: block;
    }

    .language-of-the-oa .views-row {
        display: block;
        border-bottom: 2px solid #aaaaaa;
        padding-bottom: 8px;
        margin-bottom: 8px;
    }

    .language-of-the-oa .views-row:last-child {
        border-bottom: 0px;
        margin-bottom: 0px;
    }

    .language-of-the-oa .views-row .views-label {
        display: block;
        font-weight: inherit !important;
    }

    .language-of-the-oa .views-row .views-label::after {
        content: ": ";
    }

    .language-of-the-oa .views-field .views-label,
    .language-of-the-oa .views-field .field-content,
    .language-of-the-oa .views-field .field-content p {
        display: inline !important;
    }

    .language-of-the-oa .views-field-name {
        padding-bottom: 0px !important;
    }

    .language-of-the-oa .views-field-name .views-label,
    .language-of-the-oa .views-field-field-category .views-label{
        display: none !important;
    }

    .language-of-the-oa .views-field-name .field-content {
        font-family: var(--museo-slab);
        font-size: 120%;
        font-weight: bold;
    }

    .language-of-the-oa .views-field-field-category .field-content {
        font-style: italic;
    }
}


/* * * * * * * * * * * * * * *
 *        SIDEBAR MENU
 * * * * * * * * * * * * * * */

.sidebar-nav {
    background: var(--oa-white);
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0px;
}

.sidebar-nav h5 {
    margin-top: 0px;
    color: #333;
    background-color: #f5f5f5;
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.sidebar-nav ul.nav {
    float: none !important;
    margin-right: 0px;
    padding: 20px;
    padding-top: 0px;
}

.sidebar-nav li {
    float: none;
}

.sidebar-nav li>a {
    border-radius: 4px;
    padding: 5px 10px;
}

.sidebar-nav .nav>li.active>a {
    background-color: #eee;
}

/* IE banner */
.unsupported-browser-banner {
  /* Browsers that don't support CSS variables won't load the var */
  --display: none;
  display: var(--display) !important;
}
/* END IE banner */


/* * * * * * * * * * * * * * *
 *       NEWS ARCHIVES
 * * * * * * * * * * * * * * */

.view-frontpage .news-card {
  margin-bottom: 20px;
}

body.path-news .news-content h1.page-header {
  display: none;
}

.news-display {
  display: flex;
  flex-wrap: wrap;
  flex-basis: 25%;
  padding: 0px 10px 15px;
}

body.path-news .news-display,
.page-node-type-inductions-page .news-display,
.news-display.news-three {
  flex-basis: 33%;
}

.news-display.news-one {
    flex-basis: 100%;
  }

.card-img img,
.card-img-top img,
.card-image img,
.card-image-top img {
  border-top-left-radius: calc(0.25rem - 1px);
  border-top-right-radius: calc(0.25rem - 1px);
}

.card-img a img:hover,
.card-image a img:hover {
  transition: opacity 1s;
  opacity: 0.6;
}

.card-body p:last-child {
  margin-bottom: 0px;
}

.news-display .card-footer {
  color: gray;
  font-size: 0.95em;
  align-self: flex-end;
  padding: 1.25rem;
  padding-bottom: 8px;
  border-radius: 0 0 calc(.5rem - 1px) calc(.5rem - 1px);
  width: 100%;
  background-color: inherit;
  border-top: 0px;
}

.news-display .card-footer div:not(:last-child) {
  margin-bottom: 4px;
}

.view-news-taxonomy-terms .view-content {
  padding: 10px 15px;
}

body.page-node-type-inductions-page .main-container.jumpstart {
  padding-left: 30px;
  max-width: 100%;
}

/* Media Queries */

@media (max-width: 991px) {
  .news-display,
  body.path-news .news-display,
  .page-node-type-inductions-page .news-display,
  .news-display.news-three {
    flex-basis: 50%;
  }
}

@media (max-width: 575px) {
  .news-display,
  body.path-news .news-display,
  .page-node-type-inductions-page .news-display,
  .news-display.news-three {
    flex-basis: 100%;
  }
}


/****************************************************
 * UCLS Resources
****************************************************/
.ucls-sidebar .ucls-sidebar-collections ul,
.ucls-sidebar .ucls-sidebar-categories ul {
  list-style: none;
  margin: 0px;
  padding: 0px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.ucls-sidebar .ucls-sidebar-collections ul li,
.ucls-sidebar .ucls-sidebar-categories ul li {
  padding: 0.25em;
  margin: 0.25em;
  background-color: var(--theme-main);
  color: var(--theme-contrast);
  border-radius: 0.25em;
  display: inline;
  font-size: 0.85em;
}

.ucls-sidebar .ucls-sidebar-supporting-documents ul {
  list-style: none;
  margin: 0px;
  margin-left: 0.25em;
  padding: 0px;
}

.ucls-sidebar .ucls-sidebar-supporting-documents span.icon {
  color: var(--oa-black);
}

.ucls-resources-search .form-item {
  margin-bottom: 0.5em;
}

.ucls-resources-search button.form-submit {
  margin-top: 0.5em;
}

.ucls-resources-search form.views-exposed-form {
  padding-bottom: 1em;
}

.ucls-resources-search .form-type-checkbox {
  background-color: var(--theme-main);
  color: var(--theme-contrast);
  border-radius: 0.25em;
  padding: 0.25em;
  padding-left: 0.5em;
  padding-right: 0.5em;
  margin: 0.25em;
}

.ucls-resources-search input[type="checkbox"] {
  margin-right: 0.25em;
  background-color: var(--theme-contrast);
}

.ucls-resources-search .views-exposed-form .form-inline {
  display: flex;
  flex-direction: column;
}

.ucls-resources-search .views-exposed-form .form-type-textfield {
  display: flex;
  flex-direction: column;
}

.ucls-resources-search .list-group {
  margin-bottom: 0;
}

.ucls-resources-search .list-group-item {
  padding: 0;
}

.ucls-resources-search .view-content {
  background-color: var(--oa-white);
  border: calc(1em / 16) solid var(--oa-grey-2);
  border-radius: 0.25em;
}

.ucls-resources-search .view-content .views-row:not(:last-child) {
  border-bottom: calc(1em / 16) solid var(--oa-grey-2);
}

.ucls-resources-search .view-content .ucls-resource-card {
  padding: 1em;
}

.ucls-resources-search .view-content .ucls-resource-card a,
.ucls-resources-search .view-content .ucls-resource-card a:visited,
.ucls-resources-search .view-content .ucls-resource-card a:focus,
.ucls-resources-search .view-content .ucls-resource-card a:hover {
  color: var(--oa-black);
  font-weight: normal;
}

.ucls-resources-search .view-content .ucls-resource-card:hover {
  background-color: var(--oa-grey-2);

}

.ucls-resources-search .view-content .ucls-resource-card:hover .title,
.ucls-resources-search .view-content .ucls-resource-card:hover .body {
  color: var(--theme-main);
}

.ucls-resources-search .view-content .ucls-resource-card a:focus,
.ucls-resources-search .view-content .ucls-resource-card div:focus {
  text-decoration: none;
  outline: none;
}

.ucls-resources-search .view-content .ucls-resource-card .title-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}

.ucls-resources-search .view-content .ucls-resource-card .title {
  padding-right: 1em;
  font-weight: bold;
}

.ucls-resources-search .view-content .ucls-resource-card .collection ul,
.ucls-resources-search .view-content .ucls-resource-card .category ul {
  list-style: none;
  margin: 0em;
  padding: 0em;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.ucls-resources-search .view-content .ucls-resource-card .collection li,
.ucls-resources-search .view-content .ucls-resource-card .category li {
  display: inline;
  padding: 0.25em;
  margin: 0.25em;
  border-radius: 0.25em;
  background-color: var(--theme-main);
  color: var(--theme-contrast);
  font-weight: bold;
  font-size: 0.75em;
}

.ucls-resources-search .view-content .ucls-resource-card .body p:last-child {
  margin-bottom: 0em;
}

.li-style-none ul,
ul.li-style-none {
  padding-left: 5px;
}

.li-style-none li {
  padding-left: 0px;
  list-style: none;
}

/* * * * * * * * * * * * * * *
 *      VOLUNTEER BOARD
 * * * * * * * * * * * * * * */

.volunteer-position-meta .committee-info {
    padding: 0.25em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    border-radius: 0.25em;
    margin-left: 0.5em;
    margin-bottom: 0.25em;
    background-color: var(--board-committee-primary-color);
    color: var(--board-committee-secondary-color);
    text-align: center;
}

.volunteer-position-meta .meta-details {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .volunteer-position-meta .meta-details {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
}

.volunteer-position-meta .meta-details > div:not(:last-child) {
  margin-right: 1em;
}

.volunteer-board-list-view .card {
  margin-top: 1em;
  transition: all 0.5s ease-in-out;
}

.volunteer-board-list-view .card:hover {
  background-color: var(--board-committee-primary-color);
}

.volunteer-board-list-view .card:hover .card-body {
    color: var(--board-committee-secondary-color);
}

.volunteer-board-list-view .card a:focus {
    text-decoration: none;
}

.volunteer-board-list-view .card-body {
    color: var(--oa-black);
}

.volunteer-board-list-view .card-body .header {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.volunteer-board-list-view .card-body hr {
  margin-top: 5px;
  margin-bottom: 5px;
}

.volunteer-board-list-view .card-body {
    font-weight: normal;
}

.volunteer-board-list-view .card-body .header .title {
  font-family: "museo-slab", "Rockwell", Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.volunteer-board-list-view .card .tag {
    padding: 0.25em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    border-radius: 0.25em;
    margin-left: 0.5em;
    margin-bottom: 0.25em;
    background-color: var(--board-committee-primary-color);
    color: var(--board-committee-secondary-color);
}

.volunteer-board-list-view .card .tag i {
    font-size: 85%;
}

#views-exposed-form-volunteer-board-positions-volunteer-board-position-block div.form-inline {
  display: flex;
  flex-direction: column;
}

.volunteer-board-list-view .form--inline .form-checkboxes {
    padding-bottom: 5px;
}

.volunteer-board-list-view .form--inline .checkbox label {
    padding: 5px 10px;
    border-radius: 4px;
    color: var(--oa-grey);
    background: var(--oa-white);
    margin-bottom: 8px;
    border: 1px solid var(--oa-grey);
}

.volunteer-board-list-view .form--inline .checkbox label:hover {
	  color: var(--oa-grey);
    background-color: var(--oa-grey-2);
    border-color: var(--oa-grey);
}

.volunteer-board-list-view .form--inline .checkbox label input[type="checkbox"] {
    margin-right: 5px;
}

@media (max-width: 768px) {
    .volunteer-board-list-view .form--inline .checkbox label {
        padding-left: 30px;
    }
}

.volunteer-board-list-view .form--inline>.form-item label {
    margin-right: 8px;
}

.volunteer-board-list-view .form--inline>.form-item input {
    margin-right: 5px;
}

/* * * * * * * * * * * * * * *
 *          THRIVE
 * * * * * * * * * * * * * * */

.thrive-leadership {
  display: flex;
  flex-wrap: wrap;
}

.thrive-leadership .thrive-leader img {
  border-radius: 1em;
}

.thrive-leadership .thrive-leader {
  flex-basis: 25%;
}

@media (max-width: 769px) {
  .thrive-leadership .thrive-leader {
    flex-basis: 100%;
  }
}

@media (max-width: 992px) {
  .thrive-leadership .thrive-leader {
    flex-basis: 50%;
  }
}

/* * * * * * * * * * * * * * *
 *    DYNAMIC CONTACT FORM
 * * * * * * * * * * * * * * */

/* Hide the category field and its label if it is within a block */
[data-category] [name="category"],
[data-category] .form-item[data-key="category"],
[data-category] .form-item[data-key="category"] label,
[data-category] .webform-component[data-key="category"] label,
[data-category] .form-item[data-key="category"] > label,
[data-category] .form-item[data-key="category"] label {
  display: none !important; /* Hide the field and its label */
}

/* Ensure any parent containers do not show them */
[data-category] .webform-component[data-key="category"],
[data-category] .webform-component[data-key="category"] label {
  display: none !important; /* Hide component and its label */
}

/* More specific targeting */
[data-category] .form-item[data-key="category"] {
  display: none !important; /* Hide the entire form item */
}

/* Hide the faqs message field */
[data-category] .webform-message[data-drupal-selector="edit-faqs"] {
  display: none !important; /* Hide the message field */
}

/* Adjust margin of the first visible field if needed */
[data-category] .webform-component:first-child {
  margin-top: 0 !important; /* Remove top margin on first item */
}

/* Reset margin and padding for the webform submission form */
[data-category] .webform-submission-form {
  margin: 0; /* Remove any external margins */
  padding: 0; /* Remove any internal padding */
}

/* Reset margins/padding for all form items */
[data-category] .webform-submission-form .form-item {
  margin-top: 0; /* Remove margin from all form items */
  padding: 0; /* Remove padding from all form items */
}