body {
    font-family: 'Fira Sans', sans-serif;
}

img {
    max-width:100%;
}

.grid-container {
	position: absolute;
	top: 0;
    bottom: 0;
    left: 0;
    right: 0;
	border: solid 5px #fff;
}

.grid-container > div {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	position: relative;
	border: solid 5px #fff;
	cursor: pointer;
	box-shadow: inset 0 0 5px #000;
}

.grid-container > div:hover {
	opacity: 0.8;
}

.grid-container img {
	width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0;
}

.bl-section {
	background-size: cover !important;
	height: 100vh;
	position: relative;
	position: fixed;
    left: 100%;
    right: -100%;
    z-index: 1;
    width: 100%;
	/*box-shadow: 0 0 200px #000;*/
	background: #fff;
}

.bl-section-inner {
	padding:0;
	color: #fff;
	height: 100%;
	/*background: rgba(0,0,0,0.4);*/
	box-sizing: border-box;
}

#bl-head {
	background: url(../img/photos/photos-main.jpg);
	left: 0;
    right: 0;
}

#bl-one {
	/*background: url(../img/Page_02-main.jpg);*/
}

#bl-two {
	/*background: url(../img/banner3.jpg);*/
}

#bl-three {
	/*background: url(../img/banner.jpg);*/
}

/*.bl-left {
	left: 10px;
}

.bl-right {
	right: 10px;
}*/

#bl-head .bl-right {
	right: 0;
}

.page-nav-wrap {
    position: fixed;
    text-align: center;
    padding: 0;
    bottom: 20px;
    justify-content: space-between;
    left: 20px;
    right: 20px;
    display: none;
}

.page-nav-wrap-first {
    /*justify-content: flex-end;*/
}

.page-nav-wrap-last {
    justify-content: flex-start;
}

.bl-section.visible .page-nav-wrap {
    display: flex;
}

.bl-left,
.bl-right,
.bl-info {
	/*position: absolute;
    text-align: center;
    padding: 0;
	bottom: 20px;
	top: 0;
	background: rgba(255,255,255,0.5);
	display: flex;*/
	cursor: pointer;
	padding: 0 10px;
}

.bl-left a,
.bl-right a {
	height: 100%;
	padding: 0 10px;
	display: flex;
    align-items: center;
	
}

.bl-left img,
.bl-right img,
.bl-info img,
.modal .close img {
	box-shadow: 0 0 5px rgba(0,0,0,0);
	border-radius: 50%;
	align-self: center;
	background: none;
    padding: 0;
	opacity: 0.6;
}

.bl-info-box {
    opacity: 0;
    position: fixed;
    bottom: 150px;
    left: 50px;
    background: rgba(0,0,0,0.5);
    padding: 50px;
    color: #fff;
    text-align: left;
    width: 25%;
}

.bl-info-close {
    text-align: right;
    cursor: pointer;
    opacity: 0.6;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.bl-info-close:hover {
    opacity: 1;
}

.bl-info-close img {
    width: 60%;
}

.bl-info-header {
    font-size: 32px;
    letter-spacing: 1px;
    line-height: 50px;
    font-family: 'Fira Sans', sans-serif;
    font-weight: 300;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spec-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    font-size: 16px;
    line-height: 32px;
}

.spec-title {
    font-weight: 500;
}

.spec-main {
    font-weight: 300;
}

.modal .close {
	background: none;
	opacity: 1;
}

.modal .close img {
	height: unset;
}

.bl-left:hover img,
.bl-right:hover img,
.bl-info:hover img,
.modal .close img {
	box-shadow: 0 0 5px rgba(0,0,0,0.5);
	opacity: 1;
}

.bl-head-menu {
	/*position:absolute;
	bottom: 10%;
	top:10%;
	left: 10%;
	right: 50%*/
	margin-top: 20px;
}

.bl-head-menu a {
	font-size: 20px;
	line-height: 40px;
	text-transform: uppercase;
	display: block;
	color: #fff;
	text-decoration: none;
}

.bl-section-subheader {
	font-size: 40px;
	line-height: 50px;
	font-family: 'Fira Sans', sans-serif;
}

.bl-section-header {
	font-size: 70px;
    letter-spacing: 1px;
	line-height: 100px;
	font-family: 'Fira Sans', sans-serif;
	text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.5);
    font-weight: 300;
}

.image-grid-wrap {
	/*display: flex;
    position: absolute;
	top: 10%;
    bottom: 10%;
    left: 10%;
    right: 10%;*/
}

.image-grid-wrap > div {
	/*flex-basis: 15%;
	margin: 0 10px;*/
}

#myModal {
	display:none;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
	bottom:0;
	right:0;
    z-index: 1050;
    width: 100%;
	padding: 50px;
	box-sizing: border-box;
    margin-left: 0;
    background: none;
    border: none;
    border: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
	text-align:center;
	box-shadow:none;
}

.modal.in {
	background: rgba(0,0,0,0.9);
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.modal img {
	/*height:100%;*/
	background: #fff;
    padding: 10px;
    box-shadow: inset 0 0 5px #000;
}

.close {
    position: absolute;
    right: 0;
    top: 0;
    color: #fff;
    background: #000;
    font-size: 50px;
    opacity: 0.8;
    text-shadow: none;
    line-height: 50px;
    padding: 20px;
    font-weight: 100;
}

.close:hover, .close:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    opacity: 0.9;
    filter: alpha(opacity=40);
}

.menu-flex {
	display:flex;
	flex-wrap: wrap;
	justify-content: space-around;
}

.menu-header {
	background: #fff;
	padding: 100px 50px;
	text-align: center;
	border: solid 5px #fff;
	display: flex;justify-content: center;
	align-items: center;
	color: #191919;
	font-size: 80px;
    line-height: 100px;
    font-family: 'Fira Sans', sans-serif;
	box-shadow: inset 0 0 5px #000;
}

.menu-wrap {
	flex-basis: 20%;
	flex-grow: 1;
	display: flex;
	border: solid 5px #fff;
	justify-content: center;
	align-items: center;
	color: #fff;
	font-size: 32px;
	line-height: 48px;
	position: relative;
	box-shadow: inset 0 0 5px #000;
	background-size: cover !important;
}

a.menu-wrap[href^="#"] {
	pointer-events: none;
	background: rgba(0,0,0,0.8) !important;
}

.menu-image img {
	width: 100%;
	opacity: 0;
}

.menu-wrap:hover {
	background: #106273;
	cursor: pointer;
	opacity: 0.8;
}

.menu-title {
	align-self:center;
	padding: 50px;
	flex-basis: 100%;
	text-align: center;
	position: absolute;
	/*top: 0;
	bottom: 0;*/
	left: 0;
	right: 0;
}

.menu-sidebar {
	position: fixed;
	top: 0;
	bottom: 0;
	left:0;
	left:-25%;
	width: 25%;
	box-sizing:border-box;
	background: #fff;
	padding: 50px;
	z-index: 999;
	box-shadow: 0 0 5px #000;
    margin: -5px 0 -5px -5px;
}

.sidebar-inner {
	overflow:auto;
    top: 50px;
    position: absolute;
    bottom: 50px;
    left: 50px;
    right: 50px;
}

.sidebar-inner .menu-wrap {
    background-position: center !important;
}

.sidebar-inner .menu-wrap.active {
    pointer-events: none;
    color: #000;
}

.sidebar-inner .menu-wrap.active .menu-image {
    background: rgba(255,255,255,0.5);
}

.sidebar-nav {
    position:absolute;
    left: 0;
    right: 0;
    background: #f00;
    color: #fff;
    padding: 20px;
    text-align: center;
    z-index: 999;
}

.sidebar-up {
    top: 0;
}

.sidebar-down {
    bottom: 0;
}

.sidebar-inner::-webkit-scrollbar {
  display: none;
}

.sidebar-image img {
	max-width: 100%;
}

.sidebar-image {
	margin: 10px 0;
}

.menu-icons {
	position: absolute;
	right: -70px;
	top: 10%;
	bottom: 10%;
}

.open-icon,
.menu-icons-other > div {
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
	border: solid 5px #fff;
	border-radius: 50%;
	background: rgba(0,0,0,0.8);
	margin: 20px 0;
}

.open-icon:hover,
.menu-icons-other > div:hover {
    box-shadow: 0 0 5px rgba(0,0,0,0);
	background: rgba(0,0,0,1);
	cursor: pointer;
}

.open-icon {
	z-index: 9;
	position: relative;
}

.menu-icons-other {
	opacity: 0;
	position: absolute;
	top: 0;
	bottom: 0;
}

.photo-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 24px;
    padding: 20px;
    background: rgba(0,0,0,0.5);
}

body.nomargin {
    margin:0;
}

.cities-flex {
	display:flex;
	flex-wrap:nowrap;
	justify-content: space-around;
    height: 100vh;
    overflow: hidden;
    border: solid 10px #fff;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    z-index: 1;
}

.cities-header {
    flex-basis: 30%;
    flex-grow: 0;
    background: #fff;
    color: #333;
    display: flex;
    justify-content: center;
    align-content: center;
    border: solid 1px rgba(0,0,0,0.2)
}

.cities-header-header {
    align-self: center;
    font-size: 46px;
    text-align: center;
    padding: 0 50px;
}

.cities-header-header > span {
    font-size: 30px;
}

.cities-links {
    flex-basis:70%;
}

.cities-link {
    /*flex-basis: 15%;
    flex-grow: 0;*/
    background: url("../img/ferrari-link.jpg");
    background-size: cover !important;
    background-position: center !important;
    border-left: solid 10px #fff;
    border-top: solid 10px #fff;
    position: relative;
    height: 20%;
    box-sizing: border-box;
}

.cities-link:first-child {
    border-top: none;;
}

.cities-link-title {
    display: flex;
    font-weight: 100;
    cursor: pointer;
    color: #fff;
    font-size: 50px;
    font-family: 'Fira Sans', sans-serif;
    justify-content: center;
    align-items: center;
    height: 100%;
    /*writing-mode: vertical-rl;
    text-orientation: upright;*/
    width: 100%;
    opacity: 0;
    transition: ease-in-out 0.5s;
    position: relative;
}

.cities-link:hover .cities-link-title {
    opacity: 1;
    transition: ease-in-out 0.5s;
}

.cities-link > a {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.9);
    transition: ease-in-out 0.5s;
    text-decoration: none;
}

.cities-link > a:hover {
    background: rgba(0,0,0,0.5);
    transition: ease-in-out 0.5s;
}

.cities-link-ferrari {
    background: url("../img/ferrari-link.jpg");
}

.cities-link-porsche {
    background: url("../img/porsche-link.jpg");
}

.cities-link-lamborghini {
    background: url("../img/lamborghini-link.jpg");
}

.cities-link-mustang {
    background: url("../img/mustang-link.jpg");
}

.cities-link-atom {
    background: url("../img/atom-link.jpg");
}

.header-ny {
    background: url("../img/banner/ny-banner.jpg");
    background-size: cover;
    background-position: center;
    color: #fff;
}

.header-ny .menu-header {
    background: rgba(0,0,0,0.5);
    color: #fff;
}

.cities-overlay {
    position: relative;
    height: 100vh;
    width:100%;
    z-index: 2;
}

.cities-overlay-inner {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.cities-overlay-header {
    display: flex;
    align-content: center;
    justify-content: center;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    color: #fff;
    font-size: 82px;
    text-align: center;
    background: url("../img/driving-day-2019-main.jpg");
    background-size: cover;
    background-position: center;
    font-weight: 300;
    letter-spacing: 1px;
}

.cities-overlay-header img {
    padding: 30px 0;
}

.cities-overlay-header a {
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    padding: 20px 50px;
    transition: ease-in-out 0.5s;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    border: solid 5px #fff;
    background: rgba(0,0,0,0.8);
}

.cities-overlay-header a:hover {
    background: #000;
    transition: ease-in-out 0.5s;
}

.cities-overlay-top,
.cities-overlay-bottom {
    position: absolute;
    background: #fff;
    left: 0;
    right: 0;
}

.cities-overlay-top {
    top: 0;
    bottom: 50%;
    /*box-shadow: 0 0 10px 10px rgba(0,0,0,0.9);*/
}
.cities-overlay-bottom {
    top: 50%;
    bottom: 0;
    /*box-shadow: 0 0 10px 10px rgba(0,0,0,0.9);*/
}

#cities-menu .grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 1px 1px;
  grid-template-areas: "Banner Banner Banner Banner" "Link-1 Link-2 Link-3 Link-4" "Link-1 Link-2 Link-3 Link-4";
    overflow: hidden;
}

#cities-menu .menu-wrap {
    background-position:center !important;
}

#cities-menu .Banner { grid-area: Banner; }

#cities-menu .Link-1 { grid-area: Link-1; }

#cities-menu .Link-2 { grid-area: Link-2; }

#cities-menu .Link-3 { grid-area: Link-3; }

#cities-menu .Link-4 { grid-area: Link-4; }

.ferrari-head {
    background: url(../img/ferrari/ferrari-main.jpg) !important;
    background-size: cover !important;
    background-position: center !important;
}

.porsche-head {
    background: url(../img/porsche/porsche-main.jpg) !important;
    background-size: cover !important;
    background-position: center !important;
}

.lamborghini-head {
    background: url(../img/lamborghini/lamborghini-main.jpg) !important;
    background-size: cover !important;
    background-position: center !important;
}

.mustang-head {
    background: url(../img/mustang/mustang-main.jpg) !important;
    background-size: cover !important;
    background-position: center !important;
}

.atom-head {
    background: url(../img/atom/atom-main.jpg) !important;
    background-size: cover !important;
    background-position: center !important;
}

.stars-home {
    position: absolute;
    top: 20px;
    left: 20px;
    background: url(../img/stars.png);
    height: 100px;
    width: 100px;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ff3333;
    text-decoration: none;
    text-shadow: 0 0 2px #fff;
    font-size: 54px;
    font-family: 'Fira Sans', sans-serif;
}

.stars-home:hover {
    color: #0047ff;
}

@media (min-width:980px) and (max-width:1199px) {
    
    .cities-header {
        flex-basis: 40%;
    }
    
    .cities-links {
        flex-basis: 60%;
    }
    
    .menu-sidebar {
        padding: 30px;
    }
    
    .sidebar-inner {
        top: 30px;
        bottom: 30px;
        left: 30px;
        right: 30px;
    }
    
    .menu-wrap {
        font-size: 18px;
        line-height: 24px;
    }
    
    .menu-title {
        padding: 20px;
    }
    
    .cities-link-title {
        font-size: 36px;
        opacity: 1;
    }
    
}

@media (min-width:768px) and (max-width:979px) {
    
    .cities-overlay-header {
        font-size: 64px;
        padding: 0 30px;
        background: url(../img/driving-day-2019-mobile.jpg);
        background-size: cover;
        background-position: center;
    }
        
    .cities-flex {
        display: block;
        height: auto;
        overflow: auto;
    }
    
    .cities-header-header {
        padding: 30px;
    }
    
    .cities-header-header > span {
        font-size: 18px;
    }
    
    .cities-links {
        margin-top: 10px;
    }
    
    .cities-link {
        border-left: none;
        border-top: solid 2px #fff;
        position: relative;
    }
    
    .cities-link > a {
        display: block;
        position: relative;
        padding: 50px 0;
        background: rgba(0,0,0,0.5);
    }
    
    .cities-link-title {
        font-size: 24px;
        opacity: 1;
    }
    
    .menu-sidebar {
        left: 0 !important;
        right: 0;
        top: -100%;
        width: 100%;
        margin: 0;
        bottom: 100%;
    }
    
    .menu-title {
        padding: 20px;
        font-size: 16px;
        line-height: 24px;
    }
    
    .bl-section-header {
        font-size: 48px;
    }
    
    .bl-section {
        overflow: scroll;
    }
    
    #bl-head {
        height:100vh !important;
        background-size: cover !important;
        background-position: center !important;
    }
    
    .grid-container img {
        position: relative;
    }
    
    .modal {
        padding: 20px;
    }
    
    .modal img {
        max-width: unset;
        width: 100%;
        height: auto;
        box-sizing: border-box;
    }
    
    
    .modal.in {
        display: flex !important;
        align-items: center;
    }
    
    .bl-info-box {
        left: 20px;
        padding: 20px;
        width: unset;
        right: 20px;
    }
    
    .bl-info-header {
        font-size: 32px;
    }
    
    .menu-icons {
        top: unset;
        bottom: -100px;
        left: 0;
        right: 0 !important;
        text-align: center;
    }

    .open-icon,
    .menu-icons-other > div {
        margin: 20px 10px;
        display: inline-block;
    }

    .open-icon:hover,
    .menu-icons-other > div:hover {
        box-shadow: 0 0 5px rgba(0,0,0,0);
        background: rgba(0,0,0,1);
        cursor: pointer;
    }

    .open-icon {
        z-index: 9;
        position: relative;
    }

    .menu-icons-other {
        left: 0;
        right: 0;
    }
    
}

@media (min-width:481px) and (max-width:767px) {
    
    .cities-overlay-header {
        font-size: 46px;
    }
    
    .cities-overlay-header img {
        width: 30%;
        padding: 10px 0
    }
    
    .cities-overlay-header a {
        font-size: 14px;
        padding: 10px 30px;
        border: solid 2px #fff;
    }
    
    .cities-flex {
        display: block;
        height: auto;
        overflow: auto;
    }
    
    .cities-header-header {
        font-size: 24px;
        text-align: center;
        padding: 30px;
    }
    
    .cities-header-header img {
        width: 50%;
    }
    
    .cities-header-header > span {
        font-size: 18px;
    }
    
    .cities-links {
        margin-top: 10px;
    }
    
    .cities-link {
        border-left: none;
        border-top: solid 2px #fff;
        position: relative;
    }
    
    .cities-link > a {
        display: block;
        position: relative;
        padding: 50px 0;
        background: rgba(0,0,0,0.5);
    }
    
    .cities-link-title {
        font-size: 24px;
        opacity: 1;
    }
    
    .menu-sidebar {
        width: 80%;
        left: -80%;
        padding: 30px;
    }
    
    .sidebar-inner {
        display: flex;
        flex-wrap: wrap;
    }
    
    .menu-wrap {
        flex-basis: 50%;
        flex-grow: 0;
        box-sizing: border-box;
    }
    
    .menu-title {
        padding: 20px;
        font-size: 16px;
        line-height: 24px;
    }
    
    .bl-section-header {
        font-size: 24px;
        letter-spacing: 0;
    }
    
    .bl-section {
        overflow: scroll;
    }
    
    #bl-head {
        height:100vh !important;
        background-size: cover !important;
        background-position: center !important;
    }
    
    .grid-container img {
        position: relative;
    }
    
    .modal {
        padding: 20px;
    }
    
    .modal img {
        box-sizing: border-box;
    }
    
    .bl-section-header {
        bottom: unset;
    }
    
    .ferrari-head {
        background: url(../img/ferrari/ferrari-mobile.jpg) !important;
    }

    .porsche-head {
        background: url(../img/porsche/porsche-mobile.jpg) !important;
    }

    .lamborghini-head {
        background: url(../img/lamborghini/lamborghini-mobile.jpg) !important;
    }

    .mustang-head {
        background: url(../img/mustang/mustang-mobile.jpg) !important;
    }

    .atom-head {
        background: url(../img/atom/atom-mobile.jpg) !important;
    }
    
    .page-nav-wrap {
        padding: 10px;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0,0,0,0.5);
    }
    
    .bl-info-box {
        bottom: 100px;
        left: 20px;
        padding: 20px;
        width: unset;
        right: 20px;
    }
    
    .bl-info-header {
        font-size: 16px;
        letter-spacing: 0;
        line-height: 30px;
    }
    
}

@media (max-width:480px) {
    
    .cities-overlay-header {
        font-size: 46px;
        padding: 0 30px;
        background: url(../img/driving-day-2019-mobile.jpg);
        background-size: cover;
        background-position: center;
    }
    
    .cities-overlay-header a {
        font-size: 14px;
        padding: 10px 30px;
        border: solid 2px #fff;
    }
    
    .cities-flex {
        display: block;
        height: auto;
        overflow: auto;
    }
    
    .cities-header-header {
        font-size: 24px;
        text-align: center;
        padding: 30px;
    }
    
    .cities-header-header > span {
        font-size: 18px;
    }
    
    .cities-links {
        margin-top: 10px;
    }
    
    .cities-link {
        border-left: none;
        border-top: solid 2px #fff;
        position: relative;
    }
    
    .cities-link > a {
        display: block;
        position: relative;
        padding: 50px 0;
        background: rgba(0,0,0,0.5);
    }
    
    .cities-link-title {
        font-size: 24px;
        opacity: 1;
    }
    
    .menu-sidebar {
        width: 80%;
        left: -80%;
        padding: 30px;
    }
    
    .sidebar-inner {
        overflow: auto;
        top: 30px;
        position: absolute;
        bottom: 30px;
        left: 30px;
        right: 30px;
    }
    
    .menu-title {
        padding: 20px;
        font-size: 16px;
        line-height: 24px;
    }
    
    .bl-section-header {
        font-size: 24px;
        letter-spacing: 0;
    }
    
    .bl-section {
        overflow: scroll;
    }
    
    #bl-head {
        height:100vh !important;
        background-size: cover !important;
        background-position: center !important;
    }
    
    .grid-container img {
        position: relative;
    }
    
    .modal {
        padding: 20px;
    }
    
    .modal img {
        max-width: unset;
        width: 100%;
        height: auto;
        box-sizing: border-box;
    }
    
    .bl-section-header {
        bottom: unset;
    }
    
    .ferrari-head {
        background: url(../img/ferrari/ferrari-mobile.jpg) !important;
    }

    .porsche-head {
        background: url(../img/porsche/porsche-mobile.jpg) !important;
    }

    .lamborghini-head {
        background: url(../img/lamborghini/lamborghini-mobile.jpg) !important;
    }

    .mustang-head {
        background: url(../img/mustang/mustang-mobile.jpg) !important;
    }

    .atom-head {
        background: url(../img/atom/atom-mobile.jpg) !important;
    }
    
    .page-nav-wrap {
        padding: 10px;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0,0,0,0.5);
    }
    
    .modal.in {
        display: flex !important;
        align-items: center;
    }
    
    .bl-info-box {
        bottom: 100px;
        left: 20px;
        padding: 20px;
        width: unset;
        right: 20px;
    }
    
    .bl-info-header {
        font-size: 16px;
        letter-spacing: 0;
        line-height: 30px;
    }
    
}