@charset "UTF-8";
/* Styles for Annelize Odendaal Audiology */


* {box-sizing: border-box;}

a[x-apple-data-detectors] {
  color: inherit !important;
  text-decoration: none !important;
  font-size: inherit !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

a[href^="tel"]{
    color:inherit;
    text-decoration:none;
}

body, html { width: 100%; height: auto; overflow: visible; padding: 0; margin: 0; }
body { font-family: 'Quicksand', sans-serif; font-weight: 400; font-style: normal; }

h1,h2,p {font-weight: 400; text-align: center; font-style: normal;}
h1 { text-transform: uppercase; font-size: 28px; }
p { font-size: 18px;}


.header { width: 100%; height: auto; overflow: hidden; position: relative; padding: 10px 2%; }
.logo-box, .contactinfo { width: 50%; float: left; }
a.logo { width: 110px; height: 100px; margin-bottom: 20px; overflow: hidden; position: relative; float: left; background: url(images/Anna-logo-New.png) no-repeat 0 0; background-size: contain; }

h1.sitename, h2.secondary {font-weight: 400; text-align: left; margin: 0; }
h1.sitename {text-transform: uppercase; font-size: 32px; margin-bottom: 5px; }
h2.secondary {font-size: 22px; }

.contactinfo p { text-align: right; font-size: 14px; }



.nav-container { width: 100%; position: relative; }

.navbox ul li ul li { position: relative; overflow: hidden; }
.navbox ul li ul li a { width: 100%; padding-right: 0!important;}
nav ul li ul a { padding: 0.5em 0em 0.5em 2em!important; }






.navbox{
	width: 100%;
	height: auto;
	overflow: hidden;
    background: #c189b5;
    line-height: 1.2;
    display: block;
    position: relative;
    z-index:9999;
   
	}
.navbox span{
	display: none;
	}

.navbox ul {
	display: flex;        
  	justify-content: center;
	height: auto;
	overflow: hidden;
	padding: 0;
	margin: 0 auto;
	list-style: none;
	line-height: 1;
	position: relative;
	text-align: center; 
	}
.navbox ul a {
	font-size:16px;
	text-transform: uppercase;
	color: #FFF;
	display: block;
	text-decoration: none;
	padding: 10px;
	margin: 0 30px;
	}

.navbox ul a:hover {background: #dc97cb;}


/* ham menu */

nav {
    padding: 1rem;
    display: none;
    background-color: #c189b5;
}


.ham-menu {
    height: 50px;
    width: 40px;
    margin-left: auto;
    position: relative;
}
.ham-menu span {
    height: 5px;
    width: 100%;
    background-color: #FFF;
    border-radius: 25px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: .3s ease;
}
.ham-menu span:nth-child(1) {
    top: 25%;
}
.ham-menu span:nth-child(3) {
    top: 75%;
}
.ham-menu.active span {
    background-color: white;
}
.ham-menu.active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}
.ham-menu.active span:nth-child(2) {
    opacity: 0;
}
.ham-menu.active span:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}


.hero {width: 100%; min-height: 80vh; background: url(images/hero.jpg) no-repeat center center; background-size: cover;}
.hero-products {width: 100%; min-height: 80vh; background: url("images/hero-products.jpg") no-repeat center center; background-size: cover;}
.hero-tests {width: 100%; min-height: 80vh; background: url("images/hero-tests.jpg") no-repeat center center; background-size: cover;}
.hero-voice {width: 100%; min-height: 80vh; background: url("images/hero-voice.jpg") no-repeat center center; background-size: cover;}
.hero-success {width: 100%; min-height: 80vh; background: url("images/hero-success.jpg") no-repeat center center; background-size: cover;}

 
.intro, .purple_light, .wide-box { width: 100%; height: auto; overflow: hidden; padding: 40px 10%; }
.purple_light { background: #e6cfe0; margin-bottom: 10px; } 
.photo, .text-box { width: 50%; height: auto; overflow: hidden; float: left; }
.photo { display: flex; justify-content: center; align-items: center; }
.text-box { padding: 0 5% 20px 5%; text-align: center; position: relative; }
.box-wide { width: 80%; height: auto; overflow: hidden; position: relative; margin: 40px 10%; padding-bottom: 40px; text-align: center; }
.photo-flex { display: flex; justify-content: space-evenly; }
.photo-flex img { width: 30%; }

.blocks-box { width: 100%; height: auto; overflow: hidden; }
.block { width: 29%; height: auto; overflow: hidden; margin: 0 2%; padding: 2%; float: left; background: #9c6a9d; text-align: center; }
.block img { width: 100%; }
.block h2, .block p { text-align: center; font-weight: 400; color: #FFF; }
.nudge { margin-bottom: 40px; }
.topspace { margin-top: 60px; }
.block h2 { text-transform: uppercase; }
a.block-link { position: relative;  margin: 0 auto; text-align: center; background: #c576b1; color: #FFF; text-transform: uppercase; text-decoration: none; padding: 10px 20px; border-radius: 10px;}

a.block-link.dark { background: #9c6a9d; text-align: center; }

a.block-link:hover { border-radius: 20px; transition: border-radius 0.5s ease-in-out; }



/* --- CONTACT FORM --- */

.contact { margin: 0 auto 40px auto; width: 100%; padding: 2%; }
form {text-align: center; }
form input { margin: 0 auto; }

/* Placeholder colors */
::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color:    #9b9b9b;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    #9b9b9b;
   opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:    #9b9b9b;
   opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color:    #9b9b9b;
}
::-ms-input-placeholder { /* Microsoft Edge */
   color:    #9b9b9b;
}

textarea::placeholder { color: #9b9b9b; font-family: arial; }

/* Colors for focused fields */

input[type=text], input[type=email], textarea {
  outline: none;
  border: 1px solid #9b9b9b;
}
 
input[type=text]:focus, input[type=email]:focus, textarea:focus {
  border: 1px solid #00C5BE;
}

/* Input styling */

textarea {
   font-family: arial;
   width: 27rem;
   font-size: 1rem;
   padding: 0.6rem;
   margin-right: 0.5rem;
   margin-left: 0.5rem;
   border-radius: 5px;
   border: 1px solid #9b9b9b;
   color: #9b9b9b !important;
}

.contact input {
   display: block;
   font-size: 1rem;
   width: 27rem;
   padding: 0.6rem;
   border-radius: 5px;
   border: 1px solid #9b9b9b;
   color: #9b9b9b !important;
}

.contact input[type=submit] {
   width: auto;
   background-color: #c18bb5;
   border: none;
   color: #fff !important;
   font-size: 1em;
	margin-top: 40px; 
   padding: 10px 50px;
   text-transform: uppercase;
   font-weight: normal;
}

.hide-robot{ display:none!important; }


.footer { width: 100%; height: 300px; padding: 50px 2%; background: #c576b1; }
.footer p { text-align: center; color: #FFF; }



/* --- Mobile Styles (Screens under 768px) --- */

@media only screen and (max-width: 768px) {	
	
	.logo-box, .contactinfo { width: 100%; float: none; text-align: center;}
	a.logo { float: none; display: block; margin: 0 auto; }
	.logo-box h1 { text-align: center;}
	h2.secondary, .contactinfo p { text-align: center; }
	
	
	/* off-screen-menu */
	
nav {
    padding: 1rem;
    display: flex;
    background-color: #c189b5;
}
	
.navbox {
    background-color: #c189b5;
    height: 50vh;
    width: 100%;
    max-width: 768px;
    position: fixed;
    right: -4500px;
    display: flex;
    flex-direction: column;
    align-items: center;    
    justify-content: center;
    text-align: center;
    font-size: 3rem;
    transition: .3s ease;
}
.navbox.active {
    right: 0;
}
	
	
	.navbox ul { display: block; }
	
.photo, .text-box { width: 100%; float: none; }
.block { width: 95%; float: none; margin-bottom: 40px; padding: 10%;}
.photo-flex { display: block; }
.photo-flex img { width: 100%; }
	
	.contact input, textarea { width: 100%; }
	textarea { margin-left: 0;}
	
	
}