/*
Theme Name:     Ellie
Description:    Divi child theme from Yates Design
Author:         Paul Yates
Template:       Divi
Version: 		11

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/

/* Fix the secondary menu z-index */
#top-header {
	z-index: 10;
}

/* Remove Sidebar on Posts */
#left-area {
	padding-right: 0;
	width: 100%;
}
#sidebar {
	display: none;
}
#main-content .container::before {
	display: none;
}

/* Secondary Menu modifications */
#top-header .container {
	padding: 0 !important;
}
#et-secondary-menu {
	float: none;
}
#et-secondary-nav li {
	margin-right: 0;
}
#et-secondary-nav li.left {
	float: left;
}
#et-secondary-nav li a {
	padding: 0.75em 1em;
}
#et-secondary-nav {
	width: 100%;
	text-align: right;
}
#et-secondary-nav li.facebook {
	background: #3b5998;
}
#et-secondary-nav li.twitter {
	background: #55acee;
}
#et-secondary-nav li.instagram {
	background: #125688;
}
#top-menu-nav li.phone a {
    background: #74b77f !important;
    border-color: #74b77f !important;
}
#et-secondary-nav li.facebook span, #et-secondary-nav li.twitter span, #et-secondary-nav li.instagram span {
	display: none;
}
@media (max-width: 980px) {
	#et-secondary-nav li.facebook span, #et-secondary-nav li.twitter span,#et-secondary-nav li.instagram span {
		display: block;
	}
}
@media (min-width: 980px) {
	#logo {
    border: 2px solid #333;
    border-radius: 5px;
    padding: 5px;
    max-height: 100px !important;
    height: 100px;
    background: #fff;
    margin-top: -13px;
	}
  #main-header {
    top: 20px !important;
  }
  body #main-header.et-fixed-header {
    top: 0 !important;
    -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2) !important;
    -moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2) !important;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2) !important;
  }
  #main-header.et-fixed-header #logo {
    margin-top: 0 !important;
  }
  #top-menu-nav li.cta a {
    background: #179ad6;
    padding: 1em 1.5em !important;
    margin-top: -1em;
    color: #fff !important;
    border-radius: 200px !important;
    -webkit-border-radius: 200px !important;
    -o-border-radius: 200px !important;
    border: 2px solid #179ad6;
  }
}
/* Button modifications */
body.et_pb_button_helper_class .et_pb_button {
	padding: 1em 2.5em;
}
.et_pb_bg_layout_light .et_pb_more_button {
	color: #fff !important;
}
body.et_pb_button_helper_class .et_pb_button:hover {
    padding: 1em 3.4em 1em 1.6em !important;
}
.et_pb_button:after {
    font-size: 20px !important;
    line-height: 1em !important;
    margin-top: 2px;
}
.color-fade {
	-webkit-animation: color-fade 10s infinite;
	-moz-animation: color-fade 10s infinite;
	animation: color-fade 10s infinite;
}

/* Animations */
@-webkit-keyframes color-fade {
  0% { background: #179ad6; } /* Blue */ 
  10% { background: #8b80bc; } /* Purple */
  30% { background: #ed2b89; } /* Pink */
  50% { background: #f7a664; } /* Orange */
  70% { background: #f2cf29; } /* Yellow */
  90% { background: #c8d22f; } /* Green */
  100% { background: #179ad6; } /* Blue */
}

@-moz-keyframes color-fade {
  0% { background: #179ad6; }
  10% { background: #8b80bc; }
  30% { background: #ed2b89; }
  50% { background: #f7a664; }
  70% { background: #f2cf29; }
  90% { background: #c8d22f; }
  100% { background: #179ad6; }
}

@keyframes color-fade {
  0% { background: #179ad6; }
  10% { background: #8b80bc; }
  30% { background: #ed2b89; }
  50% { background: #f7a664; }
  70% { background: #f2cf29; }
  90% { background: #c8d22f; }
  100% { background: #179ad6; }
}
.drop-cap p:first-child:first-letter {
	float: left;
	font-size: 100px;
	padding-top: 0;
	line-height: 80px;
	padding-right: 8px;
	font-family: Playfair Display;
}
.et_pb_specialty_fullwidth .et_pb_row.et_pb_gutters1 {
    width: 100% !important;
    max-width: 100% !important;
}
#work .et_pb_blurb_container {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -webkit-transition: all 1.2s;
    -moz-transition: all 1.2s;
    transition: all 1.2s;
    width: 80%;
    pointer-events: none;
    z-index: 1;
}
#work .et_pb_column_single:hover .et_pb_blurb_container, #work .et_pb_column_inner:hover .et_pb_blurb_container {
  top: 50%;
}
#work .et_pb_blurb_container h6 {
	font-weight: 400;
	font-family: Oswald;
	text-transform: uppercase;
    font-size: 16px;
    margin-top: 20px;
}
#work .et_pb_blurb_container p, #work .et_pb_blurb_container h6 {
    opacity: 0;
    filter: alpha(opacity=0)
}
#work .et_pb_column_single:hover .et_pb_blurb_container p, #work .et_pb_column_inner:hover .et_pb_blurb_container p, #work .et_pb_column_single:hover .et_pb_blurb_container h6, #work .et_pb_column_inner:hover .et_pb_blurb_container h6 {
    opacity: 1;
    filter: alpha(opacity=1)
}
#work .et_pb_main_blurb_image img {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    transition: all 1s;
    transform: scale(1.1);
    display: block;
    width: 100%;
}
#work.et_section_regular .et_pb_column,
#work.et_section_specialty .et_pb_row_inner .et_pb_column,
#work .et_pb_column_single {
	overflow: hidden;
}
#work.et_section_regular .et_pb_column:hover .et_pb_main_blurb_image img,
#work.et_section_specialty .et_pb_row_inner .et_pb_column:hover .et_pb_main_blurb_image img,
#work .et_pb_column_single:hover .et_pb_main_blurb_image img {
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
    transform: scale(1);
}
#work.et_section_regular .et_pb_column:hover .et_pb_blurb_container,
#work.et_section_specialty .et_pb_row_inner .et_pb_column:hover .et_pb_blurb_container,
#work .et_pb_column_single:hover .et_pb_blurb_container {
    opacity: 1;
    filter: alpha(opacity=1)
}
#work.et_section_regular .et_pb_column:hover .et_pb_main_blurb_image a:after,
#work.et_section_specialty .et_pb_row_inner .et_pb_column:hover .et_pb_main_blurb_image a:after,
#work .et_pb_column_single:hover .et_pb_main_blurb_image a:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}
#work .et_pb_blurb_content:after {
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    transition: all 1s;
    -webkit-transition-delay: 2s;
    transition-delay: 2s;
}
#work .et_pb_main_blurb_image {
	margin-bottom: 0;
	display: block;
}
#work.et_section_regular .et_pb_column:hover .et_pb_blurb:before,
#work.et_section_specialty .et_pb_row_inner .et_pb_column:hover .et_pb_blurb:before,
#work .et_pb_column_single:hover .et_pb_blurb:before {
  opacity: 0;
  filter: alpha(opacity=0)
}
#work .et_pb_blurb:before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
#work .et_pb_blurb {
  position: relative;
}
body.et_pb_button_helper_class .et_pb_button {
    padding: 1em 2.5em;
    border-radius: 200px!important;
    -webkit-border-radius: 200px!important;
    -o-border-radius: 200px!important;
    font-family: Oswald;
    letter-spacing: 3px !important;
}
#footer-info {
    width: 100%;
    text-align: center;
}
.vertically-centered {
    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    align-items: center;
}

@media (max-width: 981px) {
	.switch-columns {
		display: -moz-box;
	    display: -webkit-box;
	    display: -webkit-flex;
	    display: -ms-flexbox;
	    display: flex;
	    -webkit-box-orient: vertical;
	    -webkit-flex-flow: column;
	    -ms-flex-direction: column;
	    flex-flow: column;
	}
	.switch-columns .et_pb_column_1_2:nth-of-type(2) {
		-moz-box-ordinal-group: 1;
	    -webkit-box-ordinal-group: 1;
	    -webkit-order: 1;
	    -ms-flex-order: 1;
	    order: 1;
	}
	.switch-columns .et_pb_column_1_2:nth-of-type(1) {
		-moz-box-ordinal-group: 2;
	    -webkit-box-ordinal-group: 2;
	    -webkit-order: 2;
	    -ms-flex-order: 2;
	    order: 2;
	}
}

/* The Blurb Hover Effect */
.the-blurb-hover .et_pb_blurb_container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.the-blurb-hover .et_pb_module_header {
    padding: 10px 20px;
}

.the-blurb-hover .et_pb_blurb_description {
    padding: 0 20px 0px 20px;
}

.the-blurb-hover h6 {
    font-weight: 400;
    font-family: Oswald;
    text-transform: uppercase;
    font-size: 16px;
    margin-top: 10px;
}

.the-blurb-hover:hover:before {
    background: rgba(0,0,0,0.7) !important;
}

.the-blurb-hover:before {
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

@media (max-width: 980px) {
	.the-blurb-hover .et_pb_main_blurb_image {
		min-height: 200px;
	}
}