/*
Theme Name: IWHQ Vanilla
Theme URI: http://www.irishwebsitehq.com
Description: IWHQ Vanilla
Version: 1
Author: Mark O'Leary
Author URI: http://www.irishwebsitehq.com
*/



/* ================ GENERAL RULES ======================= */
body {
font-size:16px;
font-family:'Roboto';
background: url(https://wifi.scariff.ie/wp-content/uploads/2019/06/scariff_town.png) no-repeat top center;
}

/* Headings
================================================== */
h1, h2, h3{
    font-weight:600;
}
h1 { font-size: 2em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.17em; }
h4 { font-size: 1.12em; }
h5 { font-size: .83em; }
h6 { font-size: .75em; }

/* ================ RESPONSIVE IMAGES ======================= */
img {
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
}

/* ================ LINKS ======================= */
a{
	outline: 0;
}

/* ================ HEADER ======================= */
#top{
    background-color:#55b249;
    height:65px;
    color:#fff;
    font-weight:500;
}

#top .social{
   float:right;
    padding-top:18px;
}

#top .contact{
    padding-top:10px;
}

#top .contact img{
    margin: 0 6px 0 12px;
    vertical-align: middle;
}

#top a{
    color:#fff;
    text-decoration: none;
}

header{

}



/* Logo
================================================== */
.logo-nav{
    margin-top: 24px;
}


/* Navigation
================================================== */
nav {
    float: right;
    margin-right: -15px;
    padding-top: 45px;
	position:relative;
}

nav ul{
    margin:0;
    padding:0;
    list-style:none;
}

nav > ul > li{
	position:relative;
	float:left;
}

nav > ul > li > a {
    color:#4c4c4c;
    font-size:14px;
    text-transform: uppercase;
    padding:10px 15px;
    text-decoration: none;
}

nav > ul > li > a:hover, nav li a:active {
    color:#00aeef;
    text-decoration: none;
}

nav ul {
	text-align:center;
}
nav ul li {
	display:inline-block;
	width:100px;
}
	
nav ul > li a {
    letter-spacing: 1px;
    color: #333;
    text-transform: capitalize;
    font-weight: 600;
    font-size: 15px;
}
 nav ul.sub-menu {
	position:absolute;
	padding:0px;
	left:0px;
	width:100%;
	background:#000;
	display:none;
	z-index:300;
 }
  nav ul.sub-menu > li  {
	text-align:left;
	vertical-align:top;
	display:inline-block;
	text-transform:uppercase;
   }
 nav ul.sub-menu > li a  {
	padding:3px 6px;
	 color:#fff;
	 text-decoration:none;
 }
 


nav ul > li:hover ul.sub-menu {
	display:inline-block;
}

 nav ul > li a:hover {
}

.menu-item img._before {
    display: block !important;
    width: 48px;
    margin: 0 auto !important;
}

.menu-item a span{
	display:block;
}

/* ================ CONTENT ======================= */

#content{
    padding: 20px 0px 40px;
}
main{
    padding:40px 0 50px;
}

#content .welcome {
    background: rgba(25, 131, 179, 0.6);
    color: #fff;
    max-width: 800px;
    padding: 20px 30px 30px;
    font-size: 21px;
	font-weight:500;
}

.welcome h2 {
    font-size: 52px;
    font-weight: 600;
}

#content .search{
	background-color:#fff;
	padding:20px 40px 30px;
}

.search article{
	padding:30px;
}

main .business, #content .business{
	background-color: #fff;
	padding: 15px 40px 30px;
	border-radius: 5px;
	min-height:570px;
}

main .business h2, #content h1 {
    border-bottom: 2px solid #00AEEF;
	padding-bottom: 8px;
	font-size: 32px;
	margin: 30px 15px;
	width: auto;
}

#content h1 {
	margin: 15px 0 30px;
}

main .feature{
    background-color:#fff;
}

main .feature.threes{
    text-align:center;
    padding:20px 0;
}

.feature h3{
    border-bottom: 2px solid #eee;
    display: inline-block;
    padding-bottom: 8px;
    font-size: 20px;
}

main .feature.twos{
    padding:20px;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

main .feature.twos img{
    float:left;
    margin-right:30px;
}


#searchform {
    margin-top: 14px;
}

#s {
    height: 37px;
    border: none;
	color:#666;
	text-indent:6px;
	width:220px;
}

#searchsubmit {
    background: url(images/search.png) no-repeat center center;
    border: none;
	height: 24px;
	width: 40px;
}

article{
	-webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,.15);
    box-shadow: 0 0 10px 0 rgba(0,0,0,.15);
	margin: 15px 0;
}

article:hover{
	-webkit-box-shadow: 0 0 30px 0 rgba(0,0,0,.15);
    box-shadow: 0 0 30px 0 rgba(0,0,0,.15);
}

article figure {
    margin: 0;
    height: 180px;
    overflow: hidden;
}

article figure img{
    width:100%;
}

article aside{
	padding:0 15px 15px;
	text-align:center;
}

/* ================ BLOG ======================= */
.posts article{
    padding:20px;
    background-color:#f9f9f9;
    margin-bottom:20px;
    border:1px solid #ededed;
}

.posts article h2{
    margin-top:5px;
}

/* Footer
================================================== */
footer{
    padding:30px 0;
    color:#fff;
}



#credits{
    background-color: #55b249;
	color: #eee;
    padding:8px 0;
    font-size:13px;
}

#credits a{
	color:#fff;
}

/* Buttons
================================================== */
.button, a:hover.button, #maillist #mc-embedded-subscribe .button{
    padding:8px 16px;
    text-decoration:none;
    display: inline-block;
    margin-top: 8px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font-weight:normal;
    font-size:15px;
    background-color:#eee;
}

.flexslider .button{
     background-color:#eee;
 }

.feature .button{
    background-color:#eee;
}

#maillist #mc-embedded-subscribe .button{
    background-color:#eee;
    color:#666;
}
/* Flexslider
================================================== */
.flexslider{
    border:none;
    margin:0;
}

.flexslider .container{
    position: relative;
}

.flexslider aside{
    display:inline-block;
    position: absolute;
    bottom:40px;
    right:0;
    background: rgba(0,0,0, 0.5);
    color:#fff;
    padding:10px 20px;
    border-top: 1px solid #f3f3f3;
    border-bottom:1px solid #f3f3f3;
}

.flex-direction-nav a {
    height:50px;
}

.flex-control-nav {
    bottom: 10px;
    z-index: 10;
}

.flexslider .flex-next {opacity: 0.2; right: 5px;} .flexslider .flex-prev {opacity: 0.2; left: 5px;}

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}



/* Slick Nav
-------------------------------------------------------------- */
#mobile-menu{
    display:none;
}


/* ======================== MEDIA QUERIES ========================= */
/* ======================== OVER 1280 ========================= */
@media screen and (min-width:1281px){

}

/* ======================== 1280 ========================= */
@media screen and (max-width:1280px){

}

/* ======================== 1024 ========================= */
@media screen and (max-width:1024px){
	#s {
		width:170px;
	}
}

/* ======================== 980 ========================= */
@media screen and (max-width:980px){
	nav ul li {
		width: 80px;
	}
	
	article figure {
		height: 100px;
	}
	
	article aside {
		min-height: 150px;
	}
	
	article aside h3 {
		min-height: 40px;
	}
}

/* ======================== 800 ========================= */
@media screen and (max-width:800px){
    nav{
        display:none;
    }
    #mobile-menu{
        display: block;
        position: fixed;
        z-index: 10;
        width: 100%;
    }
	
	#mobile-menu .slicknav_btn{
		color: #2a6496;
	}
	
	.slicknav_menu, .slicknav_btn, .slicknav_menu a:hover {
		background: #2285ad;
		color:#fff;
	}
	
	.menu-item a span, .menu-item img._before{
		display:inline-block !important;
		margin-right:0.5em !important;
	}

    #top{
        height: 106px;
        position: relative;
        padding-top: 3.375em;
    }
	
	#top .contact {
		padding-top: 5px;
	}
	
	#searchform {
		margin-top: 5px;
	}
	
	#top .social {
		padding-top: 10px;
	}
	
	.logo-nav {
		margin-top: 10px;
	}
}

/* ======================== 768 ========================= */
@media screen and (max-width:768px){

}

/* ======================== 768 ========================= */
@media screen and (max-width:767px){
	#top .center{
		display:none;
	}
	
	#top .left, #top .right{
		float:left;
		width:30%;
	}
	
	#top .left{
		float:left;
		width:70%;
	}
	
	article figure {
		height: auto;
	}
}

/* ======================== 540 ========================= */
@media screen and  (max-width:540px){
	span.harbour-festival{display:none;}
	span.harbour-fest:after{
		content: "Harbour Fest.";
	}
}

/* ======================== 480 ========================= */
@media screen and  (max-width:480px) {
	#top {
		height: 123px;
	}
	
	#top a.other-site {
		color: #fff;
		text-decoration: none;
		height: 100px;
		display: inline-block;
		float: left;
		width: 90px;
	}
	
	#top .social {
		padding-top: 20px;
	}
	
	.logo-nav {
		text-align: center;
	}
	
	#logo{
		width: 140px;
		position: relative;
		top: -20px;
	}
	
	#content .welcome, main .business h2{
		text-align:center;
	}
	
	#top .left{
		width:65%;
	}
	
	#top .right{
		width:35%;
	}
}

/* ======================== 360 ========================= */
@media screen and  (max-width:360px) {

}

/* ======================== 320 ========================= */
@media screen and  (max-width:320px) {

}