/* LAYOUT */
@media screen and (min-width:1024px) {
.v2 article { width: 73.9%; }
#menu { display: none; }
/*#main-nav .top-link.first { display: none; }*/
}

@media screen and (min-width:801px) {
/* Header */
#header { height: 75px; }

#fnc-menu-trigger { display: none; }

/* Header logo */
#logo { left: 14px; top: 0; width: 150px; height: 185px; }
.homepage.ipad #logo { left: auto; right: 320px; }
#logo .logo-desktop { display: block; }
#logo .logo-mobile, #logo .logo-tablet { display: none; }

/* Header action */
#top-action { float: right; margin: 15px 0 8px; }
.email-signup { height: 11px; padding: 0 6px 0 0; margin: 6px 11px 0 0; }
.email-signup span { margin: -5px 0 0; padding-right: 10px; border-right: 1px solid #5B4702;}
.retail-locator-link { float: left; position: relative; margin: 1px 14px 0 0; color: #5b4702; }
.retail-locator-link,
.email-signup span { font-size: 12px; line-height: 16px; }
#search-input { width: 182px; margin: -5px 0 0 0; font-size: 12px; line-height: 1; background: #e7e578; border: 1px solid #a3980a; }
#search-submit { top: -4px; }

/* Navigation */
#navigation { float: right; clear: both; height: 26px; }

/* Main navigation */
#main-nav { height: 26px; margin: 0; }
.top-link { height: 26px; margin: 0 27px 0 0; }
.top-link.last { margin: 0; }
/*.top-link.first { display: none; }*/
.top-link.first a { background: none; padding: 0; }
.top-link > a { padding: 0 17px 0 0; height: 26px; z-index: 101; background: url('../images/layout/nav_arrow.png') no-repeat 100% 2px; }

/* Sub navigation */
.dropdown { position: absolute; width: 176px; z-index: 10000; top: 26px; left: -14px; }
.top-link.last .dropdown { left: auto; right: 0; }
.dropdown li { width: 176px; background: #C1BC00; }
.dropdown li.last { }
.dropdown li a { width: 156px; padding: 0 10px; background: #d4d00f; opacity: 0.9; border-bottom: 1px solid #aca00c; }
.dropdown li a:hover { opacity: 1; }
.dropdown li.last a { border-bottom: 0; padding-bottom: 5px; }

/* Footer section links */
#footer-nav ul li { float: left; }
.footer-links { width: 100%; }
#footer-nav .column { width: 25%; }
#footer-nav ul li ul { float: left; width: 100%; }
#footer-nav ul li li { float: left; width: 100%; max-width: 100%; }
#footer ul > li span { float: left; margin: 0 0 10px; }
#footer .social { float: left; margin: 6px 0 0 25%; width: 97px; }
#footer .social li { margin: 0 7px 0 0; }
#footer #bottom { padding: 15px 10px 0; margin: 19px -10px 0; }
#footer-signup { display: none; }

/* Form menu */
#menu { display: none; }

.landscape { display: none; }
.portrait { display: block; }
}


@media screen and (max-width:880px) and (min-width: 800px) {
html .top-link > a { letter-spacing: 0.5px; }
}

@media screen and (max-width:1023px) {
.v2 article { width: 67%; }
#menu { display: none; }
/*#main-nav .top-link.first { display: none; }*/
.news-pg #content .content-right { max-width: 190px; }

}

@media screen and (min-width:961px) {
/* p intro italic */
#slider + p.italic { max-width: 570px; }
}
@media screen and (max-width:960px) {
.wrap { padding: 0 15px; width: auto; }
.v2 .breadcrumbs { width: 38%; }
#footer { width: 100%; }
#footer .wrap { padding: 0 15px; }

/* p intro italic */
#slider + p.italic { max-width: 100%; }
.results .left { width: 65%; }
.results .imgHolder { width: 32%; }
html .fancybox-wrap { left: 0 !important; }
.news-pg #habitat-slider.flexslider { max-width: 100%; }
.news-pg #content .content-right { max-width: 100%; }
}

@media screen and (max-device-width:1024px), screen and (max-width:800px) {
/* Header */
#header-menu { position: absolute; top: 0; left: 0; z-index: 1000000; width: 260px; background: #c1bc00; overflow: hidden; display: none; }
#main-nav .top-link.first { display: block; }
#main-nav .top-link.first a { padding: 0 0 0 15px; width: 245px; }

/* Menu trigger */
#fnc-menu-trigger { display: block; float: left; width: 63px; height: 55px; margin: 9px 0 11px 3px; font-size: 0; line-height: 0; text-indent: -9999px; background: url('../images/layout/menu_tab_btn.png') no-repeat 0 0; }
#fnc-menu-trigger:hover,
#fnc-menu-trigger:active { background-position: 0 100%; }

#fnc-menu-trigger.active { background-position: 0 0 !important; }
#fnc-menu-trigger.active:hover,
#fnc-menu-trigger.active:active { background-position: 0 100% !important; }

/* Header logo */
#logo { right: 37px; left: auto; width: 134px; height: 163px; }
#logo .logo-desktop,
#logo .logo-mobile { display: none; }
#logo .logo-tablet { display: block; }

/* Header action */
#top-action { float: left; position: relative; margin: 0; padding: 0; border-bottom: 1px solid #3d320e; width: 260px; height: 117px; }
.email-signup { float: left; width: 100%; height: 50px; line-height: 50px; margin: 0; padding: 0; border-bottom: 1px solid #aba700; }
.email-signup  span { width: 100%; height: 50px; line-height: 50px; text-align: left; margin: 0; text-indent: 15px; }
#search { position: relative; width: 228px; height: 32px; padding: 16px; margin: 0; border-top: 1px solid #c9c521; border-bottom: 1px solid #aba700; }
#top-action .retail-locator-link { float: right; position: relative; margin: 0; width: 129px; height: 46px; line-height: 46px; text-align: center; border-bottom: 1px solid #aba700; border-left: 1px solid #c9c521; }
#search-input { width: 188px; padding: 5px 24px 3px 14px; margin: 0; background: #e7e465; color: #796934;
border-top: 1px solid #aba600; border-right: 1px solid #aba600; border-bottom: 1px solid #aba600; border-left: 1px solid #aba600;
-webkit-appearance: none;
-webkit-border-radius: 0;
border-radius: 0; }
#search-submit { top: 20px; right: 17px; }

/* Navigation */
#navigation { float: left; position: relative; margin: -1px 0 0; }
#navigation,
#main-nav { height: auto; width: 100%; }
html #main-nav li { width: 100%; margin: 0; height: auto; }
html #main-nav a { height: 50px; line-height: 50px; border-top: 1px solid #c9c521; border-bottom: 1px solid #aba700; background: 0; color: #382d08; }
html #main-nav li.top-link.current { background: #a09c00; }
html #main-nav li.top-link.current li { background: #C1BC00; }
html #main-nav li.top-link li.current {
background:-webkit-gradient(linear, left top, left bottom, from(#9d9900), to(#a19d00));
background:-webkit-linear-gradient(top, #9d9900, #a19d00);
background:   -moz-linear-gradient(top, #9d9900, #a19d00);
background:	   -ms-linear-gradient(top, #9d9900, #a19d00);
background:	    -o-linear-gradient(top, #9d9900, #a19d00);
background:		   linear-gradient(top, #9d9900, #a19d00); }
.top-link.first { display: block; }
.top-link > a { width: 245px; padding: 0 0 0 15px;  }

/* Sub navigation */
.dropdown { visibility: visible !important; display: block !important; float: left; position: relative; width: 100%; left: auto; top: auto; }
.dropdown li { height: 50px; line-height: 50px; width: 100%; }
.dropdown li a { width: 225px; padding: 0 0 0 35px; font-size: 15px; opacity: 1; font-family: 'questrialregular', Arial, Helvetica, sans-serif; }
.dropdown li.last a { padding-bottom: 0; }
html #main-nav li.current > a { color: #fffe92; border-top: 1px solid #928f00; border-bottom: 2px solid #9c9800; margin: -1px 0 0; }

/* Footer */
#footer-nav ul ul { display: none; }
#footer-nav .column { max-width: 100%; }
#footer-nav .footer-links { display: table; margin: 0 auto 30px; width: auto; }
#footer-nav .footer-links li { display: inline; padding: 0 15px; width: auto; }
#footer .social { float: none; display: table; width: 186px; margin: 0 auto 30px; }
#footer .social li { width: 33px; margin: 0 18px 0 0; }
#footer .social li a { width: 33px; height: 33px; background-position: 0 -72px; }
#footer .social li + li a { background-position: 0 -105px; }
#footer .social li + li + li a { background-position: 0 -138px; }
#footer .social li + li + li + li a { background-position: 0 -171px; }
#footer-signup { display: none; }
#footer #bottom { padding: 15px 0 0; margin: 19px 0 0; }

/* p intro italic */
#slider + p.italic { max-width: 570px; min-height: 160px; padding: 0 50px 0 0; }
}

@media screen and (max-width:1024px) {
.homepage #logo { left: 14px; }
.menu { display: block; }
#menu { display: none; }
.menu-open #logo { display: none; }
.homepage .menu-open .logo { display: block; }
.homepage.ipad .menu-open .logo { display: block; }

}

@media screen and (max-width:800px) {
.homepage #logo { left: auto; right: 37px; }
.menu { display: none; }
#menu { display: block; float: left; clear: both; margin: 0 0 30px; }
html .menu-open #logo { display: none; }
.homepage .menu-open .logo { display: none; }
.homepage.ipad .menu-open .logo { display: none; }
#slider + p.italic { max-width: 100%; }
.results { overflow: hidden; }
.results .left { width: 96%; }
.results .imgHolder { width: 100% !important; height: 175px; margin: 0; right: 0; top: 0; left: 0; bottom: auto; }
.results .left h2 { margin: 200px 0 10px; }
.landscape { display: block; }
.portrait { display: none; }
}

@media screen and (max-device-width:1024px) and (orientation: landscape) {
.menu { display: block; }
#menu { display: none; }
.menu-open #slider { margin: 0 0 0 -15px; }
.menu-open #calltoaction { width: 300px !important; margin: 0 -240px 0 0; }
.menu-open #slider + p.italic { margin: 34px 0 19px 15px; }
.menu-open #logo { margin: 0 -240px 0 0; }
#content { min-height: 220px; }
}

@media screen and (max-device-width:600px) and (orientation: landscape) {
.menu { display: none; }
#menu { display: block; }
}

@media screen and (max-width:600px) {
#logo { right: 11px; width: 96px; height: 109px; }
.homepage #logo { right: 11px; }
}

@media only screen and (max-width: 599px) {
#header { height: 66px; }
#fnc-menu-trigger { width: 31px; height: 26px; margin: 20px 0; background: url('../images/layout/menu_mob_btn.png') no-repeat 0 0; }
.menu-open #fnc-menu-trigger { margin: 20px 0 20px 13px; }

/* Logo */
#logo .logo-desktop,
#logo .logo-tablet { display: none; }
#logo .logo-mobile { display: block; }

/* Footer */
html #footer { padding: 0 0 30px; }
html .menu-open #footer { padding: 0 0 30px; margin: 30px 0 0; }
#footer .footer-links,
#footer .footer-links li,
#footer .footer-links li > span { float: left; display: block; width: 100%; }
#footer .footer-links { margin: 0 auto 24px; }
#footer .social { margin: 0 auto 6px; }
#footer .footer-links li { padding: 0; max-width: 100%; }
#footer .footer-links li > span { text-align: center; height: 50px; border-bottom: 1px solid #a9a22b; margin: 0; }
#footer .footer-links li span a { line-height: 50px; }

/* Footer bottom */
#footer #bottom ul { width: 100%; margin: 0 0 30px; }
#footer-signup { float: left; position: relative; display: block; font-size: 12px; }
}

@media only screen and (max-width: 480px) {
#email-signup { max-width: 250px; padding: 20px 15px 0; }
#email-signup .input { width: 198px; }
.results { padding: 0 0 90px 3%; }
.results .btn { height: 52px; font-size: 14px; line-height: 22px; padding: 8px 20px 0; right: 3%; }
.results .btn span { display: block; }
.results .left h2 { font-size: 23px; line-height: 27px; }
}

/* PAGES 
========================*/
@media screen and (min-width:801px) {
/* Homepage - Slider */
.wrap.slider-wrap .flexslider { margin: 0 0 27px -10px; }
.menu-open #slider { margin: 0; }

/* Call to action */
#calltoaction { position: absolute; z-index: 1000; top: 0; right: 10px; width: 300px; height: 400px; }
#calltoaction ul { height: 400px; }
#calltoaction li { width: 50%; height: 200px; }
#calltoaction .imgHolder { height: 200px; }
#calltoaction .imgHolder span { height: 34px; font: 12px/34px 'questrialregular', sans-serif; text-decoration: none; }
#calltoaction .imgHolder img { height: 100%; left: -33%; }
#calltoaction li .overlay { position: absolute; z-index: 1100; width: 100%; height: 166px; top: -9999px; left: 0; }
#calltoaction li:hover .overlay { top: 34px; }
#calltoaction .overlay * { color: #FFF; }
#calltoaction .overlay span { width: 90%; padding: 5px 5% 15px; line-height: 18px; }

/* Locator */
#quiz { max-width: 66%; height: 100px; }
#quiz .left { width: 48%; margin: 0 3.6% 0 0; }
#quiz .left p { margin: 0; }
#quiz .btn { width: 48.4%; }

/* Video */
#video { position: absolute; right: 0; bottom: 15px; width: 31.8%; height: 330px; }
#video h2 { margin: 5px 0 6px; }
#video ul { float: left; position: relative; width: 100%; }
#video ul li { float: left; position: relative; width: 100%; margin: 0 0 6px; }
#video ul li li { position: relative; width: 100%; max-width: 140px; }
#video ul ul li.first { float: left; }
#video ul ul li.last { float: right; }
#video ul ul li.first.last { float: left; }
#video ul li span { line-height: 14px; margin: 5px 0 0; }

/* Latest */
.latest { max-width: 31%; margin: 0 3.1% 20px 0; }
.latest.fu { margin: 0 0 20px; max-width: 31.8%; }
.latest li .desc { max-width: 243px; }

/* Devices AddThis */
.addthis_32x32_style { display: none; }
}

@media screen and (max-width:977px) {
html .wrap { max-width: 100%; width: auto; padding: 0 15px; }

/* Call to action */
#calltoaction { float: left; position: relative; width: 100%; height: auto; margin: 0 0 30px; top: auto; right: auto; }
#calltoaction ul { height: auto; }
#calltoaction li { width: 25%; height: auto; }
#calltoaction .imgHolder { height: 206px; }
#calltoaction .imgHolder span { height: 43px; font: 13px/43px 'questrialregular', sans-serif; top: auto; bottom: 0; }
#calltoaction .imgHolder img { height: 100%; left: -33%; }
#calltoaction li .overlay { float: left; position: relative; margin: 0; width: 100%; height: auto; top: auto; left: auto; background: 0; }
#calltoaction li:hover .overlay { top: auto; }
#calltoaction li .overlay * { color: #70684E; bottom: 0; }
#calltoaction li .overlay span { width: 90%; padding: 5px 5% 3px; line-height: 18px; }
#calltoaction li .overlay a { display: block; margin: 0; z-index: 100; height: 32px; line-height: 32px; text-align: center; }

/* Homepage - Slider */
.slider-wrap { overflow: hidden; }
.wrap.slider-wrap .flexslider { margin: 0 -4%; width: 108% !important; }
.wrap.slider-wrap .slides li div { bottom: 50px; }
.wrap.slider-wrap .flex-control-nav { bottom: 26px; }

/* P italic homepage */
#slider + p.italic { max-width: 95%; min-height: auto; margin: 34px 0 19px; }
.menu-open #slider + p.italic { max-width: 1000px; }

/* Locator */
.wrap #quiz { height: auto; max-width: 100%; }
.wrap #quiz .left { max-width: 58% /*48%*/; margin: 0 3.5% 0 0; }
.wrap #quiz .btn.btn-quiz { float: right; max-width: 38% /*48%*/; margin: 0 0 2px; }
.wrap #quiz .btn.btn-quiz:active { margin: 2px 0 0; }
.wrap #quiz .btn.btn-quiz em { left: 50%; margin: 0 0 0 70px; }

/* Video */
.wrap #video { float: left; position: relative; padding: 19px 0 0; right: auto; bottom: auto; width: 100%; height: auto; }
.wrap #video h2 { margin: 5px 0 14px; }
.wrap #video ul > li { float: left; width: 48.3%; margin: 0 3.2% 0 0; }
.wrap #video ul > li.last { margin: 0; }
.wrap #video ul li li { float: left; width: 46.8%; max-width: 46.8%; margin: 0 6.4% 0 0; padding: 0 0 20px; }
.wrap #video ul li li.last { margin: 0; }
.wrap #video ul li span { line-height: 15px; margin: 10px 0 0; }

/* Latest */
.latest { margin: 0 3.2% 0 0; max-width: 48.3%; }
.latest.tw { margin: 0; }
.latest.fu { max-width: 100%; margin: -15px 0 7px; padding: 0; }
.latest.fu .btn { max-width: 48.4%; }
.latest.fu .btn.twitter { margin: 0 3.2% 22px 0; }
.latest.fu .btn.twitter:active { margin: 2px 3.2% 20px 0; }
.latest li .desc { max-width: 83%; }

/* Dictionary */
#content #dictionary ul { max-width: 68%; padding: 0 32% 0 0;
-webkit-column-count: 3;
   -moz-column-count: 3;
        column-count: 3; }
#content #dictionary li .block { width: 28%; }

/* Table */
.zebra td.first span { display: block; }

/* Family fun project */
#content .project-left { max-width: 100%;}
#content .featured { display: none; }
#content .featured-mobile { display: inline; }
#content .project-content img { width: 47%; margin: 3px 0 12px 20px; }
#content .project-right { float: left; max-width: 100%; }
#content .project-right ul,
#content .project-right ul * { float: left; position: relative; }
#content .project-right ul { width: 100%; }
#content .project-right li { width: 22.45%; margin: 0 3.4% 20px 0; }
#content .project-right li:nth-child(4n+4) { margin: 0 0 20px 0; }
#content .project-right li a { width: 100%; }

/* Family fun slider */
#content #bxslider li .left { width: 50%; }
#content #bxslider li .left img { width: auto; max-width: 100%; height: auto; }
#content .bx-controls { float: left; width: 100%; margin: 0 0 20px; }
#content #bxslider li span.links { margin: 12px 0 10px; }
}

@media screen and (max-device-width:800px), screen and (max-width:800px) {
/* Menu */
#myList.menu { display: none !important; }
#content article { max-width: 100%; }
}

@media screen and (max-width:800px) {
/* Page top */
#page-top #page-title { width: 100%; background: 0; }
#page-top #page-title h1 { width: auto; height: 50px; line-height: 50px; padding: 0 30px 0 15px; left: -15px; background: #5c4702; }
.about-pg #page-top #page-title h1 { background: #6395d5; }
.news-pg #page-top #page-title h1 { background: #ee3468; }
.rtl-pg #page-top #page-title h1 { background: #f58025; }
.rtp-pg #page-top #page-title h1 { background: #926c95; }
#page-title h1 span { display: inline; }
/*#page-title h1 span:first-child { margin: 0 10px 0 0; }*/
.breadcrumbs { margin: 1.75em 0 .5em; display: none; }
.breadcrumbs a { padding: 0 20px 0 0; margin: 0 10px 0 0; }
#action { float: left; margin: 20px 0; }
#action a.print { display: none; }
.left.detail { max-width: 100%; margin: 0; }
.left.right-side { max-width: 100%; margin: 0; padding: 0; }
.left.detail figure { float: left; width: 100%; margin: 0 0 20px; /*background: #926c95;*/ }
.left.detail figure img { width: 100%; max-width: 100%; margin: 0 auto; }
.wrap #content p { max-width: 100%; }

/* Action block */
#action .addthis_toolbox { width: 100%; }
#action { width: 100%; }
#action .addthis_toolbox a { margin: 0 5px 0 0; }

/* Banner */
#banner { padding: 0 15px; margin: 0 -15px; }

/* AddThis */
.addthis_16x16_style { display: none; }
.addthis_32x32_style { display: block; }

/* Menu v2 */
.v2 .menu, .v2 .menu li { width: 50%; margin: 0; }
.v2 .menu-holder { float: left;	position: relative; left: auto; top: auto; width: 100%; }

/* Article v2 */
.v2 article { width: 100%; margin: 0; }
.v2 article .gallery li { width: 22.45%; }
.v2 article .gallery li,
.v2 article .gallery li:nth-child(3n+3) { margin: 0 3.4% 20px 0; }
.v2 article .gallery li:nth-child(4n+4) { margin: 0 0 20px 0; }

/* Photo List */
.photo-list li { width: 22.45%; }
.photo-list li,
.photo-list li:nth-child(6n+6) { margin: 0 3.4% 12px 0; }
.photo-list li:nth-child(4n+4) { margin: 0 0 12px 0; }

/* More photo list */
.more-photo li { width: 22.4%; }
.more-photo li,
.more-photo li:nth-child(2n+2) { margin: 0 3.4% 20px 0; }
.more-photo li:nth-child(4n+4) { margin: 0 0 20px 0; }
.more-photo, .more-photo * { width: 100%; }
.more-photo li a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Dictionary */
#content #dictionary ul { max-width: 100%; padding: 0;
-webkit-column-count: 2;
   -moz-column-count: 2;
        column-count: 2; }
#content #dictionary li a { line-height: 34px; }
#content #dictionary li a.active { font-size: 23px; color: #5B4702; }
#content #dictionary li .block { position: relative; top: auto; right: auto; width: 80%; margin: 0 20% 0 0; padding: 0 0 10px; background: 0; }
#content #dictionary li .block * { color: #70684e; }
#content #dictionary li .title { display: none; }
#content #dictionary li .description { margin: 0 0 7px; }
#content #dictionary li img.first { display: none; }
#content #dictionary li img.second { display: block; }

/* Filter by letters */
#page-top #letters { display: block; }
#page-top #family-filter #letters { display: none; }
#page-top #family-filter label { width: 60px; }
/*#page-top #family-filter select { xmax-width: 300px; }*/
#page-top #letters ul li,
#content #myList-nav a { width: 36px; height: 36px; line-height: 36px; margin: 0 10px 10px 0; }
#content #myList-nav { margin: 0 0 10px; }
#page-top #letters ul li a { line-height: 36px; font-size: 17px; }

/* Browser */
#content #browser-desc { width: 100%; }
#content #bulb-browser { float: left; width: 100%; }
#content #bulb-browser .browser { width: 42%; min-height: 200px; margin: 0 3% 20px 0; }
#content #bulb-browser #browse-by-family.browser { margin: 0 0 20px;  }
#content #bulb-browser select { width: 43%; }
#content #bulb-browser #browse-alphabetically.browser { clear: both; }

/* Alphabet */
#content .alphabet-list { float: left; position: relative; width: 100%; padding: 0; }
#content .alphabet-list ul { margin: 0 0 30px;
-webkit-column-count: 2;
   -moz-column-count: 2;
        column-count: 2; }

/* Category list */
.category-list li { min-height: 275px; max-height: 275px; }

/* Misc */
.about-pg #content p { max-width: 100%; }
.about-pg #content .right { float: left; position: relative; max-width: 100%; width: 100%; top: auto; right: auto; margin: 0 0 20px; }
.news-pg article { max-width: 100%; }
.news-pg .other-pr { width: 96%; max-width: 96%; padding: 13px 2% 0; float: left; }
#slider + p.italic { margin: 16px 0 14px; }
.wrap #myList-nav,
.wrap #letters { display: block; }
.wrap .btn.more { max-width: 48%; }
.family-info { display: block; }

.menu-open #slider { margin: 0; }

/* Temp */
.wrap #file-list { margin: 100px 0 50px;
-webkit-column-count: 2;
   -moz-column-count: 2;
        column-count: 2; }
}

@media only screen and (max-width: 800px) and (min-width: 600px) {
/*.left.detail figure { max-height: 500px; }
.left.detail figure img { max-height: 500px; }*/
}

@media only screen and (max-width: 599px) {
/* Homepage - Slider */
html .wrap.slider-wrap .flexslider { margin: 0 -6%; width: 112% !important; }
html .wrap.slider-wrap .flex-viewport .slides { height: 235px; overflow: hidden; }
html .menu-open .wrap.slider-wrap .flex-viewport .slides li { height: 235px; width: 100%; }
html .wrap.slider-wrap .flex-viewport .slides li img { height: 100%; }
html .wrap.slider-wrap .flex-control-nav { display: none; }
html .wrap.slider-wrap .slides li div { bottom: 0; padding: 13px 5% 17px; width: 90%; background: transparent url('../images/library/overlay.png') repeat 0 0; }
html .wrap.slider-wrap .slides li.flex-active-slide div { left: 0; }
html .homepage .desc.left { float: none; }
.menu-open .slides li div h2 a,
.menu-open .slides li div span { white-space: nowrap; }
.menu-open .wrap.slider-wrap .slides li div { padding: 13px 0 17px 15px; }
.menu-open .slides li div,
.menu-open .slides li div span { width: 600px; }
.menu-open p.copy,
.menu-open #footer-signup { display: none; }

/* Call to action */
.wrap #calltoaction { height: auto; margin: 0; }
.wrap #calltoaction li { height: auto; width: 100%; margin: 0 0 30px; }
.wrap #calltoaction .imgHolder { height: auto; }
.wrap #calltoaction .imgHolder img { height: auto; width: 100%; left: 0; position: relative;; }
.wrap #calltoaction .imgHolder span { font: 15px/43px 'questrialregular', sans-serif; bottom: 0; background: url('../images/library/overlay.png') repeat 0 0; }
.wrap #calltoaction li .overlay { background: 0; }
.wrap #calltoaction li .overlay a { float: left; position: relative; width: auto; height: auto; line-height: 20px; left: 0; bottom: auto; margin: 0; text-align: left; background: 0; color: #70684e; }
.wrap #calltoaction li .overlay span { display: block; float: left; width: 100%; color: #70684e; text-align: left; margin: 15px 0 5px; padding: 0; }

/* Italic */
.wrap p.italic { font-size: 18px; line-height: 27px; }
/* P italic homepage */
#slider + p.italic { max-width: 100%; }
.inner-wrap.border-top,
#video { display: none; }

/* Locator */
.wrap #quiz .left { margin: 0 0 20px; max-width: 100%; width: 100%; }
.wrap #quiz p { margin: 0; }
.wrap #quiz .btn.btn-quiz { max-width: 99.4%; width: 100%; margin: 0 0 12px; }
.wrap #quiz .btn.btn-quiz:active { margin: 2px 0 10px; }
#page-top #banner { overflow: visible;}
#page-top #banner img { display: none; }
#page-top #page-title { height: auto; }
#page-top #page-title h1 { display: block; position: relative; height: auto; width: 100%; padding: 20px 15px 5px; margin: 0 -15px; left: 0; font-size: 30px; line-height: 32px; }
#page-title h1 span { display: block; white-space: nowrap; }
html #page-title.habitat h1 span { display: block; }
#page-title h1 span:first-child { margin: 0; }
.left.detail { overflow: hidden; }
.left.detail figure img { width: 100%; margin: 0 auto; }

/* Photo list */
.photo-list li { width: 30%; }
.photo-list li,
.photo-list li:nth-child(6n+6),
.photo-list li:nth-child(4n+4) { margin: 0 4.8% 12px 0; }
.photo-list li:nth-child(3n+3) { margin: 0 0 12px 0; }

/* Category list */
.category-list li { width: 47.5%; min-height: 100%; max-height: 100%; }
.category-list li,
.category-list li:nth-child(4n+4) { margin: 0 5% 20px 0; }
.category-list li:nth-child(2n+2) { margin: 0 0 20px; }

/* Facebook iframe */
.fb_iframe_widget { width: 100% !important; margin: 0 !important; }

/* Columns */
#content .columns {
-webkit-column-count: 1;
   -moz-column-count: 1;
        column-count: 1;
-webkit-column-gap: 0px;
   -moz-column-gap: 0px; }

/* Table */
#content .zebra td { max-width: 18px; white-space: normal; padding: 3px 0 3px 5px; }
#content .zebra td.first { max-width: 80px; padding: 3px; border-right: 1px solid #fff; }
#content .zebra td.last { max-width: 22px; }
#content .zebra td:nth-child(2):after,
#content .zebra td:nth-child(4):after { position: absolute; content: "/"; width: 10%; text-align: center; }
#content .zebra tr.first td:after { content: ''; }

/* Browser */
.wrap #content #bulb-browser .browser { width: 94%; min-height: auto; margin: 0 0 20px; }
.wrap #content #bulb-browser select { width: 48%; }

/* Alphabet */
.wrap #content .alphabet-list ul { margin: 0 0 30px;
-webkit-column-count: 1;
   -moz-column-count: 1;
        column-count: 1; }

/* Misc */
.rtl-pg p.intro { font-size: 18px; line-height: 27px; }
.wrap .btn.more { max-width: 100%; }

/* Family fun */
#content .project-content img { float: left; position: relative; width: 100%; margin: 0 0 12px; }
#content .project-right { float: left; max-width: 100%; }
#content .project-content .left { max-width: 100%; }
.fun-page .gallery li { width: 30%; margin: 0 4.7% 20px 0; }
.fun-page .gallery li:nth-child(3n+3) { margin: 0 0 20px 0; }
/* Family fun slider */
#content #bxslider li .left { width: 100%; }
#content #bxslider li .left img { width: 100%; max-width: 100%; height: auto; }

/* Temp */
html .wrap #file-list { margin: 50px 0;
-webkit-column-count: 1;
   -moz-column-count: 1;
        column-count: 1; }
.login-form label { margin-bottom: 0;}
.login-form .ctrlHolder input { width: 90%;}
.login-form .submit-wrap { padding: 0;}
}

@media only screen and (max-width: 480px) {
/* Family fun project */
#content .project-right li,
#content .project-right li:nth-child(4n+4) { width: 47.5%; margin: 0 5% 20px 0; }
#content .project-right li:nth-child(2n+2) { margin: 0 0 20px 0; }

/* Article v2 */
.v2 article .gallery li { width: 47.5%; }
.v2 article .gallery li,
.v2 article .gallery li:nth-child(3n+3),
.v2 article .gallery li:nth-child(4n+4) { margin: 0 5% 20px 0; }
.v2 article .gallery li:nth-child(2n+2) { margin: 0 0 20px 0; }

html .fancybox-inner { max-height: 400px !important; }
html .fancybox-overlay { left: 0 !important; }
}

@media only screen and (max-width: 320px) {
/* Photo list */
.photo-list li { width: 47.5%; }
.photo-list li,
.photo-list li:nth-child(6n+6),
.photo-list li:nth-child(4n+4),
.photo-list li:nth-child(3n+3) { margin: 0 5% 12px 0; }
.photo-list li:nth-child(2n+2) { margin: 0 0 12px 0; }

/* Category list */
.category-list li { width: 100%; margin: 0 0 20px; }

/* Dictionary */
#content #dictionary ul { max-width: 100%;
-webkit-column-count: 1;
   -moz-column-count: 1;
        column-count: 1; }

/* Family fun */
.fun-page .gallery li { width: 47.5%; }
.fun-page .gallery li,
.fun-page .gallery li:nth-child(3n+3) { margin: 0 5% 20px 0; }
.fun-page .gallery li:nth-child(2n+2) { margin: 0 0 20px 0; }
html #menu { width: 97.5%; }
html #menu select { width: 97%; }

/* Homepage */
.menu-open .flex-viewport { width: 320px !important; }
.menu-open .slides li { width: 306px !important; }
.menu-open .slides li div,
.menu-open .slides li div span { width: 320px !important; }

html .fancybox-inner { max-height: 200px !important; }
}

@media screen and (max-width:600px) {
/* Homepage */
html .menu-open #calltoaction { margin: 0 0 0 15px; }
.latest.fb .desc.left,
.latest.tw .desc.left { float: none !important; }
.latest.fb,
.latest.tw { width: 100%; max-width: 100%; }
.latest.tw { padding: 0 0 25px; }

.latest.fu .btn.twitter { margin: 0 0 22px 0; }
.latest.fu .btn { max-width: 100%; }
.gallery h5 { font-size: 11px; line-height: 20px; white-space: nowrap; }

html .fancybox-wrap { top: 15px !important; max-width: 100% !important; }

/* Habitat page */
.news-pg #content .content-right .logoHolder { width: 281px; height: 115px; float: none; clear: none; display: block; margin: 0 auto; }
.news-pg #content .content-right .logoHolder img { max-width: 100%; }
}

@media screen and (max-device-width:1024px) and (orientation: landscape) {
html .ipad .fancybox-wrap { top: 100px !important; max-width: 100% !important; }
}

@media screen and (max-device-width:800px) and (orientation: landscape) {
html .fancybox-wrap { top: 15px !important; max-width: 100% !important; }
}

@media screen and (max-device-width:800px) and (orientation: portrait) {
html .fancybox-wrap { top: 200px !important; max-width: 100% !important; }
}

@media screen and (max-device-width:768px) and (orientation: portrait) {
html .fancybox-wrap,
html .ipad .fancybox-wrap { top: 200px !important; max-width: 100% !important; }
html .fancybox-inner { max-height: 400px !important; }
}

@media screen and (max-device-width:700px) and (orientation: portrait) {
html .fancybox-wrap { top: 100px !important; max-width: 100% !important; }
}

@media screen and (max-device-width:1280px) and (orientation: landscape) {
html .fancybox-inner { max-height: 400px !important; }
}

@media screen and (max-device-width:600px) and (orientation: portrait) {
html .fancybox-wrap { top: 15px !important; max-width: 100% !important; }
}

@media screen and (max-device-width:480px) and (orientation: landscape) {
html .fancybox-wrap { top: 15px !important; max-width: 100% !important; }
html .fancybox-inner { max-height: 90px !important; }
}

@media screen and (min-device-width:800px) and (max-device-width:1280px) and (orientation: landscape) {
html .fancybox-inner { max-height: 300px !important; }
html .fancybox-image { width: auto !important; height: 100% !important; }
}

@media screen and (min-device-width:800px) and (max-device-width:1280px) and (orientation: portrait) {
html .fancybox-wrap { top: 150px; }
html .fancybox-inner { max-height: 400px !important; }
html .fancybox-image { width: 100% !important; height: auto !important; }
}

@media screen and (min-device-width:720px) and (max-device-width:1280px) and (orientation: landscape) {
html .fancybox-inner { max-height: 400px !important; }
html .fancybox-image { width: auto !important; height: 100% !important; }
}

@media screen and (min-device-width:720px) and (max-device-width:1280px) and (orientation: portrait) {
html .fancybox-wrap { top: 50px !important; max-width: 100% !important; }
html .fancybox-image { width: 100% !important; height: auto !important; }
}