/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

html {
display: none;
} 

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

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

/* apply a natural box layout model to all elements, but allowing components to change */
html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}

::-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: 0 0 2.5em 0;
	width:100%;
	clear:both;
    padding: 0;
}

audio,
canvas,
img,
video {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}

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


/* ==========================================================================
   George's custom styles
   ========================================================================== */

body {
    font-family: 'Ubuntu', sans-serif;
    color: #444444;
    font-weight: 300;
    overflow-x:hidden;
    letter-spacing: 0.2px;
}

p {
    line-height: 2;
}

#menu {
    position: fixed;
    top:0;
    bottom: 0;
    left:-300px;
    width: 300px;
    background-color: #222222;
    transition:All 0.3s ease;
    -webkit-transition:All 0.3s ease;
    -moz-transition:All 0.3s ease;
    -o-transition:All 0.3s ease;
}

#menu.open {
    left: 0;
}

#menu .content {
    position: absolute;
    left:0;
    width:100%;
    background-color: #292929;
}

#menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#menu ul li {
    line-height: 50px;
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: center;
    color: #e1e1e1;
    font-weight: 700;
    text-transform: uppercase;
}
/*
#menu ul li:last-child {
    background-color: #3e3e3e;
    font-size: 1.1em;
}

#menu ul li:last-child {
    margin-top: 10px;
}

#menu ul li:last-child a {
    font-size: 1em;
}
*/
#menu ul li a {
    display: block;
    width: 100%;
    color: #e1e1e1;
    text-decoration: none;
    font-size: 0.8em;
}

#menu ul li a:hover {
    color: white;
    background-color: #333;
}

#menu .social-icons {
    width: 80%;
    margin: 0 10%;
}

#menu .social-icons li {
    width: 16.6666%;
    float: left;
    margin: 0;
}

#menu .social-icons li:last-child {
    margin: 0;
    background:none;
}

#menu .social-icons li a:hover {
    background: none;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height:60px;
    padding: 20px;
    line-height: 20px;
    background: #222222;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
    transition:All 0.3s ease;
    -webkit-transition:All 0.3s ease;
    -moz-transition:All 0.3s ease;
    -o-transition:All 0.3s ease;
}

.menu-open header, .menu-open #feature-wrap {
    left: 300px;
}

.menu-open #content, .menu-open #content.project-page {
    right: -300px;
}

.menu-open #content.home {
    left:300px;
}

#menu-icon {
    position: absolute;
    display: block;
    float: left;
    margin-top: -6px;
    cursor: pointer;
    z-index: 10;
}

#menu-icon .fa-close {
    display: none;
}

.menu-open #menu-icon .fa-navicon {
    display: none;
}

.menu-open #menu-icon .fa-close {
    display: block;
}

.logo-background {
	background-image: url('../images/george_logo.png');
	width: 250px;
	position: absolute;
	height: 60px;
	top: 0;
	left: 0;
	background-repeat: no-repeat;
	background-position: center center;
	display: block;
	margin-left: 50px;
}
#logo-img {
	width: 250px;
	height: 60px;
	top: 0;
	left: 0;
	display: block;
	margin-left: 50px;
	margin-top: -3px;
    float: left;
}
#logo-img h1 {
	margin: 0;
}

header a {
    color: #e1e1e1;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
}

header a:hover {
    color: white;
}

header ul {
    list-style: none;
    margin: 0;
    padding: 0;
    float: right;
}

header ul li {
    display: block;
    float: left;
    margin-right: 30px;
}

header ul li.social {
    width: 30px;
    margin-right: 10px;
}

.about-george a {
	text-decoration:none;
}

/*
 * HOME PAGE
 */
.home {
	position: absolute;
	top: 60px;
	right: 0;
	left: 0;
	background: url('../images/loader.gif') no-repeat center center #fff;
	background-size: 136px 136px;
}
#main_stage_carousel {
    position: absolute;
    top: 0;
    bottom: 30px;
    width:100%;
    height: 100%;
    left:0;
	opacity: 0;
	transition: opacity 200ms;
    overflow-x: hidden;

}
#main-stage {
    opacity: 0;
    height: 65%;
    min-height: 500px;
}


@media all and (min-height: 1200px) {
    #main-stage {
        height: 70%;
    }
}

@media all and (min-width: 2100px) {
    #main-stage {
        height: 65%;
    }
}


.desktop {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.desktop.repeat {
	background-size: contain;
	background-repeat: repeat;
}

#main-stage div.mobile {
    display: none;
}

#main_stage_carousel ul {
    height: 100%;
	list-style: none;
	padding: 0;
	margin: 0;
}



.swiper-slide img {
	width: 100%;
	height: auto;
	visibility:hidden;
}

.swiper-slide .fa {
	margin-left:10px;
}

.slide-content {
    position: absolute;
    bottom: 44px;
    left: 15px;
    max-width: 55%;
    z-index: 1;
    text-transform: uppercase;
    color: #fff;
    -webkit-font-smoothing: antialiased;
}

.slide-content h2 {
    margin: 0 0 20px;
    background-color: rgba(0,0,0,0.95);
    padding: 1em 15px;
    font-size: 1em;
    line-height: 2em;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    display: inline;
}

.slide-content a {
    color:#FFFFFF;
    text-decoration: none;
    float: left;
}

.slide-content a:hover {
    color: #e1e1e1;
}

.slide-content a:first-child {
    margin-bottom: 1.2em;
}

.slide-content .button {
    background-color: #FA9426;
    padding: 1em 20px;
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 700;
    font-size: .8em;
    display: inline-block;
    clear: left;
}

.slide-content .button:hover {
    background-color: #f3850c;
    color: #FFFFFF;
}

.slide-content .button i {
	color: #FA9426;
	background-color:#fff;
	padding:3px 3px 3px 4px;
	border-radius:2px;
}

@media (min-width: 751px) {
	.carousel-control {
		position: absolute;
		top: 0;
		bottom: 0;
		left: 20px;
		z-index: 10;
	}

	.carousel-control:focus {
		outline: none;
	}

	.carousel-control.right {
		left: inherit;
		right: 40px;
	}

	.carousel-control span {
		display: none;
	}

	.carousel-control i {
		color: #ffffff;
		position: absolute;
		top: 40%;
		font-size: 2em;
		text-shadow: 1px 1px 12px #888888;
	}
}


/*
 * HOMEPAGE SLIDE POINTER
 */

.pointer {
    height: 30px;
    position: absolute;
    bottom: 0;
    width: 100%;
    overflow: hidden;
    z-index: 1000;
}
.left-triangle {
	height: 30px;
	width: calc(50% - 27px);
	background-color: white;
	display: inline-block;
	box-sizing: border-box;
}
.left-triangle-inner {
	width: 30px;
	display: inline-block;
	background-color: white;
	height: 60px;
	-webkit-transform: skewY(45deg); /* Ch, Saf  */
	-moz-transform: skewY(45deg); /* Fx <16 */
	-ms-transform: skewY(45deg); /* IE 9 */
	-o-transform: skewY(45deg); /* Op <12.1 */
	transform: skewY(45deg); /* IE 10, Fx 16+, Op 12.1+ */
	position: absolute;
	left: calc(50% - 27px);
}
.right-triangle {
	height: 30px;
	width: calc(50% - 27px);
	background-color: white;
	float: right;
	display: inline-block;
}
.right-triangle-inner {
	width: 30px;
	display: inline-block;
	background-color: white;
	height: 60px;
	position: absolute;
	-webkit-transform: skewY(-45deg); /* Ch, Saf  */
	-moz-transform: skewY(-45deg); /* Fx <16 */
	-ms-transform: skewY(-45deg); /* IE 9 */
	-o-transform: skewY(-45deg); /* Op <12.1 */
	transform: skewY(-45deg); /* IE 10, Fx 16+, Op 12.1+ */
	right: calc(50% - 27px);
}


/*
 * WORK THUMBNAILS
 */
#content .singles {
    padding: 0;

    font-size: 0;
    letter-spacing: 0;

/*    display: flex;
    flex-direction: row;
    flex-wrap: wrap;*/
}

.otherwork-page #content.project-page {
    text-align: center;
}

#content.project-page .singles > li {
    display: inline-block;
    vertical-align: top;

    width: 45%;
    margin: 1em 10% 10% 0;
    list-style: none;
    text-align: center;
}

#content.project-page .singles > li:nth-child(2n) {
    margin-right: 0;
}

#content .singles li h3 {
    margin: 0 0 0.8rem 0;
    font-size: 1rem;
    letter-spacing: 0.05em;
    height: 2rem;
}

#content.project-page .singles #gallery {
    display: block;
    margin-top: 2em;
    overflow: hidden;
}

#content.project-page .singles #gallery li.thumbnail {
    width: 100%;
    margin: 0;
}

#content.project-page .singles .item-link {
    display: inline-block;
    font-size: 0.8rem;
    margin-top: 10px;
    padding: 5px;
    width: 100%;
    max-width: 110px;
    background-color: #FA9426;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
}

#content.project-page .singles .item-link:hover {
    background-color: #f3850c;
}

@media all and (min-width: 480px) {
    #content.project-page .singles > li {
        width: 28%;
        margin: 0 8% 8% 0;
    }
    #content.project-page .singles > li:nth-child(2n) {
        margin-right: 8%;
    }
    #content.project-page .singles > li:nth-child(3n) {
        margin-right: 0;
    }
}


@media all and (min-width: 1024px) {
    #content.project-page .singles > li {
        width: 20.5%;
        margin: 0 6% 6% 0;
    }
    #content.project-page .singles > li:nth-child(2n) {
        margin-right: 6%;
    }
    #content.project-page .singles > li:nth-child(3n) {
        margin-right: 6%;
    }
    #content.project-page .singles > li:nth-child(4n) {
        margin-right: 0;
    }
}

@media all and (min-width: 1400px) {
    #content.project-page .singles > li {
        width: 13.33%;
        margin: 0 4% 4% 0;
    }
    #content.project-page .singles > li:nth-child(2n) {
        margin-right: 4%;
    }
    #content.project-page .singles > li:nth-child(3n) {
        margin-right: 4%;
    }
    #content.project-page .singles > li:nth-child(4n) {
        margin-right: 4%;
    }
    #content.project-page .singles > li:nth-child(6n) {
        margin-right: 0;
    }
}

/*
 * THUMBNAIL MENU
 */

#main-stage-menu {
	width: 100%;
	overflow: hidden;
}
ul#thumbnails {
	width: 100%;
    margin-left: -100px;
	position: relative;
	height: auto;
	padding-bottom: 17%;
	transition: width 0.3s;
	-webkit-transition: width 0.3s;
	height:0px;
	overflow: hidden;

}
#thumbnails li {
	width: 20%;
	float: left;
    cursor: pointer;
}

#thumbnails h3 {
	text-align:center;
	font-size:1em;
	text-transform:uppercase;
	margin:0.3em 0 0 0;
}

.thumb-image {
    width: 100%;
    height: 0;
    padding-bottom: 60%;
    background-size: contain;
}

#thumb_logan {
    background: url('../projects/logan/gd-logan-homepage-thumb.jpg') no-repeat;
    background-size: contain;
}


#thumb_deadpool {
    background: url('../projects/deadpool/deadpool-thumb-1.jpg') no-repeat;
    background-size: contain;
}

#thumb_peanutizeme {
    background: url('../projects/peanutizeme/gdewey-peanutize-slider.jpg') no-repeat;
    background-size: contain;
}

#thumb_army {
	background: url(../projects/army/thumbnail-army.jpg) no-repeat;
	background-size: contain;
}
#thumb_spacex {
	background: url(../projects/spacex/thumbnail-spacex.jpg) no-repeat;
	background-size: contain;
}
#thumb_gonegirl {
	background: url(../images/thumbnail-2.jpg) no-repeat;
	background-size: contain;
}
#thumb_verizon {
	background: url(../projects/verizon/thumbnail-verizon.jpg) no-repeat;
	background-size: contain;
}
#thumb_xmen {
	background: url(../projects/xmen/thumbnail-xmen.jpg) no-repeat;
	background-size: contain;
}
#thumb_verizonsmallbusiness {
	background: url(../projects/verizon-small-business/thumbnail-verizon-small-business.jpg) no-repeat;
	background-size: contain;
}
#thumb_espn {
	background: url(../projects/ESPN/thumbnail-espn.jpg) no-repeat;
	background-size: contain;
}
#thumb_tfios {
	background: url(../projects/tfios/thumbnail-tfios.jpg) no-repeat;
	background-size: contain;
}
#thumb_bookoflife {
    background: url(../projects/bookoflife/thumbnail-bookoflife.jpg) no-repeat;
    background-size: contain;
}
#thumb_unfinishedbusiness {
    background: url(../projects/unfinishedbusiness/thumbnail-UB-mainstage.jpg) no-repeat;
    background-size: contain;
}
#thumb_other {
	background: url(../projects/other/gd-multi-2.jpg) no-repeat;
	background-size: contain;
}

#feature-wrap, #content, #menu .content {
    top:60px;
    bottom: 0;
}

.menu-open #feature-wrap, .menu-open #content, .slide #feature-wrap, .slide #content {
    transition:All 0.3s ease;
    -webkit-transition:All 0.3s ease;
    -moz-transition:All 0.3s ease;
    -o-transition:All 0.3s ease;
}

#feature-wrap {
    position: fixed;
    left:0;
    width: 45%;
    background: #cccccc;
}

.otherwork-page #feature-wrap {
    display: none;
}

#feature-img {
    position: absolute;
    left: 0;
    top:0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

#content.project-page {
    position: absolute;
    right: 0;
    width: 55%;
    padding: 5%;
    background: #ffffff;
    overflow: auto;
    padding-bottom: 50px;
}

.otherwork-page #content.project-page {
    width: 100%;
}

#content.project-page p {
    margin-top: 0;
    margin-bottom: 48px;
}

#content.project-page h2 {
    display: none;
    color: #222222;
    margin: -0.1em 0 0.6em;
    text-transform: uppercase;
    font-size: 3em;
    line-height: 1em;
    letter-spacing: 0.1em;
}

#content.project-page h3 {
    color: #222222;
    text-transform: uppercase;
    font-size: 2em;
    margin: 0 0 0.8em 0;
    line-height: 1em;
    letter-spacing: 0.1em;
}

#content.project-page h4 {
    font-size: 1.2em;
    margin: 2em 0 0;
    padding-top: 1.2em;
    border-top: 1px solid #ccc;
}

#content.project-page .quote {
    border-left: 5px solid #ccc;
    display: block;
    padding-left: 2em;
    font-style: italic;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
    margin-top: 1.5em;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/*
 * GALLERY THUMBNAIL
 */

#gallery {
    font-size: 0;
    letter-spacing: 0;

/*    display: flex;
    flex-direction: row;
    flex-flow: row wrap;*/
    list-style: none;
    padding: 0;
    margin: 3em 0 0 0;
    overflow: hidden;
}

#gallery .thumbnail {
    /*display: block;*/
    display: inline-block;
    vertical-align: top;

    position: relative;
    width: 45%;
    height: auto;
    margin: 0 10% 10% 0;
    text-align: center;
    font-size: 0.9em;
    cursor: pointer;
    padding-bottom: 0;
}

#gallery .thumbnail:nth-child(2n) {
    margin-right: 0;
}

@media all and (min-width: 480px) {
    #gallery .thumbnail {
        width: 28%;
        margin: 0 8% 8% 0;
    }
    #gallery .thumbnail:nth-child(2n) {
        margin-right: 8%;
    }
    #gallery .thumbnail:nth-child(3n) {
        margin-right: 0;
    }
}

@media all and (min-width: 1024px) {
    #gallery .thumbnail {
        width: 20.5%;
        margin: 0 6% 6% 0;
    }
    #gallery .thumbnail:nth-child(2n) {
        margin-right: 6%;
    }
    #gallery .thumbnail:nth-child(3n) {
        margin-right: 6%;
    }
    #gallery .thumbnail:nth-child(4n) {
        margin-right: 0;
    }
}

@media all and (min-width: 1900px) {
    #gallery .thumbnail {
        width: 15%;
        margin: 0 5% 5% 0;
    }
    #gallery .thumbnail:nth-child(2n) {
        margin-right: 5%;
    }
    #gallery .thumbnail:nth-child(3n) {
        margin-right: 5%;
    }
    #gallery .thumbnail:nth-child(4n) {
        margin-right: 5%;
    }
    #gallery .thumbnail:nth-child(5n) {
        margin-right: 0;
    }
}

#gallery .thumbnail a:first-child {
    position: relative;
    display:block;
    text-decoration: none;
}

#gallery .thumbnail img {
    width: 100%;
    height: auto;
}

#gallery .thumbnail .hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-opacity: 0;
    -moz-opacity: 0;
    opacity: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 10.5s ease;
    transition: all 0.5s ease;
    background: rgba(0,0,0,0.5);
    cursor: pointer;
}

#gallery .thumbnail a:first-child:hover .hover {
    -webkit-opacity: 1;
    -moz-opacity: 1;
    opacity: 1;
}

#gallery .thumbnail span {
    display: block;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 0.5em;
    position: absolute;
    bottom: 0;
    width:80%;
    left: 10%;
    line-height: 1.1;
    -webkit-font-smoothing: antialiased;
    font-size: 0.9rem;
}

#gallery .thumbnail a:nth-child(2) {
    font-size: 0.9rem;
    display: block;
    margin-top: 10px;
    padding: 5px;
    width: 100%;
    background-color: #FA9426;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
}

#gallery .thumbnail a:nth-child(2):hover {
    background-color: #f3850c;
    color: #FFFFFF;
}

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

}






.fancybox-nav {
	width:8% !important;
    height: 40% !important;
    top: 30% !important;
}
/*
.fancybox-prev {
	left: -8% !important;
}

.fancybox-next {
	right: -8% !important;
}
*/
.fancybox-nav span {
	visibility: visible !important;
}


.deadpool-header {
    background-image: url('../projects/deadpool/deadpool-sidebar.jpg');
}


/*
PEANUTS CUSTOM BACKGROUND
*/
.peanuts-header {
    background-image: url('../projects/peanutizeme/gdewey-peanutize.jpg');
}


/*
ESPN PAGE CUSTOM BACKGROUND
*/
.espn-header {
	background-image: url('../projects/ESPN/espn-main.jpg');
}


/**
 * LOGAN BACKGROUND
 */
.logan-header {
    background-image: url('../projects/logan/gd-logan-interior.jpg');
}




/* Swiper controls */
.swiper-button-next, .swiper-container-rtl .swiper-button-prev, .swiper-button-prev, .swiper-container-rtl .swiper-button-next {
    background: none;
    font-size: 2em;
    color: #FFF;
}
.swiper-pagination {
    position: relative;
}
.swiper-pagination-bullet {
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    color:#000;
    opacity: 1;
    background: rgba(0,0,0,0.2);
}
.swiper-pagination-bullet-active {
    color:#fff;
    background: #007aff;
}
#main-stage .fa {
    text-shadow: 1px 1px 12px #888888;
}




    .swiper-container {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        overflow: initial;
    }
    .swiper-slide {
        background-size: cover;
        background-position: center;

    }

    .swiper-slide #other {
        background-position: center 50%;
    }


    .gallery-thumbs {
        opacity: 1;
        visibility: visible;
    }
    .gallery-thumbs h3 {
        margin: 10px 0 0 0;
        padding-right: 10px;
        text-align: center;
        text-transform: uppercase;
    }
    .gallery-thumbs {
        height: 30%; 
        box-sizing: border-box;
    }
    .gallery-thumbs .swiper-slide {
        width: 25%;
        height: 100%;
    }
    .gallery-thumbs .swiper-slide-active {
        opacity: 1;
    }
    .counter {
        display: none;
    }
    .swiper-button-next span, .swiper-button-prev span {
        display: none;
    }






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

@media only screen and (min-width: 1041px) and (max-width: 2100px) {
	.espn-header {
		background-image: url('../projects/ESPN/espn-vert-main.jpg');
	}
}
@media only screen and (max-width: 1040px) {

    #content {
        overflow: hidden;
    }

    #feature-wrap {
        position: relative;
        width: 100%;
        height: 0;
        bottom:auto;
        padding-bottom: 50%;
    }

    #feature-wrap.army {
        padding-bottom: 66%;
    }

    .slide-content {
        bottom: 55px;
    }
/*
    .slide-content h2 {
        font-size: 1.15em;
        margin-bottom: 24px;
    }*/
/*
    .slide-content .button {
        padding: 12px 15px;
        font-size: 0.9em;
    }*/

    #content.project-page {
        position: relative;
        width: 100%;
        font-size: 0.9em;
        overflow: auto;
    }

    #content.project-page h2 {
        text-align: center;
        line-height: 1.4em;
    }

    #content.project-page h3 {
        text-align: center;
        line-height: 1.2em;
    }

}

@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)  {
	ul#thumbnails {
		width: 280%;
		margin-left: -280px;}
}

@media only screen and (max-width: 750px) {

    header {
        z-index: 2;
    }

    header #logo {
        width: 100%;
        float: none;
        margin: -2px 0 0;
        text-align: center;
    }

    .logo-background {
        width: 100%;
        margin: 0;
    }

	#logo-img {
        width: 100%;
        text-align: center;
        position: absolute;
        margin: 17px 0 0;
	}

    header ul {
        display: none;
    }

    #content.project-page {
        padding: 7%;
        font-size: 0.85em;
    }

    #content.project-page h2 {
        font-size: 2.4em;
    }

    #content.project-page h3 {
        font-size: 1.6em;
    }

    .menu-open header, .menu-open #feature-wrap {
        left: 0px;
    }

    .menu-open #content, .menu-open #content.project-page {
        right: 0px;
        z-index: 0;
    }

    .menu-open #content.home {
        left:0px;
    }

    #menu {
        left:0;
        width: 100%;
        height: 0;
        bottom:auto;
        overflow: hidden;
        z-index: -1;
        transition:All 0.2s ease;
        -webkit-transition:All 0.2s ease;
        -moz-transition:All 0.2s ease;
        -o-transition:All 0.2s ease;
    }

    #menu.open {
        height: 100%;
        z-index: 1;
    }

    #menu ul li {
        line-height:40px;
    }

    .home {
        background: #ECECEC;
        min-height: 670px;
    }

    #main-stage {
        /*padding-bottom: 155%;*/
        margin-bottom: 0;
        height: 100% !important;
        min-height: 0;
        border-bottom: 15px solid #222;
    }

	#main_stage_carousel {
		bottom:0;
	}

    #main_stage_carousel ul {
        height:100% !important;
    }

    #main_stage_carousel {
        overflow: hidden;
    }

    #main-stage {
        border: 0;
    }

    .gallery-thumbs {
        opacity: 0;
        visibility: hidden;
    }

    .swiper-button-next, .swiper-button-prev {
        display: block;
        width: 100px;
        height: 50px;
        background: url('../images/mobile-prev.png');
        background-repeat: no-repeat;
        background-size: cover;
        top: auto;
        left: 0;
        bottom: 10px;
        position: fixed;
        padding: 0 0 0 30px;
        cursor: pointer;
        z-index: 1;

        color: #FFFFFF;
        text-transform: uppercase;
        text-decoration: none;
        line-height: 47px;
        font-size: .85em;
        font-weight: 700;
    }
    .swiper-button-next {
        right: 0;
        left: auto;
        background: url('../images/mobile-next.png');
        background-repeat: no-repeat;
        background-size: cover;
    }
    .swiper-button-prev {
        padding-left: 18px;
    }
    .swiper-button-prev span {
        padding-left: 5px;
    }
    .swiper-button-next span {
        padding-right: 5px;
    }
    .swiper-button-next span, .swiper-button-prev span {
        display: inline;
    }


    #main_stage_carousel .swiper-wrapper .swiper-slide {
        height: 270px;
        padding-bottom: 6%;
    }

    #main-stage div.mobile {
        display: none;
		background-size:cover;
		background-position:center center;
		/*min-height:580px;*/
    }

    #main-stage-menu {
        display: none;
    }

	.slide-content {
        max-width: 100%;
        padding: 0 20px 0 0;
        top: 106%;
        left: 0;
	}

	.slide-content h2 {
		font-size:1em;
        padding: 15px 18px;
        margin: 10px 10px 20px;
        background-color: rgba(0,0,0,0.95) !important;
	}

	.slide-content .button {
		/*font-size:0.8em;*/
		padding: 15px 18px;
        margin-left: 10px;
	}

	.swiper-slide img {
		width:auto;
		height:100%;
		display:none;
	}

    .counter {
        display: block;
        position: absolute;
        bottom: 0px;
        width: 100%;
        text-align: center;
        text-transform: uppercase;
        text-decoration: none;
        line-height: 47px;
        font-size: .85em;
        font-weight: 700;
        border-bottom: 15px solid #222222;
    }

    .carousel-control {
        display: block;
        width: 100px;
        height: 50px;
		background-image: url('../images/mobile-prev.png');
		background-repeat:no-repeat;
		background-size:cover;
        left: 0;
        bottom: 0;
        position: absolute;
        padding: 0 0 0 40px;
        cursor: pointer;
        z-index: 1;
    }

    .carousel-control.right {
		background-image: url('../images/mobile-next.png');
        right:0;
        left:auto;
        padding: 0 0 0 24px;
    }

    a.carousel-control {
        color:#FFFFFF;
        text-transform: uppercase;
        text-decoration: none;
        line-height: 47px;
        font-size: .85em;
        font-weight: 700;
    }

    a.carousel-control i {
        font-size: 1.5em;
        position: absolute;
        left: 10px;
        top: 15px;
    }
    a.carousel-control.right i {
        left:auto;
        right:10px;
    }
	.pointer {
		display:none;
	}

    #other.desktop {
        background-size: cover;
    }
    #feature-wrap {
        padding-bottom: 68.5%;
    }

}











@media only screen and (max-width: 580px) {

    .home {
        min-height: 590px;
    }

}

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

    .home {
        min-height: 500px;
    }

}


@media only screen and (max-width: 925px) {
	ul#thumbnails {
		padding-bottom:22%;
	}
}
@media only screen and (max-width: 480px) {

    #content {
        min-height: auto;
    }

    .fancybox-type-iframe .fancybox-inner {
        max-height: 200px;
    }

}

@media all and (max-width: 350px) {
/*    #content {
        top: 0;
    }*/
    #main_stage_carousel .swiper-wrapper .swiper-slide {
    height: 230px;
    padding-bottom: 0;
    }  
    .slide-content h2, .slide-content .button {
        font-size: 10px;
        padding: 7px 9px;
    }
}

@media only screen and (max-height: 700px) and (min-width: 750px) {
	.slide-content {
		bottom: 60px;
	}
	.slide-content h2 {
		margin: 0 0 20px;
		font-size: 1.1em;
	}
	.slide-content .button {
		padding: 10px;
	}
}


@media only screen and (max-width: 1500px) {

}

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

    #main-stage {
        min-height: 650px;
    }

}

@media only screen and (min-width: 1550px) {
	ul#thumbnails {
		padding-bottom:15%;
	}
}

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

    #main-stage {
        min-height: 750px;
    }


}

@media
(-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
	.logo-background {
		background-image: url('../images/george_logo@2x.png');
		background-size: 214px 24px;
	}
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   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;
        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) ")";
    }

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

    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;
    }
}
