/*
Theme Name:     HOPE Global Forums Theme
Theme URI:      http://www.elegantthemes.com/gallery/foxy/
Description:    Divi Child Theme
Author:         Elegant Themes
Author URI:     http://www.elegantthemes.com
Template:       Divi
Version:        1.0.0
*/

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

/* =Theme customization starts here
------------------------------------------------------- */


.hgf-channel-banner-align-bottom{
  padding-top: 20px;
}

.hgf-channel-banner-align-bottom img{
  position: absolute;
  right: 10px;
}

/*home page twitter feed
set the ditty twitter ticker plugin to display as grid
------------------------------- */
.mtphr-dnt-grid-item-twitter{
    vertical-align: top;
    color: #fff;
}

.home .mtphr-dnt-grid{
    border: none;
    margin-bottom: 0;
    table-layout: fixed;
    width: 100.3%;
}

.home .mtphr-dnt-grid-row {
    letter-spacing: -0.7px;
    line-height: 1.2em;
    height: 175px;
}

.home .mtphr-dnt-grid-item {
    padding: 23px 23px;
    overflow: hidden;
    text-overflow: hidden;
}

.home .mtphr-dnt-grid-item a{
    color: #fff;
}

.home .mtphr-dnt-grid-item-1 {
    background-color: #55697C;
    border: none;
}
.home .mtphr-dnt-grid-item-2 {
    background-color: #529EB8;
    border: none;
}
.home .mtphr-dnt-grid-item-3 {
    background-color: #16AC93;
    border: none;
}
.home .mtphr-dnt-grid-item-4 {
    background-color: #A5001C;
    border: none;
}
.home .mtphr-dnt-grid-item-5 {
    background-color: #F5B50E;
    border: none;
}

/*hide hgf twitter icon*/
.home .mtphr-dnt-twitter-avatar img {
    display: none;
}

/*replace with generic twitter icon*/
.home .mtphr-dnt-twitter-avatar:before {
    font-size: 37px;
    content: "\e094";
    font-family: "ETmodules" !important;
    font-weight: normal;
    font-style: normal;
    font-variant: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 0.8em;
    text-transform: none;
    speak: none;
    color: #fff;
}

@-moz-document url-prefix() {
  .home .mtphr-dnt-twitter-avatar:before{
     line-height: 61px;
  }
}

/*hide link overflow*/
/*set max height on table*/
.home .mtphr-dnt-twitter-content{
    overflow: hidden;
    margin-left: 35px !important;
    max-height: 145px;
    text-overflow: ellipsis;
}

.mtphr-dnt-twitter-content {
      /*position: relative;*/
      /*height: 6.6em;  exactly six lines */
    }
/*.mtphr-dnt-twitter-content:after {
      content: "";
      text-align: right;
      position: absolute;
      bottom: 0;
      right: 0;
      width: 70%;
      height: 1.2em;
      background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 50%);
 }*/

/*trim the tweets...*/
@supports (-webkit-line-clamp: 7) {
    .mtphr-dnt-twitter-content {
        display: -webkit-box;
        -webkit-line-clamp: 7;
        -webkit-box-orient: vertical;
        height: auto;
    }
    .mtphr-dnt-twitter-content:after {
        display: none;
    }
}

/*reduce control navigation size*/
.home .mtphr-dnt-control-button i{
  font-size: 15px;
}

/*@media (max-width: 532px) {
 .mtphr-dnt-grid-item-3, .mtphr-dnt-grid-item-4 , .mtphr-dnt-grid-item-5  {
    display: none !important;
  }
}*/

@media (max-width: 532px) {
 .mtphr-dnt-grid-item-2, .mtphr-dnt-grid-item-3, .mtphr-dnt-grid-item-4 , .mtphr-dnt-grid-item-5  {
    display: none !important;
  }
  .home .mtphr-dnt-twitter-content{
    margin-left:20px !important;
  }
   .home .mtphr-dnt-twitter-avatar:before {
    font-size: 24px;
    line-height: 0.9em;
  }
  .home .mtphr-dnt-grid-row {
    height: 100px;
  }
    @-moz-document url-prefix() {
    .home .mtphr-dnt-twitter-avatar:before{
       line-height: 61px;
    }
  }
}

@media (max-width: 700px){
  .mtphr-dnt-grid-item-3, .mtphr-dnt-grid-item-4, .mtphr-dnt-grid-item-5 {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .mtphr-dnt-grid-item-4, .mtphr-dnt-grid-item-5 {
    display: none !important;
  }
  .home .mtphr-dnt-twitter-avatar:before {
    font-size: 30px;
  }
  .home .mtphr-dnt-twitter-content{
    margin-left:26px !important;
  }
}

@media (min-width: 992px) and (max-width: 1137px) {
  .mtphr-dnt-grid-item-5 {
    display: none !important;
  }
}
