/******************************************************************************
 * This is the CSS file for Güralp manuals
 ******************************************************************************/

/* vim: ai:ts=4:sw=4:expandtab:nospell:
*/


/******************************************************************************
 * These were inherited from all-netscape-protected-2015.css
 ******************************************************************************/

body, table, td, tr, a, div,ul {
    font-family: "Arial", sans-serif;
    color: #444444;
}

h1, h2 {
    color: #006EB7;
}

p {
    margin: 20px 0px;
}

/******************************************************************************
 * ... and some of them can certainly be deleted
 ******************************************************************************/

/* Usually a good idea! */
*,
*:before,
*:after {
    box-sizing: border-box;
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
}


a {
    /* support.css uses color: #22b8f0; */
    color: #332875;
    text-decoration: none;
    position: relative;
    transition: color .5s; /* mouse out timing */
    white-space: nowrap;
}

a:hover {
    color: #009b89;
    transition: color .4s ease-in-out; /* mouse over timing */
}


div#doctitle {
    width: 100%;
    font-family: "Arial", sans-serif;
    color: #009BA9;
    font-size: 3em;
    border-top: solid 4px #009BA9;
    padding-top: 1em;
    margin-top: 1em;
}

tt,
.tt {
    font-family: "Courier New", Monospace;
}

.Teletype {
    font-family: monospace; font-size: 120%;
}

.u {
    text-decoration: underline;
}

.i {
    font-style: italic;
}

.b {
    font-weight: bold;
}

.group:after {
    content: "";
    display: table;
    clear: both;
}

.Terminal, .terminal {
    /* margin-left: 2.5em; */
    margin: 0 0 0 2.5em;
    font-family: Monaco,Menlo,Consolas,"Courier New",monospace;
}

span.Terminal, span.terminal {
    font-family: Monaco,Menlo,Consolas,"Courier New",monospace;
    font-size: 13px;
    background-color: #f5f5f5;
    margin-left: 0;
}

li pre.terminal {
    margin-left: 0;
}

.Formula {
    font-family: "Liberation Serif", Monospace;
    font-style: italic;
}


.math {
    font-family: "XITS", "Baskerville", "Times New Roman", serif;
    font-style: italic;
    font-size: 1.3em;
}

.mnu {
    font-weight: bold;
    font-family: "Segoe UI", "Ubuntu", "Consolas", sans-serif;
}

table {
    border-collapse: collapse;
}

table.layout {
    border: 0px;
    margin: 0px;
    padding: 0px;
}

table img { /* images in tables need a little space around them */
    margin: 5px;
}


td p:first-child {
    margin-top: 0;
}

td p:last-child {
    margin-bottom: 0;
}

ul[list-style-type="decimal"] li {
    margin-top: 2em;
}

ol.procedure > li {
        margin-bottom: 1em;
}

h1, h2, h3, h4, h5, h6 {
    clear: both;
}

h1 {
    border-top: 3px solid #82BC00;
    padding-top: 0.6em;
	border-bottom: none;
    color: #006EB7;
}

h2 {
    padding-top: 10px;
        border-top: 2px solid #82BC00;
    color: #006EB7;
}

h3:not(:first-child) {
    background-image: url('/img/green-wiggle.png');
    background-repeat: no-repeat;
    padding-top: 3.2em;
    background-size: 60% 1.5em;
    background-position: -2em;
}

h2 + h3 {
    background-image: none !important;
}

h3, h4, h5, h6 {
    color: #006EB7;
}

h5, h6 {
    text-decoration: underline;
}

/* permalinks to headings */
h2:hover > .plink,
h3:hover > .plink,
h4:hover > .plink,
h5:hover > .plink {
    opacity: 1;
}

a.plink {
    opacity: 0;
    padding-left: 8px;
    font-weight: 600;
    transition: opacity 180ms ease-in-out 500ms;
    text-decoration: none;
    color: #82BC00;
}

a.plink::before {
    content: '  ';
    display: inline-block;
    width: 2em;
    height: 1em;
    background-image: url(/img/sym/plink.svg);
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: 1.7em;
}

.Warning_box {
    border-color: red;
    background-image:url('/img/warning.png');
    background-color: #FFCCCC;
    background-size: 2.5em;
}

.Caution_box {
    border-color: yellow;
    background-image:url('/img/caution.png');
    background-color: #FFFFCC;
    background-size: 2.5em;
}

.ESD_box {
    border-color: yellow;
    background-image:url('/img/esd.png');
    background-color: #FFFFCC;
    background-size: 2.5em;
}

.Note_box {
    border-color: blue;
    background-image:url('/img/note.png');
    background-color: #CCCCFF;
    background-size: 2.5em;
}

.Superseded_box {
    border-color: green;
    background-image:url('/img/superseded.svg');
    background-color: #CCFFCC;
    background-size: 3.5em;
}

.Warning_box, .Caution_box, .Note_box, .ESD_box, .Superseded_box {
    border-style: solid;
    border-width: 2px;
    width: 80%;
    padding: 0.2em 1em 0.2em 4em;
    margin-bottom: 1.5em;
    margin-top: 0.6em;
    background-repeat: no-repeat;
    background-position: top 0em left 0em;
    min-height: 3em;
    height:auto !important;
    height: 3.3em; 
    border-radius: 0.3em;
    box-shadow: 5px 5px 5px rgba( 128, 128, 128, 0.4 );
}

.Warning_box p:first-child,
.Caution_box p:first-child,
.Note_box p:first-child,
.ESD_box p:first-child,
.Superseded_box p:first-child {
    margin-top: 0;
}

nav#sub {
    border-top: solid 1px #82BC00;
    padding-top: 1em;
}

nav#main {
    margin-bottom: 1em;
}

.nav_next, .nav_last, .nav_this, .nav_that {
    border-style: solid;
    border-color: #006EB7;
    border-radius: 0.3em;
    border-width: 2px;
    line-height: 2.4em;
    font-size: 1.1em;
    padding: 0.3em;
    box-shadow: 3px 3px 3px rgba( 128, 128, 128, 0.4 );
}

.nav_next, .nav_last {
    border-color: black;
    margin-right: 0.3em;
    background-repeat: no-repeat;
}

.nav_next {
    background-image:url('/img/next.png');
    background-position: top right;
    padding-right: 1.2em;
}

.nav_last {
    background-image:url('/img/last.png');
    background-position: top left;
    padding-left: 1.2em;
}

.nav_this {
    background-color: #FFFFCC;
}

.invis { font-size: 0px; }

.section_header { font-size: 1.2em; }

.nav_sections {
    line-height: 1.6em;
    font-size: 1em;
    padding: 0.1em 0.3em;
    border: 1px solid #006EB7;
    margin: 4px 2px;
    border-radius: 0.3em;
    box-shadow: 2px 2px 2px rgba( 128, 128, 128, 0.4 );
}

.Breadcrumbs {
    color: grey;
    font-family: verdana, arial, sans-serif;
    font-size: 0.9em;
    margin: 0.3em 0px 0.3em 0.9em;
}

nav {
    text-align: left
}

nav#sub {
    margin-left: 0cm;
}

/******************************************************************************
 * Page Footer
 * These declarations keep the footer at the bottom of short pages
 * - thanks to https://css-tricks.com/couple-takes-sticky-footer/
 ******************************************************************************/

body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

html {
    margin: 0;
    padding: 0;
    height: 100%;
}

header, article {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

article {
    margin: 15px 11%;                                                                                  
}

footer {
    height: 64px;
    padding-left: 20%;
    margin-top: 5em;
    line-height: 64px; /* this auto-centres text vertically within the div */
    color: #858585;
    background-color: #1E1E1C;
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    font-weight: normal;
}

