@import url('https://fonts.googleapis.com/css?family=Work+Sans:300,600');

:root {
    --background: rgba(0, 214, 170, .85);
    --headerbackground: #04B1D8;
    --polyorange: #F14E32;
    --polydark: #222222;
    --polylight: #f9f9f9;
    --shadebg: #eeeeee;

}

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

body {
    margin: 0;
    background: #222;
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
}

body {
    background-color: #ffffff;
    color: #4e443c;
    margin: 0px;
    padding: 0px;
    font-family: 'Roboto Condensed', sans-serif;
    min-width: 300px;
}

/* boilerplate */
/*! HTML5 Boilerplate v7.2.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
    /* 1 */
}

/*
* Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.sr-only.focusable:active,
.sr-only.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    white-space: inherit;
    width: auto;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
    visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
    content: " ";
    /* 1 */
    display: table;
    /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
       * Don't show links that are fragment identifiers,
       * or use the `javascript:` pseudo protocol
       */
    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
       * Printing Tables:
       * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
       */
    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

@font-face {
    font-family: 'icons';
    src: url('webfonts/iconset.eot?32004872');
    src: url('webfonts/iconset.eot?32004872#iefix') format('embedded-opentype'),
    url('webfonts/iconset.woff?32004872') format('woff'),
    url('webfonts/iconset.ttf?32004872') format('truetype'),
    url('webfonts/iconset.svg?32004872#iconset') format('svg');
    font-weight: normal;
    font-style: normal;
}

[class^="icon-"]::before, [class*=" icon-"]::before {
    font-family: "icons";
    font-style: normal;
    font-weight: normal;
    color: white;
    font-size: 1.4rem;
}

.icon-menu:before {
    content: '\e808';
}


/* layout */

html,
body {
    height: 100%;
    padding: 0;
    margin: 0;
    width: 100vw;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
}

#main {
    flex-grow: 1;
    margin: 0 auto;
}

/* optional */
footer {
    min-height: 50px;
}

/* /layout */

a {
    color: var(--headerbackground);
}

a:hover {
    color: var(--polyorange);
}

/* navigation */
.logo {
    font-size: calc(13px + 1.7vw);
    font-weight: bold;
    color: white;
    text-shadow: -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    3px 3px 4px #000;
    padding: 0.5rem 0;
    justify-self: left;
    margin: 5px 0;
}

.logocenter {
    justify-self: center;
}

.logo a {
    color: white;
    text-decoration: none;
}

.nav-container {
    width: 100%;
    background-color: var(--headerbackground);
}


.fa-bars {
    font-size: 1.4em;
}

nav {
    max-width: 1800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr auto 1fr;
    align-items: center
}

.menu {
    grid-column: 3;
    align-items: center;
    margin-left: 1rem;
    position: relative;
    right: 0;
}

.logo {
    grid-column: 2;
    /*margin-left: 1rem;*/
}

#nav-toggle, .burger-menu {
    display: none;
}

.burger-menu {
    width: 40px;
    grid-column: 4;
}

nav a {
    color: white;
    text-decoration: none;
    transition: .3s all ease-in-out;
    padding-right: 0;
}

nav a:hover {
    border-bottom: rgba(241, 62, 50, 1) solid 4px;
}

.menu a {
    font-size: calc(0.7rem + 0.4vw);
    font-weight: bold;
    margin-left: 1.1rem;
}

nav .logo:hover {
    transition: transform ease-in-out 150ms;
    color: rgba(241, 62, 50, 0.8);
    border-bottom: none;
}

.menu a:hover::before {
    transform: scale(0, 1);
    transition: transform ease-in-out 150ms;
}

.menu a.active {
    border-bottom: rgba(241, 62, 50, 1) solid 4px;
}

/* portal layout */
.portal-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 1.5em;
    grid-row-gap: 1.5em;
    margin-bottom: 50px;
    align-content: start;

}

.portal {
    background-color: #f8f8f8;
    border: 1px solid #666666;
    min-width: 200px;
    border-radius: 3px;
    box-shadow: 2px 2px 3px 4px #ccc;
    padding: 20px;
    min-height: 160px;
}

.portal .myheading{
    color: var(--polyorange);
    text-align: center;
}

.new_sc {
    box-shadow: 2px 2px 3px 4px rgb(247, 253, 193); 
} 

/* MEDIA QUERIES */

@media only screen and (max-width: 600px) {
    .burger-menu {
        display: inline-block;
        justify-self: end;
    }

    .menu {
        display: none;
    }

    #nav-toggle:checked ~ .menu {
        display: grid;
        grid-row: 2;
        grid-column: 1 / span 3;
        justify-self: end;
        text-align: right;
        margin: 1rem;
        grid-row-gap: 0.3rem;
        line-height: 1.2rem;
    }

    .logo {
        grid-column: 2;
        font-size: calc(14px + 1.7vw);
        margin-left: 0;
        justify-self: center;
    }

    nav a:hover {
        border-right: rgba(241, 62, 50, 1) solid 4px;
        border-bottom: none;
    }

    nav a {
        border-bottom: none;
        border-right: rgba(241, 62, 50, 0) solid 4px;
        padding-right: 0.7rem;
    }


    .menu a.active {
        border-right: rgba(241, 62, 50, 1) solid 4px;
        border-bottom: none;
    }

    .menu a {
        font-size: 1.1rem;
        font-weight: bold;
        margin-left: 1.1rem;
    }

    /* portal layout */
    .portal-wrapper {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

}

/* /navigation */

/* colors and sizes */

h3 {
    font-size: 2rem;
    font-weight: bold;
    display: block;
    margin-bottom: 0.2rem;
}

.samples-filter ol, .samples-filter ul, .gsmbox ol, .gsmbox ul {
    list-style: none;
    display: flex;
    grid-column: auto;
    flex-wrap: wrap;
}

.samples-filter {
    padding: 15px 0;
}

.samples-filter li a {
    margin-right: 10px;
    color: #fff;
    background-color: #666;
    padding: 6px;
    margin-bottom: 5px;
    border-radius: 3px;
    display: inline-block;
}

.samples-filter li a.current {
    background-color: var(--polyorange);
}

.samples-filter li a:hover {
    background-color: var(--polyorange);
}


.cards-wrapper {
    grid-area: cardswrapper;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-column-gap: 1.5em;
    grid-row-gap: 1.5em;
    margin-bottom: 50px;
    align-content: start;

}

.card {
    background-color: #f8f8f8;
    border: 1px solid #666666;
    min-width: 200px;
    max-width: 320px;
    border-radius: 3px;
    box-shadow: 2px 2px 3px 4px #ccc;
    display: flex;
    flex-direction: column;
    padding: 6px;
    min-height: 160px;
}

.cardheader{
    color: var(--polyorange);
    font-weight: bold;
    border-bottom: var(--polyorange) solid 2px;
}

.sampleid .title {
    letter-spacing: -1px;
    font-size: 1.2rem;
    margin: 1rem 0;
    font-weight: bold;
    color: #666;
}

.grid-wrapper-card {
    overflow-x: hidden;
    display: grid;
    grid-template-areas: "header" "maincardcontent" "footer";
}

.card-body span {
    font-weight: bold;
    color: var(--polyorange);
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0%;
    font-size: 0.8rem;
}

.card-body span:before {
    content: ' ';
    display: block;
}

.card .more {
    margin-top: auto;
    margin-bottom: 0.2rem;
}

.contentheader {
    grid-area: contentheader;
    padding: 0 2rem 2rem 2rem;
    max-width: 1100px;
    justify-self: center;
    width: 100vw;
}
.contentbody {
    grid-area: contentbody;
    padding: 0 2rem;
    flex-grow: 1;
    max-width: 1100px;
    justify-self: center;
    width: 100vw;
}

/* give cards the full width */
.fill {
    max-width: 100%;
    justify-self: stretch;
}

header {
    grid-area: navigationcontent;
}

footer {
    grid-area: footer;
    text-align: center;
    justify-self: center;
    margin-top: 1rem;
    padding-top: 1rem;
}

.wrapper {
    display: grid;
    grid-gap: 10px;
    grid-template-rows: auto auto 1fr;
    grid-template-areas: "navigationcontent" "contentheader" "contentbody";
    background-color: #fff;
    color: #444;
    height: 100vh;
    overflow-x: hidden;
}

.filterinput {
    border: 1px solid #222;
    border-radius: 2px;
}

.samples-filter li.selected, .samples-filter li:hover, .gsmbox li.selected, .gsmbox li:hover {
    background-color: var(--polyorange);
}

.samples-filter li {
    margin-right: 10px;
    color: #fff;
    background-color: #666;
    padding: 6px;
    margin-bottom: 5px;
    border-radius: 3px;
    display: inline-block;
}

#samples .more-info-trigger {
    font-weight: normal;
    padding-left: 20px;
    color: #fff;
    background-color: rgba(102,102, 102, 0.8);
    padding: 3px;
    margin-bottom: 5px;
    border-radius: 2px;

}

#samples .more-info-trigger:hover {
    background-color: var(--polyorange);
}

/* detail modal styles */
.detail-list .title {
    font-size: 1.5rem;
    margin: 1.2rem 0;
    font-weight: bold;
    color: #3A3A3A;
    line-height: 1.3em;
}

.detail-list .fieldname, .timelineUnit .fieldname {
    font-weight: bold;
    color: #333;
    margin: 1rem 0 0.6rem 0;
}

.detail-list ul {
    display: block !important;
    font-size: 1rem;
}

.textsection ul {
    list-style: none;
}

.textsection ul li::before {
    content: "\2022";
    color: var(--headerbackground);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: 1em;
    line-height: 1.4rem;
}

.myheadingsmall {

    font-weight: bold;
    color: var(--polyorange);
    font-size: 1rem;
    margin: 1.5rem 0 0.6rem 0;
    display: block;

}

.myheading {
    font-weight: bold;
    color: var(--polyorange);
    font-size: 1.1rem;
    margin: 1.5rem 0 0.6rem 0;
    display: block;
}

.myheadingbig {
    font-weight: bold;
    color: var(--polyorange);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.6rem 0;
    display: block;
}

.noncolorimportant {
    color: var(--polydark);
    font-weight: bold;
}

.buttonlinkout:hover, .detailslinkout:hover {
    background-color: var(--polyorange);
    color: var(--polylight);
}

.important {
    font-weight: bold;
    color: var(--polyorange);

}

.remark {
    font-style: italic;
}

.buttonlinkout {
    margin-right: 10px;
    color: #fff;
    background-color: #666;
    padding: 4px 6px;
    margin-bottom: 5px;
    border-radius: 3px;
    margin-top: 5px;
    display: inline-block;
}

.detailslinkout {
    margin-right: 10px;
    color: #fff;
    background-color: #666;
    padding: 4px 6px;
    margin-bottom: 5px;
    border-radius: 3px;
    margin-top: 1.5rem;
    display: inline-block;
}

.modal {
    display: none;
    vertical-align: middle;
    position: relative;
    z-index: 2;
    max-width: 900px;
    box-sizing: border-box;
    width: 90%;
    background: #fff;
    padding: 12px 28px;
    border-radius: 3px;
    box-shadow: 0 0 10px #000;
    text-align: left;
    color: #333;
    line-height: 1.4rem;
}

.modal ol li::before {
    content: "•";
    color: var(--polyorange);
    display: inline-block;
    width: 1em;
    margin-left: -1em
}

.modal ol {
    padding-left: 1.5rem;
}

.modal p, .modal section {
    margin: 1rem 0;
}

/* protocol styles */
.gsmbox {
    overflow: hidden;
    font-size: 0.8rem;
    margin: 1rem 0;
}

.gsmbox p {
    margin: 1.5rem 0;
}

.gsmbox li a {
    margin-right: 10px;
    color: #fff;
    background-color: rgba(102, 102, 102, 0.8);
    padding: 5px;
    margin-bottom: 5px;
    border-radius: 3px;
    float: left;
}

div.moretext {
    display: none;
    line-height: 1.2rem;
    margin: 2rem 0;
    background-color: var(--shadebg);
    padding: 1rem;
    border-radius: 0.2rem;
}

.moretext p {
    line-height: 1.3rem;
    margin: 0.8rem 0;
}

div.shadedtext {
    line-height: 1.2rem;
    margin: 2rem 0;
    background-color: #EEE;
    padding: 1rem;
    border-radius: 0.2rem;
}

.shadedtext .myheading {
    margin: 0 0 0.8rem 0;
}

.moretext > p span {
    font-weight: bold;
    margin: 1.6rem 0;
}

div.timelineUnit p, div.textsection p, div.timeline div p {
    margin: 1rem 0;
    line-height: 1.5rem;
}



.code {
    font-family: 'Lucida Console', monospace;
    font-size: calc(9px + 0.4vw);
    background-color: #EEE;
    color: #000;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    max-width: 90vw;
    margin: 0.3rem auto;
    overflow-x: auto;
    white-space: pre;
    display: block;
}

.center {
    margin: 1rem auto;
    display: block;
    width: 90%;
}

.alternative {
    color: var(--headerbackground);
}

.timelineUnit div ul table tbody tr td:last-child {
    margin-left: 1rem;
}
/* form styles */


.form-style {
    max-width: 900px;
    padding: 10px;
}

.form-style-heading {
    font-weight: bold;
    font-style: italic;
    border-bottom: 2px solid #ddd;
    margin-bottom: 20px;
    font-size: 15px;
    padding-bottom: 3px;
}

.form-style label {
    display: block;
    margin: 0px 0px 15px 0px;
}

.form-style label > span {
    width: 100px;
    font-weight: bold;
    float: left;
    padding-top: 8px;
    padding-right: 5px;
}

.form-style span.required {
    color: red;
}

.form-style .tel-number-field {
    width: 40px;
    text-align: center;
}

.form-style input.input-field, .form-style .select-field {
    width: 40%;
}

.form-style input.input-field,
.form-style .tel-number-field,
.form-style .textarea-field,
.form-style .select-field {
    box-sizing: border-box;
    border: 1px solid #C2C2C2;
    box-shadow: 1px 1px 4px #EBEBEB;
    border-radius: 3px;
    padding: 7px;
    outline: none;
}

.form-style .input-field:focus,
.form-style .tel-number-field:focus,
.form-style .textarea-field:focus,
.form-style .select-field:focus {
    border: 1px solid #0C0;
}

.form-style .textarea-field {
    height: 100px;
    width: 55%;
}

.form-style input[type=submit],
.form-style input[type=button] {
    border: none;
    padding: 8px 15px 8px 15px;
    background: var(--polyorange);
    color: #fff;
    box-shadow: 1px 1px 4px #DADADA;
    border-radius: 3px;
    margin-top: 0.5rem;
}

.form-style input[type=submit]:hover,
.form-style input[type=button]:hover {
    background: var(--headerbackground);
    color: #fff;

}

#warnings, .warnings {
    padding: 1rem;
    border-radius: 0.4em;
    color: rgb(0, 0, 0);
    background-color: rgb(234, 248, 105);
    box-shadow: 1px 1px 4px #9a9a9a;
    margin-top: 1rem;
    width: 80%;
    font-size: 0.8rem;

}
/* form styles */

table {
    border-collapse: collapse;
}

th, td {
    padding: 0.2rem 0.8rem 0.2rem 0;
    text-align: left;
}

tbody td {
    font-weight: bold;
}

td.highlight{
    color: var(--polyorange);
}

td.highlight_right{
    color: var(--polyorange);
    text-align: right;
}

td.details-control {
    background: url('../images/fancybox/fancy_nav_right.png') no-repeat center center;
    cursor: pointer;
}

tr.shown td.details-control {
    background: url('../images/fancybox/fancy_close.png') no-repeat center center;
}

/* data table styles */
table.dataTable {
    width: auto;
    float: left;
}

#data_table_container {
    margin-top: 0.4rem;
    margin-bottom: 0.8rem;
}
