/*
Theme Name: Divi Child
Theme URI: http://www.geekpoint.co.uk
Version: 1
Description: Smart. Flexible. Beautiful.
Author: GeekPoint
Author URI: http://www.geekpoint.co.uk
Template: Divi
*/

@import url("../Divi/style.css");

@font-face {
font-family: 'high_tower_text';
src: url('fonts/high_tower_text.eot');
src: url('fonts/high_tower_text.eot?#iefix') format('embedded-opentype'),
url('fonts/high_tower_text.woff') format('woff'),
url('fonts/high_tower_text.ttf') format('truetype'),
url('fonts/high_tower_text.svg#high_tower_textregular') format('svg');
font-weight: normal;
font-style: normal;
}

/*
---------------------------- */
body {
font-family: 'high_tower_text';
font-size: 20px;
}

.et_fixed_nav #logo {
margin-left: 0;
}
#main-header .container.clearfix {
text-align: center;
}
#logo,#et-top-navigation,nav#top-menu-nav, #top-menu {
float: none;
}

.nav  li ul {background-color: transparent !important;}

#logo {
max-height: 200px!important;
margin:1px;
}

#main-header {
background-image: url('http://www.castilion.co.uk/wp-content/uploads/2014/04/Header-400x2560.jpg');
height: 400px;
padding:0px;
}

#main-header { line-height: 23px; font-weight: 500; top: 0; background-color: rgba(255, 255, 255, 0); width: 100%; z-index: 99999; padding: 0px 0 0 0; min-height: 43px; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1); -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1); -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1); -moz-transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; }


#top-menu {
background-image: url('http://www.castilion.co.uk/wp-content/uploads/2014/03/NavBar-Scroll.png');
}

#et_top_search {
margin-top: -55px;
margin-right: 5%;
color: black;
}

#top-menu .menu-item-has-children > a:first-child:after { color: black;}

.et_pb_section {padding: 7px 0;}



#top-menu li {
top:35px;
font-size: 19px;
}

#top-menu {
height: 95px;
}

#top-menu li li a{
bottom: 30px;
}

#et-top-navigation { font-family: 'high_tower_text'; }

#top-menu ul {
	background-image: url('http://www.castilion.co.uk/wp-content/uploads/2014/03/Sub-Menu-Drop-Down1.png');
}

.et_mobile_menu .menu-item-has-children > a {
	font-weight: normal;
	background-color: rgba(180, 140, 140, 0);
}

.nav li li a, .et_mobile_menu li a {
	font-size: 19px;
	font-weight: normal;
	color: black;
}

.nav li ul { z-index: 9999; width: 200px; background: rgba(0, 0, 0, 0); !important; visibility: hidden; opacity: 0; border-top: 3px solid black !important; box-shadow: none; -moz-box-shadow: none; -webkit-box-shadow: none; }


.et-search-form {
	background-image: url('http://www.castilion.co.uk/wp-content/uploads/2014/03/Scroll-Background.png');
}

.et-search-form input { width: 280px; padding: 10px 20px; background-color: black; border: none; color: white;}


#mobile_menu {
	text-align: left !important;
	padding: 20px;
	background-image: url('http://www.castilion.co.uk/wp-content/uploads/2014/03/Scroll-Background.png');
}

.et_pb_fullwidth_header { background-image: url('http://www.castilion.co.uk/wp-content/uploads/2014/04/Small-Title-Headers.png') !important; position: relative;}

.search #main-content .container:before {background:none !important;}

.no.results #main-content .container:before {background:none !important;}


h1, h2, h3, h4, h5, h6 { color: #ffffff; padding-bottom: 10px; line-height: 1em; font-weight: 500; }
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: inherit; }

h1 {
font-size:39px;
}

.et_pb_toggle_close { background-color: rgba(255,255,255, 0.6); padding: 20px;}
.et_pb_toggle_title:before { content: "\63"; position: absolute; right: 0px; font-size: 16px; color: darkred; }
.et_pb_toggle_open .et_pb_toggle_title:before { content: "\64"; }

a { text-decoration: none; color: white; }

.et-search-form {
border-color: black;
}

body.page-id-124 {
background-image: none;
}

body.page-id-550 {
color: black;
}
.page-id-550 h1 {
  color: black;
}

body.page-id-42 {
color: black;
}
.page-id-42 h1 {
  color: black;
}

body.page-id-147 h5 {
font-size: 23px;
color: black !important;
}

body.page-id-44 h1 {
color: white;
}

.et_pb_contact_submit { 
  background-color: darkred;
 }

body.page-id-124 { background-image: url(http://www.castilion.co.uk/wp-content/uploads/2014/09/low_contrast_linen.png) !important; }

@media only screen and (max-width: 1100px) {
#top-menu {
background-image: url('http://www.castilion.co.uk/wp-content/uploads/2014/03/Ipad-Nav.png');
}
}

@media only screen and (max-width: 980px) {
#main-header {
background-image: url('http://www.castilion.co.uk/wp-content/uploads/2014/03/Ipad-Header.jpg');
height:213px;
}
#et_top_search {
top: 11px;
left: 0px;
margin-left: 90%;
float:none;
color: white;
}
.et_mobile_menu {
top: 203px;
border-color: black !important;
}
.et-search-form {
top: 27px;
}
#et_search_icon:before {
top: 4px;
}
div#square-lit, .shape.squareDemo > .textArea, div#square_production_Landingpage {width: 100% !important; height: 564px !important;}
}

@media only screen and (max-width: 767px) {
#et_search_icon:before {
left: -28px !important;
}
div#square-lit, .shape.squareDemo > .textArea, div#square_production_Landingpage {height: 375px !important;}
}

@media only screen and (max-width: 479px) {
div#square-lit, .shape.squareDemo > .textArea, div#square_production_Landingpage {height: 260px !important;}
}


.fullscreen {height: 100vh;}
.centred {margin-right: auto; margin-left: auto; display: block;}
cta {color: #000 !important;}

/* Grow */

.grow {
  display: inline-block;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: -webkit-transform;
  transition-property: transform;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}

.grow:hover {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

/* Pulse Grow */

@-webkit-keyframes pulse-grow {
  to {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
}

@keyframes pulse-grow {
  to {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
  }
}

.pulse-grow {
  display: -webkit-box;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}

.pulse-grow:hover {
  -webkit-animation-name: pulse-grow;
  animation-name: pulse-grow;
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
  animation-direction: alternate;
}

