/*
	Theme Name: Day of the Seafarer
	Description: Day of the Seafarer
	
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font:300 11px/1.4 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color:#444;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width:1280px;
	width:95%;
	margin:0 auto;
	position:relative;
}
/* header */
.header {

}
/* logo */
.logo {

}
.logo-img {

}
/* nav */
.nav {

}
/* sidebar */
.sidebar {

}
/* footer */
.footer {

}

/*------------------------------------*\
    PAGES
\*------------------------------------*/



/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:320px) {

}
@media only screen and (min-width:480px) {

}
@media only screen and (min-width:768px) {

}
@media only screen and (min-width:1024px) {

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		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) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}




body {font-family: Arial, Helvetica, freesans, sans-serif;}
header {background-color: #fff;}
.blueStrip {display:block; background-color:#4b92db}
.blueStrip ul, .blueStrip ul li {margin:0; padding:0; display:block}
.blueStrip ul li  {display:inline-block;}
.blueStrip ul li a {display:block; color:#fff; font-size:16px; font-weight:bold; padding:8px 10px;}
.blueStrip ul li a:hover {opacity:0.8;}
section.submitBlock {display:block; float:left; width:33%; margin:40px 0 40px 0; box-sizing: border-box; }

/*section.submitBlock {display:block; float:left; width:33%; background-color:rgba(255,255,255,0.9); margin:40px 0 40px 0; box-sizing: border-box; padding:15px; border-radius:8px; box-shadow:0px 0px 5px rgba(0, 0, 0, 0.2)}*/
section.submitBlock h1 {font-size:22px; font-weight:bold; color:#4b92db; line-height:120%; margin-top:5px;}
section.submitBlock p {font-size:14px; font-weight:bold; margin:0 0 5px}
section.submitBlock .submitBlockBox {display:block; float:left; width:100%; background-color:rgba(255,255,255,0.9); box-sizing: border-box; padding:15px; border-radius:8px; box-shadow:0px 0px 5px rgba(0, 0, 0, 0.2)}

section.posts {display:block; float:left; width:100%; overflow: hidden;}
html {height:100%; min-height: 100%}
body {height:100%; min-height: 100%; background-image:url('img/background.jpg'); background-size:cover; background-position: center bottom; background-repeat: no-repeat; background-attachment: fixed;}
.messages {display:block; float:left; width:100%; margin-top:25px; padding:10px; box-sizing: border-box; text-align:center;}
.oneChange { float:left; display:block; background-color:#deecf5; padding:10px; border-radius:9px; border:1px solid #fff; margin:5px; padding:10px; box-shadow:0px 0px 5px rgba(0, 0, 0, 0.2)}
.oneChange#blue {background-color:#3379f2; border:1px solid #deecf5; color:#fff;  }
.grid-item {width: 22%; text-align: left; box-sizing: border-box;}

.oneChange p {padding:0; margin:0 0 5px 0; line-height:120%}
.oneChange .message {font-size:15px;display:block; color:#333; font-weight:600; }
.oneChange#blue .message {color:#fff;}
.oneChange#blue p {color:#fff;}
.oneChange .author {font-size:12px;}
#usp-pro {margin-top:-10px;}
#usp-pro input, #usp-pro select, #usp-pro textarea.usp-textarea {display:block; height:30px; border:1px solid #ccc; border-radius:10px; padding:0 10px  }
#usp-pro textarea.usp-textarea {resize: none; height:30px; padding-top:7px;}
#usp-pro label {text-transform:uppercase; margin:5px 0 3px 0; font-weight:bold; color:#4b92db; font-size:14px}
input.usp-submit {border:1px solid #4b92db; background-color:#4b92db; color:#fff; font-weight:bold; width:100%; font-size:20px; line-height:40px; height:auto!important;}

footer {clear:both; float:left; width:100%;}

.oneChange::after {display:block; content:" ";  position:absolute; bottom:-5px; left:-10px; width:15px; height:18px; background-image:url('img/speak-bubble.png'); background-size:contain; background-repeat:no-repeat;}

.oneChange#blue::after {background-image:url('img/speak-bubble-blue.png')}
.dotsBanner {width:100%; float:left; background-color:#5091cd; border-top:1px solid #ccc; border-bottom:1px solid #ccc; display:block;}
.dotsBanner img {display:block; width:100%; margin:5px auto;  }

.dotsBanner .image {float:left; width:33%;} 
.dotsBanner .intro {color:#fff; float:left; width:67%;}
.dotsBanner .intro h1 {font-size:28px; margin:10px 0px 5px 10px; line-height:120%}
.dotsBanner .intro p {font-size:14px; margin:0 0 5px 10px ;}
.gender{display:none}
.gender#Male {display:inline-block!important;  width:12px; height:12px; text-indent:-999px; overflow:hidden; background-image:url('img/icon-male.png'); background-size:contain; position:relative; top:2px}
.gender#Female {display:inline-block!important;  width:12px; height:12px; text-indent:-999px; overflow:hidden; background-image:url('img/icon-female.png');  background-size:contain; position:relative; top:2px}

p.onBoard, p.onBoard a, p.onBoard em{font-weight:bold; font-size:16px; color:#fff;}
section.submitBlock {margin-bottom: 0;}

.posts{ position:relative;}
#loading{
	position: absolute; 
	bottom: 600px; 
	left: 50%; 
	margin-left: -22px;
}
@media only screen and (max-width: 1099px) and (min-width: 850px)  {
    .grid-item {width:46%}
}

@media only screen and (max-width: 849px)  {
    .dotsBanner .image {width:100%}
    .dotsBanner .intro {width:100%}
    .dotsBanner img {width:250px; margin:0 auto}
    .grid-item {width:48%}
    section.posts {width:100%;}
    section.submitBlock {width:100%;}
    .messages {padding:0;}
    .dotsBanner .intro h1 {font-size:21px}
    .oneChange {float:none; margin:1%;}
    .messages, section.posts {text-align: center; float:none;}
    .dotsBanner .intro {padding-bottom: 10px}
}


@media only screen and (min-width: 1400px)  {
        section.submitBlock .submitBlockBox {width:400px}

.sticky {position:fixed; width:400px!important; top:20px }
}