* {
    box-sizing: border-box;
    -webkit-transition: all ease-in-out 0.25s;
       -moz-transition: all ease-in-out 0.25s;
         -o-transition: all ease-in-out 0.25s;
            transition: all ease-in-out 0.25s;
}


html, body {
    display: block;
    width: 100%;
    font-family: 'Roboto', sans-serif;
    padding: 0em;
    margin: 0em;
    color: #666;
    background: #fff;
    background-attachment: fixed;
    overflow-x: hidden;
    font-weight: 300;
}

a {
    color: #00aeef;
    text-decoration: none;
}

a:hover {
    color: #0076a3;
    text-decoration: underline;
}

a.auto {
    text-decoration: none!important;
    cursor: text!important;
    color: #666;
}

h1 a.auto{
    text-decoration: none!important;
    cursor: text!important;
    color: #666!important;
}

h2 a.auto, h3 a.auto, h4 a.auto, h5 a.auto, h6 a.auto{
    text-decoration: none!important;
    cursor: text!important;
    color: #666!important;
}


h2, h3, h4, h5, h6{
    color: #666;
}

h1 {
    font-size: 160%;
    margin: 0em;
    padding: 1em 3em;
    color: #666!important;
}

h2, h3 {
    clear: both;
    padding-top: 1em;
}
h2.left, h3.left, p.left {
    text-align: left;
}


em {
    font-style: italic;
}

aside {
    display: block;
    position: fixed;
    width: 100%;
    top: 0px;
    padding: 1em;
    text-align: right;
    background: white;
    z-index: 900;
    font-family: sans-serif;
    color: #ccc;
    height: 5em;
}

aside a {
    color: #ccc;
}

a.button {
    text-decoration: none!important;
}

button {
    background: #00aeef;
    box-shadow: 0em 0.25em 0.5em rgba(0,0,0,0.2);
    color: #fff;
    border: none;
    padding: 0.5em 1em;
    line-height: 1.5em;
    font-size: 110%;
    margin: 1em 1em 3em 0em;
    display: block;
    text-decoration: none!important;
}

button:hover {
    cursor: pointer;
    text-decoration: none!important;
    box-shadow: 0em 0.35em 1em rgba(0,0,0,0.1);
    background: #0076a3;
}

.mininav {
    position: fixed;
    background: #00aeef;
    width: 2em;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
    z-index: 992;
    left: 0%;
        -webkit-transition: all cubic-bezier(.79,.09,.62,1) 1s;
       -moz-transition: all cubic-bezier(.79,.09,.62,1) 1s;
         -o-transition: all cubic-bezier(.79,.09,.62,1) 1s;
            transition: all cubic-bezier(.79,.09,.62,1) 1s;
}

.mininav span {
    font-family: sans-serif;
    display: block;
    color: #fff;
    -ms-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    position: fixed;
    top: 50%;
    left: -0.3em;
    cursor: pointer;
    -webkit-transition: all cubic-bezier(.79,.09,.62,1) 1s;
       -moz-transition: all cubic-bezier(.79,.09,.62,1) 1s;
         -o-transition: all cubic-bezier(.79,.09,.62,1) 1s;
            transition: all cubic-bezier(.79,.09,.62,1) 1s;
}

.mininav.open {
    width: 100%;
    background: #0076a3;
}

.mininav.open span {
    color: #0076a3;
    left: 95%;
}

.mininav.goAway {
    background: #0076a3;
    width: 0px;
    left: 100%;
}

.mininav.goAway span {
    display: none;
}

.mininav.noColor {
    background: none transparent;
    width: 0px;
    left: 100%;
    -webkit-transition: all cubic-bezier(.79,.09,.62,1) 0.1s;
       -moz-transition: all cubic-bezier(.79,.09,.62,1) 0.1s;
         -o-transition: all cubic-bezier(.79,.09,.62,1) 0.1s;
            transition: all cubic-bezier(.79,.09,.62,1) 0.1s;
}

.mininav.hidden {
    background: none transparent;
    width: 0px;
    left: 0%
        -webkit-transition: all cubic-bezier(.79,.09,.62,1) 0.1s;
       -moz-transition: all cubic-bezier(.79,.09,.62,1) 0.1s;
         -o-transition: all cubic-bezier(.79,.09,.62,1) 0.1s;
            transition: all cubic-bezier(.79,.09,.62,1) 0.1s;
}

.mininav.hidden span {
    disply: block;
    left: -2.3em;
}

#menu {
    display: block;
    position: fixed;
    z-index: 993;
    width: 100%;
    height: 100%;
    background: #00aeef;
    left:-100%;
    overflow: hidden;
    -webkit-transition: all cubic-bezier(.79,.09,.62,1) 1s;
       -moz-transition: all cubic-bezier(.79,.09,.62,1) 1s;
         -o-transition: all cubic-bezier(.79,.09,.62,1) 1s;
            transition: all cubic-bezier(.79,.09,.62,1) 1s;
}

#menu .close {
    color: #fff;
    padding: 1em;
    cursor: pointer;
}

#menu.open {
    left: 0%;
}

#menu.goAway {
    left: 100%;
}

#menu.goAway ul li a {
    color: none transparent;
}

#menu.noColor {
    left: 100%;
    width: 0%;
    background: none transparent;
    -webkit-transition: all cubic-bezier(.79,.09,.62,1) 0.1s;
       -moz-transition: all cubic-bezier(.79,.09,.62,1) 0.1s;
         -o-transition: all cubic-bezier(.79,.09,.62,1) 0.1s;
            transition: all cubic-bezier(.79,.09,.62,1) 0.1s;
}

#menu.hidden {
    left:-100%;
    width: 0%;
    background: none transparent;
    -webkit-transition: all cubic-bezier(.79,.09,.62,1) 0.1s;
       -moz-transition: all cubic-bezier(.79,.09,.62,1) 0.1s;
         -o-transition: all cubic-bezier(.79,.09,.62,1) 0.1s;
            transition: all cubic-bezier(.79,.09,.62,1) 0.1s;
}

#menu ul {
    position: relative;
    text-align: center;
    left:0em;
    padding: 0em;
}

#menu ul li {
    clear: both;
    margin: 2em;
}

#menu ul li a {
    color: #fff;
    font-size: 150%;
}

header {
    width: 100%;
    margin: 0px auto;
    background: #fff;
    z-index: 998;
    position: relative;
    display: block;
    height: 5em;
}

header #logo {
    height: 3em;
    top: 1em;
    position: fixed;
    left: 3em;
    z-index: 991;
}

#intro {
    width: 100%;
    font-weight: 900;
    z-index: 997;
    clear: none;
    background: #ccc;
    padding: 4em 10em;
}

#slideshow {
    text-align: center;
    display: block;
    width: 100%;
    clear: both;
    padding: 2em 2em 1em 2em;
}

.slideshow {
    width: auto;
    display: inline-block;
}

.slidescontainer {
    width: 571px;
    height: 323px;
    overflow: hidden;
    display: block;
    box-shadow: 0em 0em 1em rgba(0,0,0,0.5);
}

#slides {
    height: 323px;
    width: 1713px;
    display: block;
    position: relative;
}

.slide1 .img1 {
    opacity: 1;
    z-index: 1;
}.slide1 .img2 {
    opacity: 0;
    z-index: -1;
}.slide1 .img3 {
    opacity: 0;
    z-index: -1;
}

.slide2 .img1 {
    opacity: 0;
    z-index: -1
}.slide2 .img2 {
    opacity: 1;
    z-index: 1;
}.slide2 .img3 {
    opacity: 0;
    z-index: -1;
}

.slide3 .img1 {
    opacity: 0;
    z-index: -1;
}.slide3 .img2 {
    opacity: 0;
    z-index: -1;
}.slide3 .img3 {
    opacity: 1;
    z-index: 1;
}

#slides img {
    position: absolute;
    left: 0em;
    top: 0em;
    -webkit-transition: all ease-in-out 1s;
       -moz-transition: all ease-in-out 1s;
         -o-transition: all ease-in-out 1s;
            transition: all ease-in-out 1s;
}

article {
    margin: 0px auto;
    position: relative;
    background: #fff;
    display: block;
}

section {
    display: block;
    width: 100%;
    margin: 0em auto;
    clear: both;
    width: 1100px;
}

#body {
    padding: 2em 4em;
}

#body img{
    margin: 1em auto;
    display: block;
}
#service img {
    margin: 1em;
    height: 200px;
}

#gallery img {
    float: left;
    margin: 1em;
    height: 200px;
}

.img {
    background-color: #ccc;
    width: 15em;
    height: 15em;
    background-size: auto 15em!important;
    background-position: center center!important;
    display: inline-block;
    margin: 2.5em;
}

.img::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: 0;
}

.img:hover {
    background-size: auto 16em!important;
}

.img:hover::after {
    opacity: 0.3;
    -webkit-transition: all ease-in-out 0.25s;
       -moz-transition: all ease-in-out 0.25s;
         -o-transition: all ease-in-out 0.25s;
            transition: all ease-in-out 0.25s;
}


ul.hide {
    list-style:none;
    clear: both;
}

ul.hide li {
    padding: 0.5em;
}

#closer {
    width: 100%;
    display: block;
    background: #fff;
}

#closer h3 {
    max-width: 1100px;
    margin: 0px auto;
    padding: 1em 3em;
    text-align: center;
    color: #666
}

#closer h3 a {
    color: #666!important;
}

footer {
    background: #ccc;
    width: 100%;
    margin: 0px auto;
    clear: both;
}

footer nav {
    border: 0px;
    background: #ccc;
    padding-bottom: 3em;
}



footer nav ul {
    display: block;
    float: none;
    width: 100%;
    clear: both;
    position: relative;
}
footer nav ul li a {
    color: #666;
    background: none transparent!important;
}

footer p {
    text-align: right;
    color: #666;
    margin: 0px;
    padding: 1em 1em 1em 3em;
}

footer p a {
    color: #666!important;
    
}

.spread {
    width: 100%;
    display: block;
    text-align: center;
}

.spread p, .spread span, .spread li, .spread div .spread a span, .spread img{
    display: inline-block!important;
    margin: 2em!important;
    float: none!important;
}

.spread a span {
    width: auto;
    margin-bottom: 2em;

}

@media (max-width: 1100px) {
    section, article, header, nav, footer, #intro{
        width: 100%;
    }
}

@media (max-width: 590px) {
    header {
        height: 17em;
    }
    
    header #logo {
        width: 80%;
        height: auto;
        position: relative;
    }
    
    #menu ul li {
        margin: 0em;
        padding: 0.5em!important;
    }
    
    #menu ul li a {
        text-align: center;
        padding: 0px;
    }
    
    aside {
        position: relative;
        text-align: left;
        margin-left: 0.5em;
        margin-top: 0em;
        font-size: 200%;
        height: auto;
    }
    
    aside a {
        clear: both;
        display: block;
    }
    
    #intro {
        padding: 1em 2em 1em 4em;
    }
    
    h1 {
        padding: 0em;
        text-align: left;
        font-size: 150%;
    }
    
    h1 a.tel {
        display: block;
    }
    
    #body img{
        width: 250px;
        clear: both;
        float: none;
        padding: 0px;
        margin: 0px;
    }
    
    .spread img, .spread div {
        margin: 1em 0px!important;
    }
    
    #closer h3 {
        text-align: left;
    }
}