/*
Theme Name: Coogee Wine Room
Theme URI: 
Author: Foundry Digital
Author URI: 
Description: The theme for the Coogee Wine Room website
Version: 1.0
*/
/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */
html {
    color: #425446;
    font-weight: 300;
    line-height: 1.6em;
    font-family: 'Trirong', serif;
    background-color: #ffffff;
}
::-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: 1em 0;
    padding: 0;
}
audio, canvas, iframe, img, svg, video {
    vertical-align: middle;
}
fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}
textarea {
    resize: vertical;
}
.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}
/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */
.site-wrapper {
    margin: 0 auto;
    background-color: #fff;
}
.wrapper {
    max-width: 1420px;
    margin: 0 auto;
    padding: 0 10px;
}
.main-container {
    padding-top: 75px;
}
.home .main-container {
    padding-top: 0px;
}
/** HEADER **/
header, .fixed {
    padding: 20px 10px;
    position: fixed;
    width: calc(100% - 20px);
    top: 0;
    background-color: #ffffff;
    z-index: 9996;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
}
.home header {
    background-color: transparent;
    position: absolute;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
	padding: 20px;
    width: calc(100% - 40px);
}
.site-logo {
    width: 250px;
    max-width: 80%;
    height: 35px;
    display: block;
    float: left;
    margin: 0;
    text-indent: -9999px;
    background-image: url("img/logo-horizontal.svg");
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}
.home header .site-logo {
    display: none;
}
.home .menu-icon a {
    color: #ffffff;
}
.menu-icon a, .fixed .menu-icon a {
    font-size: 25px;
    line-height: 36px;
    color: #425446;
    float: right;
}
.menu-icon .menu-close, .fixed .menu-icon .menu-close {
    display: none;
    color: #ffffff;
}

.fixed {
    position: fixed;
    top: -230px;
    left: 0;
    right: 0;
    z-index: 99997;
    transition: 0.4s top cubic-bezier(.3, .73, .3, .74);
}
.fixed.slideDown {
    top: 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .05);
    position: fixed;
}

header nav, .fixed nav {
    padding: 40px 0px;
    text-align: right;
    background-color: #425446;
    display: none;
	width:100%;
	clear:both;
}
header nav ul, .fixed nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
header nav ul li, .fixed nav ul li {
    display: block;
    margin-bottom: 20px;
}
header nav ul li a, .fixed nav ul li a {
    text-transform: uppercase;
    color: #ffffff;
    font-size: 22px;
    text-decoration: none;
}
header nav ul li a:hover, .fixed nav ul li a:hover {
    text-decoration: underline;
}

.book-table {display:none;}

.elementor-editor-active header {
    display: none;
}
/** FOOTER **/
footer {
    text-align: center;
	padding:20px 0 40px;
}
.small-logo {
    width: 100px;
    height: 50px;
    display: inline-block;
    margin: 0;
    text-indent: -9999px;
    background-image: url("img/logo-monogram.svg");
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}
.social-icons {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
.social-icons li {
    display: inline-block;
    margin: 0 3px;
}
.social-icons li a {
    display: block;
    width: 35px;
    font-size: 20px;
    line-height: 35px;
    border-radius: 100px;
    background-color: #425446;
    color: #ffffff;
    text-decoration: none;
}
.site-by {
    font-size: 12px;
    color: #212121;
}
.site-by a {
    color: #212121;
}
footer nav ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
footer nav ul li {
    display: inline-block;
    border-left: 1px solid #425446;
    margin: 5px 0;
}
footer nav ul li:first-of-type {
    border: none;
}
footer nav ul li a {
    padding: 0 10px;
    color: #425446;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 14px;
    line-height: 14px;
    display: block;
    height: 14px;
}
/** GRAVITY FORMS **/
.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .gform_wrapper textarea {
    margin-top: 0;
    margin-bottom: 0px;
    border: none;
    border-bottom: 2px solid #9b9c9d;
    background-color: #ffffff;
}
.newsletter input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
    border: none !important;
}
.gform_wrapper .top_label li.gfield.gf_left_half textarea, .gform_wrapper .top_label li.gfield.gf_right_half textarea {
    width: 100% !important;
}
.gform_wrapper .gform_footer {
    padding: 30px 0 0 0 !important;
    margin: 10px 0 0 0 !important;
}
input#input_3_3 {width:100%;}
.gform_button {
    max-width: 200px;
    margin: 0 auto !important;
    display: block !important;
    border: 2px solid #425446;
    text-transform: uppercase;
    color: #425446;
    background-color: #ffffff;
    font-size: 20px !important;
    font-weight: bold !important;
    padding: 0 50px !important;
}
.gform_button:hover {
    color: #ffffff;
    background-color: #425446;
}
.newsletter .gform_button {
    border: 2px solid #ffffff;
    color: #ffffff;
    background-color: transparent;
}
.newsletter .gform_button:hover {
    color: #425446;
    background-color: #ffffff;
}
/** INSTAGRAM **/

.instagram-feed .image {
    width: calc(33.333% - 20px);
    margin: 0 10px;
    float: left;
    background-size: cover;
}
.instagram-feed .image:after {
    content: "";
    display: block;
    padding-bottom: 100%;
}
.instagram-feed .image:nth-of-type(4), .instagram-feed .image:nth-of-type(5) {
    display: none;
}
/* ==========================================================================
   Media Queries
   ========================================================================== */
@media only screen and (min-width: 641px) {
	
	header, .fixed {
    	padding: 30px 20px;
    	width: calc(100% - 40px);
	}
	
	.main-container p, .main-container li {
		font-size:18px;
	}
	
	.book-table {
		display:block;
		float:left;
		border:2px solid #425446;
		color:#425446;
		padding:5px 30px;
		text-decoration: none;
		text-transform: uppercase;
		margin-right:20px;	
		font-weight:bold;
	}
	.book-table:hover {
		background-color:#425446;
		color:#ffffff;
	}
	.home .book-table {display:none;}
	.home header {    
		padding: 50px 50px;
    	width: calc(100% - 100px);
	}
    .instagram-feed h2 {
        font-size: 40px;
        margin-bottom: 40px;
    }
    .instagram-feed .image {
        width: calc(20% - 20px);
    }
    .instagram-feed .image:nth-of-type(4), .instagram-feed .image:nth-of-type(5) {
        display: block;
    }
}
@media only screen and (min-width: 1140px) {
	
	.menu-icon {display:none;}
	.home .book-table {display:block;}
	.home header .book-table {color:#ffffff;border-color: #ffffff;}
	
	header nav, .fixed nav {
		padding: 0px;
		text-align: right;
		background-color: transparent;
		display: block !important;
		clear: none;
	}
	header nav ul, .fixed nav ul {
		list-style: none;
		padding: 0;
		margin: 7px 0 0 0;
		float:right;
	}
	header nav ul li, .fixed nav ul li {
		display: inline-block;
		margin: 0px;
	}
	header nav ul li a, .fixed nav ul li a {
		text-transform: uppercase;
		color: #425446;
		font-size: 15px;
    	text-decoration: none;
    	margin-left: 5px;
	}
	.home header nav ul li a {
		color:#ffffff;
	}
	header nav ul li a:hover, .fixed nav ul li a:hover {
		border-bottom: 2px solid;
		text-decoration:none;
	}
	.current-menu-item a {font-weight:bold;}
	
    footer {
        padding: 40px 30px 40px 30px;
    }
    .small-logo {
        float: left;
        height: 35px;
    }
    .social-icons {
        float: left;
        margin: 0 20px;
    }
    .site-by {
        float: left;
        line-height: 15px;
   		margin: 4px 0 0 0;
        text-align: left;
    }
    footer nav ul {
        float: right;
		margin: 8px 0;
    }
} @media only screen and (min-width: 1360px) {
	
	header nav ul li a, .fixed nav ul li a {
		font-size: 18px;
    	margin-left: 20px;
	}
	
}

.show-mobile, .show-tablet, .show-desktop {display:none;}


@media only screen and (max-width: 640px) {
	.show-mobile {display:block;}
}

@media only screen and (min-width: 641px) and (max-width: 1139px) { 
    .show-tablet {display:block;}
}

@media only screen and (min-width: 1140px) {
    .show-desktop {display:block;}
}
/* ==========================================================================
   Helper classes
   ========================================================================== */
.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 {
    *, *:before, *:after {
        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) ")";
    }
    a[href^="#"]:after, a[href^="javascript:"]: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;
    }
    p, h2, h3 {
        orphans: 3;
        widows: 3;
    }
    h2, h3 {
        page-break-after: avoid;
    }
}