@charset "utf-8";
/*--#336A38=green--#5D5D5D=grey-------*/

/*------------------------------------*\
    RESET
\*------------------------------------*/
/* A more considered reset; more of a restart... As per: csswizardry.com/2011/10/reset-restarted */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre, hr,
a, abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strong, sub, sup, tt, var,
b, u, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
}
article, aside, details, figcaption, figure, footer,
header, hgroup, menu, nav, section {
    display: block;
}
h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
}
h1  {
    font-size: 130%;
	color: #336A38;
}h2  {
    font-size: 110%;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
strong, b, mark {
    font-weight: bold;
    font-style: inherit;
}
em, i, cite, q, address, dfn, var {
	font-weight: bold;
	text-align: left;
}
abbr[title], dfn[title] {
    cursor: help;
    border-bottom: 1px dotted;
}
ins {
    border-bottom: 1px solid;
}
a, u, ins {
    text-decoration: none;
}
del, s {
    text-decoration: line-through;
}
pre, code, samp, kbd {
    font-family: monospace;
}
small {
    font-size: 0.75em;
}
img {
    border: none;
    font-style: italic;
}
input,
select, option, optgroup,
textarea {
    font: inherit;
}
/*------------------------------------*\
    MAIN CHARACTERISTICS
\*------------------------------------*/
html {
	background-color: #FFFFFF;
	color: #5D5D5D;
	font: 16px/1.75 "Helvetica Neue", Helvetica, Arial, sans-serif;
}
body {
    padding: 50px 10%;
}
/*---MAIN CONTENT PANEL - CAN ADJUST WIDTH----------*/
/*---change the opacity of 0 to make transparent--------*/

.container {
    display: flex;
    flex-direction: column;
    width: 50%;
    margin:auto;
    padding: auto;
    justify-content: center;
    align-items: center;
}
.container_spacertop {
    display: flex;
    flex-direction: column;
    width: 50%;
    margin:auto;
    padding-top:200px;
	padding: auto;
    justify-content: center;
    align-items: center;
}
.box {
	border-radius: 25px;
	margin: auto; 
	justify-content: center;
	background-color: white;
  padding: 25px;
  margin: 25px;
}
.content {
	width: 100%;
}
/*---layout for menu PW----*/
.menutable {
	border-collapse: collapse;
	width: 400px;
    margin-left:auto; 
    margin-right:auto;
	body {text-align:center;}
	}
.menutable td,{ 
  padding: 4px;
}
.menutable th {
  padding-top: 4px;
  padding-bottom: 4px;
  text-align: left;
}
/*--------------------*/
    .title {
        font-size: 48px;
        font-weight: normal;
        line-height: 1;
    }

    .social-icons li {
        display: inline;
    }
        .social-icons a {
            display: inline-block;
            margin-right: 10px;
            text-indent: -9999px;
        }
            .twitter {
                background-image: url(../middleway/img/twitter.png);
                width: 20px;
                height: 17px;
            }
            .facebook {
                background-image: url(../middleway/img/facebook.png);
                width: 10px;
                height: 19px;
            }
            .googleplus {
                background-image: url(../middleway/img/googleplus.png);
                width: 21px;
                height: 19px;
            }
            .dribbble {
                background-image: url(../middleway/img/dribbble.png);
                width: 21px;
                height: 19px;
            }
            .instagram {
                background-image: url(../middleway/img/instagram.png);
                width: 20px;
                height: 19px;
            }
            .flickr {
                background-image: url(../middleway/img/flickr.png);
                width: 20px;
                height: 9px;
            }

/*-----------BORDERS-----------------------*/
.borderleft {
  border: 4px solid green;
  border-radius: 2px;
  width: 80%;
  margin-top: 30px;
  margin-bottom: 30px;
}
.bordercenter {
  border: 4px solid green;
  border-radius: 2px;
  width: 80%;
  margin-top: 30px;
  margin-bottom: 30px;
  margin-left: auto;
  margin-right: auto;
}
.borderlonger {
  border: 4px solid green;
  border-radius: 2px;
  width: 80%;
  margin-top: 30px;
  margin-bottom: 30px;
  margin-left: auto;
  margin-right: auto;
}
/*------------------------------------*\
    TYPOGRAPHY
\*------------------------------------*/
p,
ul, ol, dl,
.title {
    margin-bottom: 20px;
}
/*main text*/
p {
	font-weight: bold;
	text-align: left;
}
ul, ol, dl {
  	  list-style-type: square;
	margin-left: 20px;
	font-weight: normal;
}
/*hyperlink*/
a {
   	color:  #5D5D5D;
	text-shadow:0px 0px 2px #FFDE17;
	font-size: +1;
	font-weight: bold;  
}
a:hover, a:focus {
	-webkit-transition: color 0.2s ease;
	-moz-transition: color 0.2s ease;
	-o-transition: color 0.2s ease;
	-ms-transition: color 0.2s ease;
	transition: color 0.2s ease;
 	color: #687276;
	font-weight: bolder;
	font-style: italic;
}
.font75 {
  font-size: 75%;
}
.font120 {
  font-size: 120%;
}
.fontplain {
	font-weight: normal;
}
.fontplain_ital {
	font-weight: normal;
	font-style: italic;
}
.subHEAD1 {
	color: #336A38;
	font-size: 16px;
	font-weight: bolder;
}
.subHEAD2 {
	font-size: 20px;
	font-weight: bold;
	color: #336A38;
}
.subHEADcent {
  background-color: white;
  color: #336a38;
  font-size: 25px;
 font-weight: bold;
  border: 0px;
  padding: 10px;
  margin: auto;
   text-align: center;
   line-height: 1.2;
   padding-bottom: 30px;
}
.redhighlight {
	color: #FF0C50;
}
.dropcap {
  color: #869398;
  float: left;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 65px;
  line-height: 65px;
  padding-top: -10px;
  padding-right: 8px;
  padding-left: 3px;
}
.textinbox {
  background-color: #336a38;
  color: white;
  font-size: 25px;
  width: 100%;
  border: 0px;
  padding: 10px;
  margin: auto;
   text-align: center;
   line-height: 1.2;
   box-shadow: 0px 0px 20px;
}
.yellowshading {
  text-shadow:0px 0px 4px #FFDE17;
}
.slight_indent {
  margin-left: 20px;
}
.lightertext {
	font-weight: normal;
	 font-size: 13px;
	 font-style: italic;
}
.text_plus {
	font-size: +3;
}
.menu {
   font-weight: bold; 
}
.content_ital_dark {
    font-style: italic;
    color: rgb(93,93,93);
}


/*----IMAGE PLACEMENT & TEXT WRAP--top, right, bottom, left----*/

	.spacertop {
	padding-top:100px;
	padding-bottom: 30px;
}
	.spacertop2 {
	padding-top:90px;
}

	.spacertop3 {
	padding-top:80px;
}
.graphic_right {
    text-align: right;
}
.graphic_in_text {
    display: inline;
	float: left;
	margin-top:3px;
	margin-right: 8px;
}
.alignleft_overhang {
    display: inline;
    float: left;
    position: relative;
    left: -10px;
    margin: 10px 10px 0px -10px;
}
.alignleft_over1st  {
    display: inline;
    float: left;
    position: relative;
    left: -10px;
    margin: 0px 10px 0px -10px;
}
.alignleft {
display: inline;
float: left;
margin-top:6px;
margin-right: 1.5em;
}

 .polaroidcontainer{
	width: 250px;
	overflow: auto;	
  }
  .polaroidcontainer2{
	width: 100%;
	overflow: auto;	
  }
.polaroidcenter {
padding: 12px;
background-color: white;
width: 60%;
height: auto;
margin-top:6px;
 margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
 text-align: center; 
 line-height: 1.35;
 font-weight: normal;
	 font-size: 11px;
	 font-style: italic;
	  margin-bottom: 25px;	 
}
.polaroidcenter2 {
padding: 12px;
background-color: white;
width: 45%;
height: auto;
margin-top:6px;
 margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
 text-align: center; 
 line-height: 1.35;
 font-weight: normal;
	 font-size: 11px;
	 font-style: italic;
	  margin-bottom: 25px;	 
}
.polaroidleft {
padding: 12px;
background-color: white;
display: inline;
float: left;
margin-top:6px;
margin-right: 1.5em;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
 text-align: center; 
 line-height: 1.35;
 font-weight: normal;
	 font-size: 11px;
	 font-style: italic;
	  margin-bottom: 25px;	 
}
.polaroidright {
padding: 12px;
background-color: white;
display: inline;
float: right;
margin-top:6px;
margin-left: 1.5em;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
 text-align: center; 
 line-height: 1.35;
 font-weight: normal;
	 font-size: 11px;
	 font-style: italic;
	  margin-bottom: 25px;	 
}


  .box{
    float: left;
    width: 50%;
  }

/*------------TO ADD DIMENSIONS to BOX---*/
/*float: right;width:170px;height:170px;margin-left:15px -------*/
  
.alignright {
display: inline;
float: right;
margin-left: 1.5em;
}
.aligncenter {
clear: both;
display: block;
margin-left: auto;
margin-right: auto;
}
.image_at_top {
 padding-top: 26px;
 padding-bottom: 15px;
}
.image_spacebeneath {
 padding-bottom: 15px;
}
.image_spaceright {
	margin: 0 6px 0 2px; 
	}
.image_morespaceright {
	margin: 0 6px 0 58px; 
	}
	

/*------------------------------------*\
    MISC
\*------------------------------------*/
a img:hover,
.social-icons a:hover {
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=85)";
    filter: alpha(opacity=85);
    opacity: 0.85;
    -webkit-transition: opacity 0.2s ease;
    -moz-transition: opacity 0.2s ease;
    -o-transition: opacity 0.2s ease;
    -ms-transition: opacity 0.2s ease;
    transition: opacity 0.2s ease;
}

/*
Animate.css - http://daneden.me/animate
LICENSED UNDER THE  MIT LICENSE (MIT)
Copyright (c) 2012 Dan Eden
*/
.animated {
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    -ms-animation-fill-mode: both;
    -o-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-duration: 1s;
    -moz-animation-duration: 1s;
    -ms-animation-duration: 1s;
    -o-animation-duration: 1s;
    animation-duration: 1s;
}

.animated.hinge {
    -webkit-animation-duration: 2s;
    -moz-animation-duration: 2s;
    -ms-animation-duration: 2s;
    -o-animation-duration: 2s;
    animation-duration: 2s;
}

@-webkit-keyframes bounceInDown {
    0% {
        -webkit-transform: translateY(-2000px);
    }
    
    60% {
        -webkit-transform: translateY(30px);
    }
    
    80% {
        -webkit-transform: translateY(-10px);
    }
    
    100% {
        -webkit-transform: translateY(0);
    }
}

@-moz-keyframes bounceInDown {
    0% {
        -moz-transform: translateY(-2000px);
    }
    
    60% {
        -moz-transform: translateY(30px);
    }
    
    80% {
        -moz-transform: translateY(-10px);
    }
    
    100% {
        -moz-transform: translateY(0);
    }
}

@-o-keyframes bounceInDown {
    0% {
        -o-transform: translateY(-2000px);
    }
    
    60% {
        -o-transform: translateY(30px);
    }
    
    80% {
        -o-transform: translateY(-10px);
    }
    
    100% {
        -o-transform: translateY(0);
    }
}

@keyframes bounceInDown {
    0% {
        transform: translateY(-2000px);
    }
    
    60% {
        transform: translateY(30px);
    }
    
    80% {
        transform: translateY(-10px);
    }
    
    100% {
        transform: translateY(0);
    }
}

.bounceInDown {
    -webkit-animation-name: bounceInDown;
    -moz-animation-name: bounceInDown;
    -o-animation-name: bounceInDown;
    animation-name: bounceInDown;
}





/*------------------------------------*\
    MOBILE
\*------------------------------------*/
@media handheld, only screen and (max-width: 720px) {
    .avatar,
    .content {
        float: none;
        
    }
    .text{
        float: none;
        width: 100%;
    }

    .avatar img {
        max-width: 125px;
        max-height: 125px;
    }

    .content {
        width: 100%;
    }
  
}
.larger_text {
	font-size: 18px;
	font-weight: bold;
	color: rgb(48,100,55);
}

/*--POSITION OF  LOGO (AVATAR) - THIRD px IS  VERTICAL HEIGHT----*/
.avatar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 70px;
    margin-bottom: 100px;
}
    .avatar img {
        max-width: 200px;
        max-height: 200px;
     
    }


/*------------------3-LINE TOGGLE MENU BUTTON-----------------*/
/*------------------SITS BENEATH LOGO/AVATAR-----------------*/
/*was positioned absolute - can move this around*/
/*---POSITIONED AT THE TOP OF THE PAGE  - CAN STILL MOVE THIS AROUND IF DESIRED---*/

.toggle-button {
    position: fixed;
    top: 20px;
    left:48%;
    display: flex;
    flex-direction: column;
	text-align: center;
    color: #869398;
    cursor: pointer;
    height: auto;
    margin:20px auto;
    padding: 4px 4px;
    background: #fff;
    z-index: 1001;
}
.toggle-button.active {
    background: none;
}
.menu {
    display: flex;
    flex-direction: column;
}
.toggle-button-text {
    letter-spacing: 2px;
	 text-align: centre;
    margin-top: 4px;
	font-size: 9px;
}
.menu span {
    width: 50px;
    height: 5px;
    border-radius: 20px;
    background: #869398;
    margin: 2px auto;
    transition: 0.2s ease-in-out;
}
.toggle-button-text.active {
    margin-top: 13px;
}
.menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(-4px,4px);
    background: #444444;
}
.menu.active span:nth-child(2) {
    display: none;
}
.menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px,-8px);
    background: #444444;
}
/*----------------------------------*/
.banner {
    display: grid;
    grid-template-columns: 50% 1fr;
    grid-gap: 1em;
}
/*-------------------------------*/

/*-----------------THE MENU & THE WORDS IN IT-----------------*/
/*menu panel table is the dimensions of the box where the links are*/

.menu-panel {
    position: fixed;
    top: -100%;
    left: 0px;
    width: 100%;
    height: 350px;
    background: rgb(236, 235, 235);
	opacity: 0.95;
  filter: alpha(opacity=95); /* For IE8 and earlier */
    transition: 0.2s ease-in-out;
    z-index: 1000;
}

.menu-panel.active {
    top:0px;
}
.menu-panel table {
    width: 100%;
    margin: 12vh 45%;
}

/*------------OPENING & CLOSING FULL SCREEN IMAGE PART--------------------*/

.cover {
    position: fixed;
    top:0;
    left: 0;
    width: 50%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #3333;
    cursor: pointer;
    z-index: 1002;
}
.cover2 {
    position: fixed;
    right:0;
    top: 0;
    width: 50%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1002;
}
.cover img {
    width:100%;
    height:100%;
}
.cover2 img {
    width:100%;
    height:100%;
}
/*------------MEDIA QUERIES--------------*/
@media(max-width:768px) {
    body {
        padding-top: 80px;
    }
    .container {
        height: auto;
        width: 100%;
    }
    .cover, .cover2 {
        display: none;
    }
    .toggle-button {
        left: 40px;
        z-index: 1006;
    }
    .menu-panel {
        position: fixed;
        top: 0%;
        left: -100%;
        width: 300px;
        height: 100vh;
        background: rgb(236, 235, 235);
        transition: 0.2s ease-in-out;
        z-index: 1000;
    }
    .menu-panel.active {
        left:0px;
    }
    .menu-panel table {
        width: 100%;
        margin: 40vh 40px;
    }
    
    .banner {
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 1em;
    }
}
