@import url(//fonts.googleapis.com/css?family=Poiret+One:400);
@import url(//fonts.googleapis.com/css?family=Raleway:300,400);
@import url(//fonts.googleapis.com/css?family=Martel:200);

@import 'browse-by-date.css';
@import 'admin-style.css';

@media screen {

html, body {
    font-family: 'Martel', 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
}

body {
    font-size: 1.5rem;
}

p, h1, h2 {
    margin-bottom: 2rem;
}

h1, h2, h3, h4, h5, h6 {
    /* font-family: 'Poiret One', Helvetica, sans; */
    font-family: 'Raleway', Helvetica, sans;
    font-weight: normal;
}

header#masthead {
    background: #333;
    color: white;

    position: relative; /* act as container for absolute positioning of children */

    height: 350px;
    background-color: black;
    background-image: url('img/banners/EXACT urn-3_HUAM_51384_dynmc.jpg');
    /* background-image: url('img/banners/EXACT 2015.07.16 Sankhu 134 Bajrayogini Temple Buddha.jpg'); */
    background-repeat: no-repeat;
}

div.site-description {
    text-align: right;
    position: absolute;
    bottom: 0px;
    right: 15px;
}

#masthead h1 {
    /* font-family: 'Poiret One', Helvetica, sans; */
    font-weight: 300;
    font-size: 8rem;
    text-shadow: 0px 0px 5px black;
    position: absolute;
    top: 0;
    margin-top: 5px;
    width: 4em;
    line-height: 1em;
}

#masthead h1 a {
    color: white;
}

div.site-description h4 {
    display: inline-block;
    text-shadow: 0px 0px 5px black;
    font-size: 3rem;
    color: white;
}

header.entry-header {
    border: none;
    margin: 0;
}

header h2.entry-title {
    margin: 0;
    padding-left: 2em;
    font-style: italic;
    font-size: 130%;
}

.article-summary-display h4 {
    display: inline;
    margin: 0;
}

.article-summary-display .article-title-translation {
    margin: 0;
    margin-left: 1em;
}

.article-summary-display p {
    margin-left: 1em;
}

body a,
body a:hover,
body a:visited,
body a:focus
{
    text-decoration: none;
    outline: none;
}

a.btn-info, a:visited.btn-info, a:focus.btn-info, a:hover.btn-info { color: white; }
a.btn-success, a:visited.btn-success, a:focus.btn-success, a:hover.btn-success { color: white; }
a.btn-warning, a:visited.btn-warning, a:focus.btn-warning, a:hover.btn-warning { color: white; }
a.btn-primary, a:visited.btn-primary, a:focus.btn-primary, a:hover.btn-primary { color: white; }
a.btn-danger, a:visited.btn-danger, a:focus.btn-danger, a:hover.btn-danger { color: white; }

.type-article table { table-layout: fixed; width: 100%; }
.type-article table th { width: 20%; }
.type-article table td a { word-wrap: break-word; }

.site-footer {
    margin-top: 2em;
    padding: 1em 1em 0 1em;
    text-align: right;
    vertical-align: bottom;
    color: #777;
}

.straplinelink {
    padding-left: 0.33em;
    display: inline-block;
    position: relative;
    bottom: 0.15em;
}

/* .twitter-typeahead { */
/*     width: 100%; */
/* } */

/* .tt-menu { */
/*     min-width: 220px; */
/*     margin-top: 2px; */
/*     padding: 0.5em 1em; */
/*     background-color: #ffffff; */
/*     border: 1px solid #cccccc; */
/*     border: 1px solid rgba(0, 0, 0, 0.15); */
/*     border-radius: 4px; */
/*     -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); */
/*     box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); */
/*     background-clip: padding-box; */
/* } */

/* .tt-selectable { */
/*     cursor: pointer; */
/* } */

/* .tt-selectable.tt-cursor { */
/*     background-color: #0097cf; */
/*     color: #fff; */
/* } */

/* .tt-selectable:hover { */
/*     background-color: #e7e7e7; */
/*     color: #333; */
/* } */

.site-stats {
    font-size: 1.2rem;
    padding: 1.2em;
    display: inline-block;
}

.sidebar {
    font-family: 'Raleway', Helvetica, sans;
    font-size: 2.0rem;
    border-right: solid #036c70 1px;
    padding-right: 20px;
}

/*---------------------------------------------------------------------------*/
/* Nav */

.navbar-ccn {
    border: none;
    border-radius: 0;
    background: #036c70;
}

.navbar-ccn *,
.navbar-ccn a, .navbar-ccn a:visited, .navbar-ccn a:focus, .navbar-ccn a:hover
{
    color: white;
}

.navbar-ccn .navbar-toggle { background: #999; }
.navbar-ccn .navbar-toggle span { background: #fff; }

.nav-sidebar > .active > a {
    /* text-decoration: underline; */
}

.nav > li > a,
.nav > li > a:visited,
.nav > li > a:focus,
.nav > li > a:hover {
    background: inherit;
    display: inline-block;
}

.nav .open > a, .nav .open > a:focus, .nav .open > a:hover {
    background: inherit;
}

.dropdown-menu > li > a, .dropdown-menu > li > a:visited
{
    color: #333;
}

.dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover
{
    background: inherit;
}

/*---------------------------------------------------------------------------*/
/* Pagination */

.pagination {
    padding: 1em 0;
    width: 100%;
    text-align: center;
    background: #036c70;
    border-radius: 0;
}

.pagination a,
.pagination a:visited,
.pagination a:hover,
.pagination a:focus
{
    padding: 0 1em;
    color: white;
}

/*---------------------------------------------------------------------------*/
/* Search */

.search-form {
    display: inline-block;
}

.search-form .input-group {
    padding: 10px 7px;
}

.sidebar .search-form input { width: 100%; }
.search-form input {
    border: solid #ddd 1px;
    border-radius: 0;
    padding: 0 8px;
}

/*---------------------------------------------------------------------------*/
/* Wordpress classes */

.wp-post-image,
img.aligncenter,
img.alignleft,
img.alignright,
.wp-caption img
{
    /* border: solid black 1px; */
}

.wp-caption {
    font-size: 85%;
    font-style: italic;
    padding-bottom: 0.2em;
    margin-bottom: 0.5em;
    border-bottom: solid black 1px;
}

p.wp-caption-text {
    margin: 0;
    margin-top: 0.3em;
}

img.alignright, img.alignleft { margin-top: 0.3em; margin-bottom: 0.3em; }

.alignright { margin-left: /*imggap*/1em; }
.alignleft { margin-right: /*imggap*/1em; }

.alignright { float: right; }
.alignleft { float: left; }

.aligncenter,
.wp-caption img
{
    display: block;
    margin: 0.3em auto;
}

.wp-caption.aligncenter {
    margin-bottom: 1.2em;
}

/*---------------------------------------------------------------------------*/
/* Google search result style overrides */

.gs-no-results-result .gs-snippet,
.gs-error-result .gs-snippet {
  border: none !important;
  background-color: inherit !important;
}

/*---------------------------------------------------------------------------*/
/* Colours */

a, a:visited, a:focus, a:hover { color: #a04004; }

h1, h2, h3, h4, h5, h6 { color: #036c70; }

/*---------------------------------------------------------------------------*/
/* Overrides for smaller screens */

@media (max-width: 1199px) {
    #masthead {
        display: flex;
        flex-direction: column;
    }
    #masthead h1 {
        position: relative;
        flex-grow: 1;
    }
    div.site-description {
        position: initial;
    }
    div.site-description h4 {
        margin-top: 0;
    }
}

@media (max-width: 991px) {
    .sidebar {
        border: none;
    }
}

@media (min-width: 768px) {
    .navbar .navbar-nav {
        display: inline-block;
        float: none;
        vertical-align: top;
    }
    .navbar .navbar-collapse {
        text-align: right;
    }
}

@media (min-width: 1200px) {
}
@media (min-width: 992px) and (max-width: 1199px) {
    /* #masthead h1 { */
    /*     bottom: 2rem; */
    /* } */
}
@media (min-width: 768px) and (max-width: 991px) {
}
@media (max-width: 767px) {
}

@media (max-width: 511px) {
    #masthead h1 {
        font-size: 7rem;
    }
}

}
