/*
Theme Name: DSO
Theme URI: https://oceanwp.org/
Description: Child theme based on OceanWP WordPress theme.
Author: DSO-ORPHE.ca
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

.accesibility-container {
  max-width: 1140px;
  width: 100%;
  display: flex;
  margin-right: auto;
  margin-left: auto;
  padding-right: 10px;
  padding-left: 10px;
}

#mce-success-response {
  display: block;
}

#mc_embed_signup div.mce_inline_error {
  display: none !important ;
}

#mce-success-response:focus{
  border-style: solid;
  border-width: 2px;
  border-color: #2ecc71;
}


 #mc_embed_signup .button {
  font-size: 2.8rem; /* 28px; */
  border-radius: 5px;
  height: 70px;
  background-color: #6B20BA;
  text-transform: none;
}

#mc_embed_signup .button:hover {
  background-color: #20BAB8;
}

 .indicates-required {
  font-size: 2.8rem; /* 28px; */
  float: right;
 }

 #mc_embed_signup .asterisk {
  color: #BA2022 !important;
 }
 
 #mc_embed_signup #mc-embedded-subscribe-form input.mce_inline_error {
  border: 2px solid #BA2022 !important;
}

#wp-admin-bar-edit {
  /* display: none; */
}

#mc_embed_signup .mc-field-group input {
  font-size: 2.8rem; /* 28px; */
  height: 80px;
  border-color: #282828;
  border-width: 2px;
  border-radius: 5px;
  text-transform: none;
}

.logo-section {
  padding-top: 23px;
  padding-bottom: 61px;
}

.dso-logo-img {
  height: 100px;
  z-index: 0;
}

.boxed {
  width: 1140px;
  margin: 0 auto;
}

#mc_embed_signup .mc-field-group {
  clear: left;
  position: relative;
  width: 100%;
  padding-bottom: 36px;
  min-height: 50px;
  display: grid;
}

.visually-hidden {
  position: absolute !important;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  word-wrap: normal;
}

#site-header {
  margin-bottom: 20px;
  border-bottom: 0;
}

#site-header-inner {
  max-width: 1140px;
  /* padding-right: 40px; */
  width: 100%;
}

#site-navigation-wrap {
  right: 0px;
}

.accessibility-and-language-panel {
  font-size: 2rem; /* 20px; */
  color: white;
  width: 100%;
  height: 122px;
  background-color: #6B20BA;
  display: flex;
  align-items: center;
  
  font-family: var( --e-global-typography-text-font-family ), "Open Sans", sans-serif;
  /* justify-content:center; */
}

body {
  font-family: var( --e-global-typography-text-font-family ), "Open Sans", sans-serif;
  /* color: var( --e-global-color-text ); */
}

.accessibility-controls {
  display: flex;
  width: 1140px;
}

.accessibility-img {
  vertical-align: middle;
  width: 50px;
  margin-right: 18px;
}

#site-navigation-wrap .dropdown-menu>li>a {
  color: #6B20BA;
}

#site-navigation-wrap .dropdown-menu>li>a:hover {
  color: #20BAB8 !important;
}

.flc-slidingPanel-toggleButton {
  display: flex;
  align-items: center;;
}

/* size of menu items */
#mobile-nav {
  font-size: 3.0rem;
}

.flc-toc-tocContainer {
  padding-top: 15px;
}

.flc-toc-tocContainer a {
  font-size: 2.8rem;
}

.flc-prefsEditor-reset {
  font-size: 2em;
  margin: 1rem;
}

.flc-slidingPanel-toggleButton a.header--preferences-button {
  font-size: 2.5rem; /* 25px; */
  color: white !important;
  cursor: pointer;
  text-decoration: none;
}

#footer-bottom  {
  font-size: 2.2rem; /* 22px; */
  font-family: var( --e-global-typography-text-font-family ), "Open Sans", sans-serif;
}

#mc_embed_signup form {
  margin: 0 !important;
}

#mc_embed_signup{
  font-size: 2.2rem; /* 22px; */
  background:#fff; margin: 0; 
  width: 75%; clear:left; 
  font-family: var( --e-global-typography-text-font-family ), "Open Sans", sans-serif;
}

#mc_embed_signup form {
  margin: 0;
}

#footer-bottom.no-footer-nav #copyright {
  line-height: 3rem;
}

.search-toggle-li {
  display: none;
}

#mobile-menu-search {
  display: none !important;
}


.lang-button {
  font-size: 2.5rem; // 25px

  float: right;
  margin-left: auto;
  background-color: #20BAB8;
  color: black !important;

  border-radius: 5px;
  border-style: solid;
  border-width: 1px;
  border-color: #20BAB8;

  padding: 12px;
  padding-left: 45px;
  padding-right: 45px;
  display: block;
}

#footer-widgets {
  display: none !important;
}

.mobile-menu .oceanwp-text {
  display: none;
}

.mobile-menu .oceanwp-close-text {
  display: none !important;
}

@font-face {
  font-family: HindSiliguri;
  src: url(assets/fonts/Hind_Siliguri/HindSiliguri-Regular.ttf);
}

a.mobile-menu {
  text-decoration: none !important;
}


.mobile-menu.opened i.fa-bars::before {
  content: "\f00d";
}




.flc-slidingPanel-toggleButton[aria-expanded="false"] a::after {
  font-family: 'glyphs' !important;
  content: "\e901";
  margin-left: 10px;

  height: 100%;
  display: block;
  float: right;
  margin-top: 2px;
}

.flc-slidingPanel-toggleButton[aria-expanded="true"] a::after {
  font-family: 'glyphs' !important;
  content: "\e900";
  margin-left: 10px;
  height: 100%;
  display: block;
  float: right;
  margin-top: 2px;
}






/* mobile and tablet */
@media screen and (max-width: 959px) {

  #mc_embed_signup {
    width: 100%;
  }

  .boxed {
      max-width: 90%;
  }

  .lang-button {
    display: none;
  }

  .flc-slidingPanel-toggleButton {
    width: 100%;
  }

  .flc-slidingPanel-toggleButton a {
    width: 100%;
    text-align: center;
    width: 383px;
    margin: 0 auto;
  }

  #mc_embed_signup .button {
    width: 100%;
  }

  #site-header-inner {
    padding-right: 4rem;
  }

  h2 {
    font-size: 3.2rem !important;
  }

  h1 {
    font-size: 3.2rem !important;
  }
  
  #mobile-dropdown ul li a {
    line-height: 7rem;
    word-break: break-word;
  }

  #mobile-dropdown {
    position: absolute;
    top: 69px;
    z-index: 1;
  }

}

/* phone styles */
@media screen and (max-width: 768px) {

  .logo-section {
    padding-bottom: 0px;
  }

  .accessibility-controls {
    width: 100%;
  }

  .dso-logo-img {
    width: 100%;
    position: relative;
    top: 0;
    height: auto;
  }

  .footer-office-name {
    width: 100%;
    display: block;
  }

  .logo-section {
    padding-top: 15px;
  }
  
}


