/*
    Theme Name: Melica WP Child theme
    Template: melica_wp
    Description: Melica is a light blog template, crafted to showcase your content in an beautiful style.
    Author: WPHunters
    Author URI: http://wphunters.com
    Version: 1.0
    License: GNU General Public License version 1.0
    License URI: https://www.gnu.org/licenses/gpl-1.0.html
*/

/* here comes your styles */


#slider-container .slick-slide .caption {
    top: 70%;
    /*top: auto;*/
}

#slider-container .slick-slide .caption > h1 {
    font-size: 50px;
    margin-top: 11px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.2);
}

#slider-container .slick-slide:after {
    background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.45) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.45))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.45) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.45) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.45) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.45) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#73000000',GradientType=0 ); /* IE6-9 */
}   
/*@media (max-width: 991px) {
    .non-ios #header .container .tinynav {
        width: 80px;
        right: 10px;
    }

    #header .container .header-brand img {
        display: none;
    }
}*/

/*#header,
#header .container .header-brand, 
#header .container .header-brand h1,
#header .container ul.menu {
    height: 80px;
}

#header .container ul.menu > li a {
    line-height: 80px;
    padding: 0 20px;
}

*/

#header .container .header-brand img {
    height: 40px;
    width: auto;
    padding: 0;
    margin: 10px 10px 10px 0;
    float: left;
}

#header .container .header-brand h1 {
    font-size: 18px;
    line-height: 60px;
    font-weight: normal;
    text-transform: none;
}
#header .container .header-brand h1 span.bold {
    font-weight: 600;
}

.box.with-header > .title > span {
	background: #4fa977;	
}

.box.with-header > .title > span:after, .box.with-header > .title > span:before {
	border-top-color: #4fa977;
  	border-bottom-color: #4fa977;
}	


.page-template-page-timeline .box {
    background: transparent;
    padding-top: 0;
    padding-bottom: 0;
}

.page-template-join-the-movement-page .featured-image {
    background-color: #fff;
    background-position: center -200px;
    background-size: cover;
    background-repeat: no-repeat;
    height: 400px;
    width: 100%;
    margin: 0;
}

.page-template-join-the-movement-page .about-pic {
    display: block;
    margin: 0;
}

.page-template-join-the-movement-page .box {
    padding-top: 0;
}

.page-template-join-the-movement-page .tab-toggles {
    padding: 25px 0;
}

.page-template-join-the-movement-page table {
    width: 100%;
    margin: 0 0 15px 0;
}

.page-template-join-the-movement-page table th {
    padding: 15px 0;
    text-transform: uppercase;
}

.page-template-join-the-movement-page table tr {
    width: 100%;
    border-bottom: 1px solid #ededed;
}

.page-template-join-the-movement-page table tr td {
    padding: 15px 0;
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}

.page-template-join-the-movement-page .display-posts-listing {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.page-template-join-the-movement-page .display-posts-listing li {
    margin: 5px 0;
    padding: 20px 0;
    border-bottom: 1px solid #ededed;
}

.page-template-join-the-movement-page .display-posts-listing li:last-child {
    border-bottom: 0;
}

.page-template-join-the-movement-page .display-posts-listing li .title {
    display: block;
    font-size: 18px;
    margin-bottom: 10px;
}

.page-template-join-the-movement-page .display-posts-listing li .excerpt-dash {
    display: none;
}

.page-template-join-the-movement-page .display-posts-listing li .content {
    display: block;
    margin-top: 5px;
    font-size: 14px;
}


.p-2-col {
    -moz-column-count: 2;
    -moz-column-gap: 30px;
    -webkit-column-count: 2;
    -webkit-column-gap: 30px;
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}

.page-template-about-me-page p.lead {
    color: #111;
    padding-bottom: 22px;
    border-bottom: 4px solid #f6f6f6;
}

/*
.section-title-container {
    text-align: center;
    width: 100%;
}*/

.section-title {
  border: none;
  padding: 0;
}

/*.tab-toggles > li {
    padding: 0 20px;
    font-size: 16px;
    font-weight: 700;
}

.tab-contents {
    font-size: 14px;
}*/

/*------------------------------------*\
    TIMELINE
\*------------------------------------*/
#timeline{
    background:url('images/gray-dot.jpg') top center repeat-y;
    width: 100%;
    max-width:776px;
    padding:50px 0;
    margin:0 auto 50px auto;
    overflow:hidden;
    list-style:none;
    position:relative;
}

#timeline li{
    position:relative;
    clear:both;
    float:left;
    width:350px;
    padding:15px;
    
    background-color: #f9f9f9;
    border-radius: 4px;
    text-align:right;
    margin:0 0 10px 0;
    font-size: 14px;

}
#timeline li:after{
    content:" ";
    width:15px;
    height:15px;
    position:absolute;
    left:100%;
    top:50%;
    margin-top: -7px;
    background: #4fa977;
    border-radius: 15px;
    margin-left: 31px;
    border: 3px solid #fff;
}
/*#timeline li:nth-of-type(odd),
#timeline li:nth-of-type(even){
    margin:-10px 0 0 0;
}*/
#timeline li:nth-of-type(even){
    float:right;
    text-align:left;
}
#timeline li:nth-of-type(even):after{
    left:auto;
    right:100%;
    margin-left: auto;
    margin-right: 30px;
}


#timeline li:before{
    position: absolute;
    right: -15px;
    top: 50%;
    margin-top: -15px;
    display: inline;
    content: '';
    width: 0; 
    height: 0; 
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #f9f9f9;
}

#timeline li:nth-of-type(even):before {
    right: auto;
    left: -15px;
    width: 0; 
    height: 0; 
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent; 
    border-right:15px solid #f9f9f9; 
    border-left: 0;

}

#timeline time {
    /*color: #4fa977;*/
    display: block;
    font-weight:bold;
    font-size: 16px;
}


.fb-post, .fb-post span, .fb-post span iframe,
.twitter-tweet, 
.twitter-tweet-rendered
{
 display: block !important;
 margin:8px auto !important;
}

.twitter-tweet, 
.twitter-tweet-rendered
{
margin-top:24px !important;
}

.fb_iframe_widget span iframe 
{
margin-top:-14px !important;
margin-bottom:10px !important;
} 

.category-videos .msnry-item .post-entry .meta h1 {
    font-size: 18px;
    line-height: 1.4;
}

.category-videos .box > header {
    margin: -30px;
}

#sb_instagram #sbi_load .sbi_follow_btn {
  margin-left: 0;
  position: absolute;
  right: 20px;
  top: 44px;
}

@media (max-width: 991px) {
    #timeline li{
        position:relative;
        clear:both;
        float:left;
        width:300px;
    }
    /*#timeline li:after {
        display: none;
    }   */

    .post-entry .meta h1 {
        word-wrap: break-word;
    }
}


@media (min-width: 992px) {
    #main-footer ul.socials-list {
      margin: 0 auto;
      max-width: 400px;
    }

}


@media (max-width: 767px) {

    .page-template-join-the-movement-page .featured-image {
          background-position: center bottom;
          height: 200px;
    }

    #slider-container .slick-slide .caption {
      margin: 0;
      padding: 0 15px;
    }

    #slider-container .slick-slide .caption > h1 {
        font-size: 30px;
        margin: 0;
    }

    .p-2-col {
      -moz-column-count: 1;
      -moz-column-gap: 0;
      -webkit-column-count: 1;
    }

    #timeline {
        background: none;
        padding: 0;
    }
    
    #timeline li {
        width: 100%;
        float: none;
        text-align: left;
    }

    #timeline li:nth-of-type(even) {
        float: none;
        text-align: left;
    }

    #timeline li:before {
        display: none;
    }

    .page-template-join-the-movement-page table thead {
        display: none;
    }
    
    .page-template-join-the-movement-page table th {
        display: block;
    }

    .page-template-join-the-movement-page table tr td {
        padding: 5px 0;
        width: 100%;
        display: block;
    }

    section#categories-2, section#tag_cloud-2, section#melica_mailchimp-1 {
        display: none;
    }

    .block-grid-xs-1:not(.nogutter) {
        margin: 0;
    }

    #sb_instagram #sbi_load .sbi_follow_btn {
      margin-left: 5px;
      position: relative;
      right: auto;
      top: auto;
    }


    /*.sidebar .box ul {
        margin: 0;
        padding: 0;
        list-style-type: none;
    }*/

}
