/*

Theme Name: Ayudar
Author: Michael French @ The Fuse Creative Marketing
Author URI: https://www.thefuse.co.uk

*/

@font-face {
    font-family: 'nexa_boldregular';
    src: url('fonts/nexa_bold-webfont.woff2') format('woff2'),
         url('fonts/nexa_bold-webfont.woff') format('woff'),
         url('fonts/nexa_bold-webfont.svg#nexa_boldregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'nexa_lightregular';
    src: url('fonts/nexa_light-webfont.woff2') format('woff2'),
         url('fonts/nexa_light-webfont.woff') format('woff'),
         url('fonts/nexa_light-webfont.svg#nexa_lightregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

strong {
	font-family: 'nexa_boldregular';
	font-weight: normal;
}

body {
	margin:0;
	padding:0;
	width:100%;
	font-family: 'nexa_lightregular';
	color:#565759;
	font-size:1.2vw;
}

header, nav, main, section, footer {
	width:100%;
	display:block;
	position:relative;
}

header {
	width:80%;
	padding:0 10%;
}

header h1 {
	display:inline-block;
	vertical-align:center;
	width: 20%;
    margin: 0;
}

header h1 a {
	background:url(images/ayudar-logo.svg) center left no-repeat;
	background-size:contain;
	padding-bottom:45%;
	display:block;
	text-indent:-9999px;
}

header h2 {
	position:absolute;
	right:10%;
	margin:auto 0;
	font-size:2vw;
	font-family: 'nexa_boldregular';
	display: inline-table;
  	justify-content: center;
  	align-items: center;
	top:0;
	bottom:0;
	text-align:right;
}

header h2 a {
	background:url(images/phone-icon.svg) center left no-repeat;
	background-size: contain;
    display: block;
    padding-left: 1.5em;
    color: inherit;
    text-decoration: none;
}

header nav {
	position: absolute;
    background: url(images/nav-background.svg) center left no-repeat;
    background-size: cover;
    display: inline-block;
    vertical-align: top;
    width: auto;
    right: 0;
    height: auto;
    bottom: -15%;
    padding: 0 10% 0 5%;
    z-index: 10;
}

header nav  ul {
	list-style-type:none;
	margin:0;
	padding:0;
}

header nav  ul li {
	display:inline-block;
	vertical-align:middle;
}

header nav  ul li a {
	padding:0.75em 1em;
	color:#FFF;
	text-decoration:none;
	display:block;
}

header nav  ul li a:hover {
	background:#5da7bc;
}

/* HIDE CHECKBOX */

/*Style 'show menu' label button and hide it by default*/
header nav .show-menu {
	text-decoration: none;
	color: #fff;
	background: #334759;
	text-align: center;
	padding: 10px 0;
	display: none;
}

/*Hide checkbox*/
header nav input[type=checkbox] {
    display: none;
}

/*Show menu when invisible checkbox is checked*/
header nav input[type=checkbox]:checked ~ #menu-main-navigation {
	display: block;
}

/*Display the dropdown on hover*/
header nav ul li:hover ul.hidden {
	display: block;
}

header nav ul ul {
	position:absolute;
	z-index: 100;
	background:#333;
	display: none;
	width: fit-content;
}

header nav ul li ul.hidden li {
	display:block;
	border-right:none;
}

header nav ul li ul.hidden li a {
	display: block;
	color:#FFF;
	padding: 0.75em 1em;
	border-right:none;
}

section.slider {
	background:#F9F9F9;
	width:100%;
	padding:0;
}

section.slider ul {
	list-style-type:none;
	margin:0;
	padding:0;
}

section.slider ul li h3 {
	margin: 0;
    color: #FFF;
    padding: 7% 20% 7% 10%;
    background: #6ec8e0;
    display: inline-block;
    vertical-align: top;
    font-size: 2.5vw;
    width: 15%;
    height: auto;
	-webkit-clip-path: polygon(
    10% 0, /* left top */
    100% 0, /* right top */ 
    100% 100%, /* right bottom */
    0 100% /* left bottom */
  );
	clip-path: polygon(
    0 0, /* left top */
    80% 0, /* right top */ 
    100% 100%, /* right bottom */
    0 100% /* left bottom */
  );
}

h5.cta {
	display:block;
	padding:2% 5%;
	background:#6ec8e0;
	font-size: 1.5vw;
	color:#FFF;
	-webkit-clip-path: polygon(
    10% 0, /* left top */
    100% 0, /* right top */ 
    100% 100%, /* right bottom */
    0 100% /* left bottom */
  );
	clip-path: polygon(
    0 0, /* left top */
    100% 0, /* right top */ 
    100% 100%, /* right bottom */
    2% 100% /* left bottom */
  );
}

h5.cta a {
	color:#FFF;
	text-decoration:none;
}

main {
	width:80%;
	padding:2% 10%;
}

main.services {
	width:100%;
	padding:0;
	display: -webkit-flex;
  	display: -ms-flexbox;
  	display: flex;
  	overflow: hidden;
}

main.services div.content {
	padding: 5% 5% 5% 10%;
	flex:1.8;
}

.content.contact {
	flex:1.5 !important;
	padding: 15% 5% 5% 10% !important;
}

.content a {
	color:#6ec8e0;
	font-family: 'nexa_boldregular';
}

.sidebar.contact {
	padding:0 !important;
	flex:1.5 !important;
}

main.services div.content h3 {
	font-family: 'nexa_lightregular';
	font-size:1.7vw;
}

main.services div.sidebar {
	background:#f0f9fc;
	flex:1.2;
	padding:3%;
}

main.services div.sidebar ul.service-box {
	width:100%;
	margin:0;
	padding:0;
}

main.pages {
	width:100%;
	padding:0;
	display: -webkit-flex;
  	display: -ms-flexbox;
  	display: flex;
  	overflow: hidden;
}

main.pages div.content {
	padding: 5% 5% 5% 10%;
	flex:2.25;
}

main.pages div.content h3 {
	font-family: 'nexa_lightregular';
	font-size:1.7vw;
}

main.pages div.sidebar {
	background:#f0f9fc;
	flex:0.75;
	padding:3%;
}

main.pages div.sidebar ul.service-box {
	width:100%;
	margin:0;
	padding:0;
}

main.home {
	text-align:center;
}

main strong {
	color:#6ec8e0;
}

main h3 {
	font-size:2.5vw;
	color:#6ec8e0;
	margin:0;
	font-family: 'nexa_boldregular';
}

ul.service-panels {
	list-style-type:none;
	margin:0;
	padding:0;
	text-align:center;
}

ul.service-panels li {
	width:22%;
	margin: 1.3% 1%;
    padding-bottom: 13%;
	display:inline-block;
	vertical-align:top;
	background:#333;
}

ul.service-panels li span {
	font-size:1vw;
	background:#6ec8e0;
	color:#FFF;
	display:block;
	padding:5% 0;
}

ul.service-panels li a {
	color:#FFF;
	text-decoration:none;
}

ul.case-studies {
	list-style-type:none;
	margin:0;
	padding:0;
}

ul.case-studies li {
	display:block;
	padding:0;
	background:#F8F8F8;
	margin-bottom:2%;
}

ul.case-studies li span {
	display:block;
	background:#f0f9fc;
	color:#333;
	padding:2%;
}

ul.case-studies li img {
	width:30%;
	height:auto;
	display:inline-block;
	vertical-align:top;
}

ul.case-studies li .text {
	width: 60%;
    padding: 0% 4%;
	display:inline-block;
	vertical-align:top;
}

ul.case-studies a {
	color:#333;
	text-decoration:none;
}

section.testimonials {
	width:80%;
	background:#f0f9fc;
	padding:2% 10% 0 10%;
	font-size:0;
}

section.testimonials span.element {
	width:25%;
	background:url(images/a-element-white.svg) top center no-repeat;
	background-size:contain;
	display:inline-block;
	 font-size:1.6vw;
	 text-indent:-9999px;
	 padding-bottom:25%;
	 vertical-align:top;
}

section.testimonials blockquote {
	-webkit-clip-path: polygon(
    10% 0, /* left top */
    100% 0, /* right top */ 
    100% 100%, /* right bottom */
    0 100% /* left bottom */
  );
	clip-path: polygon(
    0 0, /* left top */
    100% 0, /* right top */ 
    100% 100%, /* right bottom */
    10% 100% /* left bottom */
  );
  background:#FFF;
  padding:2% 5% 2% 10%;
  width:50%;
  display:inline-block;
  font-size:1.6vw;
  vertical-align:top;
  margin:0;
  position:absolute;
  right:10%;
  text-align:right;
  line-height:1.5em;
}

section.services-carousel {
	width:80%;
	padding:2% 10%;
	font-size:0;
	text-align:center;
}

section.services-carousel h4 {
	font-size:2vw;
	font-family: 'nexa_boldregular';
	margin:0 0 1% 0;
}

ul.service-box {
	width:45%;
	list-style-type:none;
	margin: 0.2%;
	padding:0;
	background:#e9f7fa;
	display:inline-block;
	vertical-align:top;
	text-align:left;
	border-radius:3px;
	overflow:hidden;
}

ul.service-box li {
	font-size:1.2vw;
	padding:2% 5% 2% 10%;
	background:url(images/blue-tick.svg) center left no-repeat;
	background-size: 8%;
}

ul.service-box li.heading {
	background:#6ec8e0;
	color:#FFF;
	padding:2% 5%;
}

ul.service-box span {
	display:block;
	text-align:right;
	font-size: 1.2vw;
    padding: 2% 5%;
}

ul.service-box span a {
	color:inherit;
	text-decoration:none;
}

section.page-image {
	width:100%;
	padding:0;
	font-size:0;
}

section.page-image img {
	width:70%;
	height:auto;
	margin-left:30%;
}

section.page-image iframe {
	margin-left:35%;
}

section.page-image h3 {
	margin: 0 auto 0 0;
    color: #FFF;
    padding: 7% 10% 3% 10%;
    background: #6ec8e0;
    display: flex;
    vertical-align: top;
    font-size: 2.5vw;
    width: 25%;
    height: auto;
	position:absolute;
	left:0; top:0; bottom:0;
	align-items: flex-end;
    align-content: flex-end;
	-webkit-clip-path: polygon(
    10% 0, /* left top */
    100% 0, /* right top */ 
    100% 100%, /* right bottom */
    0 100% /* left bottom */
  );
	clip-path: polygon(
    0 0, /* left top */
    80% 0, /* right top */ 
    100% 100%, /* right bottom */
    0 100% /* left bottom */
  );
}

footer {
	background:#565759;
	width:80%;
	padding:2% 10%;
	color:#FFF;
	font-size:0.8vw;
}

footer ul {
	margin:0 0 5% 0;
	padding:0;
	list-style-type:none;
}

footer ul li {
	display:inline-block;
	vertical-align:middle;
	margin-right:2%;
}

footer ul li a {
	color:#FFF;
	text-decoration:none;
}

footer p {
	margin:0;
}

footer p.thefuse {
	position:absolute;
	bottom:20%;
	right:10%;
	text-align:right;
}

footer p.copyright {
	position:absolute;
	bottom:20%;
	left:10%;
	text-align:left;
}

footer a {
	color:#FFF;
	text-decoration:none;
}