@import url('https://fonts.googleapis.com/css?family=Atma|Zain:400,700');

  /* Responsive page */

* {
  box-sizing: border-box;
}

body {
   margin:40px auto;
   line-height:1.6;
   font-size:26px;
   background-color: #9EC522;
   color: #219ebc;
   font-family: 'Zain', serif;
   padding:0 10px
}

h1 {
   line-height:1.2
   font-size:50px;
   font-family: 'Atma', serif;
   color: #FDEAD6; 
   font-weight: bold;
}

h2, h3, h4 {
   line-height:1.2
   font-family: 'Atma', serif;
   color: #FDEAD6;
}

p {
   color: #462403;
   font-family: 'Zain', serif;
}

ul, ol {
   color: #462403;
   font-family: 'Zain', serif;
}

 /* unvisited link */
a:link {
  color: #B51637;
  text-decoration: underline
}

/* visited link */
a:visited {
  color: #FDEAD6;
  text-decoration: underline
}

/* mouse over link */
a:hover {
  color: #ffffff;
  text-decoration: underline
}

A.class1 {color:#462403;}
A.class1:link  {text-decoration: none; font-weight: normal; color: #462403;}
A.class1:visited {text-decoration: none; font-weight: normal;  color: #462403;}
A.class1:hover {text-decoration: underline; font-weight: normal;  color: #462403;}
A.class1:active {text-decoration: none; font-weight: normal;  color: #462403;}

/* Testimonial Title Formatting */
p.testimonialtitle {
  color: #FDEAD6;
  font-style: bold;
  font-size: 36px;
} 

/* Testimonial Subtitle Formatting */
p.testimonialsubtitle {
  color: #B51637;
  font-style: bold;
  font-size: 30px;
}

/* Testimonial Body Formatting */
p.testimonialbody {
  color: #E3FD92;
  font-style: italic;
}

/* For hiding text - otherwise text overlaps them on smaller phones */
p.hide {
  color: #462403;
  padding: 0px;
}

@media screen and (max-width: 600px) {
  p.hide {
    display: none;
  color: #219ebc;
  }
}

hr {
  color: #B51637;
  display: block;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  margin-left: auto;
  margin-right: auto;
  border-style: inset;
  border-width: 1px;
}


.header {
  background-color: #ffffff;
  color: #ffffff;
  padding: 15px;
}

.main {
  max-width:650px;
  padding: 15px;
  margin: auto;
  border: 0px solid red;
}

.footer {
  text-align: left;
  max-width:650px;
  padding: 15px;
  margin: auto;
}

/* Invisible table for footer */
table {
  width: 100%;
  border: 0px solid red;
} 

/* Table for price list with one line */
table, td, th {  
  border: 0px solid #B51637;
  text-align: left;
  vertical-align: top;
}

.linedtable {
  border-collapse: collapse;
  width: 100%;
  padding: 10px;
}

.lined {
  padding: 10px;
  border-bottom: 1px solid #B51637;
  vertical-align: top;
}

  /* Header image */
body, html {
  height: 100%;
  margin: 0;
  font-family: 'Atma', serif;
}

  /* The image used */
.hero-image {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("headerimage.jpg");
  height: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

/* Place text in the middle of the image */
.hero-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}


 /* Responsive Horizontal Menu */
 /* Add a coloured background color to the top navigation */
.topnav {
  background-color: #73071C;
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #ffffff;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Add an active class to highlight the current page */
.active {
  background-color: #FD4C72;
  color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
  font-size: 17px;
  border: none;
  outline: none;
  color: #ffffff;
  padding: 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #B51637;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Style the links inside the dropdown */
.dropdown-content a {
  float: none;
  color: #ffffff;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a dark background on topnav links and the dropdown button on hover */
.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #FD9FB2;
  color: #73071C;
}

/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #FD9FB2;
  color: #73071C;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
  display: block;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.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;
  }
} 

/* PRE-POPULATED TEXT */

/* Business address */
.refaddy:before {
   content: "71-75 Shelton Street, Covent Garden, London, WC2H 9JQ ";
}

/* First half of email address (hello) */
.refemailfirst:before {
   content: "hello";
}

/* Second half of email address */
.refemailsecond:after {
   content: "thecharacterconsultancy.co.uk";
}

/* Telephone number */
.reftel:after {
   content: "On request";
}

/* Copyright info */
.refcopyright:before {
   content: "Web site copyrighted to Hayley Watkins 2019 - 2025. Banner art by LuckyMrUnlucky of Twitter ";
}



/* IMAGES */
.img {
  border: 0px solid #fff;
}

/* Images floating on left (wrapping, with border) */
.textwrapleft {
float: left;
margin: 10px;
border: 2px solid #fb8500;
	}

/* Images floating on right (wrapping, with border) */
.textwrapright {
float: right;
margin: 10px;
border: 2px solid #fb8500;
	}

/* Images floating on left (with border) */
.bordered {
margin: 10px;
border: 2px solid #fb8500;
	}

/* Images floating on left (no border - for circle icons) */
.textwrapleftcircle {
float: left;
margin: 10px;
border: none;
	}

/* Images floating on right (no border - for circle icons) */
.textwraprightcircle {
float: right;
margin: 10px;
border: none;
	}

/* Making calendar image change on hover */
.card {
        background: "images/calendarlogo.png" no-repeat;
        display: inline-block;
    }
.card:hover {
        background: url("images/card-front.jpg") no-repeat;
    }


/* FORMS */
 /* Style inputs, select elements and textareas */
input[type=text], select, textarea, email{
  width: 100%;
  padding: 12px;
  border: 1px solid #73071C;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
}

 /* Style inputs, select elements and textareas */
input[type=email], select, textarea, email{
  width: 100%;
  padding: 12px;
  border: 1px solid #73071C;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
}

/* Style the submit button */
input[type=submit] {
  background-color: #B51637;
  color: #FDEAD6;
  font-family: 'Zain', serif;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: left;
}

/* Style the container */
.container {
  border-radius: 5px;
  background-color: #B51637;
  padding: 20px;
}

/* 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;
  }
} 