/*
--------------------------------------------------------------------------------
LIGHTBOX SETTINGS
--------------------------------------------------------------------------------
*/
[lightbox~="overlay"].fadeIn, [lightbox~="overlay"].fadeOut {
    animation-duration: 1.1s !important;
}

[lightbox~="wrapper"].zoomIn, [lightbox~="wrapper"].zoomOut {
    animation-duration: 0.5s !important;
}

a[href^="#"] {
	touch-action: manipulation;
}


/*
--------------------------------------------------------------------------------
LIGHTBOX OVERLAY, WRAPPERS & OVERRIDES
--------------------------------------------------------------------------------
*/


[lightbox~="overlay"] {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, .8);
	cursor: pointer;
    z-index: 3000;
}

[lightbox~="wrapper"] {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    width: 800px;
    max-width: 100%;
    box-shadow: 0 0 60px rgba(0, 0, 0, .8);
    z-index: 3001;
}

[lightbox~="wrapper"] * {
    vertical-align: middle;
}

#eNews[lightbox~="wrapper"],
#moreinfo[lightbox~="wrapper"],
#itinerary[lightbox~="wrapper"] {
    width: 800px;
}

[lightbox-wrapper~="inner"] {
    border: 15px solid #fff;
}

/* You"re asking yourself, what this is for. Trust me. */

@media only screen and (max-width: 767px) {

	[lightbox~="wrapper"] {
		position: static;
		max-height: none;
	}

	[lightbox-wrapper~="inner"] {
        border: 5px solid #fff;
		height: auto;
    }

}



/*
--------------------------------------------------------------------------------
LIGHTBOX HEADER
--------------------------------------------------------------------------------
*/

[lightbox~="header"] {
    position: relative;
    padding: 10px;
    background: #995100;
}
[lightbox-header~="logo"] {
    display: inline-block;
}
[lightbox-header~="logo"] img {
    width: 50px;
    height: auto;
}
[lightbox-header~="text"] {
    display: inline-block;
    padding: 0 10px;
    color: #fff;
    font: bold 26px/1.3 "Open Sans Condensed", Helvetica, Arial, sans-serif;
}
[lightbox-header~="closer"] {
    position: absolute;
    top: .5rem;
    right: .5rem;
    width: 2.5rem;
    height: 2.5rem;
    line-height: 2.5rem;
    color: #fff;
    font-size: 1.75rem;
    font-weight: 100;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all .5s ease-in-out;
}
[lightbox-header~="video"] {
    position: absolute;
    top: 60px;
    right: 60px;
	border: 2px #fff solid;
    line-height: 2.25rem;
}

[lightbox-header~="closer"]:hover {
    color: #995100;
    background: rgba(255, 255, 255, 1);
    font-weight: 300;
}

@media only screen and (max-width: 767px) {

    [lightbox-header~="text"] {
        padding: 0;
    }
}

/*
--------------------------------------------------------------------------------
LIGHTBOX BODY
--------------------------------------------------------------------------------
*/

[lightbox-body~="wrapper"] {
    overflow: auto;
    background: #eae9d3;
    line-height: 1.75;
    max-height: 70vh;
}

[lightbox-body~="white"] {
    background: #fff;
}

[lightbox-body~="inner"] {
    padding: 20px;
    color: #444;
    font: normal 15px/28px "Droid Sans", Helvetica, Arial, sans-serif;
}

[lightbox-body~="nav"] {
	padding: 0 !important;
}

@media only screen and (max-width: 767px) {

	[lightbox-body~="wrapper"] {
		overflow: visible;
		max-height: none;
    }

}


/*
--------------------------------------------------------------------------------
LIGHTBOX ACCOMMODATIONS
--------------------------------------------------------------------------------
*/

[lightbox-accommodations~="photo"] {
	height: 360px;
}

[lightbox-accommodations~="text"] {
	height: 360px;
	padding: 15px;
	overflow: auto;
}


/*
--------------------------------------------------------------------------------
LIGHTBOX UTILITY CLASSES
--------------------------------------------------------------------------------
*/

.intro {
    padding-bottom: 20px;
}
.intro ul, .intro ol {
    margin: 20px 0 0 20px;
    padding: 0;
    list-style: none;
}
.intro ol {
    counter-reset: li;
}
.intro ol > li {
    position: relative;
    margin: 0 0 6px 40px;
    padding: 8px;
    list-style: none;
    background: none;
    counter-increment: li;
}
.intro ul > li {
    position: relative;
    margin: 0 0 6px 0;
    padding: 8px;
    list-style: disc;
    background: none;
}
.intro ol > li:before {
    content: counter(li);
    position: absolute;
    top: 10px;
    left: -40px;
    width: 32px;
    height: 36px;
    color: #fff;
    font: bold 20px/36px "Open Sans Condensed", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    text-align: center;
    background: #9a5107;
    border-radius: 4px;
}
.intro a {
    color: #995109;
}
.intro li ol, [am-subpage~="text"] li ul {
    margin-top: 6px;
}
.intro ol ol li:last-child {
    margin-bottom: 0;
}
.setborder {
    padding: 15px;
}
.row {
    padding: 15px 0;
}
.row-last {
    padding-top: 15px;
}
.border-top {
    border-top: 1px solid #C8C7B6;
}
.border-bottom {
    border-bottom: 1px solid #C8C7B6;
}
.nothanks {
    padding-left: 5px;
}
.submitForm {
    -webkit-transition: all ease-in-out .3s;
    -moz-transition: all ease-in-out .3s;
    transition: all ease-in-out .3;
}
.submitForm:hover {
    background: #B75F00;
}
.is-clicked {
    -webkit-transition: all ease-in-out 1.8s;
    -moz-transition: all ease-in-out 1.8s;
    transition: all ease-in-out 1.8;
}
.submitForm.is-clicked {
    box-shadow: inset 200px 0 0 0 #FF8000;
}

/* OLD */

[am-lightbox~="form"] {
    padding: 20px;
    font: normal 15px/28px "Droid Sans", Helvetica, Arial, sans-serif;
    color: #444;
}
