/*
 Theme Name:   Cassiobury Estates
 Theme URI:    
 Description:  Cassiobury Estates
 Author:       Paul Long
 Author URI:   http://www.blackboxdesign.co.uk
 Template:     Divi
 Version:      1.0.0
 Tags:         
 Text Domain:  
*/

@import url("../Divi/style.css");

/* =Theme customization starts here
-------------------------------------------------------------- */

/* ---- Typography ------ */

h1,h2,h3,h4,h5,h6 {
padding-bottom: 20px;
}

h2.subhead {
font-family: 'Roboto Condensed', sans-serif;
text-transform: uppercase;
color: #2c4126;
}

a.und {
text-decoration: underline;
}


/* ----- Navigation ---- */

#et-top-navigation {
display: none;
}

.service-button {
display:block;
border: 1px solid #e3e3e3;
border-radius: 3px;
padding: 5px 10px;
margin-bottom:10px;
}

.service-button:hover {
background-color: #2c4126;
transition: 1.0s ease-in;
}

.service-button:hover a {
color:#ffffff;
}

/* ----- Section Spacing ----- */

/*#logo {
margin-bottom: 0;
}*/

.no_top_pad.et_pb_section {
padding-top: 0;
}

.lo_top_pad.et_pb_section {
padding-top: 15px;
}

/*div.ce_slider {
margin-top: -50px;
}*/


.et_header_style_centered #logo {
    padding: 0;
}


/* ---- Main Content ----- */

.hide-me {
display: none !important;
}

.et_pb_column_1_2 .et_pb_team_member_image, .et_pb_column_1_3 .et_pb_team_member_image, .et_pb_column_1_4 .et_pb_team_member_image, .et_pb_column_3_8 .et_pb_team_member_image {
text-align: left;
}

.et_pb_team_member_description h4, .et_pb_member_position {
    text-align: left;
}

.bio-email:before {
content: url('http://cassioburyestates.co.uk/wp-content/uploads/2015/03/email-icon_15.png');
position:relative;
top:3px;
left:-5px;
}

.box-right {
border-left: 1px solid #cccccc;
padding-left:20px;
}

.bio-email a {
font-size: 0.9em;
text-decoration: underline !important;
}

table#ce_contacts {
margin-top: 40px;
}

table#ce_contacts, table#ce_contacts td, table#ce_contacts tr {
border: none;
}

table#ce_contacts td {
padding: 6px 0 !important;
}

.et_pb_contact p input, .et_pb_contact p textarea {
    background-color: #ececec;
    color: #999 !important;
    font-size: 14px;
    padding: 7px !important;
    font-family: inherit;
    }

input.et_pb_contact_submit {
border: none;
font-size: 16px;
color: #2c4126 !important;
}

div.et_pb_team_member_image img {
box-shadow: 5px 5px 3px #777777;
}

.et_pb_slider .et_pb_slide {
box-shadow: none;
}

.et_pb_slider .et_pb_slide {
    box-shadow: none;
}

/*div.bg_center .et_pb_slider .et_pb_slide, div.bg_center .et_pb_section {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}*/

div.bg_bottom .et_pb_slider .et_pb_slide, div.bg_bottom .et_pb_section {
background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
}

.et_pb_slide_description {
    padding: 225px 100px;
}

/* ----- Gravity Forms ----- */

form#gform_1 {
padding:5px 20px;
border:1px solid #ececec;
background-color:#f1f1f1;
}

form#gform_1 textarea {
height:120px;
}

/* ----- Footer ----- */

#footer-info {
font-size:0.8em;
}


/* ----- Responsive design ----- */

/* ----- 980px and below ----- */

@media only screen 
and (max-width: 980px) {

#et-top-navigation {
display: block;
}

.menu-item-object-page.menu-item-120 a, .menu-item-object-page.menu-item-172 a, .menu-item-object-page.menu-item-138 a, .menu-item-object-page.menu-item-179 a, .menu-item-object-page.menu-item-156 a, .menu-item-object-page.menu-item-193 a {
display: none;
}

#logo {
max-height: 65px;
}

}


/* iPads (landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {

.bio-email:before {
content: url('http://cassioburyestates.co.uk/wp-content/uploads/2015/04/email-icon_10.png');
}

.bio-email a {
font-size: 0.8em;
}

}

/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {

#logo {
max-height: 65px;
}

#et-top-navigation {
display: block;
}

.box-right {
border-left: none;
padding-left:0px;
}

h1 {
font-size: 26px;
line-height: 1.2em;
}

.menu-item-object-page.menu-item-120 a, .menu-item-object-page.menu-item-172 a, .menu-item-object-page.menu-item-138 a, .menu-item-object-page.menu-item-179 a, .menu-item-object-page.menu-item-156 a, .menu-item-object-page.menu-item-193 a {
display: none;
}

form#gform_1 {
padding:5px 5px;
border:1px solid #ececec;
background-color:#f1f1f1;
}

}
