html {
  overflow-y: scroll;
}

body {
  margin: 0;
  padding: 0;
}

a img {
  border: 0;
}

#layout-outer-container {
  width: 960px;
  margin: 0 auto 40px auto;
  padding: 0;
}

#layout-main-header {
  margin: 0 0 0 250px;
  width: 700px;
  position: relative;
  z-index: 3;
}

#layout-main-nav {
  position: absolute;
  top: 0;
  left: 0;
}

#layout-header-search {
  float: right;
  text-align: right;
  width: 175px;
  margin-top: 10px;
}

#layout-left-sidebar {
  width: 170px;
  margin-top: 50px;
}
/*
 * Header Search Box
 */
#search-text {
	border: 1px solid #d1cecb;
	font: 10px 'CheltenhamITCW01-BookIt', Helvetica, Arial, sans-serif;
	color: #999;
	height: 13px;
	padding: 1px;
}

#search-submit {
	vertical-align: bottom;
}


#layout-middle {
  width: 960px;
  margin-bottom: 75px;
  float: left;
  clear: both;
  position: relative;
}

#layout-logo-column {
  margin-top: 155px;
  width: 170px;
  float: left;
}

#layout-content-column,
#layout-footer-content {
  margin: 0 0 0 250px;
  width: 700px;
}

#content, #sidebar {
  margin: 154px 0 0 0; /* Intentionally raise the height of content 1px above top of sidebar logo (so 154px top margin instead of 155px) */
}
#content.content-home,
#content.content-curious {
	margin-top: 20px;
}

#content {
  width: 700px;
}
#content.content-curious {
 width: 720px;
}
#content.with-sidebar {
  width: 440px;
  float: left;
}

#content.slider {
  margin: 0;
}

#sidebar {
  width: 100px;
  float: left;
  margin-left: 60px;
}

/*
 * Content Features 
 */
#home-top {
  margin-bottom: 23px;
  float: left;
  width: 700px;
}

#home-bottom {
  clear: both;
  border-top: 1px solid #d1cecb;
  margin-bottom: 20px;
}

#home-3-top-left {
	width: 220px;
	float: left;
	padding: 0 10px 0 0;
}
#home-3-top-center {
	width: 220px;
	float: left;
	padding: 0 10px 0 10px;
}
#home-3-top-right {
	width: 220px;
	float: left;
	padding: 0 0 0 10px;
}

#home-1-bottom-left,
#home-3-bottom-left {
  width: 459px; /* Ideal width is 460, but that doesn't leave enough room for the border */
  float: left;
  padding: 20px 10px 0 0;
  border-right: 1px solid #d1cecb;
}
#home-1-bottom-right,
#home-3-bottom-right {
  float: left;
  padding: 10px 0 0 10px;
  width: 220px;
  border-left: 1px solid #d1cecb;
  margin-left: -1px; /* Make this border overlap with bottom-left border (to create the effect of just 1 border that's always as tall as the tallest lower content div) */
}

#home-2-bottom-left {
	width: 219px;
	float: left;
	padding: 10px 10px 0 0;
}
#home-2-bottom-center {
	width: 219px;
	float: left;
	padding: 10px 10px 0 10px;
	border-left: 1px solid #d1cecb;
	border-right: 1px solid #d1cecb;
}
#home-2-bottom-right {
	width: 219px;
	float: left;
	padding: 10px 0 0 10px;
}

#promise-video-grid {
	width: 720px; /* extend 20px past right edge of content container to accommodate right margin of right column of items */
	margin-top: -70px; /* Jerrod, change this to tweak the space between body paragraph and image grid on the "Promise" page */
}
.promise-video-item {
	float: left;
	width: 220px;
	height: 165px;
	margin-right: 20px;
}
.promise-video-item #ccm-riley-weiss-flowplayer-description {
    font: 10px 'CheltenhamITCW01-BookIt','Times New Roman',Times,serif;
	padding-left: 7px;
	background: transparent url(http://rileyweiss.com/packages/riley_weiss/themes/rileyweiss/images/right_arrow_orange_small.png) no-repeat 0 0;
	color: #ff7900 !important;
	text-decoration: none;
}

#layout-footer {
  clear: both;
}

#layout-footer-network-links {
  float: right;
  vertical-align: middle;
  padding: 3px 0 0 5px;
}

.footer-phone {
	padding-left: 10px;
	background: url(http://rileyweiss.com/packages/riley_weiss/themes/rileyweiss/'images/sub-nav-middot.gif') no-repeat scroll 0 2px #FFFFFF;
}

.ccm-page-list-item {
  margin-bottom: 18px;
}

.formBlockSurveyTable td.question {
  text-align: right;
  padding-right: 0;
}

.ccm-rw-gallery {
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid #d1cecb;
}

.ccm-rw-gallery-thumbnails img {
  margin-right: 10px;
  
}

.ccm-blog-blog-post {
  margin-bottom: 18px;
}

.ccm-blog-post-envelope {
  font-size: 12px;
  font-style: italic;
  font-family: 'CheltenhamITCW01-LtItal', Georgia, Times, serif;
}


/*
 * Search Results
 */
#search-results .searchResult {
	padding-bottom: 15px;
	font: normal 12px 'HelveticaNeueW01-55Roma', Helvetica, Arial, sans-serif;
}
#search-results .searchResult h3 {
	margin-bottom: 0;
	font-size: 16px;
}
#search-results .searchResult p {
	margin-bottom: 0;
}
#search-results .searchResult .pageLink {
	font-size: 13px;
}


/*
 * Page tags and page sharing
 */
#layout-tags-and-share {
  margin-top: 20px;
  border-top: 1px solid #D1CDBF;
  padding-top: 5px;
}

#layout-tags-and-share-tags {
  width: 344px;
  float: left;
}

#layout-tags-and-share-share {
  width: 255px;
  float: right;
  text-align: right;
}

/* Branded Facebox modal */
#facebox .content {
  background: #fff url(http://rileyweiss.com/packages/riley_weiss/themes/rileyweiss/images/riley-weiss-logo-sm.png) no-repeat left bottom !important;
  padding: 10px 10px 54px 10px !important;
}

.clear-both {
  clear: both;
}

