/*
Theme Name: RandySuits-theme
Text Domain: randysuits-theme
Theme URI: http://www.randysuits.com
Description: Custom WordPress theme for Randy Suits
Version: 1.0
Author: J Davis Web Design
Author URI: https://www.jdaviswebdesign.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}

.sticky {
	border:4px double #f2f2f2;
}
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
    white-space: nowrap;
	height: 1px;
	width: 1px;
	overflow: hidden;
}
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/*-----*/

html { 
	font-size:62.5%;
}
body { 
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-size: 1.6rem;
	line-height:1.8;
	color: #000;
	margin: 0;
	padding: 0;
    background: url(images/background.jpg) no-repeat center center fixed; 
    background-size: cover;
}

a { color:#036; text-decoration:underline; }
a:hover { color:#666; text-decoration:none; }
a img { border: none; }

img {
	max-width:100%;
	height:auto;
}

.clear {  
	clear:both; 
	height:0; 
	line-height:0; 
}
.clear:after {
   content: "";
   display: table;
   clear: both;
}
.alignleft { float:left; margin:5px 15px 15px 0; padding:0; }
.alignright { float:right; margin:5px 0 15px 15px; padding:0; }
.aligncenter { display:block; margin:0 auto; text-align:center; }

blockquote { font-style:italic; margin:15px 3%; }
p, dt { margin:0; padding: 0 0 15px 0; }

hr { 	
	clear:both;
	border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
	margin:0 auto 20px auto;
}

h1, h2, h3, h4, h5, h6 { 
	color:#333; 
	margin: 0; 
	padding: 10px 0; 
	font-weight:normal; 
}
h1 { font-size:30px; font-size:3.0rem; }
h2 { font-size:26px; font-size:2.6rem; }
h3 { font-size:22px; font-size:2.2rem; }
h4 { font-size:18px; font-size:1.8rem; }
h5 { font-size:16px; font-size:1.6rem; }
h6 { font-size:15px; font-size:1.5rem; }

/*-----*/

#container {
	position:relative;
	width:100%;
	max-width:1100px;
	margin:20px auto;
	padding:0;
}
#container img { 
	max-width:100%
}

header {
	width:100%;
	max-width: 1100px; 
	margin: 0 auto;
	padding:10px 0;
}
header img { 
	max-width: 100%;
	height: auto;
}

h1.title {
   position: absolute !important;
   top: -9999px !important;
   left: -9999px !important;
}
h2.description {
   position: absolute !important;
   top: -9999px !important;
   left: -9999px !important;
}

nav:before, nav:after {
    content: "";
    height: 1px;
    background: -webkit-linear-gradient(left, rgba(0,0,0,0) 0%, rgba(102,102,102,1) 50%, rgba(0,0,0,0) 100%);
    background: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(102,102,102,1) 50%, rgba(0,0,0,0) 100%);
    display: block;
}
nav {
	width:100%;
	max-width:1100px;
	margin: 0 auto;
	padding: 0;
}

#social {
	float:right;
	/padding-top:5px;
}

/* ----- */

main {
	display:flex;
	width: 100%;
	max-width:1100px;
	margin: 0 auto;
	padding: 30px 5px 0 5px;
}
main:after {
	content: "";
    display: table;
    clear: both;
}
h2.pageTitle {
	padding:0 0 20px 0;
	margin:0;
	color:#000;
	font-weight:normal;
	font-family: 'Righteous', sans-serif;
	font-size:36px;
	font-size:3.6rem;
	line-height:1.2;
}
main img {
	max-width:100%;
}
main img.shadow {
    box-shadow: 5px 5px 5px #666;
}

/* plugins */

.fb-page { /* Responsive Facebook Like Box */
	width: 100% !important;
}
.fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe[style] {
    width: 100% !important;
}
p#subscribe-email, p#subscribe-submit {
	padding:0;
	margin:0;
}

/*-----*/

section {
	flex:3;
	min-width:0;
	margin:0 30px 0 0;
	padding: 20px 20px 10px 20px;
	background-color:rgba(255,255,255,0.75); 
}
section::after {
   content: "";
   display: table;
   clear: both;
}
h2.postTitle {
	padding:0 0 20px 0;
	margin:0;
	color:#000;
	font-family: 'Righteous', sans-serif;
	font-size:36px;
	font-size:3.6rem;
	line-height:1.2;
}
h2.postTitle a {
	color:#000;
	text-decoration:none;
}
h2.postTitle a:hover {
	color:#666;
}

.rpwwt-widget {
	border:2px solid #1e73be;
	padding:10px;
}
.rpwwt-widget li {
	border-bottom:0 !important;
}
.rpwwt-widget li a {
	padding:5px 0 !important; 
}
.rpwwt-widget .rpwwt-post-title {
	color:#000;
	text-transform:uppercase; 
	font-family: 'Righteous', sans-serif;
	font-size:16px;
	font-size:1.6rem;
	margin: 0; 
	padding:0; 
}
.rpwwt-widget .rpwwt-post-excerpt a {
	display:inline !important;
	font-style:italic;
	padding-left:5px;
}

ul.social-icons li {
	border:none !important;
}

/* ----- */

aside {
	flex:1;
	min-width:0;
	margin: 0 0 0 30px;
	padding:10px;
	background-color:rgba(255,255,255,0.75); 
}
article {
	width: 100%;
	margin: 10px 0 30px 0;
	padding: 20px;
	background-color:rgba(221,221,221,0.5); 
	overflow:hidden;
}
article:last-of-type {
	margin-bottom:0;
}
article img.attachment-thumbnail {
	float:left;
	margin-right:15px;
}
aside .widget {
	margin:0 0 30px 0;
	padding: 0;
	font-size:14px;
	font-size:1.4rem;
}
aside .widget h3 { 
	color:#000;
	text-transform:uppercase; 
	font-family: 'Righteous', sans-serif;
	font-size:16px;
	font-size:1.6rem;
	margin: 0; 
	padding:0; 
}
aside .widget ul { 
	margin:0; 
	padding:0; 
}
aside .widget ul a {
	display:block;
	text-decoration:none; 
	font-style:normal;
	color:#036;
	font-family: Arial, Helvetica, sans-serif;
	font-size:14px;
	font-size:1.4rem;
	padding:5px;
}
aside .widget ul a:hover { 
	color:#333; 
	background-color:rgba(221,221,221,0.5); 
}
aside .widget ul li { 
	list-style: none;
	line-height:1.5;
	border-bottom:1px solid #ccc;
}
aside .widget ul ul a { 
	padding-left:10px; 
}

aside .widget .comment-author-link { color:#333; font-size:14px; font-size:1.4rem; font-weight:normal; }
aside .widget .comment-author-link a { color:#000; font-size:14px; font-size:1.4rem; font-weight:normal; }
aside .widget_sp_image-description p { font-family:"Times New Roman", Times, serif; font-style:italic; margin:0; padding:0 0 5px 0; text-align:center; }
aside .widget .tagcloud { padding:0 10px; }
aside .widget .textwidget { padding:0 0 5px 0; }

#searchform { 
	margin:0; 
}
#searchform #s { 
	padding:3px 10px;
	width:100%;
	max-width:200px; 
	color:#000 !important; 
	font-size:14px; 
	font-size:1.4rem; 
	background:#fff; 
	border:1px solid #888; 
	border-radius: 10px; 
}
textarea:focus, input:focus{
    outline: 0;
}
#gallery-1 .gallery-item { margin:0 !important; padding:0 !important; line-height:1 !important; }
#gallery-1 .gallery-icon { margin:0 !important; padding:0 !important; line-height:1 !important; }
#gallery-1 img.attachment-thumbnail { margin:0 !important; padding:0 !important; border:none !important; }

.post_excerpt { border-bottom:1px dashed #666; padding-bottom:20px; }
a.readmore { text-decoration:none; font-size:14px; font-size:1.4rem; }

.meta { font-size:14px; font-size:1.4rem; color:#555; margin:5px 0 15px 0; }
.meta a { font-size:14px; font-size:1.4rem; color:#036; text-decoration:none; }
.meta a:hover { text-decoration:none; }
.comment-icon { background:url(images/comment.png) no-repeat; padding-left:22px; }

.wp-caption { max-width:100%; text-align: center; }
.wp-caption img { border:none; margin: 0; padding: 0; }
.wp-caption p.wp-caption-text { font-size:14px; font-size:1.4rem; font-style:italic; padding: 0 0 2px 0; margin: 0; }
.gallery-caption { }

#wp-calendar { margin:0 auto 10px auto; text-align:center; width:220px; color:#999; border:1px solid #333; }
#wp-calendar caption { font-style:italic; font-weight:bold; color:#eee; }
#wp-calendar a { text-decoration:underline; color:#eee; }
#wp-calendar a:hover { text-decoration:none; }
#wp-calendar #prev a, #wp-calendar #next a { font-style:italic; font-weight:bold; text-decoration:none; }

#commentform label { font-size:14px; font-size:1.4rem; }
#commentform input[type=text] { width:50%; }
#commentform textarea { display:block; width:90%; height:50px; }
#leavecomment h4 { text-transform:uppercase; padding-bottom:5px; color: #333; }
p.comment-subscription-form:first { margin:10px 0 0 0; }
p.comment-subscription-form { margin:5px 0 0 0; }

ol.commentlist { list-style:none; padding-left:0; }
ol.commentlist li { list-style:none; margin-left:0; margin-bottom:10px; background:#eee; color:#333; padding:10px; }
ol.commentlist img.avatar { float:left; margin-right:10px; }
ol.commentlist .reply {  }
ol.commentlist .reply a { text-decoration:none; background:#333; color:#ccc; padding:2px 5px; border-radius:5px; text-transform:uppercase; font-size:14px; font-size:1.4rem; }
ol.commentlist ul.children { list-style:none; margin:0 0 0 20px; padding:5px 5px 0 5px; }
ol.commentlist ul.children li { list-style:none; margin-bottom:0; background:#ddd; }
ol.commentlist ul.children ul li { list-style:none; background:#eee; }
ol.commentlist li.bypostauthor { background: #ccc; }
ol.commentlist .meta { color:#666; }
ol.commentlist .meta a { color:#0d8080; text-decoration: none; }
ol.commentlist ul.children li .meta { color:#333; }
ol.commentlist img.wp-smiley { border:none; box-shadow:none !important; }

.archive { font-weight:bold; }
.archive span { font-weight:bold; font-size:18px; font-size:1.8rem; color:#999; }

.authorlist { padding:5px; margin:0; margin-left:20px; }
.authorlist li { list-style:none; }
.authorlist a.title { text-decoration:none; }
.authorlist a.title:hover { text-decoration:underline; }
.taglist { list-style-type:none; padding:0; margin:0; margin-left:20px; }
.taglist li { border-bottom:1px dotted #333; margin-top:5px; }

.paging { width:100%; overflow: hidden; }
.paging a { text-decoration:none; font-size:18px; font-size:1.8rem; }

/*-----*/

footer {
	width:100%;
	max-width:1100px;
	margin:0 auto;
	padding: 10px 0;
	font-size:14px; 
	font-size:1.4rem;
	text-align:center;
}
footer:before {
    content: "";
    height: 1px;
    background: -webkit-linear-gradient(left, rgba(0,0,0,0) 0%, rgba(102,102,102,1) 50%, rgba(0,0,0,0) 100%);
    background: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(102,102,102,1) 50%, rgba(0,0,0,0) 100%);
    display: block;
    margin-bottom: 20px;
    margin-top: 10px;
}
footer p {
	margin: 0 0 10px 0;
}
footer h3, footer h4 {
	margin:0;
	padding:0;
	color:#000;
	font-size:15px; 
	font-size:1.5rem;
}
footer .design {
	margin-top:10px;
}
footer .design a { 
	font-family:"Times New Roman", Times, serif; 
	font-style:italic; 
	text-decoration:none; 
}
footer .design a:hover { 
	text-decoration:underline;
}

/* for tables used on pages */
main table { border:1px solid #cdcdcd; border-collapse:collapse; max-width:100%; margin-bottom:10px; }
main table th { border:1px solid #cdcdcd; padding:0; vertical-align:top; }
main table td { border:1px solid #cdcdcd; padding:0; vertical-align:top; }


@media only screen and (max-width: 780px) {
	h1 { font-size:30px; font-size:3.0rem; }
	h2 { font-size:26px; font-size:2.6rem; }
	h3 { font-size:22px; font-size:2.2rem; }
	h4 { font-size:16px; font-size:1.6rem; }
	h5 { font-size:15px; font-size:1.5rem; }
	h6 { font-size:14px; font-size:1.4rem; }

	main {
		display:block;
		padding:20px;
	}
	h2.pageTitle, h2.postTitle {
		font-size:30px;
		font-size:3.0rem;
		margin-bottom:10px;
	}
	section {
		margin:0;
		padding:10px;
	}
	aside { 
		margin:30px 0 0 0;
	}
	article {
		background-color:transparent;
		margin: 10px 0 2px 0;
		padding: 0;
	}
	.post-date {
		display:block;
	}
}

@media only screen and (max-width: 640px) {
	body {
		line-height:1.4;
	}
	.alignleft, .alignright { 
		float:none; 
		margin:0;
	}
	blockquote {
		margin: 0;
		padding: 0;
		margin-bottom:20px;
	}
	h1 { font-size:26px; font-size:2.6rem; }
	h2 { font-size:22px; font-size:2.2rem; }
	h3 { font-size:20px; font-size:2.0rem; }
	h4 { font-size:18px; font-size:1.8rem; }
	
	#container {
		margin:0 auto;
	}
	#container img {
		display:block;
		max-width:100%;
		margin:10px auto;
	}
	header {
		padding:0;
	}
	#social img {
		width:24px;
		height:24px;
	}
	h2.pageTitle, h2.postTitle {
		margin:10px 0;
		padding:0;
	}
	main table td {
		word-break:break-all;
	}
	.wp-caption p.wp-caption-text {
		font-size:12px;
		font-size:1.2rem;
	}
	ol.commentlist img.avatar { 
		padding-right:10px;
	}
	ol.commentlist ul.children { 
		margin:0 -10px; 
	}
}

@media only screen and (max-width: 480px) {
	article {
		margin: 10px 0 20px 0;
		padding: 0;
		background-color:transparent;
	}
	article img.attachment-thumbnail {
		display:block;
		float:none;
		margin:10px auto;
		max-width:100%;
	}
	h2.pageTitle, h2.postTitle {
		font-size:24px;
		font-size:2.4rem;
	}
}