/*  MAKE LAYOUT RESPONSIVE at 768px FOR IPAD PORTRAIT ================================================================ */

.masthead .section.group,
.header .section.group,
.secondary-nav-wrapper,
.breadcrumb,
.content,
.footer-logo div,
.footer,
.footer-nav ul {
	margin-left: auto;
	margin-right: auto;
	padding-left: 0;
	padding-right: 0;
	width: 93.75%;
}

.empty {
	display: none;
}

.wrapper {
	padding: 0;
}

/**
 * Header
 */
.header .bloginfo-description {
	width: 100%;
}

.header .dream-logo-img {
        position: relative;
        left: 50%;
        margin-left: -768px;
        width: 1536px;
}

/**
 * Header: Primary Nav
 */
.primary-nav a {
	font-size: 16px;
}

/**
 * Header: Search Form
 */
.search-wrapper {
	margin-left: 0;
	margin-top: 0;
	width: 100%;
}

.search-input {
	left: 3.2%;
	position: absolute;
	width: 86.2%;
}

.search-submit {
	position: relative;
	z-index: 1;
}

/**
 * Header: Secondary Nav
 */
.secondary-nav-wrapper {
	border: none;
}

.secondary-nav li {
	margin-left: 10px;
	margin-right: 10px;
}

.secondary-nav a {
	font-size: 12px;
}

/**
 * Breadcrumbs
 */
.breadcrumb-wrapper {
	padding: 0;
}

.breadcrumb {
	font-size: 13px;
}

/**
 * Footer
 */
.footer {
	margin-top: 20px;
}

.footer .col {
	margin-left: 0;
	width: 100%;
}

.footer li {
	display: inline-block;
	margin-right: 20px;
}

.footer .social {
	text-align: left;
}

/**
 * Footer: Footer Nav
 */
.secondary-footer-nav .section {
	padding-left: 0;
	padding-right: 0;
}

.secondary-footer-nav .span_5_of_6 {
	float: none;
	margin-left: auto;
	margin-right: auto;
	width: 93.75%;
}

.secondary-footer-nav .span_1_of_6 {
	margin-left: auto;
	margin-right: auto;
  	width: 100%;
}

/**
 * Post: Quote
 */
a.post .quote-wrapper {
	font-size: 19px;
}

a.post .quote {
	font-size: 32px;
}

/**
 * Post: Span 1 of 4
 */
div.offer,
a.post.span_1_of_4 {
	width: 31.33%;
}

div.related-content div.offer:nth-child(4),
div.related-content a.post.span_1_of_4:nth-child(4) {
	display: none;
}

/**
 * Post Page
 */
.type-post .post-intro .span_3_of_4 {
	width: 100%;
}

.type-post .post-intro .span_3_of_4 .padded-content {
	margin-left: 0;
}

.type-post .post-intro .span_1_of_4 {
	display: none;
}

.type-post .post-content,
.type-post .sidebar {
	margin-left: 0;
	width: 100%;
}

div.offer:nth-child(4n+1),
a.post.span_1_of_4:nth-child(4n+1) {
	margin-left: 3%;
}

div.offer:nth-child(3n+1),
a.post.span_1_of_4:nth-child(3n+1) {
	margin-left: 0;
}

/**
 * Post Page: Sidebar
 */
.type-post .sidebar div:first-child {
	margin-top: 0;
}

.type-post .sidebar a.post {
	margin: 10px 0;
}

.type-post .sidebar .more-stories {
	margin-left: 6%;
}

.type-post .sidebar .more-stories img,
.type-post .sidebar .more-stories .category,
.type-post .sidebar .more-stories .read-more {
	display: none;
}
.type-post .sidebar .more-stories .title {
	display: list-item;
	font: 18px 'crimson_text';
	margin-left: 20px;
}

/**
 * Post Page: Actions
 */
.type-post .post-actions.tags {
	margin-top: 20px;
}

/**
 * Video: Thumbnails
 */
.category-videos .fit-vids,
.category-videos .video-info {
	margin-left: 0;
	width: 100%;
}

.category-videos .video-info {
	padding-left: 6%;
}

/**
 * Contact Us / Meet the Team
 */
.page.contact-us .contact-us-wrapper {
	width: 32.26%; 
}

.page.contact-us .meet-the-team-wrapper {
	width: 66.13%;
}

.page.contact-us .team-member {
	width: 49.2%;
}

.page.contact-us .team-member:nth-child(3n+1) {
	margin-left: 1.6%;
}

.page.contact-us .team-member:nth-child(2n+1) {
	margin-left: 0;
}

/**
 * Competition Page
 */
.single .category-competitions .sidebar img {
	width: 32.26%; 
	margin: 1% 0 1% 1.6%;
}

.single .category-competitions .cta-wrapper {
	text-align: right;
}
