@media (min-width: 980px) {
	body:after { content:'desktop'; display:none; }
	
  #header .nav-collapse {height: auto !important;}
	#btn-search-toggle,
	.btn-navbar-custom{display:none;}
}

@media (max-width: 979px) {
	#header .social-links{display:none;}
	
  #btn-search-toggle{display:inline-block;}
  #search-form-modal{display:none;}
  .search-form-desktop{display:none;}
	
	
  #access li{float:none;position:static;margin-left:0 !important}
  #access li a{}
  
  #access .current_page_item > a,
  #access .current-menu-parent > a,
  #access .current_page_parent > a,
  #access li:hover > a,
  #access ul ul .current_page_item > a,
  #access ul ul .current-menu-parent > a,
  #access ul ul .current_page_parent > a,
  #access ul ul li:hover > a {
    border:none;
    font-weight:700;
  }
  
  #access ul ul {
    display:block;
    margin-left:1.15em;
    position:static;
  }
}

@media (min-width: 768px) and (max-width: 979px) {
	body:after { content:'tablet'; display:none; }
}

@media (max-width: 767px) {
	body:after { content:'phone'; display:none; }
	
  #footer .widget-area{margin-top:1.2em;padding-top:1.2em;border-top:1px solid #ccc}
  #footer .widget-area:first-child{margin-top:0;padding-top:0;border-top:none}
	#footer .widget-area .widget{padding-left:1em;padding-right:1em;padding-top:1em;margin-top:1em;border-top:1px dotted #ccc}
	#footer .widget-area .widget:first-child{padding-top:0;margin-top:0;border-top:none}
}

@media (max-width: 479px) {
	.template-page-contact form li + li { width:98% !important; }
}
