/* -----------------------------------------------------------------------
    Responsive
-------------------------------------------------------------------------- */

@media only screen and (min-width: 2000px) {

	#hero-header, #google-map { height: 700px; }
	.header-overlay:after { background: none; }
	.header-overlay a { top: 30%; right: 5%; }
	#main-content-wrapper { background: #fff; }
	
}

@media only screen and (min-width: 1800px) and (max-width: 1999px) {

    #hero-header { height: 550px; }
    #google-map { height: 500px; }
    .header-overlay a { top: 28%; right: 5%; }
	.header-overlay:after,
	#main-content-wrapper:before { right: -100px; } 
    

}

@media only screen and (min-width: 1700px) and (max-width: 1799px) {

    #hero-header, #google-map { height: 500px; }
    .header-overlay a { top: 28%; right: 7%; }
	.header-overlay:after,
	#main-content-wrapper:before { right: -110px; } 

}

@media only screen and (min-width: 1500px) and (max-width: 1699px) {

    #hero-header, #google-map { height: 470px; }
    .header-overlay a { top: 24%; right: 5%; }
	.header-overlay:after,
	#main-content-wrapper:before { right: -150px; } 

}


@media only screen and (min-width: 1300px) and (max-width: 1499px) {
	
	#hero-header, #google-map { height: 420px; }
	.header-overlay a { right: 3%; top: 26%; }
	.header-overlay:after,
	#main-content-wrapper:before { right: -90px; } 
	.standard-logo img { width: 90%; }
	
}

@media only screen and (min-width: 1140px) and (max-width: 1299px) {
	
	#hero-header, #google-map { height: 400px; }
	.header-overlay a { right: 5%; top: 26%; }
	.header-overlay:after,
	#main-content-wrapper:before { right: -100px; } 
	.standard-logo img { width: 170px; }
	
}

@media only screen and (min-width: 1140px) and (max-width: 1499px) {
	
	.header-overlay:after { background: url(../gfx/overlay-header-image-mid.png) no-repeat bottom right; }
	#main-content-wrapper:before { background: #fff url(../gfx/bg-main-content-wrapper-mid.png) no-repeat top right; }
	
}

@media only screen and (min-width: 769px) and (max-width: 1139px) {
	
	.header-overlay:after { background: url(../gfx/overlay-header-image-small.png) no-repeat bottom right; }
	#main-content-wrapper:before { background: #fff url(../gfx/bg-main-content-wrapper-small.png) no-repeat top right; }
	
}

@media only screen and (min-width: 1000px) and (max-width: 1139px) {
	
	#hero-header, #google-map { height: 350px; }
	.header-overlay a { right: 5%; top: 26%; }
	.header-overlay:after,
	#main-content-wrapper:before { right: -20px; } 
	.standard-logo img { width: 150px; }
	
}

/* Tablet Portrait size to Tablet Landscape (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 999px) {

    .container { width: 720px; }
	
	#menu-main-nav li a { padding: 22px 18px; }
	
	#hero-header, #google-map { height: 290px; }
	.header-overlay a { right: 3%; top: 25%; }
	.header-overlay:after,
	#main-content-wrapper:before { right: -80px; }
	.standard-logo img { width: 120px; }
	
	#main-content-wrapper { padding: 40px 0; }
	.single-mwis_profile #main-content-wrapper { background: #fff url(../gfx/bg-profile.gif) repeat-x 0 -35px; padding-top: 30px; }
	
	#home-content { font-size: 18px; line-height: 26px; }
	#services-list { width: 100%; }
	#supporter-list { padding-left: 0; margin-left: 20px; }
	
	#subnav ul { padding-left: 50px; }
	
	.profile.col-one-fourth { margin-right: 3.2%; }
	
	#profile-meta { margin-bottom: 50px; }
	#profile-meta h1 { font-size: 24px; line-height: 34px; }
	#profile-meta h4, #job-title { font-size: 16px; }
	#profile-meta h4 { margin-bottom: 10px; }
	#profile-contacts { padding-left: 2%; }
	
}

@media only screen and (max-width: 767px) {

    .col-full,
    .col-half,
    .col-one-third,
    .col-two-third,
    .col-one-fourth,
    .col-three-fourth,
    .col-one-fifth,
    .col-two-fifth,
    .col-three-fifth,
    .col-four-fifth,
    .col-one-sixth,
    .col-five-sixth { width: 100%; margin-right: 0; float: none; margin-bottom: 40px !important; }

    form .col-full,
    form .col-half,
    form .col-one-third,
    form .col-two-third,
    form .col-three-fourth,
    form .col-one-fourth,
    form .col-one-fifth,
    form .col-two-fifth,
    form .col-three-fifth,
    form .col-four-fifth,
    form .col-one-sixth,
    form .col-five-sixth,
    form .col-last { margin: 0 0 10px 0 !important; }
    
    img.alignleft,
    div.alignleft,
    img.alignnone,
    img.aligncenter,
    div.alignnone,
    div.aligncenter,
    img.alignright,
    div.alignright,
    .wp-caption { display: block !important; float: none; margin: 10px auto; clear: both; }

    .wp-caption img { position: relative; margin: 0 auto !important; }
    .wp-caption { margin: 15px auto; }
    
    body { font-size: 16px; line-height: 24px; }
    
    #main-nav-wrapper { position: relative; clear: both; }
	#menu-main-nav { display:none; }
    #responsive-nav, .retina-logo { display: block; position: relative; z-index: 9999; }
    
    .retina-logo { position: absolute; top: 16px; left: 0; z-index: 10000; }
    
    .slicknav_menu { position: relative; z-index: 10000; font-weight: 400; }
	.slicknav_btn { position: relative; display: block; overflow: hidden; cursor: pointer; text-decoration:none; padding: 10px 0; margin: 52px 10px 0 0; float: right; line-height: 20px; letter-spacing: 1px; }
	.slicknav_btn.slicknav_collapsed { margin-bottom: 0; }
	.slicknav_menu { background: transparent; *zoom: 1; margin-bottom: 0; }
	.slicknav_menutxt, .slicknav_icon { display: block; float: left; }
	.slicknav_icon { margin: 3px 0 0 8px; }
	.slicknav_menutxt { color: #fff; font-size: 18px; }
	.slicknav_menu .slicknav_icon-bar { background-color: #f5f5f5; display: block; width: 1.125em; height: 0.125em; -webkit-border-radius: 1px; -moz-border-radius: 1px; border-radius: 1px; -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); }
	.slicknav_btn .slicknav_icon-bar + .slicknav_icon-bar { margin-top: 3px; }
	.slicknav_nav { clear: both; margin: 0 0 10px 0; padding: 5px 0 0 0; }
	.slicknav_nav, .slicknav_nav ul { list-style: none; overflow: hidden; }
	.slicknav_nav ul,
	.slicknav_nav li { display: block; margin: 0; border-bottom: 1px solid #49667a; text-transform: uppercase; text-align: right; font-size: 15px; line-height: 20px; letter-spacing: 1px; }
	.slicknav_nav li:last-child { border-bottom: none; }
	.slicknav_nav .slicknav_arrow { font-size: 0.8em; margin: 0 0 0 0.4em; }
	.slicknav_nav .slicknav_item { display: block; cursor: pointer; padding: 10px 15px; }
	.slicknav_nav a { display: block; padding: 10px 15px; text-decoration: none; color: #fff; font-weight: 400; font-size: 16px; }
	.slicknav_nav .slicknav_item a { display: inline; padding:0; margin:0; }
	.slicknav_nav li:hover a,
	.slicknav_nav a:hover,
	.slicknav_nav .slicknav_arrow:hover,
	.slicknav_nav .slicknav_item:hover,
	.slicknav_nav li.current-menu-item a,
	.slicknav_nav li.current-menu-parent a { color:#a2c9e3; }
	.slicknav_nav .sub-menu li { margin-left: 0; text-transform: none; }
	.slicknav_nav .sub-menu li a { font-size: 17px; padding-left: 30px; color: #fff; }
	.slicknav_nav .sub-menu li a:hover, .slicknav_nav .sub-menu li.current-menu-item a { color: #a2c9e3; }
	.slicknav_nav .slicknav_txtnode { margin-left: 15px; }
	.slicknav_menu:before,
	.slicknav_menu:after { content: " "; display: table; }
	.slicknav_menu:after { clear: both }
	.slicknav_nav .sub-menu ul { border-bottom: none; }
	.slicknav_nav .sub-menu li { border: none; }
	.slicknav_nav li.slicknav_open { border-bottom: none; }
	
	#hero-header, #google-map { margin-top: 0; clear: both; }
	.header-overlay { display: none; }
	
	#main-content-wrapper { padding: 25px 0 20px 0; }
	#main-content-wrapper:before { background-image: url("../gfx/bg-main-content-wrapper-small.png"); }

	#home-contact { display: none; }
	#home-services { margin-bottom: 20px !important; }
	#services-list { width: 100%; }
	#services-list li.col-one-fourth { width: 50%; float: left; margin-bottom: 20px !important; }
    #supporter-list { padding-left: 0; }
    #supporter-list li { margin-bottom: 0 !important; }
    
    #subnav { display: none; }
	
	#global-contact { display: none; }
	
	#profile-details { width: 100%; }
	#profile-meta h4, #job-title { font-size: 16px; }
	
	#global-contact { text-align: left; }
	
	.wpcf7-form p.centered { text-align: left; }
	
	#global-footer { border-width: 20px; }
	#global-footer .container div { float: left; }
	#footer-logo { width: 20%; margin-right: 10%; }
	#footer-contact { width: 30%; margin-right: 8%; }
	#footer-meta { width: 30%; }
	.footer-nav { display: none; }

}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
	
    .container { width: 440px; }
	
	.kicker { font-size: 20px; line-height: 28px; }
	
	#hero-header, #google-map { height: 240px; }
	
	#main-content-wrapper:before { right: -300px; }
	
	#services-list li.col-one-fifth { width: 33.33%; float: left; margin-bottom: 15px !important; }
	
	.profile.col-one-fourth { width: 48%; margin: 0 3% 4% 0; }
	.profile.mobile-last { margin-right: 0; }
	.profile img { width: 90%; }
	
	.single-mwis_profile #main-content-wrapper { padding-top: 30px; background: #fff url(../gfx/bg-profile.gif) repeat-x 0 -30px; }
	#profile-meta { margin-bottom: 50px; }
	#profile-meta h1 { font-size: 30px; line-height: 36px; }
	#profile-image { width: 38%; float: left; }
	#profile-contacts { float: right; width: 58%; padding: 35px 0 0 0; }
	#profile-contacts p { font-size: 15px; }

    #global-footer.wrapper { padding-top: 40px; }
    
    #back-to-top { right: 17px; bottom: 17px; }
	
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {

    .container { width: 280px; }
    .wrapper {  padding-top: 30px; }
	
	h1 { font-size: 27px; line-height: 34px; margin-bottom: 15px; }
	h2 { font-size: 22px; line-height: 26px; }
	h3 { font-size: 20px; line-height: 24px; }
	.kicker { font-size: 18px; line-height: 26px; }
	
	#hero-header, #google-map { height: 160px; }
	
	#main-content-wrapper:before { right: -400px; }
	
	#services-list li.col-one-fifth { width: 50%; float: left; margin-bottom: 10px !important; }
	#services-list h4 { font-size: 14px; }
	h2.section-heading { margin-bottom: 40px; }
	
	.profile { margin-bottom: 25px !important; }
	.profile img { width: 70%; }
	
	.single-mwis_profile #main-content-wrapper { padding-top: 25px; background: #fff url(../gfx/bg-profile.gif) repeat-x 0 -55px; }
	#profile-meta { margin-bottom: 50px; }
	#profile-meta h1 { font-size: 20px; line-height: 26px; margin-bottom: 0; }
	#profile-meta #job-title { padding-right: 4px; font-size: 13px; }
	#profile-meta span { font-size: 13px; }
	#profile-meta h4 { font-size: 14px; margin-bottom: 5px; }
	#profile-contacts { padding-left: 2%; }
    
    #service-title img { width: 30px; margin-right: 8px; }
    #service-title h1 { font-size: 24px; line-height: 30px; padding-top: 2px; }
    
    #single-nav { padding-top: 20px; }
    #single-nav li span { display: none; }
    #single-nav li a, #single-nav li em { display: inline-block; font-style: normal; }
    
    #contact-captcha { overflow: hidden; width: 160px; border-right: 1px solid #d3d3d3; -webkit-border-top-right-radius: 3px; -webkit-border-bottom-right-radius: 3px; -moz-border-radius-topright: 3px; -moz-border-radius-bottomright: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; height: 76px; }
    
    #global-footer.wrapper { padding-top: 30px; }
	#footer-logo { float: right !important; margin: 0 0 20px 0 !important; width: 35%; }
	#footer-contact { width: 60%; margin: 0 0 20px 0 !important; float: right; }
	#footer-meta { width: 100%; margin-bottom: 20px !important; }

    #back-to-top { right: 15px; bottom: 15px; }

}

.visible-phone { display: none !important; }
.visible-tablet { display: none !important; }
.hidden-desktop { display: none !important; }
.visible-desktop { display: inherit !important; }

@media (min-width: 768px) and (max-width: 979px) {
  .hidden-desktop { display: inherit !important; }
  .visible-desktop { display: none !important ; }
  .visible-tablet { display: inherit !important; }
  .hidden-tablet { display: none !important; }
}

@media (max-width: 767px) {
  .hidden-desktop { display: inherit !important; }
  .visible-desktop { display: none !important; }
  .visible-phone { display: inherit !important; }
  .hidden-phone { display: none !important; }
}