/*
Theme Name: The Heart of It
Author: Danny Moore
Author URI: http://www.amplifypublishinggroup.com
Description: This theme is a basic blog based book website.
Version: 1.0
License: ©2025 Danny Moore
Text Domain: heartofit
*/

/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
:focus {/* remember to define focus styles! */
	outline: 0;
}
body {
	background: #fff;
	line-height: 1;
}
ol, ul {
	list-style: none;
}
table {/* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a img {
	border: 0;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

/******************** body *******************/

html{ font-size:19px; }

body{
	margin:0px;
	padding:0px;
	width:100%;
	height:100%;
	border:0px;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	font-size:19px;
	line-height:1.5;
	background:#fff;
	color:#000;
	font-family:"linotype-sabon", sans-serif;
}

img{ border:0px; }

#loader{
    width:100%;
    height:100%;
    z-index:1000000;
    position:fixed;
    top:0;
    left:0;
    background:#fbd536;
}

#loaderin{
    width:4vw;
    min-width:80px;
    height:auto;
    position:absolute;
    line-height:0;
    top:50%;
    left:50%;
}

#loader svg{
    transform:translate(-50%, -50%);
    position:absolute;
    stroke:#308775;
    fill:none;
    stroke-width:2;
    stroke-linecap:square;
    stroke-dasharray:180 180;
    animation-duration:2s; 
    animation-iteration-count:infinite; 
    transform-origin:center;
    animation-timing-function:linear;
    animation-name:fr0;
}

@keyframes fr0 { 
  0% { stroke-dashoffset:0; } 
  50% { stroke-dashoffset:180;  }
  100% { stroke-dashoffset:360;  }
}

hr{
	height:1px;
	border:0px;
	background:rgba(0,0,0,0.1);
	margin:2.2em 0 2.3em 0;
	clear:both;
}

h1, .h1{
	font-size:1.6em;
	margin:0 0 1.25em 0;  
    color:#308775;
    line-height:1.18;
    text-transform:uppercase;
    letter-spacing:.16em;
    text-align:center;
    font-family: "mrs-eaves-xl-serif", serif;
}

h2, .h2{
    font-size:1.2em;
	margin:1.75em 0 .75em 0;  
    line-height:1.2;
    text-transform:uppercase;
    letter-spacing:.16em;
    text-align:center;
    font-family: "mrs-eaves-xl-serif", serif;
}

h3, .h3{
	font-size:1.5em;
	margin-bottom:1em;
    text-align:center;
    line-height:1.2;
    font-family: "mrs-eaves-xl-serif", serif;
    color:#fff;
}

h4, .h4{ 
    font-size:1.47em;
    margin:0 0 .25em 0;
    font-family: "mrs-eaves-xl-serif", serif;
}

.h5, h5{
    margin:0 0 .4em;
    font-size:1.27em;
    text-align:center;
    line-height:1.3;
    font-weight:bold;
}

.h6, h6, .h7, h7{
    font-size:1.9em;
    margin:0 0 .6em;
    text-align:center;
}

.h7, h7{
    font-size:1.6em;
    margin-left:7%;
    margin-right:7%;
}

p{ margin:0 0 1em 0; }
em, i{ font-style:italic; }
strong, b{ font-weight:bold; }

a{
	text-decoration:none;
	color:#c98000;
	transition:.4s color;
}

a:hover{ color:#308775; }

#outside{
	width:100%;
	height:100%;
	display:block;
	position:relative;
	margin:0px;
	padding:0px;
    overflow:hidden;
}

#inside{
	width:100%;
	height:auto;
	margin:0 auto;
	padding:0;
}

#top{
	width:100%;
	height:auto;
	position:fixed;
	z-index:10000;
	clear:both;
	float:left;
}

#navMenuSm{
    z-index:200000;
    position:fixed;
    width:auto;
	display:none;
	height:100%;
	padding:0;
    top:0;
    right:0;
    background:#136252;
}

#content{
	width:100%;
	height:auto;
	padding:0;
	margin:0 auto 0 auto;
	clear:both;
	float:left;
	position:relative;
	z-index:150;
    line-height:0;
}

/******************** insides ********************/

#topinside{
	position:relative;
    display:table;
    padding:.95em 1.5em;
    width:100%;
    transition:.3s padding, .3s width, .3s background;
    line-height:1;
    box-sizing:border-box;
}

.slid{ 
    padding:.75em 1em .4em !important;
    background:#fbd536;
}

/********************* Top ************************/

#title{
	position:relative;
	width:19em;
    display:table-cell;
    vertical-align:middle;
    fill:#308775;
    transition:.5s fill;
}

#title svg{ width:100%; height:auto; }

#title:hover{ fill:#fff; }

.spacer{
    position:absolute;
    z-index:200;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

#navMenu{
    display:table-cell;
    text-align:right;
    position:relative;
    vertical-align:middle;
}

#navMenu div{ display:inline-block; }

.social{
    top:.1em;
	position:relative;
	display:inline-block;
	margin:0 0 0 .6em;
	pointer-events:all;
}

.wp-block-group__inner-container .social{ margin-left:0; }

.social a{
	position:absolute;
	width:100%;
	height:100%;
	z-index:1000;
    top:0;
    left:0;
}

.iconDiv{
	width:1em;
	height:1em;
	margin:0 0 0 .25em;
	position:relative;
	display:inline-block;
	text-align:center;
	cursor:pointer;
}

.iconDiv svg{
	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:100% !important;
}


.iconDiv svg{
	fill:#2acff3;
	transition:.3s fill;
}

.iconDiv:hover svg{
	fill:#308775;
}

/******************** Nav **************************/

#smNavShow{ display:none !important; }

#navMenu .menu, #navMenu ul, #navMenuSm .menu, #navMenuSm ul{
	list-style:none;
	padding:0;
	position:relative;
	z-index:900;
	margin:0 0 0 0;
	display:inline-block;
}

#navMenuSm .menu, #navMenuSm ul{
	width:100%;
	margin:0 0 1em;
	padding:0;
}

#navMenu ul li, #navMenuSm ul li{
	display:inline-block;
	float:none;
	padding:0;
	margin:0;
}

#navMenuSm ul li{
    clear:both;
    float:left;
	height:auto;
}

#navMenu ul li a, #navMenuSm ul li a{
	text-decoration:none;
    color:#000;
	display:inline-block;
	margin:0 0 0 3vw;
	position:relative;
	line-height:1;
	font-size:1.53em;
	transition:.5s color;
    cursor:pointer;
    font-family: "mrs-eaves-xl-serif", serif;
}

#navMenu ul li a:hover, #navMenuSm ul li a:hover, .pove{ color:#308775; }

#navMenu .active a, #navMenuSm .active a{ color:#308775 !important; }

#menucloser{
    width:100%;
    height:.75em;
    margin:1em 0 .8em 1.5rem;
    fill:#fff;
    cursor:pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition:.5s fill;
}

#menucloser svg{
    height:100%;
    width:auto;
}

#menucloser:hover{ fill:#308775; }

/******************** Main Content *******************/

#mainContent{
	width:100%;
	height:auto;
	margin:0 auto;
	position:relative;
}

#mainText{
	width:100%;
	float:left;
	margin-left:0;
}

.pages{
    background-size:cover;
    background-position:center top;
    display:inline-block;
    width:100%;
}

.pageinside{
    max-width:1000px;
    margin:0 auto;
    padding:0;
    text-align:left;
    position:relative;
    line-height:1.5;
    width:84%;
}

#mainContent ul, #mainContent ol{
	list-style:none;
	margin:1em 0;
}

#mainContent ol{ list-style:decimal; }

#mainContent ol ol{ list-style:lower-latin; }

#mainContent ul li, #mainContent ol li{
	padding:0 0 .5em 1.75em;
	margin-left:1em;
}

#mainContent ul li{
	text-indent:-1.2em;
	line-height:1.3;
	margin-bottom:.35em;
}

#mainContent ul li:before{
	color:inherit;
	content:'•';
	margin-right:.4em;
	font-size:1.25em;
}

.endpage{
    background:#308775;
    line-height:1.5;
    text-align:center;
}

.endpage > div{
    padding:2.5em 0;
    margin:0 auto;
    width:90%;
    max-width:800px;
}


/******************* Bottom **********************/

#bottom{
	width:100%;
	height:auto;
	clear:both;
	float:left;
	padding:3.3em 0;
	position:relative;
    bottom:0;
    background:#308775;
}

#head{
    fill:#fbd535;
    width:auto;
    height:90%;
    position:absolute;
    bottom:0;
    left:3%;
}

#head svg{
    width:auto;
    height:110%;
}

#copyright{
	width:100%;
	clear:both;
	font-size:.85em;
	line-height:1;
	text-align:center;
    font-style:italic;
	color:#fff;
	margin:0;
    font-family: "mrs-eaves-xl-serif", serif;
}

/******************* Blog Posts *************************/

.blogposts{
    width:100%;
    clear:both;
    font-size:0;
    text-align:center;
}

.blogpost{
    font-size:1rem;
    display:inline-block;
    vertical-align:top;
    width:33%;
    padding:.75em 1.25em;
    margin:.25em;
    background:#f5f4ee;
    text-align:center;
    transition:.5s background;
    box-sizing:border-box;
}

.blogpost:hover{ background:#ded8c5; }

.blogpost .h3{ 
    text-align:center;
    color:#308775 !important;
}

.blogpost .descr{
    color:#000;
    text-align:left;
}

.postInfo, .postInfo2{
	display:block;
	margin:0 0 .5em 0;
	color:rgba(0,0,0,.45);
	font-size:.85em;
}

.postInfo2{
	margin:0 0 1em 0;
}

#pagination{
	width:80%;
	text-align:center;
	font-size:1.25em;
}

.pagination, .paginationp, .paginationn{
    display:inline-block;
    margin:0;
    width:1em;
    cursor:pointer;
}
.paginationp{ margin-right:.2em; display:none; }
.paginationn{ margin-left:.2em; }

/***************** reset styles for contat form ****************/

.wpcf7{
    max-width:500px;
    margin:1em auto 0;
}

label{
	font-size:1em;
	vertical-align:baseline;
    width:100%;
    display:inline-block;
    margin:.8em 0 .1em;
	position:relative;
}

input, textarea{
	font-family:inherit;
	font-size:1rem;
    border:.15em solid #308775;
    padding:.75em 1em;
    margin:0 auto .5em;
    width:100%;
    box-sizing:border-box;
    border-radius:.2rem;
}

textarea{ height:8em; }

.wpcf7-spinner{ position:absolute; }

.wpcf7-not-valid-tip{ font-size:1rem; }

::placeholder{ font-style:italic; }

input[type="submit"], .backToBlog a, .button, input[type="button"], .wp-block-button__link{
	cursor:pointer;
	width:auto !important;
	clear:both;
	border:0px;
    border-radius:.2rem;
	margin:0;
	padding:.7em 2em;
	line-height:1.2;
	display:inline-block;
	font-size:1.13em;
	transition:.5s color, .5s background;
	color:#000;
	background:#fbd535;
    text-align:center;
    font-family: "mrs-eaves-xl-serif", serif;
}

.backToBlog a{
	margin:3em 0 35px 0;
	font-size:1.4em;
	transition:.5s background;
}

#pagination .next, #pagination .prev, .read-more{
	padding:.2em .4em .2em .4em;
	margin:0 .3em;
	font-size:.9em;
	display:inline-block;
	transition:.5s color, .5s background;
	color:#fff;
	background:#308775;
}

.read-more{
	font-size:.85em;
	padding:.25em .8em .25em .8em;
}

#pagination .next:hover, #pagination .prev:hover, .read-more:hover, .wp-block-button__link:hover{
	color:#fff;
	background:#308775;
}

input[type="submit"]:hover, .backToBlog a:hover, .button:hover, input[type="button"]:hover{
	color:#fff;
	background:#308775;
}

.endpage form{
    display:flex;
    gap:.5em;
    justify-content:center;
    align-content:stretch;
    align-items:stretch;
    flex-wrap:nowrap;
}

.endpage input{
    width:auto !important;
    height:3.5rem !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
    margin:0;
    border:0 !important;
}

.endpage input[type="button"]:hover{ 
    background:#000;
    color:#fff;
}


/********************** Press *********************************/

.pressb{
	width:100%;
	clear:both;
	float:left;
	padding:.75em 1em;
	background:rgba(0,32,51,0.1);
	transition:.5s background;
	display:table;
	margin:.1em 0 .2em 0;
    box-sizing:border-box;
}

.pressb:hover{ background:rgba(125,175,195,0.6); }

.pressl{
	width:20%;
	height:100%;
	display:table-cell;
	vertical-align:middle;
	position:relative;
	top:.1em;
	border-right:1px solid rgba(0,32,51,0.25);
}

.pressl img{
	width:85%;
	height:auto;
    max-height:75px;
    object-fit:contain;
}

.presst{
	width:80%;
	padding-left:1em;
	height:100%;
	display:table-cell;
	vertical-align:middle;
	color:#000;
    box-sizing:border-box;
}

/********************** Buy Now Button ***********************/

.buyNowArea{
	width:100%;
	height:auto;
	text-align:center;
}

.buyNowButton{
    width:30%;
    margin:0 1%;
    display:inline-block;
    cursor:pointer;
    position:relative;
    border-radius:.2rem;
    overflow:hidden;
    line-height:0;
    background:#308775;
    transition:.5s background;
}

.buyNowButton a{
    position:absolute;
    width:100%;
    height:100%;
    z-index:100;
    left:0;
    top:0;
}

.svgcolor1{ transition:.5s fill; fill:#fbd536; }
.svgcolor2{ transition:.5s fill; fill:#fff; }
.svgback{ transition:.5s fill; fill:#308775; }

.buyNowButton:hover .svgback{ fill:#000; }
.buyNowButton:hover{ background:#000; }

/********************************** 404 *********************************/

.lost{
	margin:0;
	padding:0;
}

.lostH{
	font-size:6em;
	margin:0 0 0 0;
	line-height:1;
}

.lostP{
	margin:0;
}

/********************************* Events Calendar **********************/

.mbecout{ 
	border-width:3px;
	margin:2em 0 2.75em 0;
}
.mbecout, .edate{ border-color:#eee; }
.mbectop, .calendar-day-np, .elocation{ background:#eee; }
.npbut, .mbecbutton, .mbecout .h3, a.mbeca{ color:black; }
.mbeccloseButton svg{ fill:black; }
table.mbeccalendar, .mbeccalendar td{ border-color:#ddd; }
.calendar-day-head th{
	border-bottom-color:#ddd;
	background:#123;
	color:#fff;
}
.calendar-day-head th:last-child{ border-right-color:#ddd; }
.mbcalevent{ background:white; }
.mbeccloseButton{ top:-30px; }

/*************************** Book Covers *************************/

.bookcover{
	width:100%;
	height:auto;
	margin:3% auto -4% auto;
	padding:0 0 7% 0;
	position:relative;
	background:url("images/bookshadow.png") no-repeat;
	background-size:93% 100%;
	background-position:80% top;
}

.coverdiv{
	position:relative;
	width:77%;
	height:auto;
	z-index:1;
	top:0;
	left:10%;
	line-height:0;
	border-radius:3px;
	overflow:hidden;
	border-top:1px solid rgba(0,0,0,0.13);
	border-bottom:1px solid rgba(0,0,0,0.4);
}

.cover{
	position:relative;
	z-index:1;
	width:100%;
	top:0;
	left:0;
	height:100%;
}

.overcover{
	position:absolute;
	top:0;
	left:0;
	z-index:30;
	width:100%;
	height:100%;
	pointer-events:none;
	box-shadow:inset 0 0 2px rgba(0,0,0,0.1);
}

.coverhover{
	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:100%;
	background:rgba(1,2,3,0);
	z-index:10000;
	transition:.5s background;
}

.coverhover:hover{ background:rgba(1,2,3,0.4); }

/*************************** Testimonials ************************/

.testimonials{
	width:100%;
	margin:0;
	padding:0;
	clear:both;
	float:left;
    display:block;
    text-align:center;
}

.testimonialsin{ 
    position:relative; 
    height:100%;
    width:86%;
    margin:0 auto;
}

.testimonial{
	position:absolute;
    top:46%;
    -ms-transform:translateY(-50%);
    transform:translateY(-50%);
    left:0;
    width:100%;
    display:none;
}

.testimonial:first-child{ display:block; }

.testbuttons{
    width:100%;
    clear:both;
    text-align:center;
    position:relative;
    margin:.5em auto 0;
}

.testbutton{
    width:1em;
    height:1em;
    margin:0 .2em;
    display:inline-block;
    border:1px solid #308775;
    border-radius:1em;
    line-height:1;
    position:relative;
    cursor:pointer;
    overflow:hidden;
}

.testbutton:first-child { opacity:1; }

.tbl{ opacity:0; }
.testbutton:first-child .tbl{ opacity:1; }

.square{
    background:#308775;
    width:60%;
    height:60%;
    position:absolute;
    left:20%;
    top:20%;
    border-radius:1em;
    box-sizing:border-box;
}

/******************************* Extras *******************************/

.intext{
	width:38%;
	height:auto;
	margin:.25em 0 .5em 1.5em;
	float:right;
    box-shadow:.15em .15em .35em rgba(0,0,0,0.3);
    position:relative;
    line-height:0;
}

a .intext{ cursor:pointer; }

.icon{
    position:absolute;
    right:.5em;
    bottom:.5em;
    fill:#fbd535;
    cursor:pointer;
    transition:.5s fill;
    line-height:0;
}

.icon:hover{ fill:#fff; }

.shadowFrame{
	border:10px solid #fff;
	background:#fff;
	margin-bottom:20px;
	box-shadow:0px 2px 6px rgba(0,0,0,0.3);
}

.wide{
	width:100%;
	margin:0;
	padding:0;
	clear:both;
	float:left;
}

.bcolor{ background:#fef7d7; }
.dcolor{ background:#fbd535; }

.inpad{ padding:4em 0; }
.firstP .inpad{ padding:0; }

.table{ display:table; }

.left, .right, .lft, .rgt{ 
	display:table-cell;
	vertical-align:middle;
}

.rgt{
	width:45%;
    max-width:480px;
	padding-left:5%;
}

.right{
	width:40%;
    max-width:380px;
	padding-left:5%;
}

.clear{
	clear:both;
	height:30px;
}

.firstP{
    width:100%;
    background-color:#c65686;
    background-size:cover;
    background-position:center top;
    position:relative;
    overflow:hidden;
}

.firstP .pageinside{
    position:relative;
    text-align:center;
    width:100%;
    z-index:5;
    padding:5em 0 1.5em;
    display:table;
    height:100%;
    max-width:1000px;
    font-size:1.26em;
}

.firstP h1{
    font-size:2.13em;
    text-transform:none;
    letter-spacing:.02em;
    margin-bottom:0;
    line-height:1.4;
}

.firstP .right{ 
    width:50%;
    max-width:none;
	padding-left:1%;
}

.firstP .buyNowArea{ 
    max-width:300px;
    margin:0 auto 1em;
}

.firstP p{
    font-style:italic;
    font-family: "mrs-eaves-xl-serif", serif;
}

hr.wp-block-separator{
    max-width:9em;
    margin:1em auto;
    background:none;
    height:1px;
    border-top:0;
    border-bottom:1px solid #308775;
}

.text{
    padding-right:5%;
    display:table-cell;
    vertical-align:middle;
}

.sidetext{
    width:35%;
    display:table-cell;
    vertical-align:middle;
    box-shadow:3px 4px 6px rgba(0,0,0,0.3);
    background-size:cover;
    background-position:center;
}

#line1, #line2, #line3{ transition:.3s transform; }
#line1{ transform:translateY(15%); }
#line2{ transform:translateY(0); }
#line3{ transform:translateY(-15%); }

.buttons{
    margin:1.5em auto 0;
    text-align:center;
    width:100%;
}

.buttons .wp-block-buttons{
    display:inline-block;
    vertical-align:middle;
    max-width:45%;
    margin:0 auto .25rem;
}

.buttons .buyNowArea{
    display:inline-block;
    vertical-align:middle;
    max-width:14em;
    margin:0;
    line-height:0;
    text-align:left;
}

.buttons .buyNowButton{ margin-bottom:.25rem; }
.buttons .buyNowButton:first-child{ margin-left:0; }
.buttons .buyNowButton:last-child{ margin-right:0; }
.buttons .buyNowButton:hover .svgback{ fill:#fbd536; }
.buttons .buyNowButton:hover .svgcolor1{ fill:#308775; }
.buttons .buyNowButton:hover{ background:#fbd536; }

.grecaptcha-badge{ 
    z-index:1000;
    transform:scale(.8);
}

.amplogo{
    display:inline-block;
    width:4.5em;
    height:auto;
    vertical-align:middle;
    position:relative;
    top:-.1em;
    margin-left:.25em;
}

.main{
    margin:0 auto;
    max-width:690px;
}
.main p{
    text-indent:1.75em;
    margin-bottom:0;
}
.main p:first-of-type{ text-indent:0; }

.cent{ 
    text-align:center;
    margin:0 auto;
}
.cent p{ margin-bottom:1.5em; }

/********************************** Resized CSS *************************/

@media all and (max-width: 1175px){
    #navMenu ul li a, #navMenuSm ul li a{
        font-size:2.5vw;
    }
    .endpage form{
        flex-wrap:wrap;
    }
}

@media all and (max-width:1100px){
    .firstP .pageinside{ 
        max-width:none;
        width:90%;
        font-size:2vw; 
    }
}

@media all and (max-width:950px){
    #navMenu .menu{ display:none; }
	#smNavShow{ 
		display:inline-block !important; 
		width:1.4em;
        fill:none;
        stroke:#308775;
        stroke-width:4;
		margin:0 0 0;
		cursor:pointer;
		position:relative;
		z-index:1100;
        transition:.5s fill;
	}
    #smNavShow:hover #line1, #smNavShow:hover #line3{ transform:translateY(0); }
    #smNavShow svg{
        width:100%;
        height:auto;
    }
	#navMenuSm ul li a{
		padding:.6em 1.5rem;
        margin:0;
		font-size:1.25em;
		height:auto;
		top:0;
		text-align:left;
        color:#fff;
	}
    #navMenuSm ul li a:hover{ color:#fbd536; }
    .firstP .pageinside{ 
        font-size:1.1rem;
        display:block;
    }
    .left, .right, .firstP .right, .firstP .left{
		display:block;
		clear:both;
		width:100%;
		padding:0;
		margin:0 auto 1em;
	}
    .firstP .right{
        max-width:400px;
    }
}

@media all and (max-width:880px){
    .text, .sidetext{
        display:block;
        clear:both;
        width:90%;
        padding:0;
        margin:0 auto;
    }
    .text{ margin-bottom:1.6em; }
    .sidetext{ 
        min-height:23em;
        max-width:19em;
    }
    .lft, .rgt{ 
        display:block;
        clear:both;
        float:none;
        width:90%;
        padding:0;
        margin:0 auto 1em;
    }
    .buttons .wp-block-buttons{
        width:100%;
        max-width:none;
    }
}

@media all and (max-width:700px){
    .intext{ width:60%; }
    #copyright{
        margin-left:50%;
        width:40%;
    }
}

@media all and (max-width:600px){
    #title{ width:70%; }
    .endpage > div{ width:84%; }
    .endpage input{ flex-basis:100%; }
}

@media all and (max-width:500px){
	.intext{
		width:100%;
		float:left;
		margin:0 auto 1em;
	}
}