/*
 CSS for Sierra Birds Flashcards Webapp 

 1. Basic sitewide & Nav styles
 2. Detail View Styles
 3. List View Styles
 4. Settings View Styles
*/

@import url('http://fonts.googleapis.com/css?family=Open+Sans:300,400');
@import url('http://fonts.googleapis.com/css?family=Bitter');

*, html {
    margin: 0;
    padding: 0;
}


html, body {
    background-color: #eee;
    /*background-color: rgba(200, 200, 200, 0.7);*/
    font-family: "Bitter", "Open Sans", Helvetica, Arial, sans-serif;
    font-weight: 300;
    margin: 0 auto;
    padding: 0;
    min-width: 300px;
    width: 100%;
    height: 100vh;
}

a {
   text-decoration: none;
   color: #aabbcc;
}


.appNav {
    margin: 0px auto;
    margin-top: 30px;
    width: 100%;
    max-width: 480px;
}

.tabList {
    list-style-type: none;
    display: flex;
    justify-content: space-around;
}

.appNav ul li {
    /*display: inline-block;*/
    text-align: left;
    cursor: hand;
    cursor: pointer;
}


.arrows{

    margin: 0px auto;
    margin-top: 10px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 480px;
    display: flex;
    justify-content: space-between;
}

.arrow{
    display: flex;
    justify-content: center;
    line-height: 50px;
    height: 50px;
    font-size: 1.4em;
    color: #444;
    background-color: #b2d3eb;
    width: 50%;
    /*border-spacing: 1%;*/
    box-shadow: #444 0px 2px 2px;
    cursor: hand;
    cursor: pointer;
    transition: all 0.1s ease-out;
    -moz-transition: all 0.1s ease-out;
    -webkit-transition: all 0.1s ease-out;

}

.arrow:focus, .arrow:hover,.arrow:active{
    background-color: #207bbb;
    color: #fff;
    font-size: 1.5em;
}


.left:before{
    content: url(../img/ui/arrow_prev_dark.png);
    margin: 0.2em 0.5em 0 -0.5em;
}

.left:focus:before, .left:hover:before, .left:active:before {
    content: url(../img/ui/arrow_prev_white.png);
    margin: 0.2em 0.5em 0 -0.5em;

}

.right{
    text-align: right;
}

.right:after{
    content: url(../img/ui/arrow_next_dark.png);
    margin: 0.2em -0.5em 0 0.5em;
}

.right:focus:after, .right:hover:after, .right:active:after {
    content: url(../img/ui/arrow_next_white.png);
    margin: 0.2em -0.5em 0 0.5em;

}

/*.appNav:after {
    content: '';
    width: 100%;
    display: inline-block;
}*/

.birdCard{

    margin: 0px auto;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%;
    max-width: 480px;
    min-height: 50vh;
    max-height: 700px;
    overflow: hidden;
    background-color: #eee;
    /*border-radius: 3px;*/
    box-shadow: #444 0px 5px 5px;

}

.cardTop {
    min-height: 100px;
    max-height: 300px;
    width: 100%;
    background-color: #444;
    top: 0px;
    overflow: hidden;
    border-radius: 3px 3px 0px 0px;
    border-bottom: 1px solid #444;
    text-align: center;
    z-index: 0;
}

.cardBottom{
    height: 350px;
    overflow: scroll;
}

.birdImg {
    position: relative;
    margin: 0px auto;
    width: 100%;
    height: auto;
    min-height: 150px;
    max-height: 300%;
    color: #ddd;
}

.imgCitation {
    position: relative;
    width: auto;
    text-align: right;
    height: 2em;
    line-height: 2em;
    font-size: 0.8em;
    color: #aabbcc;
    z-index: 20;
    margin-top: -2.2em;
    margin-bottom: 0.8em;
}

.imgCitation > span {
    padding: 0.5em;
    background-color: rgba(0, 0, 0, 0.7);
}

.birdCname {
    font-size: 1.4em;
    color: #222;
    margin: 0.3em 5px;
}

.birdSname{
    margin: 0em 5px 0.3em 5px;
    font-size: 1.0em;
    font-style: italic;
    color: #888;
}

.infoLabel {
    margin: 0.2em 5px;
    color: #0066aa;
    font-size: 0.8em;
}



.speciesCode {
    margin: 0em 5px 0.3em 5px;
    color: #666;
    font-size: 2.4em;
    font-weight: bold;
    /*text-align: center;*/
}


.freq {
    padding: 0.2em;
    margin: 0.1em 5px;
    font-size: 0.8em;
    color: #888;
}

.description {
    width: 50%;
    margin: 0px 10px;
    float: right;
    max-height: 100px;
    overflow: auto;
    background-color: #eee;
}

.descriptionText {
    margin: 0.1em 10px 0px 5px;
    color: #888;
    font-size: 0.8em;
}

.audioList {
    width: 100%;
    float: left;
    padding: 0.2em;
    margin: 10px 0px;
    max-height: 150px;
    overflow: scroll;
    font-size: 0.8em;
    background-color: rgba(0, 20, 50, 0.7);
    box-shadow: #444 0px 1px 5px;
}

.audioList h5 {
    margin: 0.2em 5px;
    color: #fff;
    font-size: 1em;

}

.audioInfoLabel {
    margin: 0 0 0.4em 5px;
    color: #ccc;
    font-size: 1em;
}

.audioItem {
    display: flex;
    justify-content: space-between;
    margin: 10px auto;
    margin-bottom: 20px;
    text-align: center;
    width: 90%;
    /*float: left;  */  
    /*border-bottom: 1px solid #ddd;*/
}
 

/*TableView Cell Styles */
.birdList {
    list-style-type: none;
}

.birdTableView {

    margin: 0px auto;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%;
    max-width: 480px;
    min-height: 50vh;
    max-height: 700px;
    overflow: auto;
    background-color: #eee;
    border-radius: 3px;
    box-shadow: #444 0px 5px 5px;

}

.birdTableCell{
    display: flex;
    height: auto;
    width: 100%;
    border-bottom: 1px solid #aaa;
    padding: 0.4em 0em;
    text-align: left;
    cursor: hand;
    cursor: pointer;
}

.cellLeft{
    width: 40%;
    height: auto;
    /*float: left;*/
    background-color: #ccc;
    margin: -0.4em 20px -0.4em 0;
    clear: right;
    text-align: center;
    overflow: hidden;
}

.birdImgThumb {
    background-color: #eee;
    width: 32%;
    height: 100%;
    top: 0;
    right: 0;
}

.cellRight{
    width: 60%;
    /*float: right;*/
    text-align: left;
    /*clear: right;*/
    margin-right: 10px;
}

.cellInfo{
    text-align: left;
}

.cellLabel {
    margin: 0.1em 0px;
    color: #0066aa;
    font-size: 0.5em;
}

.cellbirdCname {
    font-size: 1.2em;
    color: #222;
    margin: 0.1em;
}

.cellbirdSname{
    font-size: 0.8em;
    font-style: italic;
    color: #888;
}

.cellspeciesCode {
    color: #666;
    font-size: 1.2em;
    font-weight: bold;
    
}


.cellfreq {
    padding: 0.2em;
    margin: 0.1em 5px;
    font-size: 0.8em;
    color: #888;
}


/* 4. SETTINGS VIEW STYLES */

.settingsView {
    margin: 0px auto;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 65%;
    max-width: 480px;
    min-height: 50vh;
    max-height: 700px;
    overflow: hidden;
    background-color: #eee;
    border-radius: 3px;
    box-shadow: #444 0px 5px 5px;
}





.wireframe{
    width: 100%;
    margin: 0 auto;
    padding:0;
   /* background-image: url("../img/yosemite_falls.jpg");
    background-repeat: no-repeat;
    background-size: cover;*/
}

.hidden{
    display: none;
    visibility: none;
}

.wireframe nav {
    position: fixed;
    top: 150px;
    z-index: 99;
    width: 100%;
    background-color: #333;
    background-color: rgba(50, 50, 50, 0.3);
}

.wireframe nav ul{
    
    margin: 0px auto;
    text-align: center;
}

.wireframe nav ul li{
    display: inline-block;
    font-size: 1.3em;
    color: #999;
    text-align: center;
    margin: 0px;
    padding: 0.5em 0;
    width: 24.6%;
    color: #ddd;
    background-color: #333;
    background-color: rgba(40, 40, 40, 0.2);
    border-bottom: 1px solid #333;
    cursor: pointer;
    cursor: hand;
}

.wireframe nav ul li a {
    display: block;
    color: inherit;
}


.wireframe li a {
    text-decoration: none;
    color: inherit;
}

.wireframe nav ul li:hover, nav ul li:focus{
    color: #fff;
    background-color: #177BFF;
    background-color: rgba(23, 123, 255, 0.6);
    /*border: 1px solid #ccf;*/
}

.wireframe nav ul li:active {
    background-color: #398BFF;
    border-top: 2px solid #fff;
    position: relative;
    top: 1px;
} 

.wireframe section{
    background-color: #fdfdfd;
    background-color: rgba(250, 250, 250, 0.5);
    margin: 0;
    padding: 1.5em;
    top: 50%;

}

.wireframe h1{
    margin: 10px 0px;
}

.wireframe .top_header {
    width: 100%;
    height: 250px; 
    position: fixed;
    z-index: 99;
    /*margin: 20px auto;*/
    background-image: url("../img/top_header.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

.wireframe .logo{
    height: 200px;
}

.wireframe .main_section{
    background: none;
    position: relative;
    top: 245px;
    overflow-x: hidden;
    padding-bottom: 120px;
    min-height: 320px;
    height: auto;
    background-color: #fdfdfd;
    background-color: rgba(250, 250, 250, 0.9);

}

.categories {
    position: relative;
    padding: 0 1%;
    margin: 10px auto;
    display: inline-block;
    list-style-type: none;
    color: #fff;
}

.wireframe .tableView{
    /*display: block;*/
    height: auto;
    
    transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
    -webkit-transform-style: preserve-3d;
}

.wireframe .work_type{
    
    background-color: #eee;
    background-color: rgba(250, 250, 250, 0.8);
    border: 2px solid #ddd;
    margin: 2% auto;
    padding: 0.5em;
    padding-bottom: 0;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px; /* future proofing */
    -moz-box-shadow:    0px 5px 3px -4px #444;
    -webkit-box-shadow: 0px 5px 3px -4px #444;
    box-shadow:         0px 5px 3px -4px #444;
}

.wireframe .work_type:last-child{
    margin-bottom: 150px;
}

.wireframe .work_item{
    background-color: #fff;
    margin: 0.3em auto;
    width: 97%;
    /*min-height: 10em;*/
    font-weight: lighter;
    line-height: 1.3em;
    list-style: none;
    display: block;
    padding: 0.5em;
    margin-bottom: 1.2em;
    -moz-border-radius: 2px;
    -webkit-border-radius: 24px;
    border-radius: 2px; /* future proofing */
}

.wireframe .work_type h2{ 
    display: block;
    margin: -.4em;
    margin-bottom: 0.5em;
    padding: 0.6em; 
    background-color: #177BFF;
    border-bottom: 2px solid #aaa;
    color: #fff;
    text-shadow: 0px 1px 0px #333;

}


.shadow {
   -moz-box-shadow:    0px 5px 3px -3px #444;
    -webkit-box-shadow: 0px 5px 3px -3px #444;
    box-shadow:         0px 5px 3px -3px #444;
}


.wireframe .item_img {
    clear: both;
    float: left;
    max-width: 15%;
    height: auto;
    margin-right: 5%;
    margin-bottom: 2em;
   
}

.wireframe .item_title {
    display: block;
    font-size: 1.2em;
    font-weight: bold;
    color: #666;
    margin: 0 1em 0.5em 0;
}

.wireframe .description {
    display: block;
    font-size: 0.9em;
    width: 100%;
    min-height: 6em; 
}

.wireframe .description a {
    color: #177BFF;
    font-weight: bold;
}

.wireframe .expandable{
    clear: both;
    margin: 0.2em auto;
    min-height: 45px;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    cursor: hand;
}

.wireframe .expandable span{
    text-align: left;
    color: #177BFF;
    font-size: 0.8em;
    font-weight: bold;
}

.wireframe .item_screenshot {
    margin: 1% 0 0 1%;
    border: 1px solid #ddd; 
    width: 50%;
    height: auto;
    z-index: 99;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}


.wireframe .item_screenshot_lg{ 
   position: relative;
   width: 96%;
   border: 4px solid #ddd; 
   margin: 0 auto;
   z-index: 900;
   -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
   transition: all 0.3s ease;


}

.wireframe .videothumb {
    text-align: center;
    margin: 0 auto 2em;
    width: 100%;
    height: auto;
}


.wireframe #home{
    min-height: 100%;
    padding: 24px 0 120px 0; 
    /*background-image: url("../img/yosemite_falls.jpg");*/
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.wireframe .quote {
    width: 100%;
    padding: 1em; 
    background-color: #177BFF;
    background-color: rgba(23, 123, 255, 0.8);
}

.wireframe .quote h1{
    margin-right: 1em;
    font-size: 2.5em;
    color: #fff;
    text-shadow: 0px 2px 1px #333;
}

.wireframe .quote p{
    margin-right: 1em;
    font-size: 1.3em;
    color: #eee;
    text-shadow: 0px 1px 0px #333;
   
}

.wireframe footer{
    position: fixed;
    z-index: 99;
    clear: both;
    display: block;
    bottom: 0;
    width: 100%;
    background-color: #222;
    background-color: rgba(30, 30, 30, 0.9);
    color: #999;
    font-size: 0.9em;

}

.wireframe footer > ul{
    margin: 0 0 1em 0.5em;
    list-style-type: none;
}

.wireframe .footerlink {
    margin: 0.6em;
    display: inline-block;
}

.wireframe .copyright{
    float: right;
    font-size: 0.8em;
    margin: 0.6em;
}

.wireframe .bio {
    max-width: 60%;
    margin-left: 20%;
    line-height: 1.3em;
    margin-bottom: 0.7em;
    color: #333;
}

.wireframe .contact {
    max-width: 80%;
    line-height: 1.3em;
    margin-bottom: 0.7em;
    color: #333;
}

.wireframe .contact span {
    font-size: 1.1em;
    font-weight: bolder;
    line-height: 1.3em;
    margin-bottom: 0.7em;
    color: #999;
}

.wireframe .contact a span{
    color: #177BFF;
}
.wireframe .bio_photo {
    float: left;
    margin-right: 2%;
    max-width: 15%;
    min-width: 80px;
    height: auto;
    border: 3px solid #177BFF;
    border-radius: 1000px;
}
