/*
    Standard CSS form for MMI site

    (c) 2010-2020 Molecular Materials Informatics

    All rights reserved
*/

/* main page */

body
{
    margin-right: 0px;
    margin-left: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 0;
    color: #000000;
    font-family: sans-serif;
    background: linear-gradient(to right, #003000, #001000);
    background-color: #002000;
    font-family: "Open Sans",sans-serif;
}

a:link
{
    color: #408040;
}
a:visited
{
    color: #408040;
}
a:active
{
	color: #80C080;
}

/* body-table, which encompasses the whole document */

div.hexTiles
{
    width: 100%;
    /*height: 100%;*/
    margin: 0;
    background-image: url(bgtile.png);
    background-repeat: repeat;
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.3),
       only screen and (   min--moz-device-pixel-ratio: 1.3),
       only screen and (     -o-min-device-pixel-ratio: 2.6/2), /* returns 1.3, see Dev.Opera */
       only screen and (        min-device-pixel-ratio: 1.3),
       only screen and (min-resolution: 124.8dpi),
       only screen and (min-resolution: 1.3dppx) 
{
    div.hexTiles 
    {
        background-image: url(bgtile@2x.png);
        background-size: 594px 381px;
    }
}

div.singleScreen
{
	width: 100%;
    height: 100%;
    margin: 0;
}

div.vertParent
{
	/*position: relative;
	height: 100%;
	text-align: center;*/
	height: 100%;
	display: flex;
	justify-content: center;
  	align-items: center;
}
div.vertChild
{
	max-width: 80%;
	/*position: absolute;
	top: 50%;
	transform: translateY(-50%);
	max-width: 80%;*/
}

div.bodygrid
{
    display: grid;
    min-height: 100%;
    max-width: 100%;
    grid-template-areas:
        "h h h"
        "l c r"
        "f f f";
    grid-template-columns: minmax(50px,1fr) minmax(500px,10fr) minmax(50px,1fr);
    /*grid-template-rows: 200px 1fr fit_content(3em);*/
    /*grid-template-columns: 50px 1fr 50px;*/
    grid-template-rows: calc(100px + 1em) 1fr 3em;
}

/*div.segment_header
{
    grid-row-start: h; grid-row-end: h;
    grid-column-start: h; grid-column-end: h;
}*/
div.segment-content
{
    grid-row-start: c; grid-row-end: c;
    grid-column-start: c; grid-column-end: c;
}
div.segment-footer
{
    grid-row-start: f; grid-row-end: f;
    grid-column-start: f; grid-column-end: f;
}
/*div.segment_left
{
    grid-row-start: l; grid-row-end: l;
    grid-column-start: l; grid-column-end: l;
}
div.segment_right
{
    grid-row-start: r; grid-row-end: r;
    grid-column-start: r; grid-column-end: r;
}*/

div.banner
{
    position: fixed;
    width: 100%;
    height: 100px;
    background-color: black;
    color: white;
}

table.bannertable
{
    width: 100%;
    height: 100%;
    margin-left: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 0;
    border-width: 0;
	border-spacing: 0;
	border-collapse: collapse;
}
td.bannertitle
{
    /*text-align: center;*/
    vertical-align: middle;
    padding-left: 2em;
    font-size: 2em;
    font-weight: bold;
    color: #FFFFFF;
    -webkit-text-fill-color: black;
    -webkit-text-stroke: 1px white;
	text-shadow: 3px 3px 5px #24D0D0;

    /*text-shadow:
       3px 3px 0 #004000,
     -1px -1px 0 #004000,  
      1px -1px 0 #004000,
      -1px 1px 0 #004000,
       1px 1px 0 #004000;*/
    font-family: "Helvetica Neue",Tahoma,Geneva,sans-serif;
    text-transform: uppercase;
}

div.buttons
{
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
}
div.btnpage
{
    flex: 1 1 auto;
    height: 35px;
    margin: 0;
    padding: 0;
    border: none;
    background-image: url(connector.png); 
    background-repeat: repeat-x;
}

/* bubbles */

div.bubble
{
	display: inline-block;
	padding: 1em;
	text-align: center;
	background-color: white;
	border: 1px solid black;
	border-radius: 5px;
	box-shadow: 3px 3px 5px #24D0D0;
	text-align: left;
}

h1.bubble
{
	font-size: 1.2em;
	font-weight: bold;
	font-family: "Helvetica Neue",Tahoma,Geneva,sans-serif;
	text-decoration: underline;
	text-decoration-color: #008650;
}

/* page sections */

div.content
{
    background-color: white;
    border: none;
    border-bottom: 1px solid black;
    margin: 0 0 1em 0;
    padding: 1em;
}

div.footer
{
    margin: 0;
    padding: 0.2em 1em 0.2em 1em;
    background-color: black;
    color: white;
}

div.footflex
{
    padding: 0.5em 1em 0.5em 1em;
    display: flex;
    flex-direction: row;
    align-items: center;
	text-align: right;
	font-size: 0.8em;
	color: #FFFFFF;
    font-family: Tahoma, Geneva, sans-serif;
}
div.footsub
{
    flex: 0 0 auto;
    padding-right: 1em;
}
div.footmain
{
    flex: 1 1 auto;
}

/*td.sideLeft
{
    min-width: 2em;
}

td.sideRight
{
    min-width: 2em;
}*/

/* bodytable segment: for displaying the whole left hand side */



.hoverlink
{
    cursor: pointer
}
.hoverlink:hover
{
    text-decoration: underline;
}

/* bodytable segment: where all the interesting content goes */

td.main
{
    vertical-align: top;
    width: 100%;
    padding: 1em;
	border-width: 0;
	margin: 0;
	background: #FFFFFF;
}

/* bodytable segments: small fade out/in sections */

td.fade
{
	border-width: 0;
	margin: 0;
	padding: 0;
}

/* cell style for the synopsis */

td.synopsis
{
    border-width: 1px;
    border-left-color: #6090A0;
    border-top-color: #B0C8D0;
    border-bottom-color: #B0C8D0;
    border-style: solid;
    border-right-width: 0;
    background: #F0F8FF;
    padding-left: 2em;
    padding-right: 2em;
    padding-top: 1em;
    padding-bottom: 1em;
}

p.last_mod
{
    font-style: italic;
}

/* style for codeblocks */

td.codeblock
{
    border-width: 1px;
    border-color: #6090A0;
    border-style: solid;
    background: #E0E8FF;
    padding-left: 1em;
    padding-right: 1em;
    padding-top: 1em;
    padding-bottom: 1em;
}

/* style for noteblocks */

table.noteblock
{
	border-width: 0;
	margin-left: 2em;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0;
	padding: 0;
}

td.noteblock
{
    border: 1px solid #C0E0C0;
    border-radius: 1em;
    background: #E0FFE0;
    padding-left: 1em;
    padding-right: 1em;
    padding-top: 1em;
    padding-bottom: 1em;
}

/* paragraph style for the "seealso" feature */

p.seealso
{
    padding-left: 2em;
}


/* a nice looking thin divider */

hr.thin
{
    border: 0;
    width: 100%;
    color: #6090A0;
    background-color: #6090A0;
    height: 1px;
    margin-top: 0;
    margin-bottom: 0;
}

/* tight line controls, which skip the extra padding */

td.tight
{
	border-width: 0;
	margin: 0;
	padding: 0;
}


p.tight
{
    margin-top: 0;
    margin-bottom: 0;
}

h1.tight
{
    margin-top: 0;
    margin-bottom: 0;
	font-family: "Helvetica Neue",Tahoma,Geneva,sans-serif;
}

h2.tight
{
    margin-top: 0;
    margin-bottom: 0;
	font-family: "Helvetica Neue",Tahoma,Geneva,sans-serif;
}

h3.tight
{
    margin-top: 0;
    margin-bottom: 0;
	font-family: "Helvetica Neue",Tahoma,Geneva,sans-serif;
}

h4.tight
{
    margin-top: 0;
    margin-bottom: 0;
	font-family: "Helvetica Neue",Tahoma,Geneva,sans-serif;
}

h5.tight
{
    margin-top: 0;
    margin-bottom: 0;
	font-family: "Helvetica Neue",Tahoma,Geneva,sans-serif;
}

h6.tight
{
    margin-top: 0;
    margin-bottom: 0;
	font-family: "Helvetica Neue",Tahoma,Geneva,sans-serif;
}

/* for use with table left/right column delimiting */

td.sep_left
{
	margin: 0;
	border-width: 0;
	vertical-align: top;
	padding-right: 1em;
}

td.sep_right
{
	margin: 0;
	vertical-align: top;
	padding-left: 1em;
	border-top-width: 0;
	border-bottom-width: 0;
	border-right-width: 0;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #6090A0;
}

/* table for displaying generic data */

table.data
{
    border-style: solid;
    border-color: #6090A0;
    border-width: 1px;
    border-collapse: collapse;
    background-color: #F0F8FF;
}

th.data
{
    border-style: solid;
    border-color: #6090A0;
    border-width: 1px;
    border-collapse: collapse;
    padding: 0.25em;
    text-align: center;
    vertical-align: middle;
}

td.data
{
    text-align: center;
    border-style: solid;
    border-color: #6090A0;
    border-width: 1px;
    border-collapse: collapse;
    padding: 0.25em;
    text-align: left;
    vertical-align: top;
}

td.data_c
{
    text-align: center;
    border-style: solid;
    border-color: #6090A0;
    border-width: 1px;
    border-collapse: collapse;
    padding: 0.25em;
    text-align: center;
    vertical-align: top;
}

/* anchored 'zoom icon' temporary decoration */

img.zoomicon
{
    border: 0;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 2;
    visibility: hidden;
}


