/* Drupal 7 Framework - Created by André Griffin
------------------------------------------------
[Table of contents]

 1.Global
 2.Layout
 3.Main
 4.Sidebars
 5.Header
 6.Navigation
 7.Nodes
 8.Comments
 9.Blocks
10.Footer
11.CSS Support

Font sizes: 16px base font with 24px line-height
------------------------------------------------
       font-size / line-height / margin-top
------------------------------------------------
40px = 2.5em     / 1.2         / 0.6em
32px = 2em       / 1.5         / 0.75em
24px = 1.5em     / 1           / 1em
20px = 1.25em    / 1.2         / 1.2em
16px = 1em       / 1.5        / 1.5em
14px = 0.875em   / 1.7143      / 1.7143em
13px = 0.8125em  / 1.8462      / 1.8462em
12px = 0.75em    / 2           / 2em
10px = 0.625em   / 2.4         / 2.4em

Equation for font sizing:
  Desired px ÷ Default (or parent) px = em size
------------------------------------------------*/

/**
 * 1.GLOBAL
 */

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: "myriad-pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-style: normal;
  font-weight: normal;
}

h1, .h1 {
  font-size: 2em;
  line-height: 1.5;
  margin-top: 0.75em;
}

h2, .h2 {
  font-size: 1.5em;
  line-height: 1;
  margin-top: 1em;
}

h3, .h3 {
  font-size: 1.25em;
  line-height: 1.2;
  margin-top: 1.2em;
}

h4, h5, h6, .h4, .h5, .h6 {
  font-size: 1em;
  font-weight: bold;
  line-height: 1.5;
  margin-top: 1.5em;
}

p {
  font-size: 1em;
  line-height: 1.5;
  margin: 0 0 1.5em 0;
}

a { 
    color: var(--color-impulse-blue);
    text-decoration: none; 
}


a:hover, 
a:active, 
li a.active  { 
    color: var(--color-brilliant-azure);
}

a:focus { 
    outline: thin dotted; 
}

a:hover, a:active { 
    outline: 0; 
}

/* apply common styling after reset.css */

li ul, li ol {  margin: 0; }
ul, ol {  margin: 0 1.5em 1.5em 0;  padding-left: 1.5em; }
ul {  list-style-type: disc; }
ol {  list-style-type: decimal; }
dl {  margin: 0 0 1.5em 0; }
dl dt {  font-weight: bold; }
dd {  margin-left: 1.5em; }
hr {  background: var(--color-dark-gray);  border: none;  clear: both;  float: none;  height: 1px;  margin: 0 0 1.4375em;  width: 100%; }
fieldset {  border: 1px solid var(--color-light-gray);  margin: 0 0 1.4375em;  padding: 1.5em; }
table {  margin-bottom: 1.5em;  width: 100%; }
th, tr, td {  vertical-align: middle; }
th { padding-right: 1em; }
.sticky-header th, .sticky-table th {
    border-bottom: 3px solid var(--color-light-gray); 
    padding-right: 1em;  
    text-align: left; 
}

/**
 * 2.LAYOUT
 */


/**
 * 3.MAIN
 */


/**
* 4.Sidebars
*/

/**
 * 5.HEADER
 */

/**
 * 6.NAVIGATION
 */


/**
 * 7.NODES
 */


/**
 * 11.CSS SUPPORT
 *
 * Built-in classes:
 * .clearfix                            | contain floats
 * .element-invisible                   | hide element visually
 * .element-invisible.element-focusable | allow element to be focusable when navigated to via keyboard
 * .element-hidden                      | hide visually and from screenreaders
 */

/* clear floats */
.clear { 
  clear: both; 
}

/* display block */
.display-block { 
  display: block;
}

.customList{
  width: 100%;
  float: left;
  display: block;
  padding-left: 0;
  margin-right: 0;
}

.customList li{
  display: block;
  margin-left: 10px;
  margin-right: 10px;
  width: 29.3%;
  margin-bottom: 20px;
  text-align: center;
  float: left;
  border: solid 1px var(--color-light-gray);
  padding-top: 20px;
  padding-bottom: 20px;
  min-height: 335px;
}

.customList li img{
  width: auto !important;
  height: 175px !important;
}

.customList li div {
  text-align: left;
  padding: 0 15px;
}

.customList li div p {
  margin-bottom: 0;
  word-break: break-all;
}

.customList.list-members li{
  min-height: 150px;
  height: 150px;
  padding: 20px;
  width: 24%;
  position: relative;
  overflow: hidden;
}

.customList.list-members li a {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

.customList.list-members li img{
  height: auto !important;
  max-width: 100%;
}

.customList.executive-committee-list li {
  min-height: 255px;
}

#block-block-1 {
  margin-top: 5px !important;
  margin-bottom: 5px !important;
  margin-left: calc(100% - 251px) !important;
  text-align: left;
}

.box-slides {
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
  display: block;
  overflow: hidden;
  position: relative;
}

.box-slides a {
  width: 150px;
  float: left;
  margin-left: 5px;
  position: relative;
  height: 100px;
  overflow: hidden;
}

.box-slides a img {
  position: absolute;
  max-width: 90%;
  width: 80%;
  height: auto;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
  padding: 10px !important;
  display: initial;
}

#block-ehra-footermobileblock { 
  display: none; 
}

@media screen and (max-width: 767px) {
  .customList li{
    width: 45%;
  }
  .customList.list-members li{
    width: 39%;
  }

  #block-block-1 {
    display: none;
  }
}

@media screen and (max-width: 650px) {
  .customList li{
    width: 100%;
  }
  .customList.list-members li{
    width: 90%;
  }
}
