
/* ------- GLOBAL STUFF ------- */
:root{
  --osba-red: #dc241d;
  --osba-blue: #003C71;
  --osba-blue-300: #0864b8;
  --osba-yellow: #FDDA25;
  --active-link: #e4e08e;
  --black-font: #2e2e2e;
  --site-white: #fff;

  --nav-link-font-size: 1em;
  --logo-max-w: 60px;

  --page-content-width: 95%;

  --base-page-title-font-size: 2.5em;
  --base-font-size: 14px;
  --base-table-font-size: .9em


}



body {
  font-family: "Arial", "Helvetica", "SansSerif";
  mso-generic-font-family: modern;
  font-size: var(--base-font-size);
}

/*FOOTER AT BOTTOM -- Start -- */
html, body {
  height: 100%;
  margin: 0;
}
.page-wrapper{
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
main {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}
main > .layout-container{
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
}
/*FOOTER AT BOTTOM -- End -- */

.page-content {
  width: var(--page-content-width);
  margin: auto;
}

h1.page-title{
  font-size: var(--base-page-title-font-size);
  letter-spacing: .2rem;
  color: var(--black-font);

}

.link-button{
  color: var(--site-white);
  background-color: var(--osba-blue-300);
  padding: 1rem 2rem;
  border-radius: 10px;
  margin: 1rem 0;
}
.button-2 a{
  color: var(--site-white);
  background-color: var(--osba-blue-300);
  padding: .3rem .6rem;
  border-radius: 3px;
  /*margin: 1rem 0;*/
  text-decoration: none;
  /*pointer-events: ;*/
}

div:has(> .button-2-import-csv){
  margin: 1rem 0;
}
.button-2-import-csv a{
  color: var(--site-white);
  background-color: var(--osba-red);
  padding: .3rem .6rem;
  border-radius: 3px;
  margin: 1rem 0;
  text-decoration: none;
  /*pointer-events: ;*/
}

/* --- Table Crap --- */
table.views-table{
  font-size: var(--base-table-font-size);
}
table.views-table td{
  padding: .5rem 1rem;
}
table.views-table td p{
  margin: .25rem 0;
}

table.views-table .dropbutton a,
table.views-table .dropbutton button.dropbutton-toggle{
  font-size: var(--base-table-font-size);
  padding: .5rem;
}
.view-content{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ------- NAV ------- */

body header .layout-container{
  margin: 0 1em;
}
/*start out with main nav invisible*/
/*#block-claro-subtheme-mainnavigation*/
#block-claro-subtheme-main-menu{
  display: none;
}

div.block-superfishmain{
  width: fit-content;
  margin-left: auto;
}

/*Styling the superfish accordian menu */
#superfish-main-toggle{
  border-radius: 10px;
  border-color: var(--black-font);
  background-color: var(--black-font);
  padding: .5rem .5rem;
  margin: 1rem 0;
  color: var(--site-white);
  text-decoration: none;
}
#superfish-main-toggle span{
  padding: .5rem 1rem .5rem .5rem;
  margin: 1rem 1rem 1rem 0 ;
}
#block-claro-subtheme-account-menu ul.menu{
  margin-left: 0;
  justify-content: flex-start;
}
#superfish-main-accordion li a{
  /*background-color: var(--black-font);*/
  text-decoration: none;
}


/*nav background*/
header.content-header {
  background-color: var(--osba-red);
}

/*header region*/
.region-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
  padding: .5rem .5rem;
}

/*site branding block*/
#block-claro-subtheme-site-branding {
  display: flex;
}

#block-claro-subtheme-site-branding .site-name a {
  font-size: 3em;
  pointer-events: none;
  text-decoration: none;
  color: var(--site-white);
  align-items: center;
}
.site-name{
  margin: auto 10px;
}

.site-logo {
  pointer-events: none;
  margin: auto 10px;
  /*box-shadow: 0px 3px 15px rgba(0,0,0,0.2);*/
}
.site-logo img{
  display: inline-block;
  /*width: var(--logo-max-w);*/
  max-width: var(--logo-max-w);
}

/*primary nav block*/
.primary-nav__menu-item--has-children > .primary-nav__menu {
  display: none;
}

.primary-nav__menu-item--expanded > .primary-nav__menu {
  display: block;
}

nav ul.menu li {
  list-style-type: none;
  margin: 0 1rem;
}

#superfish-main a,
nav ul.menu li a {
  list-style-type: none;
  color: var(--site-white);
  text-decoration: none;
  display: inline-block;
  position: relative;
  font-size: var(--nav-link-font-size);
  width: fit-content;


  &:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    background-color: whitesmoke;

    transition: transform 0.3s;
  }

  &:hover {
    &:after {
      transform: scaleX(1);
    }
  }
}

#superfish-main a.is-active,
nav ul.menu li a.is-active{
  color: var(--active-link);
  font-weight: bold;
}

nav ul.menu {
  display: flex;
  flex-wrap: wrap;
}


/* Style for visual indication of expandable items */
nav.navigation .menu-item--collapsed > a::after,
nav.navigation .menu-item--expanded > a::after {
  content: ' ▼';
  font-size: 0.7em;
  vertical-align: middle;
}

nav.navigation .menu-item--expanded > a::after {
  content: ' ▲';
}
/* ---- MASS MESSAGE ---- */
.field--name-delivery-method .js-form-type-checkbox{
  display: inline-block;
  margin-right: 3rem;
}
#edit-delivery-method-wrapper .fieldset {
  margin-bottom: 0;
}
#audience-values thead th{
  height: 0;
}
#edit-audience-wrapper{
  max-width: 520px;
}

/*all the field labels*/
form fieldset span.fieldset__label,
.js-form-item-message-subject-0-value label.form-item__label,
.js-form-item-message-body-0-value label.form-item__label {
  font-size: 1em;
}

/*  ---- AUDIENCE LIST ---- */
.pub-unpublished,
.pub-unpublished:hover{
  color: #424141;
  background-color: rgba(224, 232, 236, 0.7);
}

/*  ---- FOOTER ---- */
footer.site-footer{
  height: 200px;
  background-color: var(--black-font);
}

.site-footer__inner{
  width: 90%;
  margin: auto;
}

/*  ------ RESPONSIVENESSNESS ----- */
/*!* Extra small devices (phones, 600px and down) *!*/
@media only screen and (max-width: 600px) {


}

/*!* Small devices (portrait tablets and large phones, 600px and up) *!*/
@media only screen and (min-width: 600px) {
  :root{
    --base-font-size: 16px;
    /*--base-table-font-size: .95em;*/
    /*--base-page-title-font-size: 3em;*/
  }
}

/*!* Medium devices (landscape tablets, 768px and up) *!*/
@media only screen and (min-width: 768px) {
  :root{
    /*--logo-max-w: 70px;*/

    --page-content-width: 80%;

  }


}

/*!* Large devices (laptops/desktops, 992px and up) *!*/
@media only screen and (min-width: 992px) {
  :root{
    /*--base-table-font-size: .9em;*/
    /*--base-page-title-font-size: 3.5em;*/
  }
  /*Make normal menu appear when big*/
  /*#block-claro-subtheme-mainnavigation,*/
  #block-claro-subtheme-main-menu{
    display: block;
    margin-left: auto;
  }
  /*Make superfish disappear when big*/
  /*#block-claro-subtheme-mainnavigation-2*/
  div.block-superfishmain{
    display: none;
  }

}

/*!* Extra large devices (large laptops and desktops, 1200px and up) *!*/
@media only screen and (min-width: 1200px) {
  :root{

  }

}



