/*
Theme Name: Tamalpais
Description: Tamalpais Child Theme
Author: Insight Designs
Template: unicon
Version: 1.0
*/

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

body {
    font-size: 16px;
}

#content {padding-top:20px;}

/*###############################################
HEADER STYLES
###############################################*/
.header-gt-bar{
    background: #eee;
}
body #header.header-transparent.darkheader.header-v1 {
    background: rgba(255, 255, 255, 0.7) !important;
}

body #header.header-transparent.darkheader.header-v1 #navigation > ul > li > a {
    color: #535e79;
}

body #header.header-transparent.darkheader.header-v1 #navigation > ul > li > a:hover {
    color: #7684a2;
}

body #header.header-transparent.darkheader.header-v1 #navigation > ul > li:hover > a, body #header.header-transparent.darkheader.header-v1 #navigation > ul > li > a:hover {
    color: #7684a2;
}



/*###############################################
HOME STYLES
###############################################*/

body .home-about {
    /*background-image: url(/wp-content/uploads/2017/07/bg_pattern_6.svg);
    background-color: #5d743c;*/
    background-image: url(/wp-content/themes/tamalpais/images/bg_pattern_purple_4-01.svg);
    background-color: #6C3A74;
    background-position: top left;
    background-size: 28%;
    background-repeat: repeat;
}

.home-about__text p {
    font-size: 1.3rem;
    font-weight: 100;
    line-height: 2.3rem;
    font-family: 'Vollkorn', serif;
    color: #535e79;
}

/*###############################################
ABOUT STYLES
###############################################*/

/*body.page-id-7 #transparentimage {
    background-image: linear-gradient(
      rgba(0, 0, 0, 0.2),
      rgba(0, 0, 0, 0.2)
    ) , url(/wp-content/uploads/2019/08/AZ_2687-crop-sm.jpg)!important;
    background-size: 25%, cover!important;
    background-position: center bottom 55%;
}*/

/*body.page-id-72 #transparentimage {
    background-image: linear-gradient(
      rgba(0, 0, 0, 0.2),
      rgba(0, 0, 0, 0.2)
    ) , url(/wp-content/uploads/2019/08/Tree-trunksAZ_6200-2.jpg)!important;
    background-size: 25%, cover!important;
    background-position: center bottom 30%;
}*/

body.page-id-373 #transparentimage {
    /*padding: 170px 0 0 0;*/
    background-image: linear-gradient(
      rgba(0, 0, 0, 0.4),
      rgba(0, 0, 0, 0.4)
    ) , url(/wp-content/uploads/2019/08/ILF-Banner.jpg)!important;
    background-size: 25%, cover!important;
    background-position: center bottom 60%;
}

body.page-id-163 #transparentimage {
    /*padding: 170px 0 0 0;*/
    background-image: linear-gradient(
      rgba(0, 0, 0, 0.1),
      rgba(0, 0, 0, 0.4)
    ) , url(/wp-content/uploads/2019/08/TCC-youth-in-traditional-dress.jpg)!important;
    background-size: 25%, cover!important;
    background-position: center bottom 80%;
}


body #transparentimage h1 {
    font-family: 'Vollkorn', serif;
    font-weight: 800;
    text-transform: capitalize;
    margin-top: 30px;
}

body.page-id-373 #transparentimage h1 {text-transform: none !important;}


body #transparentimage {
    height: 325px;
}

.card {
    box-shadow: 0px 2px 8px 1px rgba(0,0,0,0.1);
    transition: 0.2s;
    width: 100%;
    background: #535e79;
    color: #e8e8e8;
}

/* On mouse-over, add a deeper shadow */
.card:hover {
    box-shadow: 0px 3px 10px 1px rgba(0,0,0,0.5);
    cursor: pointer;
}

/* Add some padding inside the card container */
.card-container {
    padding: 10px 15px;
}

.card h4 {
    margin-bottom: 0;
    color:#fff;
}

.card p {
    margin-bottom: 0;
    font-style: italic;
    line-height: 24px;
}

.card p:first-of-type {
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    padding-bottom: 5px;
    margin-bottom: 5px;
}

.five-col.vc_row-fluid .vc_col-sm-2 {
    float: left;
    width: 18.8%;
    padding: 0!important;
    margin-right: 1.5%;
    min-height: 0;
}

.five-col .vc_column_container.vc_col-sm-1\/5 .vc_column-inner {
    padding-left: 20px;
    padding-right: 20px;
}

.five-col.vc_row-fluid .vc_col-sm-2:nth-last-child(2) {
margin-right: 0;
}

.team-card a:hover * {
    color: #fff;
}

/*###############################################
GRANT PARTNER STYLES
###############################################*/

.grid-items .layer-content {
    background: #535E79;
    color: #fff;
}

body #post-grid-71 .item {
    background: #535e79;
}

.page-id-72 .grid-items .item:first-of-type {
    margin-left: 0!important;
}

.page-id-72 .grid-items .item:nth-of-type(5) {
    margin-left: 0!important;
}

.page-id-72 .grid-items .item:nth-of-type(4n) {
    margin-right: 0!important;
}

.page-id-72 .grid-items .item:nth-of-type(9) {
    margin-left: 0!important;
}

.post-grid .title {
    min-height: 48px;
}

.post-grid .item {
    transition: 0.2s;
}

.post-grid .item:hover {
    box-shadow: 0px 3px 10px 1px rgba(0,0,0,0.5);
    transition: 0.2s;
}

body .site-wrapper #post-grid-71 .element_0 {
    padding: 10px 5px 0 5px;
}

/*###############################################
SINGLE POST STYLES
###############################################*/

.entry-content img {
    float: right;
    padding-left: 2rem;
    width: 40%;
}

div#fulltitle {
    display: none;
}

.single div#content {
    padding-top: 40px;
}

.single .entry-title h1 {
    font-weight: 600;
    margin-bottom: 0px;
}

.single .post-excerpt {
    border-bottom: 1px solid rgba(83, 94, 121, 0.25);
    margin-bottom: 25px;
    padding-bottom: 15px;
}

.single #content a:hover {
    color: #dd9933;
    text-decoration: underline;
}

.single #navigation > ul > li > a {
    color: #535E79;
}

.single #navigation > ul > li > a:hover {
    color: #7684a2;
}

.single #post-navigation .next, .single #post-navigation .prev {
    top: 34%;
    background: #535E79;
}

/* Community Investors */

.community_investor_container {
	text-align: center;
}

.community_investor_container .community_investor_wrapper {
	width: 300px;
    display: inline-flex;
    padding: 0px 35px 20px;
    position: relative;
}

body #community-investments h1 {
    padding-bottom: 20px;
}

.org-title h1 {
	font-size: 24px;
	font-weight: 600;
    text-align: center;
    font-family: 'Catamaran';
}

body .community_investor_container .community_investor_wrapper .org-media img {
	margin-bottom: 10px !important;
}

.community_investor_container .ci-lm {
  text-align: center;
}

.community_investor_container .ci-lm a {
  color: #344422;
  font-size: 16px;
}

.community_investor_container .ci-lm a:hover {
  text-decoration: underline;
}

.org-content p {
	line-height: 23px;
}

#header.header-v1
{
    height: 100px;
}

.header-v1 .logo 
{
	max-width: 280px;
}

.header-v1 #navigation > ul > li
{
    height: 100px;
    padding-top: 35px;
}

/*body.page-id-7 #transparentimage
{
	background-position : bottom center;
}*/

ul.about-address
{
	margin-left: 0;
	font-weight: 600;
}

ul.about-address li
{
	list-style: none;
}

.about-address-header
{
	margin-bottom: 4px;
}

.about-copy
{
	font-size: 0.9em;
}


/*###############################################
FOOTER STYLES
###############################################*/

.copyright-text.copyright-col1 {
    width: 100%;
}

.address {
    float:right;
}

/*###############################################
MOBILE STYLES
###############################################*/

@media screen and (max-width: 1200px) {
    .address {
        float: none;
        display: block;
    }

    .copyright-text.copyright-col1 {
        text-align: center;
    }

    body #mobile-header .logo {
        margin-top: 28px;
    }

    body #mobile-navigation {
        background: #535E79;
    }

    body #mobile-navigation ul li a {
        border-bottom-color: rgba(255, 255, 255, 0.3) !important;
    }

    .post-grid .title {
        min-height: 65px;
    }
}

@media only screen and (max-width: 1199px) and (min-width: 960px) {
	
	body #header.header-transparent.darkheader.header-v1 #navigation > ul > li > a {
	    font-size:15px;
	    padding-left: 12px;
		padding-right: 12px;
    }
    
    body .header-v1 #navigation > ul > li {
        padding-top: 30px;
    }
	
}

@media only screen and (max-width: 1023px) and (min-width: 767px) {
    
    .page-id-72 .grid-items .item:first-of-type {
        margin-left: 1%!important;
    }

    .page-id-72 .grid-items .item:nth-of-type(4n) {
        margin-right: 1%!important;
    }

    .page-id-72 .grid-items .item:nth-of-type(5) {
        margin-left: 1%!important;
    }

    .page-id-72 .grid-items .item:nth-of-type(9) {
        margin-left: 1%!important;
    }
} 

@media screen and (max-width: 960px) {
    body #mobile-header .logo {
        margin-top: 16px;
    }

    body .card {
        min-height: 154px;
    }

    body .logo img {
        max-width: 270px;
    }

    .post-grid .title {
        min-height: 50px;
    }
}

@media screen and (max-width: 959px) {

    body .logo img {
        max-width: 270px;
    }
}

@media screen and (max-width: 767px) {
    .about-melissa-kaylena-cards-container {
        flex-direction: column;
    }
    .about-melissa-kaylena-cards-container > div, .about-melissa-kaylena-cards-container .card {
        width: 100% !important;
    }
    .about-melissa-kaylena-cards-container > div:first-child {
        margin-bottom: 40px !important;
    }
    
    .five-col.vc_row-fluid .vc_col-sm-2 {
    float: initial;
    width: initial;
    padding: initial;
    margin-right: initial;
    min-height: initial;
    }

   body .card {
    min-height: initial;
    display: block;
    width: 93%;
    margin: 0 auto;
}

    body #content .grid-items .item {
        margin: 0 0 30px 0;
        width: 100%;
    }

    .entry-content img {
        float: none;
        padding-left: 0;
        padding-bottom: 20px;
        width: 100%;
    }

    .single .entry-title h1 {
        line-height: 32px;
        font-size: 1.5rem;
    }

    body #mobile-header .logo {
        margin-top: 17px;
    }

    body .logo img {
        max-width: 200px;
    }

    .home div#page-wrap {
        padding-top: 0!important;
    }

    .home-about__text p {
        font-size: 1rem;
        font-weight: 500;
        line-height: 2rem;
    }

    .address {
        border-top: 1px solid rgba(255, 255, 255, 0.25);
        margin-top: 10px;
        padding-top: 10px;
    }

    .card-container {
        padding: 10px 0px;
        margin: 0 15px;
        box-sizing: border-box;
        display: block;
    }

    .wpb_raw_code.wpb_content_element.wpb_raw_html.team-card {
        box-sizing: border-box;
    }

    .no-mobile-bottom-padding {
	    padding-bottom: 0px !important;
    }

    body.home .wpb_revslider_element.wpb_content_element {
        margin-top: 35px;
    }

    body.home  {
        position: fixed;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    body #transparentimage {
        height: auto;
    }

    body #community-investments {
        padding-top: 20px;
    }

}

@media screen and (max-width: 479px) {

    body .community_investor_container .community_investor_wrapper .org-media img {
        max-width: 200px !important;
        height: auto !important;
    }

    body .community_investor_container .community_investor_wrapper {
        padding: 0px;
    } 

}

