/*  
Theme Name: Debt Advocate
Theme URI: http://aerin.co.uk/aerin-theme
Author: aerin
Author URI: http://aerin.co.uk/
Description: This theme isn't full of bells and whistles and clever features. It is however a simple responsive base you can use as for custom layout creation. Easy to style with sidebar and footer widgets, header logo, taglines, analytics editor and reset functions.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: red, gray, light, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, full-width-template, post-formats, sticky-post, theme-options, threaded-comments
Palette: #A00B15 #B52C00 #343838

This theme, like WordPress, is licensed under the GPL. Play with it and discover the flexibility of WordPress themes.
*/

/***** RESET EVERYTHING *****/

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, font, ins, kbd, q, s, samp, small, strike, strong, 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: 98%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
	}
header,footer,nav {
	display:block;
	}
.clearfix:after, #maincontent:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
	}
* html .clearfix             { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */

/***** TYPOGRAPHY AND LINKS *****/

body {
	text-align: center;
	font-family: Helvetica, Arial, sans-serif;
	}
h1 {font-family: Helvetica, Arial, sans-serif;
	color: #8951A5;
	font-size: 240%;
	font-weight: 100;
	text-align: left;
	text-decoration: none;
	padding: 0 0 0 0;
	margin: 0 0 6px 0;
	}
h1 a:link,h1 a:visited {
	text-decoration: none;
	color: #8951A5;
	}
h1 a:hover {
	color: #2A2A2A;
	}
h2 {
	font-family: Helvetica, Arial, sans-serif;
	color: #2A2A2A;
	font-size: 220%;
	font-weight: 100;
	text-align: left;
	padding: 6px 0 6px 0;
	clear:both;
	}
h2 a:link,  h2 a:visited {
	text-decoration: none;
	color: #2A2A2A;
	}
h2 a:hover, {
	color: #343838;
	}
h3, h3 a:link, h3 a:visited{
	color: black;
	font-weight: bold;
	margin: 6px 0 6px 0;
	text-decoration: none;
	font-size:110%;
	}
h4, h5, h6, dt {
	color: #8951A5;
	font-weight: bold;
	margin: 0 0 6px 0;
	clear: both;
	}
h4 a {
	color: white;
	font-size: 120%;
	background: #343838;
	padding: 5px 22px;
	font-weight: normal;
	margin: 0 12px 0 0;
	text-decoration:none;
	line-height: 2.5em;
	white-space: nowrap;
	}

h4 a:hover {color: white;
	background: #999;
	}

code, pre {
	font-family: courier;
	padding: 4px 0;
	}

cite, strong {
	font-weight: bold;
	}

.entry blockquote {
	font-style: italic;
	background: url('images/quote.png') no-repeat right bottom;
	float:right;
	color:white;
	font-size: 130%;
	padding-bottom:56px;
	margin: 0 0 0 8px;
	}

.entry blockquote p {
	background:#212525;
	padding: 20px 20px 20px 20px;
	margin-bottom:0;
	}

/***** PAGE STRUCTURE *****/

#wrapper {
	background: #DFDFDF;
	}

/***** HEADER *****/

header {
	background: #343838;
	border-bottom: 1px solid #8951A5;
	padding-bottom:12px;
	margin-bottom:36px;
	}
#headercontent{
	margin: 0 auto 0 auto;
	position:relative;
	padding: 18px 0 0 0;
	max-width: 1044px;
	}
#logo {
	float:left;
	text-align:left;
	margin-bottom: 30px;
	}
#logo img {
	max-width:100%;
	height:auto;
	overflow:hidden;
	margin:0 0 4px 0;
	}
#logo a {
	text-decoration: none;
	}
#logo-title {   
	font-size:300%;
	color:#8951A5;
	}
#logo-tagline {
    font-size:120%;
    color:#999;
    }

#tagline {
padding-top: 40px;
float:right;
}

/***** NAVIGATION *****/
nav {
	background: #343838;
	display: block;
	clear: both;
	margin: 0 auto;
	padding: 0;
	font-size: 105%;
	transition: all 1s ease;
	}
nav:hover {
	background: #999;
	}
nav ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
	}
nav li {
	float: left;
	position: relative;
	}
nav a {
	color: ivory;
	display: block;
	margin: 0;
	padding: 12px;
	text-decoration: none;
	transition: all 0.7s ease;
	}
nav a:focus, nav .current-menu-ancestor > a, nav .current-menu-item > a, nav .current_page_item > a, nav .current_page_ancestor > a {
	color: ivory; !important;
	background: #8951A5;
	text-decoration: none;
	}
nav li:hover,nav li:hover a {
	color: ivory; !important;
	background: #8951A5;
	text-decoration: none;
	}
nav ul ul {
	display:none;
	float: left;
	margin: 0 0 0 0;
	position: absolute;
	left: 0;
	width: 100%;
	z-index: 99999;
	}
nav ul ul a {
	background: #F2F3F4 !important;
	border-top: 1px solid #343838;
	border-bottom:none;
	text-align:left;
	color: #495370;
	height: auto;
	padding: 3px 5px !important;
	margin:0;
	width: 200px;
	}
nav ul ul a:hover {border-bottom:none;}
nav ul ul ul {left: 100%;top: 0;margin:0;}
nav ul ul ul a {background: #CCC !important;color: #444;border-bottom:none;}
nav ul li:hover > ul {display: block;border-bottom:none;}

/***** PAGE STRUCTURE *****/
#maincontent {
	background: #FFFFFF;
	margin: 0 auto 0 auto;
	padding:18px 18px 0 18px;
	max-width: 1044px;
	text-align:left;
	}

/***** SEARCH *****/

#searchform input {
	font-family: Helvetica, Arial, sans-serif;
	margin: 3px 0 0 0;
	padding: 6px;
	color: #343838;
	font-size: 110%;
	border: 1px solid #343838;
	width:100%;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	}
#searchform span {
	display: none;
	}

/***** PRIMARY *****/

#primary {
	background: #FFFFFF;
	/* width: calc(100% - 315px); */
	/* width: -webkit-calc(100% - 315px); */
	/* max-width: 745px; */
	float: left;
	margin: 0;
        width:100%;
	}
.entry {
	}
.entry h1 {
	color: #8951A5;
	}
.entry h2 {
	}
.entry p {
	font-size:1.1em;
	line-height: 1.4em;
	margin-bottom: 12px;
	}
.entry ul, .entry ol{
	margin: 0 0 8px 2em;
	}
.entry ul ul{
	margin-left: 1em;
	}
.entry ul li {
	font-size: 1.1em;
	}

.entry img{
	margin-bottom: 8px;
	max-width:100%;
	height:auto;
	overflow: hidden;
	}
.primarymetadata, .date, .tags {
	font-size: 80%;
	color: #8951A5;
	}
.primarymetadata a {
	color: #607890;
	}
.continue-reading a {
	text-decoration:none;
	margin-top: 0px;
	}
.navigation {
	clear:both;
	padding: 5px 0 5px 0;
	}
.navigation .prev {float:left}
.navigation .next {float:right;}

.navigation a {
	color: white;
	font-size: 120%;
	background: #343838;
	padding: 5px 16px;
	font-weight: normal;
	margin: 0 12px 0 0;
	text-decoration:none;
	white-space: nowrap;
	line-height: 2.5em;
	}

.navigation a:hover {
	color: white;
	background: #999;}

.aside {
	margin: 0 10px;
	padding: 8px;
	border-left: 5px solid #7CB490;
	background: #FFF2AF;
	}

.homepage.entry p {
	font-size:1.1em;
	line-height: 1.4em;
	margin-bottom: 12px;
	}

/***** IMAGES *****/

.attachment-post-thumbnail {float:left;margin: 0 16px 8px 0;}

.entry .alignright {
	float: right;
	padding: 5px;
	margin: 5px 0 5px 5px;
	}
.entry .alignleft {
	float: left;
	padding: 5px;
	margin: 5px 5px 5px 0;
	}
.entry .aligncenter{
	display: block;
	padding: 5px;
	margin: 5px auto;
	}
a img {
	padding: 0px;
	background: none;
	border: none;
	}
.wp-caption {
	max-width: 100%;
	padding: 4px;
	}
.wp-caption .wp-caption-text, .gallery-caption, .entry-caption {
	font-style: italic;
	}
.sticky, .bypostauthor {
	}

alt {
	color:red
	}

.testimonials-widget-testimonials blockquote {
	font-style: normal;
	background: none;
	color:black;
	font-size: 100%;
	margin: 0;
	padding: 0
	}

.testimonials-widget-testimonials blockquote p {
	background:none;
	padding: 0;
	margin-bottom:8px;
	}

.testimonials-widget-testimonials .credit {
	font-size: 120%;
	font-style: italic;
	}

/***** SECONDARY *****/

#secondary {
	width: 280px;
	text-align: left;
	float:right;
	}
#secondary h2 {
	color: #343838;
	padding: 0;
	margin: 0 0 8px 0;
	font-size: 230%;
	}
#secondary h2.recent_posts_with_excerpts {
	font-size: 140%;
	}

/***** WIDGET LISTS ******/

#secondary ul {
	padding: 0 0 8px 0;
	list-style: none;
	border-top: 1px solid #8951A5;
	}

#secondary ul li {
	display: block;
	font-size:100%;
	border-bottom: 1px solid #8951A5;
	}
#secondary ul li a {
	color: #343838;
	text-decoration: none;
	padding: 3px 0 3px 0;
	display: block;
	}
#secondary ul li a:before {
	content: "\00BB\00a0\00a0";
	}
#secondary ul li a:hover {
	background: #343838;
	padding-left: 4px;
	color: #FFF;
	}
#secondary.children, #secondary.children li, #secondary.children li a{
	border:none;
	}

.recent_posts_with_excerpts li {padding: 3px 0;}

/***** FOOTER *****/

footer {
	background: #343838;
	text-align: left;
	margin: 16px 0 0 0;
	clear:both;
	}
#footercontent{
	background: #343838;
	margin: 0 auto;
	padding: 10px 12px 28px 12px;
	max-width: 1044px;
	}
#footercontent h2 {
	color: rgb(26, 130, 199);
	padding: 0 0 8px 0;
	margin: 0 0 8px 0;
	font-size: 120%;
}
#footercontent p, #footercontent .textwidget {
	color: #CCC;
	margin: 8px 0 0 0;
	}
#footercontent a:hover {
	text-decoration: underline;
	}
#footer-one, #footer-two,#footer-three,#footer-four,#footer-five{
	float:left;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	margin-right: 28px;
	}
#footer-bottom {
	font-size:80%;
	}
#footer-bottom img{
	margin-right: 12px;
	}

footer ul.menu{
	padding: 0;
	}
footer ul.menu li {
	list-style-type: none;
	margin: 8px 0 8px 0;
	}
footer ul.menu li a {
	color: white;
	font-size: 100%;
	text-decoration: none;
	padding: 3px 0 3px 0;
	}
footer ul.menu li a:hover {
	color: ivory;
	}
footer ul.menu.children, footer ul.menu.children li, footer ul.menu.children li a,{
	border:none;
	}

#signoff {
	clear: both;
	margin: 0 auto;
	padding: 10px 8px 8px 8px;
	max-width: 1044px;
	text-align:left;
	font-size:120%;
	color: #8C0005;
	}

/***** SOCIAL *****/

div .social-wrapper {
	list-style-type:none;
	margin:0;
	padding:0;
	float: right;
	}
.social-wrapper .social-link {
	float: left;
	width: 41px;
	height: 41px;
	margin: 0 0 0 10px;
	background: #fff url(/images/socialicons.png) no-repeat 0 0;
	background: rgba(255,255,255,0) url(images/socialicons.png) no-repeat 0 0;
	zoom: 1;
	filter: alpha(opacity=40);
	opacity: 0.4;
	-webkit-transition: opacity 0.2s ease;
	-moz-transition: opacity 0.2s ease;
	-o-transition: opacity 0.2s ease;
	transition: opacity 0.2s ease;
	}
.social-wrapper .social-link:hover {
	filter: alpha(opacity=100);
	opacity: 1;
	-webkit-transition: opacity 0.2s ease;
	-moz-transition: opacity 0.2s ease;
	-o-transition: opacity 0.2s ease;
	transition: opacity 0.2s ease;
	}
.social-wrapper .social-link a {
	display: block;
	width: 41px;
	height: 41px;
	text-indent: -9999px;
	overflow: hidden;
	}
.social-wrapper .social-link.digg {background-position: -120px 0;}
.social-wrapper .social-link.facebook {background-position: -200px 0;}
.social-wrapper .social-link.flickr {background-position: -240px 0;}
.social-wrapper .social-link.gplus {background-position: -320px 0;}
.social-wrapper .social-link.instagram {background-position: -1160px 0;}
.social-wrapper .social-link.imdb {background-position: -780px 0;}
.social-wrapper .social-link.linkedin {background-position: -440px 0;}
.social-wrapper .social-link.pinterest {background-position: -1000px 0;}
.social-wrapper .social-link.reddit {background-position: -560px 0;}
.social-wrapper .social-link.rss {background-position: -600px 0;}
.social-wrapper .social-link.skype {background-position: -640px 0;}
.social-wrapper .social-link.tumblr {background-position: -760px 0;}
.social-wrapper .social-link.twitter {background-position: -800px 0;}
.social-wrapper .social-link.vimeo {background-position: -840px 0;}
.social-wrapper .social-link.wp {background-position: -880px 0;}
.social-wrapper .social-link.yahoo {background-position: -920px 0;}
.social-wrapper .social-link.youtube {background-position: -960px 0;}

/***** COMMENTS *****/

#comments {clear:left;}
#comments h2 {font-size: 160%;}
#comments ol, #comments ul{margin: 0;padding: 0;list-style: none;}
#comments li{margin-top:8px;padding: 8px;}
#comments ol.commentlist li {border: 1px solid #8E9E82;}
#comments ul.children li {margin: 8px 0 0 55px;border: 1px solid #8E9E82;background: #F5FFFA;}
#comments .comment-avatar {width: 55px;margin:0;float: left;}
#comments .comment-content {margin: 0  0 8px 55px;}
#comments .comment-content cite a.url {text-decoration: none;color: #495370;}
#comments.comment-notes, #comments.form-allowed-tags, #comments.comment-form-comment label {display: none;}
.comment-meta.commentmetadata {clear:left;color: #343838;font-style: italic;margin: 0 0 0 55px;}
#comments div.reply {text-align: right;}
#comments div a.comment-reply-link {text-decoration: none;color: #343838;margin-left: 55px;}

/***** COMMENT FORM *****/

#commentform {
	margin: 10px 0 0 0;
	}
#reply-title {
	color: #2A2A2A;
	font-size: 150%;
	margin: 8px 0 8px 0;
	}
#commentform input, #commentform textarea, #commentform #submit{
	font-family: ssp, Helvetica, Arial, sans-serif;
	margin-bottom: 8px;	
	padding: 6px;
	color: #343838;
	font-size: 100%;
	border: 1px solid #343838;
	}
#commentform textarea{
	width: calc(100% - 14px);
	width: -webkit-calc(100% - 14px);
	}
#commentform #submit {
	width: 100%;
	color: #FFF;
	background: #343838;
	text-align: center;
	cursor: pointer;
	font-size: 120%;
	padding: 2px 0;
	}
.form-allowed-tags {display:none;}

/***** Styles for screen 769px and higher *****/

@media screen and (min-width: 769px) {
	nav a {}
	nav a:hover, nav .current-menu-item {
		}
	nav ul ul li:hover > a, nav a:focus, nav .current-menu-item > a, nav .current-menu-ancestor > a, nav .current_page_item > a, nav .current_page_ancestor > a {
		border-bottom: none;}
	}

/***** Styles for screen 768px and lower *****/

@media screen and (max-width: 769px) and (min-width: 601px) {
	#headercontent {margin: 18px 18px 0 18px}
	header {border: none;}
	.navsearch {
		background: #CCC;
		padding: 10px 0;
		clear: both;
		display:block;
		text-align: center;
		width: 100%;
		}
	footer {margin: 0;padding: 0;}
	}

/***** Styles for screen 600px and lower *****/

@media screen and (max-width: 600px) {
	#wrapper {}
	#headercontent {padding:8px;}
	#maincontent {padding:8px;}
	header {border: none;}
	#tagline{padding-top: 0;}
	#logo {margin-bottom: 8px;}
	nav, nav ul {width: 100%;transition: none;}
	nav:hover {background: #343838;}
	nav ul ul li,nav ul ul li a{display: none;}
	nav li {
  		box-sizing:border-box;
		-moz-box-sizing:border-box; /* Firefox */
		-webkit-box-sizing:border-box; /* Safari */
		width:50%;
		border:1px solid #343838;
		float:left;
  		}
	nav a {
	  	text-align: left;
	  	width: 100%;
	  	background: #343838;
		padding: 8px 10px;
		color: #FFF;
		margin: 0;
		border:4px solid #999;
		border-radius: 8px;
		box-sizing:border-box;
		-moz-box-sizing:border-box; /* Firefox */
		-webkit-box-sizing:border-box; /* Safari */
  		transition:none;
		}
	nav li:hover > a, nav a:focus, nav .current-menu-item > a, nav .current-menu-ancestor > a, nav .current_page_item > a, nav .current_page_ancestor > a {
		color: #FFF !important;
		background: #8951A5;
		}
	.navsearch {
		background: #CCC;
		padding: 6px 0;
		clear: both;
		display:block;
		text-align: center;
		width: 100%;
		}
	#primary {width: calc(100% - 210px);width: -webkit-calc(100% - 210px);max-width: 390px;}
	#secondary {width: 200px;text-align: left;float:right;}
	#footercontent{margin: 8px 0;}
	#footer {width:50%;}
	.entry blockquote {display:none;}
	}

/***** Styles for screen 480px and lower *****/

@media only screen and (max-width: 480px) {
	#wrapper {}
	#primary {
		width: calc(100% - 210px);
		width: -webkit-calc(100% - 210px);
		}
	#secondary {
		width: 180px;
		text-align: left;
		float:left;
		}
	body{font-size: 80%;}
	#commentform input, #commentform textarea {
		width: calc(100% - 14px);
		width: -webkit-calc(100% - 14px);
		}
	header, #tagline, #logo img{margin:0 0 5px 0}
	}

/***** Smartphone *****/

@media only screen and (max-width:320px) {
	#primary {width:100%;}
	#secondary {width: 100%;}
	.navsearch, #secondary{float:left;}
	.navsearch input {width: 270px;}
	#footer {width:100%;}
	}

/***** Slider *****/

.cycle-slideshow{margin-bottom: 20px;}
.cycle-slideshow img{margin: 0;padding:0}
.cycle-slideshow a.cycle-slide {width:100%;height:auto;overflow:hidden;}
.cycle-prev, .cycle-next {position: absolute;top:0;width:20%;opacity:0;filter:alpha(opacity=0);z-index: 800;height:100%;cursor:pointer;}
.cycle-prev {left: 0; background:url(images/left.gif) 20% 50% no-repeat;}
.cycle-next {right: 0;background:url(images/right.gif) 80% 50% no-repeat;}
.cycle-prev:hover, .cycle-next:hover {opacity: .7; filter: alpha(opacity=70)}
@media only screen and (max-width: 600px) {.cycle-prev, .cycle-next {display:none;}}

#lightbox {position:fixed;top:0;left:0;width:100%;height:100%;text-align:center;z-index:101;}
#lightbox img {box-shadow:0 0 25px #111;-webkit-box-shadow:0 0 25px #111;-moz-box-shadow:0 0 25px #111;margin-top:5%;max-width:90%;height:auto;overflow:hidden;}
#lightbox p  {margin:0;padding:0;}
#boxything {position: relative;}
#boxything p {position:absolute;bottom: 1em;left: 0;right: 0;text-align:center;}
#lightbox p span {background: #FFF;height: 1em;border-radius: 1em;padding: 0.2em 3em;opacity:0.7;}

.entry li {
	padding-bottom: 10px;
}

@media (max-width: 562px){
    h4 a {
    white-space: initial;
    display: inline-block;
    line-height: 1;
    padding: 10px 15px;
    margin-bottom: 10px;
}

#primary {
    width: 100%;
}
}

h4.center_content_menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 20px 0;
}

h4.center_content_menu a {
    margin: 8px 5px 0;
}