@charset "utf-8";
/*** CSS3 code | Bálint Baár | 2014 @ 8 Ways Media SA | www.8ways.ch ***/

/* clearfix */
.clr:before,
.clr:after { content: " "; display: table; }
.clr:after { clear: both; }
.clr { *zoom: 1;  }

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

/* * * * * * * * * B O D Y * * * * * * * * */
div#edit_popup legend{
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: -moz-use-text-color -moz-use-text-color #EEEEEE;
    border-image: none;
    border-style: none none solid;
    border-width: 0 0 1px;
    color: #333333;
    display: block;
    font-size: 19.5px;
    line-height: 36px;
    margin-bottom: 27px;
    padding: 0;
    width: 100%;
}

div#edit_popup label{
    display:block;
    float:left;
    padding-top:5px;
    margin-bottom:5px;
    margin-right:10px;
    text-align:right;
    width:140px;
    font-size:13px;
    line-height:25px;
    color:#333333;
    font-weight:normal;
}
div#edit_popup input{
    display:inline-block;
    float:left;
    width:210px;
    height:25px;
    padding:4px;
    line-height:25px;
    background-color:#FFFFFF;
    color:#555555;
    margin-bottom:15px;
    /* borders */
    border:1px solid #CCCCCC;
    border-radius:5px;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    /* box-shadow */
    box-shadow:0px 1px 1px rgba(0, 0, 0, 0.075) inset;
    -moz-box-shadow:0px 1px 1px rgba(0, 0, 0, 0.075) inset;
    -webkit-box-shadow:0px 1px 1px rgba(0, 0, 0, 0.075) inset;
    /* transition */
    transition:border 0.2s linear 0s, box-shadow 0.2s linear 0s;
    -moz-transition:border 0.2s linear 0s, box-shadow 0.2s linear 0s;
    -o-transition:border 0.2s linear 0s, box-shadow 0.2s linear 0s;
    -webkit-transition:border 0.2s linear 0s, box-shadow 0.2s linear 0s;
}
div#edit_popup input:focus{
    border-color: rgba(82, 168, 236, 0.8);
    /* box-shadow */
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(82, 168, 236, 0.6);
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(82, 168, 236, 0.6);
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(82, 168, 236, 0.6);
    outline: 0 none;
}

body {
	background: #FFFFFF;
	/* iPhone bugfix */
	-webkit-text-size-adjust:100%;
}

/* * * * * * * * * H E A D E R * * * * * * * * */

header#header {
	position: fixed;
  top: 0px;
  left: 0px;
    background-color: #FFFFFF;
	z-index: 3;
}

	.idevice header#header {
		/* bugfix */
		-webkit-transform: translateZ(3px);
		-moz-transform: translateZ(3px);
		-o-transform: translateZ(3px);
		transform: translateZ(3px);
	}

    header#header .header-green{
        position: absolute;
        top: 0px;
        left: 0px;
        width: 50%;
        height: 100%;
        background-color: #9BBA5E;
        z-index: -1;
    }
    header#header .col-big{
        background-color: #FFFFFF;
    }
		nav#logo {
			float: left;
		}
            nav#logo *{
                display: block;
            }
		nav#main_menu{
			float: right;
		}
            nav#main_menu ul{
                /* transition */
                -moz-transition:linear 0.3s;
                -webkit-transition:linear 0.3s;
                -o-transition:linear 0.3s;
                transition:linear 0.3s;
            }
                nav#main_menu li{
                    background-color: #FFFFFF;
                    float: left;
                    list-style: none;
                }
                    nav#main_menu li a{
                        font-family: Arial, Helvetica, sans-serif;
                        text-decoration: none;
                        text-transform: uppercase;
                    }

                nav#main_menu li.hamburger a{
                    position: absolute;
                    top: 0px;
                    right: 0px;
                    display: block;
                    background: url(../img/grid/hamburger.png) no-repeat center center;
                    width: 55px;
                    height: 55px;
                    text-indent: 9999px;
                    overflow: hidden;
                }


/* * * * * * * * * C O N T E N T * * * * * * * * */

/* Backgrounds */
#bg{
	top: 65px;
	left: 0px;
	right: 0px;
	height: 100%;
	position: fixed;
	z-index: 1;
}
.idevice #bg,
.idevice #bg *{
	/* bugfix */
	-webkit-backface-visibility: hidden;
	-webkit-transform: translate3d(0,0,0);
	-moz-transform: translate3d(0,0,0);
	-o-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

	#bg .bg01,
	#bg .bg02{
		background-color: transparent;
		background-repeat: no-repeat;
		background-position: center center;
		left: 0;
		position: absolute;
		right: 0;
		top: 0;
		/* bugfix */
		-webkit-background-size: cover;
		background-size: cover;
	}

	#bg .bg01{
		background-image: url(../img/content/bg01.jpg);
		height: 638px;
	}
	#bg .bg02{
		background-image: url(../img/content/bg02.jpg);
		height: 265px;
	}

/* -- Main page -- */

main#main{
	position: relative;
	z-index: 2;
}

	.idevice main#main{
		/* bugfix */
		-webkit-transform: translateZ(2px);
		-moz-transform: translateZ(2px);
		-o-transform: translateZ(2px);
		transform: translateZ(2px);
	}

    /* Welcome */

    #welcome{
        text-align: center;
  margin-top: 65px;
    }
        #welcome .col-big div{
            position: absolute;
            width: 100%;
        }
        #welcome img{
            display: block;
        }
        #welcome h2{
            font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
            font-style: italic;
            font-weight: normal;
            color: #FFFFFF;
        }
        #welcome p{
            color: #5F6C40;
        }
            #welcome small{
                font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
                font-style: italic;
                color: #FFFFFF;
                letter-spacing: 0px;
            }

    /* Scroll Down */

    #scrolldown{

    }
        #scrolldown a{
            position: absolute;
            display: block;
            background: #9BBA5E url(../img/grid/icon-down.png) no-repeat center center;
        }
            #scrolldown:hover a,
            #scrolldown a:hover{
                background-color: #B9CE8B;
            }
        #scrolldown p{
            font-family: Arial, Helvetica, sans-serif;
            color: #FFFFFF;
            text-align: center;
            text-transform: uppercase;
        }

    /* Gallery */

    #gallery{
        padding: 10px 0;
    }
        #gallery .gallery-img {
            height: 440px;
            position: relative;
            overflow: hidden;
            float: left;
        }
			.gallery-img div.img-holder{
				left: 50%;
				position: absolute;
				text-align: center;
				top: 50%;
				vertical-align: middle;
			}
				.gallery-img div.img-holder img{
					display: inline;
					line-height: 100%;
					max-height: 100%;
					max-width: 100%;
					min-height: 50%;
					min-width: 50%;
					vertical-align: middle;
				}
            .gallery-img div.text-holder{
                position: absolute;
                top: 0px;
                left: 0px;
                width: 100%;
                background-color: rgba(255,255,255,0.9);
                opacity: 0;
                filter:alpha(opacity=0);
                cursor: pointer;
                text-align: center;
                /* transition */
                -moz-transition:linear 0.3s;
                -webkit-transition:linear 0.3s;
                -o-transition:linear 0.3s;
                transition:linear 0.3s;
            }
            .gallery-img:hover div.text-holder{
                opacity: 1;
                filter:alpha(opacity=100);
            }
                .gallery-img div.text-holder article{
                    display: inline-block;
                    vertical-align: middle;
                    line-height: normal;
                    text-align: center;
                }
                    .gallery-img article p.title{
                        font-family: Arial, Helvetica, sans-serif;
                        color: #9bba5e;
                        font-style: normal;
                        text-transform: uppercase;
                    }
                        .gallery-img article p.title img{
                            width: auto;
                        }
                    .gallery-img article span{
                        display: inline-block;
                        color: #9bba5e;
                        letter-spacing: 5px;
                    }
                    .gallery-img article p{
                        font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
                        font-style: italic;
                        color: #1e1e1e;
                    }
                    ul.icons{
                        text-align: center;
                        padding: 0px;
                    }
                        ul.icons li{
                            display: inline-block;
                        }
                            ul.icons li a{
                                display: block;
                                background-color: #9BBA5E;
                                background-position: center center;
                                background-repeat: no-repeat;
                                text-indent: -9999px;
                                overflow: hidden;
                            }
                                ul.icons li a.icon-share{
                                    background-image: url(../img/grid/icon-link.png);
                                }
                                ul.icons li a.icon-eye{
                                    background-image: url(../img/grid/icon-eye.png);
                                }
                                ul.icons li a:hover{
                                    background-color: #B9CE8B;
                                }

                    .gallery-img.center div.text-holder{
                        opacity: 1;
                        filter:alpha(opacity=100);
                        cursor: default;
                    }
                        .gallery-img.center p{
                            color: #1e1e1e;
                        }

                        .overflow {
                            overflow: hidden;
                        }

    /* Partners */

    #partners{}
        #partners nav ul{
            padding: 0px;
            text-align: center;
        }
            #partners nav ul li{
                list-style: none;
            }
                #partners nav ul li,
                #partners nav ul li a{
                    display: inline-block;
                    /* transition */
                    -moz-transition:linear 0.2s;
                    -webkit-transition:linear 0.2s;
                    -o-transition:linear 0.2s;
                    transition:linear 0.2s;
                }
                #partners nav ul li a{

                }
                    #partners nav ul li img,
                    #partners nav ul li a img {
                        display: inline-block;
                        vertical-align: middle;
                        line-height: normal;
                        max-width: 100%;
                        /* transition */
                        -moz-transition:linear 0.2s;
                        -webkit-transition:linear 0.2s;
                        -o-transition:linear 0.2s;
                        transition:linear 0.2s;
                    }
                #partners nav ul li:hover img{
                    opacity: 0.6;
                    filter: alpha(opacity=60);
                }

/* -- Subpages -- */

    /* Subpage header */

    #subpage-header{
margin-top: 65px;
}
        #subpage-header h2{
            font-family: Arial, Helvetica, sans-serif;
            color: #FFFFFF;
            font-weight: normal;
            text-align: center;
            text-transform: uppercase;
        }

    /* Subpage subline */

    #subpage-subline{
        text-align: center;
    }
        #subpage-subline p{
            display: inline-block;
            font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
            color: #ffffff;
            font-style: italic;

        }
        #subpage-subline p span{
            display: inline-block;
            vertical-align: middle;
            background-color: #FFFFFF;
        }

    /* Services */

    ul#services-slider{

    }
        #services-slider li{
            float: left;
            list-style: none;
        }

        /* Our Work */

        #our-work{

        }
        #our-work ul li{
            float: left;
            list-style: none;
        }
            #our-work ul li figure{
                position: relative;
                overflow: hidden;
                cursor: pointer;
            }
            #our-work ul li figure div{
                position: absolute;
                top: 0px;
                left: 0px;
                width: 100%;
                height: 100%;
                text-align: center;
                background-color: rgba(255,255,255,0.9);
                opacity: 0;
                filter: alpha(opacity=0);
                /* transition */
                -moz-transition:linear 0.3s;
                -webkit-transition:linear 0.3s;
                -o-transition:linear 0.3s;
                transition:linear 0.3s;
            }
                #our-work ul li figure div ul{
                    display: inline-block;
                    vertical-align: middle;
                    line-height: normal;
                }
            #our-work ul li figure:hover div{
                opacity: 1;
                filter: alpha(opacity=100)
            }

            /* Quote */

            #quote{

            }

                #quote blockquote{
                    padding: 1% 5%;
                    background: url(../img/grid/quote.png) no-repeat top left;
                    font-size: 18px;
                    line-height: 22px;
                    color: #FFFFFF;
                }
                    #quote blockquote p{
                        font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
                        font-style: italic;
                    }
                    #quote blockquote small{
                        float: right;
                        margin-top: 10px;
                    }

            /* Form */

            .textfield,
            .textarea{
				background-image: none;
                float: left;
                display: block;
                margin: 10px;
                border: 1px solid #1E1E1E;
                font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
                font-style: italic;
				-webkit-appearance: none;
                /* borders */
                border-radius: 5px;
                -moz-border-radius: 5px;
                -webkit-border-radius: 5px;
				/* box-shadow */
				-moz-box-shadow: none;
				-webkit-box-shadow: none;
				box-shadow: none;
            }

            .textfield{
                padding: 0px 20px;
				outline: none;
            }

            .textarea{
                padding: 20px;
				outline: none;
            }
                .textfield:focus,
                .textarea:focus{
                    border-color: #9BBA5E;
                }
            .textfield.error,
            .textarea.error{
                border-color: #dd4848;
                color: #dd4848;
            }
            p.error,
            p.success{
                display: block;
                height: 45px;
                line-height: 45px;
                width: 100%;
                font-family: "Palatino Linotype","Book Antiqua",Palatino,serif;
                font-style: italic;
                font-size: 14px;
                color: #FFFFFF;
                text-align: center;
            }
                p.error{ background-color: #dd4848; }
                p.success{ background-color: #9BBA5E; }

        .iframe{
			background-color: #FFFFFF;
            position: relative;
            overflow: hidden;
        }
            #iframe-layer{
                position: absolute;
                width: 100%;
                height: 100%;
                top: 0px;
                left: 0px;
            }
            .iframe iframe{
                width: 100%;
            }
            .iframe-click{
                display: none;
                position: absolute;
                width: 100%;
                height: 100%;
                top: 0px;
                left: 0px;
                background: url(../img/grid/mapbox.png) no-repeat top center;
            }

    /* Projects */

    .slider-container.projects-slider{
        overflow: hidden;
        position: relative;
    }
    #projects-slider{
        width: 10000%;
    }
        #projects-slider li{
            float: left;
            list-style: none;
        }
     ul.projects-slider.slider-arrows{
         display: block;
     }
         ul.projects-slider.slider-arrows li{
            list-style: none;
         }
            ul.projects-slider.slider-arrows li a{
                position: absolute;
                display: block;
                text-indent: -9999px;
                overflow: hidden;
                background-color: #9BBA5E;
                background-repeat: no-repeat;
                background-position: center center;
             }
                ul.projects-slider.slider-arrows li a:hover{
                    background-color: #748948;
                }
                ul.projects-slider.slider-arrows li.slider-prev a{ background-image: url(../img/grid/slider-prev-v2.png); left: 0px; }
                ul.projects-slider.slider-arrows li.slider-next a{ background-image: url(../img/grid/slider-next-v2.png); right: 0px; }


/* * * * * * * * * F O O T E R * * * * * * * * */

footer#footer {
	z-index: 2;
	position: relative;
}

	.idevice footer#footer {
		/* bugfix */
		-webkit-transform: translateZ(2px);
		-moz-transform: translateZ(2px);
		-o-transform: translateZ(2px);
		transform: translateZ(2px);
	}

	footer#footer small{
		float:left;
		color:#000000;
	}
		footer#footer p{
			float:right;
			color:#000;
		}
			footer#footer p a{
				color:#000000;
			}

		footer#footer a.footer-logo{
			display:inline-block;
            line-height: normal;
            vertical-align: middle;
            width: 41px;
            height: 22px;
            background: url(../img/grid/8ways-logo.png) no-repeat top left;
			float:right;
			color:#000;
            text-indent: -9999px;
            overflow: hidden;
            margin: 15px 0px 0px 10px;
		}
            footer#footer a.footer-logo:hover{
                opacity: 0.6;
                filter: alpha(opacity=60);
            }


/* * * * * * * * * G R I D * * * * * * * * */

/* cols */

.col-big{
	position: relative;
	z-index: 2;
}

/* colors */

    .white{
        background-color: #FFFFFF;
    }
    .black{
        background-color: #1E1E1E;
    }

/* * * * * * * * * T E X T S * * * * * * * * */

/* normalize fix */

    h1, h2, h3, h4, h5, h6, p, ul, ol, li{
        margin: 0px;
        padding: 0px;
    }

/* basic elements */

    a {
        cursor:pointer;
        text-decoration:none;
    }
        a,
        a * {
            cursor:pointer;
            outline:none;
            /* transition */
            -moz-transition:linear 0.2s;
            -webkit-transition:linear 0.2s;
            -o-transition:linear 0.2s;
            transition:linear 0.2s;
        }
            a:hover {
                text-decoration: underline;
            }

    h3{
        font-family: Arial, Helvetica, sans-serif;
        color: #FFFFFF;
        text-align: center;
        font-weight: normal;
        text-transform: uppercase;
    }
        span.dots{
            display: block;
            width: 100%;
            text-align: center;
            letter-spacing: 5px;
            color: #FFFFFF;
        }

    .float-left{
        float: left;
    }
        .pos-left{
            left: 5px;
        }
    .float-right{
        float: right;
    }
        .pos-right{
            right: 5px;
        }

    /* texts */

    .texts{

    }
        .texts *{
            text-align: center;
        }
        .texts h3{
            color: #9bba5e;
        }
        .texts h4{
            font-family: Arial, Helvetica, sans-serif;
            color: #1e1e1e;
            font-weight: normal;
        }
        .texts p{
            font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
            font-style: italic;
        }
        .texts ul{
            margin: 0px;
            padding: 0px;
        }
            .texts ul li{
                list-style: none;
            }
                .texts ul li p{
                    display: inline-block;
                    margin-bottom: 0px;
                }
                .texts ul li a{
                    display: inline-block;
                }
        .texts a{
            font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
            color: #9bba5e;
            font-style: italic;
        }
        .texts .dots{
            color: #9bba5e;
        }

        .btn1,
        a.btn1{
            display: block;
            background-color: #9bba5e;
			background-image: none;
            font-family: Arial, Helvetica, sans-serif;
            color: #FFFFFF;
            text-transform: uppercase;
            font-style: normal;
            border: none;
            /* transition */
            -moz-transition:linear 0.2s;
            -webkit-transition:linear 0.2s;
            -o-transition:linear 0.2s;
            transition:linear 0.2s;
        }
            .btn1:hover{
                text-decoration: none;
                background-color: #1E1E1E;
            }
