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;
}

/* END RESET */

body{
    background: #fff;
    font-family: Helvetica, Arial, Sans-serif;
    font-size: 13px;
}

/* FONT STYLES*/
body{
    background: #fff;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 13px;
}

/* FONT STYLES*/
h3{
    font-size: 14px;
    font-family: Helvetica, Arial, sans-serif;
    color: #808080;
    margin-bottom: 25px;
}
h4{
    margin-bottom: 25px;
    font-size: 18px;
    font-family: Helvetica, Arial, sans-serif;
}
h5{
    font-size: 14px;
    font-family: Helvetica, Arial, sans-serif;
}
p{
    font-size: 13px;
    color: #555555;
    line-height: 18px;
}
a, a:link, a:visited{
    text-decoration: none;
    outline: none;
}
.gray{
    color: #808080;
}
.white{
    color: #fff;
}
strong{
    font-weight: bold;
}
/* END FONTS STYLES */

/* HEADER */
#header-wrap{
    padding-top: 10px;
}
header{
    width: 960px;
    margin: 0 auto;
    padding: 0;
}
header h2 a{
    display: block;
    text-indent: -999999px;
    background: url(images/logo.png) no-repeat;
    width: 214px;
    height: 90px;
    float: left;
    margin-bottom: 10px;
}

#contact{
    float: right;
    border-right: 1px solid #c8c8c8;
    padding-right: 25px;
    margin-top: 20px;
}
#contact h3{
    margin: 0;
}
#contact h4{
    text-align: right;
    margin: 0;
}


nav{
    clear: both;
    width: 960px;
    height: 50px;
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    background-color: #808080; /* Fallback */
    border-radius: 30px;
    /* Safari 4+, Chrome 1-9 */
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#808080), to(#808080));
    /* Safari 5.1+, Mobile Safari, Chrome 10+ */
    background-image: -webkit-linear-gradient(top, #808080, #808080);
    /* Firefox 3.6+ */
    background-image: -moz-linear-gradient(top, #808080, #808080);
    /* IE 10+ */
    background-image: -ms-linear-gradient(top, #808080, #808080);
    /* Opera 11.10+ */
    background-image: -o-linear-gradient(top, #808080, #808080);
    border: 1px solid #336c2b;
}

nav ul li{
    float: left;
    border-right: 1px solid #336c2b;
    border-left: 1px solid #78c368;
}
nav ul li.home{
    border-left: none;
    text-indent: -9999px;
    background: url(images/home.png) no-repeat 50% 50%;
}

nav ul li.last{
    border-left: none;
    border-right: none;
    float: right;
    margin-right: 20px;
}
nav ul li a{
    display: block;
    padding: 0 30px;
    height: 50px;
    line-height: 50px;
    font-size: 15px;
    color: #fff;
    text-shadow: 0 1px 0 #808080;
}
nav ul li a:hover{
    background: #808080;
}

nav ul li.home a:hover{
    -webkit-border-top-left-radius: 30px;
    -webkit-border-bottom-left-radius: 30px;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    background: #808080 url(images/home.png) no-repeat 50% 50%;
}

#container{
    width: 960px;
    text-align: center;
    margin: 0 auto;
}

/* SERVICE */
#service{
    margin: 40px auto;
    height: 253px;
    padding-top: 30px;
    background: url(images/service-bg.jpg) no-repeat;
}


#web{
    float: left;
    width: 450px;
    padding-left: 30px;
}
#web p{
    margin-bottom: 20px;
}
#web img{
    float: right;
    margin-right: 50px;

}
#vector{
    float: right;
    padding-left: 30px;
    width: 450px;
}

#vector p{
    margin-bottom: 20px;
}
#vector img{
    float: right;
    margin-right: 50px;

}

/* CLEAR FIX */
.group:after {
    content: "";
    display: table;
    clear: both;
}
/* END FIX */

/* VIEWPORT < 960px */

@media only screen and (max-width: 960px){
    header, nav #service, #container{ width: 768px; }

    a.next{
        right: 0px;
    }
    a.prev{
        right: 25px;
    }
    .pagination{
        left: 0;
    }

    #service{
        background: none;
        height: auto;
    }
}


/* VIEWPORT < 768px */
@media only screen and (max-width: 768px){
    header, nav, #service, #container{
        width: 524px;
    }
    nav ul li.last{
        display: none;
    }

    #service{
        height: auto;
    }
}

/* VIEWPORT < 524px */
@media only screen and (max-width: 524px){
    header, nav, #service, #container{
        width: 300px;
    }
    #contact{
        display: none;
    }
    header h2 a{
        width: 100%;
        background-position: center top;
    }
    nav{
        height: auto;
    }
    nav ul li{
        float: none;
        border: none;
        border-bottom: 1px solid #336c2b;
        border-top: 1px solid #78c368;
    }
    nav ul li.home{
        border-top: none;
    }
    nav ul li.last{
        display: block;
        border-bottom: none;
        width: 100%;
        margin: 0;
    }
    nav ul li.last div{
        margin-left: 15px;
    }
    nav ul li a{
        text-align: center;
    }
    nav ul li.home a:hover{
        -webkit-border-top-left-radius: 30px;
        -webkit-border-top-right-radius: 30px;
        -webkit-border-bottom-left-radius: 0;
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
        border-bottom-left-radius: 0;
        background: #808080 url(images/home.png) no-repeat 50% 50%;
    }

    #service{
        height: auto;
    }
}

#footer {
    border-top: 1px solid #c8c8c8;
}

