/* 
Theme Name:		 Hodges Plumbing & Heating
Theme URI:		 https://chrisward.digital
Description:	 Theme for Andy by Chris
Author:			 chrisward.digital
Author URI:		 https://chrisward.digital
Template:		 base
Version:			 1.0.0
Text Domain:	 base-child
-------------------------------------------------------------- */ 

/* =Theme customization starts here
------------------------------------------------------- */

body {
	font-family: 'Roboto', Helvetica, Arial, sans-serif;
	background: #fff url(/wp-content/themes/hodges-plumbing-heating/images/plumbing-background.png) 0% 0%;
}

.site-container.wrap {
    border-left: 3px solid #1d5a9b;
    border-right: 3px solid #1d5a9b;
    border-bottom: 3px solid #1d5a9b;
    padding: 0 15px;
    background: #fff;
}



.content {
	width: 650px;
}

.sidebar-primary {
	width: 230px;
	padding: 50px 50px 10px 10px;
}

@media only screen and (max-width: 1023px) {

	.content,
	.sidebar-primary {
		width: 100%;
	}
}

h1, h2, h3, h4, h5, h6 {
    color: #1D5A9B;
    font-weight: bold;
}

/*footer#footer {
    border-bottom: 3px solid #1d5a9b;
}*/


a#logo {
    max-width: 200px;
    display: block;
    float: left;
    margin-left: 10px;
}

h2#tagline {
    font-size: 14px;
    color: #c8c9d0;
    float: left;
    margin: 35px 0 0 30px;
}

p#tel {
    float: right;
    margin: 0;
    font-size: 24px;
    color: #1d5a9b;
}

p#tel a {
    font-weight: bold;
    color: #1d5a9b;
    padding: 20px 0;
    display: inline-block;
}

@media only screen and (max-width: 700px){
    p#tel, h2#tagline {
        float: none;
        text-align: center;
    }
}

@media only screen and (max-width: 460px){
    p#tel, h2#tagline {
        clear: both;
        margin: 0;
        padding: 0;
    }
    a#logo {
        float: none;
        margin: 0 auto;
    }
}


@media only screen and (max-width: 1023px){
    .site-container.wrap {
        padding-top: 30px;
    }

    nav#navigation {
        position: absolute;
        top: 60px;
        width: calc(100% - 30px);
        background: #fff;
        z-index: 1;
    }

    nav#navigation ul {
        border: 3px solid #132e4c;
    }

    a#menu-icon {
        top: -60px;
        right: 0;
    }

    ul.menu-primary > li {
    	background: #1d5a9b;
    	margin: 0;
    }

    ul.menu-primary > li > a {
    	border: none;
    	border-bottom: 1px solid #fff;
    	color: #fff;
    }

   	ul.menu-primary > li > ul.children {
		left: auto;
		opacity: 1;
		display: block;
		position: relative;
		width: 100%;
		border: none !important;
	}

	ul.menu-primary > li > ul.children a {
		padding-top: 10px;
		padding-bottom: 10px;
	}
}


@media only screen and (min-width: 1024px){

    nav#navigation {
        width: 75%;
        float: right;
        background: #1d5a9b;
        padding-left: 10px;
    }

    ul.omega-nav-menu {
        text-align: left;
    }

    ul.omega-nav-menu a:hover {
        text-decoration: underline;
    }

    ul.omega-nav-menu > li > a {
        font-size: 20px;
        color: #fff;
        position: relative;
        padding: 15px 28px;
    }

    ul.omega-nav-menu ul li {
        border-left: 3px solid #1d5a9b;
        border-right: 3px solid #1d5a9b;
        font-weight: bold;
    }

    ul.omega-nav-menu ul li:last-child {
        border-bottom: 3px solid #1d5a9b;
    }

    ul.omega-nav-menu > li:nth-child(1) {
        display: none;
    }


    ul.omega-nav-menu > li:nth-child(2) > a,
    ul.omega-nav-menu > li:nth-child(3) > a,
    ul.omega-nav-menu > li:nth-child(4) > a {
        text-transform: uppercase;
        font-weight: bold;
        padding-right: 50px;
    }

    ul.omega-nav-menu > li:nth-child(2) > a {
        color: #addce9;
    }

    ul.omega-nav-menu > li:nth-child(3) > a {
        color: #da8c31;
    }

    ul.omega-nav-menu > li:nth-child(4) > a {
        color: #5bc7f7;
    }

    /* Pointers */
    ul.omega-nav-menu > li:nth-child(2) > a:after,
    ul.omega-nav-menu > li:nth-child(3) > a:after,
    ul.omega-nav-menu > li:nth-child(4) > a:after {
        content: '▼';
        font-size: 10px;
        position: absolute;
        right: 30px;
        top: 25px;
    }
    

    /* Dividers */
    ul.omega-nav-menu > li > a:before {
        content: '';
        border-right: 1px solid silver;
        position: absolute;
        right: 0px;
        top: 38%;
        display: block;
        height: 20px;
    }

    ul.omega-nav-menu > li:last-child > a:before {
        content: unset;
    }

}




header#header {
    clear: both;
    background: #fff url(/wp-content/themes/hodges-plumbing-heating/images/plumbers-banner.jpg) no-repeat 100% 50%;
    background-size: contain;
    border: 1px solid #dedede;
    position: relative;
    top: 15px;
}

header#header .wrap {
    padding: 0;
}



@media only screen and (max-width: 760px){
  header#header .wrap {
      background: rgba(255, 255, 255, 0.75);
  }
  header#header {
      background-size: cover;
  }
}


header#header .title-area {
    text-align: left;
    color: #1d5a9b;
    font-size: 25px;
}

header#header .title-area ul {
    margin: 25px 50px;
    padding: 0;
    list-style: none;
    line-height: 110%;
}

header#header .title-area ul li {
  margin: 20px 0;
}




#footer-links {
	background: #1d5a9b;
	overflow: auto;
	font-size: 11px;
	padding: 20px 20px 10px 20px;
	margin-bottom: 15px;
	margin-top: 50px;
}

#footer-links ul {
	width: 33%;
	float: left;
	margin: 0;
	list-style: none;
}

#footer-links a {
	color: #ffffffa6;
	text-decoration: underline;
	padding: 0 0 7px 0;
	display: inline-block;
}

.site-footer {
    padding: 15px 0;
}

@media only screen and (max-width: 700px){

	#footer-links ul {
		width: 50%;
		margin-bottom: 10px;
	}

	#footer-links ul:last-child {
		clear: left;
	}

}











p#breadcrumbs {
    position: relative;
    top: -15px;
    margin-bottom: 5px;
    font-size: 12px;
}


.site-inner {
    padding-left: 10px;
}


.entry-title {
    font-size: 28px;
}

div#services-list {
	border-top: 1px solid #5dade991;
	border-bottom: 1px solid #5dade991;
	margin-bottom: 30px;
}

div#services-list ul {
    margin: 35px 20px;
}

div#services-list ul li {
    list-style: none;
    background: #fff url(/wp-content/themes/hodges-plumbing-heating/images/tick.png) no-repeat 0 10px;
    background-size: 18px;
    font-size: 18px;
    margin: 0;
    padding: 5px 0 5px 30px;
    font-weight: bold;
}








#sidebar .widget_media_image h4 {
    display: none;
}

#sidebar .widget_media_image img {
	margin-bottom: 30px;
}


@media only screen and (max-width: 1023px) {
	#sidebar .widget_media_image {
		float: left;
		margin-left: 30px;
		margin-top: 50px;
		margin-bottom: 0px;
		height: 150px;
		width: calc(50% - 30px);
		text-align: center;
	}
}

@media only screen and (max-width: 425px) {
	#sidebar .widget_media_image {
		margin-left: 0;
		margin-top: 20px;
		height: auto;
		width: 100%;
	}
}




div#subpage-links {
	border: 1px solid #1D5A9B;
	padding: 20px 15px 0 15px;
	background: #e0f9ff;
	clear: both;
	margin-bottom: 20px;
	overflow: auto;
}

div#subpage-links h2 {
	font-size: 22px;
	margin-bottom: 15px;
}








body.home p#breadcrumbs {
    display: none;
}

body.home header.entry-header h1 {
    font-size: 25px;
}

body.home .entry-content h4 {
    margin-bottom: 0;
}

body.home .entry-content ul {
    margin: 10px 20px 30px 10px;
}

body.home .entry-content ul li {
    list-style: none;
    background: #fff url(/wp-content/themes/hodges-plumbing-heating/images/tick.png) no-repeat 0% 50%;
    background-size: 15px;
    font-size: 14px;
    margin: 0;
    padding: 5px 0 5px 25px;
}

/*
.iframe-wrapper {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 25px;
	height: 0;
}

.iframe-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
*/







