

img {
	max-height: 100%;
	max-width: 100%;
}

section {
	position: relative;
	padding: 0;
}

section::before,section::after {
	position: absolute;
	content: '';
}

/* header */

.h-banner h1 {
    font-size: 6.5rem;
    color: white;
    font-weight: 700;
    display: inline-block;
    background: #0f2d5a;
    padding: 0px 22px;
}

.h-sub h2 {
    display: inline-block;
    background: white;
    color: #0f2d5a;
    font-size: 4rem;
    padding: 0px 15px;
}

.full-height {
    min-height:95vh;
}

.section-title {
    font-size: 2rem;
    line-height: 40px;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-sub {
    font-size: 1.5rem;
    line-height: 40px;
    margin-bottom: 10px;
    font-weight: 300;
}

/* parallax */ 
.parallax {
	background: rgba(0,0,0,0.1);
	position: relative;
}

/* SECTION - GALLERY */
.gallery-area .single-gallery {
	position: relative;
	overflow: hidden;
}

.gallery-area .single-gallery .gallery-img {
	transform: scale(1);
	transition: all 1s ease-out 0s;
}

.gallery-area .single-gallery .big-img {
	position: relative;
	height: 690px;
	background-size: cover;
	background-repeat: no-repeat;
}

.gallery-area .single-gallery .small-img {
	position: relative;
	height: 330px;
	background-size: cover;
	background-repeat: no-repeat;
}

.single-gallery:hover .gallery-img {
	transform: scale(1.05);
}

.boxed { outline: 2px solid black; }

/*-------------------------
   fading gallery caption
   fading gallery button
 ------------------------*/
.single-gallery p {
	font-size: 1.2rem;
	color: white;
	background-color:rgba(30,180,180,0.75);
	position: absolute;
	top: 20px;
	left: 0px;
	opacity: 0;
	transition: all .25s ease-out .25s;
	z-index: 10;
	padding: 5px 10px;
}

.single-gallery:hover p {
	top: 20px;
	left: 20px;
	opacity: 1;
	transition: all .25s ease-out .25s;
}

.single-gallery .gallery-button {
	font-size: 1.3rem;
	color: white;
	background-color: rgba(30,180,180,0.75);
	position: absolute;
	padding: 5px 10px;
	bottom: 20px;
	right: 20px;
	opacity: 0;
	transition: all .25s ease-out 0s;
	z-index: 10;
	text-decoration: none;
	border: 1px solid white;
}

.single-gallery:hover .gallery-button {
	opacity: 1;
	transition: all .25s ease-out .25s;
}

.single-gallery .gallery-button:hover {
	background-color: rgba(40,240,240,1);
	transition: all .25s ease-out 0s;
}

.terms h1, .terms h3 {
 text-decoration: underline;
  text-decoration-color: #0f2d5a;
  text-decoration-thickness: 4px;
}

/* Theme Colours */  

.bg-notwhite { background: #eee; }
.bg-notblack { background: #111; }
.bg-theme { background: #0f2d5a; }
.fg-notwhite { color: #eee; }
.fg-notblack { color: #111; }
.fg-theme { color: #0f2d5a; }

/* Theme Background Images */  

.bg-fantasy     { background: url("../images/theme/fantasy.jpg")        no-repeat scroll center; background-size: cover; }
.bg-steve     { background: url("../images/theme/steve.jpg")        no-repeat scroll center; background-size: cover; }
.bg-grass     { background: url("../images/theme/grass-block.jpg")        no-repeat scroll center; background-size: cover; }
.bg-portal     { background: url("../images/theme/portal.jpg")        no-repeat scroll center; background-size: cover; }
.bg-portal-darker     { background: url("../images/theme/portal_darker.jpg")        no-repeat scroll center; background-size: cover; }

@media only screen and (min-width: 992px) {
  .bg-fantasy, .bg-steve {
    background-attachment: fixed;
  }
}

.bg-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(44,33,5,0.5); z-index: -1; width:100vw; height:100vh;}

/* THEME EFFECTS */
.noselect {
    cursor: default;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.easyread {
	line-height: 1.5rem;
	max-width: 75ch;
}

.pad-5 { padding: 5px; }
.pad-10 { padding: 10px; }
.pad-15 { padding: 15px; }
.pad-25 { padding: 25px; }
.pad-30 { padding: 30px; }
.pad-50 { padding: 50px; }
.pad-75 { padding: 75px; }
.pad-100 { padding: 100px; }

.padv-5 { padding-top: 5px; padding-bottom: 5px; }
.padv-10 {	padding-top: 10px; padding-bottom: 10px; }
.padv-25 { padding-top: 25px; padding-bottom: 25px; }
.padv-30 { padding-top: 30px; padding-bottom: 30px; }
.padv-50 { padding-top: 50px; padding-bottom: 50px; }
.padv-75 { padding-top: 75px; padding-bottom: 75px; }
.padv-100 { padding-top: 100px; padding-bottom: 100px; }

.mb-30 { margin-bottom: 30px; }
.mb-50 { margin-bottom: 50px; }
.mt-30 { margin-top: 30px; }
.mt-50 { margin-top: 50px; }

.rounded { border-radius: 4rem; }
.tilt { transform: rotate(-1.5deg); }

.flex-container {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-content: space-around;
    -ms-flex-line-pack: distribute;
    align-content: space-around;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.flex-item {
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: center;
    -ms-flex-item-align: center;
    align-self: center;
}
	
/* Sawtooth Separator */

.sawtooth-top::before {
	left: 0;
	width: 100%;
	height: 30px;
	background-size: 25px 100%;
	top: 0;
	background-image: linear-gradient(315deg,#0f2d5a 50%,transparent 50%),linear-gradient(45deg,#0f2d5a 50%,transparent 50%);
	z-index: 100;
	margin-top: -30px;	
}

.sawtooth-bottom::before {
	left: 0;
	width: 100%;
	height: 30px;
	background-size: 25px 100%;
	top: 0;
	background-image: linear-gradient(583deg,#0f2d5a 50%,transparent 50%),linear-gradient(136deg,#0f2d5a 50%,transparent 50%);
	z-index: 100;
	margin-top: 0px;	
}
