@charset "UTF-8";
/* CSS Document */

body {
    font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
    font-size: 16px;
	line-height: 1.5;
    padding: 0;
    margin: 0;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

.responsive {
  max-width: 100%;
  height: auto;
}

/* Header */
header {
  background: #fffff;
  padding-top: 20px;
  padding-bottom: 25px;	
  min-height: auto;
}

header a {
  color: #9783B0;
  text-decoration: none;
  font-size: 16px;	
  font-weight: bold;
  padding: 0 10px 3px 10px;
}

header a:hover{
  color: #606060;
  font-weight: bold;
}

.flex-container-nav {
  display: flex;
  flex-direction: row;
  width: 80%;
  font-size: 20px;
  margin: auto;
  overflow: hidden;
  border: none;
}

.flex-item-left-nav {
  padding: 10px;
  flex: 10%;
}

.flex-item-right-nav {
  min-height: 120px;
  padding: 20px 0px 0px 60px;
  flex: 90%;
  font-size: 20px;
  font-weight: 700;
  text-align: left;
}

.dropdown {
  float: left;
  overflow: hidden;
  text-decoration: none;
  width: 150px;
}

.dropdown .dropbtn {
  font-size: 16px;  
  border: none;
  outline: none;
  color: #9783B0;
  background-color: inherit;
  font-family: inherit;
  font-weight: bold;
  text-align: left;
  width: 150px;
  padding: 0px 10px 3px 10px;
  text-decoration: none;
}

.dropdown a {
  text-decoration: none;
}

.dropdown:hover .dropbtn:hover {
  background-color: #ffffff;
}

.dropdown-content {
  display: none;
  position: relative;
  background-color: #ffffff;
  width: 150px;
  z-index: 1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  border: none;
  outline: none;
  color: #9783B0;
  padding: 0px 10px 3px 15px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #FFFFFF;
}

.flex-container-nav-med {
  display: flex;
  flex-direction: row;
  width: 100%;
  font-size: 20px;
  margin-top: 0px;
  height: auto;
  padding: 5px;
  overflow: hidden;
  border: none;
}

.flex-item-left-nav-med {
  flex: 10%;
  padding: 10px;
}

.flex-item-right-nav-med {
  flex: 90%;
  padding: 5px 0px 0px 10px;
  font-size: 20px;
  font-weight: 700;
  text-align: right;
}

.flex-container-nav-small {
  display: flex;
  flex-direction: row;
  width: 100%;
  font-size: 20px;
  margin-top: 0px;
  height: auto;
  padding: 5px;
  overflow: hidden;
  border: none;
}

.flex-item-left-nav-small {
  flex: 20%;
  padding: 10px;
}

.flex-item-right-nav-small {
  flex: 80%;
  padding: 10px 5px 0px 10px;
  font-size: 20px;
  font-weight: 700;
  text-align: right;
}

.flex-item-right-nav-small a {
  display: block;
}

.button {
  border: none;
  background-color: #FFFFFF;
  color: #9783B0;
  padding: 15px 20px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}

.menu {
  border: none;
  background-color: #FFFFFF;
  color: #9783B0;
  padding: 15px 20px;
  text-align: right;
  text-decoration: none;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}

.flex-item-right-nav-small .menu {
  flex: 20%;
}

.dropdown-small {
  float: right;
  overflow: hidden;
  text-decoration: none;
  width: 150px;
  display: none;
}

.flex-item-right-nav-small:hover .dropdown-small {
  display: block;
}

.flex-item-right-nav-small:hover .menu {
  display: none;
}

.dropdown-small:hover .dropdown-content-small {
  display: block;
}

.dropdown-small .dropbtn-small {
  font-size: 16px;  
  border: none;
  outline: none;
  color: #9783B0;
  background-color: inherit;
  font-family: inherit;
  font-weight: bold;
  text-align: right;
  width: 150px;
  padding: 0px 10px 3px 10px;
  text-decoration: none;
  display: block;
}

.dropdown-small a {
  display: block;
  text-decoration: none;
}

.dropdown-small:hover .dropbtn-small:hover {
  background-color: #ffffff;
}

.dropdown-content-small {
  display: none;
  background-color: #ffffff;
  width: 150px;
  z-index: 1;
}

.dropdown-small:hover .dropdown-content-small {
  display: block;
}

.dropdown-content-small a {
  border: none;
  outline: none;
  color: #9783B0;
  padding: 0px 15px 3px 10px;
  text-decoration: none;
  display: block;
  text-align: right;
}

.container {
  width: 80%;
  margin: auto;
  overflow: scroll;
}

.content {
  width: 100%;
  height: auto;
  padding: 10px;
  border: medium solid #9783B0;
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
}

.topleft {
  position: absolute;
  top: 30px;
  left: 40px;
  font-size: 30px;
  padding-right: 50%;
  color: #9783B0;
  font-weight: 800;
}

.topleftsmall {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 16px;
  padding-right: 50%;
  color: #9783B0;
  font-weight: 800;
}

.flex-container {
  display: flex;
  flex-direction: row;
  width: 100%;
  font-size: 20px;
  color: #606060;
  font-weight: 700;
  text-align: left;
  border: medium solid #9783B0;
  border-radius: 10px;
  margin-bottom: 20px;
  
}

.flex-item-left {
  display: flex;
  padding: 10px;
  flex: 30%;
  align-items: center;
}

.flex-item-right {
  padding: 10px;
  flex: 70%;
}

.flex-item-right a {
  color: #9783B0;
  text-decoration: none;
}

.flex-item-right a:hover {
  color: #606060;
  text-decoration: none;
}

.flex-item-rightsmall {
  padding: 10px;
  flex: 70%;
}

.flex-item-right-small a {
  color: #9783B0;
  text-decoration: none;
}

.flex-item-right-small a:hover {
  color: #606060;
  text-decoration: none;
}

.flex-item-right-small a {
  text-decoration:  none;
}


.leader a {
  color: #9783B0;
  text-decoration: none;
}

.leader a:hover {
  color: #606060;
}

/* Containers for the content pages */

.flex-container-top {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-height: 100px;
  font-size: 16px;
  line-height: 1.5em;
  color: #9783B0;
  font-weight: 700;
  text-align: left;
  padding: 10px;
  border: medium solid #9783B0;
  border-radius: 10px;
  margin-bottom: 10px;
}

.flex-container-top h1 {
  font-size: 24px;
  color: #9783B0;
  font-weight: 700;
  display: block;
}

.flex-container-top img {
  opacity: 0.2;
}

.flex-container-main {
  display: flex;
  flex-direction: row;
  width: 100%;
  font-size: 16px;
  line-height: 1.5em;
  color: #606060;
  font-weight: 700;
  text-align: left;
  border: none;
}

.flex-item-left-main {
  padding: 10px;
  flex: 20%;
  align-items: center;
  border: medium solid #9783B0;
  border-radius: 10px;
  margin-right: 10px;
  overflow: hidden;
}

.flex-container-main h1 {
  font-size: 20px;
  color: #705A8C;
  font-weight: 700;
}

.flex-container-main h2 {
  font-size: 16px;
  color: #705A8C;
  font-weight: 700;
}

.flex-container-main h3 {
  font-size: 16px;
  color: #9783B0;
  font-weight: 700;
}

.flex-item-right-main {
  flex: 80%;
  font-size: 16px;
  line-height: 1.5em;
  padding: 10px 10px 10px 20px;
  border: medium solid #9783B0;
  border-radius: 10px;
}

.flex-item-right-main a {
  color: #9783B0;
  text-decoration: none;
}

.flex-item-right-main h1 {
  color: #9783B0;
  font-size: 24px;
}

.flex-item-right-main h2 {
  font-size: 20px;
  color: #705A8C;
  font-weight: 700;
}

.flex-item-right-main h3 {
  font-size: 16px;
  color: #9783B0;
  font-weight: 700;
}

.flex-item-right-main a:hover {
  color: #606060;
  text-decoration: none;
}

.add {
  margin: 0px;
}

.column {
  float: left;
  width: 45%;
  padding: 0px 10px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Sets up element for hidden content */

#myDiv {
  display: hidden;
  width: 100%;
  font-size: 16px;
  line-height: 1.5em;
  background-color: rgba(190,177,205,0.15);
  color: #606060;
  font-weight: 700;
  text-align: left;
  padding: 10px 10px 10px 20px;
  margin-top: 10px;
  border: medium solid #9783B0;
  border-radius: 10px;
}

#toggle {
  width: 100%;
  min-height: 60px;
  background-color: #9783B0;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  border: medium solid #9783B0;
  border-radius: 10px;
}

#myDiv a {
  color: #9783B0;
  text-decoration: none;
}

#myDiv a:hover {
  color: #606060;
  text-decoration: none;
}

#myDiv h1 {
  font-size: 20px;
  color: #705A8C;
  font-weight: 700;
}

#myDiv h2 {
  font-size: 16px;
  line-height: 2;
  color: #705A8C;
  font-weight: 700;
}

#myDiv h3 {
  font-size: 16px;
  color: #9783B0;
  font-weight: 700;
}

/* Footer */
.footer {
  width: 100%;
  margin-top: 20px;
  padding: 20px;
  color: #ffffff;
  background-color: #9783B0;
  height: auto;
  text-align: center;
}
.footer a {
  float: none;
  color: #ffffff;
  text-decoration: none;
}

.footer a:hover{
  color: #606060;
  font-weight: bold;
}




/* Media queries */
 
/* Changes which elements display the navigation buttons in the header as screen size reduces */

@media screen and (max-width: 1279px) {
header {
  padding-top: 5px;
	}
}

@media screen and (max-width: 1279px) {
  div.flex-container-nav {
    display: none;
  }
}

@media screen and (min-width: 1280px) {
  div.flex-container-nav-med {
    display: none;
  }
}

@media screen and (max-width: 1023px) {
  div.flex-container-nav-med {
    display: none;
  }
}

@media screen and (min-width: 1024px) {
  div.flex-container-nav-small {
    display: none;
  }
}



/* Changes which elements display amended content as screen size reduces - items with 'main' in title denote elements for the content pages */

@media screen and (min-width: 768px) {
  div.topleftsmall {
    display: none;
  }
}

@media screen and (max-width: 445px) {
  div.topleftsmall {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  div.topleft {
    display: none;
  }
}

@media screen and (min-width: 768px) {
  div.flex-item-rightsmall {
    display: none;
  }
}


@media screen and (max-width: 768px) {
  div.flex-item-right {
    display: none;
  }
}

@media screen and (min-width: 1281px) {
  div.flex-container-top {
    display: none;
  }
}

@media screen and (max-width: 1280px) {
  div.flex-item-left-main {
    display: none;
  }
}





/* Changes how content displays as screen size reduces */

 @media screen and (max-width: 1280px) {
  div.topleft {
    font-size: 24px;
  }
}

@media screen and (max-width: 1024px) {
  div.topleft {
    font-size: 16px;
  }
}

@media screen and (max-width: 1024px) {
  div.flex-container {
    font-size: 16px;
  }
}

@media screen and (max-width: 1024px) {
  div.flex-item-right {
    font-size: 16px;
  }
}

@media screen and (max-width: 1024px) {
  div.flex-item-left {
    font-size: 16px;
  }
}

@media screen and (max-width: 1024px) {
  div.flex-item-right-main {
    font-size: 16px;
  }
}

@media screen and (max-width: 1024px) {
  div.flex-item-left-main {
    font-size: 16px;
  }
}

@media screen and (max-width: 1024px) {
  div.leader {
    font-size: 16px;
  }
}

@media screen and (max-width: 1280px) {
  .dropdown-small a {
    display: block;
  }
}

@media screen and (max-width: 1280px) {
  .dropdown-small .dropbtn-small {
    display: block;
	}
}

@media screen and (max-width: 768px) {
  .content1 img {
    opacity: 0.7;
	
  }
}


