/*
 Theme Name:   Cheshire Photography Co.
 Theme URI:    http://sm-webdesigns.co.uk/Cheshire Photography/
 Description:  Cheshire Photography Co. Theme by sm web designs
 Author:       sm web designs Cheshire
 Author URI:   http://www.sm-webdesigns.co.uk
 Template:     Divi
 Version:      2.5.3
*/

/**** Helvetica Font **/
h1, h2, h3, h4 {
   font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
   font-weight: 300;
  letter-spacing: 5px;
}

body {
 letter-spacing: 2px;
}

a:hover {
  text-decoration: underline;
  color: #fff;
}

/* hover effects */
.bw {
  -webkit-transition: all 1s ease;
     -moz-transition: all 1s ease;
       -o-transition: all 1s ease;
      -ms-transition: all 1s ease;
          transition: all 1s ease;
}
 
.bw:hover {
  -webkit-filter: grayscale(100%);
}

/* active menu item styling */
#top-menu li.current-menu-item > a {
  color: #fff !important;
  text-decoration: underline;
}

/**** Remove top header/menu **/
#top-header {
  display: none !important;
}

#logo {
    max-height: 35%;
}

.blog #main-header {
 background-color: #ceba4a !important;
}

/********* Decrease top padding on Navigation */
.et_header_style_left #et-top-navigation, .et_header_style_split #et-top-navigation {
    padding-top: 13px !important;
   padding-left: 157px !important;
}

/**** Back up scroll button recolour **/
.et_pb_scroll_top.et-visible {
 background-color: rgba(116, 151, 154, 0.8); 
}

/**** Increase size of homepage slider only **/
.myslider, .myslider .et_pb_container {
height: 980px !important;
}
.myslider, .myslider .et_pb_slide {
max-height: 980px;
}
.myslider .et_pb_slide_description {
position: relative;
top: 5%;
padding-top: 0 !important;
padding-bottom:0 !important;
height:auto !important;
}

.myslider .et_pb_media_alignment_center .et_pb_slide_image {
    top: 25%;
}

/**** Centre slider image **/
.et_pb_slide_image {
  width: 55%;
  left: 22%;
}

/***** Contact and gift graphic hover effect **/
.grow { transition: all .2s ease-in-out; }
.grow:hover { transform: scale(1.1); }


/*********************************************** Project Page **/
/*set img section height */
.projectimg {
  height: 780px !important;
}

/** Remove related posts */
#jp-relatedposts {
    display: none !important;
}

/********************************************** Contact Page Form Styling **/
.wpcf7-text, .wpcf7-textarea, .wpcf7-captchar {
background-color: #eee !important;
border: none !important;
width: 100% !important;
-moz-border-radius: 0 !important;
-webkit-border-radius: 0 !important;
border-radius: 0 !important;
font-size: 14px;
color: #999 !important;
padding: 16px !important;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.wpcf7-submit {
color: #ceba4a !important;
margin: 8px auto 0;
cursor: pointer;
font-size: 20px;
font-weight: 500;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
padding: 6px 20px;
line-height: 1.7em;
background: transparent;
border: 2px solid;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-moz-transition: all 0.2s;
-webkit-transition: all 0.2s;
transition: all 0.2s;
}
.wpcf7-submit:hover { 
background-color: #eee; 
border-color:#eee; 
padding: 6px 20px !important; 
}

/************************************************ Footer Widgets **/
#text-3.fwidget.et_pb_widget.widget_text {
  margin-bottom: 30px !important;
}

/* linkstyle */
.et_pb_widget a {
    color: #ceba4a;
}

.et_pb_widget a:hover {
    text-decoration: underline;
}

.emailsize {
  font-size: 12px;
}

/*newsletter sign up style */
.yks-mailchimpFormContainer-0-65f761515e {
    background: none !important;
    padding: 0 !important;
}

.widget_yikes_mc_widget p {
  margin-bottom: 0 !important;
}

.yks-mailchimpFormDivRow Label, .yks-status .yks-success p {
   color: #fff !important;
}

.yks-mailchimpFormDivRowField input {
    padding: 8px 10px;
    border: 0;
}

/** submit button styling **/
.yikes-easy-mc-submit-button {
    padding: 8px 5px;
    border: 0;
    font-size: 14px;
    background: #ceba4a;
}

.yikes-easy-mc-submit-button:hover {
    background: #cccfdf;
    color: #707382;
}

section.et_pb_fullwidth_header.et_pb_module {
 padding-top: 70px !important;
}


.squares {
  -webkit-transition: all 1s ease;
     -moz-transition: all 1s ease;
       -o-transition: all 1s ease;
      -ms-transition: all 1s ease;
          transition: all 1s ease;
}
 
.squares:hover {
  -webkit-filter: grayscale(100%);
}




/***************************************************** Media Queries ******/
/* ----------- iPhone 4 and 4S ----------- */
/* Portrait */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) {
.myslider, .myslider .et_pb_container {
height: 980px !important;
}
.myslider, .myslider .et_pb_slide {
max-height: 980px;
}
.homeintro h1 {
 font-size: 1.5em;
 line-height: 1.8em;
}

.projectimg {
  height: 100% !important;
}
}

/* laptop */
@media screen 
  and (min-device-width: 1200px) {
.home #et-top-navigation {
padding-left: 157px !important;
}
}