*{
    /*font-family: sans-serif;*/
    font-family: arial;
}

body
{
    margin: 0;
    padding: 0;
    background-color: #eee;
    overflow-y: scroll;
    background-image: url("../images/background.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

/* Navigation bar */
.navbrand-wrapper
{
    width: 100%;
    min-height: 45px;
    background-image: linear-gradient(hsl(200,70%,40%), hsl(200,70%,10%));
    float: left;
    padding: 0;
}
.navbrand-wrapper .nav
{
    width: 1024px;
    margin-left: auto;
    margin-right: auto;
}

@media only screen and (max-width: 1024px)
{
    .navbrand-wrapper .nav
    {
        width: 100%;
    }
}

.navbrand-wrapper .nav .brand
{
    float: left;
    padding-top: 30px;
    padding-bottom: 25px;
    color: #fff;
    font-size: 10pt;
}

@media only screen and (max-width: 1024px)
{
    .navbrand-wrapper .nav .brand
    {
        width: CALC(100% - 60px);
        padding-left: 30px;
    }
}

.navbrand-wrapper .nav .brand h1
{
    margin: 0px;
    padding: 0px;
    color: #fff;
    font-weight: 1;
    display: inline;
}

@media only screen and (max-width: 1024px)
{
    .navbrand-wrapper .nav .brand h1
    {
        float:left;
        margin-top: 5px;
    }
}

.navbrand-wrapper .nav .brand > img
{
    width: 200px;
    height: 75px;
}

.navbrand-wrapper .nav button
{
    display: none;
    margin-top: 15px;
}

@media only screen and (max-width: 1024px)
{
    .navbrand-wrapper .nav button
    {
        float: right;
        display: inline;
        background-color: transparent;
    }
    .navbrand-wrapper .nav button:hover
    {
        background-color: #555;
    }
}
.navbrand-wrapper .nav button img
{
    margin: 0;
    width: 20px;
    height: 20px;
}

.navbrand-wrapper .nav .links
{
    float: right;
    margin-top: 20px;
}

@media only screen and (max-width: 1024px)
{
    .navbrand-wrapper .nav .links
    {
        width: 100%;
        display: none;
        background-color: #eee;
        border-bottom: 1px solid #727272;
        border-top: 1px solid #727272;
        margin-top: 0px;
    }
}

.navbrand-wrapper .nav .links ul
{
    list-style: none;
    float: left;
}

@media only screen and (max-width: 1024px)
{
    .navbrand-wrapper .nav .links ul
    {
        float: left;
        width: 100%;
        padding: 0;
        margin: 0;
    }
}

.navbrand-wrapper .nav .links ul li
{
    color: #fff;
    float: left;
    font-size: 12pt;
}

@media only screen and (max-width: 1024px)
{
    .navbrand-wrapper .nav .links ul li
    {
        float: left;
        width: 100%;
        background-color: #eee;
        background-image: linear-gradient(to left, hsl(200,70%,40%), hsl(200,70%,10%));
        padding-left: 30px;
        padding-top: 7px;
        padding-bottom: 7px;
        box-sizing: border-box;
    }
    .navbrand-wrapper .nav .links ul li:hover
    {
        border: none;
    }
}

.navbrand-wrapper .nav .links ul li a
{
    color: #fff;
    text-decoration: none;
    font-weight: lighter;
    letter-spacing: 2px;
    width: 100%;
    text-align: center;
    float: left;
    padding: 20px;
    box-sizing: border-box;
}

.navbrand-wrapper .nav .links ul li:hover a
{
    color: rgb(255, 200, 0);
}

@media only screen and (max-width: 1024px)
{
    .navbrand-wrapper .nav .links ul li a
    {
        color: #fff;
        /*text-align: left;*/
        padding: 15px;
        width: auto;
    }
}

.navbrand-wrapper .nav .links ul li.active
{
    border-bottom: 3px solid rgb(255, 200, 0);
    /*border-radius: 0px 0px 10px 10px;*/
}

.navbrand-wrapper .nav .links ul li.active a
{
    color: rgb(255, 200, 0);
}

@media only screen and (max-width: 1024px)
{
    .navbrand-wrapper .nav .links ul li.active
    {
        border: none;
    }
    .navbrand-wrapper .nav .links ul li.active a
    {
        color: rgb(255, 200, 0);
    }
}


.navbrand-wrapper .nav .links ul li .link-underline
{
    margin-top: 0px;
    width: 0%;
    height: 2px;
    float: left;
    margin-left: 50%;
    transition: width 0.5s, margin-left 0.5s;
    background-color: rgb(255, 200, 0);
    border-radius: 5px;
}

.navbrand-wrapper .nav .links ul li:hover .link-underline
{
    width: 100%;
    float: left;
    height: 2px;
    background-color: rgb(255, 200, 0);
    margin-left: 0%;
    margin-top: 0px;
    transition: width 0.5s, margin-left 0.5s;
    border-radius: 5px;
}

@media only screen and (max-width: 1024px)
{
    .navbrand-wrapper .nav .links ul li:hover
    {
        border-bottom: 0;
    }

    .navbrand-wrapper .nav .links ul li a:hover
    {
        text-decoration: underline;
    }

    .navbrand-wrapper .nav .links ul li .link-underline
    {
        display: none;
    }
}

/* Layout */
.content-wrapper
{
    width: 100%;
    min-height: 900px;
    float: left;
}
.content
{
    width: 1024px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
    padding-bottom: 20px;
}

@media only screen and (max-width: 1024px)
{
    .content
    {
        width: CALC(100% - 20px);
        padding: 10px;
    }
}

.widebox
{
    width: 100%;
}

.halfbox
{
    width: 50%;
}

.left
{
    float: left;
}

.right
{
    float: right;
}

.border-grey
{
    border: 1px solid #ccc;
}

.footer-wrapper
{
    width: 100%;
    background-image: linear-gradient(hsl(200,70%,40%), hsl(200,70%,10%));
    float: left;
    color: #fff;
    text-align:center;
    margin-top: 20px;
    padding: 40px 0px;
}

.footer-wrapper .footer
{
    width: 1024px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 1.5px;
}

@media screen and (max-width: 1024px)
{
    .footer-wrapper .footer
    {
        width: 100%;
    }
}

.footer-wrapper .footer div
{
    float: left;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    margin-top: 10px;
    padding: 15px 0px;
}

.footer-wrapper .footer div span
{
    width: 100%;
    float: left;
}


.footer-wrapper a
{
    color: #fff;
}

/* Buttons */
button
{
    font-size: 11pt;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #fff;
    transition: background-color 1s;
}

button:hover
{
    background-color: #ccc;
    transition: background-color 0.5s;
    cursor: pointer;
}

button .img-side-text
{
    float:left;
    margin-top: 5px;
}
button img
{
    width: 25px;
    height: 25px;
    float:left;
    margin-right: 10px;
}

button i
{
    float: left;
    margin-top: 5px;
    margin-right: 10px;
}

/* Containers */
.section
{
    width: CALC(100% - 50px);
    min-height: 200px;
    float: left;
    background-color: #fff;
    margin-top: 30px;
    border-radius: 5px;
    padding: 15px 25px 25px 25px;
    box-shadow: 2px 2px 25px #a4c1f3;
}

.section .subsection
{
    width: CALC(100% - 50px);
    float: left;
    border: 1px solid #ccc;
    box-shadow: 5px 5px 20px #ccc;
    padding: 15px 25px 25px 25px;
    margin-top: 25px;
}

.section > div
{
    width: CALC(100%);
    float: left;
    /*padding: 15px 25px 25px 25px;*/
    margin-top: 25px;
}

.arrowlist
{
    margin: 0px;
    padding: 20px;
    list-style-position: inside;
    list-style-type: none;
}

.arrowlist li::before
{
    content: "▶  ";
    margin-right: 5px;
}

.arrowlist li
{
    margin-bottom: 15px;
}

h2,h3
{
    color: #333;
    font-weight: 500;
    float: left;
    margin: 10px 0px 10px 0px;
    font-weight: lighter;
    letter-spacing: 2.5px;
}
p, summary, details
{
    color: #333;
    line-height: 1.8;
    font-weight: 500;
    letter-spacing: 1px;
    float: left;
}

p
{
    margin: 10px 0px 10px 0px;
}

/* Dialog */
.dialog
{
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #fff;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
    float: left;
    padding-bottom: 30px;
    overflow-y: scroll;
}

.dialog .header
{
    width: CALC(100% - 40px);
    float: left;
    padding: 20px;
    font-size: 15pt;
}

.dialog .header .title
{
    float: left;
    padding: 10px;
}

.dialog .header button
{
    float: right;
    border: none;
}

.dialog .body
{
    width: 100%;
    float: left;
    padding-top: 20px;
    padding-bottom: 20px;
}

.dialog details
{
    width: CALC(100% - 60px);
    margin-left: 30px;
    float: left;
    border-left: 1px solid #ded;
    border-right: 1px solid #ded;
}

.dialog details summary
{
    padding: 10px;
    width: CALC(100% - 20px);
    background-image: linear-gradient(hsl(200,70%,40%), hsl(200,70%,10%));
    color: #fff;
}

.dialog details:first-child, .dialog details:first-child summary
{
    border-radius: 5px 5px 0px 0px;
}

.dialog details:last-child, .dialog details:last-child summary
{
    border-radius: 0px 0px 5px 5px;
}


.dialog details summary:hover
{
    cursor: pointer;
}

.dialog details p
{
    width: CALC(100% - 30px);
    float:left;
    padding-left: 15px;
}

.dialog details ul
{
    margin: 0;
    padding: 0;
    width: CALC(100% - 60px);
    margin-left: 15px;
    padding: 15px;
    float: left;
}

.overlay-content
{
    width: 1024px;
    margin-left: auto;
    margin-right: auto;
}

@media only screen and (max-width: 1024px)
{
    .overlay .overlay-content
    {
        width: 100%;
    }
}

/*
    Generic table
*/
table
{
    width: 100%;
    float: left;
    margin: 20px 0px 0px 0px;
    overflow-y: scroll;
}

table td
{
    padding: 10px;
    border-bottom: 1px solid #ccc;
    word-break:break-all;
}

table tr:nth-child(2n)
{
    background-color: #fafafa;
}

/* Badges */
.badge
{
    display: inline;
    float: left;
    margin-left: 10px;
    padding: 5px;
    font-size: 10pt;
    border-radius: 5px;
}
.badge.blue
{
    background-color: rgb(37, 140, 250);
    color: #fff;
}
.badge.green
{
    background-color: rgb(0, 185, 0);
    color: #fff;
}

/* Text gradients */
.purpletoorange
{
    /*background: -webkit-linear-gradient(left,#7b00ff,#f67c7c);*/
    background: -webkit-linear-gradient(left,#9000ff,#ff7700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.purpletoblue
{
    background: -webkit-linear-gradient(left,#9000ff,#0080ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
