/*
Theme Name: Discovering Galapagos
Author: wave
Author URI: http://www.wave.coop
Description: Theme for Discovering Galapagos, based on Toolbox, a semantic, HTML5, canvas for CSS artists and an ultra-minimal set of super-clean templates for your own WordPress theme development.
Version: 1.0
License: GNU General Public License
License URI: license.txt
Tags: custom-menu, sticky-post, microformats, rtl-language-support, translation-ready, full-width-template, post-formats
*/
@import url("stylesheets/screen.css");
.js body {
	opacity:1 !important;	
}
.desktop #bg3 { max-width: 100%; opacity: 1 !important; transition: all 300ms ease-in-out; }

/* BRZ EDITS */


.prev_link { margin-left: 15%; left: 0px; }
.next_link { margin-right: 15%; right: 0px; }

.single-dg_glossary #content, .single-dg_species #content { background: #fff; padding-top: 40px; padding-bottom: 40px; }
.single-dg_glossary #content #insert, .single-dg_species #content #insert { float: right; width:70%; }
.single-dg_glossary #content header, .single-dg_species #content header { margin-left: 10px !important; margin-right: 40px !important; }
.single-dg_glossary #content header h1, .single-dg_species #content header h1 { font-size: 38px; color: #333; margin-bottom: 10px; }
.single-dg_glossary #content .entry-content, .single-dg_species #content .entry-content { margin-left: 10px !important; margin-right: 40px !important; }
#content #letter-sidebar { float: left; width: 30%; }
.letter-group { margin-bottom: 6px !important; }
#letter-sidebar ul { list-style: none; padding-left: 0px; }
#letter-sidebar .letter-group > ul { margin: 0px 0px 0px 10px; }
#letter-sidebar ul li { font-size: 18px; cursor: pointer; padding: 0px 0px 0px 10px; overflow: hidden; border-bottom: 0px !important; }
#letter-sidebar ul li a { padding: 0px 0px 0px 0px; color: #666; text-decoration: none; font-size: 16px; overflow: hidden; }
#letter-sidebar ul li:before { content: '»'; color: #fff; padding: 0px 10px 0px 0px; line-height: 31px; font-size: 22px; margin-left: -20px; transition: all 200ms ease-in-out; }
#letter-sidebar ul li ul li:before { content: '»'; color: #fff; padding: 0px 10px 0px 0px; line-height: 31px; font-size: 22px; margin-left: 0px; transition: all 200ms ease-in-out; }
#letter-sidebar ul li:hover:before { color: #0388a6; margin-left: 0px; }
#letter-sidebar ul li.current:before { color: #0388a6; margin-left: 0px; }
#letter-sidebar ul li ul li:hover:before { color: #0388a6; margin-left: 20px; }
#letter-sidebar ul li ul li.current:before { color: #0388a6; margin-left: 20px; }
#letter-sidebar ul li ul { display: none; }
#letter-sidebar ul li ul li:first-child { display: none; }

#content #insert .mediumwidth-caption { width: 70%; }
#content .wp-caption .wp-caption-text { font-size: 0.9em; font-weight: normal; font-family: 'Avenir LT W02 55 Roman', Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; padding: 8px 0px; }
#content .entry-content p { font-size: 1.1em; line-height: 1.2em; }
.a-z-title { padding: 10px; margin: 0px 10px 10px; font-weight: bold; }

#post-53435 h1, #post-53432 h1 { display: none; }

#content #insert b { font-size: 16px; font-weight: bold !important; font-family: 'Avenir LT W02 55 Roman', Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif; margin-top: 30px; display: block; }
#internal_links ul, #external_links ul {
    margin-top: 8px;
    list-style-position: inside;
}

#internal_links ul li a, #external_links ul li a {
    font-weight: bold;
    text-decoration: none;
    color: #82a629;
	font-size: 16px; 
	font-family: 'Avenir LT W02 55 Roman', Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#internal_links ul li, #external_links ul li {
    background-image: none;
    background-position: 0;
    padding-left: 0px;
    list-style-position: inside;
    background-repeat: no-repeat;
    font-size: 18px;
	margin-bottom: 8px !important;
}

#insert img { max-width: none !important; }

.single-dg_species #letter-sidebar #a-z { display: none; }
.single-dg_species #species_data { display: block; }
.single-dg_species .callbacks-container { margin-left: 12px; }

.single-dg_species .entry-content h2 { text-shadow: none; font-size: 20px; color: #0388a6; text-transform: uppercase; margin-bottom: 25px; font-family: 'Avenir LT W02 55 Roman', Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: bold !important; }
.postid-53444 #letter-sidebar #a-z { display: block; } 
.postid-53444 #species_data { display: none; } 

#species_data { padding: 20px; font-size: 16px; font-family: 'Avenir LT W02 55 Roman', Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif; }
#species_data span { display: inline-block; }
#species_data .species_new_row { margin-top: 15px; padding-bottom: 15px; border-bottom: 1px solid #eee; }
#species_wrapper b { margin-bottom: 5px; margin-top: 20px; display: block; }
#species_wrapper .tagged p { margin-bottom: 0px; }
#species_wrapper .weight p { font-size: 18px; }
#species_data h5 { font-size: 22px; color: #0388a6; text-transform: uppercase; margin-bottom: 25px; }
#species_data b { font-size: 13px; text-transform: uppercase; font-family: 'Avenir LT W02 55 Roman', Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif; display: block; padding-bottom: 8px; color: #012B67; font-weight: bold; }
#species_data p { font-size: 15px; }

.return-link { font-size: 18px; text-decoration: none; color: #333; font-weight: bold; padding-bottom: 25px; display: block; }

.hide-me { display: none !important; }

#glossary p img { height: auto; }

#insert .callbacks_nav.prev { left: 5px; }
#insert .callbacks_nav.next { right: 5px; }
.jspPane .callbacks-container { height: 300px; max-height: 300px !important; }
#species_wrapper { display: none; }
.jspPane #species_wrapper { display: block; margin-bottom: 40px; }

#internal_links ul li:before { content: ''; background: url('https://www.discoveringgalapagos.org.uk/wp-content/themes/galapagos-theme/cms_img/bullet_tortoise_new.png'); display: block; background-position: center; background-size: 20px; background-repeat: no-repeat; display: block; width: 20px; height: 25px; margin-right: 10px; float: left; }
#external_links ul li:before { content: ''; background: url('https://www.discoveringgalapagos.org.uk/wp-content/themes/galapagos-theme/cms_img/bullet_rocket.png'); display: block; background-position: center; background-size: 20px; background-repeat: no-repeat; display: block; width: 20px; height: 25px; margin-right: 10px; float: left; }
#tabbed-asides .entry-content ul li { background-image: none; padding-left: 0px; }

.postid-53444 #hub_hide { display: none; }
.postid-53444 article header.entry-header { display: none; }
#insert .wp-image-53445 { max-width: 95% !important; margin-top: 15px; }

.ui-tooltip { display: none !important; }

span a.link-glossary { color: #fff; }

.jspPane #insert p img { max-width: 470px !important; }
.jspPane .callbacks_nav { margin-top: -25px !important; }
.jspPane .callbacks a { cursor: default; }

.jspPane #insert img { max-width: 480px !important; }

@media only screen and (min-width: 1020px) {
#mep_0 {
   
    height: 400px !important;
    margin-top: -15px;
   
	
    margin-right: -60px;
    margin-top: -36px;
    overflow: hidden;
    position: relative;
    margin-bottom: 40px;
}

#mep_0 .mejs-controls { display: none !important; }
#mep_0 video { width: 100% !important; height: 555px !important; margin-top: -100px; }
#intro-1.content-intro { margin-top: 0px; }
.home .callbacks-container { display: none; }
}


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

/*--- tablet ---*/
@media only screen and (max-width: 1024px) {

#mep_0 { width: 760px !important; height: 390px !important; }
#hi-res img { display: none; }
.prev_link { margin-left: 8%; left: 0px; }
.next_link { margin-right: 8%; right: 0px; }
a#a_711, a#a_1114, a#a_1418, a#advanced { width: 24% !important; }
.gdlr-social-share { min-width: 80px; }
#insert .gdlr-social-share a img { width: 16px !important; height: 16px !important; }
tr td.rsrc-title a p, tr td.rsrc-type p { line-height: 22px !important; }
#menu-main-menu { margin-top: 4px !important; }
}

/*--- tablet ---*/
@media only screen and (max-width: 959px) {

.home .callbacks-container { display: none; }
.prev_link { margin-left: 2%; left: 0px; }
.next_link { margin-right: 2%; right: 0px; }
#pdf-format, #all-format { margin-right: 4px !important; }
#word-format { margin-right: 0px !important; }
#insert .gdlr-social-share a img { width: 15px !important; height: 15px !important; }
}

@media (min-width: 768px) and (max-width: 959px) {

html #menu-item-106 { display: block !important; }
.content-intro { max-width: 568px !important; padding-left: 20px !important; padding-right: 20px !important; }
.wp-video { max-width: 608px !important;margin-left: -20px; margin-top: -36px; }
.wp-video #mep_0 { max-width: 608px !important;   height: 342px !important; }
#how-to-use { margin-right: -55px !important; }
.touch .sub-menu > li > .sub-menu { width: 21.8em !important; }
.touch #access ul ul a:link, .touch #access ul ul a:visited { width: 10em !important; }
.touch .sub-menu > li > .sub-menu > li > .sub-menu { width: 22em !important; }
.touch .sub-menu > li > .sub-menu > li > .sub-menu > li { width: 10em !important; }
.touch #access .sub-menu > li > .sub-menu > li > .sub-menu > li a:link, .touch #access .sub-menu > li > .sub-menu > li > .sub-menu > li a:visited { width: 10em !important; }
#primary iframe { max-width: 500px; }
#content #letter-sidebar { width: 100%; }
.single-dg_glossary #content #insert, .single-dg_species #content #insert { float: left; width: 100%; }
.single-dg_glossary #content #insert .entry-content, .single-dg_species #content #insert .entry-content { margin-left: 40px !important; }
.single-dg_glossary #content #insert h1, .single-dg_species #content #insert h1 { margin-left: 30px !important; }

.single-dg_glossary #content *, .single-dg_species #content * { max-width: 100% !important; }
}

/*--- mobile landscape style ---*/
@media only screen and (max-width: 767px) {
	.home .callbacks-container { display: none !important; }
	#mep_0 { display: none !important; }
	html #inner-wrap { max-width: 100% !important; }
	a#a_711, a#a_1114, a#a_1418, a#advanced { width: 23.5% !important; }
	#filter-links, #selector-links, #return-links { width: 100% !important; float: none !important; clear:both; overflow: hidden;  }
	 #selector-links { margin-bottom: 20px !important; }
	#tz-container .tz-item { width: 100% !important; }
	#selector-links div b { margin-top: 10px !important; }
	.tz-item table tr td { display: block !important; min-width: 88% !important; }
	.tz-item table tr th { display: none !important; }
	tr td.rsrc-type p { line-height: 18px !important; }
	tr td.rsrc-title a p { line-height: 28px !important; }
	#access { max-height: 0px; transition: all 200ms ease-in-out; }
	#access.visible { max-height: 100%; }
	
	
}

@media only screen and (min-width: 470px) and (max-width: 500px) {
html .entry-content, #insert img { max-width: 100% !important; }
html #primary #content .articular .entry-content { margin-right: 20px !important; }
}

/*--- mobile portrait style ---*/
@media only screen and (max-width: 419px) {
	
	td.rsrc-title .button:before { height: 30px !important; width: 30px !important; }
	tr td.rsrc-title a p { font-size: 14px !important; padding-left: 45px !important; }
	a#a_711, a#a_1114, a#a_1418, a#advanced { width: 100% !important; margin-bottom: 8px;}
	#resource-selector span { font-size: 14px !important; line-height: 10px !important; } 
	.entry-content p a span { font-size: 14px !important; }
	tr td.rsrc-title a p, tr td.rsrc-type p { line-height: 18px !important; }
	.page-id-53658 .ack-area-cont { width: 100% !important; }
	#logo-main-tz { background-size: 280px !important; width: 280px !important; margin-left: -154px !important; }
	.quote_box { max-width: 320px !important; }
	.quote_box > div { max-width: 230px !important; }
	
}
div#mep_0 {
    width: 100% !important;
}
.wp-video {
   
    width: 100% !important;
}
