/********************
* planetshifter.css *
********************/
/*************
* build body *
*************/
html,
body {
    margin: 0px;
    padding: 0px;
    height: 100%;
    width: 100%;
}

/**********************
* border-box niceness *
**********************/
html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

/********************
* overall font size *
********************/
html {
    font-size: 16px;
}
 
body {
    background-color: #ece6ce;
    color: #090128;
    font-family: "Droid Sans", sans-serif;
}

/****************
* html elements *
****************/
header, footer, main, div, ul, li {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

a {
    color: #090128;
}

/*********
* header *
*********/
header {
    font-family: "Droid Serif", serif;  
    margin-bottom: 1rem;
}

header a {
    text-decoration: none;
}

header div, header ul {
    text-align: center;
}    

.site_header {
    width: 23rem;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 0.5rem;
}

.site_logo {
    float: left;
}

.site_title {
    float: left;
    margin-top: 13px;
    margin-left: 6px;
}

.site_title a {
    font-size: 2rem;
    font-weight: bold;
    color: #ed1c24;
    /* opacity: 0.6; */
}    

.site_title a:hover {
    /* opacity: 1.0; */
    color: #090128;
}    

.site_header:after {
/* clearfix */
  clear: both;
  content: '';
  display: block;
}

header .logo {
    background-image: url(/pix/PlanetShifterLogo.jpg);
    width: 448px;
    height: 86px;
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
}

.header_links {
    margin-top: 0.1rem;
}

.header_links li {
    font-size: 0.75rem;
    float: none;
    margin-right: 0.45rem;
    display: inline-block;
}

.header_links li a {
    font-style:normal;
    opacity: 0.6;
}

.header_links li a:hover {
    opacity: 1.0;
}

.header_links li.normal_link {
    font-size: 0.90rem;
    float: none;
    margin-right: 0.45rem;
    display: inline-block;
}

.header_node_links li {
    margin-right: 0.8rem;
    display: inline-block;
}

.header_node_links a {
    color: #090128;
    font-size: 1.2rem;
    opacity: 0.6;
}

.header_node_links a:hover {
    opacity: 1.0;
}

.header_links .Novella {
    font-size: 1rem;
    color: blue;
    margin-top:0.3rem;
}

.header_links .Novella a {
    color: blue;
}

/*******
* menu *
*******/
.dropdown {
    position: relative;
    display: inline-block;
    list-style: none;
    font-size: 1.2rem;
    color: rgba(9,1,40,0.6);
    font-weight: bold;
}

.dropdown_content {
    display: none;
    position: absolute;
    background-color: #ece6ce;
    min-width: 460px;
    border-radius: 0.3rem;
    border-top-left-radius: 0;
    border: 1px solid black;
    padding: 12px 16px;
    text-align: left;
    z-index: 1;
    padding-left: 2rem;
    text-indent: -1rem;
}

.dropdown_content li {
    list-style: none;
}

.dropdown:hover .dropdown_content {
    display: block;
}

/*************
* search box *
*************/
.search_box {
    float: right;
    border: 1px solid #ed1c24;
    border-radius: 8px;
    padding: 1rem;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    margin-top: -0.4rem;
}

.search_box label {
    font-size: 0.8rem;
}

.search_box input {
    width: 6rem;
    width: 6.2rem;  /* responsive baseline */
    background-color: #fcf6dc;
    background-color: #fffcee;
    border: 1px solid rgba(9,1,40,0.33);
}

.search_box input:hover {
    border: 1px solid #ed1c24;
}

/***************
* archive text *
***************/
.archive_text {
    margin-left: 3rem;
    color: black;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: -1.5rem;
    padding-left: 5rem;
}

/*********
* footer *
*********/
footer {
    font-family: "Droid Serif", serif;  
    font-size: 0.9rem;
    margin-top: 1rem;
    text-align: center;
}

/**************
* dozen boxes *
**************/
.dozen {
    /*
    width: 160px;
    min-height: 160px;
    background-color: white;
    */
    margin-bottom: 1rem;
}

.dozen img {
    width: 160px;
}

/**********
* margins *
**********/
header, footer, main {
    width: 894px;
    margin-left: auto;
    margin-right: auto;
}

header {
    margin-top: 0.5rem;
}

footer {
    margin-bottom: 1rem;
}
/*
header, footer, main {
    margin-left: 1rem;
    margin-right: 1rem;
    width: calc(100% - 2rem);
}
*/

/**********
* columns *
**********/
#triple_top_wrapper {
    width: 100%;
    overflow: hidden;
    display: flex;
}

#left_column {
    order: 0;
    flex: 1;
    margin-right: 2rem;
    margin-right: 1rem;
    text-align: right;
    background-color: #fcf6dc;
    background-color: #fffcee;
}

#center_column {
    order: 1;
    flex-basis: 514px;
    flex-basis: 548px; /* responsive baseline */
    flex-grow: 0;
    flex-shrink: 0;
    width: 514px;
    width: 548px; /* responsive baseline */
    overflow: hidden;
    border: 1px solid rgba(237,28,36,0.5); /* from: #ed1c24; */
    border-radius: 8px;
    padding: 1rem;
    padding-bottom: 0.5rem;
    background-color: #fcf6dc;
    background-color: #fffcee;
}

#center_column img {
    border: 5px solid #ed1c24;
    border-radius: 8px;
}

#right_column {
    order: 2;
    flex: 1;
    margin-left: 2rem;
    margin-left: 1rem;
    text-align: left;
    background-color: #fcf6dc;
    background-color: #fffcee;
}

#left_column, #right_column {
    padding: 1rem;
    /* width: calc(50% - 250px - 2rem); */
    font-size: 1.1rem;
    font-family: "Droid Serif", serif;  
    font-weight: bold;
    border: 1px solid rgba(9,1,40,0.3);
    border-radius: 8px;
    /* background-color: #e8e7ce; */
}

#left_column a, #right_column a {
    opacity: 0.6;
    text-decoration: none;
    color: #ed1c24;
    color: #090128;
}

#left_column a:hover, #right_column a:hover {
    opacity: 1.0;
}

#centerspace {
    margin-left: auto;
    margin-right: auto;
}

.centerspace_caption {
    text-align: right;
    font-weight: bold;
    font-size: 1.25rem;
    font-family: "Droid Serif", serif;  
}

.centerspace_caption a {
    opacity: 0.6;
    text-decoration: none;
    color: #ed1c24;
}

.centerspace_caption a:hover {
    color: #090128;
}
main:after, #triple_top_wrapper:after, header:after {
/* clearfix */
  clear: both;
  content: '';
  display: block;
}

/**********************
* audio advertisments *
**********************/
#audio_wrapper {
    border-radius: 8px;
    border: 1px solid #ed1c24;
    padding: 1rem;
    margin-top: 1rem;
    background-color: #fcf6dc;
    background-color: #fffcee;
}

#audio_wrapper img {
    width: 200px;
}

#audio_wrapper .audio_title {
    width: 150px;
}

#audio_wrapper .node_right_column .audio_title {
    float: left;
}
#audio_wrapper .node_left_column .audio_title {
    float: right;
}
#audio_wrapper .node_right_column .audio_image {
    float: right;
}
#audio_wrapper .node_left_column .audio_image {
    float: left;
}

#audio_wrapper .node_teaser {
    margin-bottom: 0;
}

#audio_wrapper .node_image_link {
    margin: 0;
}

#audio_wrapper a {
    font-weight: normal;
}

.audio_title_text {
    font-size: 0.9rem;
}

/********
* nodes *
********/
#teaser_wrapper {
    border-radius: 8px;
    border: 1px solid #ed1c24;
    padding: 1rem;
    margin-top: 1rem;
    background-color: #fcf6dc;
    background-color: #fffcee;
}

.recent_posts {
    font-family: "Droid Serif", serif;  
    font-weight: bold;
    text-align: center;
    font-size: 1.25rem;
    color: #ed1c24;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.node_teaser {
    margin-bottom: 1rem;
    margin-right: 1rem;
}

.node_left_column, .node_right_column {
    width: calc(50% - 2rem);
    width: 47%;
    float: left;
    font-size: 1rem;
}

.node_right_column {
    float: right;
}

.paired_nodes:after {
    content: '';
    display: block;
    clear: both;
}

.node_right_column:after {
    content: '';
    display: block;
    clear: both;
}

.read_more {
    font-style: italic;
}

.node_image_link {
     float: left;
     margin-right: 1rem;
     margin-top: 1rem;
     margin-bottom: 0.5rem;
}

.found {
    font-weight: bold;
    color: #ed1c24;

}

.node_teaser a {
    opacity: 0.8;
}

.node_teaser a:hover {
    opacity: 1.0;
}

.node_teaser .node_image_link a {
    opacity: 0.8;
}

.node_title {
    font-family: "Droid Serif", serif;  
    font-weight: bold;
    font-size: 1.33rem;
    color: #ed1c24;
    color: #090128;
    margin-bottom: 1rem;
}

.node_body {
    margin-top: 1rem;
}

.node_submitted_by {
    font-size: 0.9rem;
    margin-bottom: 0.125rem;
}

.node_taxonomy {
    margin-bottom: 0.5rem;
}

.node_edit {
    margin-bottom: 0.5rem;
}

.node_image img {
    border: 5px solid #ed1c24;
    border-radius: 8px;
}

.taxonomy_list li {
    float: left;
    margin-right: 1rem;
}
.taxonomy_list:after {
    content: '';
    display: block;
    clear: both;
}

/*******************
* link decorations *
*******************/
header a {
    font-weight: bold;
}

.dozen_caption_only {
    font-weight: bold;
}

#audio_wrapper a {
    font-weight: bold;
}

.paired_nodes a {
    font-weight: bold;
}

.paired_nodes a.read_more {
    font-weight: normal;
}

/*************
* pagination *
*************/
.pagination {
    text-align: center;
    margin-bottom: 1rem;
}

.pagination a {
    text-decoration: none;
    border: 1px solid #0db058;
    padding-left: 3px;
    padding-right: 4px;
    padding-top: 2px;
    padding-right: 2px;
    margin-right: 3px;
    background-color: #ffef45;
}

.pagination a:hover {
    background-color: rgba(255,0,0,.5);
}

.pagination .active {
    margin-right: 5px;
}

/************************
* mobile considerations *
************************/
@media (max-width: 900px) {
    header, footer, main {
        width: 800px;
    }
    .search_box {
        margin-top: 0;
    }
    .header_node_links a {
        font-size: 1rem;
    }
    #left_column, #right_column {
        display: none;
    }
    #center_column {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }
    #center_column img {
        max-width:100%;
        max-height:100%;
    }
    #triple_top_wrapper {
        display: block;
    }
    #audio_wrapper {
        display: none;
    }

}

/*401px to 800px */
@media (max-width: 800px) {
    html {
        font-size: 15px;
    }
    header, footer, main {
        width: 97%;
    }
    .node_image img {
        max-width:100%;
        max-height:100%;
    }
    /*
    .node_right_column, .node_left_column {
        float: none;
        width: 97%;
    }
    */
    .node_teaser {
        margin-right: 0;
    }
}

/*below 400px */
@media (max-width: 400px) {
    html {
        font-size: 12px;
    }
    .site_title a {
        font-size: 1.7rem;
    }
    .header_links {
        /* display: none; */
    }
    .search_box {
        margin-top: 1rem;
    }
}

