/******************************
*MediaQuery IPAD
******************************/
@media (max-device-width: 768px) and (orientation: portrait) {
.orbit-wrapper .orbit-caption {position: relative; bottom: 0; margin:0; padding: 0;}
.orbit-wrapper .orbit-caption .five {width: 100%;}

/******************************
*MENU
******************************/
/*#header #menu nav {padding-right: 0;}*/

/* #header .ipad-twelve-columns {width: 100%;}
#header .top-bar ul.right {height: auto;}
#header .top-bar ul.right > li > a:not(.button) {padding: 0 5px !important;}

#header .top-bar ul > li.has-dropdown .dropdown {background-image: none;}
#header .top-bar ul > li.has-dropdown.moved .back.title a:before {content: none;}

#header .top-bar ul > li.has-dropdown .dropdown li a {font-size: 13px; font-weight: bold;}
#header .top-bar ul > li.has-dropdown.moved .dropdown .back.title h5 a {font-size: 22px;}
 #header .top-bar ul > li.has-dropdown .dropdown li a {border-bottom: 1px solid #ccc;}
#header .top-bar ul > li.has-dropdown .dropdown li a:hover {background: #e98300;}
#header .top-bar ul.right > li:nth-child(1), #header .top-bar ul.right > li:nth-child(2) { border: none;}
#header .top-bar ul.right > li > a{ border-bottom: 1px solid #cccccc;}

#header .top-bar ul.right > li > a[href*="nifb.convio"]{margin: 5px 5px; }
#header .top-bar ul.right > li > a[href*="volunteer-opportunities"]{margin: 5px 5px;}

#header .top-bar ul.right > li:nth-child(4){position: relative; top: 0;}
#header .top-bar .dropdown.sub-sub-menu{ width: 100%;}
 */
 #header #menu nav {padding: 0;}
 #header .four, #header .eight { width: 100%;}
 #header #header-text {text-align: center;}
 #header .top-bar {margin: 0;}
 #header .top-bar > ul .name img {margin: 0; max-width: 215px;}
 #header .top-bar section > ul li a:not(.button) {background-image: url("../images/vignette.png"); background-repeat: no-repeat; padding-left: 10px; background-position: 20px center; padding-left: 30px !important;}

 #header .top-bar ul.left > li, .top-bar ul.right > li { border-top: 1px solid #e1e1e1;}
 
 //#header .top-bar ul > li.agency-tool-mobile a{background-image: none !important; text-transform: none; font-size: 12px;}

 #header .top-bar ul > li.volunteer { padding: 10px 0;}
 #header .top-bar ul > li.volunteer a{margin: 0 auto; width: 90%; color: #fff !important; background-image: none !important;}

 #header .top-bar ul > li.donate { padding: 10px 0;}
 #header .top-bar ul > li.donate a{margin: 0 auto; width: 90%; color: #fff !important; background-position: none !important;}
 #header #search-mobile { width: 90%; margin: 0 auto;}
 #header #search-mobile form input[type*="text"]  {width: 655px; height: 39px; display: block; float: left; margin: 0px; font-family: "Raleway", sans-serif;}
 #header #search-mobile form input[type*="submit"]  { margin-left: -5px; display: block; float: left;  }
 
 .orbit-wrapper .slider-nav span {top: 25%;}

 #content-secondary #programs .container-programs .orange-button {width: 100%;}
 #content-secondary #ways-to-give h3 , #content-secondary #ways-to-give #container-amount{width: 100%; float: none; text-align: center; }
 #content-secondary #ways-to-give  #more-ways-block a.orange-button {width: 100%;}

#header #search {right: 75px; bottom: 13px;}
#header #search form {right: -18px; bottom: -85px;}
#content #block2 #content-posts .content-posts-block-image {padding-right: 10px;}
#footer-top #form-need-food input {width: 100%}
#footer-top #form-need-food input[type*="submit"] {background-size:  100% 100%; width: 100%; padding: 5px;}
#footer-bottom {background-position: 45% bottom; }
#footer-bottom #footer-contact ul li {display: inline-block;}
#footer-bottom #footer-contact ul, #footer-bottom #footer-menu ul.right { text-align: center;}
#footer-bottom #footer-menu ul li {padding: 5px 10px;}
#footer-bottom #footer-menu ul li.donate { width: 100%; margin-top: 20px;}
#privacy_menu ul li {display: inline-block;}

#wpsl-wrap #wpsl-search-wrap .wpsl-select-wrap #wpsl-radius label {width: 100%;}

#header .top-bar ul > li.has-dropdown ul.dropdown li { right: 0 }	
#dialog .window { max-width: 700px !important; width: 100% !important; left: 0 !important;}
#boxes #dialog { max-width: 700px !important;width: 100% !important; left: 0 !important;}
.dialog { width: 100% !important; } 
#boxes .window .close { right: -50px !important; }
#footer-top #form-need-food p {font-weight: bold;padding: 5px 0;font-size: 14px;color: #fff;margin: 0px 0 0px;}
#footer-top #form-need-food input{height: 32px;}

.slick-next, .slick-prev{display: none;}
}

@media (max-device-width: 1024px) and (orientation: landscape) {

.orbit-wrapper .orbit-caption { bottom: 94px; left: 100px; width: 80%;}

/******************************
*MENU
******************************/
#header .ipad-twelve-columns {width: 100%;}

#header #menu nav {padding: 0; padding-bottom:60px;}

#header .top-bar ul li:nth-child(4) {right: 65px;}
#header .top-bar ul.right{padding-right: 70px;}

#header .top-bar ul.right > li:nth-child(4) {top:-125px; right:40px; }

#header .top-bar ul > li.has-dropdown ul.dropdown li { right: 0 }

#header #search {bottom: 40px; right: 10px;}
#header #search form {right: -15px; bottom: -78px; z-index: 100;}

#header .top-bar ul > li.has-dropdown ul.dropdown li { right: 0 }

#header #search form input[type*="submit"], #header #search-mobile form input[type*="submit"]{margin-top: -2px;}

.slick-next, .slick-prev{display: none !important;}

#privacy_menu ul li {display: inline-block;}

}