/*
	
	Theme Name: REDC
	Theme URI: http://residentialeatingdisorders.org
	Author: Luke Smith
	Author URI: https://meshorti.com/
	Description: Converted from HTML template
	Version: 1.0
	License: GNU General Public License v2 or later
	License URI: http://www.gnu.org/licenses/gpl-2.0.html
	Tags: red, light, two-columns, responsive-layout
	Text Domain: redc
	
*/

/* General Reset */
html, body{height:100%;}
body{
	margin:0;
	color:#000;
	font:14px/22px Helvetica, Arial, sans-serif;
	min-height: 100%;
	position: relative;
	background: #fcfcfd;
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZjZmNmZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM4NTg2ODUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #fcfcfd 0%, #858685 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fcfcfd), color-stop(100%,#858685));
	background: -webkit-linear-gradient(top,  #fcfcfd 0%,#858685 100%);
	background: -o-linear-gradient(top,  #fcfcfd 0%,#858685 100%);
	background: -ms-linear-gradient(top,  #fcfcfd 0%,#858685 100%);
	background: linear-gradient(top,  #fcfcfd 0%,#858685 100%);
	-pie-background: linear-gradient(top,  #fcfcfd 0%,#858685 100%);
	background-attachment: fixed;
}

hr {
  border: none;
  background-color: #ab262a;
  color: #ab262a;
  height: 1px;
}

img{border-style:none;}
input,
textarea,
select{
	color:#000;
	vertical-align:middle;
	font:100% Arial, Helvetica, sans-serif;
}
form,fieldset{
	margin:0;
	padding:0;
	border-style:none;
}
blockquote, q{quotes: none;}
q:before,
q:after {content: '';}
a{
	color:#ad2829;
	text-decoration:none;
}
a:hover{text-decoration:underline;}
a:focus,
input:focus,
textarea:focus,
select:focus{outline:none;}
header, nav, section, article, aside, footer{display:block;}
/* General settings */
.wrapper{
	min-height:100%;
	position:relative;
}
.top-row{
	overflow:hidden;
}
.top-row ul{
	margin:0 -7px 0 0;
	padding:9px 0 8px;
	list-style:none;
	float:right;
	font-size:12px;
	line-height:16px;
	color:#454545;
}
.top-row ul li{
	float:left;
	padding:0 7px 0 9px;
	background:url(images/sep01.png) no-repeat 0 50%;
}
.top-row ul li:first-child{
	padding-left:0;
	background:none;
}
.page-wrap{
	-moz-box-shadow:0 0 8px rgba(31,31,31,0.18);
	-webkit-box-shadow:0 0 8px rgba(31,31,31,0.18);
	box-shadow:0 0 8px rgba(31,31,31,0.18);
	background:#fff;
	position:relative;
}
header{
	background:url(images/bg-header.png) repeat-x;
	overflow:hidden;
	padding:32px 17px 0;
}
header .logo{
	float:left;
	overflow:hidden;
	width:351px;
	display: block;
}
header .logo a{
	display:block;
	height:100%;
}
header .menu{
	margin:0;
	padding:33px 0 0;
	list-style:none;
	float:right;
	font-size:18px;
	line-height:24px;
	text-align:right;
}
header .menu li{
	background:url(images/bullet01.png) no-repeat 100% 7px;
	padding:0 13px 8px 0;
}
#main{
	padding:16px 15px 50px;
}
#main:after{
	clear:both;
	content:'';
	display:block;
}
#content{
	float:right;
	width:662px;
	padding:0 19px;
}
#content .image{
	margin:0 -19px 24px;
}
#content .image img{vertical-align:top;}
h6,
h5,
h4,
h3,
h2,
h1{
	margin:0 0 7px;
	color:#504c49;
	font-size:21px;
	line-height:30px;
}
h6{font-size:14px; line-height:18px;}
h5{font-size:15px; line-height:20px;}
h4{font-size:16px; line-height:24px;}
h3{font-size:18px; line-height:26px;}
h2{font-size:20px; line-height:28px;}
#content p{margin:0 0 17px;}
aside{
	float:left;
	position:relative;
}
aside .nav-corner{
	position:absolute;
	left:-16px;
	background:url(images/bg-main-nav-corner.png) no-repeat;
	width:16px;
	height:16px;
	top:-16px;
	text-indent:-9999px;
	overflow:hidden;
}
#main-nav{
	margin:0 0 0 -17px;
	padding:0 2px;
	list-style:none;
	background:#ad2829;
	font-size:16px;
	line-height:22px;
}
#main-nav li{
	background:url(images/sep02.png) repeat-x;
	width:100%;
	vertical-align:top;
	padding-top:1px;
	position:relative;
}
#main-nav li:first-child{
	background-image:none;
	padding-top:0;
}
#main-nav > li:first-child a{padding-top:13px;}
#main-nav a{
	color:#f2f2f4;
	display:block;
	padding:10px 20px 10px 24px;
	margin:0 -2px;
}
#main-nav li:hover a,
#main-nav a:hover{
	background:#211c19;
	text-decoration:none;
}
#main-nav ul{
	background:url(images/none.png);
	margin:0;
	padding:0 0 0 1px;
	list-style:none;
	width:252px;
	position:absolute;
	left:252px;
	top:1px;
	display:none;
}
#main-nav li:hover ul{display:block;}
#main-nav ul li{background-color:#da251c; z-index: 10}
#main-nav ul a{
	margin:0;
	width:auto;
	padding-left:25px;
	background:none !important;
}
#main-nav ul a:hover{background:#211c19 !important;}
footer{
	color:#fff;
	font-size:12px;
	line-height:16px;
	padding:15px 0;
}
footer p{margin:0;}


/* Slideshow
----------------------------------------------- */

#slideshow {
    position:relative;
    height:244px;
}


/* New Styles - 01/23/2016
----------------------------------------------- */

p {
	word-wrap: break-word;
}

.btn {
	font-size: 18px;
	color: #fff;
	height: 50px;
	line-height: 50px;
	text-align: center;
	display: block;
	padding: 0 15px;
	cursor: pointer;
	background: #ad2829;
}

.screenreader {
	display: none;
}

#slideshow ul {
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    -webkit-margin-start: 0;
    -webkit-margin-end: 0;
    -webkit-padding-start: 0;
}

#slideshow ul li img {
	max-width: 100%;
}

.member {
	margin: 10px 0 20px;
	float: left;
	clear: both;
}

.member .member-title {
	clear: both;
	display: block;
}

/* Mobile Menu --- */
	
	.show-nav {
		float: right;
		margin-top: 14px;
	}
	
	.show-nav,
	.hide-nav {
		width: 50px;
		padding: 0;
	}
	
	#menu-top-menu {
		margin-bottom: 20px;
	}
	
	#menu-top-menu li {
		padding: 0 13px 8px 0;
		margin-right: 25px;
		background: url(images/bullet01.png) no-repeat 100% 7px;
	}
	
	.mobile-menu {
		width: 100%;
		position: fixed;
		top: 0;
		bottom: 0;
		left: -100%;
		padding: 0;
		background: rgba(255,255,255,.95);
		z-index: 99999;
		transition: left 0s ease;
		transition: opacity .5s ease;
	}
	
		.mobile-menu img {
			max-width: 220px;
			display: block;
			margin-left: 25px;
		}
	
		.mobile-menu .menu-inner {
			max-width: 380px;
			margin: 0 auto;
			height: 100%;
			position: relative;
			display: block;
			overflow: hidden;
			outline: none;
			margin-top: 10px;
		}
		
			.mobile-menu .menu-inner .menu-inner-content {
				top: 0;
				left: 0;
				bottom: 0;
				right: 0;
				padding: 0 0 100px;
				overflow-x: hidden;
				overflow-y: scroll;
				position: absolute;
				outline: none;
			}
		
		.mobile-menu .hide-nav {
			margin-bottom: 30px;
			border: 0;
			position: absolute;
			top: 25px;
			right: 25px;
			z-index: 1000;
		}
		
			.mobile-menu .hide-nav .fa-list-ul {
				float: left;
				display: inline-block;
				padding-top: 16px;
			}
		
		.mobile-menu nav {
			clear: both;
			margin-top: 20px;
			margin-bottom: 30px;
		}
		
			.mobile-menu nav ul {
				list-style: none;
				padding: 0;
			}
			
			.mobile-menu nav a {
				font-size: 18px;
				padding: 5px 25px;
				display: block;
			}
			
			.mobile-menu nav h4 {
				font-size: 18px;
				padding: 5px 25px;
			}
			
			.mobile-menu nav ul ul {
				padding-left: 20px;
			}
			
/* Pages --- */

	.page-title {
		margin-bottom: 20px;
	}
	
/* Form Styles */

	.alar-user-form,
	.alar-registration-form  {
		padding: 30px;
		display: block;
		border: 1px solid #ccc;
		font-size: 12px;
		overflow: hidden;
	}
	
	.alar-registration-heading { display: none; }
	
	.ftxt,
	#lostpasswordform .no-margin {
	    display: block;
	    margin: 0 0 20px !important;
	}
	
	.ftxt:after{
		 clear: both;
		 display: block;
		 overflow: hidden;
		 content: "";
	}
	
	.ftxt > label {
		width: 30%;
	    float: left;
	}
	
	#lostpasswordform legend {
		display: none;
	}
	
	#lostpasswordform .no-margin > label {
		font-size: 12px;
	}
	
	.ftxt > input[type="text"],
	.ftxt > input[type="password"],
	.ftxt > input[type="email"],
	#lostpasswordform .no-margin > input[type="text"] {
		width: 100%;
		height: 40px;
		border: 1px solid #ccc;
		box-sizing: border-box;
	}	
	
	.alar-user-form .btn,
	.alar-registration-form .btn,
	.alar-registration-form .button,
	lostpassword-submit .button {
		width: auto;
		font-size: 15px;
		line-height: normal;
		text-transform: uppercase;
		height: auto;
	    border: none;
	    padding: 10px 30px;
	    cursor: pointer;
	}
	
	.alar-registration-form .button:hover {
		color: #fff !important;
		background: #ad2829 !important;
		border-color: transparent !important;
	}
	
	.alar-user-form .error
	.alar-registration-form .error {
		color:red;
		margin-bottom: 18px;
	}
	
	.alar-user-form .error,
	.alar-registration-form .error {
		color:green;
		font-weight: bold;
		margin-bottom: 20px;
	}
	
/* Columns --- */
	
	.full {
		width: 100%;
		clear: both;
		margin-bottom: 25px;
		overflow: hidden;
	}
	
	.column {
		float: left;
		position: relative;
		margin: 0 3% 3% 0;
	}
	
	.col-placeholder {
		display: table-cell;
	    width: 3%;
	}
	
	.col-table-cell {
		float: none;
		display: table-cell;
		vertical-align: middle;
	}
	
	.col-table-cell.stick-top {
		vertical-align: top;
	}
	
	.col-table-cell.stick-bottom {
		vertical-align: bottom;
	}
	
	.one-half { width: 48%; }
	.one-third { width: 31.3%; }
	.two-thirds { width: 65.1%; }
		.two-thirds.gap {
			width: 63.1%;
			margin-right: 5%;
		}
	.one-fourth { width: 22.75%; }
	.three-fourths { width: 71%; }
	.one-fifth { width: 16.8%; }
	.two-fifths { width: 38.5%; }
	.three-fifths { width: 58%; }
	.four-fifths { width: 78.8%; }
	
	.column-last {
		margin-right: 0;
		clear: right;
	}
			
	.no-margin { margin: 0 !important; }
	.no-bottom { margin-bottom: 0 !important; }
	
	.boxed {
		padding: 20px 30px 10px;
		background: #ebebeb;
	}
			
/* News --- */

	.news-posts {
		clear: both;
		padding: 30px 0 0;
		margin: 30px 0 0;
		border-top: 1px solid #222;
	}
	
	.news-posts .news-post {
		margin-bottom: 40px;
	}
	
	.news-posts .news-post .post-title {
		font-weight: lighter;
	}
	
	.news-posts .news-post .post-date {
		font-size: 12px;
		margin-bottom: 20px;
	}
	
	.news-posts .news-post .post-content {
		font-size: 16px;
	}
	
/* New Styles - 01/18/2019
----------------------------------------------- */
	
	/* Button ------- */
	
		.button,
		.wpcf7-form input[type="submit"],
		.wpcf7-submit {
			color: #fff;
			font-size: 16px;
			font-weight: 400;
			font-style: normal !important;
			min-height: 44px;
			line-height: 1;
			text-align: center;
			text-transform: uppercase;
			text-decoration: none !important;
			padding: 12px 24px;
			margin-right: 20px;
			margin-bottom: 10px;
			display: inline-block;
			border-radius: 3px;
			border: 2px solid transparent;
			transition: background .2s, color .2s, border .2s;
			cursor: pointer;
			outline: none !important;
			box-sizing: border-box;
		}
		
		.button i {
			padding-left: 10px;
		}
		
		.button.wide,
		.wpcf7-form input[type="submit"].wide,
		.wpcf7-submit.wide {
			padding: 15px 70px;
		}
		
		.button.sm,
		.wpcf7-form input[type="submit"].sm,
		.wpcf7-submit.sm {
			min-height: 36px;
			font-size: 24px;
			padding: 5px 20px;
		}
		
		.button:hover,
		.wpcf7-form input[type="submit"]:hover,
		.wpcf7-submit:hover {
			background-color: transparent;
		}
		
		.button:hover,
		.button:focus,
		.wpcf7-form input[type="submit"]:hover,
		.wpcf7-submit:hover,
		.wpcf7-form input[type="submit"]:focus,
		.wpcf7-submit:focus {
			text-decoration: none;
		}
		
		.button.invert,
		.wpcf7-form input[type="submit"].invert,
		.wpcf7-submit.invert {
			background-color: transparent !important;
		}
		.button.invert:hover,
		.wpcf7-form input[type="submit"].invert:hover,
		.wpcf7-submit.invert:hover {
			color: #fff;
		}
		
		.button.large,
		.wpcf7-form input[type="submit"].large,
		.wpcf7-submit.large {
			min-height: 80px;
		}
		
		.button-wrap { margin: 0; float: left; overflow: hidden; }
		.button-wrap.right { margin: 0; float: right; }
		.button-wrap.center { width: 100%; text-align: center; }
			.button-wrap.center .x-btn,
			.button-wrap.center .button { float: none; }
		.button-wrap.wide { float: none; }
			.button-wrap.wide .x-btn,
			.button-wrap.wide .button { width: 100%; }
			
		.button.alt {
			background-color: transparent;
		}
		
		.button-row.single-button .button {
			margin-right: 0;
		}
		
		@media ( max-width: 767px ) {
			
			.button {
				font-size: 20px;
				min-height: 40px;
				padding: 12px 30px;
			}
			
		}
		
		.button,
		.wpcf7-form input[type="submit"],
		.wpcf7-submit {
			border-color: #ad2829;
			background-color: #ad2829;
		}
		
		.button:hover,
		.wpcf7-form input[type="submit"]:hover,
		.wpcf7-submit:hover {
			color: #c03636;
			border-color: #c03636;
		}