/* Tablet Styles */

@media only screen and (max-width:1024px) {
	#wrapper {
		padding: 0 0 0 200px;
	}
	
	.header {
		width: 200px;
	}
#buddypressprofile .bbp-login-form .bbp-username, #buddypressprofile .bbp-login-form .bbp-email, #buddypressprofile .bbp-login-form .bbp-password, #buddypressprofile .bbp-login-form .bbp-remember-me, #buddypressprofile .bbp-login-form .bbp-submit-wrapper {
  margin-top: 10px;
  width: 130px !important;
}
	.header .widgets {
  width: 152px;
}
.welcome {
  width: 152px;
}
	.title-meta-left {
	}
	
	.post .box {
		padding: 28px 8% 0 8%;
	}

	
	.archive-title {
		margin: 40px 8%; 
	}

	
	.post .box {
		padding: 28px 8% 0 8%;
	}
	
	#content .post-nav {
		margin: 50px 8% 60px 8%;
	}
	#content .cat-nav {
margin: 50px 8% 60px 8%;
}
	.comments {
		padding: 35px 8% 0 8%;
	}

	
	footer {
		position: relative;
		overflow: hidden;
		right: 0;
		top: 0;
		background: none repeat scroll 0 0 #DADCDE;
	-moz-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2) inset;
	-webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2) inset;
                box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2) inset;
		width: 100%;
		height: auto;
		padding-left: 200px;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
                margin-top:0;
                padding-bottom:0;
	}

footer {
  -moz-box-sizing: border-box;
  background: none repeat scroll 0 0 #DADCDE;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2) inset;
  height: auto;
  overflow: hidden;
  padding-left: 200px;
  position: relative;
  right: 0;
  top: 0;
  width: 100%;
}
	
	footer .navigation-content .navigation-inner {
		position: relative !important;
	}
	
	@-moz-document url-prefix() { 
		footer .navigation-content .navigation-inner {
			width: 103%;
		}
	}
	
	footer .widget {
		padding: 25px 8% 30px 8%;
	}
	
	.copyright {
		padding: 32px 8%;
	}
#text-6, #text-8 {
display:none;
}
#text-7{
display:block;
text-align:center;
}
footer {
  text-align: center;
}
}

/* Small Tablet and Mobile Styles */

@media only screen and (max-width:755px) {
    body {
	    font-size: 13px;
	    line-height: 24px; 
    }
    
    .header {
    	position: relative;
    	overflow: auto;
    	width: 100%;
    	padding: 0;
    }
    
    .header hgroup {
	    float: none;
    }
    
    .logo-text {
	    font-size: 28px;
	    line-height: 26px;
    }
    #main .course header h2, .post-content > header h1, .entry-title {
  font-family: Oswald,'Helvetica Neue',Helvetica,sans-serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 40px;
  margin: 0 0 24px;
  padding: 0;
}
    .post {
	    margin-bottom: 25px;
	    padding-bottom: 0;
    }
    
    .page .post .box {
	    padding-bottom: 0;
    }
    
    #wrapper {
    	float: left;
		width: 100%;
		padding: 0;
	}
	
	.post .box-wrap {
		padding: 20px;
	}
	
	.title-meta {
		line-height: 20px;
	}
	
	.title-meta-left {
		margin-right: 10px;
		width: 100%;
	}
	
	.title-meta-right {
		float: left;
		margin-left: 0;
		margin-bottom: 5px;	
	}
	
	.post .box {
		width: 100%;
		padding: 0;
	}
	
	.title-meta {
		margin-bottom: 25px;
	}
	
	.date-title {
		top: 5px;
		right: -20px;
		left: auto;
		padding-left: 8px;
		padding-right: 8px
		-webkit-border-top-left-radius: 2px;
		-webkit-border-bottom-left-radius: 2px;
		-moz-border-radius-topleft: 2px;
		-moz-border-radius-bottomleft: 2px;
		border-top-left-radius: 2px;
		border-bottom-left-radius: 2px;
		-webkit-border-top-right-radius: 0px;
		-webkit-border-bottom-right-radius: 0px;
		-moz-border-radius-topright: 0px;
		-moz-border-radius-bottomright: 0px;
		border-top-right-radius: 0px;
		border-bottom-right-radius: 0px;
	}
	
	.entry-title {
		font-size: 28px;
		line-height: 34px;
		margin-bottom: 10px;
		padding-bottom: 0;
		padding-right: 60px;
	}
	
	.intro {
		margin: 0 0 14px 0;
		padding-bottom: 14px;
		font-size: 16px;
		line-height: 26px;
	}
	
	.archive-title {
		margin: 30px 20px 20px 20px; 
	}
	
	.post .fitvid, .post .featured-image, .post .gallery-wrap {
		margin-top: -26px;
	}
	
	#content p {
		margin-bottom: 24px;
	}
	
	#content blockquote {
		font-size: 16px;
		line-height: 26px;
	}
	
	.post .excerpt-more .more-link {
		margin-top: 18px;
	}
	
	#content .meta {
		margin-top: 0;
		margin-bottom: 10px;
	}
	
	#content .post-nav {
		margin: 20px 20px 30px 20px;
	}
	#content .cat-nav {
		margin: 20px 20px 30px 20px;
	}
.left {
  width: 100%;
}
.right {
  width: 100%;
}
	
	.comments {
		padding: 0 20px 0 20px;
	}
	
	#comments {
		padding-bottom: 0;
	}
	
	.comments-open { 
		margin-bottom: 40px !important;
	}
	
	.commentlist li {
		padding: 0 0 5px 0;
		margin: 0 0 35px 0;
	}
	
	.commentlist > li:before {
		display: none;
	}
	
	.comments-open #comments-title {
		margin-bottom: 40px;
	}
	
	.comment-meta {
		margin: 0 0 0 15px;
	}
	
	.fn {
		float: none;
	}
	
	.comment-text {
		font-size: 13px;
	    line-height: 22px; 
	}

	#respond {
		padding-bottom: 0px;
	}
	
	#respond h3 {
		margin-top: 0;
	}
	
	#respond input[type="text"], #respond textarea {
		width: 100%;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	
	#respond .respond-submit {
		width: 100%;
	}
	
	.comment-notes, .comments .logged-in-as {
		padding-top: 20px;
		padding-bottom: 15px;
	}
	
	.comments .logged-in {
		font-size: 14px;
	}
	
	.commentlist #respond h3 {
		margin-top: 10px;
	}
	
	#commentform #submit {
		width: 100%;
		display: block;
	}
	
	footer {
		padding-left: 0;
		margin-top: 20px;
	}
	
	.navigation-content .navigation-inner {
		bottom: auto !important;
		left:  auto !important;
		overflow-x: auto !important;
		overflow-y: auto !important;
		position: auto !important;
		right: auto !important;
		top: auto !important;
	}

.topnav {
  position: relative;
}
.header {
  box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.7);
  margin-top: 0 !important;
}
.header hgroup {
  float: left !important;
}

#megaMenu #megaMenuToggle {
  cursor: pointer;
  font-family: oswald;
  font-size: 16px !important;
  font-weight: normal !important;
  height: 29px !important;
  line-height: 29px !important;
  padding: 5px 15px !important;
  text-transform: uppercase !important;
}
.megaMenuToggle-icon:before {
  display: none !important;
}
#megaMenu .megaMenuToggle-icon {
  display: none !important;
}
#megaMenuToggle:after {
  background: none repeat scroll 0 0 transparent !important;
  color: #990000 !important;
  content: "" !important;
  float: right !important;
  font-family: "FontAwesome" !important;
  font-size: 22px !important;
  height: auto !important;
  position: relative !important;
  text-align: right !important;
  text-shadow: 0 1px 1px black;
  top: 0 !important;
  width: auto !important;
}
#megaMenu .ss-nav-menu-with-img img {
  display: none !important;
  float: left !important;
}
#megaMenu.megaResponsive ul.megaMenu > li {
  text-align: center !important;
  width: 100% !important;
}
#megaMenu ul.megaMenu > li.menu-item > a span.wpmega-link-title, #megaMenu ul.megaMenu > li.menu-item > span.um-anchoremulator span.wpmega-link-title {
  font-size: 22px !important;
}
.welcome {
  margin-left: 0;
  width: 100%;
}
.header .widgets {
  margin-left: 0;
  width: 100%;
}
.title-meta-left {
  margin-right: 34px;
  width: auto;
}
.title-meta-right {
  float: left;
  margin-bottom: 5px;
  margin-left: 0;
  margin-top: 2px;
}
.title-meta-left {
  margin-right: 10px;
  padding-top: 2px;
  width: auto;
}
.date-meta {
  float: left;
  text-align: left;
  width: 100%;
}
.postlink {
  float: left;
  margin-top: 10px;
  text-align: left;
  width: 100%;
}
.comments-meta {
  float: left;
  margin-top: 10px;
  text-align: left;
  width: 100%;
}
.cellads {
  margin: 0 auto 17px;
  text-align: center;
  width: 100%;
 display:block;
}
#text-6, #text-7, .sads {
display:none;
}
#text-8{
display:block;
text-align:center;
}
}

/* Archive Page Styles */
@media only screen and (max-width:1024px) {
	#archive {
		padding-top: 30px;
		-moz-column-count: 1;
		-webkit-column-count: 1;
		column-count: 1;
		-moz-column-gap: 0;
		-webkit-column-gap: 0;
		column-gap:0;
		border-top: solid 1px #eee;
	}
	
	.archive-col {
		width: 100%;
	}	
	
	.archive-col ul {
		margin-bottom: 0 !important;
	}
	
	.archive-box {
		border-bottom: solid 1px #eee;
		padding-bottom: 20px;
		margin-bottom: 30px;
	}
	
	.archive-col:last-child .archive-box:last-child {
		margin-bottom: 0;
		border-bottom: none;
	}
}