/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Version: 1.0
Description: Divi child theme
Author: Kat Clark
Author URI: https://hello-developers.com
Template:     Divi
Text Domain:  Divi-child
*/

/* LAYOUT */
#et-main-area { position: relative; z-index: 1; }
.et_pb_equal_columns >.et_pb_column { margin-top: auto; margin-bottom: auto; }
.et_pb_menu .et_pb_menu__menu > nav > ul > li:last-of-type > ul { left: auto; right: 0; }

/* Blog Grid */
.blog-grid > div { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }

/* Plus list */
.list-plus ul li::marker { content: '+ '; display: inline-block; margin-right: 0.1em; color: #0057ff; }
  
/* Shortcode Menu */
.et_pb_text ul.shortcode-menu { list-style-type: none; display: inline-block; padding: 0; }
.et_pb_text ul.shortcode-menu li { color: inherit; text-decoration: none; display: inline-block; margin: 0 1em 0 0; }

/* PDF LINKS */
a[href$=".pdf"] { color: #fff !important; background-color: #404041; font-weight: normal; display: block; margin: 10px 0 10px 36px; font-size: 11px !important; line-height: 26px; height: 26px; padding: 0 7px !important; position: relative; max-width: 250px; cursor: pointer; overflow: visible; }
a[href$=".pdf"]::before { content: ''; display: block; position: absolute; top: 0; left: -36px; width: 33px; height: 100%; background: transparent url('/wp-content/themes/Divi-child/images/pdf-blue.png') center left no-repeat; background-size: contain; }
a[href$=".pdf"]::after { content: ''; display: inline-block; position: absolute; right: 10px; top: 0; bottom: 0; height: 0; width: 0; margin: auto; border: 5px solid #002655; vertical-align: middle; border-top-color: transparent; border-bottom-color: transparent; border-left: 0; border-right-width: 10px; }

/* CHARTS */
.chartdiv { width: 106%; height: 500px; margin: 0 -3% 2em -3%; }

/* STATS */
.espresso_table { color: #0c1938; margin: 0 0 1em 0; }
.espresso_table th { color: #6c6c6c; text-transform: uppercase; }
.espresso_table .up { color: #00bc83; }
.espresso_table .down { color: #ff5973; }
.espresso_table .up::before,
.espresso_table .down::before { content: ''; display: inline-block; width: 0; height: 0; border: 5px solid transparent; border-top: 0; border-bottom: 6px solid currentcolor; vertical-align: middle; line-height: 1; margin: 0 4px; }
.espresso_table .down::before { border-bottom: 0; border-top: 6px solid currentcolor;  }
.espresso_table .num::before { content: none; }

/* Calendar */
#wp-calendar {}
#wp-calendar caption { font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif; color: #002655; font-size: 20px; padding-bottom: 15px; line-height: 1em; font-weight: 800; }
#wp-calendar td { text-align: center; position: relative; }
#wp-calendar a { position: relative; color: #002655 !important; }
#wp-calendar a::before { content: ''; display: block; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); height: 0; width: 100%; border: 1px solid transparent; padding-bottom: 100%; border-radius: 50%; }
#wp-calendar a.selected::before { border-color: #0057ff; }
.wp-calendar-nav { text-align: center; }

#espresso-feed h3 { padding: 2em 0 1em; }
#espresso-feed h3:first-child { padding-top: 1em; }

/* SLICK */
.slick-slider { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-touch-callout: none; -khtml-user-select: none; ms-touch-action: pan-y; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.slick-list { overflow: hidden; }
.slick-slide { float: left; }
.slick-arrow { position: absolute; top: 50%; font-size: 0; line-height: 0; background-color: transparent; border: 0; outline: 0; padding: 0; z-index: 100; transform: translateY(-50%); -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; /* opacity: 0; */ }
.slick-arrow::before { font-family: 'ETmodules' !important; font-size: 36px; color: #333;speak: none; font-style: normal; font-weight: normal; -webkit-font-feature-settings: normal; font-feature-settings: normal; font-variant: normal; text-transform: none; line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-shadow: 0px 0px; }
.slick-arrow.slick-next:before { content: "\35"; }
.slick-arrow.slick-next { right: -50px; }
.slick-arrow.slick-prev:before { content: "\34"; }
.slick-arrow.slick-prev { left: -50px; }

/* Portfolio Image */
.et_portfolio_image { max-width: 100%; }
.et_portfolio_image img { vertical-align: top; display: block; }

/* People */
.slick-slider .project { height: 250px; }

/* Icons */
.et-pb-icon { font-size: 50px; }

/* Rectangle */
.widget_mc4wp_form_widget { background-color: #002655; outline: 15px solid #002655; color: #fff; margin-bottom: 45px !important; }
.widget_mc4wp_form_widget h4 { color: #fff; }
.widget_mc4wp_form_widget input { width: 100%; border-radius: 3px; margin: 0; padding: 0.5em; border: 1px solid #ddd; color: #666; font-size: 14px;  line-height: normal !important; }
.widget_mc4wp_form_widget input[type="submit"] { cursor: pointer; background-color: #ddd; }
.widget_mc4wp_form_widget .mc4wp-response { margin-top: 15px; }

.bloggrid .et_pb_salvattore_content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
