/*
Theme Name: GKI Hideaway 2016
Theme URI: http://www.almostanything.com.au
Description: Mobile First Responsive Design
Version: 2016
Author: Almost Anything Web and Graphic Design
Author URI: http://www.almostanything.com.au
*/

/*
 * RELATIVE EMS: target/context=result
 * So if you want a 24px heading, and the parent element is 15px, you need to specify 1.6ems
 * ie 24/15=1.6
 * Got it yet Stu?
 * Similarly with widths. Elements will be a %age or their parent.
 *
 * THIS IS A MOBILE-FIRST STYLESHEET
 * If you're styling for the desktop you are editing the WRONG FILE
 * Go back, do not pass Go, do not collect $200
 */

/* Resets, Globals */

html {
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
}

    *, *:before, *:after {
        box-sizing: inherit;
    }

div,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,select,button,p,table,blockquote,th,td {
    margin:0;
    padding:0;
    line-height:inherit;
}

    dl,ul,ol,h1,h2,h3,h4,h5,h6,form,fieldset,p,blockquote,table {
        margin:1em 0;
    }

        h1,h2,h3,h4,h5,h6 {
            margin:1em 0 .5em;
            line-height:1.2;
        }

            h1 {
                margin:0 0 .5em;
            }

                .site_title {
                    margin:0;
                }

table {
    border-collapse:collapse;
    border-spacing:0;
}

address,caption,cite,code,dfn,var {
    font-style:normal;
    font-weight:normal;
}
 
caption,th {
    text-align:left;
}

sup {
    vertical-align:text-top;
}

sub {
    vertical-align:text-bottom;
}

input,textarea,select {
    font-family:inherit;
    font-size:inherit;
    font-weight:inherit;
    padding:0 .4em;
}

/* Clearfix */
    
.clearfix:after, header>nav:after {
    content:"";
    display:block;
    clear:both;
}

/* Styles to support our JS scrollbar width calculations */
.scrollbar_measure {
    width: 100px;
    height: 100px;
    overflow: scroll;
    position: absolute;
    top: -9999px;
}

/* Accessibility (skip links, screen reader text) */

.screen-reader-text, .skiplink {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

    .skiplink:focus, .screen-reader-text:focus {
        font-weight:bold;
        background:#eee;
        box-shadow:0 0 10px rgba(0,0,0,0.25);
        top:0;
        left:0;
        float:left;
        width: auto;
        height: auto;
        z-index:9999;
        display:block;
        position:fixed;
        z-index: 100000; /* Above WP toolbar. */
        padding:.5em .75em;
        clip: auto !important;
}

/***************************************************************
 *
 * Let's play Tetris!
 * This is basic grid, we're layout out the main semantic blocks
 *
 ***************************************************************/

html, body {
    margin:0;
    padding:0;
    line-height:1.5;
    background: #fff;
}

    html {
        font-family: "acumin-pro",sans-serif;
		font-weight: 200;
    }

    body {
        color: #9f9f9f;
        font-size: 100%; /* Baseline: this means that 1em = 16px */
    }

.contentbox {
    width: 100%;
    margin: auto;
    font-size: 1em;
}

.main_wrap, .contentbox .sidebar, footer {
    padding:0 3%;
}

    .main_wrap {
        clear:both;
        background:#fff;
		position:relative;
    }
    
article {
    padding:1.5em 0 1em;
}

/***************************************************************
 *
 * Header
 *
 ***************************************************************/

.site_info {
    padding:0 3%;
}

    .site_title {
        text-indent:-9999px;
        width:0;
        height:0;
    }

    .site_logo, .site_logo img {
        display:block;
        background:none;
        position:relative;
        border:none;
    }

        .site_logo {
            width: 100%;
			max-width: 200px !important;
			display: inline-block;
			z-index: 4;
			position: relative;
        }

            @media (min-width:831px) {
                .site_logo img {
                    margin:0 1.5em 0 0;
                }
            }

            @media (max-width:830px) {
                .site_logo, .site_logo img {
                    margin:0 auto;
                }
            }

    .site_info__usereditable, .site_info__usereditable li {
        list-style:none;
        padding:0;
        margin:0;
    }

        @media (max-width:830px) {
            .site_info__usereditable {
                margin:1em 0 0;
            }
        }

        .site_info__usereditable {
            text-align:center;
        }

        .site_info__usereditable>li {
            display:block;
            margin:.75em 0 0;
            font-size:1.5em;
            line-height:1.25;
        }

        .site_info__usereditable a[href*="tel"] {
            text-decoration:none;
        }

        @media (min-width:831px) {

            .site_info>.contentbox {
                display:table;
				position:relative;
            }

            .site_logo, .site_info__usereditable {
                /*display:table-cell;
                vertical-align: middle;*/
            }

                .site_info__usereditable {
                    text-align:right;
					position: absolute;
					right: 0;
					top:35px;
					width:100%;
                }

                    .site_info__usereditable>li {
                        display:inline-block;
                        vertical-align: middle;
                        margin:.25em 0 .25em 1.25em;
						width:100%;
                    }

                        .site_info__usereditable>li:first-child {
                            margin-left:0;
                        }

        }
		
		
a.phonenumber {color:#FFF;text-shadow:0 0 3px #000, 0 0 20px #000; padding:10px 3% 10px 40px; background:url(images/phone-icon.png) left center no-repeat;background-size: 30px; text-decoration:none;}

a.phonenumber:hover {text-decoration:underline;}		

.HeroImg {
	z-index: 0;
	position: fixed;
	top:0;
	width:100%;
	min-width: 750px;
	overflow: hidden;
	text-align:center;
	margin:0 auto;
}

/***************************************************************
 *
 * Navigation
 *
 ***************************************************************/

/* Basic list reformatting */
.nav, nav ul, nav li {margin:0;padding:0;list-style:none;}
    .nav ul, .nav li { display: inline-block; }
	
	.nav li {border-right:1px solid #FFF;}

/* Customise from here... */
header {
	/*background-color:rgba(39,53,131,0.7);*/
	 position:relative; z-index:3;
}

header>nav {
    line-height:2;
    /* padding: 0 3%; */
	position: absolute;
	right: 0;
	top: 0;
	margin-top: 100px;
	width: 100%;
	text-shadow:0 0 3px #000, 0 0 20px #000;	
}

@media (max-width:1130px) {
	
	header>nav {
    line-height:2;
    /* padding: 0 3%; */
	position: relative;
	margin-top: 0;
	width: 100%;
	text-shadow:0 0 3px #000, 0 0 20px #000;
	text-align:center;
}
	
}

.nav a {
    color: #fff;
    text-decoration: none;
    border:none;
    display:block;
    
    /* Preferable to a large line height with no top/bottom padding;
    no top/bottom padding causes links that text-wrap to look the same as a couple of one line links... */
    line-height: 1.2;
	padding: .25em .4em;
	font-size:1.1em;
	text-transform:uppercase;
	font-weight:500;
}

    nav a {
        display:inline-block;
        padding:.15em .2em;
    }

    .nav a:hover, .nav .sfHover>a {
        /*background:#353535;*/
		border-bottom: 1px solid #FFF;
    }

nav .current_page_item>a,
.single-post nav .current_page_parent>a,
nav .current_page_ancestor>a,
nav .current-menu-item>a,
nav .current-menu-parent>a,
nav .current-menu-ancestor>a,
nav .current-page-ancestor>a {
    font-weight: bold;
}

    .nav .current_page_item>a,
    .single-post .nav .current_page_parent>a,
    .nav .current_page_ancestor>a,
    .nav .current-menu-item>a,
    .nav .current-menu-parent>a,
    .nav .current-menu-ancestor>a,
    .nav .current-page-ancestor>a {
        /*background: #fff;
        color: #000;*/
    }

.contains_submenu>a {
    position:relative;
}

    .show_nav_children {
        position:absolute;
        top:-.25em;
        bottom:-.25em;
        right:-3%;
        line-height:2.5;
        font-weight:bold;
        cursor:pointer;
    }

/* Displays a sub nav immediately after the main (if exists). Here for ease of use on mobile. Hide for desktop and add dropdowns if required */
.mobile_sub_menu {
    padding:1em 3%;
    overflow:hidden;
    background: #eee;
}

    .mobile_sub_menu h2 {
        margin:0 0 .5em;
    }

/* This is for the mobile nav icon */
.menu-icon, .menu-icon-label {
    display: none;
}


/* Last Main Menu Link needs to be a button */
	
	.nav li:last-child {border-right:none; border:1px solid #FFF;}

	.nav li:last-child a {background:#FFF; color:#273583; text-shadow:none; line-height: 1.4;}
	
	.nav li:last-child a:hover {background:#273583; color:#FFF; border-bottom:none;}
	
	
/* Sub Menu's */
ul.sub-menu li {text-align:left;}	

ul.sub-menu li a {color:#273583; background:#FFF; text-decoration:none; text-shadow:none; text-transform:capitalize;}

ul.sub-menu li a:hover {color:#FFF; background:#273583; text-decoration:none; border-bottom:none;}

#SocialMediaMobile {display:none;}


/* Expanded (desktop) menu styles */
@media (min-width:831px) {

    /* Basic list reformatting */
    .nav li { position:relative; }
    .nav ul { position:absolute; top:-9999px; left:0; }
    .nav ul, .nav ul li { display:block; }

    .nav li:hover ul, .nav li.sfHover ul { z-index:100; display:block; }
        .nav>li:hover>ul, .nav>li.sfHover>ul { top:2.3em; }

    .nav ul ul { left:auto; right:-250px; }
        .nav li li:hover ul, .nav li li.sfHover ul { top:0; }

    header .nav ul, header .nav li li {width: 250px;}

    .nav {
        text-align:right;
		padding:0 3% 0;
    }

    .nav li ul {
        display: none;
    }

    .nav .sub-menu, .nav .children {
        background:#222;
    }

        .sub-menu .current_page_item>a,
        .single-post .sub-menu .current_page_parent>a,
        .sub-menu .current_page_ancestor>a,
        .sub-menu .current-menu-item>a,
        .sub-menu .current-menu-parent>a,
        .sub-menu .current-menu-ancestor>a,
        .sub-menu .current-page-ancestor>a {
            background: #eee;
        }

    .contains_submenu>a {
        padding-right:1.5em;
    }

        .show_nav_children {
            padding:0 .75em 0 .5em;
        }

}


/* Mobile menu styles */
@media (max-width: 830px) {

    /* Provide space for the plus/minus symbol */
    .contains_submenu>a {
        /*padding-right:2.5em;*/
    }

        /* Element for showing/hiding sub-menus */
        .show_nav_children {
            position:absolute;
            top:-.25em;
            bottom:-.25em;
            right:-3%;
            line-height:2.5;
            z-index:10;
            padding:0 5% 0 .75em;
            padding:0 calc(3% + .5em) 0 .75em;
        }

    /* Turn off floats, we want vertical flow */
    .nav ul, .nav li { float:none; display:block; }

        /* Indent sub-menus */
        .sub-menu, .nav .children {
            padding:0 0 0 1.5em;
        }

    /* Off screen menu */

    .site_info nav {
        line-height:0;
    }

    /* Checkbox input used to toggle nav display.
       Doesn't need to appear because it's linked with the label. */
    .menu-icon {
        position: absolute;
        clip: rect(0, 0, 0, 0);
    }

    .menu-icon-label { 
        color:#fff;
        cursor:pointer;
        line-height: 1.2;
        font-weight:bold;
        padding-right: 2.3em;
        display: block;
        float: right;
        clear: left;
		position: absolute;
		top: -200px;
		right: 3%;
		text-shadow:0 0 3px #000, 0 0 20px #000;	

        /* Enhance tap target area */
        border: 1em solid transparent;
        border-width:1em 0;
    }

        /* Setup base rules for page content overlay and hamburger icon */
        .menu-icon-label:after, .menu-icon-label:before {
            content:"";
            display:block;
            top:0;
            right: 0;
            bottom: 0;
        }

        /* Overlay for page content */
        .menu-icon-label:before {
            -moz-transition:opacity 125ms ease-in-out;
            -webkit-transition:opacity 125ms ease-in-out;
            transition:opacity 125ms ease-in-out;
            background: rgba(0,0,0,0.6);
            position:fixed;
            z-index: 20;
            
            /* Mobile Safari doesn't cover the page without negative values... */
            top:-200px;
            bottom:-200px;
            left:-200px;
        }

            /* Hide and deactivate overlay if menu is closed */
            .menu-icon:not(:checked) ~ .menu-icon-label:before {
                opacity:0;
                pointer-events:none;

                /* Needed to hide overlay for IE 10 < (no support for pointer-events) */

                /* IE9 */
                -ms-transform:matrix(0,0,0,0,0,0);
                
                /* IE10 */
                -ms-transform:translate3d(100%,0,0);
            }

        /* Hamburger icon */
        .menu-icon-label:after {
            position:absolute;
            width: 1.5em;
            background:linear-gradient(to bottom, #fff 0, #fff 15%, transparent 15%, transparent 42%, #fff 42%, #fff 57%, transparent 57%, transparent 85%, #fff 85%);
        }

    .nav {
        /* Positioning */
        top: 0;
        right: 0;
        bottom:0;
        z-index: 100;
        position: fixed;

        /* Make scrolling allowance for tall menus */
        overflow-y: auto;
        overflow-x: hidden;

        /* Width, margin, padding */
        width:80%;
        margin:0;
        padding:.5em 0 0;

        /* Slide-in animation. Custom cubic bezier used to provide a fast initial slide, slowing down near the end.  */
        -moz-transition:-moz-transform 200ms cubic-bezier(0.15, 0.73, 0.44, 1.03), transform 200ms cubic-bezier(0.15, 0.73, 0.44, 1.03);
        -webkit-transition:-webkit-transform 200ms cubic-bezier(0.15, 0.73, 0.44, 1.03), transform 200ms cubic-bezier(0.15, 0.73, 0.44, 1.03);
        transition:-webkit-transform 200ms cubic-bezier(0.15, 0.73, 0.44, 1.03);
        transition:-moz-transform 200ms cubic-bezier(0.15, 0.73, 0.44, 1.03);
        transition:transform 200ms cubic-bezier(0.15, 0.73, 0.44, 1.03);

        /* Don't grab any clicks (we turn clicks on when the menu is definitely activated) */
        pointer-events:none;

        /* Styles */
        /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#02857e+0,06a4bd+100 */
		background: rgb(2,133,126); /* Old browsers */
		background: -moz-linear-gradient(top, rgba(2,133,126,1) 0%, rgba(6,164,189,1) 100%); /* FF3.6-15 */
		background: -webkit-linear-gradient(top, rgba(2,133,126,1) 0%,rgba(6,164,189,1) 100%); /* Chrome10-25,Safari5.1-6 */
		background: linear-gradient(to bottom, rgba(2,133,126,1) 0%,rgba(6,164,189,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#02857e', endColorstr='#06a4bd',GradientType=0 ); /* IE6-9 */
        font-size: 1.1em;
    }

        /* Turn pointer events back on when the nav is active */
        .menu-icon:checked ~ .nav {
            pointer-events:auto;
        }

        /* This is a FLIPped animation (https://aerotwist.com/blog/flip-your-animations/) */
        .menu-icon:not(:checked) ~ .nav {
            -moz-transform:translate3d(100%,0,0);
            -webkit-transform:translate3d(100%,0,0);
            transform:translate3d(100%,0,0);
            will-change:transform;
        }

            /* IE9 doesn't get anything particular fancy! */
            .ie9 .menu-icon:not(:checked) ~ .nav {
                display:none;
            }
			
			
		.nav li {border-right:none;}
		
	
	header>nav {
	text-shadow:none;
}

/* Cancel Last Main Menu Link needs to be a button */
	
	.nav li:last-child {border-right:none; border:none;}

	.nav li:last-child a {background:transparent; color:#FFF; text-shadow:none; line-height: 1.4;}
	
	.nav li:last-child a:hover {background:#FFF; color:#273583; border-bottom:none;}
	
	ul#main_menu:before {content:"Main Menu"; color:#FFF; font-size:2em; padding-bottom:5px; margin-bottom:20px; border-bottom:1px solid #FFF; display:inline-block;}
			
			
	 .nav a:hover, .nav .sfHover>a {
        background:#FFF;
		color:#273583;
		border-bottom: none;
    }
	
	
	ul.sub-menu {border-bottom:1px solid #FFF; background:rgba(255,255,255,0.3);}
	
	ul.sub-menu li {text-align:center;}
	
	ul.sub-menu li a {color:#FFF; background:transparent; text-decoration:none; text-shadow:none; text-transform:capitalize;}

	ul.sub-menu li a:hover {color:#273583; background:#FFF; text-decoration:none; border-bottom:none;}
	
	#SocialMediaMobile {display:block; color:#FFF;}
	
#SocialMediaMobile h2 {color:#FFF; font-weight:200; font-size:2em; padding-bottom:20px; margin-bottom:20px; border-bottom:1px solid #FFF; display: block; width:160px; margin:30px auto 30px;}
		
	#SocialMediaMobile a, #SocialMediaMobile a:hover {background:transparent;}
	
	#SocialMediaMobile a {display:inline-block; padding:0; margin:0; max-width:50px;}
	
	#SocialMediaMobile a img {max-width:90%; width:100%;}
}

 /* Deal with the WP admin bar */

        @media (max-width:600px) {
            .logged-in .nav {
                padding-top:56px;
                padding-top:calc(46px + .5em);
            }
        }

        @media (min-width:601px) {
            .logged-in .nav {
                top: 46px; 
            }
        }

        /* Inset box shadow (left edge of menu only)
           Recommended using only if .nav has a dark background.
        .nav:after {
            content:"";
            display:block;
            box-shadow: 0 0 60px rgba(0,0,0,0.25);
            position:absolute;
            top:0;
            bottom:0;
            left: -100%;
            width: 100%;
            z-index: -10;
        }
        */



/***************************************************************
 *
 * Main Content - <article>
 *
 ***************************************************************/

article h1 {
    font-size: 2.6em;
	font-weight:200;
}

article h2 {
    font-size: 1.4em;
	color:#9ba6e3;
}

article h3 {
    font-size: 1.2em;
}

article h4, article h5, article h6 {
    font-size: 1em;
}

article a {
    color:#9f9f9f;
	font-weight:300;
}

article a:hover {
    color:#000;
}

/* Clear any floated images down near the bottom of posts */
.blog_navigation {
    clear:both;
}

/* the next 3 rules are for the way WP sets its image floats. On skinny screens we'll just centre them all */
article .alignleft, article .alignright, article .aligncenter {
    text-align:center;
    margin:1.5em auto;
    display:block;
}

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

a img {
    border:none;
}

#colorbox, #colorbox * {
    -moz-box-sizing:content-box;
    -webkit-box-sizing:content-box;
    box-sizing:content-box;
}

    #colorbox img {
        max-width:none;
    }
    
/* These 2 will make image captions look a bit like polaroids */
.wp-caption {
    background:#eee;
    overflow:hidden;
    max-width:100%;
}

    body.attachment .wp-caption {
        background:none;
        overflow: visible;
    }

    .wp-caption.alignnone {
        margin:1.5em 0;
    }

    .wp-caption>a, .wp-caption img {
        display:block;
    }

        .wp-caption img {
            width:100%;
        }

    .wp-caption-text {
        padding:0;
        margin:.75em 1em;
        line-height:1.3;
    }

        body.attachment .wp-caption-text {
            margin:.75em 0;
            font-weight:bold;
        }

        .gallery .wp-caption-text {
            margin:.25em 1em 0 0;
            font-size:.9em;
			text-align: center
        }
		
		dt.gallery-icon.portrait, dt.gallery-icon.landscape, dt.gallery-icon {text-align:center;}

.gallery .gallery-item {
    float: left;
    margin:0 0 3%;
}

.gallery a, .gallery img {
    display:block;
}

    .gallery img {
        max-width:95%;
        width:auto;
        height:auto;
		text-align: center;
display: inline-block;
    }

@media (max-width: 450px) {

    .gallery dl.gallery-item {
        float: none;
        margin: 0 0 1em;
        width:auto;
        text-align:center;
    }

        .gallery a {
            display:inline-block;
        }

    .gallery .wp-caption-text {
        text-align: center;
        font-size:inherit;
    }

    .gallery br {
        display:none;
    }

    .gallery img {
        max-width:inherit;
    }

}

/*
Image sizes depending on the number of columns
Based on Hybrid theme
*/

.gallery-columns-0 .gallery-item {
    width: 100%;
}
.gallery-columns-1 .gallery-item {
    width: 100%;
}
.gallery-columns-2 .gallery-item {
    width: 50%;
}
.gallery-columns-3 .gallery-item {
    width: 33.33%;
}
.gallery-columns-4 .gallery-item {
    width: 25%;
}
.gallery-columns-5 .gallery-item {
    width: 20%;
}
.gallery-columns-6 .gallery-item {
    width: 16.66%;
}
.gallery-columns-7 .gallery-item {
    width: 14.28%;
}

/* Callouts, pullquotes */
blockquote {
    position:relative;
    padding:0 0 0 3em;
    margin:1.5em 0;
}

blockquote:before {
    content: "\00201C";
    font-size: 5em;
    position: absolute;
    left: 0;
    top: -.3em;
    color:#333;
}

/* Definition Lists */

dt {
    display:block;
    margin-top: 0.5em;
    font-weight:bold;
}

    dt:first-child {
        margin-top:0;
    }

dd {
    padding-left:1em;
}

/* Tables */

table, th, td {
    border:none;
    border:1px solid #ddd;
    text-align:left;
    border-collapse:collapse;
}

    table {
        margin:1em 0;
    }

    td, th {
        line-height:1.3;
        padding:.4em .6em;
    }

    @media (max-width:500px) {

        article table {
            /* border:none; */
        }

        article tr, article td, article th {
            /* display:block; */
            /* border:none; */
        }

            article tr {
                /* margin:0 0 1em; */
            }
            
    }

/* CTA Buttons */

.button, button {
    color:#fff;
    background:#273583;
	border:1px solid #273583;
    cursor:pointer;
    border-radius:3px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;  
    padding: 0.25em 0.75em 0.4em;
    text-decoration: none;
}

    .button:hover, button:hover {
    color: #6778d4;
    background: #FFF;
    border:1px solid #6778d4;
    }

    .button.inline {
        display:inline-block;
        padding:.05em .5em .1em;
        line-height:1.3;
        margin:0 .2em;
    }

/* Gravity Forms Style fixes */ 

.gform_wrapper form {
    margin-top: 0;
}

article .gform_wrapper textarea,
article .gform_wrapper input[type=text],
article .gform_wrapper input[type=url],
article .gform_wrapper input[type=email],
article .gform_wrapper input[type=tel],
article .gform_wrapper input[type=number],
article .gform_wrapper input[type=password],
article .gform_wrapper .ginput_complex label,
article .gform_wrapper .gfield_time_hour label,
article .gform_wrapper .gfield_time_minute label,
article .gform_wrapper .gfield_date_month label,
article .gform_wrapper .gfield_date_day label,
article .gform_wrapper .gfield_date_year label,
article .gform_wrapper .instruction {
    font-size: 1em;
}

    article .gform_wrapper textarea,
    article .gform_wrapper input[type=text],
    article .gform_wrapper input[type=url],
    article .gform_wrapper input[type=email],
    article .gform_wrapper input[type=tel],
    article .gform_wrapper input[type=number],
    article .gform_wrapper input[type=password] {
        padding: .25em .4em;
        font-size: .8em;
        max-width: 100%;
    }

:root .gform_wrapper .gform_footer {
    padding: 0;
}


iframe {width:100%; height:550px;}

@media (max-width:600px) {
	
	iframe {width:100%; height:350px;}
	
}

/***************************************************************
 *
 * Room Types
 *
 ***************************************************************/

ul.RoomTypeBox, ul.RoomTypeBox li {list-style:none; padding:0; margin:0; text-indent:0;}

ul.RoomTypeBox {display:flex; flex-flow: row wrap; align-content: flex-start; padding:0;}

ul.RoomTypeBox li {width:18%; text-align:center; margin:10px 1% 10px; border:1px solid #9f9f9f;}

ul.RoomTypeBox li img {width:100%;}

ul.RoomTypeBox li h2 {padding:0 3% 0;}

ul.RoomTypeBox li a.button {margin:10px 0 10px; display:inline-block;}

@media (max-width:1365px) {
	
	ul.RoomTypeBox li {width:31%;}
	
}

@media (max-width:800px) {
	
	ul.RoomTypeBox li {width:48%;}
	
}


/***************************************************************
 *
 * Sidebar
 *
 ***************************************************************/

.sidebar {
    background:#eee;
}

.sidebar, .sidebar ul, .sidebar li {
    padding: 0;
    margin: 0;
    list-style: none;
    clear: both;
}

.sidebar li ul { /* a nested list, so this should actually be displayed as a list */
    padding-left: 7.142857142857%; /* 20/280=0.07142857142857 */
}

.sidebar li ul li {
    list-style: disc;
}

/***************************************************************
 *
 * News and/or blog
 *
 ***************************************************************/
.postdate, .postmetadata {
    font-size:0.8em;
    font-style:italic;
    margin:0;
}

/***************************************************************
 *
 * Homepage
 *
 ***************************************************************/

.home #content {text-align:center;}

.FlexBox2Col {
	display: flex;
	padding: 0 3% 0;
	max-width: 800px;
	margin: 0 auto;
	}
	
	#HomeOne.Column {width:70%;}
	#HomeTwo.Column {width:30%;}
	
 	img.ta-award-img {max-width:120px;}

.ctacontainer {display:flex; flex-flow: row wrap; align-content: flex-start; padding:0; position: relative; margin-top: 25%;}

.main_wrap {margin-top:25%;}

.cta {
    width:25%;
    margin:0;
    background: #ccc;
	border:1px solid #FFF;
	position:relative;
}

.cta img {margin-bottom:-10px;}

    .cta a {
       display: block;
		padding: 10% 1em 1em;
		font-size: 1.6em;
		color: #FFF;
		text-decoration: none;
		text-shadow: 0 0 3px #000;
		text-align: right;
		position: absolute;
		top: 0;
		bottom: -4px;
		left: 0;
		right: 0;
		font-weight:500;
    }
	
	.cta a:hover {
		box-shadow:inset 0 0 20px #273583;
		}

    .cta p {
        display:inline;
    }
	
@media (max-width:1300px) {

.ctacontainer, .main_wrap {margin-top: 11%;}

}

@media (max-width:900px) {

.ctacontainer, .main_wrap {margin-top: 5%;}

}

@media (max-width:800px) {

    .cta {
        width: 50%;
        margin: 0;
        float: none;
    }
	
	.FlexBox2Col {display:block}
	
	#HomeOne.Column {width:100%; display:block}
	#HomeTwo.Column {width:100%; display:block;}

}

@media (max-width:600px) {
	
	.cta {
        width: 100%;
        margin: 0;
        float: none;
    }
	
	img.ta-award-img {margin-top:15px;}
	
}

/***************************************************************
 *
 * Contact Page
 *
 ***************************************************************/

.contact--widgetcontent, .contact--widgetcontent>li {
    list-style:none;
    margin:0;
    padding:0;
}

/***************************************************************
 *
 * Footer
 *
 ***************************************************************/

footer {
    background:url(images/scuba-bg.jpg) center center no-repeat;
	background-size:cover;
	background-attachment: fixed;
    color:#FFF;
    clear: both;
	position:relative;
}

@media (max-width:999px) {
	
	footer {
	background-attachment:scroll;
   	}
	
	}

    footer .contentbox {
        padding:0.25em 3%;
    }

    footer a {
        color:#fff;
    }

footer .widgetarea {
    width:33.333%;
    float: left;
}

.widgetarea.secondary {text-align:center;}

.widgetarea.tertiary {text-align:center;}

.widgetarea.tertiary .gform_wrapper form {text-align:center;}

.widgetarea.tertiary .gform_wrapper form .gfield_label {font-weight:200!important;}

.widgetarea.tertiary .gform_wrapper input[type=text] {border:1px solid #FFF; background:transparent; color:#FFF; width:90%!important;}

.widgetarea.tertiary .gfield_required {color:#FFF;}

footer h2 {font-weight:200; text-shadow:0 0 3px #000; text-align: center;}

footer .widgetarea>ul, footer .widgetarea>ul>li {
    list-style:none;
    margin:0;
    padding:0;
}

a.social img {max-width:80px;}

section.credits {
    clear:both;
    color:#9f9f9f;
    padding:1em 0 1em;
    text-align:center;
	display:block;
	font-size:12px;
	background:#FFF;
	position:relative;
	z-index:2;
}

.GKI-Footer-Logo, .SGBR-Footer-Logo {max-width:200px;}

section.credits a {color:#9f9f9f; text-decoration:none;}

section.credits a:hover {color:#9f9f9f; text-decoration:underline;}

@media (max-width:700px) {

    span.divider {display:none;}
	
	span.AA {display:block;}

}

/* Rich Contact Widget */

.widget_rc_widget ul, .widget_rc_widget li {
    list-style:none;
    margin:0;
    padding:0;
}

    .widget_rc_widget>ul>li {
        margin:0 0 .5em;
    }

    .widget_rc_widget .email {
        font-size:.8em;
    }

    .widget_rc_widget .tel:before {
        content: "Phone: ";
        font-weight:bold;
    }

.FooterMenuBar {background:#273583; position:relative; z-index:2;}

.FooterMenuBar .contentbox {margin:0 auto; text-align:center; padding:20px 3%;}

.footermenu ul, .footermenu ul li {list-style:none; margin:0; padding:0; text-indent:0;}

.footermenu ul li {display:inline-block;}

ul#menu-footer li a {color:#FFF; text-decoration:none; line-height:1; padding:0 10px; text-transform:uppercase; border-right:1px solid #FFF; display:inline-block;}

ul#menu-footer li a:hover {color:#FFF; text-decoration:underline; line-height:1;}

ul#menu-footer li:last-child a {border-right:none;}


@media (max-width:800px) {

    footer .widgetarea {
        width:100%;
        padding:0;
        margin:1em 0;
    }

    footer>nav, footer .vcard, section.credits {
        width: auto;
        float: none;
    }

}


/* Home Page Map */

.MapContainer ul, .MapContainer ul li {list-style:none; margin:0; padding:0; text-indent:0;}

.MapContainer .google-map-placeholder {border:none!important;}


/* Weather Underground Widget*/

.wu-copyright {display:none!important;}

.wu-wrapper table {text-align:center;}

.wu-wrapper table {min-width:100%;}
	
.wu-wrapper table td {text-align:center;}
	
.wu-forecast-wrapper .wu-cond-highlow .wu-cond-low {display:block; padding-top:0.3em;}

.wu-forecast-wrapper .wu-day-title, .wu-forecast-wrapper .wu-cond-highlow .wu-cond-high {color:#FFF!important; font-weight:200!important;}

.wu-forecast-wrapper .wu-cond-highlow .wu-cond-high {margin-top:15px; padding-top:15px; border-top:1px solid #FFF; display:block;}

@media only screen and (min-width:951px) and (max-width:1100px) {
	/* HIDE THE LAST COLUMN OF WEATHER THAT BREAKS MOBILE */
	table.wu-table-4 tr td:last-child {display:none;} 
}

@media only screen and (max-width:650px) {
		
	/* HIDE THE LAST COLUMN OF WEATHER THAT BREAKS MOBILE */
	table.wu-table-4 tr td:last-child {display:none;} 
	
	/* Force remaining columns to fill the space */
	.wu-wrapper table.wu-table-4 th {width:33%!important;}
	
}

/* ADVERTISING */
.AdvertisingBanner {position:relative; z-index:3; display:block; text-align:center; color:#FFF; /*background:#273583;*/ background:rgba(0,0,0,0.6); padding:1px;}

.AdvertisingBanner a {color:#FFF; text-decoration:underline}

.AdvertisingBanner a:hover {color:#FFF; text-decoration:underline; font-weight:bold;}

#DesktopAdvert {display:none;}

@media (min-width:700px) {
	#DesktopAdvert {display:block; padding:10px 0 10px;}
	
	#DesktopAdvert p {margin:0 auto; margin-bottom:-5px;}
	
	#MobileAdvert {display:none;}
	
	} 

#MobileAdButton {display:block; cursor:pointer;}
	
#MobileAdContent {position:fixed; top:0; bottom:-10px; left:0; right:0; z-index:9999; background:rgba(0,0,0,0.8); overflow-y: auto;}

#MobileAdContent .inner {width:90%; margin:40px auto 40px; text-align:center; color:#FFF;}


#MobileAdContent a {color:#FFF; text-decoration:underline}

#MobileAdContent a:hover {color:#FFF; text-decoration:underline; font-weight:bold;}

#MobileAdContent {display:none;}	

#maCloseButton,  #maCloseButtonLower {display:block; margin:20px auto 20px; font-size:1.3em; font-weight:200; color:#FFF; line-height:2; padding-bottom:5px;}

#maCloseButton span, #maCloseButtonLower span {vertical-align:middle;}

#maCloseButton span.close,  #maCloseButtonLower span.close {font-size:1.8em;vertical-align:middle;}

#maCloseButton:hover,  #maCloseButtonLower:hover {border-bottom:1px solid #FFF; cursor:pointer;}



/* HOME PAGE ALIGNMENT */
/* This must stay at the end or it will break the layout of the home page as internal pages don't use CTA's */

.home .main_wrap {margin-top:0;}


/* News */
/* NEWS SECTION Formatting */

#grid[data-columns]::before {
	content: '2 .column.size-1of2';
}

.column { float: left; }
.size-1of2 { width: 50%; }

@media (max-width: 650px) {
    .size-1of2 {width: 100%;}
}

.news_post_excerpt {
padding:0;
border:1px solid #CCC;
margin: 20px 20px 20px 0px!important;
background:#FFF;
box-shadow:0 0 10px #CCC;
position:relative;
}

.news_post_excerpt h2 {
	font-weight: 100;
	display: block;
	padding: 20px;
	margin:0;
	border-bottom: 1px solid #ccc
	}
	
.news_post_excerpt h2 a {color:#222c78; text-decoration:none;}

.news_post_excerpt h2 a:hover {color:#9ba6e3; text-decoration:none;}	

.news_post_excerpt img {width:100%;}

.news_excerpt-container {padding:10px 20px 30px;}
	
.postdate {
	background: #9ba6e3;
	color: #FFF;
	margin-left: -20px;
	padding: 2px 20px 2px 20px;
	display:inline-block;
	box-shadow: 2px 2px 8px #ccc;
	font-size:10px;
}	

a.readmore {color:#9ba6e3; font-weight:300; position:absolute; bottom:0; right:0; display:inline-block; background:#FFF; padding:20px; text-decoration:none; border-top:1px solid #ccc;}

a.readmore:hover {color:#222c78; text-decoration:underline;}

body.single article p:first-of-type {font-size:110%;}


/* MAILCHIMP Overwrites */

#mc_embed_signup {background:transparent!important;}

#mc_embed_signup form {text-align:center!important;}

.widgetarea.tertiary #mc_embed_signup .button {background-color:transparent!important; border:1px solid #FFF!important;}

.widgetarea.tertiary #mc_embed_signup .button:hover {background-color:#FFF!important; border:1px solid #FFF!important; color:#222c78!important}

#mc_embed_signup #mce-success-response {color: #FFF!important; font-weight: 400!important;}

/** Booking Manager **/

body table.date_table_navigation tr, body table.date_table_navigation td {
    border: 1px solid rgba(255, 255, 255, 0) !important;
}

table.date_table_navigation {margin: 0 auto;border: 1px solid transparent;}

#date-table tr td {
    text-align: center;
    width: 90px;
    margin-bottom: 1em;
    border: 1px solid #ffffff;
    margin-left: -1px;
    color: #404040;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
}

#date-table tr td:hover {
    -webkit-box-shadow: inset 0px 0px 10px -2px rgba(39,53,131,1);
    -moz-box-shadow: inset 0px 0px 10px -2px rgba(39,53,131,1);
    box-shadow: inset 0px 0px 10px -2px rgba(39,53,131,1);    
}

#date-table tr td.active {
    background: rgba(39, 53, 131, 0.95);
    color: #fff;
}

#date-table tr {
    display: flex;
    justify-content: center;
    flex-flow: row wrap;
}

table#date-table {
    border: none;
    margin: 1em auto;
}

div#selected_dates {
    width: 36%;
    float: right;
}

form#booking-manager-form h2 {margin: 0;}

div#your_details {
    width: 47%;
    margin-right: 1em;
}

p.booking_manager_form_submit {display: block;margin-top: 2em;margin: 0;}

div#your_details ul {
    list-style: none;
    padding: 0;
}

div#your_details input {
    float: right;
}

div#your_details ul li {
    margin: 0.8em 0;
}

div#your_details select {
    float: right;
}

div#your_details textarea {
    float: right;
}

@media (max-width: 750px) {

	div#your_details {
    	width: 65%;
    	margin: 0 auto;
 	}
	
	div#selected_dates {
    	width: 50%;
    	float: none;
    	margin: 0 auto;
    	display: flex;
    	justify-content: center;
    	flex-flow: row wrap;
   }
 
 	table.booking_manager_date_table {
    	margin-left: 0;
	}

	div#your_details ul {
    	padding: 0;
	}

	form#booking-manager-form {
    	text-align: center;
    	margin-bottom: 2em;
 	}

 	div#your_details ul li label {
    	width: 100%;
	}

	select#booking_eta {
    	margin-top: .5em;
	}

 	div#your_details ul li {
    	display: flex;
    	flex-flow: row wrap;
    	justify-content: center;
    	width: 100%;
 }

}

@media (max-width: 615px) {

table.date_table_navigation tr {
    display: flex;
    flex-flow: row wrap;
}

table.date_table_navigation tr td {
    width: 100%;
}

div#selected_dates {
    	width: 70%;
}
}

table.date_table_navigation tr td a {
    width: 100%;
    margin: 0 auto;
    display: block;
    text-align: center;
}

#booking-manager-form .button, booking-manager-form button {
    cursor:pointer;
    border-radius:3px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0.25em 0.75em 0.4em;
    text-decoration: none;
    color: #fff;
    background: #2d2d2d;
    border: 1px solid #2d2d2d;
}

    #booking-manager-form .button:hover, #booking-manager-form button:hover {
        color: #ffffff;
        background: transparent;
        border: 1px solid #ffffff;
        text-shadow: 0 0 3px #000;
        -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
        -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
        box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
    }

   	.Booking-Manager {
    	position: relative;
    	background: #b2cbd5;
    	padding: 1em 5%;
    	text-align: center;
 }

 #booking-manager-form {
    margin: 0;
    text-align: center;
}

.Booking-Manager h1 {
    color: #fff;
    font-weight: 100;
    text-transform: capitalize;
    text-shadow: 0 0 3px #000;
    font-size: 2.9em;
}

div#date-table-holder {
}

.Booking-Manager h3 {
    color: #fff;
    font-size: 2.2em;
    font-weight: 100;
    text-shadow: 0 0 3px #000;
    margin-top: 0;
}

.Booking-Manager p {
    color: #fff;
    text-shadow: 0 0 3px #000;
    font-size: 1.1em;
}

.single-room_type .gallery img {
    border: 5px solid #fff;
    -webkit-box-shadow: 0px 0px 10px -1px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 10px -1px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 10px -1px rgba(0,0,0,0.75);
}

.single-room_type .float-left {
    width: 49%;
    float: left;
}

.single-room_type .float-right {
    width: 49%;
    float: right;
}

.single-room_type .title {
    display: none;
}

@media (max-width:800px) {
	.single-room_type .float-left, .single-room_type .float-right {
    width: 100%;
    float: none;
}
	
}

.PanoContainer {
    display: flex;
    justify-content: center;
}

.PanoContainer .wpps_container {
    margin: 10px 10px !important;
}

@media (max-width: 900px) {

    .PanoContainer .wpps_container {
        width: 100% !important;
    }

    .PanoContainer {
        flex-flow: row wrap;
    }

    .PanoContainer .wpps_container canvas {
        width: 100% !important;
    }

}

/**** INSTAGRAM FEED *****/

.IntagramFeed {
    background: #FFF;
    text-align: center;
    display: block;
    margin: 0 auto;
    position: relative;
    padding: 10px 3% 10px;
}

.IntagramFeed .contentbox {
    text-align: center;
    display: block;
    margin: 0 auto;
}

.IntagramFeed h2 {
    font-weight: 100;
}

.MapContainer {
    display: block;
    margin: 0 auto;
    position: relative;
}
