/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body{
    background: #F4F4F3;
}

a:hover{
    color: #C8E6C9;
    text-decoration: none;
}

h2{
    padding: 0;
    margin: 0;
}

.top ul{
    margin:0;
}

#banner {
    background: #4CAF50;
}

#banner-title {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 2em;
    color: #fff;
    padding: 20px 15px;
}

#banner-nav{
    color: #fff;
}

.nav-icon{
    color: #fff;
    display:inline;
    font-size: 50px;
    text-align: center;
}

.nav-icon:hover{
    color: #C8E6C9;
    cursor: pointer;
}

.nav-text{
    color: #fff;
    display:inline;
    margin-top: 13px;
    font-size: 23px;
    letter-spacing: -1px;
    line-height: 100%;
    vertical-align: bottom;
    text-align: center;
}

.nav-text:hover{
    color: #C8E6C9;
    cursor: pointer;
}

.suggest{
    color: #23527C;
}
.suggest:hover{
    color: #4CAF50;
}

.popover-content{
    padding: 0;
}

.popover-custom{
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 1.3em;
    color: #4CAF50;
    background:#fff;
    padding:10px;
    border-radius: 5px;
    opacity: 1;
    transition: all .10s ease-in-out;
    -moz-transition: all .10s ease-in-out;
    -webkit-transition: all .10s ease-in-out;
}

.popover-custom:hover{
    color: #fff;
    background:#4CAF50;
}

.popover-title{
    background-color:#A5D6A7;
}

.hover-bar{
    z-index: 2;
    position: absolute;
    top: 420px;
    width: 100%;
    text-align: center;
}

.rectangle {
    background: #4CAF50;
    width: 400px;
    height: 100px;
    margin-left:auto;
    margin-right:auto;
}

#logo{
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 5em;
    color: #fff;
}

#landing-image{
    background: url("../img/volcano.jpg");
    background-size: 100%;
    z-index: 1;
    width: 100%;
    height: 0;
    padding-bottom: 30%;
}

#landing-header{
    z-index: 1;
    padding-top: 75px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 3em;
    color: #424242;
    text-align:center;
}

#landing-info{
    z-index: 1;
    padding-top: 20px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 1.3em;
    color: #424242;
    text-align:center;
}

#search-header{
    padding-top:20px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 2em;
    color: #424242;
}

.form-group{
    width:100%;
}

#search-form{
    padding: 20px 0;
}

#search-query{
    border-radius: 5px 0 0 5px;
}

#search-button{
    padding: 6px;
    border-radius: 0 0 0 0;
}

#adv-search-button{
    background-color: #cccccc;
    padding: 6px 14px;
    border-radius: 0 5px 5px 0;
}

.title.col-md-12{
    padding:0;
}

.title.col-md-6{
    padding:0 0 5px;
}

.endorse{
    padding:0;
    text-align:right;
}

#checked-button{
    background: #A5D6A7;
}

#advance-form{
    background:#A5D6A7;
    border-radius: 5px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 1em;
}

.filter-dropdown{
    padding: 20px;
}

.select2 {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.toggle{
    text-align: center;
    background: #A5D6A7;
    position:absolute;
    bottom:0;
    width: 100%;
    cursor: pointer;
}

.toggle-button{
    padding:5px;
}

.repo-bottom{
    display:none;
    padding-bottom: 10px;
}

#results-view{
    padding-top:20px;
}

.adv-search{
    position:relative;
    background:#FFF;
    border-radius: 5px;
    border: solid;
    border-color: #A5D6A7;
    font-family: 'Lato', sans-serif;
    padding: 0;
    margin-bottom:10px;
}

.repo-result{
    position:relative;
    background:#FFF;
    border-radius: 5px;
    border: solid;
    border-color: #A5D6A7;
    font-family: 'Lato', sans-serif;
    padding: 0;
    margin-bottom:10px;
}

.repo-content{
    padding: 5px;
}

.repo-result a{
    color: #4CAF50;
}

.repo-result a:hover{
    text-decoration: underline;
}

#filter-button-area{
    padding:0 20px 10px 20px;
    display:inline-block;
}

.full-button table td{
    border: solid;
    border-color: #4CAF50;
    padding: 5px;
    float:left;
}

.full-button{
    display:inline-block;
    padding: 5px;
}

.filter-button{
    background: #E8F5E9;
    border-radius:5px 0 0 5px;
    border-right:0;
}

.x-button{
    border-radius: 0 5px 5px 0;
}

.x-button:hover{
    background:#4CAF50;
    cursor: pointer;
}

#sub-title{
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 2em;
    padding: 20px 0;
}

#form-note{
    font-style: italic;
    color:red;
    padding: 0 0 10px;
}

.form-field-box #tax-scroll{
    background: #fff;
    height: 400px;
    overflow:scroll;
    border: 1px inset;
}

.form-field-box #tax-scroll input{
    width: auto;
}

.form-field-box #tax-scroll label {
    display: inline-block;
    padding-left: 15px;
    text-indent: -15px;
    font-weight: normal;
}

.form-field-box #tax-scroll .row:hover{
    background: #A5D6A7;
}

.form-field-box #tax-scroll .arrow-toggle{
    width:auto;
    display:inline;
}

.form-field-box #tax-scroll .fa-chevron-up{
    color: #4CAF50;
}

.form-field-box #data-scroll{
    background: #fff;
    height: 200px;
    overflow:scroll;
    border: 1px inset;
}

.form-field-box #data-scroll input{
    width: auto;
}

.form-field-box #data-scroll label {
    display: inline-block;
    padding-left: 15px;
    text-indent: -15px;
    font-weight: normal;
}

.form-field-box #data-scroll .row:hover{
    background: #A5D6A7;
}

.form-field-box input{
    width: 100%;
}

.form-description{
    color:#777;
}

.form-block{
    padding: 10px 0;
}

#data-input-form{
    width: 90%;
    display:inline-block;
}

#data-input-button{
    display: inline-block;
    padding-left:5px;
    color: #4CAF50;
}

#data-input-button:hover{
    color: #333;
}

#submission-form{
    font-family: 'Lato', sans-serif;
    padding-bottom: 20px;
}

#id_accepted_taxonomy{
    width: 100%;
}

#login-form-wrapper{
    width: 100%;
    padding: 100px;
}

#login-form{
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 1.3em;
    margin-left:auto;
    margin-right: auto;
    background: #fff;
    width: 30%;
    text-align: center;
    border: solid #A5D6A7 5px;
    border-radius: 5px;
    padding: 20px;
}

#login-form img{
    width:100%;
}

.login-form-content{
    padding-top: 20px;
}

#submit-button{
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 15px;
}

#invalid-message{
    padding-bottom: 20px;
    color: red;
}

#success-message{
    padding-bottom: 20px;
    text-align: left;
}

#manage-wrapper{
    padding: 0 50px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 1.3em;
}

#manage-wrapper h3 a{
    color: #4CAF50;
}

#manage-wrapper h3 a:hover{
    text-decoration: underline;
}

#repo-table{
    margin-left:auto;
    margin-right:auto;
}

#repo-table th{
    color:black;
    background: #A5D6A7;
}

#repo-table table{
    width: 100%;
    background: white;
}

#repo-table tr{
    width: 100%;
}

#repo-table td{
    width: 100%;
}

#repo-table a{
    color: #4CAF50;
}

#repo-table a:hover{
    text-decoration: underline;
}

#repo-table .add-icon{
    text-align: center;
}

#button-add{
    float: right;
    margin-bottom: 10px;
}

#dropdown-button-action{
    text-align:right;
}

#button-apply{
    color:#4CAF50;
}

#show-more-btn{
    background-color: #A5D6A7;
    text-align: center;
}

.approve-button{
    margin-top: 5px;
}

#trash-button{
    line-height: 45px;
}

#trash-button:hover{
    cursor: pointer;
    color: #4CAF50;
}

.footer {
    position: relative;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 50px;
    z-index: 1;
    text-align: center;
}

.footer a{
    color: #4CAF50;
}

.footer a:hover{
    text-decoration: underline;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

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

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
