/* Large desktop */
@media (min-width: 978px) {
#site-navigation{
    display: inline-block !important;
}
}

@media (max-width: 1400px) {
.boxed-layout #page,
.cv-container  {
	width: 1200px;
}
}

@media (max-width: 1200px) {
.boxed-layout #page,
.cv-container  {
	width: 100%;
    padding: 0 20px;
}
.boxed-layout .cv-container {
	padding: 0 30px;
}
.banner-title {
	font-size: 30px;
}
}
 
/* Portrait tablet to landscape and desktop */
@media (max-width: 979px) {
#primary, .home.blog #primary {
	width: 100%;
	float: none;
}
#secondary, .home.blog #secondary {
	float: none;
	width: 80%;
	margin: 50px auto 0;
}
.banner-content {
	padding: 30px;
	width: 80%;
}
.banner-info {
	padding: 10px 0;
}
.cv-footer-logo {
	float: none;
	text-align: center;
}
.cv-footer-right-wrapper {
	float: none;
	width: 100%;
}
}
 
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
.site-branding {
    text-align: left;
    float: left;
}
.cv-menu-wrapper {
	border: none;
	float: right;
	width: auto !important;
}
#site-navigation {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background: #fff;
	float: none;
	z-index: 9999;
}
.menu-toggle.cv-hide {
	display: block;
	float: left;
	font-size: 24px;
	margin: 20px 20px 0 0;
	color: #333;
	cursor: pointer;
}
.cv-menu-extra-wrap {
	margin: 14px 0px 0 10px;
}
.menu-toggle:hover{
    color: #666;
}
#masthead {
	padding: 10px 0;
    position: relative;
}
#site-navigation ul{
    display: block;
}
#site-navigation ul li {
	float: none;
	line-height: 40px;
	border-bottom: 1px solid #e1e1e1;
	display: block;
}
#site-navigation ul.sub-menu, #site-navigation ul.children {
	position: static;
	min-width: 100%;
	opacity: 1;
	top: 0;
	left: 0;
	visibility: visible;
	display: none;
	background: none;
	-webkit-transition: none;
	-moz-transition: none;
	-ms-transition: none;
	-o-transition: none;
	box-shadow: none;
    transform: scaley(1);
	-webkit-transform: scaley(1);
	-ms-transform: scaley(1);
	transform-origin: 0 0;
	-webkit-transform-origin: 0 0;
	-ms-transform-origin: 0 0;
}
#site-navigation ul > li:hover > .sub-menu,
#site-navigation ul > li:hover > .children {
    top: 0;
}
.sub-toggle {
	background: #333 none repeat scroll 0 0;
	color: #ffffff;
	cursor: pointer;
	display: block;
	height: 24px;
	line-height: 25px;
	position: absolute;
	right: 15px;
	text-align: center;
	top: 12px;
	width: 24px;
}
#site-navigation ul > li:hover > .sub-toggle,
#site-navigation ul > li.current-menu-item .sub-toggle,
#site-navigation ul > li.current-menu-ancestor .sub-toggle {
    background: #666;
}
#site-navigation li.current-menu-item > .sub-toggle {
    background: #ffffff none repeat scroll 0 0;
}
#site-navigation li.current-menu-item > .sub-toggle i {
    color: #d40234;
}
#site-navigation li.menu-item-has-children > a::after, 
#site-navigation li.page_item_has_children > a::after{
    display: none;
}
#site-navigation ul.sub-menu li, #site-navigation ul.children li {
	text-align: center;
}
.site-title a, .site-title a:hover {
	font-size: 34px;
}
.site-description {
	font-size: 13px;
}
#top-footer.footer_column_one .cv-footer-widget,
#top-footer.footer_column_two .cv-footer-widget, 
#top-footer.footer_column_three .cv-footer-widget,
#top-footer.footer_column_four .cv-footer-widget {
	width: 98%;
}
.header_layout_3 .cv-search-icon {
	line-height: 64px;
}

.header_layout_3 .site-branding {
	position: absolute;
	top: 0;
	left: 50%;
	margin-left: -30%;
	width: 60%;
}

.header_layout_3 #masthead {
	padding-top: 80px;
}

.header_layout_3 .menu-toggle-wrap {
	width: 17%;
}

.header_layout_3 .header-icons-wrapper {
	width: 75%;
}
.cv-featured-single-item{
    width: 47%;
}
.cv-featured-items-wrapper {
	text-align: center;
}
.no-sidebar #cv-masonry article {
	width: 50%;
}
.header_layout_2 #site-navigation ul li a {
	line-height: 44px;
}
.entry-content {
	padding: 0;
}
}
 
/* Landscape phones and down */
@media (max-width: 600px) {
.archive-grid-post-wrapper article {
	width: 97%;
}
#secondary, .home.blog #secondary {
	width: 100%;
}
.banner-info {
	display: none;
}
.banner-title {
	font-size: 18px;
}
.banner-btn a {
	font-size: 13px;
}
.nav-links .nav-previous, .nav-links .nav-next {
	width: 100%;
	float: none;
	margin: 20px 0;
}
.navigation .nav-links a {
	display: block;
	text-align: center;
}
.cv-social-icons-wrapper, .site-info {
	float: none;
	text-align: center;
	margin: 0 0 10px;
}
.site-title a, .site-title a:hover {
	font-size: 36px;
}
.site-description {
	font-size: 13px;
}
.banner_layout_2 .banner-title {
	margin-bottom: 20px;
}
.banner_layout_1 .lSSlideOuter .lSAction > a, 
.banner_layout_2 .lSSlideOuter .lSAction > a, 
.banner_layout_3 .lSSlideOuter .lSAction > a {
	width: 30px;
	height: 30px;
	line-height: 34px;
	font-size: 12px;
}
.cv-featured-single-item{
    width: 97%;
}
#cv-scrollup {
	right: 10px;
	font-size: 10px;
}
.custom-header .page-title, .custom-header .entry-title {
	font-size: 22px;
}
.list-front-layout article .post-thumbnail, 
.list-archive-layout article .post-thumbnail, 
.list-front-layout article .post-format-media, 
.list-archive-layout article .post-format-media {
	float: none;
	width: 100%;
    margin-bottom: 15px;
}
.list-front-layout article .entry-header, 
.list-front-layout article .entry-content, 
.list-front-layout article .entry-btn, 
.list-front-layout article .entry-footer, 
.list-archive-layout article .entry-header, 
.list-archive-layout article .entry-content, 
.list-archive-layout article .entry-btn, 
.list-archive-layout article .entry-footer {
	padding: 0;
	width: 100%;
}
.cv-author-avatar {
	width: 22%;
}
.author-desc-wrapper {
	width: 72%;
}
.cv-related-posts-wrap article {
	width: 100%;
}
.error-num {
	font-size: 110px;
	line-height: 90px;
}
.page-extra-content.cv-404-latest-posts-wrapper article {
	width: 50%;
}
}

@media (max-width: 480px) {
.no-sidebar #cv-masonry article,
#cv-masonry article {
	width: 100%;
} 
.site-title a, .site-title a:hover {
	font-size: 26px;
}
.site-description {
	font-size: 11px;
}
.page-extra-content.cv-404-latest-posts-wrapper article {
	width: 100%;
}
}