/* www.sykesplanning.co.uk responsive elements */


html {
font-family: Arial, Helvetica, sans-serif;
}

h1 {
font-family: "Impact", Charcoal, sans-serif;
}
.container {
  width: 98%;
  margin-top: 2%;
  margin-left: 1%;
  margin-right: 1%;
  margin-bottom: 1%;
  padding: 1%;
}

.footer_container {
  margin-top: 0px;
  padding-right: 2%;
  padding-left: 0px;
  padding-top: 0px;
  }
.footer {
  background-color:#FFFFFF;
  float: clear;
  clear:left;
  width: 98%;
  height: 60px;
}

.header {

}
.header img {
  width: 75%;
}
.footer img {
  height: 60px;
}
.text {
background-color: #548dd4	;
}

.nav {
  float:left;
  width:98%;
  margin-top: 1%;
  margin-left: 1%;
  margin-right: 1%;
  margin-bottom: 1%;
  padding: 1%;
  height: 30px;
} 


.start {
  clear:left;
}

ul.bullets {
  list-style-type: disc;
  padding-left: 15px;
}

ul.subBullets {
  list-style-type: disc;
  padding-left: 15px;
}

ul.sidenav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 20%;
    
    position: fixed;
    overflow: auto;
}

ul.sidenav li a {
    display: block;
    color: #000;
    padding: 8px 16px;
    text-decoration: none;
    margin-right: 2px;
    background-color: #548dd4;
    border: 2px solid #548dd4;
}
 
ul.sidenav li.active a {
    background-color: #FFFFFF;
    color: #548dd4;
    
}

ul.sidenav li a:hover:not(.active) {
    background-color: #548dd4;
    color: #000000;
    border: 2px solid #000000;
}

div.content {
    margin-left: 25%;
    padding: 1px 16px;
    height: 1000px;
}

.highlight {
  font-weight: bold;
}
/*
ul.sidenav {
        width:100%;
        height:auto;
        position:relative;
    }
    ul.sidenav li a {
        float: left;
        padding: 15px;
    }
    div.content {margin-left:0;}
    
    @media screen and (orientation: landscape){
    }
*/


ul.sidenav {
  width:100%;
  height:auto;
  position:relative;
  }
ul.sidenav li a {
    float: left;
    padding: 9px;
       
}
div.content {margin-left:0;}
    
input, textarea
{
    font-size: 100%;
	border: 1px solid #AAAAAA;
	outline:none;
	padding: 4px 30px 4px 8px;
	margin-left: 0px;
}

.button {
	padding: 5px 5px 5px 5px;
	background-color: #FF8601;
	text-align: center;
	-moz-box-shadow: 10px 10px 5px #888;
	-webkit-box-shadow: 3px 3px 5px #888;
	margin-right: 6px;
	margin-bottom: 6px;
	/* IE10+ */ 
    background-image: -ms-linear-gradient(top, #548DD4 0%, #FFFFFF 50%, #548DD4 100%);

    /* Mozilla Firefox */ 
    background-image: -moz-linear-gradient(top, #548DD4 0%, #FFFFFF 50%, #548DD4 100%);

    /* Opera */ 
    background-image: -o-linear-gradient(top, #548DD4 0%, #FFFFFF 50%, #548DD4 100%);

    /* Webkit (Safari/Chrome 10) */ 
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #548DD4), color-stop(50, #FFFFFF), color-stop(100, #548DD4));

    /* Webkit (Chrome 11+) */ 
    background-image: -webkit-linear-gradient(top, #548DD4 0%, #FFFFFF 50%, #548DD4 100%);

    /* W3C Markup */ 
    background-image: linear-gradient(to bottom, #548DD4 0%, #FFFFFF 50%, #548DD4 100%);
    -webkit-border-radius: 4px;
    -moz-border-radius   : 4px;
    border-radius        : 4px;
}

a {
color: #548dd4;
}
a.button, input.button {
	font-size: 120%;
	text-decoration: none;
	color: #000000;

	/* font-weight: bold; */
}

a.button:hover, input.button:hover {
	color: #ffffff;
	border-radius: 4px 4px 4px 4px;
	text-shadow: 2px 2px 2px #000;
	-moz-box-shadow: 3px 3px 5px #FF8601;
	-webkit-box-shadow: 3px 3px 5px #FF8601;
	box-shadow: 3px 3px 5px #ffffff;
}

input.button:hover {
  -webkit-box-shadow: 3px 3px 5px #000000;
}

input[type="text"], input[type="tel"], input[type="email"], textarea {
    width: 190px;
}

label {
  width: 170px;
  display:inline-block;
  vertical-align: top;
}
.error {
border-color: red;
color: red;
}

.footerSpan {
padding-left: 0px;
padding-right: 20px;
color: #548dd4;
text-align: left;
white-space:nowrap;
}
.footer.footerSpan {
text-align: left;
}

.rtpi {
text-align: right;
padding-top:0px;
padding-right: 0px;
}
    

@media screen and (orientation : portrait) {
    ul.sidenav li a {
        text-align: center;
        float: none;
         margin-bottom: 2px;
    }
    .nav {
      height: 220px;
    }

}

.footer {
margin-top: 0px;
margin-bottom: 0px;
}

.footer p {
text-align: left;

}
/*
.footer img {
height: 50px;
}
*/
@media only screen 
and (orientation : portrait) 
{ 
  .picture {
    background-color: #548dd4;
    height: 300px;
    background-size: cover;
    margin-bottom: 5px;
  }
  .container {
    width: 98%
  }
  .small_container {
    width: 46%;
    float: left;
  }
  /*
  .footer_container {
    width: 40%
    float: left;
  }
  */
  .house1 {
    background-image: url('../images/street_landscape.jpg');
  }
  .house2 {
    background-image: url('../images/house_landscape.jpg'); 
  }
  .building {
    background-image: url('../images/church_landscape.jpg');
  }
  .road {
    background-image: url('../images/road_landscape.jpg');
  } 
  .tree {
    background-image: url('../images/tree_portrait.jpg');
  } 
  .night {
    background-image: url('../images/night_portrait.jpg');
  } 
}

@media only screen 
and (orientation : landscape)
{ 
  .picture {
    background-color: #548dd4;
    height: 600px;
    background-size: cover;
  }
  .container {
    width: 29%;
    float: left;
  }
  
  .big_container {
    width: 58%;
  }
  .house1 {
    background-image: url('../images/house_portrait.jpg');
    
  }
  .house2 {
    background-image: url('../images/street_portrait.jpg');
  }
  
  .building {
    background-image: url('../images/church_portrait.jpg');
  }  
  .road {
    background-image: url('../images/road_portrait.jpg');
  }
  .tree {
    background-image: url('../images/tree_portrait.jpg');
  }   
  .night {
    background-image: url('../images/night_portrait.jpg');
  } 
  .header {
    width: 98%;
  }
  .footer {
    width: 98%;
  }
}