/* stylesheet for massør4you.dk */

html {
  box-sizing: border-box;
}

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

body {
    height: 100%;
    margin: 0px;
    padding: 0px;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background: linear-gradient(0deg, rgba(0,150,200,1) 10%, rgba(230,245,255,1) 100%);
    background-color: rgb(0,150,200);
    font-size: 1.9rem;
    line-height: 1.9rem;
    color: black;
    padding: 20px 40px 0px 40px;
    font-family: verdana, helvetica, arial, sans;
}
#top_bar {
    width: 100%;
    height: 80px;
}
#content {
    display: block;
    float: left;
    width: calc(100% - 450px);
    height: 100%;
    overflow: hidden;
    margin: 0px;
    padding-bottom: 20px;
}
#sidebar {
    position: relative;
    top: 65px;
    display: block;
    float: right;
    width: 400px;
    margin: 0px;
    padding: 0px;
    overflow: hidden;
    font-size: 0.8rem;
    line-height: 0.8rem;
    background-color: transparent;
}
#footer {
    display: block;
    width: 100%;
    height: 100px;
    font-size: 0.8rem;
    line-height: 0.8rem;
    background-color: transparent;
}

/* typography */

h1, h2, h3 {
    line-height: 2.6rem;
}
a {
    background-color: inherit;
    color: rgb(0,100,150);
}
a:hover {
    background-color: inherit;
    color: rgb(0,20,75);
}
a#logo {
    font-family: Arial, Helvetica, sans-serif;
    background-color: inherit;
    color: rgb(0,20,75);
    text-decoration: none;
}
.clear {
    clear: both;
}

/* tab interface */

div.tab_interface {
    display: block;
    margin: 0px;
    padding: 0px;
    width: 100%;
}
div.tab_row {
    display: block;
}
label.tab_label {
    position: relative;
    top: 1px;
    display: inline-block;
    padding: 15px 20px;
    font-size: 1.5em;
    border: 1px solid rgb(200,200,200);
    border-bottom: none;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-color: rgb(220, 220, 220);
    color: inherit;
    z-index: 100;
}
label.tab_label.active {
    background-color: rgb(255, 255, 255);
    color: inherit;
}
label.tab_label:hover {
    color: rgb(0,100,150);
}

div.tab_content {
    position: relative;
    top: 0px;
    display: none;
    margin: 0px;
    padding: 20px 30px;
    border: 1px solid rgb(200,200,200);
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background-color: rgb(255, 255, 255);
    color: inherit;
}
div.tab_content:first-of-type {
    display: block;
}

/* welcome screen bottom: two-column layout */

div#tab_welcome_bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
div#tab_welcome_bottom #col_1 {
    justify-self: start;
}
div#tab_welcome_bottom #col_2 {
    justify-self: end;
}

/* images */

div#tab_welcome_bottom #col_2 img
, div#sidebar img {
    border-radius: 3%;
}

/* responsive */

@media screen and (max-width: 1569px) {
    body {
        padding: 0px auto;
        font-size: 0.9em;
    }
    #top_bar {
        padding: 0px auto;
        text-align: center;
        height: 50px;
        font-size: 1.5em;
    }
    h1 {
        margin: 0px auto;
    }
    #content {
        width: 100%;
        align-content: center;
        padding: 0px auto;
    }
    #sidebar {
        width: 0px;
        display: none;
    }
    div.tab_interface {
        padding: 0px;
        width: 100%;
    }
    label.tab_label
    , div.tab_content {
        width: 90%;
        border-color: rgb(150,150,150);
    }
    label.tab_label {
        top: 10px;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        line-height: 1.4em;
    }
    div.tab_content {
        border-top-right-radius: 0px;
        font-size: 1.5em;
    }
    div#tab_welcome_bottom {
        grid-template-columns: 1fr;
    }
    div#tab_welcome_bottom #col_2 {
        display: none;
    }
}
