/* Large desktop */
@media (min-width: 979px) {
#site-navigation{
    display: block !important;
}
}

@media (max-width: 1400px) {
.site-layout--boxed #page,
.mt-container  {
	width: 1200px;
}
.site-branding {
	width: 20%;
}
.mt-social-menu-wrapper {
	width: 80%;
}
}

@media (max-width: 1200px) {
.site-layout--boxed #page,
.mt-container  {
	width: 100%;
    padding: 0 20px;
}
.site-layout--boxed .mt-container {
	padding: 0 30px;
}
.site-branding {
	width: 100%;
	text-align: center;
    float: none;
}
.header-layout--default .site-branding .site-title {
	text-align: center;
}
.mt-social-menu-wrapper {
	float: none;
	width: 100%;
}
#site-navigation ul li:first-child a {
	padding-left: 0;
}
.header-layout--two .site-branding {
	width: 50%;
	text-align: left;
	float: left;
}
}

@media (max-width: 979px) {
.mt-logo-row-wrapper {
	position: relative;
}

.menu-toggle{
    display: block;
}

#site-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 110%;
    background: #fff;
    float: none;
    z-index: 9999;
    margin-left: -5%;
}

#site-navigation .mt-container {
	border: none;
	padding: 0;
}
#site-navigation ul{
    display: block;
}
#site-navigation ul li {
	border-bottom: 1px solid #e1e1e1;
	display: block;
}
#site-navigation ul li ul li {
	border-bottom: none;
}
#site-navigation ul li .sub-menu li:last-child a, #site-navigation ul li .children li:last-child a {
	border-bottom: none;
}
#site-navigation ul li a {
	line-height: 44px;
	padding: 0;
}
#site-navigation ul li a::after{
    display: none;
}
#site-navigation ul li .sub-menu, 
#site-navigation ul li .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 !important;
	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;
}
}
 
/* Portrait tablet to landscape and desktop */
@media (max-width: 850px) {
.banner-title-btn-block {
	padding: 15px;
}
#primary, .home.blog #primary,
#secondary, .home.blog #secondary{
    width:100%;
    float: none;
}

#secondary, .home.blog #secondary {
	margin-top: 40px;
}

#top-footer.footer-column-one .mt-footer-widget, 
#top-footer.footer-column-two .mt-footer-widget, 
#top-footer.footer-column-three .mt-footer-widget, 
#top-footer.footer-column-four .mt-footer-widget {
	width: 97%;
	margin-bottom: 3%;
}

#bottom-footer {
	text-align: center;
}

#footer-menu li a {
	font-size: 12px;
	padding: 0 10px;
}
#footer-navigation,
.site-info {
	display: inline-block;
	float: none;
}
.error-404.not-found {
	width: 90%;
}
.error-num {
	font-size: 120px;
}
.no-sidebar.mt-archive--grid-style article, 
.no-sidebar.mt-archive--masonry-style #mt-masonry article, 
.no-sidebar.mt-frontpage--masonry-style #mt-masonry article,
.no-sidebar.mt-frontpage--grid-style article {
	width: 47%;
}
.mt-top-contact-wrap {
	margin-bottom: 10px;
}
.mt-top-contact-wrap,
.mt-top-header-menu-cart-wrap {
	float: none;
	text-align: center;
}
.mt-top-header-menu,
#site-header-cart {
	float: none;
	display: inline-block;
}
#site-header-cart {
	margin-left: 15px;
}
}
 
/* Landscape phone to portrait tablet */
@media (max-width: 768px) {
.banner-title-btn-wrapper {
	bottom: 0;
	top: auto;
	width: 100%;
	height: auto;
}
.mt-header-social-wrapper {
	width: 100%;
	float: none;
	text-align: center;
	padding: 0;
}
.mt-logo-row-wrapper {
	padding: 20px 0 0;
}
.mt-featured-single-item {
	width: 47%;
}
.mt-featured-section-wrapper .mt-column-wrapper {
	text-align: center;
}
.mt-pnf-latest-posts-wrapper article {
	width: 48%;
}
}
 
/* Landscape phones and down */
@media (max-width: 600px) {
#mt-masonry article {
	width: 100%;
	padding: 0;
}
.no-sidebar.mt-archive--grid-style article, 
.no-sidebar.mt-archive--masonry-style #mt-masonry article, 
.no-sidebar.mt-frontpage--masonry-style #mt-masonry article, 
.no-sidebar.mt-frontpage--grid-style article {
	width: 97%;
}
.archive-grid-post-wrapper article,
.mt-archive--masonry-style #mt-masonry article{
    width: 97%;
}
#mt-scrollup {
	display: none !important;
}
.mt-related-posts-wrapper article {
	width: 97%;
}
.header-layout--two .site-branding {
	text-align: center;
	width: 100%;
	float: none;
}
.header-layout--two .site-branding .site-title{
    text-align: center;
}

.header-layout--two .logo-social-wrapper .mt-social-wrapper {
	float: none;
	text-align: center;
}

.header-layout--two .mt-social-icon-wrap {
	display: inline-block;
	float: none;
}
.slider-content-style--two .banner-title-btn-wrapper, .slider-content-style--three .banner-title-btn-wrapper {
	width: 90%;
	margin-left: -45%;
}
.mt-featured-single-item{
    width: 97%;
}
.mt-pnf-latest-posts-wrapper article {
	width: 98%;
}
}

@media (max-width: 480px) {
.navigation .nav-links a {
	width: 100%;
	text-align: center;
}
}