/*
Theme Name: JVF Consulting
Theme URI: http://http://www.jvfconsulting.com/
Author: JVF Consulting LLC
Author URI: http://www.jvfconsulting.com
Description: JVF Custom WordPress Theme
Version: 1.0
*/

/*-------------------------------------------------------------*/

/* ------ Header ------ */
.top-bar-container{
    position: fixed;
    z-index: 999;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}
.top-logo{
    margin-top: 7px;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}
.second-top-bar-container{
    height: 240px;
    background-color: #316a9f;
    margin-bottom:2rem;
    padding-top: 150px;
    margin: 0px 0 35px 0;
}
.second-topbar-text-container{
    color: #fff;
}
.second-topbar-text-container span:nth-child(1){
    margin: -10px 0 10px 0;;
    display: block;
}
.second-topbar-text-container span:nth-child(2){
    display: block;
    font-size: 42px;
    font-weight: 300;
}
.top-bar-section{
    float: right;
    margin-top: 70px;
}
/*-- Navigation --*/
.kodda_responsive {
    margin-top: -43px !important;
}
#kodda_container{
    background: none !important;
}
.title-area{
    width: 100%;
    height: 120px;
}
.main-nav-li{
    float: right;
    bottom: 0;
    position: absolute;
    right: 0;
}
.kodda_resp_menu {
    text-align: center;
}
.kodda_top_link, .kodda_top_link:link {
  font-size: 14px !important;
  font-style: normal;
  padding: 0px 9px;
  color: #F1F1F1;
  line-height: 44px !important;
}

.kodda_top_link_same_padding{
    padding: 0 0 0 15px;
}
.ct_font_box{
    margin-top: -15px;
}
/* ------ Pages ------ */
.news-containers, .single-news{
    margin: 0 0 20px 0;
    background-color: #fff;
    border: 1px solid #dddddd;
    padding: 25px 20px 20px 20px;
    -webkit-box-shadow: 0px 17px 20px -20px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 17px 20px -20px rgba(0,0,0,0.75);
    box-shadow: 0px 17px 20px -20px rgba(0,0,0,0.75);
}
.featured-image,.single-featured-image{
    text-align: center;
    min-height: 45px;
}
.featured-image img{
    width: 100%;
    height: auto;
}
.wp-post-image{
    margin-bottom: 30px;
}
.news-title a{
    color: #306a98;
    font-weight: 300;
}
.news-content-top-layer{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: -70px;
    background-color: #fff;
    position: relative;
    padding: 10px 20px 0 20px;
    /*-webkit-box-shadow: 0px -5px 11px -5px rgba(84,84,84,1);
    -moz-box-shadow: 0px -5px 11px -5px rgba(84,84,84,1);
    box-shadow: 0px -5px 11px -5px rgba(84,84,84,1);*/
-webkit-box-shadow: 0px -17px 20px -20px rgba(0,0,0,0.75);
-moz-box-shadow: 0px -17px 20px -20px rgba(0,0,0,0.75);
box-shadow: 0px -17px 20px -20px rgba(0,0,0,0.75);
}
.blog-row{
    width: 97%;
}
.main-container{
   display: table-cell;
    width: 100%;
    float: none;
    padding-left: 0;
}
/*.single-main-container{
    display: table-cell;
    width: 100%;
    float: none;
}*/
.single-main-container {
    width: 71%;
    float: left;
}
/* ------ Single Page News ------ */
.entry-title{
    font-weight: 300;
}
.inner-single-news{
    /*max-width: 645px;*/
    margin-left: auto;
    margin-right: auto;
}
.single-news article header h1{
    color: #306a98;
    font-weight: bold;
}
.single-news .entry-content{
    /*width: 90%;
    float: right; chnaged to set the content on right and let the social icon 
    have enough space to showup*/
}
.single-news footer{
    clear: both;
}
#social-icon, .social-icon{
    position: fixed;
    top: 450px;
    /*left: 290px;*/
    display: none;
}
#social-icon span{
    font-size: 14px;
    font-weight: bold;
    margin-left: 20px;
    margin-bottom: 10px !important;
}
#social-icon ul{
    list-style: none;
    margin-top: 5px;
}
#social-icon ul li {
    width: 50px;
    height: 50px;
    border: 1px solid #eeeeee;
    text-align: center;
    margin-bottom: -1px;
    background-color: #fff;
}
#social-icon ul li .twitter{
    width: 50px;
    height: 50px;
    text-align: center;
    background: url("/v4/blog/wp-content/themes/jvf/images/side-social-icon-facebook-off.png") no-repeat center center;
}
#social-icon ul li .twitter:hover{
    background: url("/v4/blog/wp-content/themes/jvf/images/side-social-icon-facebook-on.png") no-repeat center center;
}
#social-icon ul li .facebook{
    width: 50px;
    height: 50px;
    text-align: center;
    background: url("/v4/blog/wp-content/themes/jvf/images/side-social-icon-google-off.png") no-repeat center center;
}
#social-icon ul li .facebook:hover{
    background: url("/v4/blog/wp-content/themes/jvf/images/side-social-icon-google-on.png") no-repeat center center;
}
#social-icon ul li .googleplus{
    width: 50px;
    height: 50px;
    text-align: center;
    background: url("/v4/blog/wp-content/themes/jvf/images/side-social-icon-twitter-off.png") no-repeat center center;
}
#social-icon ul li .googleplus:hover{
    background: url("/v4/blog/wp-content/themes/jvf/images/side-social-icon-twitter-on.png") no-repeat center center;
}
#social-icon ul li .social-email{
    width: 50px;
    height: 50px;
    text-align: center;
    background: url("/v4/blog/wp-content/themes/jvf/images/side-social-icon-mail-off.png") no-repeat center center;
}
#social-icon ul li .social-email:hover{
    background: url("/v4/blog/wp-content/themes/jvf/images/side-social-icon-mail-on.png") no-repeat center center;
}
#social-icon ul li .social-comment{
    width: 50px;
    height: 50px;
    text-align: center;
    background: url("/v4/blog/wp-content/themes/jvf/images/side-social-icon-comment-off.png") no-repeat center center;
}
#social-icon ul li .social-comment:hover{
    background: url("/v4/blog/wp-content/themes/jvf/images/side-social-icon-comment-on.png") no-repeat center center;
}
.single-page-right{
    width: 93%;
    float: right;
}
.social-hide{
    /*display: none !important;*/
    opacity: 0;
    -moz-transition: all 0.3s ease-out;  /* FF4+ */
    -o-transition: all 0.3s ease-out;  /* Opera 10.5+ */
    -webkit-transition: all 0.3s ease-out;  /* Saf3.2+, Chrome */
    -ms-transition: all 0.3s ease-out;  /* IE10? */
    transition: all 0.3s ease-out; 
}
/* ------ Sidebar ------ */
#sidebar article{
    margin-top: 10px !important;
    padding-top: 10px !important;
    margin-right: 0 !important;
    width: 340px !important;
    margin-left: -8px !important;
    border-top: 1px solid #eaeaea;
}
#sidebar #text-2,#sidebar #categories-2,#sidebar #text-3{
    max-width: 340px;
    /*border-top: 1px solid #eaeaea;*/
    margin-top: 10px;
    padding-top: 10px;
    margin-left: 0;
    margin-right: 0;
}
#sidebar #search-2{
    border-top: 0;
    max-width: 340px;
    margin-left: 0;
    margin-right: 0;
}
#wpp-2{
    margin-top: 10px;
    padding-top: 10px;
    margin-right: 0;
    width: 340px;
    margin-left: -8px;
}
#sidebar #text-3{
    margin-bottom: 10px;
}

.side-bars-container{
    width: 340px;
    display: table-cell;
    vertical-align: top;
}
.sidebar-container{
    width: 100%;
    padding: 30px 7px;
    float: left;
    background-color: #fff;
    border: 1px solid #dddddd;
    width: 340px;
}
.sidebar-top-border{
    border-top: 5px solid #5f82be;
    margin: -30px -7px 15px -7px;
}
.widget div h6, #wpp-2 div h6{
    color: #40484a;
    font-weight: bold;
}
.scroll{
    position: fixed;
    top: 29px;
    padding: 8px 8px 8px 7px;
    min-height: 300px;
    max-width: 340px;
    margin-left: 0px;
    background-color: #fff;
    border: 1px solid #dddddd;
}
.latest-post-container{
    width: 340px;
    padding: 30px 7px;
    float: left !important;
    background-color: #fff;
    border: 1px solid #dddddd;
    margin-top: 29px;
    min-height: 300px;
    position: relative;
}

.instagram-pics {
  margin: 0px;
  list-style: outside none none;
}
.instagram-pics li {
  float: left; 
  padding: 5px !important;
  margin: 0px;
}

.instagram-pics li a {
  float: left; 
  padding: 0px !important;
}
.instagram-pics li a img {
  width: 140px;
}

#side-fb{
    max-width: 340px;
}
#text-3{
    padding-bottom: 15px;
}
.second-sidebar-title{
    margin: 0 10px;
    font-weight: bold;
}
.second-sidebar-content{
    margin: 10px 0;
    height: 100px;
}
.second-sidebar-content table{
    border: 0;
}
.second-sidebar-content table tr td{
    overflow: hidden;
    max-height: 100px;
    display: inline-block;
    float: left;
}
.second-sidebar-content table tr td:first-child{
    width: 45%;
    max-height: 90px;
}
.second-sidebar-content table tr td:last-child{
    width: 55%;
}
.latest-post-title{
    overflow: hidden;
    max-height: 100px;
}
.latest-post-title a{
    font-size: 18px;
}
.latest-post-img a img{
    width: 100%;
}
.wpp-list {
    counter-reset:li;
    margin-left:0;
    padding-left:0;
}
.wpp-list > li {
    position:relative;
    margin: 10px 0 6px 0;
    padding: 4px 0 0 30px;
    list-style:none;
    line-height: 20px;
}
.wpp-list > li:before {
    content: counter(li);
    counter-increment: li;
    position: absolute;
    top: 1px;
    left: -10px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 2em;
    margin-right: 8px;
    padding: 4px;
    color: #40484a;
    font-weight: normal;
    font-family: "Lato", sans-serif;
    text-align: center;
    font-size: 18px;
}
li ol,
li ul {margin-top:6px;}
.wpp-list ol li:last-child {margin-bottom:0;}
/* ------ Footer ------ */
.footer-container{
    background-color: #2e2e2e;
    min-height: 224px;
}
#mc-embedded-subscribe{
    width: 240px;
    height: 45px;
    background-color: #cc6601;
    color: #fff;
    font-size: 16px;
}
#mce-EMAIL{
    height: 45px;
    width: 240px;
    margin: 0;
    margin-right: -15px;
    background-color: #848484;
    color: #fff !important;
    border: 0;
    box-shadow: none;
}
#mce-EMAIL #shadow-root #placeholder{
    color: #fff !important;
    font-size: 16px;
}
#placeholder{
    color: #fff !important;
}
.signup-email{
    margin-bottom: 90px;
}
.signup-email-table{
    border: 0;
}
.signup-email-table tr td{
    background-color: #2e2e2e;
}
.signup-email form{
    margin-left: auto;
    margin-right: auto;
    margin-top: 35px;
}
.footer-category-table{
    background-color: #2e2e2e;
    border: 0;
}
.footer-site-links {
    vertical-align: top;
    font-size: 12px;
    line-height: 18px;
    padding-right: 10px;
    padding-top: 0;
}
.footer-site-links:first-child{
    padding-left: 0;
}
.footer-wrapper a {
    font-size: 12px;
    color: #999999;
    text-decoration: none;
}
.footer-link-main {
    font-weight: bold;
    font-size: 12px;
    line-height: 18px;
    color: #888888;
}
.footer-site-links a{
    color: #888888;
    line-height: 30px;
}
.footer-container footer .widget h6{
    color: #fff;
    font-size: 12px;
}
.copyright-text p, .footer-address{
    font-size: 12px;
    color: #888888;
    clear: both;
}
.footer-container footer #text-5, .footer-container footer #text-6{
    color: #888888;
}
.footer-container footer #text-6, .footer-container footer #text-7{
    padding: 0 40px;
}
.footer-column h6{
    color: #fff;
    font-size: 12px; 
}
.footer-column{
    float: left;
    width: 32%;
    padding: 0 0.33%;
}
.footer-column2 {
    border-right: 1px solid #888888;
    border-left: 1px solid #888888;
    min-height: 220px;
    padding: 0 15px;
}
.signup-email-table {
    margin-left: auto;
    margin-right: auto;
}
.footer-social-icon{
    width: 240px
}
.footer-social-icon ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-social-icon ul li{
    float: left;
    margin: 0 10px;
}
.footer-social-icon ul li:first-child{
    margin-left: 0;
}
.footer-social-icon .fb{
    width: 30px;
    height: 30px;
    text-align: center;
    background: url("/v4/blog/wp-content/themes/jvf/images/footer-social-icon-facebook-off.png") no-repeat center center;
}
.footer-social-icon li .fb:hover{
    background: url("/v4/blog/wp-content/themes/jvf/images/footer-social-icon-facebook-on.png") no-repeat center center;
}
.footer-social-icon .tw{
    width: 30px;
    height: 30px;
    text-align: center;
    background: url("/v4/blog/wp-content/themes/jvf/images/footer-social-icon-twitter-off.png") no-repeat center center;
}
.footer-social-icon li .tw:hover{
    background: url("/v4/blog/wp-content/themes/jvf/images/footer-social-icon-twitter-on.png") no-repeat center center;
}
.footer-social-icon .li{
    width: 30px;
    height: 30px;
    text-align: center;
    background: url("/v4/blog/wp-content/themes/jvf/images/footer-social-icon-linkedin-off.png") no-repeat center center;
}
.footer-social-icon li .li:hover{
    background: url("/v4/blog/wp-content/themes/jvf/images/footer-social-icon-linkedin-on.png") no-repeat center center;
}
.footer-social-icon .gp{
    width: 30px;
    height: 30px;
    text-align: center;
    background: url("/v4/blog/wp-content/themes/jvf/images/footer-social-icon-google-off.png") no-repeat center center;
}
.footer-social-icon li .gp:hover{
    background: url("/v4/blog/wp-content/themes/jvf/images/footer-social-icon-google-on.png") no-repeat center center;
}
.footer-social-icon .ig{
    width: 30px;
    height: 30px;
    text-align: center;
    background: url("/v4/blog/wp-content/themes/jvf/images/footer-social-icon-instagram-off.png") no-repeat center center;
}
.footer-social-icon li .ig:hover{
    background: url("/v4/blog/wp-content/themes/jvf/images/footer-social-icon-instagram-on.png") no-repeat center center;
}
.wp_rss_retriever_list{
    list-style: none;
    margin-left: 0;
}
.wp_rss_retriever_title{
    font-weight: bold;
    font-size: 14px;
    line-height: 18px;
    color: #888888;
}
.wp_rss_retriever_title:hover{
    color: #fff;
}
.wp_rss_retriever_item_wrapper{
    line-height: 14px;
    margin: 15px 0;
}
/* ------ Search ------ */
#searchsubmit{
    width: 40px;
    margin: -55px 0;
    float: right;
    background: none;
    border: 0;
    background-image: url("images/search-icon.png");
    background-repeat: no-repeat;
    background-position: center right 10px;
    height: 38px;
    border-radius: 2px;
    padding: 0 40px 0 0;
}
#s{
    height: 40px;
    border-radius: 2px;
    padding: 0 40px 0 5px;
}
.search-result article header h2 a{
    font-weight: 300;
}

/* Videos */

.video-section {
  padding: 0px 0px 10px 0px;
}
.video-section .video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
}
.video-section .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

/**************************/
/*------------------------*/
/*-----------RWD----------*/
/*------------------------*/
/**************************/
@media only screen and (max-width: 1340px){
    .footer-container{
        padding: 0 10px;
    }
}
@media only screen and (min-width: 1045px) and (max-width: 1280px){
    .single-main-container {
        width: 64%;
        float: left;
    }
}
@media only screen and (min-width: 1024px) {
    .scroll{
        max-width: 340px !important;
    }
    .scroll-hide{
        opacity: 0;
        -moz-transition: all 0.3s ease-out;  /* FF4+ */
        -o-transition: all 0.3s ease-out;  /* Opera 10.5+ */
        -webkit-transition: all 0.3s ease-out;  /* Saf3.2+, Chrome */
        -ms-transition: all 0.3s ease-out;  /* IE10? */
        transition: all 0.3s ease-out; 
    }
    #kodda_container{
        width: 993px !important;
    }
}
@media only screen and (max-width: 1044px) {
    #social-icon{
        top: 245px;
        left: 0px;
    }
    .single-page-content{
        margin-left: 85px;
    }
    .main-container{
        padding-left: 0;
    }
    .single-main-container {
        width: 58%;
        float: left;
    }
    .single-page-right{
        width: 100%;
    }
    .single-page-content {
        margin-left: 70px;
    }
    .news-containers, .single-news{
        padding: 25px 10px 20px 10px;
    }
    .inner-single-news .entry-title{
        font-size: 30px;
    }
}
@media only screen and (max-width: 1000px) {
    #wpp-2{
        display: none !important;
    }
    #second-sidebar{
        margin-top:0;
    }
    .medium-size-fix {
        width: 100% !important;
        float: left;
     }
    .medium-single-size-fix {
        width: 100% !important;
     }
    .side-bars-container{
        display: block;   
    }
    .single-page-content{
        margin-left: 0;
    }
    .second-topbar-text-container span:nth-child(2){
        font-size: 36px;
    }
    #social-icon{
        display: none;
    }
    .side-bars-container{
        display: none;
    }
    .main-container{
        padding-left: 0;
        padding-right: 0;
    }
    .inner-single-news .entry-title{
        font-size: 28px;
    }
    .footer-column{
        float: none;
        width: 100%;
        padding: 0 0;
        min-height: 0 !important;
    }
    .footer-column2 {
        border-right: 0;
        border-left: 0;
        min-height: 220px;
        padding: 0;
    }
    .copyright-text {
        margin-left: auto;
        margin-right: auto;
        width: 240px;
        text-align: center;
    }
    .footer-social-icon{
        margin-bottom: 120px;
    }
}
@media only screen and (max-width: 910px) {
    #wpp-2{
        display: none !important;
    }
}
@media only screen and (max-width: 860px) {
    .second-topbar-text-container span:nth-child(2){
        font-size: 26px;
    }
    .news-title{
        font-size: 26px;
    }
    .inner-single-news .entry-title{
        font-size: 28px;
    }
    .news-content-top-layer{
        margin-top: -45px;
    }
}
@media only screen and (max-width: 640px) {
    .second-topbar-text-container span:nth-child(2){
        font-size: 24px;
    }
    .single-page-content{
        margin-left: 0;
    }
    #sidebar, #second-sidebar{
        float: none !important;
        clear: both;
        margin-left: auto;
        margin-right: auto;
    }
    .footer-container{
        margin-top: 50px;
    }
    .inner-single-news .entry-title{
        font-size: 24px;
    }
    #mc-embedded-subscribe{
        width: 180px;
    }
}
@media only screen and (max-width: 480px) {
    .second-topbar-text-container span:nth-child(2){
        font-size: 19px;
        font-weight: bold;
    }
    .news-title{
        font-size: 20px;
    }
    .inner-single-news .entry-title{
        font-size: 22px;
    }
    #mce-EMAIL{
        width: 115px;
    }
    #mc-embedded-subscribe{
        width: 175px;
    }
}
@media only screen and (max-width: 350px) {
    #social-icon{
        display: none;
    }
    .second-topbar-text-container span{
        font-size: 20px !important;
    }
    .second-top-bar-container{
        padding-top: 20px;
    }
    .news-title{
        font-size: 18px;
    }
    .inner-single-news .entry-title{
        font-size: 20px;
    }
    .footer-container footer #text-6, .footer-container footer #text-7 {
        padding-left: 0.9375rem;
        padding-right: 0.9375rem;
    }
    .signup-email-table {
        margin-left: 0;
        margin-right: 0;
    }
}

.services-icons table{
    width: 50%;
    float: left;
    background: none;
    margin: 0 0 15px 0;
    border: 0;
}
.services-icons table tr td:first-child{
    width: 47px;
}
.services-icons table tr td:last-child{
    width: 70px;
}
.services-icons table tr td{
    padding: 0;
    margin: 0;
}
.services-icons a {
  color: #222222;
}