/* Custom styles for My Basis Subtheme */

/* Fonts*/

body  {
  font-family: "Calibri", sans-serif;
  font-size:18px!important;
}

header, footer {
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
}


h1,h2,h3,h4,h5,h6 {
  font-weight: 600;
  color:#444;
  font-family: "Calibri", sans-serif;
}
h1 {
  font-size: 1.714em;
  margin: 0 0 20px;
}

h2 {
  font-size: 1.286em;
}

h3 {
  font-size: 1.286em;
}

h4 {
  font-size: 1em;
}

h5 {
  font-size: 0.857em;
}

h6 {
  font-size: 0.714em;
}




/* Apply styles to strong elements that are not inside a elements */
strong:not(a strong) {
  font-weight: 600;
  color: #000;
}


/* Site Header */

.header-site-name-link {
  font-weight: bold;
}
.header-logo-wrapper {
  float:initial;
  max-width: initial;
  width: 100%;
  margin: 0 auto;
  height: auto;;
}

.header-logo {
  width: 100%;
  height: auto;
}

.header-identity-wrapper {
  width: 100%;
}

.header-site-name-wrapper {
  margin: 0 auto;
  width: 100%;
}

/* Site Footer */

footer {
  text-align: center!important;
}

/* Links */

.more-link {
  text-align: right;;
}

footer a {
  color: white;
  font-weight: 600;
}

/* Layout regions and rows */

.mst_homepage_top_left_and_right,
.mst_homepage_content_and_sidebar,
.mst_homepage_content_bottom {
  border-bottom: dashed #666 1px;
  padding-bottom: 20px;
  margin-bottom: 20px;;
}


/* images */

.l-region--content-bottom-left img, 
.l-region--content-bottom-right img,
.l-region--content-bottom img,
.l-region--content img,
.l-content img
 {
  border: 1px solid #CCCCCC;
  padding: 6px;
  margin: 0.5em 1em 0.5em 1em;
  height: auto!important;
  max-width: calc(100% - 2em);

  /* Make images responsive 
  float:none!important;
  width:100%!important;
  */
}

/* Videos */ 

div.view-id-home_page_videos .views-row {
  text-align: center;
}

/* blocks */
.block {
  clear:both;
}

.block-block-5 {
  padding: 10px;
  background: #F2F5A9;
  border-radius: 10px;
  }

.l-region--content-sidebar .block-block-1,
.l-sidebar .block-block-1 {
  text-align: center;;
}

.l-region--content-sidebar .block .block-title,
.l-sidebar .block a {
  color: #eee;
}

.l-region--content-sidebar .block,
.l-sidebar .block {
  background: #3f3f3f;
  color: #fff;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 20px;
}
.l-region--content-sidebar .block .block-title,
.l-sidebar .block .block-title {
  color: #fff!important;
  text-align: center;
 }

.l-region--content-sidebar .block-search-form .form-actions,
.l-sidebar .block-search-form .form-actions {
  text-align: center;;
}

.l-region--content-sidebar .block-search-form input,
.l-sidebar .block-search-form input {
  width: 100%;
  margin-bottom: 10px;  
}

.l-region--content-bottom-left .block, 
.l-region--content-bottom-right .block {

  background-color: #eee;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 10px;

 }


  /* Menu fix  so they will all fit on one line*/
  /* Media query for screen sizes above 1200px */
  @media (min-width: 62em) {
    .l-header .menu > li {
      font-size: 1.100em;
    }
  }

/* Home page nivo slider */
.views-field-field-home-slide img {
  border-radius: 10px;
  border: #fff solid 1px;
  box-shadow: #888 5px 5px 6px;
}


