@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@400;600;700&display=swap');

body {
  font-family: 'Assistant', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 165%;
  color: #2A2A2A;
  margin: 0;
}

h2 {
  font-size: 20px;
  font-weight: 700;
}

h1 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  color: #003087;
  margin: 5px 0;
}

@media screen and (min-width: 768px) {
  h1 {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.3;
    color: #003087;
    margin: 5px 0;
  }
  h2 {
    font-size: 32px;
    font-weight: 700;
  }
}

/* let images fill their container unless otherwise specified */

/* div.layout-container img {
  width: 100%; 
  height: auto; 
} */


/* Header */

#block-views-block-translation-test-block-3 div.views-field-view-node, #block-views-block-translation-test-block-2 div.views-field-view-node, #block-views-block-translation-test-block-1 div.views-field-view-node, #block-views-block-translation-test-block-4 div.views-field-view-node { 
  margin-top: 0;
}

#block-topascbluebar {
  background-color: #003087;
  color: #fff;
  padding: 0 2.5em;
  margin: 0;
}

#block-topascbluebar > div  {
  max-width: 1400px;
  padding: 12px 0;
  margin: 0 auto 0 auto;
}

#block-topascbluebar p {
  margin:0;
  padding:0;
}

#block-topascbluebar p a {
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 5px 0 0 40px;
  margin: 0;
  background: #003087 url("images/homelocationicon.svg") no-repeat 10px center;
}

@media screen and (min-width: 1023px) {
  #block-topascbluebar p a {
    font-size: 18px; 
    padding: 0 0 0 40px;
  }
}



/* page top title and menu */

div.fullwidthgrey {
  width: 100%;
  background-color: #eee;  
}

div.pagetop {
  display: flex;
  flex-direction: column;
  max-width: 1400px;
  margin: 0 auto;
  background-color: #eee;
  padding: 10px 2.5em;
}

div.pagetopleft {
  width: 100%;
}

div.pagetopright {
  width: 100%;
}

div.menuholder {
  display: block;
  background-color: #eee;
  padding: 0 2.5em;
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
}

@media screen and (min-width: 1023px) {
  div.menuholder {
    display: flex;
    justify-content: flex-end;
    padding: 10px 2.5em;  
  }
}

#block-views-block-translation-test-block-1,#block-views-block-translation-test-block-2, #block-views-block-translation-test-block-3, #block-views-block-translation-test-block-4 {
  width: 100%;
  background-color: #eee;  
}

#block-siteidbanneren {
  background-color: #eee;
  color: #000;
}

#block-siteidbanneren > div {
  max-width: 1400px;
  padding: 5px 2.5em;
  margin: 0 auto;
  box-sizing: border-box;
}

#block-siteidbanneren > div h2 {
  margin: 0;
  padding: 0;
}

#block-siteidbanneren > div h2 a {
  background-color: #FDC82F;
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  color: #000000;
  padding: 10px 15px;
  margin: 10px 0 0 0;
  display: inline-block;
  text-decoration: none;
  background-image: none;
  box-shadow: none;
  transition: none;
  }
  #block-findastudymobile div h2 a :hover {
  color: #fff;
  background-color: #003087;  
  } 
#block-siteidbanneren > div p img {
  width: 75%;
  max-width: 312px;
  height: auto;
}

@media screen and (min-width: 1023px) {
  #block-siteidbanneren > div h2 a {
    background-color: #eee;
    font-weight: 400;
    font-size: 32px;
    line-height: 32px;
    color: #003087;
    padding: 0;
    margin: 0;
    display: inline-block;
    text-decoration: none;
    background-image: none;
    box-shadow: none;
    transition: none;
  }

  #block-siteidbanneren > div p {
    height:48px;
  }
  #block-siteidbanneren > div p img {
    max-width: 312px;
    height: auto;
  }
  #block-siteidbanneren > div h2 a {
    color: #003087;
    text-decoration: none;
  }   
}


/* logo container */

#block-siteidbanneren > div p {
  margin: 0;
  padding: 0;
  line-height: 1;
}

/* find a study button */

#block-findastudymobile {
  background-color: #eee;
  margin: 0;
}
#block-findastudymobile p {
  margin: 0 2.5em;
}

#block-findastudymobile p a {
  background-color: #FDC82F;
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  color: #000000;
  padding: 10px 15px;
  margin: 10px 0 20px 0;
  display: inline-block;
  text-decoration: none;
  background-image: none;
  box-shadow: none;
  transition: none;
}
#block-findastudymobile p a:hover {
  color: #fff;
  background-color: #003087;  
} 

@media screen and (min-width: 1023px) {
  #block-findastudymobile {
    display: none;
  }
}

/* Menu for all pages but front */

ul#sitemenuFR, ul#sitemenuEN {
  list-style: none;
  display: block;
  margin: 0 0 0 9px;
  margin: 0;
  padding: 14px 0;

}

ul#sitemenuFR li, ul#sitemenuEN li {
  border-left: none;
  font-size: 18px;
  padding: 0 9px 0 0;
  display: inline;
}

ul#sitemenuEN li:nth-child(1), ul#sitemenuEN li:nth-child(1) {
  display: none;
}
ul#sitemenuFR li:nth-child(1), ul#sitemenuEN li:nth-child(1) {
  display: none;
}

@media screen and (min-width: 1023px) {
  ul#sitemenuFR li, ul#sitemenuEN li {
    display: inline;
    border-left: 1px solid #2A2A2A !important;
    font-size: 18px;
    padding-left: 9px;  
  }
  ul#sitemenuFR, ul#sitemenuEN {
    list-style: none;
    display: inline;
    margin: 0  0 0 9px;
    padding: 0;
  }
  ul#sitemenuFR li:nth-child(1), ul#sitemenuEN li:nth-child(1) {
    display: inline-block;
  }
}

div.menuholder a.call {
  display: block;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  background-image: none;
  box-shadow: none;
  transition: none;
}

a.call span {
  padding: 10px 0 0 35px;
  background: #eee url("images/phone--purple.png") no-repeat 10px center;
  display: block;
}

@media screen and (min-width: 1023px) {
  div.menuholder a.call {
    padding: 0px;
    display: inline;
    font-size: 20px;
    text-decoration: none;
    background-image: none;
    box-shadow: none;
    transition: none;
  }
  a.call span {
    padding: 0px 0 0 35px;
    background: #eee url("images/phone--purple.png") no-repeat 10px center;
    display: inline-block;
  }
}


/* START authenticated users interface */

#block-asc-pr-local-tasks ul.primary {
  list-style: none;
  display: inline-block;  
  margin: 20px;
  padding: 6px 20px;
  background-color: #f1f1f1;
  border-radius: 4px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);  
}
#block-asc-pr-local-tasks ul.primary > li {
  display: inline-block;
}
#block-asc-pr-local-tasks ul.primary > li > a {
  font-family: "Roboto";
  font-weight: 400;
  display: inline-block;
  padding: 0 10px;
  margin: 0 6px;
}

body.path-user .layout-content {
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}
form.user-login-form {
  padding: 20px;
  background-color: #f1f1f1;
  border-radius: 10px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);  
  margin: 20px;
  font-size: 16px;
}
form.user-login-form div.form-item {
  padding: 12px 0;
}
form.user-login-form label {
  font-weight: 600;
  text-transform: uppercase;
  padding-right: 12px;
}
form.user-login-form input {
  padding: 10px;
  font-size: 16px;
}
form.user-login-form .button {
  padding: 10px;
  font-size: 16px;
  color: #fff;
  background-color: #5C068C;
}

/* END authenticated users interface */

/* content maxes at 1400 px */

/* page banner */


#block-views-block-banner-for-page-block-1 {
  background-color: rgba(0, 48,135,.71);
  width: 100%;
  text-align: center;
  line-height: 0;
  padding: 0;
  margin: 0;
}
#block-views-block-banner-for-page-block-1 img {
  width: 100%;
  height: auto;
  margin: 0 auto;

}  

/* main page banner */

#block-views-block-main-page-banner-block-1 {
  background-color: rgba(0, 48,135,.71);
  width: 100%;
  line-height: 0;
  padding: 0;
  margin: 0;
}
#block-views-block-main-page-banner-block-1 img {
  width: 100%;
  height: auto;
}
#block-views-block-main-page-banner-block-1 div.mainbanner > div {
  width: 100%;
  height: auto;
  margin: 0 auto;
  position: relative;
} 
#block-views-block-main-page-banner-block-1 div.banneroverlay {
  background-color: #003087;
  color: #fff;
  position: relative;
  margin: 0 auto;
}
#block-views-block-main-page-banner-block-1 div.banneroverlaytext {
  background-color: #003087;
  color: #fff;
  font-family: 'Assistant';
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  line-height: 140%;  
  width: 100%;
  padding: 10px 2.5em 10px 2.5em;
  box-sizing: border-box;
} 

@media screen and (min-width: 1023px) {

  #block-views-block-main-page-banner-block-1 div.banneroverlay {
    position: absolute;
    color: #fff;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
  }

  #block-views-block-main-page-banner-block-1 div.banneroverlaytext {
    position: absolute;
    color: #fff;
    background-color: transparent;
    left: 40px;
    bottom: 20%;
    font-family: 'Assistant';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 150%;  
    width: 50%;
  } 
  #block-views-block-main-page-banner-block-1  h1 {
    font-family: 'Assistant';
    font-style: normal;
    font-weight: 700;
    font-size: 48px;
    line-height: 85px;
    color: #fff;  
    position: absolute;
    left: 40px;
    bottom: 2.5%;
  }
  /* end section */
}

main {
  max-width: 1400px;
  margin: 20px auto 0 auto;
  display: block;
  box-sizing: border-box; 
  padding: 0 2.5em;
}

div.layout-content {
  width: 100%;
  box-sizing: border-box;
}
div.layout-content-sidebar {
  width:100%;
}
aside.layout-sidebar-first {
  width: 100%;
}
@media screen and (min-width: 640px) {
  main {
    display: flex;
    justify-content: space-between;
  }
  div.layout-content-sidebar {
    width: 63%;
    padding: 0 40px 0 0;
  }
  aside.layout-sidebar-first {
    width: 35%;
  }
}
@media screen and (min-width: 1024px) {
  main {
    display: flex;
    justify-content: space-between;
  }
  div.layout-content-sidebar {
    width: 73%;
    padding: 0 40px 0 0;
  }
  aside.layout-sidebar-first {
    width: 25%;
  }
}


#views-exposed-form-study-sort-page-1 {
  /* margin: 20px; */
}

#views-exposed-form-study-sort-page-1 {
  /* display: flex; */
  list-style: none;
  flex-direction: row;
  flex-wrap: wrap;
  box-sizing: border-box;
  font-size: 15px;
  background-color: #fff
}
#views-exposed-form-study-sort-page-1 div.js-form-type-textfield {
    width: 100%;
    margin: 20px auto;
    box-sizing: border-box;
    text-align: center;
    order: 1;
}
#views-exposed-form-study-sort-page-1 div.js-form-type-textfield input {
  font-size: 18px;
  padding: 5px;
  font-family: 'Assistant', sans-serif;
  margin-left: 10px;
  position: relative;  
}

#views-exposed-form-study-sort-page-1 div.js-form-type-textfield label {
  font-size: 18px;
  font-weight: 700;
}

#views-exposed-form-study-sort-page-1 span.fieldset-legend {
  font-size: 18px;
  font-weight: 700;
}

/* advanced options */

details#edit-secondary--6 {
  width: 100%;
}
details#edit-secondary--6 summary {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}
details#edit-secondary--6:hover {
  cursor: pointer;
}
details#edit-secondary--6 summary {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

div#filterbox input.form-checkbox + label {
  font-size: 18px;
  padding: 10px;
  margin: 4px 4px 4px 0;
  border: 1px solid #003087;
  background-color: white;
  color: #003087;
  border-radius: 6px;  
  display: inline-block;
}
div#filterbox input.form-checkbox:hover + label {
  border: 1px solid #003087;
  background-color: #eee;
  color: #000;

}
div#filterbox input.form-checkbox:checked + label {
  font-size: 18px;
  padding: 10px;
  margin: 4px 4px 4px 0;
  border: 1px solid #003087;
  background-color: #003087;
  color: #fff;
  border-radius: 6px;  
  display: inline-block;
}
/* hide checkboxes */
div.form-checkboxes {
  display: block;
}
div.js-form-type-checkbox { 
  display: inline-block;
}
div#filterbox input.form-checkbox {
  /* Add if not using autoprefixer */
  -webkit-appearance: none;
  appearance: none;
  /* For iOS < 15 to remove gradient background */
  background-color: #fff;
  /* Not removed via appearance */
  margin: 0;
  display: none; /* safari mobile */
}


@media screen and (max-width: 1023px) {
  div#filterbox {
    display: flex;
    flex-direction: column;
    /* background-color: #003087; */
    /* display: grid; 
    grid-template-columns: 1fr; 
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr; 
    gap: 0px 0px; 
    grid-template-areas:
    "five"
    "four"
    "one"
    "two"
    "three" */
  }

  /* age */
  div#filterbox div.fieldset_container:nth-child(1) {
    box-sizing: border-box;
    padding: 20px;
    order: 3;  
    margin: 5px;
    background-color: #E2EEF9;
    border-radius: 8px;
    padding: 10px;
  }
  /* study type */
  div#filterbox div.fieldset_container:nth-child(2) {
    box-sizing: border-box;
    order: 4;
    margin: 5px;
    background-color: #E2EEF9;
    border-radius: 8px;
    padding: 10px;  
  }
  /* study format */
  div#filterbox div.fieldset_container:nth-child(3) {
    box-sizing: border-box;
    order: 5;
    margin: 5px;  
    background-color: #E2EEF9;
    border-radius: 8px;
    padding: 10px;  
  }
  /* location */
  div#filterbox div.fieldset_container:nth-child(4) {  
    box-sizing: border-box;
    order: 2;
    margin: 5px;  
    background-color: #E2EEF9;
    border-radius: 8px;
    padding: 10px;
  }
  /* target population */
  div#filterbox div.fieldset_container:nth-child(5) {
    box-sizing: border-box;
    order: 1;
    margin: 5px;  
    background-color: #E2EEF9;
    border-radius: 8px;
    padding: 10px; 
  }
}

@media screen and (min-width: 1024px) {

  div#filterbox {
  display: grid; 
  grid-template-columns: 1.55fr 1.55fr 1fr; 
  grid-template-rows: 1fr 1fr 1fr; 
  gap: 0px 0px; 
  grid-template-areas:
    "five four one"
    "five four two"
    "five four three";
    border-radius: 8px;
    border: 2px #003087 solid;
  }
  #edit-secondary--6 label.option {
    font-weight: bold;
  }
  #edit-secondary--6 label.option:hover {
    text-decoration: underline;
  }
  /* age */

  div#filterbox div.fieldset_container:nth-child(1) {
    box-sizing: border-box;
    padding: 20px;
    border: 1px solid #ccc;
    /* width: 15%; */
    grid-area: one;  
    margin: 5px;
    background-color: #E2EEF9;
    border-radius: 8px;
  }

  /* study type */

  div#filterbox div.fieldset_container:nth-child(2) {
    box-sizing: border-box;
    display: inline-block;
    padding: 20px;
    border: 1px solid #ccc;
    /* width: 15%; */
    grid-area: two;  
    margin: 5px;
    background-color: #E2EEF9;
    border-radius: 8px;  
  }

  /* study format */

  div#filterbox div.fieldset_container:nth-child(3) {
    box-sizing: border-box;
    padding: 20px;
    border: 1px solid #ccc;
    /* width: 15%; */
    grid-area: three;  
    margin: 5px;  
    background-color: #E2EEF9;
    border-radius: 8px;  
  }

  /* location */

  div#filterbox div.fieldset_container:nth-child(4) {  
    box-sizing: border-box;
    padding: 20px;
    border: 1px solid #ccc;
    /* width: 20%; */
    grid-area: four;
    margin: 5px;  
    background-color: #E2EEF9;
    border-radius: 8px;  
  }
  /* target population */

  div#filterbox div.fieldset_container:nth-child(5) {
    box-sizing: border-box;
    padding: 20px;
    border-radius: 4px;
    /* width: 35%;   */
    grid-area: five;
    border: 1px solid #ccc;    
    margin: 5px;  
    background-color: #E2EEF9;
    border-radius: 8px;  
  }

  #block-asc-pr-content header h3 {
    text-align: center;
  }
}


/* apply and reset button */

#edit-actions--6 {
  clear: both;
  margin: 18px auto;
  width: 100%;
  padding-left: 4px;
  box-sizing: border-box;
  text-align: center;
}

#edit-actions--6 input#edit-submit-study-sort {
  font-size: 16px;
  font-weight: 700;
  color: #000;
  background-color:#FDC82F;
  padding: 10px 20px;
  border: none;
  border-radius: 2px;
}

#edit-actions--6 input#edit-reset--6 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background-color:#ff0000;
  padding: 10px 20px;
  border: none;
  border-radius: 2px;
}

#edit-actions--6 input#edit-submit-study-sort:hover {
  background-color:#003087;
  color: #fff;
}
#edit-actions--6 input#edit-reset--6:hover {
  background-color:#003087;
  color: #fff;
}


/* layout for studies */


div.item-list ul.studylist {
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  margin: 0 0 10px 0;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
}
div.item-list ul > li.studybox {
  border: 2px solid rgba(0, 0, 0, 0.2);
  background-color: #fff;
  box-sizing: border-box;
  border-radius: 4px;
  list-style: none;
  width: 100%;
  margin-bottom: 55px;
}


@media screen and (min-width: 768px) and (max-width: 1279px) {
  div.item-list ul > li.studybox {
    border: 2px solid rgba(0, 0, 0, 0.2);
    background-color: #fff;
    box-sizing: border-box;
    border-radius: 4px;
    list-style: none;
    width: 48%;
    margin-bottom: 55px;
  }
  div.item-list ul > li.studybox:nth-child(even) {
    margin: 0 2% 55px 2%;
  }
}

@media screen and (min-width: 1280px) {
  div.item-list ul > li.studybox {
    border: 2px solid rgba(0, 0, 0, 0.2);
    background-color: #fff;
    box-sizing: border-box;
    border-radius: 4px;
    list-style: none;
    width: 32%;
    margin-bottom: 55px;
  }
  div.item-list ul > li.studybox:nth-child(even) {
    margin: 0 0 55px 0;
  }   
  div.item-list ul > li.studybox:nth-child(3n+2) {
    margin: 0 2% 55px 2%;
  }
 
}



li.studybox div.clinical_study {
  font-size: 16px;
  font-weight: 600;
  padding: 8px 0 12px 42px;
  background:  #F5F5F5 url("images/clinical_study.svg") no-repeat 10px center;
  background-size: 18px auto;  
}
li.studybox div.observational_study {
  font-size: 16px;
  font-weight: 600;
  padding: 8px 0 12px 42px;
  background:  #F5F5F5 url("images/observational_study.svg") no-repeat 10px center;
  background-size: 32px auto;  
}
li.studybox div.location_summary {
  font-size: 16px;
  font-weight: 600;
  padding: 6px 0 12px 42px;
  background:  #F5F5F5 url("images/location_icon.svg") no-repeat 10px center;
  background-size: 22px auto;
}

li.studybox div.views-field-title {
  display: flex;
  align-items: flex-start;
}

li.studybox div.views-field-title h2 {
  font-family: 'Assistant';
  font-style: normal;
  font-weight: 600;
  font-size: 26px;
  line-height: 32px;
  color:#003087;
  padding-left: 60px;
  padding-right: 20px;
  margin-top: 10px;
}

@media screen and (min-width: 768px) {
  li.studybox div.views-field-title h2 {
    font-family: 'Assistant';
    font-style: normal;
    font-weight: 600;
    font-size: 32px;
    line-height: 42px;
    color:#003087;
    padding-left: 60px;
    padding-right: 20px;
    margin-top: 10px;
  }
}




li.studybox div.views-field-title h2 a {
  text-decoration: none;
  background-image: none;
  box-shadow: none;
  transition: none;
}
li.studybox div.views-field-title h2 a {
  color:#003087;
  text-decoration: none;
}
li.studybox div.views-field-title h2 a:hover {
  color:#003087;
  text-decoration: underline;
}



h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  padding: 0;
}

li.studybox div.study_description {
  border-left: 40px solid #003087;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 10px 20px;  
}
li.studybox div.study_criteria {
  border-left: 40px solid #7A91C3;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 10px 20px;  
}
div.study_criteria ul {
  margin-left: 10px;
  padding: 10px 0 0 10px;
  list-style-type: disc
}
li.studybox div.study_end_date {
  border-left: 40px solid #FDC82F;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 10px 20px;     
}
li.studybox div.views-field-view-node {
  border-left: 40px solid #333;
  text-align: left;
  margin-bottom: 20px;
  padding: 0 20px;    
}

li.studybox div.views-field-view-node a {
  background-color: #FDC82F;
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  color: #000000;
  padding: 20px 30px;
  display: inline-block;
  text-decoration: none;
  background-image: none;
  box-shadow: none;
  transition: none;
  align-items: flex-end;
}
li.studybox div.views-field-view-node:hover a {
  color: #fff;
  background-color: #003087;  
} 

/* Buttons at bottom of page */

#block-views-block-asc-linking-buttons-block-1 {
  margin: 0 auto;
  box-sizing: border-box;
  max-width: 1400px;
  padding: 0 2.5em;
}

#block-views-block-asc-linking-buttons-block-1 ul.asclinks {
  list-style: none;
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  box-sizing: border-box;
  margin: 20px auto;
  padding: 0; 
  justify-content: space-between; 
}

#block-views-block-asc-linking-buttons-block-1 ul.asclinks li {
  text-align: center;
  box-sizing: border-box;
  width: 48.5%;
  padding: 12px 24px;
  background-color: #E2EEF9;
  border-radius: 10px;
  display:flex;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
}

#block-views-block-asc-linking-buttons-block-1 ul.asclinks li a {
  color: #000;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  width: 100%;
  text-align: center;  
}

@media screen and (min-width: 768px) {
  #block-views-block-asc-linking-buttons-block-1 ul.asclinks li {
    width: 24.25%;
    padding: 20px 40px;
    margin-bottom: 0;
  }
  #block-views-block-asc-linking-buttons-block-1 ul.asclinks li a {
    font-size: 20px;
  }
}

#block-views-block-asc-linking-buttons-block-1 ul.asclinks li div {
  width: 100%;
}

#block-views-block-asc-linking-buttons-block-1 ul.asclinks li:nth-child(1), #block-views-block-asc-linking-buttons-block-1 ul.asclinks li:nth-child(2), #block-views-block-asc-linking-buttons-block-1 ul.asclinks li:nth-child(3) {
  margin-right: 1%;
}




/* quick searches */

#block-quicksearches h2 {
  font-size: 24px;
  text-align: center;
}

#block-quicksearches ul.quicklinks {
  list-style: none;
  display: flex;
  width:100%;
  flex-wrap: wrap;
  box-sizing: border-box;
  margin: 20px auto;
  padding: 0; 
  justify-content: space-between; 
}
#block-quicksearches ul.quicklinks li {
  text-align: center;
  box-sizing: border-box;
  width: 46%;
  padding: 12px 24px;
  background-color: #FDC82F;
  border-radius: 10px;
  display: flex;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
}

#block-quicksearches ul.quicklinks li a {
  color: #000;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  display: block;
  width: 100%;
  text-align: center;
  background-image: none;
  box-shadow: none;
  transition: none;
}

@media screen and (min-width: 768px) {
  #block-quicksearches ul.quicklinks li {
    width: 23%;
    padding: 20px 40px;
    margin-bottom: 0;
  }
  #block-quicksearches ul.quicklinks li a {
    font-size: 20px;
  }
}


#block-quicksearches ul.quicklinks li div {
  width: 100%;
}



#block-quicksearches ul.quicklinks li:hover {
  background-color:#003087
}
#block-quicksearches ul.quicklinks li:hover a {
  color: #fff;
}

/* individual study block view */

#block-views-block-study-page-block-1, #block-views-block-study-page-fr-block-1 {
  background-color: #fff;
}

#block-views-block-study-page-block-1 h2, #block-views-block-study-page-fr-block-1 h2 {
  font-size: 24px;
  color: #003087;
}

#block-views-block-study-page-block-2-2, #block-views-block-study-page-fr-block-2 {
  background-color: #E2EEF9;
  padding: 20px;
  border-radius: 6px;
}



#block-views-block-study-page-block-2-2 h2,  #block-views-block-study-page-fr-block-2 h2 {
  font-size: 20px;
  color: #003087;
}
#block-views-block-study-page-block-2-2 .views-field-field-physical-location,  #block-views-block-study-page-fr-block-2 .views-field-field-physical-location {
  font-weight: 600;
}
#block-views-block-study-page-block-2-2 .study-format-side,  #block-views-block-study-page-fr-block-2 .study-format-side {
  margin-bottom: 0px;
}

#block-views-block-study-page-block-2-2 .views-field-field-location, #block-views-block-study-page-fr-block-2 .views-field-field-location {
  margin-top: 20px;
}

#block-views-block-study-page-block-3, #block-views-block-study-page-fr-block-3 {
  display: block;
  margin: 20px 0;
}

#block-views-block-study-page-block-3 a,  #block-views-block-study-page-fr-block-3 a {
    background-color: #FDC82F;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    color: #000000;
    padding: 20px 30px;
    display: inline-block;
    text-decoration: none;
    background-image: none;
    box-shadow: none;
    transition: none;
  }
  #block-views-block-study-page-block-3 a:hover, #block-views-block-study-page-fr-block-3 a:hover {
    color: #fff;
    background-color: #003087;  
  } 

main a, footer a, .pagetopright a, .pagebottomleft a, .menuholder a {
  background-image: linear-gradient(120deg, #FFB819 0%, #FFB819 100%);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 0;
  box-shadow: inset 0 -2px #FFB819;
  color: #003087;
  text-decoration: none;
  transition: background-size .125s ease-in;
}

main a:hover, footer a:hover, .pagetopright a:hover, .pagebottomleft a:hover, .menuholder a:hover {
  background-size: 100% 100%;
}




/* footer areas */

div.fullwidthdarkblue {
  width: 100%;
  background-color:#003087;
  color: #fff;
}

div.pagebottom {
  max-width: 1400px;
  padding: 10px 2.5em;
  margin: 0 auto;
  box-sizing: border-box;
}

div.pagebottomleft {
  font-size: 16px;
  width: 100%;
  line-height: 1.65;
  margin-top: 20px;
}
div.pagebottomright {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  margin-top: 20px;
}
.footer2 {
  text-align: left;
  max-width: 1400px;
  margin: 0 auto;
  font-size: 14px;
  padding: 10px 2.5em;
}

@media screen and (max-width: 480px) {
  div.pagebottomleft a.footer_phone::before {
    content:"\a";white-space:pre;
  }
}

@media screen and (min-width: 800px) {
  div.pagebottom {
    display: flex;
  }
  div.pagebottomleft {
    font-size: 18px;
    width: 50%;
    line-height: 1.65;
    margin-top: 20px;
  }
  div.pagebottomright {
    display: flex;
    width: 50%;
    justify-content: flex-end;
    margin-top: 20px;
  }
  .footer2 {
    text-align: right;
    max-width: 1400px;
    margin: 0 auto;
    font-size: 18px;
    padding: 10px 2.5em;
    box-sizing: border-box;
  }
}

div.pagebottomleft a {
  color: #fff;
}

div.pagebottomleft a:hover {
  color: #000;
}

div.pagebottomleft img {
  max-width: 200px;
  height: auto;
}



/* social media icons */

.socials__society-socials-blocks {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 1em;
}


.socials__society-socials-blocks h2 {
    margin-top: 0;
    margin-right: 1em;
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 400;
    color: white;
    display: inline;
}

@media screen and (min-width: 768px) {
  .socials__society-socials-blocks h2 {
    font-size: 18px;
  }
}

.socials__society-socials-blocks ul {
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 0;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
}
.socials__society-socials-blocks ul li {
  font-size: 1.125em;
}
.socials__society-socials-blocks ul li {
  list-style-type: none;
  line-height: 1.15;
  margin-right: 1em;
}
.socials__society-socials-blocks ul li a.socials {
  text-indent: -999em;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% auto;
  display: inline-block;
}
.socials__society-socials-blocks ul li a.socials.socials--facebook {
  background-image: url(images/facebook--white.png);
  width: 12.8833px;
  height: 22.7833px;
}
.socials__society-socials-blocks ul li a.socials.socials--twitter {
  background-image: url(images/twitter--white.png);
  width: 28.7333px;
  height: 22.7833px;
}
.socials__society-socials-blocks ul li a.socials.socials--instagram {
  background-image: url(images/instagram--white.png);
  width: 23px;
  height: 22.7833px;
}
.socials__society-socials-blocks ul li a.socials.socials--youtube {
  background-image: url(images/youtube--white.png);
  width: 32.3333px;
  height: 22.7833px;
}
.socials__society-socials-blocks ul li a.socials.socials--linkedin {
  background-image: url(images/linkedin--white.png);
  width: 23.8338px;
  height: 22.7833px;
}

/* contact us form */


*[id^='webform-submission-'] label, *[id^='webform-submission-'] legend {
  font-size: 16px;
  font-weight: bold;
  display: block;
  margin-top: 10px;
}

*[id^='webform-submission-'] input.form-checkbox {
  float: left;
  width: 20px;
  height: 20px;
  margin-right: 12px;
}
*[id^='webform-submission-'] div.js-form-type-textfield input, *[id^='webform-submission-'] div.js-form-type-email input {
  font-size: 16px;
  font-family: 'Assistant', sans-serif;
  padding: 5px;
  width: 90%;
}
*[id^='webform-submission-'] div.js-form-type-textarea textarea {
  font-size: 16px;
  font-family: 'Assistant', sans-serif;
  padding: 5px;
  width: 90%;  
}

@media screen and (min-width: 768px) {
  *[id^='webform-submission-'] div.js-form-type-textfield input, *[id^='webform-submission-'] div.js-form-type-email input {
    width: 60%;
  }
  *[id^='webform-submission-'] div.js-form-type-textarea textarea {
    width: 60%;  
  }
}



*[id^='webform-submission-'] h3 {
  margin: 10px 0;
}

*[id^='webform-submission-'] option, *[id^='webform-submission-'] select  {
  font-size: 16px;
  font-family: 'Assistant', sans-serif;
  padding: 5px;
}
*[id^='webform-submission-'] input#edit-submit {
  font-size: 16px;
  font-weight: bold;
  background-color:#FDC82F;
  border: none;
  padding: 10px 20px;
  margin: 20px 0;
}
*[id^='webform-submission-'] input#edit-submit:hover {
  background-color: #003087;
  color: white;
}

/* accordion changes */


div.ui-accordion-header a {
  font-weight: 600;
  font-size: 18px;
}

div.ui-accordion-content {
  background-color:#f1f1f1;
  border-radius: 10px;
  padding: 8px;
  margin: 6px 40px;
}

.form-required::after {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 0.3em;
  content: "";
  vertical-align: super;
  background-image: url(images/required.svg);
  background-repeat: no-repeat;
  background-size: 6px 6px;
}
/* Form error styles. */
.form-item textarea.error + .cke {
  border: 2px solid red;
}

/* Form error message styles. */
.form-item--error-message {
  color: #e32700;
}

input#edit-study-name {
  border: none;
  color:#003087;
  font-weight: bold;
  font-size: 18px;
}

/* pageer */

ul.js-pager__items {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  text-align: center;
}

ul.js-pager__items {
  list-style: none;
  font-size: 20px;
}

/* disclaimer for study pages */

#block-views-block-disclaimer-for-studies-block-1, #block-views-block-disclaimer-for-studies-block-2 {
  font-size: 14px;
  margin: 40px 0;
}