﻿/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

    blockquote:before, blockquote:after,
    q:before, q:after {
        content: '';
        content: none;
    }

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a {
    text-decoration: none;
    color: #419dc6;
    transition: color .25s ease-in-out;
    -moz-transition: color .25s ease-in-out;
    -webkit-transition: color .25s ease-in-out;
}

    a:hover {
        color: #0f6083;
    }

ul {
    padding: 0 0 0 20px;
    list-style: disc;
    line-height: 1.4;
    margin-left: 5px;
    margin-bottom: 10px;
}

sup {
    font-size: 0.6em;
}

hr {
    border: 0;
    border-top: solid 1px #ccc;
    height: 1px;
    width: 100%;
    margin: 20px 0;
}

body {
    background: #78c3e4 url('../img/bg.png') repeat-x;
    width: 980px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Open Sans', 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
    font-size: 16px;
    padding-bottom: 40px;
    color: #333;
}

header {
    font-family: 'Open Sans', 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
    padding: 10px;
    position: relative;
    margin-bottom: 5px;
    height: 100px;
}

    header .contact {
        position:absolute;
        top: 30px;
        right: 20px;
        font-size: 1.4em;
    }

    header .title {
        text-transform: uppercase;
        font-size: 1.6em;
        position: absolute;
        bottom: 10px;
        left: 20px;
        letter-spacing: 1px;
    }

        header .title a {
            color: #333;
        }

        header .title span {
            font-weight: bold;
        }

    header nav {
        text-transform: uppercase;
        position: absolute;
        bottom: 10px;
        right: 20px;
    }

        header nav ul {
            list-style: none;
            padding: 0;
        }

            header nav ul li {
                float: left;
            }

                header nav ul li.seperator {
                    width: 40px;
                    text-align: center;
                }

                /*header nav ul li:before {
            content: "/";
            display: block;
            float: left;
            font-size: 1.2em;
            width: 50px;
            text-align: center;
        }

        header nav ul li:first-child:before {
            content: "";
        }*/

                header nav ul li a {
                    letter-spacing: 1px;
                    color: #333;
                    text-decoration: none;
                }

                    header nav ul li a:hover {
                        border-bottom: solid 1px #333;
                    }

.banner {
    padding: 10px;
    width: 100%;
    background: #fff;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin-bottom: 10px;
    position: relative;
    font-size: 0.8em;
}

    .banner h1 {
        position: absolute;
        bottom: 10px;
        left: 10px;
        padding: 15px 25px;
        margin: 0;
        background: rgba(0, 0, 0, 0.5);
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        width: 960px;
        text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6);
        color: #fff;
    }

    .banner .text {
        width: 960px;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        padding: 20px;
        background: rgba(0, 0, 0, 0.5);
        text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6);
        color: #fff;
        text-align: center;
        position: absolute;
        bottom: 10px;
        left: 10px;
        font-size: 2.4em;
        line-height: 1.4;
        border-top: solid 1px #222;
    }

        .banner .text span {
            color: #78c3e4;
        }

    .banner img {
        width: 100%;
        display: block;
    }

.main {
    padding: 30px;
    width: 100%;
    background: #fff;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
}

h1, h2, h3, h4 {
    margin-bottom: 15px;
}

h1 {
    font-size: 3.0em;
}

h2 {
    font-size: 2.0em;
}

h3 {
    font-size: 1.8em;
}

h4 {
    font-size: 1.4em;
    margin-bottom: 10px;
}

p {
    line-height: 1.6;
    margin-bottom: 10px;
}

    p:last-of-type {
        margin-bottom: 0;
    }

.features {
    margin-top: 10px;
    overflow: hidden;
}

    .features .feature {
        background: #fff;
        width: 24.25%;
        margin-right: 1%;
        padding: 10px;
        float: left;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        color: #333;
    }

        .features .feature:hover img {
            -webkit-opacity: 0.7;
            -moz-opacity: 0.7;
            opacity: 0.7;
            transition: opacity .5s ease-in-out;
            -moz-transition: opacity .5s ease-in-out;
            -webkit-transition: opacity .5s ease-in-out;
        }

        .features .feature img {
            display: block;
        }

        .features .feature .text {
            margin: 10px 0 5px;
            text-align: center;
            font-weight: bold;
        }

        .features .feature:last-of-type {
            margin-right: 0;
        }


.services-row {
    display: table;
}

    .services-row .service {
        display: table-cell;
        width: 48%;
        margin-right: 2%;
        margin-bottom: 2%;
        /*float: left;*/
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        padding: 30px;
        margin: 10px;
        border: solid 1px #ccc;
        background: #eee;
    }

        .services-row .service img {
            width: 100%;
            margin: 8px 0 15px;
        }

.waysOfWorking {
    float: right;
    padding: 20px;
    background: #eee;
    border: solid 1px #ccc;
    margin-left: 30px;
    margin-bottom: 10px;
}

footer {
    margin-top: 10px;
    background: #fff;
    overflow: hidden;
    padding: 20px;
    font-size: 0.8em;
}

    footer .design {
        float: right;
    }

        footer .design a {
            color: #333;
        }

            footer .design a:hover {
                border-bottom: solid 1px #333;
            }
