/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #fff;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    background: #b09e79;
    font: 16px/26px 'Raleway', Helvetica, Helvetica Neue, Arial, sans-serif;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

/* ===================
    ALL: Main Theme
   =================== */

.header-container {
    border-bottom: 0; /*20px solid #e44d26;*/
}

.footer-container,
.main aside {
    float: left;
    /*width: 100%;*/
    border-top: 0; /*20px solid #e44d26;*/
}

.header-container {
    background: #b09e79; /*#f16529;*/
}

.footer-container {
    background: #4f493d;
    width: 100%;
}

.title {
    color: white;
}

/* ==============
    MOBILE: Menu
   ============== */

nav ul {
    margin: 0;
    padding: 0;
}

nav a {
    /*display: block;*/
    margin-bottom: 10px;
    padding: 15px 0;

    text-align: center;
    text-decoration: none;
    font-weight: normal; /*bold;*/

    color: white;
    background: transparent; /*#e44d26;*/
}

nav a:hover,
nav a:visited {
    color: white;
}

nav a:hover, nav a.active {
    color: #e4d2ad;
    text-decoration: none; /*underline;*/
}

/* ==============
    MOBILE: Main
   ============== */

body.homepage .main {
    padding: 6px 0; /*30px 0;*/
}

.main article h1 {
    font-size: 2em;
}

.main aside {
    color: white;
    padding: 30px 10% 30px 10.3%; /*0px 5% 10px;*/
}

.footer-container footer {
    color: white;
    text-align: center;
    padding: 0; /*20px 0;*/
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

a:hover {
    color: #e4d2ad;
}


.logo {
    float: left;
    padding: 17px 0 25px;
}

.topnav {
    background: #998762;
    float: left;
    width: 100%;
}

.topinfo {
    background: url(../img/phone-img.png) no-repeat left center;
    float: right;
    padding-left: 7.1em;
    margin-top: 10px;
}
.topinfo ul {
	text-align:left;
}
.topinfo ul li {
    list-style: none;
    font-size: 18px;
    color: #665a43;
    line-height: 17px;
	display:block;
	margin-left:0;
	margin-right:0;
}
.topinfo ul li:first-child {
    margin-bottom: 10px;
}
.topinfo .numbers {
    font-size: 24px;
    color: #e4d2ad;
    font-weight: 600;
}

.nav-container {
    display: block;
}
nav ul {
    display: block;
    float: left;
    width: 100%;
    padding: 10px 0;
}
nav ul li {
    /*float: left;*/
    border-right: 1px solid #b09e79;
    padding: 0px 23px;
}
nav a {
    float: none;
    font-size: 18px;
}

.main-container {
    background: #a39372 url(../img/main-bg.jpg) no-repeat center top;
    float: left;
    width: 100%;
}
.main article.fullwidth {
    float: left;
    width: 100%;
}

* {
    margin:0;
    padding:0;
}
.sm {
    list-style: none;
    width: 100%; /*459px;*/
    height: 481px;
    display: block;
    overflow: hidden;
    margin: 0em;
}
.sm li {
    float: left;
    display: inline;
    overflow: hidden;
    height: 481px;
    position: relative;
}
.sm li.slide1 {
    background: #0f0f0f url(../img/slide1bg.jpg) no-repeat left center;
}
.sm li.slide2 {
    background: url(../img/slide2bg.jpg) no-repeat left center;
}
.sm li.slide3 {
    background: url(../img/slide3bg.jpg) no-repeat left center;
}
.sm li.slide4 {
    background: url(../img/slide4bg.jpg) no-repeat left center;
}
.sm li.slide5 {
    background: url(../img/slide5bg.jpg) no-repeat left center;
}
.sm li h4 {
    background: rgba(0, 75, 0, .7);
    font-size: 48px;
    color: #fff;
    font-weight: 200;
    text-transform: uppercase;
    position: absolute;
    bottom: -2.7em;
    left: 10px;
    line-height: 50px;
    padding: 15px;
    /*width: 90px;
    height: 100px;*/
    margin: 0px;
    -webkit-transform-origin: 0 0;
    -moz-transform-origin:    0 0;
    -ms-transform-origin:     0 0;
    -o-transform-origin:      0 0;
    -webkit-transform: rotate(270deg); 
    -moz-transform:    rotate(270deg); 
    -ms-transform:     rotate(270deg); 
    -o-transform:      rotate(270deg); 
}

.mainbottom {
    background: rgba(126, 112, 85, .5);
    display: block;
    width: 100%;
}
.mainbottom ol, ul {
    list-style: none;
    padding: 0px;
}
.mainbottom ol li {
    display: inline-block;
    font-size: 15px;
    color: #fff;
    font-weight: normal;
    line-height: 20px;
    margin-right: 20px;
}
.mainbottom ol.bottomcontent a {
    color: #e4d2ad;
    text-decoration: none;
}
.mainbottom ol li:last-child {
    margin-right: 0px;
}
.mainbottom ol li .title {
    display: block;
    font-size: 21px;
    color: #e4d2ad;
    font-weight: 500;
    width: 100%;
    line-height: 24px;
}

li.infos {
    width: 19%;
    float: left;
}

li.twitter {
    float: left;
    width: 41%;
    height: 130px;
    overflow: hidden;
    margin-bottom: 30px;
    display: block;
}
li.twitter ol {
    margin: 0em 0;
}
.tweet img.avatar {
    display: none;
}

li.social {
    display: block;
    float: right;
    width: 13.2%;
}
.social a.social1 {
    background: transparent url(../img/facebookico.png) scroll no-repeat 0 0;
    display: block;
    float: left;
    margin-right: 5px;
    height: 58px;
    width: 58px;
}
.social a.social1:hover {
    background: transparent url(../img/facebookico.png) scroll no-repeat 0 -58px;
    display: block;
    height: 58px;
    width: 58px;
}
.social .social2 {
    background: transparent url(../img/twitterico.png) scroll no-repeat 0 0;
    display: block;
    float: right;
    height: 58px;
    width: 58px;
}
.social a.social2:hover {
    background: transparent url(../img/twitterico.png) scroll no-repeat 0 -58px;
    display: block;
    height: 58px;
    width: 58px;
}

footer p {
    display: block;
    font-size: 13px;
    color: #a89c84;
    text-transform: uppercase;
    padding: 10px 0;
    margin: 0;
}
footer a {
    color: #a89c84;
    font-weight: 600;
    text-decoration: none;
}


/*** Inner pages ***/

.maincontent {
    background: #b09e79;
    float: left;
    font-weight: 300;
    margin: 20px 0;
    
    /*display: -moz-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    
    /*-moz-box-align: stretch;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    -webkit-align-items: stretch;
    align-items: stretch;*/
}
body.contactus .maincontent {
    margin: 20px 0 0px;
}
.main article {
    margin: 30px;
    padding: 35px;
    float: left;
}
.main .maincontent h1, .fullwidth h1 , .gallery .main article h1 {
    font-size: 48px;
    color: #e4d2ad;
    font-weight: 300;
    margin: .3em 0 .67em;
}
.gallery .main article h1 {
    margin-bottom:0;
}
.maincontent h4 {
    font-size: 24px;
    font-weight: 500;
    margin: .3em 0 .67em;
}
.maincontent a {
    color: #e4d2ad;
    text-decoration: none;
}
.maincontent a:hover {
    color: #fff;
}

.maincontent ol {
    padding:  0;
    margin: 0;
}

.linksmain .left {
    margin-right: 6%;
}
.linksmain .bolder, .clirefer .bolder {
    font-weight: 600;
}

.main aside {
    background: #998762;
}
.main aside.contactus {
    background: transparent;
}
aside h3 {
    font-size: 24px;
    color: #e4d2ad;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0 0 1em;
}
aside .rightlist li {
    background: transparent url(../img/checked.png) no-repeat left 10px;
    font-weight: 500;
    padding-left: 25px;
}

form.contact {
    float: left;
    width: 100%;
}
form.contact input, form.contact textarea, form.contact select {
    background: #bdab87;
    font-family: 'Raleway', sans-serif;
    color: #e4d2ad;
    font-size: 21px;
    font-weight: 200;
    border: none;
    margin: 0 0 10px;
    outline: medium none;
    padding: 10px 10px 10px 25px;
    box-sizing: border-box;
    -moz-box-sizing: padding-box;
}
form.contact .field1, form.contact .address {
    width: 100%;
}
form.contact .field2, form.contact .field3, form.contact .field4, form.contact .field5 {
    width: 49%;
}
form.contact .field2, form.contact .field4 {
    float: left;
    margin-right: 10px;
}
form.contact button {
    background: #4f493d;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    border: none;
    margin: 0 0 10px;
    outline: medium none;
    padding: 16px 25px;
}
form.contact button:hover {
    background: #998762;
    color: #fff;
}
form.contact button.left {
    margin-right: 5px;
}

.googlemap {
    height: 175px;
    float: left;
    width: 100%;
    margin-bottom: 45px;
}

body.gallery article.fullwidth {
    background: #b09e79;
    margin: 20px 0;
    padding: 0px;
    box-sizing: border-box;
    -moz-box-sizing: padding-box;
}

.clirefer .bottomcoment {
    display: block;
    float: left;
    width: 100%;
    margin-bottom: 10px;
}

.image-set {
text-align:center;
}

/*********************
 * Image Gallery css *
********************/*

#xofpp, #closeBoxpp, #playpp, #stoppp, #imageTitlepp{
    cursor:pointer;
    margin:0 10px;
    color:white;
    float:left;
}
#nextButtonBoxpp, #previousButtonBoxpp, #xofpp{
    cursor:pointer;
    margin:0 10px;
    color:white;
    float:right;
}
#gallery, #gallery ul{
    list-style:none;
    margin:0 auto;
    padding:0;
    width: 90%;
}
#gallery li{
    margin:10px 10px;
    padding:5px;
    float:left;
    list-style:none;
    cursor:pointer;
    height:100px;
}
#gallery img{
    border:2px white solid;
}
#coverpp, #instructionspp, .ui-corner-all {
    font-size: 12px;
}
.gallery article section, .gallery article header {
	padding:35px;
}
.gallery article header {
	padding-bottom:0;
}

body.client_references .main article {
    /*margin: 30px;*/
    box-sizing: border-box;
    -moz-box-sizing: padding-box;
}
.clirefer .left, .clirefer .right {
    list-style: none;
    /*width: 76%;*/
    box-sizing: border-box;
    -moz-box-sizing: padding-box;
}
.clirefer .left {
    float: left;
    margin-bottom: 25px;
}
.clirefer .right {
    float: right;
    margin: 0 10px 25px 0;
}
.main article .clirefer img {
	float:none;
	margin:0;
	width:auto;
	-webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
	display:block;
}
.clirefer li.left, .clirefer li.right {
    position: relative;
    background: #a39372;
    text-align: left;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 10px 35px;
    z-index: 1;
}
.clirefer li.left:after, .clirefer li.right:after {
    left: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.clirefer li.left:after, .clirefer li.right:after {
    border-color: rgba(163, 147, 114, 0);
    border-left-color: #a39372;
    border-width: 15px;
    top: 30%;
    margin-top: -30px;
}




/* ==========================================================================
   Media Queries
   ========================================================================== */

@media screen and (min-width: 320px) {

    .logo {
        float: none;
    }
    .logo img {
        display: block;
        height: auto;
        margin: 0 auto;
    }
    .topinfo {
        display: block;
        float: none;
        padding: 5px 0 5px 0;
        margin-left: auto;
        margin-right: auto;
		margin-top:0;
		background:0;
    }
	.topinfo ul {
		text-align:center;
	}
	.topinfo ul li {
		display:inline-block;
		margin:0 3%;
	}

    a.smllink {
        font-size: 9pt;
    }
    
/* ====================
    INTERMEDIATE: Menu
   ==================== */
    
    nav ul li {
        /*width: 100%;*/
        border-right: none;
    }
    nav ul li:hover {
        background: #4f493d;
    }
    nav a {
        display: block;
        float: none;
        /*width: 100%;*/
        text-align: center;
        padding: 8px 0%;
        margin-bottom: 0;
    }

    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }

/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav ul li {
        /*display: inline;*/
    }

    .oldie nav a {
        margin: 0 0.7%;
    }
    
    section.slider {
        position: relative;
        min-height: 500px;
    }
    .sm {
        transform: rotate(90deg);
        -ms-transform: rotate(90deg); /* IE 9 */
        -webkit-transform: rotate(90deg); /* Safari and Chrome */
        position: absolute;
        margin-top: 0px;
        height: 320px;
        width: 100%;
        bottom: 5em;
        left: 0;
    }
    .sm li {
        height: 320px;
        max-width: 50px;
		min-width:50px
    }
    .sm li.slide1 h4 {
        font-size: 36px;
        bottom: -3.6em;
    }
    .sm li.slide2 h4, .sm li.slide3 h4, .sm li.slide4 h4, .sm li.slide5 h4 {
        font-size: 36px;
        line-height: 1em;
        bottom: -1.8em;
    }
    .borderBoxpp img {
        width: 55%;
        height: auto;
    }
    
    .main .maincontent h1 {
        line-height: 50px;
    }
    
    .main article {
        padding: 35px;
    }
    body.homepage .main article.fullwidth {
        padding: 0px;
    }
    
    .main aside {
        width: 80%;
    }
    .main article {
        margin: 0px;
    }
    body.client_references .main article {
        padding: 10px;
    }
    .main article img {
        width: 95%;
        height: auto;
    }  
    body.client_references .main aside {
        width: 80%;
    }
    body.client_references .main aside img {
        width: 100%;
        height: auto;
    }
    .main aside img {
        width: 100%;
        height: auto;
    }
    
    .clirefer {
        float: left;
        box-sizing: border-box;
        -moz-box-sizing: padding-box;
    }
    .clirefer li.left, .clirefer li.right {
        padding: 20px;
        z-index: 1;
    }
    .clirefer .left, .clirefer .right {
        float: none;
        width: 80%;
        box-sizing: border-box;
        -moz-box-sizing: padding-box;
    }
    
    form.contact .field2, form.contact .field3, form.contact .field4, form.contact .field5 {
        width: 100%;
    }
    form.contact .field1, form.contact .address {
        width: 100%;
    }
    
    .linksmain .left,
    .linksmain .right {
        width: 97%;
        list-style: none;
    }
    
    /*.ui-corner-all {
        width: 100% !important;
    }*/
    
    .mainbottom li.infos, .mainbottom li.twitter {
        display: initial;
        width: 100%;
        text-align: center;
    }
    .mainbottom li.social {
        float: none;
        width: 44%;
        margin-left: 30%;
        margin-right: 30%;
    }


}


@media screen and (min-width: 480px) {

    .logo {
        float: none;
    }
    .logo img {
        display: block;
        height: auto;
        margin: 0 auto;
    }
    .topinfo {
        display: block;
        float: none;
        padding: 5px 0 5px 0;
        margin-left: auto;
        margin-right: auto;
		margin-top:0;
		background:0;
    }
	.topinfo ul {
		text-align:center;
	}
	.topinfo ul li {
		display:inline-block;
		margin:0 3%;
	}

    nav ul li {
        /*width: 100%;*/
        border-right: none;
    }
    nav a {
        display: block;
        float: none;
        /*width: 27%;*/
        text-align: center;
        margin: 0; /*0 1.7%;*/
        margin-bottom: 0;
    }

    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }

    .oldie nav a {
        margin: 0 0.6%;
    }
    
    .sm {
        height: 461px;
        
        bottom: 0em;
        left: 0;
    }
    .sm li {
        height: 461px;
        min-width: 80px;
    }
    
    .main aside {
        width: 80%;
    }
    
    .mainbottom li.infos, .mainbottom li.twitter {
        display: initial;
        width: 100%;
        text-align: center;
    }

    .mainbottom li.twitter {
    display:block;
    }
    .mainbottom li.social {
        float: none;
        width: 29%;
        margin-left: 35%;
        margin-right: 35%;
    }
	.main article .clirefer img {
		float:left;
		margin:5px 10px 5px 0;
	}


}


@media screen and (min-width: 640px) {

    .logo {
        float: left;
        padding: 17px 0 25px;
    }
    .logo img {
        width: 92%;
        height: auto;
    }
    
    .topinfo {
        background: url(../img/phone-img.png) no-repeat left center;
        float: right;
        padding-left: 7.1em;
        margin-top: 10px;
         margin-left: 0;
        margin-right: 0;
    }
	.topinfo ul {
		text-align:left;
	}
	.topinfo ul li {
		display:block;
		margin-left:0;
		margin-right:0;
	}
    .topinfo ul li, .topinfo ul li .numbers {
        font-size: 99%;
    }
    
    nav ul li {
        display: inline;
        padding: 0px 10px;
        float: left;
        border-right: 1px solid #b09e79;
    }
    nav ul li:hover {
        background: transparent;
    }
    
    nav a {
        display: initial;
        font-size: 90%;
        margin: 0;
        padding: 0;
    }
    
    section.slider {
        min-height: 460px;
    }
    .sm {
        transform: rotate(0deg);
        -ms-transform: rotate(0deg); /* IE 9 */
        -webkit-transform: rotate(0deg); /* Safari and Chrome */
        height: 461px;

        left: 0em;
    }
	.sm li {
        max-width: 50%;
    }
    .sm li h4 {
        font-size: 40px;
        bottom: -2.6em;
        left: 8px;
        line-height: 45px;
        padding: 7px;
    }
    .sm li.slide1 h4 {
        bottom: -2.9em;
    }
    .sm li.slide2 h4, .sm li.slide3 h4, .sm li.slide4 h4, .sm li.slide5 h4 {
        bottom: -1.4em;
    }
    
    .clirefer .left, .clirefer .right {
        width: 76%;
        box-sizing: border-box;
        -moz-box-sizing: padding-box;
    }
    
    .mainbottom ol li {
        font-size: 14px;
        margin-right: 14px;
    }
    .mainbottom li.infos {
        width: 20%;
        text-align: left;
    }
    .mainbottom li.twitter {
        width: 55%;
        text-align: left;
		margin-right:0;
      /*  display: none; */
    }
    .mainbottom li.social {
        width: 21.2%;
        float: right;
        margin-left: 0%;
        margin-right: 0%;
    }
    
    .main article {
        margin: 0px;
        padding: 35px;
    }
    body.homepage .main article {
        margin: 0px;
        padding: 0px;
        float: left;
    }
    .main aside {
        width: 80%;
        /*float: none;*/
    }
    
    .main article img {
        /*width: 100%;
        height: auto;*/
    }
    .main aside img {
        width: 100%;
        height: auto;
    }
    
    form.contact .field2, form.contact .field3, form.contact .field4, form.contact .field5 {
        width: 49%;
    }
    form.contact .field1, form.contact .address {
        width: 100%;
    }
    
    .linksmain .left,
.linksmain .right {
        float: left;
        width: 47%;
    }
    
    body.client_references .main article {
        padding: 20px 30px;
        box-sizing: border-box;
        -moz-box-sizing: padding-box;
    }
    .clirefer .left {
        float: left;
        margin-bottom: 25px;
    }
    .clirefer .right {
        float: right;
        margin: 0 10px 25px 0;
    }


}

/*@media screen and (-webkit-min-device-pixel-ratio:0) and (min-width: 640px) {
    body.client_references .main aside {
        width: 43%;
    }
}*/


@media screen and (min-width: 768px) {

/* ====================
    WIDE: CSS3 Effects
   ==================== */

    .header-container,
    .main aside {
        /*-webkit-box-shadow: 0 5px 10px #aaa;
           -moz-box-shadow: 0 5px 10px #aaa;
                box-shadow: 0 5px 10px #aaa;*/
    }
    
    .logo img {
        width: 96%;
        height: auto;
    }

/* ============
    WIDE: Menu
   ============ */

    .title {
        float: left;
    }

    nav {
        float: left; /*right;*/
        width: 100%; /*38%;*/
    }
    nav ul li {
        padding: 0px 15px;
    }
    nav a {
        margin: 0;
        padding: 0;
    }

/* ============
    WIDE: Main
   ============ */

    .maincontent {
        display: -moz-box;
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        
        -moz-box-align: stretch;
        -webkit-box-align: stretch;
        -ms-flex-align: stretch;
        -webkit-align-items: stretch;
        align-items: stretch;
    }
   
    .main article {
        float: left;
        width: 57%;
    }

    .main aside {
        float: right;
        width: 39%;
		padding:30px 2%;
    }
    .sm li.slide2 h4,
    .sm li.slide3 h4,
    .sm li.slide4 h4,
    .sm li.slide5 h4 {
        line-height: 1em;
        bottom: -1.4em;
    }
    
    li.infos {
        width: 18%;
    }
    li.twitter {
        width: 39%;
    /*    display: none; */
    }
    li.social {
        width: 17.6%;
    }
    .sm {
        height: 461px;
        /* width: 103%; */
        left: 0em;
    }
	.sm li {
        max-width: 50%;
    }
    
    body.client_references .main aside {
        width: 43%;
    }
    .main article img {
        /*width: 100%;
        height: auto;*/
    }
    .main aside img {
        width: 100%;
        height: auto;
    }
    
    form.contact .field2, form.contact .field3, form.contact .field4, form.contact .field5 {
        width: 48.6%;
    }

    
}


@media screen and (min-width: 960px) {
    
    .logo img {
        width: 100%;
        height: auto;
    }
    .topinfo ul li {
        font-size: 18px;
    }
    .topinfo ul li .numbers {
        font-size: 24px;
    }
    nav ul li {
        padding: 0px 15px;
    }
    nav a {
        font-size: 18px;
        margin: 0;
        padding: 0;
    }    
    .sm {
        width: 100%;
    }
    .sm li h4 {
        bottom: -3.3em;
        left: 10px;
        line-height: 50px;
        padding: 15px;
    }
    .sm li.slide2 h4,
    .sm li.slide3 h4,
    .sm li.slide4 h4,
    .sm li.slide5 h4 {
        line-height: 1em;
        bottom: -1.8em;
    }
    
    .mainbottom ol li {
        font-size: 16px;
    }
    
    .mainbottom li.twitter {
        width: 55%;
		margin-right:0;
      /*  display: none; */
    }
    .mainbottom li.social {
        width: 14.3%;
    }
    
    .main article img {
        /*width: 100%;
        height: auto;*/
    }
    .main aside img {
        width: 100%;
        height: auto;
    }
    
    form.contact .field2, form.contact .field3, form.contact .field4, form.contact .field5 {
        width: 48.9%;
    }
    
}


@media screen and (min-width: 1024px) {

    nav ul li {
        padding: 0px 20px;
    }
    nav a {
        margin: 0;
        padding: 0;
    }
	/*
    .sm {
        width: 101%;
    }
	*/
    .sm li {
        /*max-width: 180px;*/
    }
    
    /*form.contact .field2, form.contact .field3, form.contact .field4, form.contact .field5 {
        width: 42.3%;
    }*/
    
}

@media screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 960px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
    
    nav a {
        margin: 0 1px; /*0 1.7%;*/
        padding: 10px 0%;
        margin-right: 1px;
    }
    nav ul li {
        padding: 0px 23px;
    }
    
    /*.main aside {
        -moz-flex-box: 1;
        -webkit-flex-box:1;
        -ms-flex: 1;
        -webkit-flex: 1;
        flex: 1;
    }*/
    
    
    .mainbottom li.social {
        width: 13.2%;
    }
    
    .maincontent {
    display: -moz-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    }
}



/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}