/* cmsms stylesheet: Foundation modified: Friday, April 23, 2021 8:32:29 AM */

.no-js .title-bar, .no-js #topnav {
  display: none;
}

body {
  background-image: url(https://rainbow.staging.matthornsby.ca/uploads/TechBlogStyleeCMSMS/Page-BgGradient.jpg);
  background-repeat: repeat-x;
  margin: 0;
  font-family: Arial, "Sans Serif";
}

#container {
  background-image: url(https://rainbow.staging.matthornsby.ca/uploads/TechBlogStyleeCMSMS/Page-BgGlare.png);
  background-repeat: no-repeat;
  padding-top: 30px;
  padding-bottom: 30px;
}

#inner-container {
  border: 1px solid #0000A8;
  max-width: 864px;
  background: white;
  padding: 7px;
}

header {

  background-image: url(https://rainbow.staging.matthornsby.ca/images/cms/raja_boat_people.jpg);
  background-repeat: no-repeat;
  height: 200px;
  width: 100%;
  padding: 7px;
  background-size: cover;
  background-position: right center;
}

header img {
  max-width: 20%;
}

h1 {
  color: #0000A8;
  font-size: 1.75rem;
  font-family: "Comic Sans MS", Arial, "Sans Serif";
  line-height: 2.2rem;
  font-weight: bold;
  text-transform: uppercase;
}

h2 {
  color: #0000A8;
  font-size: 1rem;
  font-family: "Comic Sans MS", Arial, "Sans Serif";
  line-height: 0.8rem;
  font-weight: bold;
}

h3, h4, h5,h6 {
  font-weight: bold;
  font-family: "Comic Sans MS", Arial, "Sans Serif";
  text-transform: uppercase;
  font-size: 1.2rem;
  color: #204460;
}

h3 {
  margin-top: 0.5rem;
}

h5 {
  font-size: 1rem;
  color: #212b31;
}


:focus {outline:none !important;}
::-moz-focus-inner {border:0 !important;}

a {
  color: #73A6CB;
  transition: all 0.2s ease;
}

a:hover, a.menuactive {
  color: #3B7DB0;
}

.title-bar {
  background: #0000A8;
}

#topnav {
  background: #0000A8;
}

#topnav a {
  font-family: Arial, "Sans Serif";
  font-size: 0.75rem;
  color: #214763;
  background-color: #A9C1CE;
}

#topnav a:hover {
  color: #111518;
  background-color: #3B7DB0;
}

#topnav .menu>li.menudepth0>a, #topnav .menu>li.menu-text.menudepth0 {
  font-size: 0.75rem;
  color: white;
  text-transform: uppercase;
  font-weight: bold;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  background-color: #0000A8;
}

#topnav .menu>li.menudepth0>a:hover, #topnav .menu>li.menudepth0>a.menuactive {
  background: #3B7DB0;
}

#topnav .is-dropdown-submenu {
  background: #3B7DB0;
}

#homeblocks .column-block {
  padding: 0.25rem;
  margin-bottom: 0;
}

.homeblock {
  padding: 6px;
  position: relative;
}

.homeblock p {
  padding: 0.5rem 0;
  margin: 0;
}

.homeblock img, .imagebox {
  border: 2px solid black;
}

#content table img {
  min-width: 180px;
}

.calendar-event {
  margin-bottom: 1rem;
}

.month-block {
  min-height: 130px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.month-block a {
  color: black;
  font-size: 2rem;
  text-shadow: 1px 1px white;
  font-weight: bold;
}

.month-block a:hover {
  color: red;
}

.border {
  margin: 5px;
  border: black 2px solid;
}

div.website, div.website * {
  display: none !important;
}

/* Small only */
@media screen and (max-width: 39.9375em) {

  header {
    height: 150px;
    position: relative;
  }

  #header-text {
    position: absolute;
    bottom: 0;
  }

  header h1 {
    font-size: 1rem;
    margin: 0;
    line-height: normal;
  }

  header h2 {
    font-size: 0.8rem;
    line-height: normal;
  }

  header img {
    max-height: 50%;
    width: auto;
  }

  .homeblock {
    max-width: 190px;
    margin: 0 auto;
  }

  #content table {
    border-spacing: 1rem;
  }

  #content table td {
    display: table-row;
    text-align: center;
  }

  #content table td img {
    float: none !important;
  }

  #content a {
/* These are technically the same, but use both */
  overflow-wrap: break-word;
  word-wrap: break-word;

  -ms-word-break: break-all;
  /* This is the dangerous one in WebKit, as it breaks things wherever */
  word-break: break-all;
  /* Instead use this non-standard one: */
  word-break: break-word;

  /* Adds a hyphen where the word breaks, if supported (No Blink) */
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;

  }

}

/* Medium and up */
@media screen and (min-width: 40em) {}

/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {}

/* Large and up */
@media screen and (min-width: 64em) {}

/* Large only */
@media screen and (min-width: 64em) and (max-width: 74.9375em) {}
