body{
    background: #f1f1f1;
    margin: 0;
}

.container {
    max-width: 1100px;
    display: block;
    background: #ffffff;
    margin-right: auto;
    margin-left: auto;
}

/* Style the header */
header {
    background: #ffffff;
    z-index: 1;
    width: 100%;
    max-width: 1100px;
    position: fixed;
    height: 60px;
    top: 0;

    /*background-image: linear-gradient(to bottom, #525252, #000000, #000000)*/
}

.header-gradient {
    z-index: 1;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255,255,255,0));
    position: fixed;
    width: 100%;
    max-width: 1100px;
    height: 30px;
    top: 60px;
}

section{
    margin-top: 0;
    padding-top: 60px;
}

div.page-content {
    width: 100%;
    min-height: 300px;
    padding-bottom: 30px;
    display: inline-block;
}

/* Create two columns/boxes that floats next to each other */
nav {
    display: block;
    position: fixed;
    float: left;
    width: 25%;
    padding: 0 20px;
    min-width: 300px;
}

/* Style the list inside the menu */
nav ul {
    list-style-type: none;
    padding: 0;
    min-width: 60px;
}

nav ul li{
    margin: 12px 0;
}

article {
    position: relative;
    float: left;
    display: block;
    padding: 20px;
    /*width: 70%;*/
    margin-left: 220px;
}

article>*{
/*    -webkit-touch-callout: default !important;
    -webkit-user-select: text !important;
    -khtml-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;*/
}

/* Clear floats after the columns */
section:after {
    content: "";
    display: table;
    clear: both;
}

/* Style the footer */
footer {
    padding: 10px 20px;
    text-align: left;
    color: white;
}

.dynamic-contents {
    display: none;
}

div.menu-text {
    position: absolute;
    top: 36px;
    right: 12px;
}

div.box{
    float: left;
    padding: 10px;
    margin: 0 2% 20px 0;
    border: 1px solid #d7d7d7;
    border-radius: 6px;
    width: 22%;
    height: 120px;
    position: relative;
    /*background: rgb(25, 25, 25);*/
    /*background-image: linear-gradient(to bottom, #f9f9f9, #ededed)*/
}

div.box > a{
    position:absolute;
    bottom:6px;
    right:6px;
}

div.block {
    float: left;
    position: relative;
    display: inline-block;
    width: 100%;
}

div.block.inline {
    width: 24%;
}

div.block.inline > div.box {
    width: 92%;
}


/* Responsive layout - makes the two columns/boxes stack on top of each other instead of next to each other, on small screens */
@media (max-width: 800px) {
    .container{
        width: 100%;
    }
    article {
        width: 100%;
        height: auto;
        margin-left: 0;
    }
    nav {
        display: none;
    }
}

@media (max-width: 500px) {
    div.box {
        width: 48%;
    }

    div.block.inline {
        width: 50%;
    }

    div.block.inline > div.box{
        width: 96%;
    }
}
@media (max-width: 510px) {
    div.field-block.inline{
        display: block;
        width: 100%;
    }

    div.field-block>input[type=text],
    div.field-block>input[type=email],
    div.field-block>input[type=date],
    div.field-block>select{
        width: 100%;
    }
}