/* ------------------------------------*/
/* BASIC SETUP */
/* ------------------------------------*/

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    
    
}


html, body {
    font-size: 20px;
    background-color: #fff;
    color: #555;
    font-family: 'Lato', 'Arial', sans-serif;
    font-weight: 400;
    text-rendering: optimizeLegibility;
    overflow-x: hidden; 
    
}



/* ------------------------------------*/
/* REUSABLE COMPONENTS */
/* ------------------------------------*/

.row {
    max-width: 1140px;
    margin: 0 auto;
}



/* -------------HEADINGS---------------*/

h1 {
    padding: 0 5%;
    color: #fff;
    font-size: 5vw;
    font-weight: 300;
    word-spacing: 5px;
    text-transform: uppercase;
    text-align: center;
    z-index: 2;
    
    
    
    
}

h2, h3 {
       font-size: 300%;
    word-spacing: 4px;
    font-weight: 300;
    text-transform: uppercase;
    text-align: center;
    
}

h2 {
     color: #fff;
}

h3 {
    color: #555;
    margin-top: 40px;
} 


/* ------------------------------------*/
/* HEADER */
/* ------------------------------------*/

 header {
   background-color: #1abc9c;
    background-position: center;
    height: 175px; 
    
     
        }



.logo
    {
    height: 125px;
    width: auto;
    margin-top: 25px;
        position: absolute;
    
}

.logo-black {
    display: none;
    height: 50px;
    width: auto;
    float: left;
    margin-top: 10px;
    margin-bottom: 10px;
        }

/* Main Navi */

.main-nav {
    float: right;
    list-style: none;
    margin-top: 70px;
    z-index: 9999;
  
    
    
    
}

.main-nav li {
    display: inline-block;
    position: relative;
    z-index: 9999;
     
    margin-left: 35px;
    
        
}

.main-nav li a:link,
.main-nav li a:visited {
    padding: 8px 0;
    color: #fff;
    font-weight: 400;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 90%;
    border-bottom: 2px solid transparent;
    z-index: 9999;
    
    
        
}

.main-nav li a:hover,
.main-nav li a:active {
    border-bottom: 2px solid #fff;
    -webkit-transition: border-bottom 0,2s;
    transition: border-bottom 0,2s;
    z-index: 9999;
    
    
    
    }

/* Stick Navi */

.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
 /*   height: 70px; */
    background-color: rgba(255, 255, 255, 0.98);
    -webkit-box-shadow: 0 2px 2px #d0d0d0;
    box-shadow: 0 2px 2px #d0d0d0;
    z-index: 9999;
   
    
}


/* drop down text in sticky */
.sticky .main-nav li a:link,
.sticky .main-nav li a:visited {
    padding: 0;
    color: #555;
    background-color: transparent;
    text-align: center;
    font-size: 80%;
    
   

    }



.sticky .main-nav { 
                    float: right;
margin-top: 20px; }

.sticky .logo { display: none; }
.sticky .logo-black { display: block; }

.sticky .mobile-nav-icon {
    float: right;
    margin-top: 15px;
    cursor: pointer;
}




/* Mobile Navi */
/* container */
.mobile-nav-icon {
    float: right;
    margin-top: 60px;
    cursor: pointer;
    display: none;
    
}
/* actual icon for green band */
.mobile-nav-icon i {
    font-size: 50px;
    color: #fff;
    
   
    
}
    





    
/* ------------------------------------*/
/* SECTION 1 */
/* ------------------------------------*/

.banner {
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.7)), to(rgba(0, 0, 0, 0.7))), url(http://jayneramsayboyd.co.uk/resources/img/hbg.jpg);
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(http://jayneramsayboyd.co.uk/resources/img/hbg.jpg);
    background-size: cover;
    background-position: center;
   
    height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;

    margin-bottom: 50px;
    background-attachment: fixed;
    z-index: 1;
   
    
}


 


    



/* ------------------------------------*/
/* ABOUT ME */
/* ------------------------------------*/

.about-me { padding-top: 50px; }

.about-me, .why-refer {
    margin-bottom: 60px;
}

 .photo {
    width: 30%;
    height: auto;
    margin-right: 40px;
    margin-bottom: 30px;
    float: left;
        
}
    
/* ------------------------------------*/
/* WHY REFER TEXT */
/* ------------------------------------*/

.why-refer-text, .testimonials, .contact-us {
    background-color: #f4f4f4;
    margin-top: 50px;
    padding-top: 50px;
    padding-bottom: 50px;
}
   
.testimonials { font-size: 17px; }

/* ------------------------------------*/
/* SERVICES OFFERED */
/* ------------------------------------*/
    .services {
        padding-top: 50px;
        padding-bottom: 60px;
        
    }

/* ------------------------------------*/
/* TESTIMONIALS */
/* ------------------------------------*/
    .testimonials {
        background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.8)), to(rgba(0, 0, 0, 0.8))), url(img/kids.jpg);
        background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url(img/kids.jpg);
        background-size: cover;
        color: #fff;
        background-attachment: fixed;
        background-position: center;
        padding-top: 50px;
        padding-bottom: 50px;        
    }

.white-text {
    color: #fff;
}

blockquote {
    padding: 2%;
    font-style: italic;
    line-height: 145%;
    word-spacing: 4px;
    position: relative;
    margin-top: 50px;
}

blockquote:before {
    content: "\201C";
    font-size: 400%;
    display: block;
    position: absolute;
    top: 5px;
    left: 4px;
}

blockquote:after {
    content: "\201D";
    font-size: 400%;
    display: block;
    position: absolute;
    bottom: 30px;
    right: 10px;
    
    
}

cite {
    font-size: 110%;
    margin-top: 25px;
    display: block;
}



/* ------------------------------------*/
/* FEES */
/* ------------------------------------*/
    .fees {
        padding-top: 50px;
        padding-bottom: 60px;
        
    }

/* ------------------------------------*/
/* CONTACT-US */
/* ------------------------------------*/
    .contact-us {
        padding-top: 50px;
        padding-bottom: 50px;
        
        
    }

/* The alert message box */
.alert {
  padding: 20px;
  background-color: #f44336; /* Red */
  color: white;
  margin-bottom: 15px;
  text-align: center;

}

/* The close button */
.closebtn {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

/* When moving the mouse over the close button */
.closebtn:hover {
  color: black;
}


.contact-form {
    width: 80%;
    margin-left: 10%;
    margin-top: 50px;
    
}

.form-messages {
    width: 70%;
    margin: 0 auto;
    padding: 10px;
    border-radius: 3px;
    margin-bottom: 20px;
}

.success {
    background-color: rgba(6, 186, 6, 0.85);
    color: #fff;
    max-width: 500px; 
    margin-top: 50px;
    text-align: center;
}

.error { background-color: rgba(226, 31, 31, 0.85);
        color: #fff; 
        max-width: 500px;
        margin-top: 50px;
        text-align: center;
}

#form { margin-bottom: -30px; }


input[type=text],
input[type=email],
select,
textarea {
    width: 100%;
    padding: 7px;
    border-radius: 3px;
    border: 1px solid #555555;
}

textarea {
    height: 150px;
}
   


/* ------------------------------------*/
/* PARAGRAPHS */
/* ------------------------------------*/



.long-copy {
    
    margin: 0 auto;
    display: inline-block;
	line-height: 1.6em;
	width: 90%;
	margin-left: 5%;
    margin-top: 50px;
    color: #555;
    word-spacing: 6px;
    word-wrap: break-word;
}
    
    .long-copy-why, .long-copy-services, .long-copy-testimonials, .long-copy-fees, .long-copy-contact {
    
    display: inline-block;
	line-height: 1.6em;
	width: 90%;
	margin-left: 5%;
    margin-top: 50px;
    color: #555;
    word-spacing: 6px;
    word-wrap: break-word;
    }
    
    
/* ------------------------------------*/
/* FOOTER */
/* ------------------------------------*/

.fbg {
    background-color: #fff;
    max-width: 100%;
    height: auto;
}

.copyright {
    color: #555;
    margin: 0 auto;
    font-size: 80%;
	margin-top: 20px;
    padding-bottom: 30px;
    word-spacing: 4px;
    text-align: center;
       
    }

.logo-span {
    margin-top: 15px;
    max-width: 100%;
    height: auto; 
    
}
