/* 
 Theme Name:     Bare bones for Divi
 Author:         Divi theme examples
 Author URI:     http://www.divithemeexamples.com 
 Template:       Divi
 Version:        1.0 
*/ 


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */ 
.floatton-container.floatton-opened{
    z-index: 9999999;
}

/* ------ Move the secondary menu down when the ShiftNav toggle bar is active --------------- */
@media only screen and ( max-width: 960px ) {
.et_fixed_nav #top-header{
    top:45px;
}
}

/* ----------- HX Titles with Lines --------------------------- */ 
h1.headline-bordered {
    text-align: center;
    display: inline-block;
    margin: 20px 0;
    padding: 20px 0 25px 0;
    border: 2px solid rgba(99,154,210,0.4);
    border-right: none;
    border-left: none;
}

h2.headline-bordered {
    text-align: center;
    display: inline-block;
    margin: 20px 0;
    padding: 20px 0 25px 0;
    border: 2px solid rgba(99,154,210,0.4);
    border-right: none;
    border-left: none;
}
h3.headline-bordered {
    text-align: center;
    display: inline-block;
    margin: 20px 0;
    padding: 20px 0 25px 0;
    border: 2px solid rgba(99,154,210,0.4);
    border-right: none;
    border-left: none;
}


/* Style Captions */
.wp-caption {
border: 0;
text-align: center;
padding-top: 5px;
margin: 10px;
background-color: #fff;
}
.wp-caption img {
margin: 0;
padding: 0;
border: 0 none;
}
.wp-caption .wp-caption-text {
font-size: 1em;
line-height: 17px;
font-weight: bold;
padding: 8px;
margin: 0;
}

/* Fix UL/OL font */
ul, ol {
    font-family: "Oxygen", sans-serif;
    font-weight: 300; 
    margin-left: 10px;
    padding-left: 0px;
	color: #000000;

}

/* Remove Divi sidebar border */
.container:before { background-color:transparent !important; }
.et_pb_widget_area_right { border-left:0 !important; }
.et_pb_widget_area_left { border-right:0 !important; }

/* Style Sidebar */
#sidebar .et_pb_widget, #et_sidebar .et_pb_widget {
	background: transparent;
	border: 2px;
	border-radius: 3px;
	-webkit-box-shadow: 0 3px 10px 0 rgba(199,199,199,1);
	-moz-box-shadow: 0 3px 10px 0 rgba(199,199,199,1);
	box-shadow: 0 3px 10px 0 rgba(199,199,199,1);
	clear: right;
	float: none;
	margin: 0px 0px 20px 0px !important;
	padding: 10%;
	text-align: left;
	width: 100% !important;
}

#sidebar ul, #et_sidebar ul {
	margin-left: 10px;
}


/* ----------- SEARCH PAGES --------------------------- */ 
.grid-search li {
    display: inline-block;
    width: 100%;
    max-width: 32%;
    vertical-align: top;
    margin-right: 1%;
}
.search-results .post-meta { display: none; }


/* ----------- BLURB-CARD CUSTOMIZATIONS FROM YATES DESIGN --------------------------- */

.blurb-card .et_pb_main_blurb_image {
 margin-bottom: 0 !important;
}

.blurb-card .et_pb_button {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 zoom: 1;
 filter: alpha(opacity=0);
 opacity: 0;
}
.blurb-card .et_pb_blurb {
 margin-bottom: 0 !important;
}
.blurb-card .et_pb_column {
 position: relative;
}
.blurb-card .et_pb_blurb_container {
 background: #fff;
 padding: 50px 15px 15px 15px;
 border-radius: 4px;
 box-shadow: 0px 0px 0px rgba(0, 0, 0, .08) !important;
 -webkit-box-shadow: 0px 0px 0px rgba(0, 0, 0, .08) !important;
 -moz-box-shadow: 0px 0px 0px rgba(0, 0, 0, .08) !important;
 -webkit-transition: all 0.1s linear;
 -o-transition: all 0.1s linear;
 -moz-transition: all 0.1s linear;
 -ms-transition: all 0.1s linear;
 -kthtml-transition: all 0.1s linear;
 transition: all 0.1s linear;
 margin-top: -50px;
}
.blurb-card .et_pb_column:hover .et_pb_blurb_container {
 -webkit-box-shadow: 5px 15px 15px rgba(0, 0, 0, .2) !important;
 -moz-box-shadow: 5px 15px 15px rgba(0, 0, 0, .2) !important;
 box-shadow: 5px 15px 15px rgba(0, 0, 0, .2) !important;
 -webkit-transition: all 0.1s linear;
 -o-transition: all 0.1s linear;
 -moz-transition: all 0.1s linear;
 -ms-transition: all 0.1s linear;
 -kthtml-transition: all 0.1s linear;
 transition: all 0.1s linear;
}
 
/* Effect 8 */
.blurb-card .et-pb-icon {
 padding: 20px;
 font-size: 32px;
 position: relative;
 z-index: 1;
 color: #004b87 !important;
 -webkit-transition: all 0.1s linear;
 -o-transition: all 0.1s linear;
 -moz-transition: all 0.1s linear;
 -ms-transition: all 0.1s linear;
 -kthtml-transition: all 0.1s linear;
}
.blurb-card .et-pb-icon:after {
 pointer-events: none;
 position: absolute;
 width: 100%;
 height: 100%;
 border-radius: 50%;
 content: '';
 -webkit-box-sizing: content-box;
 -moz-box-sizing: content-box;
 box-sizing: content-box;
}
.blurb-card .et-pb-icon:before {
 content: '';
 display: block;
}
.blurb-card .et-pb-icon {
 background: rgba(255, 255, 255, 0.1);
 -webkit-transition: -webkit-transform ease-out 0.1s, background 0.2s;
 -moz-transition: -moz-transform ease-out 0.1s, background 0.2s;
 transition: transform ease-out 0.1s, background 0.2s;
}
.blurb-card .et-pb-icon:after {
 top: 0;
 left: 0;
 padding: 0;
 z-index: -1;
 box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
 opacity: 0;
 -webkit-transform: scale(0.9);
 -moz-transform: scale(0.9);
 -ms-transform: scale(0.9);
 transform: scale(0.9);
}
.blurb-card .et_pb_column:hover .et-pb-icon {
 background: rgba(255, 255, 255, 0.05);
 color: #0f76bc !important;
 -webkit-transition: all 0.1s linear;
 -o-transition: all 0.1s linear;
 -moz-transition: all 0.1s linear;
 -ms-transition: all 0.1s linear;
 -kthtml-transition: all 0.1s linear;
}


/* FIX FLOATTON GRAVITYFORMS LAYOUT */

body .floatton-container .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]){
	padding-left: 8px;
	padding-right: 8px;
}
body .floatton-container .gform_wrapper ul.gform_fields li.gfield{
	padding:2px;
}
body .floatton-container .gform_wrapper li.gfield.gfield_error{
	background: transparent;
	border: 0px;
	padding: 0px;
	margin: 0px;
}
body .floatton-container .gform_wrapper li.gfield.gfield_error .gfield_description.validation_message{
	display: none;
}
body .floatton-container .gform_wrapper li.gfield.gfield_error div.ginput_container{
	margin: 0px !important;
}
body .floatton-container .gform_wrapper div.validation_error{
	border: 0px;
	padding: 0px;
	margin: 0px;
	text-align: left;
	font-weight: 300;
	font-size: 14px;
}
body .floatton-container .gform_wrapper .gform_footer{
	margin: 0px;
	padding: 0px;
}
body .floatton-container .gform_wrapper select{
	background: #fff;
	border: 1px solid #d1d1d1;
	font-size: 13px !important;
}
body .floatton-container .gform_wrapper .gform_footer input{
	line-height: 18px;
}

body .floatton-container .gform_wrapper{
	padding-bottom: 0;
}

body .floatton-container .gform_heading{
	margin-bottom: 0;
}

body .floatton-container h3.gform_title{
	padding-bottom: 0;
	font-size: 22px;
}


/* -------------- JDP Fancy H's ------------- */

.et_sb_widget ul li {
background-color: #b9cbd6;
padding: 10px;
text-align: center;
}

/* -------------- Kenny Burns Effect ------------- */

.kb-zoomout .et_pb_slide .et_parallax_bg {
   animation: zoomout 7s forwards;
  -ms-animation: zoomout 7s forwards;
  -webkit-animation: zoomout 7s forwards;
  -0-animation: zoomout 7s forwards;
  -moz-animation: zoomout 7s forwards;
 
}

.kb-zoomout .et_parallax_bg {
   animation: zoomout 17s forwards;
  -ms-animation: zoomout 17s forwards;
  -webkit-animation: zoomout 17s forwards;
  -0-animation: zoomout 17s forwards;
  -moz-animation: zoomout 17s forwards;
 
}
 
 .no-parallax .et_pb_parallax_css {
    background-attachment: inherit;
    background-position: center center;
}
 
.no-parallax .et_pb_slides .et_parallax_bg.et_pb_parallax_css {
    background-attachment: inherit;
    background-position: center center;
}

 
@keyframes zoomout{
0% {
    -ms-transform: scale3d(1.5, 1.5, 1.5) translate3d(-0px, 0px, 0px);
    -webkit-transform: scale3d(1.5, 1.5, 1.5) translate3d(0px, 0px, 0px);
    -o-transform: scale3d(1.5, 1.5, 1.5) translate3d(0px, 0px, 0px);
    -moz-transform: scale3d(1.5, 1.5, 1.5) translate3d(0px, 0px, 0px);
    transform: scale3d(1.5, 1.5, 1.5) translate3d(0px, 0px, 0px);
    animation-timing-function: linear;
}
 
 
100% {
    -ms-transform: scale3d(1.1, 1.1, 1.1) translate3d(0px, 0px, 0px);
    -webkit-transform: scale3d(1.1, 1.1, 1.1) translate3d(0px, 0px, 0px);
    -o-transform: scale3d(1.1, 1.1, 1.1) translate3d(0px, 0px, 0px);
    -moz-transform: scale3d(1.1, 1.1, 1.1) translate3d(0px, 0px, 0px);
    transform: scale3d(1.1, 1.1, 1.1) translate3d(0px, 0px, 0px);
 
}
}

/**** Block Quotes ****/
blockquote:not(.twitter-tweet) {
  padding: 28px 32px 50px;
  border-left: 10px solid #fff;
  background: #eaeaea;
  width: 75%;
  height: 100%;
  position: relative;
  z-index: 2;
  margin-bottom: 40px;
	margin-left:auto;
	margin-right:auto;
}
blockquote:not(.twitter-tweet):before {
  content: '';
  display: block;
  width: 95%;
  height: 90%;
  background-color: transparent;
  border-top: 10px solid #004b87;
  border-left: 10px solid #004b87;
  position: absolute;
  left: -10px;
  top: -10px;
  z-index: -1;
}
blockquote:not(.twitter-tweet):after {
  content: url("/wp-content/uploads/2019/10/icons8-quote-24.png");
  position: absolute;
  right: 10px;
  bottom: 10px;
}
blockquote:not(.twitter-tweet) p, blockquote:not(.twitter-tweet) p:last-child {
  font-size: 22px;
  font-family: 'SNMono';
  line-height: 1.3;
  color: #171717;
}
blockquote:not(.twitter-tweet) p a, blockquote:not(.twitter-tweet) p:last-child a {
  color: #004b87;
}