/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
*{
	font-family: 'Josefin Slab', serif;
	color:#B3B3B3;
}
p{
	font-size:18px;
	font-weight:600;
}
h1{
	font-weight:600;
	color:#000;
}

h1 span{
	font-size:1.2em;
	color:#000;
	
}

.navigation ul li{
	color:#000;
	font-family: 'Open Sans', sans-serif;
	font-weight:600;
}
.e-script{
    font-family: 'Qwigley', cursive;
    font-size: 90px;
    text-transform: capitalize;
    font-weight: 100;
    line-height: 40px;
    margin-bottom: 25px;
	color:#B3B3B3;
	
}

/* custom css */
section,
header div,
header,
section div{
	box-sizing:border-box;
}
.e-container{
	padding-left:50px;
	padding-right:50px;
}
.e-flexer{
	display:flex;
	justify-content:space-between;
	flex-wrap:wrap
}
.duo{
	width:49%;
	flex:0 0 49%;
}
.trio{
	width:32%;
	flex:0 0 32%;
}
.quad{
	width:24%;
	flex:0 0 24%;
}
@media only screen and (max-width:1024px){
	.trio,
	.duo{
		width:100%;
				
	}
}

.tx-center,
.tx-center h1,
.tx-center h2,
.tx-center h3,
.tx-center h4,
.tx-center p{
	text-align:center;
}
.trio h4{
    font-size: 22px;
    margin-bottom: 0;
    padding-bottom: 0;
    line-height: 1em;
}
section div img{
	width:100%;
	display:block;
}
.navigation ul li {
	display:inline-block;
	padding:0 12px;
	font-weight:800;	
}
.main-logo{
	width:30%;
	flex:0 0 30%;
}
.nav-wrapper{
	position:absolute;
	width:100%;
	top:0;
	left:0;
	padding-top:12px; 
	background:transparent;
}
header{
	display:flex;
	align-items:center;	
	height:90vh;
	position:relative;
}
.e-wrapper{
	max-width:980px;
	margin-left:auto;
	margin-right:auto;
}

.flex-left{
	justify-content:flex-start;
}

button{
	border: 2px solid #F729BE;
	background:transparent;
	padding:12px;
	border-radius: 8px;
	color:#F729BE;
	font-weight:800;
}

.promise{
	background: url(../img/bigbg.png), url(../img/whiteoverlay.png) no-repeat;
	background-position: right bottom , right top ;
	background-size:cover;
}

.testimonials{
background: url(../img/sectionbg.png) right bottom no-repeat;
background-size:cover;

}
.promise p{
	font-size: 18px;
}

.e-link{
	margin-bottom:45px;
	color: #f900b3;
	text-decoration:none;
	margin-top:16px;
	display:block;
	text-transform:uppercase;
	font-weight:800;
}

section{
	display:block;
	padding-top:50px;
	padding-bottom:50px;
} 

.main-logo{
	color:#000;
	width:50px;
	top:15px;
	position:relative;
	
	left:0;
}

.nav-wrapper{
	position:absolute;
	top:0;
	left:0;
	width:100%;
}

.navigation{
	margin-left:auto;
	margin-right:auto;
	width:479px;
}

.dedication{
	padding-top:0;
	padding-bottom:0
}
.promise{
	padding-bottom:100px;
}

.testimonials{
	padding-top:20px;
	padding-bottom:20px;
	
}

.testimonials .quote-image{
	margin-left:auto;
	margin-right:auto;
	width:55px;
	height:auto;
	color:#000;
}

.footer-logo{
	margin-left:auto;
	margin-right:auto;
	display:block;
}
.footer-menu,
.e-center{
	justify-content:center
}

footer hr{
	margin-top:50px;
}
footer ul{
	text-decoration:none;
	
}
footer ul li{
padding:12px;
	list-style-type: none;
}

footer .social-icons embed{ 
	padding:12px;	
}

.main-logo{
	width:96px;
}
.theme-container{
	width:100%;
	padding-left:50px;
	padding-right:50px;
}
.text-center{
	text-align:center;
}

.theme-options {
	padding:8px;
}
.theme-options .trio p{
	font-family: 'Open Sans', sans-serif;
}

.theme-options .trio p{

	padding-top:0;
	padding-bottom:0;
	margin-top:0;
	margin-bottom:0;
	font-size:16px;
	color: #000;
	
}
.theme-options .fa:hover,
.theme-options p:hover,
.theme-options button:hover{
	cursor:pointer;
}

.theme-options .fa{
		padding-top:0;
	padding-bottom:0;
	margin-top:0;
	margin-bottom:0;
	font-size:21px;
	color: #000;
}
.theme-options .fa-chevron-left{
	padding-right:12px;
}
.theme-options .text-center .fa{
		padding:0 9px;	
}
div{
	box-sizing:border-box;
}
.theme-options .trio:nth-child(3){
	display:flex;
	justify-content:flex-end;
	align-items: center;
}
.theme-options .trio:nth-child(2){
	display:flex;
	
	align-items: center;
	justify-content:center;
}
.theme-options .trio:first-child{
	display:flex;
	justify-content:flex-start;
	align-items: center;
}

.theme-options .trio:nth-child(3) p,.theme-options .trio:nth-child(3) button{
	float:right;
}
.btn-primer{
	    font-family: 'Open Sans', sans-serif;
    box-shadow: none;
    border: none;
    border-radius: 50px;
    padding: 15px 20px;
    background: #09ADA5;
    color: #fff !important;
	float:right;
}


.text-divider{
	padding-left:12px;
	display:inline-block;
	padding-right:12px;
}
.theme-options .fa-chevron-down,
.theme-options .fa-arrow-left{
	font-size:15px;
	position:relative;
	top:-1px;
}

@media only screen and (max-width:786px){
	.e-center{
		text-align:center;
	}
	header{
		height:300px;
	}
	.navigation{
		width:100%;
	}
	.nav-wrapper{
		display:none;
	}
	.testimonials,
	.e-wrapper{
		padding: 4px 20px;
	}
	.e-flexer{
		display:block;
		width:100%;
	}
	.duo,
	.trio,
	.quad{
		width:100%;
		padding-left:0 !important;
	}
} 
.mobile-navigation{display:none;}
.device-wrapper{
	transition: all 0.4s ease-out;
}
.desktop-layout{
	box-shadow: none;
	width:100%;
	
}
.tablet-layout{
	margin:20px auto;
	box-shadow: 0px 3px 15px rgba(0,0,0,0.2);
	width:1024px;	
	height:768px;
	overflow-y:scroll;
	overflow-x:hidden;
}
.mobile-layout{
	margin:20px auto;
	box-shadow: 0px 3px 15px rgba(0,0,0,0.2);
	width:380px;
	height: 554px;
	overflow-y:scroll;
	overflow-x:hidden;
}
body{
	background: #ecf0f1;
}
.theme-options{
	background:#fff;
}

.mobile-layout .mobile-navigation{ 
	display:block;
}
.mobile-layout .duo,
.mobile-layout .trio,
.mobile-layout .quad{
		width:100%;
		padding-left:0 !important;
	}

.mobile-layout	.e-center{
		text-align:center;
	}
.mobile-layout	header{
		height:300px;
	}
.mobile-layout	.navigation{
		width:100%;
		display:none;
	} 
.mobile-layout .fa-bars{
	font-size:25px;
	position:relative;
	top:11px;
	color:#000;
}
.mobile-layout .fa-bars:hover{
	cursor:pointer;	
}
.mobile-layout	.nav-wrapper{
	
}
.mobile-layout	.testimonials,
.mobile-layout	.e-wrapper{
		padding: 4px 20px;
	}
.mobile-layout	.e-flexer{
		display:block;
		width:100%;
	}