:root {
  --sma-body: #111;
  --sma-title: #006;
  --sma-menu: #2d00a8;
  --sma-menu-hover: #1f0075;
  --sma-white: #ffffff;
  --sma-blue: #e3eefc;
  --sma-yellow: #ffca00;
  --sma-red: rgb(196, 2, 2);
  --sma-dark-red: rgb(141, 7, 7);
}

html {
  width: 100vw;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 18px;
  
}

* {
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}
.layout-container {
  background-color: #fff;
}

body{
  padding: 0;
  margin: 0;
  font-size: 1em;
  font-family: 'Arial', sans-serif;
  font-weight: normal;
  font-style: normal;
  overflow: hidden;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100vw;
  min-height: 100vh;
  color: var(--sma-body);
  line-height: 1.6;
  hyphens: none;
}
main {
  display: block;
  margin: 2vw 10vw;
  /* max-width: 1000px; */
}
select {
  height: 40px;
  box-sizing: border-box;
}
input:not(.form-radio):not(.form-checkbox) {
  height: 40px;
  padding: 8px;
  box-sizing: border-box;
}
:focus:not(.select2-search__field):not(.ui-dialog):not(.cookiesjsr-btn):not(.cookiesjsr-service-group--tab),
.js .dropbutton li:focus,
.js .dropbutton a:focus,
.dropbutton-toggle button:focus,
.swal2-popup .swal2-styled:focus,
.ui-dialog .select2 .selection:focus-within,
.layout-container .select2-container--lift8 .selection:focus-within {
  outline: 2px solid var(--sma-red)!important;
  outline-offset: 2px!important;
  box-shadow: none!important;
}
form#user-login-form {
  margin: 2em auto;
  text-align: center;
  width: 100%;
  max-width: 500px;
  display: block;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background: var(--sma-blue);
  padding: 1em;
}

form#user-login-form input {
  height: 30px;
  width: 100%;
  text-align: center;
  padding: 3px 10px;
  margin-bottom: 10px;
  display: block;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  
}
form#user-login-form label {
  font-size: 1rem;
  color: var(--abbey-green);
  display: block;
  margin-bottom: 10px;
  max-width: initial;
  width: initial;
  
}
form#user-login-form input#edit-submit {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 0.5em 1em 1.8em;
  margin: 0;
}
.red-bgrd-white-text {
  background-color: rgb(146, 8, 8);
  color: white;
  padding: 5px;
}
.red-bgrd-white-text a {
  color: white;
  text-decoration: underline;
}
.red-bgrd-white-text a:hover {
  color: rgb(226, 226, 226);
}
/* ul.menu {
  margin-left: 0em;
  padding: 0;
  list-style: none outside;
  text-align: left;
  display: flex;
  column-gap: 20px;
  margin: 5px 0 0;
}

ul.menu a, ul.menu span {
  font-weight: 700;
  color: var(--sma-menu);
  margin-right: 0.5rem;
  text-decoration: none;
}
ul.menu a:hover, ul.menu span:hover {
  color: var(--sma-menu-hover);
}
ul.menu li {
  font-size: 1.1em;
} */

.view-job-postings tr {
  border-bottom: 1px solid #aaa;
}
.view-job-postings td {
  background-color: #fff;
}
.view-job-postings .views-exposed-form {
  background-color: var(--sma-blue);
  padding: 0 1em;
}
.view-job-postings .form--inline .form-actions {
  clear: none;
}
.view-job-postings table tr td:last-child a {
  font-weight: normal;
  margin-right: 1em;
}
.view-job-postings .view-footer {
  margin-top: 1em;
}

.form--inline .form-item {
  margin-right: 1em;
}
.form-item label:not(.option) {
  max-width: 200px;
  min-width: 200px;
  width: 200px;
  display: block;
}
[class*="form-item-field-address"] label.visually-hidden {
  position: relative!important;
}
[class*="form-item-field-address"] label {
  position: relative!important;
}
.address-container-inline > .form-item {
  display: block;
}
.price-buttons .button {
  background-color: var(--sma-menu);
  color: #fff;
  padding: 0.5em 1em;
  transition: all 0.3s;
  margin-left: 0;
  border-left: 5px solid var(--sma-yellow);
  display: inline-block;
  width: fit-content;
  margin-bottom: 1em;
  font-weight: bold;
}
.price-buttons .button.cancel {
  background-color: var(--sma-red);
}
.price-buttons .button:hover {
  background-color: var(--sma-menu-hover);
  text-decoration: none;
  color: #fff;
}
.price-buttons .button.cancel:hover {
  background-color: var(--sma-dark-red);
}
.price-buttons {
  display: flex;
  flex-direction: column;
}
.application-form img {
  height: initial;
  width: initial;
}

.view-products.view-display-id-block_1 .archived-yes td {
  background-color: #999;
}

/*---- webform blueform start -----*/

form.webform-submission-advertise-a-vacancy-form input {
  clear: both;
  display: block;
}

form.webform-submission-advertise-a-vacancy-form label {
  font-weight: bold;
}


/*---- webform blueform start -----*/

form#webform-submission-blueform-add-form h4 {
  font-size: 1.2rem;
}

form#webform-submission-blueform-add-form {
  padding: 40px;
  background: var(--sma-blue);
  max-width: 900px;
}
.form-item-email- label,
.form-item-mobile- label,
.form-item-landline-optional- label,
.form-item-spotlight-contact-or-other-web-link-optional- label,
.form-item-other-position-please-specify label,
.form-item-type-of-engagement-location-preferred-optional- label,
.form-item-other-skills-optional- label,
.form-item-languages-other-than-english-optional- label,
.form-item-name-of-show- label,
.form-item-your-position- label,
.form-item-key-details- label,
.form-item-name-of-show-2 label,
.form-item-your-position-2 label,
.form-item-key-details-2 label,
.form-item-name-of-show-3 label,
.form-item-your-position-3 label,
.form-item-key-details-3 label,
.form-item-start-date- label,
.form-item-start-date-2 label,
.form-item-start-date-3 label,
.form-item-start-date-4 label,
.form-item-end-date-optional- label,
.form-item-end-date- label,
.form-item-end-date-3 label,
.form-item-available-to-optional- label{
  font-weight: bold;
}


.application-form-form input:not(.form-radio),
.application-form-form select,
input#edit-email-,
input#edit-mobile-,
input#edit-landline-optional-,
input#edit-spotlight-contact-or-other-web-link-optional-,
input#edit-type-of-engagement-location-preferred-optional-,
input#edit-other-skills-optional-,
input#edit-languages-other-than-english-optional-,
input#edit-other-position-please-specify,
input#edit-name-of-show-,
input#edit-your-position-,
input#edit-key-details-,
input#edit-name-of-show-2,
input#edit-your-position-2,
input#edit-key-details-2,
input#edit-name-of-show-3,
input#edit-your-position-3,
input#edit-key-details-3,
.js-form-item.form-item.js-form-type-date.form-type-date input {
  width: 100%;
  height: 40px;
  border: 1px solid #aaa;
  border-radius: 3px;
  padding: 0.5em;
  height: 42px;
  box-sizing: border-box;
}

form#webform-submission-blueform-add-form div#edit-flexbox,
form#webform-submission-blueform-add-form div#edit-flexbox-02,
form#webform-submission-blueform-add-form div#edit-flexbox-03,
form#webform-submission-blueform-add-form div#edit-flexbox-04,
form#webform-submission-blueform-add-form div#edit-flexbox-05,
form#webform-submission-blueform-add-form div#edit-flexbox-06 {
  column-gap: 30px;
  row-gap: 20px;
  flex-wrap: wrap;
}
form#webform-submission-blueform-add-form .webform-flex--1 {
  min-width: 350px;
}


div#edit-markup-01, div#edit-markup-02, div#edit-markup-03, div#edit-markup-04, div#edit-markup-05, div#edit-markup-06 {
  margin-top: 60px;
}
form#webform-submission-blueform-add-form .webform-options-display-three-columns {
  display: flex;
  max-width: 100%;
  margin-top: 0.4em;
  column-count: 3;
  flex-wrap: wrap;
  column-gap: 40px;
  row-gap: 20px;
  margin-bottom: 40px;
}
div#edit-actions input {
  background: var(--sma-menu);
  color: white;
  padding: 10px 20px;
  border: none;
  margin-top: 1em;
}
div#edit-actions input:hover {
  background: var(--sma-body);
}

.form-item-job-sharing-with label {
  width: 600px!important;
  max-width: 600px!important;
}

/*---- webform blueform end -----*/



/*------ SUperfish Menu Start ------- */
ul.sf-menu.menu, ul.sf-menu.menu ul, ul.sf-menu.menu li {
  margin: 0;
  padding: 0;
  line-height: 1.5;
}


ul.sf-menu .sf-with-ul {
  padding-right: 1.3em;
  margin-right: 20px;
}

ul.sf-menu.menu {
  margin: 0;
}
ul#superfish-main {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 10px;
}

ul.sf-menu .sf-sub-indicator, ul.sf-menu span.nolink .sf-sub-indicator {
  width: 24px!important;
  height: 24px!important;
  color: #006;
  right: 0;
}
ul.sf-menu .sf-sub-indicator::after, ul.sf-menu.sf-accordion .sf-sub-indicator::after, ul.sf-menu span.nolink .sf-sub-indicator::after {
  content: "";
  display: block;
  background: url("/sites/default/files/sma-arrow-indicator.svg") no-repeat;
  width: 30px;
  height: 30px;
  float: left;
  margin: 0 6px 0 0;
}
ul.sf-menu.sf-accordion, ul.sf-menu.sf-accordion ul, ul.sf-menu.sf-accordion li {
  float: left;
  width: 100%;
  font-weight: bold;
}


ul.sf-menu.sf-horizontal.sf-shadow ul, ul.sf-menu.sf-vertical.sf-shadow ul, ul.sf-menu.sf-navbar.sf-shadow ul ul {
  -webkit-box-shadow: 2px 2px 10px rgb(0 0 0/15%);
  box-shadow: 2px 2px 10px rgb(0 0 0/15%);
  background-color: var(--sma-menu);
  padding: 10px;
}


.sf-hidden {
  background: 0 0 !important;
  border: 0 none !important;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px,1px,1px,1px);
  position: absolute !important;
  height: 1px !important;
  margin: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  width: 1px !important;
}
ul.sf-menu a, ul.sf-menu span.nolink {
  display: block;
  padding: 0px 25px 0 0;
  position: relative;
  color:var(--sma-menu) ;
}
.sf-depth-2 {
  font-size: 1rem!important;
  line-height: 1.2;
}
ul.sf-menu ul {
  left: 0;
  position: absolute;
  top: -9999px;
  width: 12em;
  margin-top: 8px!important;
}
li.sf-clone-parent {
  display: none!important;
}
ul.sf-menu li:hover > ul, ul.sf-menu li.sfHover > ul {
  top: 1.2em;
}
a.sf-depth-2, a.is-active.sf-depth-2 {
  padding: 10px 20px!important;
  color: #fff!important;
  background-color: var(--sma-menu);
}

a.sf-depth-2:hover {
  color: #fff;
  background-color: var(--sma-menu-hover);
}








/*------ SUperfish Menu End ------- */


.node__submitted {
  display: none;
}
footer.node__meta {
  margin: 0;
}



.site-title a, .site-title a:link, .site-title a:visited {
  font-weight: bold;
  color: #5415ff;
  font-size: 1.5em;
}




img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin: 0;
}
.author-description .author-link, .comment-metadata, .comment-reply-link, .comments-title, .comment-author .fn, .discussion-meta-info, .entry-meta, .entry-footer, .main-navigation, .no-comments, .not-found .page-title, .error-404 .page-title, .post-navigation .post-title, .page-links, .page-description, .pagination .nav-links, .sticky-post, .site-title, .site-info, #cancel-comment-reply-link, h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}
a {
  text-decoration: none;
  word-break: break-word;
  color: blue;
}
a:hover {
  color: var(--sma-menu-hover);
}
a:focus {
  text-decoration: underline;
}

h1, h2, h3, h4, h5 {
  color: #006;
  -webkit-hyphens: manual!important;
  -ms-hyphens: manual!important;
  hyphens: manual!important;
  clear: both;
}
h1 {
  font-size: 2.5em;
  line-height: 1.2;
}
h2 {
  font-size: 2em;
  line-height: 1.2;
}
h3 {
  font-size: 1.5em;
  margin-block-start: 0;
  line-height: 1.2;
}
td {
  padding: 10px 25px;
  background-color: #e3eefc;
}
tr.table-title td {
  font-weight: bold;
  background-color: var(--sma-title);
  color: #fff;
}
tr.table-sub-level-title td {
  font-weight: bold;
  background-color: #bad8fc;
}
figure {
  margin: 0;
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0;
  margin-inline-end: 0;
}
table {
  width: 100%;
}


a.header-sma-logo img {
  width: 64px;
  height: auto;
  border: 2px solid #fff;
  border-radius: 100%;
  min-width: 64px;
}
a.header-sma-logo img:hover {
  border: 2px solid var(--sma-menu-hover);
  
}
p.site-title {
  margin: 0 4em 0 0;
  line-height: 1;
}

.bgblue1 {
  background-color: #f0f6fd;
}

.bgblue2 {
  background-color: #e3eefc;
}

.bgblue3 {
  background-color: #daeafd;
}

.bgblue4 {
  background-color: #bad8fc;
}


header {
  padding: 30px 5vw;
  background-color: #fff;
}
.header-wrapper {
  display: flex;
  column-gap: 20px;
  padding: 0 0 0.5rem 0;
}
.header-title-menu-wrapper {
  display: flex;
  flex-direction: column;
  align-self: center;
}

footer {
  background-color: hsl( 256, 100%, 33% );
  background-image: linear-gradient(to bottom right, hsl( 256, 100%, 33% ) , hsl( 256, 100%, 13% ));
  color: #fff;
  margin-top: 5em;
}
.footer-wrapper {
  padding: 2vw 10vw;
  display: flex;
  flex-wrap: wrap;
  column-gap: 40px;
  justify-content: space-between;
}
.footer-section {
  flex: 1;
  min-width: 500px;
}
footer a, footer h2 {
  color: #fff;
}
.footer-section h2 {
  font-size: 1.6875em;
}
h1:before, h2:before {
  background: var(--sma-yellow);
  content: "\020";
  display: block;
  height: 5px;
  margin: 1rem 0;
  width: 1em;
}
p.footerCredits {
  display: flex;
  width: 100%;
  color: #999;
  padding: 5vw 0 0;
  margin: 0;
  margin-top: 20px;
  font-size: 0.9em;
  
}
p.footerCredits a {
  color: #999;
}
.footer-section p {
  line-height: 1.5;
  font-size: 0.9em;
  font-weight: bold;
}
.footer-section blockquote p {
  font-size: 1.1em;
  font-weight: 400!important;
  text-align: center;
}
.footer-section :focus:not(.select2-search__field):not(.ui-dialog):not(.cookiesjsr-btn):not(.cookiesjsr-service-group--tab) {
  outline: none!important;
  outline-offset: none!important;
  background: none;
}
.view.view-sma-supporter.view-id-sma_supporter.view-display-id-block_1 .view-content {
  display: flex;
  column-gap: 10px;
  row-gap: 10px;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.view.view-sma-supporter.view-id-sma_supporter.view-display-id-block_1 .views-row {
  max-width: 140px;
}
blockquote {
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 20px;
  margin-inline-end: 20px;
}
i.fab.fa-twitter, i.fab.fa-instagram, i.fab.fa-facebook, i.fab.fa-linkedin  {
  position: relative;
  padding-left: 35px;
}

i.fab.fa-twitter::before {
  content: '';
  width: 25px;
  height: 25px;
  position: absolute;
  left: 0;
  display: block;
  background: url("/sites/default/files/sma-twitter-icon.svg") no-repeat;
}
i.fab.fa-instagram::before {
  content: '';
  width: 25px;
  height: 25px;
  position: absolute;
  left: 0;
  display: block;
  background: url("/sites/default/files/sma-instagram-icon.svg") no-repeat;
}
i.fab.fa-facebook::before {
  content: '';
  width: 25px;
  height: 25px;
  position: absolute;
  left: 0;
  display: block;
  background: url("/sites/default/files/sma-facebook-icon.svg") no-repeat;
}
i.fab.fa-linkedin::before {
  content: '';
  width: 25px;
  height: 25px;
  position: absolute;
  left: 0;
  display: block;
  background: url("/sites/default/files/sma-linkedin-icon.svg") no-repeat;
}
.footer-section.social a {
  display: block;
  margin-bottom: -10px;
}
.footer-section.social a:hover, p.footerCredits a:hover, p.Address a:hover {
  color: #ffe600;
}
.footer-section.social p {
  font-weight: normal;
}
.text-formatted.field--name-body img {
  max-width: 400px;
  padding: 20px;
}
.text-formatted.field--name-body .media--view-mode-original-size img {
  max-width: fit-content;
}
.home-section-flex-wrapper h3 {
  margin-block-start: 0;
  margin-block-end: 0;
}

.home-section-flex-wrapper, .view.view-home-sections.view-id-home_sections.view-display-id-block_1 .view-content{
  display: flex;
  flex-wrap: wrap;
  column-gap: 20px;
  row-gap: 20px;
  gap: 20px;
}
.home-section-flex-wrapper > div {
  display: flex;
  flex-direction: column;
  column-gap: 20px;
  row-gap: 20px;
  
  
}
.view.view-home-sections.view-id-home_sections.view-display-id-block_1 .views-row .views-field.views-field-title {
  font-size: 1.3em;
  color: var(--sma-yellow);
  background-color: var(--sma-title);
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;
  font-weight: bold;
  padding: 20px;
  line-height: 1.1;
} 

.view.view-home-sections.view-id-home_sections.view-display-id-block_1 .views-row {
  flex: 1;
  min-width: 320px;
  border-radius: 5px;
  overflow: hidden;
}
.views-field.views-field-field-home-section-text {
  padding: 10px 20px;
}

.home-section-1, .home-section-2, .home-section-3 {
  flex: 1;
  min-width: 400px;
}
.home-1 {
  padding: 20px;
  background-color: #f0f6fd;
}
.home-2 {
  padding: 20px;
  background-color: #e3eefc;
}
.home-3 {
  padding: 20px;
  background-color: #daeafd;
}
.home-4 {
  padding: 20px;
  background-color: #cfe4fd;
}
.home-section-flex-wrapper img {
  min-width: 100%;
  width: 100%;
  height: auto;
}

.home-flex-wrapper {
  display: flex;
  column-gap: 40px;
  row-gap: 40px;
  flex-wrap: wrap;
}
.home-flex-wrapper .field.field--name-body {
  flex: 1;
  min-width: 400px;
}

.home-flex-wrapper .views-element-container {
  flex: 2;
  /* min-width: 400px; */
}
.member-type-flex-container {
  display: flex;
  column-gap: 20px;
  row-gap: 20px;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 70px;
  row-gap: 60px;
  margin-bottom: 60px;
  
}
.member-type-wrapper {
  flex: 1;
  text-align: center;
  min-width: 250px;
  max-width: 300px;
  height: 100%;
  border-radius: 5px;
  overflow: hidden;
  
}
.member-type-title {
  padding: 10px;
  background-color: var(--sma-title);
  color: var(--sma-yellow);
  font-weight: bold;
  font-size: 1.2rem;
}
.member-type-cost {
  padding: 10px;
  font-size: 1.4rem;
  background-color: #daeafd;
}

.member-type-services p {
  padding: 10px;
  background-color: #efefef;
  margin-block-start: 3px;
  margin-block-end: 3px;
  font-size: 0.9em;
  
}
.member-type-apply-cta {
  margin-top: 10px;
  border-radius: 5px;
  overflow: hidden;
}

.member-type-apply-cta a {
  color: var(--sma-white);
  font-weight: bold;
  display: flex;
  justify-content: center;
  padding: 10px;
  background-color: var(--sma-menu);
}
.member-type-apply-cta a:hover, .member-type-wrapper.prof .member-type-apply-cta a:hover {
  font-weight: bold;
  display: flex;
  justify-content: center;
  padding: 10px;
  background-color: var(--sma-menu-hover);
}
.member-type-wrapper.prof .member-type-apply-cta a {
  font-weight: bold;
  display: flex;
  justify-content: center;
  padding: 10px;
  background-color: red;
}
.member-type-wrapper.prof::before {
  content: "Most Popular";
  position: absolute;
  text-align: center;
  top: -42px;
  color: var(--sma-title);
  background-color: var(--sma-yellow);
  display: block;
  width: 100%;
  padding: 5px;
  box-sizing: border-box;
  border-radius: 5px 5px 0 0;
}
.member-type-wrapper.prof {
  position: relative;
  overflow: inherit;
}


form.views-exposed-form .fieldset-legend {
  display: none;
}
form.views-exposed-form .fieldset-wrapper {
  display: flex;
}
form.views-exposed-form .fieldset-wrapper .form-item {
  margin: 0 1em 1em 0;
}
form.views-exposed-form fieldset {
  border: 0;
  padding: 0;
}

.csv-feed .feed-icon {
  background-image: url(/themes/sma/images/icons/csv.png);
  width: 100px;
  display: block;
  margin-bottom: 10px;
  height: 40px;
}
.xls-feed .feed-icon {
  background-image: url(/themes/sma/images/icons/xls.png);
  width: 100px;
  display: block;
  margin-bottom: 10px;
  height: 40px;
}


/*---- News & Events Start ---- */

.view.view-news.view-id-news.view-display-id-block_1 .view-content,
.view.view-events.view-id-events.view-display-id-block_1 .view-content,
.view.view-courses.view-id-courses.view-display-id-block_1 .view-content,
.view.view-non-sma-courses.view-id-non_sma_courses.view-display-id-block_1 .view-content {
  display: flex;
  column-gap: 40px;
  row-gap: 40px;
  flex-wrap: wrap;
  justify-content: space-evenly;
}
.view.view-news.view-id-news.view-display-id-block_1 .news-tile,
.view.view-events.view-id-events.view-display-id-block_1 .events-tile,
.view.view-courses.view-id-courses.view-display-id-block_1 .events-tile,
.view.view-non-sma-courses.view-id-non_sma_courses.view-display-id-block_1 .events-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.view.view-news.view-id-news.view-display-id-block_1 .views-row,
.view.view-events.view-id-events.view-display-id-block_1 .views-row,
.view.view-courses.view-id-courses.view-display-id-block_1 .views-row,
.view.view-non-sma-courses.view-id-non_sma_courses.view-display-id-block_1 .views-row {
  flex: 1;
  width: 100%;
  height: auto;
  padding: 10px;
  background-color: #fff;
  min-width: 300px;
  box-shadow: rgba(0,0,0,0.24) 0px 3px 8px;
  border-radius: 10px;
  text-align: center;
  /* display: flex; */
  box-sizing: border-box;
  max-width: 400px;
}
.view.view-news.view-id-news.view-display-id-block_1 .views-row:hover,
.view.view-events.view-id-events.view-display-id-block_1 .views-row:hover,
.view.view-courses.view-id-courses.view-display-id-block_1 .views-row:hover, .view.view-non-sma-courses.view-id-non_sma_courses.view-display-id-block_1 .views-row:hover {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  
}


.news-tile-body, .events-tile-body {
  font-size: 0.7rem!important;
  color: #000;
  padding: 10px;
}
.news-tile-date {
  font-size: 0.8rem;
  font-weight: bold;
  color: #fff;
  padding: 5px;
  background-color: #2d00a8;
  border-radius: 0 0 5px 5px;
}
time.datetime,
.node--type-news .field--name-field-date {
  font-size: 1em;
  font-weight: bold;
  color: #fff;
  margin-bottom: 20px; 
}
table time.datetime,
.path-membership .eck-entity time.datetime {
  color: initial;
  font-weight: initial;
}
.field.field--name-field-date.field--type-datetime.field--label-hidden.field__item {
  margin: 0 0 20px;
  background-color: var(--sma-menu);
  padding: 10px;
}

.view.view-news.view-id-news.view-display-id-block_1 .views-row img,
.view.view-events.view-id-events.view-display-id-block_1 .views-row img {
  display: none;
}
.news-tile-title, .events-tile-title {
  font-size: 1rem;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;
  font-weight: bold;
  color: var(--sma-yellow);
  line-height: 1.2;
  border-radius: 5px 5px 0 0;
  background-color: var(--sma-title);
  padding: 20px;
}
.view.view-home-sections.view-id-home_sections.view-display-id-block_1 span.field.field--name-title {
  
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;
  font-weight: bold;
  color: var(--sma-yellow);
  border-radius: 5px 5px 0 0;
  background-color: var(--sma-title);
  width: 100%;
  display: block;
  padding: 20px;
  box-sizing: border-box;
}
.view.view-home-sections.view-id-home_sections.view-display-id-block_1 h3 {
  margin: 0;
  margin-block-end: 0!important;
}
.view.view-home-sections.view-id-home_sections.view-display-id-block_1 p {
  margin-block-start: 0;
}
.view.view-home-sections.view-id-home_sections.view-display-id-block_1 .node__content {
  padding: 20px;
}
.view.view-news.view-id-news.view-display-id-block_2 .views-row .views-field.views-field-title {
  background-color: rgba(0, 0, 0, 0);
  padding: 5px;
}
.view.view-news.view-id-news.view-display-id-block_2 .views-row .views-field.views-field-title a {
  font-size: 1rem;
  padding: 0;
  margin: 0;
  margin-block-start: 0;
  line-height: 1.1;
}

.view.view-news.view-id-news.view-display-id-block_2 .view-content {
  gap: 2px;
  row-gap: 2px;
}
.view.view-news.view-id-news.view-display-id-block_2 h3 {
  line-height: 0.5;
}
.view.view-news.view-id-news.view-display-id-block_2 .views-row {
  margin-bottom: 10px;
  border-bottom: 2px solid #999;
  padding-bottom: 5px;
  border-radius: 0;
  min-width: 100%;
}
.node.node--type-home-page-section {
  height: 100%;
}

.notice {
  padding: 1em 10px;
  background: var(--sma-blue);
  border-left: 5px solid var(--sma-menu);
  margin-bottom: 1em;
  display: flex;
  flex-wrap: wrap;
}
.notice-nobg {
  padding: 1em 10px;
  border-left: 5px solid var(--sma-menu);
  margin-bottom: 1em;
  display: flex;
  flex-wrap: wrap;
}

.notice a {
  color: var(--sma-menu);
}
.notice.notes {
  display: block;
}
.infopane.notice {
  padding: 0;
  font-size: 1.05rem;
}
.infopane.notice > div {
  padding: 15px 25px 17px;
  border-right: 3px solid #fff;
  max-width: 350px;
}
.infopane.notice > div:last-child {
  border-right: none;
}
.infopane h3,
.notes h3 {
  margin: 2px 0;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-family: 'db_sansbold';
}
.flex {
  display: flex;
  flex-wrap: wrap;
}
.flexsa {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.flexsb {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.flexnowrap {
  display: flex;
}
.flexleft {
  margin: 0 -10px;
}
.flexspace {
  justify-content: space-between;
  margin: 0 -10px 1em;
}
.flexpad {
  padding: 0 10px;
  flex-grow: 1;
}
.flexpadnogrow {
  padding: 0 10px;
}
.flexend {
  align-self: flex-end;
}

.flex1 {
  flex: 1;
  padding: 0 10px;
  min-width: 240px;
}
.flex2 {
  flex: 2;
  padding: 0 10px;
}
.flexcell {
  display: flex;
  padding: 10px;
  justify-content: space-between;
  align-items: center;
}
.flexspace details + details {
  margin-top: 20px;
}
.flexdate {
  align-items: flex-end;
}
.flexcentre {
  display: inline-flex;
  align-items: center;
}
.flexcentre.right {
  margin-left: auto;
}
.flex-direction-column {
  flex-direction: column;
}
.clear-both {
  clear: both;
}
.center {
  align-items: center;
  text-align: center;
}
summary {
  margin-bottom: 10px;
  cursor: pointer;
  border-bottom: 3px solid var(--sma-body);
  padding-bottom: 5px;
}
summary.no-marker::-webkit-details-marker {
  display: none;
}
summary.no-marker {
  list-style: none;
}

.right {
  float: right;
}

/** Tables **/

table {
  width: 100%;
  margin: 5px 0;
  background: #fff;
}
table tr th {
  padding: 5px 10px;
  text-align: left;
  color: var(--sma-body);
  background: #fff;
  border-bottom: 2px solid;
  font-size: 0.9em;
}
table tr td {
  padding: 2px 10px;
  text-align: left;
  font-size: 0.9em;
}
table tr th, table tr th a, table tr th a:hover {
  font-weight: bold;
}
table tr td {
  border-bottom: #E1E6EB 1px solid;
}
table tr table tr th {
  border-bottom: 1px solid;
}
table tr table td {
  border-bottom: #E1E6EB 0px solid;
}

table tr.red-flag {
  background-color: rgba(222, 8, 17, 0.2);
}
table td.no-padding {
  padding: 0;
}
table td.no-padding table {
  margin: 0;
  border-spacing: 0;
}
table td.no-padding table td {
  border-bottom: 2px solid #fff;
}
table td.no-padding table td:not(:first-child) {
  border-left: 2px solid #fff; 
}
table tfoot tr {
  background: none!important;
  font-weight: bold;
}
.sumcols table tfoot tr td {
  text-align: right;
}
.multi-drop-tick {
  padding: 5px 10px;
  display: inline-block;
  cursor: help;
}

.fixedfirstcol table th:first-child,
.fixedfirstcol table td:first-child {
  width: 100px;
  min-width: 100px;
}
.fixedfirstcolwide table th:first-child,
.fixedfirstcolwide table td:first-child {
  width: 250px;
  min-width: 250px;
}
.fixedlastcol table th:last-child,
.fixedlastcol table td:last-child {
  width: 110px;
  min-width: 110px;
}
.fixedlastcolmed table th:last-child,
.fixedlastcolmed table td:last-child {
  width: 150px;
  min-width: 150px;
}
.fixedlastcolwide table th:last-child,
.fixedlastcolwide table td:last-child {
  width: 250px;
  min-width: 250px;
}
.lastcolright table th:last-child,
.lastcolright table td:last-child,
table.lastcolright th:last-child,
table.lastcolright td:last-child {
  text-align: right;
}

.nowrap table th,
.nowrap table td {
  white-space: nowrap;
}
table tr td:last-child a {
  font-weight: bold;
}

table tbody tr {
  background-color: #fff;
  transition: background-color 0.2s linear;
}
table tbody tr:hover {
  background-color: var(--sma-menu);
  transition: background-color 0.2s linear;
}
table tbody table {
  border-spacing: 0;
}

table.scroll,
.scroll table {
  display: block;
  width: 100%;
  overflow-x: auto;
}
.multi-display-view-menu a,
.multi-display-view-menu span {
  margin-right: 2em;
}


/*---- News & Events End ---- */
/*---- Membership Application Start ---- */

.application-form-form,
.application-form fieldset.captcha {
  border-radius: 5px;
  border: 1px solid #a19b9b79;
  padding: 1em 2em;
  max-width: 800px; 
}

.application-form-form .form-item:not(.form-type-radio) {
  display: flex;
  flex-direction: column;
}

.application-form-header {
  color: #1A2538;
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  display: block;
}

/*---- Membership Application End ---- */



.icon img {
  width: 25px;
  max-width: initial;
  display: initial;
}

.mobile-only {
  display: none;
}
#block-adminlinks {
  padding: 0.75em 5vw;
  background-color: var(--sma-blue);
}
#block-adminlinks a {
  text-decoration: none;
  padding: 0.2em 1em;
  display: inline-block;
}
#block-adminlinks a:hover {
  background-color: #fff;
}

.ui-widget-overlay {
  background: #2d00a8;
  opacity: 0.8;
}

.webform-flex {
  min-width: 400px;
  margin-bottom: 1em;
}
.webform-flexbox {
  flex-wrap: wrap;
}
.webform-submission-blueform-form {
  padding: 2em;
  background: #cce6ff;
}

a[href*="/masquerade?"],
a[href*="/unmasquerade?"] {
  background: red;
  color: #fff;
  font-weight: bold;
  padding: 5px 10px;
  display: inline-block;
  margin-right: 1em;
}

.view-freelists.view-display-id-block_2 .file,
.view-freelists.view-display-id-block_3 .file {
  padding-left: 0px;
  background-image: none;
}

.view-freelists.view-display-id-block_2 time.datetime,
.path-freelist time.datetime {
  color: initial;
  font-weight: initial;
}

.view-freelists.view-display-id-block_3 .view-content > :first-child a {
  font-weight: bold;
}

.node--type-job-posting .location,
.node--type-job-posting .posted,
.node--type-job-posting .website {
  margin-left: 10px;
  display: flex;
}

.node--type-job-posting .location::before,
.node--type-job-posting .posted::before,
.node--type-job-posting .website::before {
  background-repeat: no-repeat;
  width: 40px;
  height: 30px;
  content: "";
}

.node--type-job-posting .location::before {
  background-image: url('/themes/sma/images/icons/grey-marker.svg');
}

.node--type-job-posting .posted::before {
  background-image: url('/themes/sma/images/icons/grey-calendar.svg');
}

.node--type-job-posting .website::before {
  background-image: url('/themes/sma/images/icons/grey-clip.svg');
}

.node--type-job-posting .tagline {
  color: red;
  margin-bottom: 1em;
}

.job-info-box {
  background-color: var(--sma-blue);
  padding: 10px;
}

#views-exposed-form-stripe-events-page-1 .form-item-membership,
#views-exposed-form-stripe-events-page-1 .form-item-subscription,
#views-exposed-form-stripe-events-page-1 .form-item-payment {
  display: none;
}


@media screen and (max-width: 768px) {
  .non-mobile {
    display: none;
  }
  .mobile-only {
    display: block;
  }
  .quicklinks details summary {
    padding-left: 5vw;
  }
  .footer-section {
    flex: 1;
    min-width: 100%;
  }
  
  .view.view-news.view-id-news.view-display-id-block_1 .views-row ,
  .view.view-events.view-id-events.view-display-id-block_1 .views-row,
  .view.view-home-sections.view-id-home_sections.view-display-id-block_1 .views-row,
  .home-flex-wrapper .field.field--name-body {
    min-width: 100%;
  }
  .news-tile-date{
    font-size: 0.7rem!important;
  }
  
  
  /*---- superfish media queries start -----*/
  
  #superfish-main-toggle span {
    display: none;
  }
  #superfish-main-toggle {
    height: 30px;
    width: 30px;
    background: url(/sites/default/files/ham-menu-3lines.svg) no-repeat;
    background-position: center center;
    background-size: contain;
    display: block;
    float: right;
    pointer-events: all;
    top: -50px;
    position: relative;
    right: -2vw;
  }
  #superfish-main-toggle.sf-expanded {
    background: url(/sites/default/files/ham-menu-cross.svg) no-repeat;
    background-position: center center;
    background-size: contain;
  }
  .region.region-primary-menu {
    position: absolute;
    top: 50px;
    right: 0;
    width: 100vw;
  }
  ul.sf-menu.menu {
    display: block;
    padding: 1em;
    box-sizing: border-box;
  }
  ul.sf-menu a, ul.sf-menu span.nolink {
    padding: 5px 2vw;
  }
  ul.sf-menu.sf-accordion.sf-expanded {
    margin-left: 5vw;
    position: relative;
    z-index: 1000;
    background-color: var(--sma-blue);
    line-height: 2;
  }
  ul.sf-menu.sf-accordion li.sf-expanded > ul {
    text-indent: 15px;
  }
  
  /*---- superfish media queries end -----*/
  
  .home-section-1, .home-section-2, .home-section-3 {
    min-width: 100%;
  }
  
  .menublock {
    position: relative;
    right: 0;
    top: -30px;
    width: 100%;
  }
  .header-title-menu-wrapper {
    position: relative;
    width: 100%;
  }
}


@media screen and (max-width: 650px) {
  .member-type-wrapper {
    flex: 1;
    text-align: center;
    min-width: 100%;
    max-width: 100%;
    height: 100%;
  }
  .member-type-wrapper.prof {
    margin-top: 60px;
  }
  h1 {
    font-size: 1.7em;
  }
  h2 {
    font-size: 1.4em;
  }
  h3 {
    font-size: 1.1em;
  }
  form#webform-submission-blueform-add-form .webform-flex--1 {
    min-width: 100%;
  }
}