/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body, div, section, aside, article, p, ul, ol, li, blockquote, header, footer, main,
h1, h2, h3, h4, h5, h6{
    margin:0;
    padding:0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight:400;
}

#wrapper{
    width:100%;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
}

body {
    font-family: "proxima-nova-soft",sans-serif;
    font-size:22px;
    overflow-x:hidden;
}

.container{
    width:100%;
    max-width:1300px;
    margin:auto;
    padding:0 3%;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
}

@media all and (min-width:990px){
    .container {
        padding:0 1%;
    }
}


.container:after{
    clear:both;
    content:".";
    display:block;
    height:0;
    visibility:hidden;
}

.site__header{
    position:fixed;
    top:0;
    left:0;
    right:0;
    height:100px;
    z-index:15;
    -webkit-transition: background 0.7s; /* For Safari 3.1 to 6.0 */
    transition: background 0.7s;
}

.site__header .container{
    max-width:1540px;
}

.scrolled{
    background:rgba(255,255,255,0.5);
}

.site__header h1{
    margin:0;
}

.logo{
    display:block;
    height:66px;
    width:67px;
    float:left;
    background:url(soyo-logo-small.png) no-repeat center;
    text-indent:-9999px;
    margin-top:15px;
}

.hamburger{
    width:30px;
    height:25px;
    background:url(hamburger__purple__small.png) no-repeat center;
    float:right;
    margin-right:10px;
    margin-top:35px;
    cursor:pointer;
   
}

.hamburger.white{
    background:url(hamburger__white__small.png) no-repeat center;
}
 

@media all and (min-width:1100px){

    .site__header{
        height:130px;
    }

    .logo {
        background:url(soyo-logo-medium.png) no-repeat center;
        background-size:100%;
        width:100px;
        height:100px;
    }

    .hamburger {
        /*width:40px;
        height:33px;
        background:url(hamburger__purple.png) no-repeat center;*/
        margin-top:55px;
        margin-right:50px;
    }

    /*.hamburger.white{
        background:url(hamburger__white.png) no-repeat center;
    }*/
}


.site__nav{
    position:fixed;
    z-index:10;
    top:0;
    left:0;
    right:0;
    height:auto;
    background:#f04f69;
    padding:50px 30px 100px;
    text-align:center;
    display:none;
}


.main__nav{
    display:inline-block;
    text-align:left;
    margin-top:60px;
}

.main__nav ul{
    list-style-type:none;
}

.main__nav .links{
    line-height:35px;
}

.main__nav .links a{
    font-size:16px;
    color:#FFFFFF;
    border-bottom:2px solid #9c246e;
    padding-bottom:2px;
    text-decoration:none;
}


@media all and (min-width:770px){

    .site__nav{
        padding:80px 30px 100px;
    }

    .main__nav .links a{
        font-size:22px;
        line-height:47px;
    }
}

@media all and (min-width:1100px){
    .main__nav .links a{
        font-size:26px;
        line-height:60px;
    }
}

.section{
    margin-bottom:30px;
}


p{
    margin-bottom:15px;
    font-weight:500;
    line-height:22px;
}

.purple{
    color:#9c236d;
}

.pink{
    color:#ef4e68;
}

.orange{
    color:#f0761a;
}


/*************************/
/***** video section *****/
/*************************/

.section#soyo__video{
    padding-top:0;
    margin-bottom:0;
}


#soyo__video img {
    width: 100%;
}

#my_video{
    width:100%;
    padding:3%;
    margin:auto;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
    margin-top:40px;
}


@media all and (min-width:770px) {
    #my_video {
        padding:0;
        margin-top:0;
    }
}

@media all and (min-width:1100px) {
    #my_video {
        max-width:1300px;
        margin:auto;
        padding:0 1%;
        margin-top:20px;
    }
}

/******************************/
/***** experience section *****/
/******************************/

h1{
    font-size:40px;
    line-height:35px;
    font-weight:700;
    margin-bottom:30px;

}

h1 br{
    display:none;
}


.experience__copy {
    margin-top:20px;
    background:url(pink__bar.gif) no-repeat left bottom;
    padding-bottom:20px;
}

.experience__copy  p{
    font-size:20px;
    line-height:22px;
}

.experience__image{
    display:none;
}


#soyo__experience .arrow__down{
    display:none;
}

@media all and (min-width:700px){
    h1 {
        font-size:55px;
        line-height:48px;
    }
    h1 br{
        display:block;
    }

    .experience__copy {
        margin-top:50px;
    }

    .experience__copy  p{
        font-size:22px;
    }

    .experience__image{
        display:block;
        text-align:right;
    }

    .experience__image img{
        width:100%;
        max-width:100%;
    }

   #soyo__experience .arrow__down{
        background:url(arrow__down.png) no-repeat center;
        height:auto;
        width:100%;
        height:30px;
        float:left;
        margin-top:-40px;
        display:block;


    }


}

@media all and (min-width:1100px){
    h1 {
        font-size:75px;
        line-height:60px;
    }

    

    .experience__copy  p{
        font-size:30px;
        line-height:30px;
    }
}


/***********************/
/***** map section *****/
/***********************/


#soyo__map{
    height:auto;
}

.map__wrapper{
	position:relative;
}

#map { 
    display:none;
}

#mapdata{
    display:none;
}

.map__overlay{
    width:100%;
    max-width:320px;
	padding-bottom:30px;
	background:#45b6b7 url(solo__bird.png) no-repeat 90% 84%;
    padding-top:40px;
    margin:auto;
}


.map__overlay h2{
    width:278px;
    height:76px;
    background:url(speech__bubble.png) no-repeat;
    font-size:32px;
    margin:auto;
    text-align:center;
    padding-top:3px;
    font-weight:700;
}

.opening__hours{
    width:243px;
    margin:auto;
    color:#FFFFFF;
    padding-left:35px;
    margin-top:10px;
}

.opening__hours p{
    font-size:20px;
}

.opening__hours ul{
    list-style-type:none;
    font-size:16px;
    font-weight:700;
}

#soyo__map .map__button{
    display:inline-block;
    background:#ef4e68;
    color:#ffffff;
    padding:8px 12px;
    border-radius:3px;
    font-weight:700;
    font-size:26px;
    text-decoration:none;
    margin-top:30px;
    box-shadow:0 0 10px 3px rgba(0,0,0,0.2);
}

#soyo__map .hide__mobile{
    display:none;
}

@media all and (min-width:770px){

    #soyo__map {
        height:570px;
    }

    #map{
        display:block;
        height:570px;
	    position: fixed;
	    z-index: 1;
	    top: 0;
	    left: 0;
	    right: 0;
    }

    .map__overlay{
	    position:absolute;
	    top:30px;
	    right:30px;
	    z-index:5;
        max-width:400px;
        background-image:none;
        padding-top:15px;
        box-shadow:0 3px 8px 8px rgba(0,0,0,0.2);
    }

    .map__overlay h2 {
        width:353px;
        height:159px;
        margin:auto;
        background:url(speech__bubble__birds__small.png) no-repeat;
        font-size:32px;
    }

    .map__overlay h2 span{
        display:inline-block;
        margin-top:60px;
        margin-right:20px;
    }

    .opening__hours{
        width:277px;
    }

    .opening__hours p,
    .opening__hours ul  {
        font-size:18px;
    }

    #soyo__map  .hide__mobile{
        display:inline-block;
    }

    #soyo__map .hide__desktop{
        display:none;
    }

}


@media all and (min-width:1100px){

     #soyo__map {
        height:670px;
    }

    #map{
        height:670px;
    }

    .map__overlay {
        max-width:500px;
    }
    .map__overlay h2 {
        width:469px;
        height:159px;
        margin:auto;
        background:url(speech__bubble__birds.png) no-repeat;
        font-size:43px;
    }

    .map__overlay h2 span{
        display:inline-block;
        margin-top:60px;
        margin-right:20px;
    }

    .opening__hours{
        width:343px;
    }

    .opening__hours p,
    .opening__hours ul  {
        font-size:23px;
    }

    #soyo__map .map__button {
        font-size:32px;
        padding:15px 30px;
    }
}

@media all and (min-width:1600px) {
    .map__overlay {
        right:210px;
    }
}

#maptooltip {
	background: none repeat scroll 0 0 #45b6b7;
	display: none;
	font-size: 11px;
	font-style: normal;
	font-weight: 700;
	padding: 20px;
	position: absolute;
	width: 190px;
	z-index: 100;
	text-align:center;
	color:#FFFFFF;
    margin-top:20px;
	box-shadow:0px 0px 15px 5px rgba(0,0,0,0.3);
}

#maptooltip .bit{
    background:url(tooltip__bit.png) no-repeat bottom center;
    width:190px;
    height:19px;
    display:block;
    position:absolute;
    bottom:-18px;

}



#maptooltip h3.title {
	font-size: 20px;
    font-weight:700;
}


#maptooltip p.address1,
#maptooltip p.address2 {
    font-size:15px;
    line-height:18px;
    margin-bottom:0;
}

#maptooltip p.address2 {
    background:url(pink__bar__small.gif) no-repeat bottom center;
    padding-bottom:10px;
    margin-bottom:10px;
}

#maptooltip p.phone,
#maptooltip p.email{
     font-size:15px;
    line-height:19px;
    margin-bottom:0;
} 

.tooltip__heading{
    font-size:26px;
    font-weight:bold;
    margin-bottom:5px;
}



/**************************/
/***** social section *****/
/**************************/

#soyo__social{
    text-align:center;
}

#soyo__social h2{
    font-weight:700;
    font-size:38px;
}

.social__copy{
    background:url(purple__bar.gif) no-repeat center bottom;
    padding-bottom:5px;
}

.social__copy p{
    font-size:16px;
    line-height:18px;
    padding:0 50px;
}

.social__copy .small,
.social__photos{
    display:none;
}

.social__photos img{
    width:100%;
}

.social__copy  a{
    color:#000000;
    text-decoration:none;
    border-bottom:1px solid;
}

.social__icons{
    margin:20px 0 0 0;
}

.social__icon {
    display:inline-block;
    margin:0 3px;
}

.social__icon img{
    width:41px;
}


@media all and (min-width:700px){

    #soyo__social {
        text-align: left;
        margin:auto;
        margin-bottom:30px;
        padding:30px 0;
    }

    #soyo__social .container{
        width:81%;
    }

    #soyo__social:after{
        content:".";
        display:block;
        height:0;
        visibility:hidden;
        clear:both;
    }

    #soyo__social h2 {
        font-size: 55px;
        line-height: 24px;
        margin:20px 0;
    }

    .social__copy{
        float:left;
        width:70%;
        background:url(purple__bar.gif) no-repeat left bottom;
    }

    .social__copy p{
        padding-left:0;
        font-size:26px;
        line-height:26px;
    }

    .social__copy .small{
        display:block;
        font-size:16px;
    }

    .social__icons{
        float:right;
        width:30%;
        margin-top:65px;
        text-align:right;
    }
    
}

@media all and (min-width:1100px) {


    .social__copy {
        width:50%;
    }

    .social__icons {
        width:50%;
        float:left;
        text-align:left;
        margin-top:30px;
    }

    .social__photos{
        width:50%;
        float:right;
        display:block;
        text-align:right;
    }
}

@media all and (min-width:1500px){
        #soyo__social .container{
        width:60%;
    }
}

/***********************/
/***** promo section *****/
/***********************/

.tile{
    margin:10px 0;
    height:auto;
    display:block;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
}


.tile img{
    width:100%;
}



@media screen and (min-width: 550px){
    .tiles:after{
        clear:both;
        content:".";
        display:block;
        height:0;
        visibility:hidden;
    }
    
    .tile:first-child{
        padding-right:10px;
    }    

    .tile:last-child{
        padding-left:10px;
    }    
}

#soyo__yoghurt__information{
    text-align:center;
    padding:20px 0;
}

#soyo__yoghurt__information h2{
    font-size:20px;
    line-height:20px;
    font-weight:500;
    padding:0 30px;
    margin-bottom:30px;
}

@media all and (min-width:770px){
    #soyo__yoghurt__information h2{
        font-size:26px;
    }
}

@media all and (min-width:1100px){
    #soyo__yoghurt__information h2{
        font-size:34px;
    }
}

.badges{
    text-align:center;
}

.badge{
    display:inline-block;
    vertical-align:top;
    margin:10px 15px;
}

.badge img{
    width:90px;
}

@media all and (min-width:770px){
    .badge img{
        width:160px;
    }
}

@media all and (min-width:1100px) {
    .badge{
        margin:10px 50px;
    }
}


/**************************/
/***** soyo images *****/
/**************************/


#soyo__images:after{
    clear:both;
    content:".";
    display:block;
    height:0;
    visibility:hidden;
}

#soyo__images .shop__image  img{
    width:100%;
}

#soyo__tagline{
    text-align:center;
    margin-top:60px;
}

#soyo__tagline .tagline{
    width:191px;
    height:155px;
    background:url(tagline__mobile.jpg) no-repeat;
    margin:auto;
    text-indent:-9999px;
}


@media all and (min-width:770px) {
    #soyo__tagline .tagline{
        width:313px;
        height:189px;
        background:url(tagline__tablet.jpg) no-repeat;
    }
}

@media all and (min-width:1100px) {
    #soyo__tagline .tagline{
        width:392px;
        height:236px;
        background:url(tagline__desktop.jpg) no-repeat;
    }
}

/**************************/
/***** footer  *****/
/**************************/

.site__footer{
    width:100%;
    background:#4fa954 url(footer__background__mobile.jpg) no-repeat top left;
    color:#FFFFFF;
    padding-bottom:60px;
}


.site__footer .container{
    padding-top:200px;
    position:relative;
}

.site__footer a{
    color:#FFFFFF;
}

@media all and (min-width:470px){
    .site__footer{
        background:#4fa954 url(footer__background__tablet.jpg) no-repeat top left;
    }    

    .site__footer .container{
        padding-top:380px;
    }
}

@media all and (min-width:1200px){
    .site__footer{
        background:#4fa954 url(footer__background.jpg) no-repeat top left;
        background-size:100%;

    }   
    .site__footer .container{
        padding-top:430px;
    } 
}


.soyo__address{
    width:100%;
}

.soyo__address h3{
    font-size:20px;
    font-weight:700;
}

.soyo__address p{
    font-size:17px;
    line-height:20px;
}

.soyo__address p span{
    display: inline-block;
    font-weight: 700;
    width: 30px;
}

.footer__social__icons{
    margin:25px 0;
}

.back__top {
    display: inline-block;
    background: url(arrow__top.png) no-repeat top center;
    text-transform: uppercase;
    color: #ffffff;
    font-size: 12px;
    line-height: 12px;
    padding-top: 25px;
    margin-top:-15px;
    margin-right:10px;
    cursor:pointer;
    text-align:center;
    position:absolute;
    bottom:0;
    right:0;
}

.soyo__copyright{
    width:100%;
    text-align:left;
    clear:both;
}

.soyo__copyright p{
    font-size:13px;
    margin:0;
}



@media all and (min-width:770px) {
    .back__top {
        /*width:100%;*/
    }

    .footer__social__icons {
        display:inline-block;
        text-align:right;
        position:absolute;
        bottom:0;
        right:3%;
    }
}

@media all and (min-width:1110px) {
    .footer__social__icons {
        margin:0;
        right:2%;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@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;
    }
}
