/*
	Theme Name: kraken Child
	Description: Kraken Theme
	Version: 2.0
	Template: kraken
    Text Domain: kraken-child

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/* ADD CUSTOM STYLES */

/* Hide Google REcaptcha badge */
.grecaptcha-badge { 
    visibility: hidden;
    opacity: 0;
}

/*set root colours */
:root {
	--main-color: #a03223
}

/* hide sidebar */
aside#secondary {
    display: none;
    visibility: hidden;
}

/* Disable text copying */
.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

body {
	background-color:#f4f4f4;
	font-size:18px;
	margin: 0px 0px;
	font-family: 'Raleway', sans-serif;
}
.post, .page {
    margin: 0 0 0em;
}

h1, h2, h3, h4 {
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
}

h1 {
	font-size:2.5em;
}

h2 {
	font-size:2em;
	color: #a03223;
}

h3 {
    font-size:1.5em;
}

a {
	color:#a03223;
}

/* use root colours */
a {
  color: var(--main-color);
}

.container {
    max-width: 1400px;
    margin: 0px auto;
}

/* TOPBAR */
.topbar {
	display: flex;
	background-color: #eee;
}
.topbar-left {
    width: 50%;
    padding: 0% 1%;
    float: left;
    text-align: left;
}
.topbar-right {
    width: 50%;
    padding: 0% 1%;
    float: right;
    text-align: right;
}
.topbar-left p, .topbar-right p {
margin: 1% 0%;
}

.topbar-right form.search {
    margin-top: 5px;
}

.topbar-right .search-input, .topbar-right .search-input {
    margin:0px!important;
}

.logo,.logo-white {
    padding: 15px;
	width: 20%;
    margin-left: 0px;
}

.logo.left,.logo-white.left {
	float:left!important;
}

.middle .logo-img {
    padding: 20px 0 10px 0;
}

/* STICKY HEADER */
.stuck, .stuck-4 {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}

header.header.is-transparent {
    /* background-color: transparent!important; */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0;
    z-index: 10000;
    transition: all 0.2s ease-in-out;
    height: auto;
    background-color: transparent;
}

header.header.is-transparent.stuck {
    background-color: #fff;
	-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}

header.header.is-transparent .logo-white{
	display:none!important;
}

header.header.is-transparent.stuck .logo-white {
	display:none!important;
}

header.header.is-transparent.stuck .logo {
	display:block!important;
}

header.header.is-transparent .logo {
	display:none!important;
}

header .container {
    margin: 0px auto;
    max-width: 1400px;
	display: flex;
}
/* END */

#mobile-header {
	display:none;
	background-color: #fff; 
}

#mobile-nav-btn {
    float: right;
    font-size: 21px;
    line-height: 90px;
    margin-top: 0px;
    color: #cccccc;
}

div#mobile-menu {
    background-color: #35657c;
    /*margin-top: -30px;*/
	display:none;
}

/* #### NAV #### */
.main-navigation {
    display: block;
    width: 80%;
}
.menu-main-menu-container {
    margin-top: 30px;
    float: right;
}

.nav.navright {
    background-color: transparent;
    color: #fff;
    text-align: right;
    width: 85%;
    float: right;
    margin-top: 20px;
    margin-right: 0px;
}

.nav.navright a {
	color:#002040;
}

.nav ul {
    list-style: none;
	display:inline-block;
	padding: 0px;
    margin: 0px;
}

.nav ul li {
	margin: 0px;
	display: -webkit-inline-box;
	display:inline-block;
}

.current-menu-item {
    background-color: #002040;
	color:#fff
}

.current-menu-item a, .current-menu-item a:hover {
    color: #fff!important;
	display: block;
    padding: 20px;
}

.menu-item a {
	display: block;
	padding: 20px;
    color: #333;
	opacity: 0.8;
    transition: 0.3s;
}

.menu-item a:hover {
	display: block;
	color: #333;
	padding: 20px;
	opacity: 1;
	border-radius: 5px;
}

.menu-item:focus .sub-menu {
	display:block;
}

/* sub-menu */
.nav .sub-menu {
    width: 200px;
    padding: 0;
	top:60px;
    margin: 0;
    position: absolute;
    left: 0px; 
    background: #f6f6f6;
    border: none;
    z-index: 200;
    border-radius: 0px 0px 2px 2px;
    display: none;
}

.nav ul li {
    position: relative;
}	

.nav ul li:hover > ul {
    display: block;
}

.nav .sub-menu li {
    border: none;
    margin: 0px 0px;
    padding: 0;
    height: auto;
    position: relative;
	width: 100%;
    display: block;
    text-align: left;
}

.nav-mobile .menu-item-has-children a::after {
	float:right;
}

/* transparent nav */
.is-transparent .nav.navright a {
    color: #fff;
}

.is-transparent.stuck .nav.navright a {
    color: #444;
}

.is-transparent .nav .sub-menu li a {
    color: #444;
}

.is-transparent.stuck .nav.navright a:hover {
    color: #fff;
}

/* #### END NAV #### */

/* MEGA MENU STYLES */
#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link {
    font-size: 18px!important;
}
#mega-menu-wrap-menu-1 {
    float: right;
    margin-right: 20px;
}
#mega-menu-wrap-menu-1 .mega-menu-toggle {
    background: #ae2518;
}
@media only screen and (min-width: 769px) {
    #mega-menu-wrap-menu-1 {
        background: #ae2518!important;
    }
}
@media only screen and (max-width: 768px) {
    #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link {
        line-height: 50px;
        height: 50px;
        padding: 0 20px;
    }
    #mega-menu-wrap-menu-1 .mega-menu-toggle + #mega-menu-menu-1 {
        padding: 20px;
    }
}

/* hide page title */
header.entry-header {
    display: none;
}
.entry-content {
    margin: 0em 0 0;
}

/* Fixtures */
@media (max-width: 768px) {
    html #fixtures .fl-visible-desktop:not(.fl-visible-mobile), html .fl-visible-large:not(.fl-visible-mobile), html .fl-visible-medium:not(.fl-visible-mobile) {
        display: block;
    }
}

/* CONTACT FORM */
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea {
    color: #666;
    border: 1px solid #333;
    border-radius: 5px;
    padding: 8px;
    width: 100%;
}
input[type="submit"] {
    background: #a03223;
    color: #fff;
    padding: 0.8em 2em 0.8em;
}

/* RESPONSIVE MAPS */
.google-maps {
	position: relative;
	padding-bottom: 65%;
	height: 0;
	overflow: hidden;
	margin-top:60px;
}
.google-maps iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}
/* END */

/* FOOTER */
.footer {
    padding: 2.5%;
	background-color: #666;
	clear: both;
	color:#fff;
	font-size:16px;
	display:none;
}

.footer-widgets, .footer-widgets-full, .footer-widgets-half, .footer-widgets-third, .footer-widgets-quarter{
	display: done!important;
}

/*
   .footer-1, .footer-2, .footer-3 {
	width:33%;
	padding:1%;
	float:left;
	text-align:center;
}
*/

.footer-widgets-full .footer-1 {
	width:98%;
	padding:1%;
	float:left;
	text-align:center;
}

.footer-widgets-half .footer-1, .footer-widgets-half .footer-2 {
	width:48%;
	padding:1%;
	float:left;
	text-align:center;
}

.footer-widgets-third .footer-1, .footer-widgets-third .footer-2, .footer-widgets-third .footer-3 {
	width:33%;
	padding:1%;
	float:left;
	text-align:center;
}

.footer-widgets-quarter .footer-1, .footer-widgets-quarter .footer-2, .footer-widgets-quarter .footer-3, .footer-widgets-quarter .footer-4  {
	width:25%;
	padding:1%;
	float:left;
	text-align:center;
}

.copyright-wrapper {
	background-color:#333;
	padding:0.2% 2.5%;
	clear:all;
    display: flow-root;
}

.copyright-inner {
    max-width: 1100px;
    margin: 0px auto;
}

.copyright {
	color:#eee;
	font-size:14px;
}

.copyright a, .copyright a:hover {
	color:#eee;
}

p.copyright.left {
    float: left;
    width: 50%;
    margin-bottom: 1em;
}

p.copyright.right {
    float: right;
    width: 50%;
    text-align: right;
    margin-bottom: 1em;
}


/* ################################################# BACK TO TOP ############################################# */

.cd-top {
  display: inline-block;
  height: 40px;
  width: 40px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  /* image replacement properties */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: #a03223 url(img/cd-top-arrow.svg) no-repeat center 50%;
  visibility: visible;
  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  -moz-transition: opacity .3s 0s, visibility 0s .3s;
  transition: opacity .3s 0s, visibility 0s .3s;
}
.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  -moz-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
}
.cd-top.cd-is-visible {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;
}
.cd-top.cd-fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: .5;
}
.no-touch .cd-top:hover {
  background-color: #333;
  opacity: 1;
}
