@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,600,700);
html {
	height:100%;
}
body {
	font-family: 'Open Sans', Helvetica, sans-serif;
	font-size:1em;
    color:#666666;
    font-weight: 300;
	height:100%;
	margin:0 0 40px 0;
    overflow:hidden;
}
body.scroll {
    overflow:auto;
}

/* elements */
h1 {
    font-size: 4em;
    text-transform:lowercase;
    margin: 0.2em 0 0.6em 0;
    font-weight:300;
}
h2 {
    text-transform:uppercase;
    font-size: 2em;
    margin:0;
    font-weight:300;
}

h3 {
    font-weight: 400;
    font-size: 1.5em;
    margin:1.5em 0 0 0;
    font-weight:300;
}
h3 a {
    height: 14px;
}
a {
    color:#6DC058;
    text-decoration:none;
}
a:hover{
    text-decoration:underline;
}
input, textarea {
    font-size:1em;
    color:#666666;
}
input:focus, select:focus, textarea:focus {
    background-color: white;
}
input[type="submit"], input[type="button"], #submit_contact {
    color: #666;
    text-shadow: 0 1px 0 #fff;
    border-radius: 4px;
    border: 1px solid #c8c8c8;
    background-color: #f5f5f5;
}
input[type="submit"]:hover, input[type="button"]:hover, #submit_contact:hover {
    background-color: #eeeeee;
    box-shadow: none;
}
input[type="text"], input[type="password"], textarea{
    border-radius: 2px;
    border: 1px solid #c8c8c8;
    transition: box-shadow 0.3s;
}
input[type="text"]:focus, input[type="password"]:focus{
    background-color: white;
}
.keyword-green {
    color: #6DC058;
}
.keyword-blue {
    color: #447387;
}
.underline{
    border-bottom:1px solid #ccc;
}

#mc-email:focus{
    outline:none;
    background-color:white;
}
#mc-form{
    height:48px;
    width:70%;
    margin:0 auto;
    min-width:500px;
}
#header-wrap {
    background-color:#eee;
    height:40px;
    position:fixed;
    left:0;
    top:0;
    width:100%;
    z-index:1000;
    border-bottom: 1px solid #ccc;
    display: none;
}
#header {
	font-size:13px;
    font-weight:300;
	height:40px;
	line-height:20px;
	min-width:760px;
        max-width: 90%;
	margin: 0 auto;
        padding: 0 2px;
        box-sizing:border-box;
        -moz-box-sizing:border-box;
        -webkit-box-sizing:border-box;
}
#header_user {
	background-color:#EEE;
	font-size:13px;
	height:20px;
	line-height:20px;
	width:100%;
    min-width:760px;
	margin-left: 12px;
}
#header a, #header a:active, #header a:visited, #welcome {
	color:#666;
	font-weight:400;
	line-height:25px;
	text-decoration:none;
}
#header a:hover{
	text-decoration:none;
}
.login-form{
    position:relative;
    top:8px;
    display:inline;
}
.login-form #error-label{
    color:red;
    margin-left: 5px;
    display: inline-block;
    border-radius: 5px;
    background-color: #FFFFE0;
}
.menu{
    width:7em;
    height:30px;
    background: url('../img/sprite-test.png') no-repeat -11px -485px;
    position:relative;
    z-index:4;
}
.user-icon{
    float:left;
    width:30px;
    height:30px;
    background: url('../img/sprite-test.png') no-repeat -5px -3px;
    position:relative;
    top:3px;
}
.username-display{
    text-transform:uppercase;
    font-weight:400;
    line-height:30px;
}

/* dropdown -> markup from http://csswizardry.com/ */
#nav-links{
    list-style:none;
    font-weight:bold;
    margin-top:0;
    float:left;
    width:100%;
    margin-right: -38px;
}
#nav-links li{
    float:left;
    margin-right:10px;
    position:relative;
}
#nav-links a{
    display:block;
    padding:5px;
    color:#666;
    background:#f1f0f0;
}
#nav-links a:hover{
    background:#f1f0f0;
}
#nav-links ul{
    background:#fff;
    background:rgba(255,255,255,0);
    list-style:none;
    position:absolute;
    padding-left:0;
    left:-9999px;
}
#nav-links ul li{
    float:none;
    width:100%;
}
#nav-links li ul{
    width:100%;
}
.ul-triangle{
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 8px 9px 8px;
    border-color: transparent transparent #666 transparent;
    position:relative;
    top:-8px;
    right:10px;
    float:right;
    }
#nav-links li:hover ul a{
    background:#666;
    color:#f1f0f0;
}
#nav-links ul a{
    white-space:nowrap; 
    text-align:right;
    padding: 0.5em 1em;
}
#nav-links li:hover ul{ 
    left:0; 
}
#nav-links li:hover a{ 
    position:relative;
}
#nav-links li:hover ul li a:hover{
    background:#2f79a2;
}
/*end dropdown*/

#search-header {
	background:transparent url("../img/mag-glass-loading.gif") no-repeat left top / auto 100%;
    cursor:pointer;
    height:40px;
    margin-left:-36px;
    width:36px;
    vertical-align:top;
    border:0;
    position: relative;
    left: -11px;
    top: 5px;
    z-index: 0;
}
#viewing-species {
	margin-left: 10px;
	margin-top:-3px;
	display: inline-block;
	width: 161px;
	height: 20px;
	background: #f6f6f6;
	line-height: 15px;
	border:1px solid #CCC;
	border-radius:3px;
	-moz-box-shadow:2px 2px 4px #DDD;
	-webkit-box-shadow:2px 2px 4px #DDD;
	box-shadow:2px 2px 4px #DDD;
	padding: 5px;
}
.clickable-button-dark{
    color: #666;
    text-shadow: 0 1px 0 #fff;
    border-radius: 4px;
    border: 1px solid #c8c8c8;
    background-color: #f5f5f5;
    -webkit-box-shadow: inset 0 -2px 3px -2px rgba(0,0,0,0.3),
            inset 0 2px 3px -2px rgba(255,255,255,0.5);
    box-shadow: inset 0 -2px 3px -2px rgba(0,0,0,0.3),
            inset 0 2px 3px -2px rgba(255,255,255,0.5);
}
.clickable-button-dark:hover{
    background-color: #eeeeee;
    box-shadow: none;
}
.clickable-button-dark:active{
    background: #e9e9e9;
    -webkit-box-shadow: inset 0 2px 3px -2px rgba(0,0,0,0.3),
            inset 0 -2px 3px -2px rgba(255,255,255,0.5);
    box-shadow: inset 0 2px 3px -2px rgba(0,0,0,0.3),
            inset 0 -2px 3px -2px rgba(255,255,255,0.5);
}
#contact_us input, #contact_us textarea, #contact_us button {
    padding: 10px;
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 10px;
    font-size: 16px;
}

#contact_us button {
    cursor: pointer;
}

.spinner {
    background: url('../img/ajax-loader.gif') no-repeat!important;
    background-position:50% 50%, center!important;
    color:transparent!important;
}

.loginbutton {
    height: 24px;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    background-size: contain;
    border-bottom-color: rgb(179, 179, 179);
    border-radius: 2px;
    border: 1px solid #c8c8c8;
    cursor:pointer;
	text-decoration:none;
    background-color: #f3f3f3;
}

.loginbutton:hover{
    background-color: #ebebeb;
    background-image: none;
}

.loginbutton:active {
    background: #e6e6e6;
    box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.3) inset;
    -moz-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.3) inset;
    -webkit-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.3) inset;
}

#small-logo {
	float:left;
    background: url('../img/sprite-test.png') no-repeat -23px -635px;
    width: 151px;
    height: 23px;
    position:relative;
    top:9px;
    left:-40px;
}
.languages a {
    display:block;
}
.languages div.new-flags {
    width:20px;
    margin-right:7px;
    height: 20px;
    vertical-align:middle;
    display:inline;
    float:left;
}
#more-languages div.new-flags {
    width: 20px;
    height: 20px;
    margin-left:7px;
    vertical-align:middle;
    display:inline;
    float:left;
}
#flag-English{
    background: url('../img/sprite-test.png') no-repeat -146px -193px;
    width: 21px;
    height: 19px;
}
#flag-Français{
    background: url('../img/sprite-test.png') no-repeat -66px -227px;
    width: 20px;
    height: 19px;
}
#flag-中文{
    background: url('../img/sprite-test.png') no-repeat -364px -227px;
    width: 21px;
    height: 19px;
}
#flag-Español{
    background: url('../img/sprite-test.png') no-repeat -250px -193px;
    width: 21px;
    height: 19px;
}
#flag-हिन्दी{
    background: url('../img/sprite-test.png') no-repeat -109px -226px;
    width: 21px;
    height: 20px;
}
#flag-العربية{
    background: url('../img/sprite-test.png') no-repeat -66px -193px;
    width: 21px;
    height: 19px;
}
#flag-বাংলা{
    background: url('../img/sprite-test.png') no-repeat -109px -193px;
    width: 21px;
    height: 20px;
}
#flag-Português{
    background: url('../img/sprite-test.png') no-repeat -288px -226px;
    width: 21px;
    height: 20px;
}
#flag-Русский{
    background: url('../img/sprite-test.png') no-repeat -327px -226px;
    width: 21px;
    height: 20px;
}
#flag-日本語{
    background: url('../img/sprite-test.png') no-repeat -180px -227px;
    width: 21px;
    height: 19px;
}
#flag-Deutsch{
    background: url('../img/sprite-test.png') no-repeat -180px -192px;
    width: 21px;
    height: 20px;
}
#flag-한국어{
    background: url('../img/sprite-test.png') no-repeat -216px -226px;
    width: 20px;
    height: 20px;
}
#flag-Türkçe{
    background: url('../img/sprite-test.png') no-repeat -365px -192px;
    width: 21px;
    height: 19px;
}
#flag-Italiano{
    background: url('../img/sprite-test.png') no-repeat -145px -226px;
    width: 21px;
    height: 20px;
}
#flag-فارسی{
    background: url('../img/sprite-test.png') no-repeat -288px -192px;
    width: 21px;
    height: 20px;
}
#flag-Română{
    background: url('../img/sprite-test.png') no-repeat -327px -192px;
    width: 21px;
    height: 20px;
}
#flag-Македонски{
    background: url('../img/sprite-test.png') no-repeat -249px -226px;
    width: 21px;
    height: 20px;
}
#digest-again {
	margin-top: -2px;
	float:left;
	margin-left:30px;
	width:20%;
	height: 23px;
	font-size: 16px;
}
#species-wrap {
	float:left;
	font-weight:bold;
	margin-left:20px;
	padding-top:2px;
}
#species-name {
	font-weight:normal;
}
#links {
	float:right;
	height:40px;
}
#content {
	margin:0px auto;
	max-width: 90%;
    min-width: 1000px;
	padding:36px 10px 100px 10px;
    overflow: auto;
    box-sizing: border-box;
}
#content.preview{
    width:100%;
    min-width:1000px;
    overflow:hidden;
    padding:36px 0;
    max-width:100%;
}
#container > div {
    width: 940px;
    padding: 45px 10px 0px 10px;
}
#footer {
    position: fixed;
    bottom: 0;
    left: 0;
    background-color:#EEE;
    color:gray;
    clear:both;
    font-size:0.8em;
    overflow:hidden;
    text-decoration:none;
    text-align:center;
    width: 100%;
    padding: 5px 0;
    -webkit-box-shadow: 0 -1px 2px 0px rgb(228, 228, 228);
    box-shadow: 0 -1px 2px 0px rgb(228, 228, 228);
    border-top: 1px solid #fff;
    z-index: 5;
}
#footer p {
	margin:0;
	padding:0;
    display: inline;
}
#footer a {
	color:gray;
	text-decoration:none;
}
#footer a:hover {
	text-decoration:underline;
}
#footer b{
    font-weight: 600;
}

/* Language Windows */

#facebox {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
    max-width:99%;
	text-align: left;
}
#facebox .popup{
	position:relative;
	border:3px solid rgba(0,0,0,0);
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;
	-webkit-box-shadow:0 0 18px rgba(0,0,0,0.4);
	-moz-box-shadow:0 0 18px rgba(0,0,0,0.4);
	box-shadow:0 0 18px rgba(0,0,0,0.4);
}
#facebox .content {
	display:table;
    padding: 20px;
	background: #fff;
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	border-radius:4px;
}
#facebox .content a{
	color:gray;
	text-decoration:none;
    max-width: 130px;
    margin: auto;
}
#facebox .content a:hover {
	color:black;
	text-decoration:none;
}
#facebox .content > p:first-child{
	margin-top:0;
}
#facebox .content > p:last-child{
	margin-bottom:0;
}
#facebox .content h2 {
    text-align:center;
    font-size: 16px;
    margin: -15px 15px 10px 8px;
}
#facebox .close{
	position:absolute;
	top:5px;
	right:5px;
	padding:2px;
	background:#fff;
}
#facebox .close img{
	opacity:0.3;
}
#facebox .close:hover img{
	opacity:1.0;
}

#facebox .loading {
	text-align: center;
}

#facebox .image {
	text-align: center;
}
#facebox img {
	border: 0;
	margin: 0;
}
#facebox_overlay {
	position: fixed;
	top: 0px;
	left: 0px;
	height:100%;
	width:100%;
}
.facebox_hide {
	z-index:-100;
}
.facebox_overlayBG {
	background-color: #000;
	z-index: 99;
}

/* Error Messages */
.generic-error {
    background-color: #f6d9d9;
}
.error-msg {
    color: #FB2500;
}
.error, .warning, .success, .info {
    border: 1px dashed #000;
    padding: 1em 1.5em 1em 5.5em;
    color: #444;
    min-width: 760px;
    margin: 0 auto;
    max-width: 940px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
.error {
    background: #ffedee url('../img/error@2x.png') 20px center no-repeat;
    background-size: 50px;
    border-color: #e0011b;
}
.error a  {
    color: #d12f19
}
.warning {
    background: #fff6bf url('../img/warning@2x.png') 2.2em center no-repeat;
    background-size: 50px;
    border-color: #ffd324
}
.warning a {
    color: #817134
}
.success {
    background: #e9ffdd url('../img/success@2x.png') 2.2em center no-repeat;
    background-size: 50px;
    border-color: #72c868
}
.success a {
    color: #529214}

.info   {
    background: #e2ecee url('../img/info@2x.png') 2.2em center no-repeat;
    background-size: 50px;
    border-color: #9ddae
}
.info a {
    color: #2d7ba2
}

/* Registration */
#register #extra {
	display: none;
}
#register #names {
	width:182px;
}
#register input[type="text"], #register input[type="password"] {
	padding: 10px;
	width: 300px;
    margin-top: 7px;
    margin-bottom: 7px;
    border: 1px solid #c8c8c8;
}
#register select, #register #submit {
    margin-top: 7px;
    margin-bottom: 7px;
}
#register input[type="checkbox"]{
    height:1em;
    margin-top:1.5em;
    margin-bottom:1.5em;

}
.empty {
    color: gray;
}
#other1show, #other2show, #other3show {
	display:none;
}
#openid{
	clear:none;
    height:300px;
	width:auto;
}
#register input[type="button"] {
    cursor:pointer;
	clear:both;
    font-size:1.125em;
	padding:8px 10px 8px;
	text-decoration:none;
}
#about-page p, #privacy-page p, #terms-page p {
    font-size: 1.2em;
    font-weight:300;
    color:#666666;
    margin-top:0.4em;
    margin-bottom:2.5em;
    line-height:1.5em;
}
#about-logo {
    float: right;
    height: 250px;
    width: 250px;
    margin: 50px 50px 10px 30px;
    background-image: url("/img/big-logo.png");
    background-repeat: no-repeat;
}
#contact-page p {
    font-size: 20px;
}
.form-control {
    display: block;
    width: 40%;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.428571429;
    color: #555;
    vertical-align: middle;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

#contact-logo {
    float: right;
    height: 250px;
    width: 250px;
    margin: 50px 0 10px 10px;
    background-image: url("/img/big-logo.png");
    background-repeat: no-repeat;
}
#contactus input[type="text"]{
    border:1px solid #E1E1E1;
	padding: 14px;
	width: 364px;
	font-size: 18px;
}
#contactus textarea{
    border:1px solid #E1E1E1;
	padding: 14px;
	width: 364px;
	font-size: 18px;
}
#contactus input[type="submit"] {
    cursor:pointer;
	clear:both;
    font-size:1.125em;
	padding:8px 10px 8px;
	text-decoration:none;
}
/* preview landing page */
.grey-bg{
    width:100%;
    background-color:#666666;
    float:left;
    padding-left:10px;
}
.grey-bg h1{
    color:#ffffff;
    font-weight:300;
}
h1.useraccounts{
    margin-right:20px;
    font-weight:300;
}
@media screen and (max-width : 88em) {
    h1.useraccounts {
        font-size: 2.8em;
    }
    p.useraccounts {
        font-size: 1.3em;
    }
    .grey-bg h1{
    font-size:2em;
    line-height:2em;
    }
}
@media screen and (min-width : 88em) and (max-width: 105em) {
    h1.useraccounts {
        font-size: 3.8em;
    }   
    p.useraccounts {
        font-size: 1.8em;
    }
    .grey-bg h1{
    font-size:2.4em;
    line-height:2.4em;
    }
}
@media screen and (min-width : 105em) {
    h1.useraccounts {
        font-size: 4.2em;
    }   
    p.useraccounts {
        font-size: 2.2em;
    }
    .grey-bg h1{
    font-size:2.8em;
    line-height:2.8em;
    }
}
.sub-text{
    width:80%;
    background-color:#eee;
    float:left;
    color:#666;
    font-size:1.2em;
    font-weight:300;
    padding-left:5%;
}
.blue-bg{
    height:8px;
    width:100%;
    background-color:#447387;
    float:left;
}
.lightgrey-bg{
    width:80%;
    background-color:#eeeeee;
    float:right;
    margin:70px 0 80px 0;
}
.sub-text-triangle{
    float:left;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 35px 0 35px 60.6px;
    border-color: transparent transparent transparent #eeeeee;
}
.triangle-left{
    margin:70px 0 80px 0;
    float:right;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 122.5px 100px 122.5px 0;
    border-color: transparent #eeeeee transparent transparent;
}
#footer a.facebook {
    background: url('../img/facebook-off.png') no-repeat;
    padding-left: 18px;
}
#footer a.facebook:hover {
    background: url('../img/facebook-on.png') no-repeat;
    padding-left: 18px;
}
/*HOW TO PAGE*/
#howtogifs{
    width:100%;
    float:left;
}
#howtogifs img{
    width:600px;
    margin:0 auto;
    display:block;
    margin-bottom:4em;
    border:0.1em;
    border-color:#ccc;
    border-style:dashed;
}
#howtogifs h2.tut-label{
    text-transform:lowercase;
    margin:1em auto 0.1 auto;
    font-size:3em;
    padding-left:0.5em;
}
