* {
  box-sizing: border-box;
}
/*body styles*/
body {
  font-family: Arial;/*font name*/ 
  padding: 10px;
  margin: 20px;
  background-image: linear-gradient(to bottom, #071664 0%, #1410E6 100%); /*code of the gradent background*/
}
.centertext{
	text-align:center;/*makes text in the center iof the screen*/
}
/*content box*/
.box {
	padding:20px;
	background-color: #273daa;
    border:5px solid black;   /* makes the border */
	color:white;/*body stylestext color*/
}	
/*text colour and header*/
#guidelineStatement {
    color: yellow; /*yellow*/
    margin: 0 0 20px 0;
}
.gold_text{
	color: #D9A711;   /* nice gold colour */
}
.yellow_text{
	color: yellow;   /* used for secondary headings */
}
.header {
  padding: 30px;
  text-align: center;
  background-color: #DAA520; /* nice gold colour */
  border:5px solid black; /*boder code*/
}

.header h1 {
  font-size: 50px;
}

.gold_back{
	background-color: #DAA520;	 /* nice gold colour */
}
/*social images code*/
#social a {
	background-color:#0C0AA0; /*deep blue color*/
	}
	
#social img {
	float:right;
	padding: 20px 5px
	}
	


.content-wrap,
  #section-1 ul {
    grid-column: 2/4;
  }

.box, #main-footer div {
    grid-column: span 2;
  }

  /* Section 1 css */
#section-1 ul {
      display: flex;
      justify-content: space-around;
  }

#section-1 li {
      width: 31%;
  }


#section-1 {
    padding: 2em 1em 1em;
}

#section-1 ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#section-1 li {
    margin-bottom: 1em;

    color: #333;
}


  /* Section 1 css */
.card {
  background-color: #000e35;
  padding: 20px;
  margin-top: 20px;
  color: yellow;
  border:5px solid black;
}
.cardimg {
  background-color: #000e35;
  width: 100%;
  padding: 20px;
  border: 5px solid #555;
}


.row:after {
  content: "";
  display: table;
  clear: both;
}

  /* footer css */
.footer {
  padding: 20px;
  text-align: right;
  background-color: #DAA520;
  margin-top: 20px;
  border:5px solid black;
}



input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}

label {
  padding: 12px 12px 12px 0;
  display: inline-block;
}

input[type=submit] {
  background-color: #a68933;
  color: black;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
}

input[type=submit]:hover {
  background-color: #d9a711;
}

.container {
  border-radius: 5px;
  padding: 20px;
  background-color: #000e35;
  border:5px solid black;
}

.col-25 {
  float: left;
  width: 25%;
  margin-top: 6px;
  color:white;
}

.col-75 {
  float: left;
  width: 75%;
  margin-top: 6px;
  color:white;
}

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

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .col-25, .col-75, input[type=submit] {
    width: 100%;
    margin-top: 0;
  }
}






#teacherContent {
	font-size:18px;
	margin:10px 5px;
	font-weight:bold; 
	color: black;
	margin-top: 10px; 
	float:left;
	}

.teacherPhoto {
	height:220px;
	margin:0 10px;
	width:170px;
	border: solid 5px #f8f8f8;
	float:left;
	}

.teacherPhotoNicola {
	height:240px;
	margin:0 10px;
	width:170px;
	border: solid 5px #f8f8f8;
	float:left;
	}	

.teacherPhotoVynessa{
	height:240px;
	margin:0 10px;
	width:170px;
	border: solid 5px #f8f8f8;
	float:left;
	}
	
#nikolaisons {
	font-size:0.5em;
	color: white;
	margin: 0 0 0  15px;
	}
	
#teacherContent p{
	font-size:16px;
	color:black;
	font-weight:normal; 
	overflow:hidden
	}

.clear {
	clear: both;	

	}

#teacherContent a {
	color: #D9A711;
	text-decoration:none
	}
	
#teacherContent	a:hover {
	background-color:#D9A711;
	color:#fff;
	}

/* QSM MEDAL POPUP ////*/

.thumbnail{
position: relative;
z-index: 0;
}

.thumbnail:hover{
background-color: transparent;
z-index: 50;
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: #fff;
padding: 5px;
left: -1000px;
border:  solid 2px #a68933;
visibility: hidden;
color: black;
text-decoration: none;
font-size:2em;
text-align:center
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
}

.thumbnail a {
	font-size:111px;
	color:yellow;
	}

.thumbnail:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
top: -200px;/*position where enlarged image should offset vertically*/
left: 395%; /*position where enlarged image should offset horizontally */

}
#subhead .thumbnail {
	font-size:11px;
	color:yellow;
	}

#queenRight{margin-left:200px }

/*Nav Bar*/
body {margin:0;font-family:Arial}

.topnav {
  overflow: hidden;
  background-color: #a68933;
  border:5px solid black;
  margin: 1px;
}

.topnav a {
  float: left;
  display: block;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.active {
  background-color:#a68933 ;
  color: white;
}

.topnav .icon {
  display: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 17px;    
  border: none;
  outline: none;
  color: black;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #a68933;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  color: black;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #d9a711;
  color: black;
}

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

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

@media screen and (max-width: 600px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}


.map-responsive{
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
.map-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}



.row > .column {
  padding: 0 8px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Create four equal columns that floats next to eachother */
.column {
  float: left;
  width: 25%;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

.modal2 {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}
/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

/* Hide the slides by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Caption text */
.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

img.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#contentDanceDescriptions  #subhead {
	margin:0 10px 0 10px;
	float:left
	}

#subhead #dancerDescription{
	float:left;
	margin-right:15px
	}

.toolbar li{
  display: inline-block;
  text-decoration:none !important;
  }
	
.toolbar {margin:5px}

.toolbar li img{height:110px; width:75px;}  

.toolbar li h4{color:yellow}

.toolbar li a{	text-decoration:none !important; text-align:center}	

.center{
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
	}

/* ------- Website Responsiveness -------*/
/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 800px) {
  .leftcolumn, .rightcolumn {   
    width: 100%;
    padding: 0;
  }
}
/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */
@media screen and (max-width: 400px) {
  .topnav a {
    float: none;
    width: 100%;
  }
}

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