/*
Theme Name: Amble Marina
Author: Lazy Grace
Description: Custom WordPress Theme for Amble Marina
Version: 0.0.1
*/

img{
	max-width:100%!important;
	height:auto!important;
}
body {
	font-family: 'Open Sans', sans-serif;
	color: rgb(14,2,76);

}
p {
    font-family: 'Merriweather', serif;
}
h2{
	color: rgb(14,2,76);
    font-size: 38px;
    text-transform: uppercase;
}
h3{
	width:100%;
}
h4 {
    font-family: 'Merriweather', serif;
}
.controls{
	border-radius: 50%;
    border: none;
    color: white;
    background-color: #0e024c;
    cursor: pointer;
}
.controls:focus{
	outline: none;
}
.alignright {
    float: right;
    padding: 10px 0 20px 20px;
}
.alignleft {
    float: left;
    padding: 10px 20px 20px 0px;
}
.children{ 
	display:none;
}
#contact-us{
	font-weight:normal;

}
.contact-us input[type= "text"], .contact-us label, .contact-us textarea, .contact-us input[type= "email"]{
	width:100%;
	font-weight:normal;
}
.box {
	/* flex:1; */
	border:5px solid white ;
	padding:0px;
}
.box-title{
	background-color: rgb(124,163,226);
	color:white;
	text-transform: uppercase;
	padding:5px;
	padding-left:10px;
    font-size: 0.9rem;
    min-height: 55px;
    vertical-align: middle !important;
}
.box-img{
	text-align: center;
	padding:0px;
	overflow: hidden;
    height: 250px;
}
.box-text {
	padding:10px ;
    font-size: 0.8rem;
}
.box-text p{
	font-weight:normal!important;
}
.box-text, .box{
    background-color:rgb(233,232,239);
}
.boxes{
	display: flex; /* Make the container element behave like a table */
   
}
.box-img img{
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    min-width: 100% !important;
} 

.lightSlider, .lSSlideOuter{
	width:100%;
	overflow-y:visible;
	margin:auto;
}
.lightSlider img{
	width:100%;
	height:auto;
}
.lSSlideOuter .lSPager.lSGallery{
	margin: 20px auto 0px auto!important;
	height: 125px;

}
.lSSlideOuter .lSPager.lSGallery li img {
	overflow: hidden;
	height:8vw!important;
    width: auto;
    max-width: unset!important;
}
.card-img-holder{
	width:100%;
	overflow:hidden;
}
.card-img-holder a {
    width: 100%;
}
.card-img-holder img{
	max-width: none!important;
	min-width: 100%;
    width: auto;
    height: 300px!important;
}
hr{
	width:150px;
	border-bottom:1px solid rgb(115,149,213);
    margin-top: 0px;
    margin-bottom: 7px;
}
header {
	background-color: rgba(14,2,76,0.9);
}
.product h5{
	
}
.product-full hr{
	width:100%;
}
.product-full .btn-fom{
	position:absolute;
	bottom:0px;
}
.enquire-side{
	background-color:rgba(14,2,76,1);
	text-align: center;
	padding:10px 0px;
	color:white;
	font-size: 1em;
}
.enquire-side input[type = text] , .enquire-side input[type = email],.enquire-side textarea, .enquire-side label{
	width:100%;
	margin-top:5px;
}
.enquire-side .cf7robot {
    transform: scale(0.75);
}
.parallax{
	padding-top: 30px;
	padding-bottom: 30px;
	background-image: url(images/para-img.png);
	background-size: cover;
	background-attachment: fixed;
	background-position: center center;
}
.product-img img{
	max-width:100%;
	height:auto;

}
.brokerage{
	padding-top: 30px;
	padding-bottom: 30px;
	background-image: url(images/brokerage-bg.png);
	background-size: cover;
	background-attachment: fixed;
	background-position: center center;
}
 .berth-enq input[type="submit"], .berth-enq textarea{
	width:80%;

}
.berth-enq span, .berth-enq label{

	width:100%;
}
.enquire-side textarea{
	height:250px;
}
.enquire-side input[type = text], .enquire-side textarea {
	text-align: left;
	
}
.enquire-side button, .enquire-side input[type = submit], input[type = submit], .btn-side{
	background-color: rgb(121,164,232);
	color:white;
	border:0px;
	cursor:pointer;
	width:100%;
	margin-top:5px;
	text-transform: uppercase;
	font-size:1em;
	padding:3px;
	border:1px solid rgb(121,164,232)!important ;
}
.enquire-side button:hover, .enquire-side input[type = submit]:hover, input[type = submit]:hover, .btn-side:hover{
	color:  rgb(121,164,232);
	background-color:white;
	border:1px solid rgb(121,164,232) ;
}
.enquire-side p {
	text-align: left;
	padding:5%;
}
.enquire-side form p{
	padding-top:0px;
	padding-bottom:0px;
	margin-top:0px;
	margin-bottom:0px;
}
.lSSlideOuter .lSPager.lSGallery {

}
body > section > div.col-md-10.offset-md-1 > div.lSSlideOuter.thumbs > ul > li{
	
}
#next, #prev{
	width:50px;
	background-color:rgba(14,2,76,1);
	height:8vw;
	color:white;
	font-size:5rem;
}
.header {
	
	  width: 100%;
	  
	  background-color:rgba(14,2,76,0.9);
	 
	  /* animation magic */

	  z-index: 9999;
	  top: 0;
	  position: fixed;
}

a {
	color: #325d94;
	text-decoration: none;
}
a:hover {
	color: #03234c;
	text-decoration: none;
}
.navigation .btn-primary a {
    color: #fff;
}
.top-top{
	width:100%;
	background-color: rgb(60,70,140);
	color:white;
	text-align: center;
    font-size: 0.8em;
    padding: 6px 0;
}
.top-top a{
	color:white;
	text-align: center;
}
.top-top ul li{
	display:inline;
	border-right:1px solid white;
	padding:5px;


}
.navbar { 
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out ;
    padding: 20px 0px;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
    text-align: center;

}
header ul > .nav-item .nav-link:before{
    content: "\2022";
    color: rgb(200,53,59);
    position: relative;
    left: -10px;
}
.dropdown-toggle::after{
	display:none!important;
}
.dropdown-menu:after{
	display:none !important;
}
.dropdown-menu::before {
  content: "";
  width: 0;
  height: 0;
  position: absolute;

  border-left: 8px solid transparent;
  border-right: 8px solid transparent;	
  border-bottom: 16px solid rgb(60,70,140);
  top: 4px;
  left: 10px;
}
.dropdown-menu{
	padding-top:20px;
	color:white;
	width: max-content;
	background-color: transparent;
	border:0px;
}
.dropdown-menu ul{
	list-style: none;
	padding:5px;
}
.dropdown-menu  li{
	background-color: rgb(60,70,140);
	border-bottom: 1px solid rgb(99,107,163);
	padding:5px;
}
.dropdown-item {
    font-family: 'Merriweather', serif;
    font-size: 0.8rem;
}
.dropdown-item:focus, .dropdown-item:hover {
	background-color: rgb(60,70,140);
}
.dropdown-menu li:last-child{
	border-bottom: 0px;
}
 ul ul li:before, ul ul .dropdown-item:before{
	display: none;
}
.nav-item:first-child .nav-link:before {
	display:none;
}
.sub-nav{

}
.sub-nav ul{
	list-style: none;
	text-align: center;
	color:white;
	background-color: rgb(14,2,76);
	padding: 0px;
	text-transform: uppercase;
}
.sub-nav ul li a {
	color:white ;
	display:block;
	width:100%!important;
}
.sub-nav ul li a:hover{
	color: rgb(124,163,226);
}
.sub-nav li{
	padding:10px;
	position:relative;
}
.sub-nav li.current_page_item{
    background-color: #6a95da;
}
.sub-nav li.current_page_item a:hover{
    color: #fff;
}
.sub-nav li a::after {
    content: '';
    border-bottom: 1px solid rgb(124,163,226);
    width: 50px;
    position: absolute;
    bottom:0;
   
    left: calc(50% - 25px); /* This will make border center aligned */
     display: inline-block;
}
 blockquote::after {
    content: '';
    border-bottom: 1px solid rgb(124,163,226);
    width: 200px;
    position: absolute;
    bottom:60px;
   
    left: calc(50% - 100px); /* This will make border center aligned */
     display: inline-block;
}
.credit:before{
	display: none;
}
.bx-viewport{
	overflow:auto!important;
}
.sub-nav li:last-child a::after {
   
    display: none;
}
.shrink{
  padding: 5px;
}
.navbar ul{
	margin:auto;
}
.navbar a {
	color: #fff;
}
.navbar a:hover {
	color:rgb(200,53,59);
}
.navbar-brand {
	padding: 0;
}
.nav {
	margin-top: 5px;
}
.nav-item .nav-link {
	padding-top: 0px;
	padding-bottom: 0px;
	padding-right: 0.7rem !important;
    padding-left: 0.7rem !important;
    font-size: 1rem;
}
.affix {
  padding-top: 0.4em !important;
  padding-bottom: 0.4em !important;
  -webkit-transition:padding 0.2s linear;
  -moz-transition:padding 0.2s linear;  
  -o-transition:padding 0.2s linear;         
  transition:padding 0.2s linear;  
}
.sub-heading{
	font-weight: lighter;
	padding-left: 5px;
    display: inline-block;
}
.bx-wrapper .bx-controls-auto {
	display: none;
}
.sub-heading:before{
    content: "\2022";
    color: rgb(200,53,59);
    position: relative;
    left:-2px;
}
.main-content {
    padding-bottom: 40px;
}
.main-content p:first-of-type{
	font-weight: bold;
}
.main-content h3 {
    font-size: 1.2rem;
    font-family: 'Merriweather', serif;
    border-bottom: 1px solid rgb(115,149,213);
    margin-bottom: 20px;
    margin-top: 40px;
}
.main-content h4 {
    color: rgb(200,53,59);
    font-size: 1.0rem;
    font-family: 'Merriweather', serif;
}

section {
    min-height:calc(100% - 170px);
}

.content h2 {
	color: #234876;
    font-family: 'Merriweather', serif;
	padding-top: 20px;
	padding: 20px;
	font-size: 1.5rem;
}
.homeServices {
	padding-top: 30px;
	padding-bottom: 30px;
	color: rgb(14,2,76);
}
.homeServices h3 {
	padding: 0;
	margin: 0;
	color: #fff;
	font-family: 'Merriweather', serif;
}
.homeServices img {
	-webkit-transition:all 0.25s ease-in-out;
	-moz-transition:all 0.25s ease-in-out;
	-o-transition:all 0.25s ease-in-out;
	-ms-transition:all 0.25s ease-in-out;
	transition:all 0.25s ease-in-out;
}
.homeServices img:hover {
	transform: scale(1.05,1.05);
	-webkit-transform:scale(1.05,1.05);
	-moz-transform:scale(1.05,1.05);
	-ms-transform:scale(1.05,1.05);
	-o-transform:scale(1.05,1.05);
}


/* Metaslider General */

.metaslider .slides img {
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    min-width: 100% !important;
}

/* Metaslider Styling for the homepage */

.homeSlider, #metaslider_container_6, #metaslider_6, ul.slides, ul.slides li  {
    height: 70vh !important;
    overflow: hidden !important;
}
.homeSlider ul.slides li img {
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    min-width: 100% !important;
}
.homeSlider ul.slides li {
    display: flex !important;
    justify-content: center; /* align horizontal */
    align-items: center; /* align vertical */
}


.card {
	border: 0px;
	border-radius: 0px;
	text-align: left;
}
h5 a{
	color: rgb(14,2,76);
}
.title-card div, .title-card .card-title{
	background-color:rgb(233,232,239);
}
.homeServices .card h5 {
	text-transform: uppercase;
	font-size: 1.8rem;
    position: relative;
    z-index: 3;
}
.homeServices .card .btn-primary {
	display: block;
}
.card-title{
	background-color:white;
    padding: 5px 20px 5px 0px;
    width: fit-content;
    margin-top: -60px;
    
}
.title-card{
	background-color:rgb(233,232,239);
	text-align: center;
    padding: 25px 0px;
}
.product-img{
	width:100%;
	height:auto;
}
.brokerage-tint{

	background-color:rgba(255,255,255,0.9);
}
.product-body{
	padding-top:10px;
	text-align:left;
	background-color:white;
}
.product-body .btn-fom{
	position: absolute;
	bottom:10px;
}
.quotes{
	padding-top:50px;
	padding-bottom:10px;
	padding-left:50px;
	padding-right:50px;
	text-align: center;
	color:rgb(14,2,76);
    background-color: rgb(233,232,239);
}
.quote, blockquote{
    font-size: 23px;
    font-family: "Open Sans";
    color: rgb(14, 2, 76);
    font-style: italic;
    font-weight: 100;
    }
.quote-by, .credit{
	text-transform: uppercase;
	text-align: center!important;
	margin-top:90px!important;
}
.tint h2{
	color:white;
}

.tint {
	background-color: rgba(61,71,141,0.9);
	color:white!important;
	text-align: center;
	width:100%;
}
input[type=text], input[type=email], input[type=tel], input[type=date]{
	width:80%;
	padding:5px;
	text-align: left;
    border: 1px solid #5d95df;
}
textarea {
     border: 1px solid #5d95df;
}
table,tr,td,th {
	border:1px solid rgb(60,70,140);
	text-align: center;
}
td{
	padding:2px;
}
.btn-join{
	color:white;
	padding:5px 25px;
	background-color:rgb(14,2,76);
}
.btn-join:hover{
	color:rgb(14,2,76);
	background-color:white;
}
footer {
	color: white;
	background-color: rgb(14,2,76);
    font-weight: 100;
}
footer a {
	color: #fff;
}
footer a:hover, footer .nav-link:hover {
	color: #fff;
	text-decoration: underline;
}
footer h4 {
	font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
    font-size: 1.3rem;
}
footer ul {
	padding:0px;
	list-style-type: none;
}
footer ul li {
	
}
footer hr{
	width:100%;
}
footer ul li:last-child a {
	border-right: 0px !important;
}
footer .nav-item .nav-link {
	padding: 0px !important;
}
.foot-foot{
	background-color: rgb(8,1,52);
	padding:15px;
    font-size: 0.8rem;
}
.about-panel{
	background-color: rgb(122,164,232);
	color:white;
	text-align: right;
	font-size: 17px;
}
.about-panel .row {
    align-items: center;
}
.about-panel img{
	width:100%;
}
.about-panel .bgHarbour {
	background-image: url(images/boats.jpg);
	background-size: cover;
	background-position: center center;
}



/* Buttons */

.btn {
	border-radius: 0;
	border: 0;
}
.btn-primary {
	background-color: #03234c;
	text-transform: uppercase;
	font-size: 0.8rem;
}
.btn-primary:hover {
	background-color: #325d94;
}

.btn-secondary {
	background-color: #b68035;
}
.btn-secondary:hover {
	background-color: #956624;
}
.btn-fom{
	background-color: transparent;
	border:0px;
	text-align: left;
	padding: 0 0 3px 0px;
	color:rgb(14,2,76);
	border-bottom:2px solid rgb(115,149,213);
	text-transform: uppercase;
	font-family: 'Open Sans', sans-serif;
}
.btn-fom:hover{
	color:rgb(115,149,213);
}
/* Animated Hamburger */
.featImg{
	max-width:50%!important;
}
.icon-bar {
	width: 22px; 
	height: 2px;
	background-color: #292668;
	display: block;
	transition: all 0.2s;
	margin-top: 4px
}
 
.navbar-toggler {
  border: none;
  background: transparent !important;
  margin-top: 6px;
  margin-bottom: 7px;
}
 
 .navbar-toggler .top-bar {
  transform: rotate(45deg);
  transform-origin: 10% 10%;
}
 
.navbar-toggler .middle-bar {
  opacity: 0;
}
 
.navbar-toggler .bottom-bar {
  transform: rotate(-45deg);
  transform-origin: 10% 90%;
}
 
.navbar-toggler.collapsed .top-bar {
  transform: rotate(0);
}
 
.navbar-toggler.collapsed .middle-bar {
  opacity: 1;
}
 
.navbar-toggler.collapsed .bottom-bar {
  transform: rotate(0);
}

.navbar-toggler {
	background-color: transparent;
	border: 0px;
}
p.wp-caption-text {
    font-size: 0.6rem;
    margin-top: 10px;
    font-weight: normal !important;
}

/* Responsive */

/* Animated Hamburger */

.icon-bar {
	width: 22px; 
	height: 2px;
	background-color: #fff;
	display: block;
	transition: all 0.2s;
	margin-top: 4px
}
 
.navbar-toggler {
  border: none;
  background: transparent !important;
  margin-top: 6px;
  margin-bottom: 7px;
}
 
 .navbar-toggler .top-bar {
  transform: rotate(45deg);
  transform-origin: 10% 10%;
}
 
.navbar-toggler .middle-bar {
  opacity: 0;
}
 
.navbar-toggler .bottom-bar {
  transform: rotate(-45deg);
  transform-origin: 10% 90%;
}
 
.navbar-toggler.collapsed .top-bar {
  transform: rotate(0);
}
.berth-enq input{
	text-align: left;

}
.berth-enq input[type="submit"]{
	width:25%;
	text-align: center;
	
}
.navbar-toggler.collapsed .middle-bar {
  opacity: 1;
}
 
.navbar-toggler.collapsed .bottom-bar {
  transform: rotate(0);
}

.navbar-toggler {
	background-color: transparent;
	border: 0px;
}

.menu-left{
	float:right;
	} 
.dropdown:hover .dropdown-menu {
  display: block !important;
}
#footer-bottom li{
	display:inline;
	border-right:1px solid white;
	padding-right: 5px;
    padding-left: 5px;
}

#menu-item-1182 {
    display: none;
}

@media only screen and (max-width : 1320px) {
    
    .nav-item .nav-link {
        padding-top: 0px;
        padding-bottom: 0px;
        padding-right: 0.7rem !important;
        padding-left: 0.7rem !important;
        font-size: 0.8rem;
    }
}
@media only screen and (max-width : 1200px) {
	#footer-bottom {
    -moz-column-count: 2;
    -moz-column-gap: 20px;
    -webkit-column-count: 2;
    -webkit-column-gap: 20px;
    column-count: 2;
    column-gap: 20px;
}
#footer-bottom li{
	display:inherit;
}
    
}
@media only screen and (max-width : 1115px) {
        .nav-item .nav-link {
        font-size: 0.7rem;
    }
}
@media only screen and (max-width : 576px) {


	footer {
	    text-align: center;
	}
	

}

@media only screen and (max-width : 989px) {
	.about-panel{text-align: center;}
	.sub-nav{
		padding:0px;
	}
	footer div {text-align:center!important;}
	#footer-bottom li{
		display:inherit;
		border-right:0px;
	}
	.box-img img {
		
		max-height: 290px;
	}
	ul{
		width: 100%;
		margin:auto;
	}
	ul > .nav-item .nav-link:before{
	    display: none;


	}	
	.dropdown-menu::before {
	  content: "";
	  width: 0;
	  height: 0;
	  position: absolute;

	  border-left: 8px solid transparent;
	  border-right: 8px solid transparent;	
	  border-bottom: 16px solid rgb(60,70,140);
	  top: 34px;
	  left: calc(50% - 8px);
	}
		.logo_header{
		display:none;
	}
	.menu-left{
		float:none;
	}
	.navbar-toggler {
		text-align: center;
    	margin: 6px 30px 7px auto;
	}
	.navbar-nav .nav-link {
	    text-align: center;
	   
	}
	.text-right, .text-left {
		text-align: center !important;
	}
		body{
		
	}
	#logo_mobile{
		display: inline-block!important;
		padding-left: 30px;
	}
	#menu-top-navigation-left{
		margin:20px auto 0px auto!important;
	}
}


@media only screen and (max-width : 767px) {
	.top-top{
		display:none;
	}
	.about-panel{
		text-align: center;
	}
	/*.dropdown:hover .dropdown-menu{
		display:none!important;
	}*/
    .dropdown:hover .dropdown-menu {
        width: 100%;
        text-align: center;
        padding-top: 10px;
    }
    .nav-item {
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .nav-item .nav-link {
        font-size: 1rem;
    }
    #menu-item-1182 {
        display: block;
    }
    .nav-item a.dropdown-toggle {
        pointer-events: none;
    }
    .dropdown-menu::before {
        display: none;
    }
    .dropdown-menu li {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    #navbar > div:nth-child(1), #navbar > div:nth-child(3) {
        padding: 0 !important;        
    }
	.sub-nav{
		padding:0px;
	}
	.box-img img {
		
		max-height: 445px;
	}
	body > footer > div > div > div.col-sm-12.col-md-6.mb-sm-3{
		margin-bottom:1em;
	}
	.featImg{
		max-width:100%!important;
	}
}




@media only screen and (min-width : 989px) {
	.btn-side{
		font-size: 0.65em;
	}
}
@media only screen and (min-width : 1582px) {
	.btn-side{
		font-size: 1em;
	}
}
.homeSlider  ul  li a{
	width:100%;
}