/*
Theme Name: JVPFI Theme
Theme URI: http://nexucloud.com
Author: Nexucloud
Author URI: http://nexucloud.com/
Description: A custom theme for Jesuit Volunteers Philippines Foundation, Inc.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blue, gray, white, responsive-layout, one-column
Text Domain: jvpfi
*/

@import url(http://fonts.googleapis.com/css?family=Coming+Soon);

/* Wordpress  Defaults */
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
}

.alignright {
    float: right;
}

/* Universal Styles */

*{
    box-sizing: border-box;
}
body,html{
    margin:0;
    padding:0;
    background-color: #fff;
    color: #333;
    font-family: 'colab','Segoe UI',sans-serif;
}
.clearfix{
    clear: both;
    overflow: hidden;
}
dl{ line-height: 20px; }
dt:before {
  content: "";
  display: block;
}
dt, dd {
  display: inline;
}
dd{ margin-left: 10px;}
/* Grid */
.container{
    max-width: 1170px;
    padding: 0 16px;
    margin:auto;
    width: 95%;
}
.col-2,
.col-3,
.col-4,
.col-6,
.col-8{
    float: left;
    padding: 0 15px;
}
.col-2{
    width: 50%;
}
.col-3{
    width: 33.333333%;
}
.col-4{
    width: 33.33333%;
}
.col-6{
    width: 50%;
}
.col-8{
    width: 66.66666%;
}
iframe{
    max-width: 100%;
}
.xs-visible{
    display: none;
}

/* Typography */ 
h4,h5,h6{
    margin: 0;
}
h1,h2,h3{
    margin: 0 0 10px;
}
h1,h2,h3,h4,h5,h6{
    font-family: 'colab light','Segoe UI',sans-serif;
    font-weight: normal;
}

h1{ font-size: 34px; }
h2{ font-size: 26px; }
h3{ font-size: 24px; }
h4{ font-size: 18px; }
h5{ font-size: 14px; }
h6{ font-size: 12px; }
a{
    text-decoration: none;
    color: #486E91;
}
p{
    line-height: 20px;
}
b,strong{
    font-family: 'colab bold','Segoe UI',sans-serif;
    font-weight: normal;
}
i,em{
    font-family: 'colab md','Segoe UI',sans-serif;
    font-weight: normal;
}
.font-script{
    font-family: 'Coming Soon', cursive;
}
.font-apple-chancery{
    font-family: 'Apple Chancery','Pristina', cursive;
}
.subtitle{
    font-size: 14px;
    vertical-align: middle;
    margin-left: 10px;
    background-color:#f6f6f6;
    padding: 4px 8px;
    border-radius: 2px;
}

.carousel-button{
    border-radius: 2px;
    padding: 8px 16px;
    color:#fff;
    border: 1px solid #fff;
}
.carousel-button:hover{
    color:#2c82c9;
    border: 1px solid #fff;
    background-color: #fff;
}
.button{
    border-radius: 2px;
    color: #fff;
    padding: 8px 16px;
    color:#fff;
    background-color: #486E91;
}


/* Header */

#header{
    background-color: #f8f8f8;
    border-bottom: 1px solid #f0f0f0;
}
#header h1{
    margin: 0;
}
#headerimg{
    display: inline-block;
    float: left;
}
#headerimg img{
    width: 240px;
}




/* Main Navigation */

#top-menu-container{
    overflow: hidden;
    background-color: #222;
    padding: 4px 0;
    width: 100%;
}
#main-menu-container{
    padding: 8px 0 4px;
}
#menu-container{
    float: left;
    clear: left;
}

#secondary-menu{
    float:right;
    padding: 3px 20px 0 0;
}
#secondary-menu li{
    /*border-right: 1px solid #fff;*/
    padding: 0  8px;
}
#secondary-menu li:last-child{
    border-right: 0;
}
#secondary-menu a{
    font-size: 12px;
    text-transform: uppercase;
    color: #fff;
    padding-top: 24px;
}
#secondary-menu a:hover,
#secondary-menu .current-menu-item a {
    color: #fff;
    text-decoration: underline;
}
#primary-menu{
    clear:right;
    padding: 32px 0 0 0;
}
#primary-menu ul{
    float: right;
    margin-bottom: 20px;
}
#primary-menu li{
    padding: 0 12px;
}
#primary-menu a{
    font-size: 20px;
    color: #333;
}
#primary-menu .current-menu-item a,
#primary-menu a:active,
#primary-menu a:hover{
    color: #2c82c9;
}
#footer .menu li.volunteer:hover,
#primary-menu .btn-volunteer > a:hover,
#primary-menu .btn-volunteer > a:focus,
#primary-menu .btn-volunteer > a:active{
    background-color: #74bf3b;
}


.hr-menu{
    display: block;
}
.hr-menu ul{
    padding: 0;
    
    margin: 0;
}
.hr-menu ul li{
    float: left;
    list-style-type: none;
}
.hr-menu ul li a{
    text-decoration: none;
    color: #666;
}
.hr-menu ul .current-menu-item a,
.hr-menu ul li a:hover{
    color: #2c82c9;
}
#primary-menu .btn-donate > a,
#primary-menu .btn-volunteer > a{
    border-radius: 2px;
    color: #fff !important;
    padding: 8px 16px;
    background-color: #486E91;
    border-color: #2c82c9;
}
#primary-menu .btn-volunteer > a{
    background-color: #7AD03A;
    border-color: #7AD03A;
}
#footer .menu li.donate:hover,
#primary-menu .btn-donate > a:hover{
    background-color: #385a77;
}

.social-container > a:active,
#footer .menu li.volunteer:active,
#footer .menu li.donate:active,
.search-submit:active,
#footer .menu li.donate:hover,
#primary-menu .btn-volunteer > a:active,
#primary-menu .btn-donate > a:active{
    box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
}



/* Search Form */

.search-form{
    float:right;
}
.search-field,
.search-submit{
    border-radius: 2px;
    padding: 4px;
    border: 1px solid #ccc;
    font-size: 12px;
}
.screen-reader-text{
    display: none;
}
.search-submit{
    background-color: #486E91;
    border-color: #486E91;
    color: #fff;
    padding:4px 8px;
}
.search-submit:focus,
.search-submit:hover{
    background-color: #385a77;
}

/* Front Page */

#jvpfi-carousel{
    max-width: 1400px;
    margin: auto;
}
#jvpfi-carousel img{
    width: 65%;
    height: auto;
    vertical-align: middle;
}
#jvpfi-carousel .caption{
    width: 35%;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
    background-color: #486E91;
    color: #fff;
    padding: 40px 20px ;
}
#jvpfi-carousel .caption h2{
    padding-bottom: 8px;
    border-bottom: 1px solid #fff;
}
#jvpfi-carousel .caption p{
    font-size: 18px;
}
#jvpfi-carousel .owl-pagination{
    position: absolute;
    bottom: 10px;
    left: 20px;
}
#jvpfi-carousel .owl-page{
    width: 14px;
    height: 14px;
    margin: 6px;
    border-radius: 50%;
    border: 2px solid #fff;
    display: block;
    float: left;
    opacity: 0.9;
}
#jvpfi-carousel .owl-page.active{
    background-color: #fff;
}
#jvpfi-carousel .owl-buttons{
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 100%;
}
#jvpfi-carousel .owl-prev{
    float: left;
}
#jvpfi-carousel .owl-next{
    float: right;
}
#jvpfi-carousel .owl-prev,
#jvpfi-carousel .owl-next{
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 20px;
    text-transform: uppercase;
}




/* Front Page */
#content-preview {
    overflow: hidden;
    padding:40px 0 40px;
}
.front-page #news-and-event{
    padding-right: 50px;
}
.front-page #stories{
    padding-left: 50px;
}
.post-preview .item{
    position: relative;
    border-bottom: 1px solid #ccc;
    padding: 30px 0 15px;
}
.post-preview .thumb{
    float: left;
    margin-right: 12px;
}
.post-preview .item:first-of-type .thumb{
    width: 100%;
    border: 1px solid #ccc;
    text-align: center;
    background-size:cover;
    background-position: center center;
    position: relative;
    display: inline-block;
    margin:0 0 8px 0;
}
.post-preview .item:first-of-type .thumb:after,
#hero-image:after,
.post-thumb:after{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    /*background-color: rgba(0,0,0,0.5);
    background-color: rgba(72,110,145,0.8);*/
    background-color: rgba(255,255,255,0.9);
    z-index: 1;
}
.post-preview .item:first-of-type .thumb img{
    position: relative;
    z-index: 2;
    vertical-align: middle;
}


/* Page */
#page{
    padding: 30px 0;
}
#page img{
    max-width: 100%;
    height: auto;
}
#hero-image{
    max-width: 1440px;
    margin: auto;
    background-size: cover;
    background-position: center center;
}
#hero-image .container{
    text-align: center;
}
#hero-image .container img{
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    position: relative;
    max-height: 420px;
    width: auto;
    z-index: 2;
}
#hero-image{
    position: relative;
}
#hero-image h1{
    position: absolute;
    top: 50%;
    color: #fff;
    font-size: 62px;
    margin:0;
}
#hero-image-placeholder{
    width: 100%;
    height: 102px;
    position: relative;
    background-color: #486E91;
}
#section-hero{
    background: url('images/bg/sky.jpg') center center fixed;
    background-size: cover;
}

#about-page .container{
    max-width: 900px;
    padding: 50px 0;
}
#jvpfi-map{
    padding: 30px 0;
}

/* Search */
.search-page{
    padding: 20px 0;
}
.search-page .page-header h1{
    margin: 0;
}
.search-page .page-header{
    background-color: #f6f6f6;
    border-radius: 4px;
    padding: 8px 16px;
    display: inline-block;
    margin:0;
}
.search-item{
    border-bottom: 1px solid #ccc;
    padding: 8px 0;
}


/* About*/
#about-page{
     margin-top: -60px;
 }
#about-page p{
    font-size: 20px;
    line-height: 130%;
}
#mission{
    background: url('images/bg/vision-light.jpg') top center fixed;
    background-size: cover;
}
#why-we-exist{
    background: url('images/bg/mindoro.jpg') fixed;
    background-size: cover;
    color: #fff;
}
#core-values{
    background-color: #f6f6f6;
}
.media-list .container{
    width: 640px;
    margin: auto;
}
.media-list h1{
    margin-bottom: 40px;
}
.media-list h2{
    font-weight: normal;
    margin-top: 10px;
}
.media-list .item{
    clear:left;
    overflow: hidden;
}
.media-list .thumb:before:last-of-type{
    display: none;
}
.media-list .thumb,
.media-list .details{
    float:left;
}
.media-list .item .thumb{
    width: 30%;
    padding-bottom: 50px;
    position: relative;
    background: url('images/bg/vertical-dot.png') center repeat-y;
}
.media-list .last-item .thumb{
    background: none;
    padding-bottom: 0;
}
.media-list .thumb img{
    border: 1px solid   #BCBDC0;
    border-radius: 50%;
    max-width: 100%;
    z-index: 2;
    position: relative;
}
.media-list .details{
    width: 70%;
    padding-left: 40px;
}
.media-list .details p{
    color: #888;
}
#what-we-do{
    padding: 50px 0;
}
#what-we-do .container{
    padding: 0;
}
#what-we-do .media-list{
    width: 380px;
    margin: auto;
    padding-top: 30px;
}
#what-we-do .media-list .thumb{
    width: 15%;
    padding-bottom: 20px;
}
#what-we-do .media-list .thumb img{
    height: auto;
}
#what-we-do .media-list .details{
    width: 85%;
}
#what-we-do .media-list .details p{
    margin-top: 0px;
}





/* Bank */
/*#bank{
    width: 620px;
    margin: auto;
}*/
#bank .item{
    border-bottom: 1px solid #ccc;
    width: 100%;
    overflow: hidden;
    padding: 16px;
}
#bank .item:last-child{
    border-bottom: none;
}
#bank .item .thumb,
#bank .item .details{
    width: 40%;
    float: left;
}
#bank .item .details{
     width: 60%;
}
#bank #bdo-link,
#bank #bpi-link,
#bank #metrobank-link,
#bank #securitybank-link{
    display: block;
}
#bank #bdo-link{
    margin-top: 30px;
}
#bank #bpi-link{
    margin-top: 25px;
}
#bank #metrobank-link{
    margin-top: 20px;
}
#bank #securitybank-link{
    margin-top: 10px;
}

/* Posts */

.post{
    border-bottom: 1px solid #ccc;
    overflow: hidden;
    padding: 24px 0;
}
.post-thumb{
    width: 30%;
    /*background-color: #f6f6f6;*/
    text-align: center;
    border: 1px solid #ccc;
    position: relative;
    z-index: 1;
    background-size: cover;
    background-position: center center; 
}
.post-thumb img{
    max-width: 100%;
    vertical-align: middle;
    position: relative;
    z-index: 2;
    height: auto;
}
.post-details{
    width: 70%;
    padding: 0 16px;
    box-sizing: border-box;
}
.post-thumb,
.post-details{
    float:left;
}
.post-placeholder{
    max-width: 360px;
    height: 200px;
    width: 100%;
    position: relative;
    z-index: 10;
    color:#fff;
    line-height: 200px;
    vertical-align: middle;
    margin: auto;
    background-color: #333;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    padding: 0 8px;
}
.post-date{
    color: #999;
}
blockquote{
    background-color: #eee;
    color: #666;
    margin:0;
    padding: 16px 24px;
    border-radius: 4px;
}

/* Footer */

#footer{
    background-color: #333;
    color: #ccc;
    padding-top: 20px;
}
#footer h3{
    color: #fff;
}
#footer .menu li{
    list-style-type: circle;
}
#footer .menu li a{
    color: #ccc;
}
#footer .menu{
    padding-left: 15px;
}
#footer .menu li{
    margin-bottom: 4px;
}
#footer .menu li.volunteer,
#footer .menu li.donate{
    margin-top: 4px;
    border-radius: 2px;
    background-color: #486E91;
    padding: 8px 16px;
    display: inline-block;
}
#footer .menu li.volunteer{
    background-color: #7AD03A;
}
#footer .menu li.volunteer a,
#footer .menu li.donate a{
    color:#fff;
}

#footer #footer-bottom{
    padding: 15px 0;
    background-color: #222;
    clear: left;
    color: #ccc;
}
#footer td a{
    color: #3EBDFF;
}
#footer td a:hover{
    opacity: 0.9;
}
#footer td a:active{
    opacity: 0.8;
}
#footer .td-title{
    text-align: right;
    vertical-align: top;
    padding-right: 8px;
}
.social-container{
    width: 100%;
    margin-top: 8px;
}
.social-container > a{
    width: auto;
    padding: 8px 11px;
    float: left;
    margin: 3px;
    color: #fff;
    border-radius: 2px;
}
.social-container > a:hover{
    opacity: 0.95;
}
.social-container img{
    vertical-align: middle;
    margin-right: 4px;
}
.social-container #btn-facebook{
    background-color: #547bbc;
}
.social-container #btn-twitter{
    background-color: #00aced;
}
.social-container #btn-youtube{
    background-color: #e9654c;
}

@media (max-width: 768px){
    .container{
        width: 95%;
        margin: auto;
        padding:0;
    }
    .col-2,
    .col-3{
        width: 100%;
    }
    .col-2{
        margin-bottom: 16px;
    }
    .xs-visible{
        display: block;
    }
    .search-form{
        float: none;
        width: 100%;
        position: relative;
    }
    .search-field{
        width: 100%;
        padding-right: 60px;

    }
    .search-submit{
        position: absolute;
        top: 0;
        right: 0;
        border-radius: 0 2px 2px 0;
    }
    #mobile-menu{
        overflow: hidden;
        padding: 8px 0;
    }
    .responsiveSelectContainer{
        float: none;
        vertical-align: middle;
        line-height: 40px;
    }
    .responsiveMenuSelect{
        padding: 8px;
    }
    #headerimg{
        width: 100%;
        float: none;
        text-align: center;
    }
    #headerimg img{
        width: 180px;
    }
    #jvpfi-carousel .caption{
        padding: 16px 16px 40px;
    }
    #jvpfi-carousel img{
        width: 100%;
    }
    #jvpfi-carousel .caption{
        width: 100%;
        position: relative;

    }
    .owl-buttons{
        display: none;
    }
    #jvpfi-carousel .owl-pagination{
        left:50%;
        margin-left: -65px;
    }
    .front-page #stories{
        padding: 0;
    }
    .front-page .post-preview .item p{
        margin-bottom: 0;
    }
    #footer-left,
    #footer h3{
        text-align: center;
    }
    #footer-left .menu li{
        list-style-type: none;
    }
    #footer .col-3{
        max-width: 360px;
        float: none;
        margin: auto;
    }
    .xs-hidden{
        display: none;
    }
    #footer .menu{
        padding: 0;
    }
    #footer .menu li.volunteer, 
    #footer .menu li.donate{
        overflow: hidden;
        position: fixed;
        bottom:0;
        z-index: 100;
        width: 50%;
        border-radius: 0;
        margin: 0;
    }
    #footer .menu li.donate{
        left:50%;
        right: 0;
    }
    #footer .menu li.volunteer{
        left:0;
        right:50%;
    }
    #footer-bottom{
        text-align: center;
    }
    .social-container{
       margin-bottom: 12px;
       overflow: hidden;
       border-radius: 2px;
    }
    .social-container > a{
        width: 33.33333%;
        margin:0;
        border-radius: 0;
        text-align: center;
    }
    .social-container img{
        margin: 0;
    }
    #footer #footer-bottom{
        padding-bottom: 50px;
    }
    #about-page .container{
        width: 95%;
    }
    #what-we-do .item,
    .media-list .item{
        width: 100%;
        text-align: center;
    }
    .media-list .item .details,
    .media-list .item .thumb,
    #what-we-do .item .thumb,
    #what-we-do .item .details{
        width: 100%;
        background: none;
    }
    .media-list .item .thumb{
        padding-bottom: 12px;
    }
    .media-list .item .details{
        padding:0;
    }
    #what-we-do .media-list{
        width: 100%;
    }
    .post-thumb,
    .post-details{
        width: 100%;
        float: none;
        display: block;
    }
    .post-details{
        margin-top: 8px;
        padding: 0;
    }
    #bank{
        width: 100%;
    }
    #bank h3{
        font-size: 18px;
    }
    #bank .item .thumb, 
    #bank .item .details{
        width: 100%;
        float: none;
        display: block;
        text-align: center;
    }
    #footer .menu li.volunteer,
    #footer .menu li.donate{
        padding: 8px 2px;
    }
}
