* {
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    background: #e5e5e5;

    font-family: Arial, sans-serif;
    font-size: 1em;
    line-height: 1.6em;
    color: #6d6e71;
}

h1, h2, h3, h4, .h1 {
    font-weight: normal;
    line-height: 1.3em;
}

h1, .h1 {
    color: #007ac2;
    margin-bottom: 0.5em;
    font-size: 1.7em;
}

h2 {
    color: #6d6e70;
    margin-bottom: 0.3em;
    font-size: 1.6em;
}

h3 {
    color: #6d6e71;
    margin-bottom: 0.3em;
    font-size: 1.4em;
}

h4 {
    color: #007ac2;
    font-size: 1em;
}

p {
    margin-bottom: 1em;
}

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

a {
    color: #007ac2;
    text-decoration: none;
}

a:hover {
    color: #dd0000;
}

.layout ul.indented, .layout ol.indented {
    margin-left: 2em;
}

#content {
    width: 1000px;
    min-height: 100%;
    margin: 0 auto -150px;

    background: #fff;
}

#header {
    height: 115px;
    position: relative;
    padding: 1em 1em 0 1em;
}

#header #logo-main {
    float: left;
    width: 278px;
    height: 70px;
    display: block;
    background: url(../images/logo-crossdata.gif) 0px 5px no-repeat;
    margin: 1em 0;
}

#header #quicklinks {
    float: right;
}

#header #quicklinks li:not(:last-of-type) {
    padding-right: 2em;
}

#header #quicklinks li:last-of-type {
    padding-right: 1em;
}

#header #quicklinks li {
    list-style-type: none;
    display: inline-block;
}

#header #quicklinks li a {
    color: #6d6e71;
    font-size: 0.95em;
}

#header #quicklinks li a:hover, #header #quicklinks li a.selected {
    color: #53a198;
}

#header a#tel {
    display: none;
    color: #1a87c8;
    font-size: 0.95em;
}

#header #mainlinks {
    position: absolute;
    bottom: 3px;
    right: 1em;
}

#header #mainlinks li {
    list-style-type: none;
    display: inline-block;
    padding-left: 4px;
}

#header #mainlinks a {
    display: block;
    padding: 3px 12px;
    color: #fff;
    background: #007ac2;
}

#header #mainlinks a#mainlinks_support {
    padding-left: 40px;
    background: url(../images/icon-support.png) 8px 3px no-repeat #6f7072;
}

#header #mainlinks a:hover, #header #mainlinks a.selected {
    background: #53a198;
}

#header #mainlinks a#mainlinks_support:hover, #header #mainlinks a#mainlinks_support.selected {
    background-color: #53a198;
}

.divider {
    background: #e1e2e3;
    width: 100%;
    height: 3px;
}

#header .divider {
    position: absolute;
    bottom: 0;
    left: 0;
}

#page .divider {
    margin: 1em 0;
    float: left;
}

#page .logos .divider {
    background: #e1e1e3;
    height: 1em;
    margin-bottom: 2em;
}

#header #burgerbun {
    display: none;
}

#page {
    padding: 1em;
}

#page.customers {
    /*padding:1em 2em;*/
}

#page::after {
    content: "";
    display: block;
    clear: both;
}

#page #breadcrumb {
    list-style-type: none;
    margin-bottom: 1em;
}

#page #breadcrumb li {
    float: left;
}

#page #breadcrumb li a {
    font-size: 0.8em;
    font-weight: bold;
    color: #6d6e71;
}

#page #breadcrumb li a:hover, #page #breadcrumb li a.selected {
    color: #53a198;
}

#page #breadcrumb li:not(:last-of-type)::after {
    content: ">";
    padding: 0 10px;
}

#page #breadcrumb::after {
    content: "";
    display: block;
    clear: both;
}

#footer, #footer_pad {
    height: 150px;
}

#footer {
    width: 1000px;
    margin: 0 auto;

    background: #414042;
    text-align: center;
}

#footer div, #footer ul {
    padding: 5px 0;
    color: #fff;
}

#footer div#socials {
    padding-top: 15px;
}

#footer div#socials a {
    color: #606164;
}

#footer div#socials a:hover {
    color: #fff;
}

#footer div#socials > div {
    /*cursor:pointer;*/
    padding: 0 5px;
}

#footer div#socials .fa-stack-1x {
    color: #414042;
}

#footer div#socials .fa-stack-1x:hover {
    /*color:#fff;*/
}

#footer #footlinks li a {
    color: #bbb;
}

#footer #footlinks li {
    list-style-type: none;
    display: inline-block;
    padding: 0 5px;
}

#footer #footlinks li.link_separator:first-of-type {
    display: none;
}

#footer #footlinks li a:hover, #footer #footlinks li a.selected {
    color: #fff;
}

.modal_window {
    background: #fff;
    border: none;
    padding: 15px;

    overflow: hidden;
}

.modal_close {
    color: #007ac2;
    float: right;
    cursor: pointer;
}

@media only screen and (max-width: 1050px) {
    #content, #footer {
        width: 100%;
    }
}

@media only screen and (max-width: 818px) {
    #content, #footer {
        width: 100%;
    }

    #header #burgernav #quicklinks {
        clear: right;
        margin-top: 0.6em;
    }
}

@media only screen and (max-width: 667px) {
    #header, #footer {
        height: auto;
    }

    #header a#tel {
        float: left;
        clear: left;
        font-size: 1.7em;
        padding: 0;
        display: block;
    }

    #header #burgerbun {
        display: block;
        float: right;

        font-size: 0.8em;
        color: #007ac2;
        cursor: pointer;
    }

    #header #burgerbun .fa-bars {
        margin-top: -0.1em;
    }

    #header #mainlinks, #header #quicklinks {
        display: none;
    }

    #header #burgernav {
        display: block;
        width: 100%;
    }

    #header #burgernav #mainlinks, #header #burgernav #quicklinks {
        position: static;
        float: left;
        width: 100%;
    }

    #header #burgernav #mainlinks li, #header #burgernav #quicklinks li {
        display: block;
        text-align: center;
        padding: 1px 0 0 0;
        margin-top: 1px;
    }

    #header #burgernav #mainlinks a#mainlinks_support {
        padding-left: 0;
        background-image: none;
    }

    #header #burgernav #quicklinks li a {
        display: block;
        background: #6d6e71;
        padding: 5px 8px;
        color: #fff;
    }

    #header #burgernav #quicklinks li a:hover {
        background: #828386;
    }

    #header .divider {
        position: static;
        clear: both;
    }

    #header #logo-main {
        float: none;
        margin: 0 auto 1em;
    }

    #page {
        clear: both;
    }

    /*#header #burgernav #quicklinks li:first-of-type a {
        -webkit-border-radius:5px 5px 0 0;
        -moz-border-radius:5px 5px 0 0;
        border-radius:5px 5px 0 0;
    }
    #header #burgernav #mainlinks li:last-of-type a {
        -webkit-border-radius:0 0 5px 5px;
        -moz-border-radius:0 0 5px 5px;
        border-radius:0 0 5px 5px;
    }*/
    #footer div#socials {
        font-size: 2em;
        margin-bottom: 0.3em;
    }
}
