/*
 * Title: style-base.css
 * Date: 2013.08.02
 * Revised: 2024.09.24
 * Author: dave@wilderdrums.com
 * Website: fifthparamita.com
 * Description: Styles for the basic version of the site.
 */

/* Include normalization */
@import url('normalize.css');
@import url('modal-timer.css?5');

/* Smallest screen size */

/* Layout */

body {
	max-width: 460px;
	margin: 0 auto;
}

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

.nav-user {
	position: fixed;
	bottom: 0;
	width: 100%;
}

main {
	position: relative;
}

/* Color */

body {
	background: #e5e5e5;
}

/* Text */

body {
	font-size: medium;
	color: #343434;
	font-family: gill sans, "Helvetica Neue", Helvetica, arial, sans serif
}

h1 {
	font-weight: 100;
	font-size: 1.5em;
	margin: .5em 0 0;
	color: #2e2e2e;
	font-family: "Gill Sans", Helvetica, Arial, Sans Serif;
	text-transform: capitalize;
}

p {
	margin: 1.1em 0 0;
	line-height: 1.5em;
	font-weight: 100;
}

h1 + p {
	margin: 1.5em 0 0;
}

select,
input[type='submit'] {
	font-family: "Helvetica Neue", Helvetica, arial, sans serif;
	font-weight: 300;
}

/* Banner */

header[role='banner'] {
	margin: 0;
	padding: 1em 0 .5em;
}

.logo {
	padding: 0 10px;
}

.logo p {
	line-height: 1em;
	margin: .5em 0;
	text-align: center;
}

.logo a {
	text-decoration: none;
	font-size: 1.5em;
	color: #343434;
	line-height: 1em;
}

.logo span {
	font-family: baskerville, "time new roman", serif;
	font-style: italic;
	text-transform: lowercase;
	font-size: 1.1em;
	color: #900;
}

.tagline {
	margin: .7em 0 0 10px;
	padding: 0 10px 0 0;
	text-align: center;
	clear: both;
}

/* Navigation */

.nav-user {
	float: left;
	padding: 10px;
	margin: 0;
	background: #999;
}

.nav-user li {
	float: left;
	margin: .25em;;
}

.nav-user li a {
	float: left;
	padding: .5em .75em;
	border: 1px solid #ddd;
	border-color: rgba(0,0,0,.1);
	border-radius: .5em;
	text-decoration: none;
}

.nav-user li a:hover,
.nav-user li a:focus {
	background: #eee;
	background: rgba(0,0,0,.05);
	border: 1px solid #ccc;
	border-color: rgba(0,0,0,.15);
}

/* Meditation form*/

section.meditation {
	margin: 10px;
	padding: 1em 15px 1.5em;
	border: 1px solid #c5c5c5;
	background: #f5f5f5;
	border-radius: 7px;
	box-shadow: 0 1px 4px rgba(0,0,0,.2);
}

form {
	margin-top: 1em;
}

form p {
	width: 100%;
	float: left;
	line-height: 1em;
	padding: 0;
	margin: 1em 0 0;
}

form p label {
	display: inline-block;
	float: left;
	margin-top: 8px;
}

form p input[type='checkbox'] + label {
	float: none;
	margin-left: .5em;
}

select {
	float: right;
	display: inline-block;
	height: 34px;
	width: 50%;
	padding: 6px .5em;
	background: #fff;
	-webkit-appearance: none;
	border: 1px solid #c5c5c5;
	border-radius: 5px;
}

input[type='submit'] {
	width: 100%;
	height: 34px;
	margin: 1em 0 0;
	color: #343434;
	background: #e5e5e5;
	border: 1px solid #c5c5c5;
	border-radius: 5px;
	
background: #eeeeee; /* Old browsers */
background: -moz-linear-gradient(top,  #eeeeee 0%, #cccccc 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eeeeee), color-stop(100%,#cccccc)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #eeeeee 0%,#cccccc 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #eeeeee 0%,#cccccc 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #eeeeee 0%,#cccccc 100%); /* IE10+ */
background: linear-gradient(to bottom,  #eeeeee 0%,#cccccc 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#cccccc',GradientType=0 ); /* IE6-9 */

}

input[type='submit']:active,
input[type='submit']:focus {
	background: #f5f5f5;
}

#_hs-checkbox span {
	display: block;
	background: #fff;
	border: 1px solid #c5c5c5;
	border-radius: 3px;
}

#_hs-checkbox input {
	height: auto;
	margin: 10px 0 10px 10px;
}

/* if the form is only a button, remove padding and margins */

/*form*/.button {
	margin: 1.1em 0 0;
}


/*form*/.button p {
	margin: 0 0;
}

/*form*/.button input[type='submit'] {
	margin: 0 0;
}

/* Stop the meditation link */

/*p*/.stop-link {
	margin: 1.5em 0 0;
	padding: 1.2em 0 0;
	border-top: 1px dotted #c5c5c5;
}

/*p*/.stop-link a {
	text-decoration: none;
	color: #5e5e5e;
}

/*p*/.stop-link a:hover {
	color: #900;
	text-decoration: underline;
}

/*p*/.note {
	font-size: .875rem;
}
	
/* Footer */

footer {
	padding: .25em 10px .25em;
}

footer.fixed {
	position: fixed;
	bottom: 0;
	width: 100%;
}

footer p {
	font-size: .875rem;
}

footer a {
	text-decoration: none;
	transition: opacity 200ms ease-in-out;
}

footer a:link,
footer a:visited {
	color: #7B0B0B;
}

footer a:hover {
	opacity: 0.8;
}

footer a:active {
	color: #585858;
}


.group:after {
	content: ".";
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
}

@media (min-width: 400px) {

	.logo {
		padding: 0 10px;
		float: left;
		text-align: left;
	}
	
	/*p*/.tagline {
		margin: 46px 10px 0;
		padding: 0;
		float: right;
		clear: none;
		background: none;
		text-align: left;
	}

}