/*
Theme Name: Divi Child Theme
Description: A child theme to house custom coding which modifies the Divi parent theme by Elegant Themes. Includes default line numbers where the code was taken from in the parent theme.
Author:   Brad Dalton http://wpsites.net
Template: Divi
*/

@import url("../Divi/style.css");


/* Style Footer Credits - Lines 948 & 949 */

/* 
#footer-info { 
text-align: left; 
color: green; 
padding-bottom: 10px; 
float: left; 
}

#footer-info a { 
font-weight: 700; 
color: yellow; 
}

#footer-info a:hover { 
color: pink; 
}


/* Style Footer Social Icons - Lines 1185 to 1198 */
/*
#footer-bottom .et-social-facebook a {
	color: blue;
}
#footer-bottom .et-social-twitter a {
	color: powderblue;
}
#footer-bottom .et-social-google-plus a {
	color: red;
}
#footer-bottom .et-social-rss a {
	color: orange;
}

/* Hover Colors*/
/*
#footer-bottom .et-social-facebook a:hover {
	color: pink;
}
#footer-bottom .et-social-twitter a:hover {
	color: pink;
}
#footer-bottom .et-social-google-plus a:hover {
	color: pink;
}
#footer-bottom .et-social-rss a:hover {
	color: pink;
}
*/





/*modules*/

@font-face {
  font-family: "Druk-Text";
  font-weight: 600;
  src: url("https://mattmirelesdev.wpengine.com/wp-content/themes/divi-master/fonts/DrukTextWide-Bold.woff") format("woff"), url("https://mattmirelesdev.wpengine.com/wp-content/themes/divi-master/fonts/DrukTextWide-Bold.woff2") format("woff2"), url("https://mattmirelesdev.wpengine.com/wp-content/themes/divi-master/fonts/DrukTextWide-Bold.eot") format("eot");
}
@font-face {
  font-family: "Druk-Text";
  font-weight: 800;
  src: url("https://mattmirelesdev.wpengine.com/wp-content/themes/divi-master/fonts/DrukTextWide-Super.woff") format("woff"), url("https://mattmirelesdev.wpengine.com/wp-content/themes/divi-master/fonts/DrukTextWide-Super.woff2") format("woff2"), url("https://mattmirelesdev.wpengine.com/wp-content/themes/divi-master/fonts/DrukTextWide-Super.eot") format("eot");
}
@font-face {
  font-family: "Druk-Wide";
  font-weight: 800;
  src: url("https://mattmirelesdev.wpengine.com/wp-content/themes/divi-master/fonts/DrukWide-Bold.woff") format("woff"), url("https://mattmirelesdev.wpengine.com/wp-content/themes/divi-master/fonts/DrukWide-Bold.woff2") format("woff2"), url("https://mattmirelesdev.wpengine.com/wp-content/themes/divi-master/fonts/DrukWide-Bold.eot") format("eot");
}

/*investment*/
.investment-hero img {
  width: 100%;
  height: auto;
}

.investment-hero h1 {
  margin-bottom: 40px;
}

.investment-hero, .portfolio-item {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.investment-hero .et_pb_column
.portfolio-item .et_pb_column {
  float: none;
  clear: both;
}

@media only screen and (max-width: 768px) {
  .investment-hero, .portfolio-item {
    flex-direction: column;
    padding: 0 30px;
  }
}

/*Post List*/
.et_pb_section .et_pb_posts .et_pb_post {
  margin-bottom: 0 !important;
}

.et_pb_text_inner p {
  line-height: 1.2em;
}

.wp-block--twitter {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 200px
}

.wp-block--twitter .section--title {
    text-align: center;
    font-size: 32px;
    font-family: Druk-wide,sans-serif;
    margin-bottom: 80px
}

@media (min-width: 992px) {
    .wp-block--twitter .section--title {
        font-size:52px
    }
}

.wp-block--twitter .tp_recent_tweets ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
}

@media (min-width: 768px) {
    .wp-block--twitter .tp_recent_tweets ul {
        -webkit-box-orient:horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row
    }
}

.wp-block--twitter .tp_recent_tweets ul li {
    width: calc(100% - 50px);
    margin: 25px;
    position: relative;
    background-color: #fff;
    padding: 20px;
    background-image: inherit;
    -webkit-box-shadow: 4px 6px 7px 0 rgba(0,0,0,.08);
    box-shadow: 4px 6px 7px 0 rgba(0,0,0,.08);
    border-radius: 2px;
    opacity: 1;
    -webkit-transition: opacity .4s ease-out;
    -o-transition: opacity .4s ease-out;
    transition: opacity .4s ease-out
}

.wp-block--twitter .tp_recent_tweets ul li:hover {
    opacity: .6
}

.wp-block--twitter .tp_recent_tweets ul li:before {
    content: "";
    position: absolute;
    top: 20px;
    right: 30px;
    width: 20px;
    height: 20px;
    background-image: url(http://mattmirelesdev.wpengine.com/wp-content/themes/matt-mireles/resources/assets/images/twitter_black.png);
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: contain
}

@media (min-width: 768px) {
    .wp-block--twitter .tp_recent_tweets ul li {
        width:calc(50% - 50px)
    }
}

.wp-block--twitter .tp_recent_tweets ul li .twitter__wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    font-size: 20px;
    color: #000;
    width: 100%;
    height: 100%
}

.wp-block--twitter .tp_recent_tweets ul li .twitter__wrapper:hover {
    text-decoration: none
}

.wp-block--twitter .tp_recent_tweets ul li .twitter__wrapper span {
    display: block;
    font-size: 20px;
    font-weight: 500
}

.wp-block--twitter .tp_recent_tweets ul li .twitter__wrapper span .twitter--rt {
    display: block;
    color: #fa0808;
    margin-bottom: 30px;
    font-size: 18px
}

.wp-block--twitter .tp_recent_tweets ul li .twitter__wrapper .twitter_time {
    padding-top: 30px;
    margin-top: auto;
    text-align: right;
    font-size: 14px
}

/*Sidebar*/

.et_pb_sidebar_0 {
  width: 100%;
  padding: 0;
  display: flex;
  flex-direction: column-reverse;
}
.et_pb_sidebar_0.light-sidebar {
  color: white;
}
.et_pb_sidebar_0.light-sidebar * {
  color: white;
}
@media only screen and (min-width: 960px) {
  .et_pb_sidebar_0 {
    flex-direction: column;
    padding-right: 40px;
  }
}

@media only screen and (min-width: 960px) {
  .et_pb_sidebar_0 .et_pb_widget {
    padding: 0;
  }
}

.et_pb_sidebar_0 .et_pb_widget {
  margin-bottom: 30px !important;
  padding: 0 30px;
}

.et_pb_sidebar_0 .et_pb_widget .widgettitle {
  margin-bottom: 20px;
  font-family: 'Druk-Wide';
  font-size: 22px;
}
.et_pb_sidebar_0 .et_pb_widget img {
  width: 100%;
  height: auto;
}

.et_pb_sidebar_0 .et_pb_widget li, .et_pb_sidebar_0 .et_pb_widget p, .et_pb_sidebar_0 .et_pb_widget a {
  font-size: 18px !important;
  color: white !important;
  font-family: 'Montserrat';
  line-height: 1.4em;
}


/*forms*/

.gform_wrapper {
  margin-bottom: 60px;
}
@media only screen and (min-width: 960px) {
  .gform_wrapper {
    margin-bottom: 0;
  }
}
.gform_wrapper form .gform_body li {
  margin-bottom: 30px;
}
.gform_wrapper form .gform_body li label {
  font-size: 22px;
}

.gform_wrapper form .gform_body li input[type="text"],
.gform_wrapper form .gform_body li input[type="email"],
.gform_wrapper form .gform_body li input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
.gform_wrapper form .gform_body li textarea {
  width: 100%;
  border: none;
  padding: 30px 30px 30px 30px;
}
@media only screen and (min-width: 960px) {
  .gform_wrapper form .gform_body li input[type="text"],
  .gform_wrapper form .gform_body li input[type="email"],
  .gform_wrapper form .gform_body li input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
  .gform_wrapper form .gform_body li textarea {
    width: 80%;
  }
}
.gform_wrapper form .gform_footer {
  width: 100%;
  padding: 30px 30px 30px 103px;
  color: white;
  background-color: black;
  border: none;
  text-align: left;
  background-image: url("https://mattmirelesdev.wpengine.com/wp-content/themes/matt-mireles/resources/assets/images/contact_red.png");
  background-repeat: no-repeat;
  background-position: 30px center;
}
@media only screen and (min-width: 960px) {
  .gform_wrapper form .gform_footer {
    width: 80%;
  }
}
.gform_wrapper form .gform_footer input[type="submit"] {
  background-color: transparent;
  color: white;
  border: none;
}

/*Article*/






/*Menu*/

#mobile_menu1 {
  width: 100% !important;
  background-color: black !important;
  color: white !important;
  border-top: 0;
  position: fixed;
  left: 0;
  top: 137px;
}

/*portfolio*/

.portfolio-list__wrapper .et_pb_row {
  border-bottom: 1px solid black;
}

.portfolio-list__wrapper .et_pb_row:last-child {
  border-bottom: none;
}