/*
Theme Name: Total Adviser First
Theme URI: http://totalwptheme.com
Description: Total WordPress theme customized for Adviser First.
Author: Binh Nguyen
Author URI: hhttp://www.digitalmediacave.com/#Binh-Nguyen
Template: Total
Version: 4.1
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

body {
    font-size: 15px;
}

b {
    font-weight: bold;
}

/* Fix white text content to white */
.white-text * {
	color: white;
	text-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
}


/* Darken the parallax background images */
/* For the first parallax (after header) */

.vc_parallax-inner:after {
    content: ' ';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0,0,0,.4);
}

.home .wpb_content_element {
    text-align: center;
}

/* Fix h2 font for all places */

h2 {
    font-size: 36px 
}

/* Hình ảnh teaser fix ở 180px */

.blog-entry:not(.post_format-post-format-video) .blog-entry-media {
    position: relative;
    overflow: hidden;
    display: block
}

.blog-entry:not(.post_format-post-format-video) .blog-entry-media:after,
.history figure:after {
    content: '';
    display: block;
    padding-top: 45%;
}

.history figure > img,
.blog-entry-media img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.history figure > img {
    top: 60%;
}

.link-box .wpb_single_image .vc_single_image-wrapper {
    height: 154px;
}

/* Format facebook iframe */
.fb_iframe_widget_lift {
    border: 1px solid #eee!important;
}

/* Remove widget tab padding */
.utw .ui-tabs .ui-tabs-panel {
    padding: 0;
}

/* Hide comment title on widget */
.textwidget .comment-reply-title {
    display: none;
}

/* Add border to widget comment form */

.textwidget .comment-respond {
    padding: 10px;
    border: 1px solid #eee;
}

.textwidget .comment-respond label{
    display: inline-block;
    width: 30%;
}

.textwidget .comment-respond input {
    width: calc(100% - 30% - 10px);
}

/* Fix pagination background */

.page-numbers {
    background: transparent;
}

/* Footer Remove the blank white area due to Cookie for comments */
body > img {
    display:none;
}

#sidebar-inner {
    padding: 15px;
    background-color: white;
    width: 330px;
    box-sizing: border-box;
}

/* Fix page header for readmore to work */
.page-header-inner {
    z-index: 2;
}

.page-header-inner a {
    color: white;
}

/* Fix page header to darken background */

.page-header.has-bg-image:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    width: 100%;
    height: calc(100% - 50px);
    background: -moz-linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2));
    background: -webkit-linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2));
    background: linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2));
}

.page-header.has-bg-image:before {
    height: 100%;
}

.page-header.has-bg-image-overlay {
    display: none;
}

.page-header.has-bg-image .page-subheading {
    color: #F0F0F0;
    margin-top: 15px;
}

.page-header.has-bg-image .page-subheading h2,
.page-header.has-bg-image .page-subheading h3,
.page-header.has-bg-image .page-subheading h4 {
    color: white;
}

.page-header.has-bg-image {
    padding-bottom: 100px;
}

.page-header.has-bg-image .page-subheading {
    font-size: 1.5em;
}

.page-header.has-bg-image {
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: contain;
}

.vc_col-sm-4 {
    text-align: center;
}

.wpb_content_element {
    margin-bottom: 30px;
}

.vcex-bullets-check ul li {
    background-position-y: 5px;
}

.half {
    display: block;
    width: 50%;
    float: left;
    padding-right: 15px;
}

.half + .half {
    padding-right: 0;
    padding-left: 15px;
}

.vc_col-sm-8 .wpcf7-form textarea {
    height: 142px;
}


.vc_col-sm-8 .wpcf7-form p:nth-child(5) {
    float: left;
}

.vc_icon_element.vc_icon_element-outer .vc_icon_element-inner.vc_icon_element-color-blue .vc_icon_element-icon {
    color: #2969b0;
}