body {
    font-size: 18px;
    font-family:  'Gentium Basic', 'Cormorant Garamond', Arial,"Helvetica Neue", Helvetica, serif;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
    padding: 0;
    color: black;
    background-color: white;
}

/* jqueryui font size base */
.ui-widget, .ui-dialog {
    font-size:.8rem !important;
}

#top_menu_bar a.btn {
    color: antiquewhite;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;

}

#top_menu_bar a.btn:hover {
    text-decoration: underline;
    color:white
}

span.vote_btn, span.report_btn {
    cursor: pointer;
}

.ui-dialog textarea {
    width: 100%;
    height: 100px;
}


#page_header {
    width: calc(100% - 40px); /* padding being 20px, so 2x*/
    background-color: blue;
    color: white;
    font-size: 0.8rem;
    padding: 0px;
    margin: 0px;
    padding: 20px;
}

#page_header * {
    margin-left: 8px;
}
#page_header a {
    color: white;
}

.draft_rendered_story  {
    position: fixed;
    right: 10px;
    top: 10px;
    width: 400px;
    height: 400px;
    overflow-y: scroll;
    background-color: white;
    font-size: .9rem;
}

.container {
    display:flex;
    flex-wrap:wrap;
    flex-direction:row;
    justify-content:flex-start;
    align-items:stretch;
}

#left {
    order:1;
    background-color: white;
    flex-basis:100%;
}
#middle {
    order:2;
    background-color: white;
    flex-basis:100%;
}
#right {
    order:3;
    background-color: white;
    flex-basis:100%;
}

/* Recommendations when they appear on the right col*/
#right #editorial_selections {

    font-size: 1rem;
}

#editorial_selections .one_story {
    /* background-color: #ff000061; */
    max-width: 250px;
    margin: 10px;
    padding-left: 5px;
    border-radius: 4px;
}

#right #editorial_selections h2 {
    font-size: .9rem;
    padding: 3px 0;
    margin: 1px 0;
    color: #8f90b9;
}
#right #editorial_selections h3 {
    font-size: .75rem;
    padding: 1px 0px;
    margin: 1px 0px;
    font-weight: 300;
}
#right a {
    font-size: .75rem;
    padding: 1px 0px;
    margin: 1px 0px;
    font-weight: 300;
    text-decoration:wavy
}

.inline * {
    display: inline;
    float: left;
    width: initial;
    padding: 0px 3px;
    margin-right: 3px;
    vertical-align: middle;
    line-height: 22px;
    font-size: .8rem;
    height: 21px;
}
input[type="submit"] {
    width: initial;
}

.user_img {
    width: 200px;   /* This ignore flex basis and needs fixing */
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Whitespace for poetry (and possibly others later) */
.cat_8 p {
    white-space: pre;
}


@media screen and (min-width:600px) {
   .container {
       flex-wrap:nowrap;
   }

    #left {
        flex-basis:400px;
        order:1;
        height:100%;
        padding-left: 4px;
    }
    #middle {
        flex-basis:800px;
        order:2;
    }
    #right {
        flex-basis:400px;
        order:3;
    }
}







/* */



#footer p {
    padding: 0px;
    margin: 3px;
}

#footer {
    position:fixed;
    bottom:0;
    left:0;
    width: 100%;
    background-color: blue;
    color: white;
    font-size: 0.8rem;
}

input {
    font-size: .7rem;
}

#ta_story {
    display: block;
    max-width: 400px;
    min-width: 300px;
    min-height: 200px;
    max-height: 400px;
}
.help {
    font-size: .7rem;
}

/* Default link styling */
a:link { color:#0271fb; }
a:visited { color:#bd02fb; }
a:hover, a:focus { color:#000; }
a:active { color:#fb0e02; }

.hidden {
    display: none;
}

.info {
    font-size: .8rem;
    position: absolute;
    /* top: -143px; */
    display: block;
    background-color: white;
    border: 1px solid ;
    border-radius:3px;
    padding: 3px;
    font-size: .7rem;
    left: 20px;
    margin: 3px;
    max-width: 235px;
}


p.instruction {
    font-size: .8rem;
    color: lightsteelblue;
}

form#form_sign_up {
    position: absolute;
    background-color: white;
    display: block;
    max-width: 400px;
    margin: 5px;
    padding: 5px;
    border: 1px solid black;
    border-radius: 5px;
}

form label, form input, .label {
    display: block;
    width: 300px;
    color: blueviolet;
    font-size: .8rem;

}

.ctrls_row button {
    margin-right: 2px;
}

.gridTable {
    border: 1px solid #B0CBEF;
    border-width: 1px 0px 0px 1px;
    font-size: 11pt;
    font-family: Calibri;
    font-weight: 100;
    border-spacing: 0px;
    border-collapse: collapse;
}

.gridTable TH {
    background-image: url(grid-header-bg.gif);
    background-repeat: repeat-x;
    font-weight: normal;
    font-size: 14px;
    border: 1px solid #9EB6CE;
    border-width: 0px 1px 1px 0px;
    height: 17px;
}

.gridTable TD {
    border: 0px;
    background-color: white;
    padding: 0px 4px 0px 2px;
    border: 1px solid #D0D7E5;
    border-width: 0px 1px 1px 0px;
}

.gridTable TD B {
    border: 0px;
    background-color: white;
    font-weight: bold;
}

.gridTable TH {
    background-color: #E4ECF7;
    text-align: center;
    border: 1px solid #9EB6CE;
    border-width: 0px 1px 1px 0px;
}

.gridTable TH.zero {
    background-image: url(grid-2007-header-left.gif);
    background-repeat: none;
}

tr.selected td {
    background-color: burlywood;
}

p.small {
    font-size: .8rem;
    margin: 0px;
}
