/*
 * 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 declarations 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
   ========================================================================== */

#image-loader {
    display:none;
}

#loader-container
{
	position: absolute;
	left: 50%;
	top:300px;
	width: 250px;
	height: 250px;
	-webkit-transition-duration: 1000ms;
	-webkit-transition-property: opacity;
	-moz-transition-duration: 1000ms;
	-moz-transition-property: opacity;	
	-ms-transition-duration: 1000ms;
	-ms-transition-property: opacity;	
	-o-transition-duration: 1000ms;
	-o-transition-property: opacity;
}

#loading-logo {
	position: absolute;
	top: 30px;
	left: 30px;
}

#twitter-logo {
	position: absolute;
	top: 240px;
	left: 50px;
	cursor: pointer;
}

#mail-logo {
	position: absolute;
	top: 240px;
	left: 130px;
	cursor: pointer;
}

#cannes-logo {
	position: absolute;
	top: -37px;
	right: -30px;
    cursor: pointer;
        	    /*transform*/
    -webkit-transform:scale(0.39);
	   -moz-transform:scale(0.39);
	    -ms-transform:scale(0.39);
	     -o-transform:scale(0.39);
	        transform:scale(0.39);
            
}

#design {
    position: absolute;
	bottom: 210px;
	left: -80px;
    cursor: pointer;
        	    /*transform*/
    -webkit-transform:scale(0.4);
	   -moz-transform:scale(0.4);
	    -ms-transform:scale(0.4);
	     -o-transform:scale(0.4);
	        transform:scale(0.4);            
}

#creamlogo {
    position: absolute;
	top: 250px;
	right: -310px;
    cursor: pointer;
        	    /*transform*/
    -webkit-transform:scale(0.16);
	   -moz-transform:scale(0.16);
	    -ms-transform:scale(0.16);
	     -o-transform:scale(0.16);
	        transform:scale(0.16);
}

#dandad-logo {
    position: absolute;
	top: 40px;
	right: -34px;
    cursor: pointer;
        	    /*transform*/
    -webkit-transform:scale(0.3);
	   -moz-transform:scale(0.3);
	    -ms-transform:scale(0.3);
	     -o-transform:scale(0.3);
	        transform:scale(0.3);
}

#chip-logoA {
    position: absolute;
    top: 170px;
	right: -38px;
    cursor: pointer;
        	    /*transform*/
    -webkit-transform:scale(0.35);
	   -moz-transform:scale(0.35);
	    -ms-transform:scale(0.35);
	     -o-transform:scale(0.35);
	        transform:scale(0.35);
}

#shelf-logo {
    position: absolute;
    top: 270px;
	right: -94px;
    cursor: pointer;
        	    /*transform*/
    -webkit-transform:scale(0.3);
	   -moz-transform:scale(0.3);
	    -ms-transform:scale(0.3);
	     -o-transform:scale(0.3);
	        transform:scale(0.3);
}

#bima {
    position: absolute;
    top: 360px;
    right: -105px;
    cursor: pointer;
        	    /*transform*/
    -webkit-transform:scale(0.3);
	   -moz-transform:scale(0.3);
	    -ms-transform:scale(0.3);
	     -o-transform:scale(0.3);
	        transform:scale(0.3);

}

#thanks {
    position: absolute;
    top: 225px;
    left: -85px;
    cursor: pointer;
        	    /*transform*/
    -webkit-transform:scale(0.4);
	   -moz-transform:scale(0.4);
	    -ms-transform:scale(0.4);
	     -o-transform:scale(0.4);
	        transform:scale(0.4);
}

#awards {
    position: absolute;
	top: -30px;
	right: 80px;
    opacity: 0.8;
        /*transform*/
	-webkit-transform:scale(0.4);
	   -moz-transform:scale(0.4);
	    -ms-transform:scale(0.4);
	     -o-transform:scale(0.4);
	        transform:scale(0.4);	
}

#loader-container #spinner {
	position: absolute;
	left: 7px;
	top: 0px;
}

#loader-container #progress-text {
	position: absolute;
	top: 230px;
	left: 0px;
	width: 100%;
	text-align: center;
}

#progress-bar {
	position: absolute;
	top: 100px;
	left: 100px;
}

#main-page-container {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	overflow: hidden;
	-webkit-transition-duration: 1000ms;
	-webkit-transition-property: opacity;
	-moz-transition-duration: 1000ms;
	-moz-transition-property: opacity;	
	-ms-transition-duration: 1000ms;
	-ms-transition-property: opacity;	
	-o-transition-duration: 1000ms;
	-o-transition-property: opacity;		
	opacity: 0;	
}


#image-sequence {
  /* Set rules to fill background */
  min-height: 100%;
  min-width: 1110px;
	
  /* Set up proportionate scaling */
  width: 100%;
  height: auto;
	
  /* Set up positioning */
  position: fixed;
  top: 0;
  left: 0;
}

@media screen and (max-width: 1024px) { /* Specific to this particular image */
  #image-sequence{
    left: 50%;
    margin-left: -512px;   /* 50% */
  }
}

#main-logo {
	position: absolute;
	top: 30px;
	left: 30px;
    cursor: pointer;
}


#navigation {
	width: 1100px;
	height: 180px;
	position: absolute;
	bottom: 10px;
	left: 0px;
	/*transform*/
	-webkit-transform:scale(1);
	   -moz-transform:scale(1);
	    -ms-transform:scale(1);
	     -o-transform:scale(1);
	        transform:scale(1);		
}

#left-arrow {
	position: absolute;
	top: 5px;
	left: 5px;
	width: 5%;
	opacity: 0.4;
	cursor: pointer;	
}

#right-arrow {
	position: absolute;
	top: 5px;
	right: 5px;
	width: 5%;
	cursor: pointer;
}


#work-wrapper {
	width: 970px;
	height: 100%;
	position: absolute;
	top: 0;
	left: 5%;
	overflow: hidden;
}

#work-inner-wrapper {
	width: 5000px;
	position: absolute;
	top: 0px;
	left: 0px;
	-webkit-transition-duration: 1000ms;
	-webkit-transition-property: left;
	-moz-transition-duration: 1000ms;
	-moz-transition-property: left;	
	-ms-transition-duration: 1000ms;
	-ms-transition-property: left;	
	-o-transition-duration: 1000ms;
	-o-transition-property: left;	
}

img.work-logo {
	float: left;
	margin-left: 45px;
	display: block;
	cursor: pointer;
}

.sub-gallery-container {
	float: right;
	width: 200px;
	height: 100%;
	overflow-y: scroll;	
}

div.ui-overlay-content iframe {
	z-index: 1000;
	position: relative;
}

.video-spinner {
	position: absolute;
	top: 95px;
	left: 204px;
	z-index: 202;
}


/*GALLERY STUFF*/
.gallery-wrapper {
	height: 500px;
	width: 900px;
	padding: 15px;
}

.main-gallery-image {
	float: left; 
	width: 75%;
	margin-right: 25px;
	position: relative;
	top: 15px;
}

.sub-gallery-image {
	width: 100%;
	margin-top: 15px;
	cursor: pointer;
}

/*
.patagonia .sub-gallery-image {
	width: 13%;
}
*/

@media only screen and (max-width: 1100px)  {
	
	#main-logo {
		top: 0px;
		left: 0px;
		
		/*transform*/
		-webkit-transform:scale(0.7);
		   -moz-transform:scale(0.7);
		    -ms-transform:scale(0.7);
		     -o-transform:scale(0.7);
		        transform:scale(0.7);				
	}
	
	#twitter-logo {
		top: 170px;
		left: 30px;
		
		/*transform*/
		-webkit-transform:scale(0.7);
		   -moz-transform:scale(0.7);
		    -ms-transform:scale(0.7);
		     -o-transform:scale(0.7);
		        transform:scale(0.7);	
	
	}	
    
    
	#cannes-logo {
		top: -50px;
		right: -50px;
		
		/*transform*/
		-webkit-transform:scale(0.3);
		   -moz-transform:scale(0.3);
		    -ms-transform:scale(0.3);
		     -o-transform:scale(0.3);
		        transform:scale(0.3);	
	
	}	
    
    
	#dandad-logo {
		top: 8px;
		right: -55px;
		
		/*transform*/
		-webkit-transform:scale(0.2);
		   -moz-transform:scale(0.2);
		    -ms-transform:scale(0.2);
		     -o-transform:scale(0.2);
		        transform:scale(0.2);	
    
	}	
        	
    
    
	#chip-logoA {
		top: 170px;
		right: -60px;
		
		/*transform*/
		-webkit-transform:scale(0.25);
		   -moz-transform:scale(0.25);
		    -ms-transform:scale(0.25);
		     -o-transform:scale(0.25);
		        transform:scale(0.25);	
	
    }
    	
    
    
	#shelf-logo {
		top: 145px;
		right: -110px;
		
		/*transform*/
		-webkit-transform:scale(0.2);
		   -moz-transform:scale(0.2);
		    -ms-transform:scale(0.2);
		     -o-transform:scale(0.2);
		        transform:scale(0.2);	
	}
    
    #thanks {
    position: absolute;
    top: 100px;
    right: 160px;
    cursor: pointer;
                /*transform*/
    -webkit-transform:scale(0.1);
	   -moz-transform:scale(0.1);
	    -ms-transform:scale(0.1);
	     -o-transform:scale(0.1);
	        transform:scale(0.1);
	
	#mail-logo {
		top: 170px;
		left:100px;
		
		/*transform*/
		-webkit-transform:scale(0.7);
		   -moz-transform:scale(0.7);
		    -ms-transform:scale(0.7);
		     -o-transform:scale(0.7);
		        transform:scale(0.7);				
	}
	
	#winner-logo {
		position: absolute;
		top: 80px;
		right: -25px;
		
		/*transform*/
		-webkit-transform:scale(0.7);
		   -moz-transform:scale(0.7);
		    -ms-transform:scale(0.7);
		     -o-transform:scale(0.7);
		        transform:scale(0.7);			
	}
    
    #awards {
    	position: absolute;
		top: 100px;
		right: 0px;
    
    }
		
	#navigation {
		bottom: -50px;
		/*transform*/
		-webkit-transform:scale(0.7);
		   -moz-transform:scale(0.7);
		    -ms-transform:scale(0.7);
		     -o-transform:scale(0.7);
		        transform:scale(0.7);		
	}
	
	
}
	
/* =====

=====================================================================
   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.
   Theses 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;
    }
}