/*
 Theme Name:   Flat Bootstrap Child
 Theme URI:    http://xtremelysocial.com/wordpress/child/
 Description:  Flat Bootstrap Child Theme
 Author:       XtremelySocial
 Author URI:   http://xtremelysocial.com
 Template:     flat-bootstrap
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
*/



/* Global
----------------------------------------------------------------*/

body {
    -webkit-font-smoothing:antialiased;
    background-color:#F2F2F2;
    font-family: Roboto,Helvetica,"Helvetica Neue",Arial,sans-serif;
    font-size: 16px;
}

@media (min-width: 992px) {
    body, .dropdown-menu {
        font-size: 14px;
    }
}

body {
    background-color: transparent;
}

blockquote {
    border-color: #ccc;
    font-size: 16px;
}

#page, .navbar, .after-footer {
    max-width: none;
}

a {
    color: #006600;
}

a:hover, a:focus {
    color: #4c9900;
}

input[type=submit] {
    background-color: #cccccc;
    border-color: #cccccc;
    color: #006600;
}

input[type=submit]:hover, input[type=submit]:focus,
button[type=submit]:hover, button[type=submit]:focus {
    background-color: #006600;
    border-color: #006600;
    color: #cccccc;
}

@media print {
    a[href]:after {
        content: "" !important;
    }
    
    .site-logo img {
        background-color: #4c9900 !important;
    }
}

/* Navigation
----------------------------------------------------------------*/
.dropdown-menu {
    background-color: #f2f2f2;
}

.facebook-link {
    border-radius: 50%;
    color: #fff;
    display: inline-block;
    height: 35px;
    text-align: center;
    width: 35px;
    background-color: #507CBE;
}

.facebook-icon {
    color: #fff;
}

/* Site branding
----------------------------------------------------------------*/
.site-branding {
    background-color: #4c9900;
}

.site-logo {
  float: left;
  padding: 30px 15px 15px 0;
}

.site-logo img {
    width: 50px;
    height: 50px;
    margin-bottom: -5px;
}

@media (min-width: 600px) {
    .site-logo {
        padding-right: 25px;
    }
    
    .site-logo img {
        width: 80px;
        height: 80px;
        margin-bottom: 0;
    }
}

.site-title a, .site-description {
    color: #fff;
}

.site-title {
    font-size: 60px;
    font-weight: 300;
    margin-bottom: 0;
}

.site-description {
    margin-top: 0;
}

/* Content header
----------------------------------------------------------------*/

.content-header {
    min-height: 0 !important;
    padding: inherit;
    background-color: inherit;
}

.content-header h1 {
    color: #555;
}

/* Entry header
-----------------------------------------------------------------*/
article:first-child header h1 {
    margin-top: 0;
}

/* Entry content
-----------------------------------------------------------------*/
.entry-content h2:first-child {
    margin-top: 0;
}

.wp-caption.aligncenter {
    text-align: justify;
}

.wp-caption-text {
    padding-top: 16px;
    font-size: 14px;
    line-height: 20px;
}

table {
    font-size: 90%;
}

table td {
    vertical-align: top;
}

.avh-info .glyphicon-question-sign {
    color: #4c9900;
}

.entry-content th {
    line-height: normal;
}

.col1 {
    width: 10%;
}

.col4 {
    width: 18%;
}

.group:after {
    content: "";
    display: table;
    clear: both;
}

/*nav#subpage-navigation {
  display: none;
}*/

/* Sidebar
-----------------------------------------------------------------*/
/*#secondary .widget-title:first-child {
    margin-top: 0;
}*/

#secondary aside.toc_widget h2,
#secondary aside.widget_recent_entries h2 {
    margin-top: 0;
}

#secondary #search-3 {
    margin-bottom: 32px;
}

.search-submit.btn-primary {
    background-color: #cccccc;
    border-color: #cccccc;
    color: #006600;
}

.search-submit.btn-primary:hover, .search-submit.btn-primary:focus {
    background-color: #006600;
    border-color: #006600;
    color: #cccccc;
}

/* TOC
-----------------------------------------------------------------*/
#secondary .toc_widget_list ul {
    padding-left: 20px;
}

#secondary .toc_widget_list li {
    margin-top: 0;
}

.toc_widget_list>li {
    list-style-type: disc;
    margin-left: 25px;
}

.toc_widget_list>li>a {
    font-weight: 400;
}

.toc_widget_list>li>ul>li {
    list-style-type: circle;
}

#secondary .toc_widget_list>li>ul>li>ul {
    padding-left: 10px;
}

/* Posts in sidebar
-----------------------------------------------------------------*/
.pis-ul {
    padding-left: 0;
}

.pis-li {
    min-height: 130px;
    list-style-type: none;
}

.pis-li::after {
    display: block;
    clear: both;
    content: "";
    padding-bottom: 11px;
    border-bottom: solid 1px #ddd;
}

.pis-li:last-child::after {
    border-bottom: none;
}

a.pis-thumbnail-link {
    display: inline-block;
    float: left;
    padding-top: 8px;
    margin-bottom: -2px;
}

p.pis-excerpt {
  margin-bottom: 0;
}


/* Footer
-----------------------------------------------------------------*/
footer.site-footer {
    border-top: solid 1px #eee;
}

.sidebar-footer {
    background-color: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
}

.sidebar-footer .textwidget a {
    color: #000;
}


@media (min-width: 768px) {
    .contact-us {
        text-align: right;
    }
    
    .contact-us .textwidget a {
        display: inline-block;
        margin-top: 45px;
    }
}

.sidebar-footer aside.widget {
    margin-bottom: 0;
}

/* Home page
----------------------------------------------------------------*/
#blurb {
    margin-top: 25px;
/*    width: 90%;
    margin-left: auto;
    margin-right: auto;*/
}

#blurb p {
    font-size: 16px;
}

#carousel-avh-home {
    margin-top: 20px;
    background-color: #fff;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-bottom: 35px;
}

#carousel-avh-home .carousel-control {
    width: 0;
    color: #666;
}

#carousel-avh-home .carousel-caption {
    background-color: #666;
}

.avh-search-form {
    margin-top: 20px;
}

.avh-search-form button.btn.btn-default {
    background-color: #cccccc;
    color: #006600;
}

.avh-search-form button.btn.btn-default:hover {
    background-color: #006600;
    color: #cccccc;
}

/*.avh-search-form {
    padding: 10px 20px 10px 20px;
    background-color: #eeeeee;
    border: solid 1px #cccccc;
    margin-bottom: 35px;
}

.avh-search-form .avh-input-group::before {
    display: block;
    content: 'Search';
    margin-bottom: 5px;
    font-size: 110%;
    font-weight: 400;
    color: #999;
}*/

.carousel-indicators li {
    border-color: #4c9900;
    background-color: #fff;
}

.carousel-indicators .active {
    background-color: #4c9900;
}

.carousel-inner>.item>img, .carousel-inner>.item>a>img {
    width: 90%
}

.carousel-caption {
    left: 6%;
    right: 6%;
}

/* Responsiveness
-----------------------------------------------------------*/
#primary {
    padding-bottom: 0;
}

#secondary {
    padding-top: 0;
}

#carousel-avh-home {
    display: none;
}

@media (min-width: 600px) {
    #carousel-avh-home {
        display: block;
    }
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
    #primary {
        padding-bottom: 35px;
    }
    
    #secondary {
        padding-top: 35px;
    }
    
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
    /*.avh-search-form {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }*/
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 
}

.partners-title {
    margin-bottom: 11px;
}

.simpleimage {
    height: 80px;
}

.simpleimage a {
    display: inline-block;
}

/* Sortable table
----------------------------------------------------------------*/
.sorting {
    padding-right: 20px;
    background: url('images/datatables/sort_both.png') no-repeat center right;
}

.sorting-asc {
    padding-right: 20px;
    background: url('images/datatables/sort_asc.png') no-repeat center right;
}

.sorting-desc {
  padding-right: 20px;
  background: url('images/datatables/sort_desc.png') no-repeat center right;
}

/* Participating herbaria
-----------------------------------------------------------------*/
body.home #partners {
    background-color: #f2f2f2;
    border-bottom: solid 1px #ddd;
    border-top: solid 1px #ddd;
}
.avh-partner {
    margin-top: 11px;
    margin-bottom: 11px;
    min-height: 80px;
}

/* Eight column layout
------------------------------------------------------------------*/

.col-xs-eight,
.col-sm-eight,
.col-md-eight,
.col-lg-eight {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}

.col-xs-eight {
    width: 12.5%;
    float: left;
}
@media (min-width: 768px) {
.col-sm-eight {
        width: 12.5%;
        float: left;
    }
}
@media (min-width: 992px) {
    .col-md-eight {
        width: 12.5%;
        float: left;
    }
}
@media (min-width: 1200px) {
    .col-lg-eight {
        width: 12.5%;
        float: left;
    }
}

/* Break depending on screen width
-----------------------------------------------------------------*/
br.br-lg {
    display: none;
}

@media (min-width: 1200px) {
    br.br-lg {
        display: inline;
    }
}

/* Overwrite negative margin for right nav bar in bootstrap.css */
@media (min-width: 768px) {
    .navbar-nav.navbar-right:last-child {
      margin-right: 0;
    }
}