/*
Theme Name: CMA Properties Child Theme
Description: A child theme to house custom coding which modifies the CMA Properties parent theme by Elegant Themes. Includes default line numbers where the code was taken from in the parent theme.
Template: cma
*/

/* =Theme customization starts here
------------------------------------------------------- */

.page-template-new-home .page-heading { display: none; }
.page-template-new-home main.main { padding: 0 !important; margin: 0 !important; background: transparent !important; }
.page-template-new-home .content .container { width: 100% !important; }
.container { position: relative !important; }
.et_divi_builder #et_builder_outer_content .et_pb_row { max-width: 1170px !important; width: 95% !important; }
.page-template-new-home section { margin-bottom: 0; }

.vb_header-text h1 {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 500 !important;
    font-size: 46.5px  !important;
    color:#fff !important;
}
.vb_header-text h2 {
    font-family: 'Roboto', sans-serif !important;
    font-size: 46px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color:#0da2da !important;
}
.vb_header-text h3 {
   color:#00a6d8 !important;
   font-weight: 500 !important;
   font-size: 48px !important;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif !important;
}
.vb_header-text h3:after {
   content: '';
   display: block;
   margin: 20px auto 0;
   width: 100px;
   height: 1px;
   background-color: #00a6d8;
}
.vb_header_text p {
  font-size: 20px;
}
.vb_renown {
    background-position: bottom center !important;
}
.vb_vid {
    border: 7px solid #b9e1ed !important;
    position: relative;
}
.vb_box_shadow {
    -webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5) !important;
    -moz-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5) !important;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5) !important;
}
.vb_vid:after {
    content: '';
    display: block;
    width: 280px;
    height: 136px;
    background-image: url(/wp-content/uploads/2016/10/watch.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 40px;
    right: -48%;
}
.et_divi_builder #et_builder_outer_content .et_pb_gutters3 .et_pb_column_1_4, .et_divi_builder #et_builder_outer_content .et_pb_gutters3.et_pb_row .et_pb_column_1_4 {
    width: 23% !important;
    margin-right: 2% !important;
}
.vb_pro_blurb .et_pb_main_blurb_image, .vb_ps_blurb .et_pb_main_blurb_image {
    margin-bottom: 15px !important;
}
.vb_pro_blurb h4, .vb_ps_blurb h4{
    color: #00a6d8 !important;
    font-weight: 500 !important;
    font-family: 'Roboto', sans-serif !important;
    font-size: 20px;
    padding-bottom: 10px !important;
}
.vb_pro_blurb p {
    color: #333333;
    font-weight: 300;
}
.vb_pro_blurb, .vb_ps_blurb {
    position: relative;
    border-bottom: 1px solid #ccedf7 !important;
    padding-bottom: 15px !important;
}
.vb_pro_blurb:after, .vb_ps_blurb:after {
    content: '';
    display: block;
    height: 5px;
    width: 100%;
    background-color: #00a6d8;
    position: absolute;
    bottom: -6px;
}
.vb_ps_blurb img {
    padding: 8px !important;
}
.vb_ps_blurb {
    background-color: #fff !important;
}
.vb_ref h3 {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    display: block;
    padding: 18% 0 !important;
    color: #fff !important;
    min-height: 125px;
    font-size: 24px;
    font-family: 'Roboto', sans-serif !important;
    position: relative;
    margin-bottom: 45px !important;
}
.vb_ref_1 h3 {
    background-image: url(/wp-content/uploads/2016/10/lawyers.jpg) !important;
}
.vb_ref_2 h3 {
    background-image: url(/wp-content/uploads/2016/10/re-agent.jpg) !important;
}
.vb_ref_3 h3 {
    background-image: url(/wp-content/uploads/2016/10/accountant.jpg) !important;
}
.vb_ref_4 h3 {
    background-image: url(/wp-content/uploads/2016/10/smsf.jpg) !important;
}
.vb_ref h3:after {
    content: '';
    width: 100%;
    height: 80px;
    display: block;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 50% 50%;
    position: absolute;
    bottom: -40px;
}
.vb_ref_1 h3:after {
    background-image: url(/wp-content/uploads/2016/10/lawyers.png);
}
.vb_ref_2 h3:after {
    background-image: url(/wp-content/uploads/2016/10/re-agent.png);
}
.vb_ref_3 h3:after {
    background-image: url(/wp-content/uploads/2016/10/accountant.png);
}
.vb_ref_4 h3:after {
    background-image: url(/wp-content/uploads/2016/10/smsf.png);
}
.vb_check li {
    background-image: url(/wp-content/uploads/2016/10/check-list.png) !important;
    background-repeat: no-repeat !important;
    background-position: left top !important;
    text-align: left !important;
    padding-bottom: 10px !important;
    padding-left: 25px !important;
    color: #333 !important;
    font-size: 10px;
    font-weight: normal !important;
}
.vb_ref {
    background-color: #ffffff !important;
    border: 1px solid #e7f2f5 !important;
}
.vb_ref p, .vb_ref ul {
    padding: 0 10px 10px !important;
}
.et_divi_builder #et_builder_outer_content .et_pb_section {
    padding: 2% 0 !important;
}
.vb_working h2 {
    font-family: 'Roboto', sans-serif !important;
    font-size: 40px;
    text-transform: uppercase;
}
.gform_wrapper .gfield_label, .gform_wrapper .gfield_required {
    display: none !important;
}
.gform_body input[type=text], .gform_body input[type=email], .gform_body input[type=tel] {
    border: 1px solid #eeeeee !important;
    background-color: #ffffff !important;
    text-align: left !important;
    padding: 10px 10px !important;
    height: 40px !important;
    margin-bottom: 20px !important;
    font-weight: normal !important;
    font-size: 14px !important;
}
.gform_body .gform_fields {
    padding-bottom: 0 !important;
}
.gform_footer input[type=submit] {
    display: block !important;
    width: 100% !important;
    height: 40px !important;
    padding: 12px 10px 9px!important;
    color: #fff !important;
    border: 1px solid #1180a1 !important;
    background-color: #00a6d8 !important;
    text-transform: uppercase;
    line-height: 1.2em !important;
    margin-bottom: 10px !important;
}
.vb_sec {
   font-size: 13px;
    color: #666666 !important;
}
#fr-cont img {
    margin-top: 90px !important;
}
#fr-cont-2 img {
    margin-left: 30px !important;
}
.vb_header-text-white h3:after {
    background-color: #ffffff;
}
.vb_vid_small {
    border: 4px solid #b9e1ed !important;
}
.content-info .ltGrey-bg {
    background-color: #ffffff !important;
    padding: 4% 0 3%!important;
}
.vb_footer_img {
    margin-bottom: 20px;
}
.vb_footer h4 {
    color: #333333 !important;
    font-size: 20px;
    margin: 0 0 20px !important;
}
.vb_footer br {
    display: none;
}
.vb_footer a {
    font-size: 16px;
    color: #00a6d8 !important;
    line-height: 1.7em;
    display: block;
}
.vb_col_2nd {
    padding-left: 56px !important;
}
.copyright {
    background-color: #00a6d8;
}
.vb_footer_copyright {
    font-size: 13px;
    color: #b9e1ed;
    overflow: hidden;
}
.vb_left {
    float: left;
}
.vb_right {
    float: right;
}
.vb_footer_copyright a {
    color: #333333 !important;
}
body.home header {
    min-height: 324px !important;
    margin-bottom: 0 !important;
}
body .desktop-header {
    background-image: url(/wp-content/uploads/2016/10/main-header-bg.jpg) !important;
    background-size: cover !important;
    background-position: top center !important;
    height: 225px;
    position: static !important;
}
.vb_contact_info span {
    text-align: right;
    line-height: 1.2em;
}
.vb_thin {
    display: block;
    color: #00a6d8;
    font-size: 28px;
    text-transform: uppercase;
}
.vb_thick {
    display: block;
    font-weight: 700;
    font-size: 34px;
    color: #333;
}
.vb_contact_info a {
    display: block !Important;
    text-align: center !Important;
    margin-top: 3% !Important;
}
header .desktop-header .banner.navbar {
    padding: 0 !important;
    margin: 0 !important;
    min-height: 36px !Important;
}
.vb_bust {
    position: relative;
    z-index: 20;
}
.vb_bust img {
    margin-top: -18px;
    margin-left: 30%;
}
.vb_custom_menu {
    position: relative;
    background-color: #eef3f5;
    z-index: 10;
    top: -37px;
}
.navbar-nav {
    float: none !important;
    text-align: left !important;
}
.vb_custom_menu .navbar .vb_active a, .vb_custom_menu .navbar a:hover {
    color: #00a6d8 !important;
}
.vb_custom_menu .navbar a {
    font-size: 14px !important;
    font-weight: normal !important;
    padding: 8px 18px !important;
}
.vb_custom_menu .navbar li:first-child a {
   padding-left: 0 !important;
}
.vb_custom_menu .navbar li:last-child a {
   padding-right: 0 !important;
}
.vb_upper_nav, .vb_lower_nav  {
background: #027fb8; /* Old browsers */
background: -moz-linear-gradient(top,  #027fb8 0%, #00a1d4 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #027fb8 0%,#00a1d4 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #027fb8 0%,#00a1d4 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#027fb8', endColorstr='#00a1d4',GradientType=0 ); /* IE6-9 */
}
.vb_2nd_nav nav {
    padding-left: 5px;
    padding-right: 5px;
}
.vb_2nd_nav nav li a {
    color: #fff !important;
    font-weight: normal !important;
    font-size: 15px;
    text-transform: uppercase;
    padding: 15px 25px;
}
.vb_2nd_nav nav li.vb_active a, .vb_2nd_nav nav li a:hover {
    color: #00a6d8 !important;
    background-color: #b9e1ed !important;
}
.vb_search {
    position: absolute;
    right: 0;
    width: 215px;
    z-index: 99;
    top: 9px;
    margin-right: 20px;
}
.content main {
    margin-top: -55px !important;
}
.vb_search .VS-search .VS-icon-search {
    background-image: url(/wp-content/uploads/2016/11/searchicon.png);
    width: 13px;
    height: 13px;
    left: auto;
    right: 10px;
    top: 10px;
}
.vb_search .VS-search .VS-icon-cancel {
    display: none;
}
.vb_search .VS-search .VS-search-box {
    background-color: #0076a2;
    border: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -khtml-border-radius: 3px;
    -o-border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    height: 33px;
}
.vb_search .VS-search .VS-placeholder {
    color: #effbff;
    font-size: 14px;
    margin: 10px;
}
.vb_search .VS-search .VS-search-inner {
    margin: 0 30px 0 10px;
}
.vb_search .VS-search input {
    color: #effbff !important;
    font-size: 14px !important;
    padding: 7px;
}
.vb_pro_blurb br, .vb_ref br {
    display: none;
}
.vb_btn {
    display: block;
    background: #027fb8 !important;
    background: -moz-linear-gradient(top, #027fb8 0%, #00a1d4 100%) !important;
    background: -webkit-linear-gradient(top, #027fb8 0%,#00a1d4 100%) !important;
    background: linear-gradient(to bottom, #027fb8 0%,#00a1d4 100%) !important;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#027fb8', endColorstr='#00a1d4',GradientType=0 ) !important;
    margin-top: 6px !important;
    color: #fff !important;
    font-size: 14px !important;
    padding: 5px 10px !important;
    font-weight: 600;
    width: 100%
}
.vb_pro_blurb .et_pb_blurb_content, .vb_ref {
    position: relative;
    height: 700px;
}
.vb_call {
    position: absolute;
    bottom: 0;
}
.vb_get {
    position: absolute;
    bottom: 40px;
}
.vb_ref .vb_btn {
    max-width: 246px;
}
.vb_ref .vb_call {
    bottom: 10px;
}
.vb_ref .vb_get {
    bottom: 50px;
}


/* Responsive */

@media screen and (max-width: 1200px) { 
.container {
    width: 100% !important;
}
.vb_thin {
    font-size: 24px;
}
.vb_thick {
    font-size: 26px;
}
body .desktop-header {
    height: 192px;
}
.vb_custom_menu .navbar a {
    font-size: 13px !important;
}
.vb_2nd_nav nav {
    padding-left: 15px;
    padding-right: 15px;
}
.vb_2nd_nav nav li a {
    font-size: 13px;
    padding: 15px;
}
.vb_search {
    width: 190px;
}
.vb_header-text h1 {
    font-size: 40px !important;
}
.vb_header-text h2 {
    font-size: 39.5px !important;
}
.vb_header_img img {
    width: 100%;
    max-width: 500px !Important;
}
.vb_header-text h3, .vb_working h2 {
    font-size: 34px !important;
}
.vb_vid:after {
    width: 180px;
    height: 87px;
    right: -41%;
    top: 0;
}
.vb_pro_blurb .et_pb_blurb_content {
    height: 720px;
}
.vb_ref {
    height: 800px;
}
.vb_ps_blurb h4 {
    font-size: 16px;
}
.vb_ref h3 {
    font-size: 22px;
}
.vb_ref .vb_btn {
    max-width: 196px;
}
.vb_mason p {
    font-size: 14px;
}
#fr-cont img {
    margin-top: 90px !important;
    max-width: 170px !important;
}
.gform_wrapper .gform_body {
    width: 100% !important;
}
}

@media screen and (max-width: 980px) { 
body .desktop-header {
    height: 182px;
}
.vb_contact_info a {
    margin-top: 10px;
}
body.home header {
    min-height: 280px !important;
}
.vb_header-text h1, .vb_header-text h2 {
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8) !important;
    font-size: 36px !important;
}
.vb_header_img img {
    float: right;
}
.vb_vid {
    max-width: 480px;
    margin-top: -30px !important;
}
.vb_pro_blurb .et_pb_blurb_content {
    height: 630px;
}
.vb_ps_blurb h4 {
    font-size: 18px;
}
.vb_ps_blurb {
    max-width: 285px;
}
.vb_ref {
    height: 600px;
}
.vb_ref .vb_btn {
    max-width: 95%;
}
.gform_wrapper {
    width: 100% !important;
    max-width: 358px !important;
    margin: 0 auto !important;
}
#fr-cont-2 img {
    margin-left: 0 !important;
    max-width: 260px !important;
}
.vb_form {
    background-position: right center !important;
}
}


@media screen and (max-width: 800px) { 
body .visible-xs {
    display: block !important;
}
.desktop-header, .vb_secondary_menu {
    display: none !important;
}
#mobile-nav {
    background-image: url(/wp-content/uploads/2016/10/main-header-bg.jpg) !important;
    background-size: cover !important;
    background-position: top center !important;
    background-attachment: fixed !important;
}
.navbar-toggle, body .navbar-collapse.collapse.in {
    display: block !important;
}
body .navbar-collapse.collapse.in {
    overflow-y: scroll !important;
    overflow-x: hidden !important;
}
body .navbar-collapse.collapse {
    display: none !important;
}
.navbar-header {
    float: none !important;
    padding: 0 !important;
}
.navbar {
    border: 0 !important;
    background-color: transparent !important;
}
.navbar-toggle, .navbar-collapse.in {
    float: none !important;
    background: #027fb8 !important;
    background: -moz-linear-gradient(top, #027fb8 0%, #00a1d4 100%) !important;
    background: -webkit-linear-gradient(top, #027fb8 0%,#00a1d4 100%) !important;
    background: linear-gradient(to bottom, #027fb8 0%,#00a1d4 100%) !important;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#027fb8', endColorstr='#00a1d4',GradientType=0 ) !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}
.navbar-toggle div.menu {
    line-height: 26px;
    color: #fff !important;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff !important;
}
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav li a:hover {
    color: #00a6d8 !important;
    background-color: #b9e1ed !important;
}
.navbar-default .navbar-nav li a {
    color: #fff !important;
    font-size: 14px;
    text-transform: uppercase;
}
.navbar-nav li {
    float: none !important;
}
.vb_mob_logo, .vb_mob_info {
    text-align: center;
}
.vb_mob_logo img {
    max-width: 280px;
    margin: 15px 0;
}
.vb_mob_info .vb_thin {
    font-size: 20px;
}
.vb_mob_info .vb_thick {
    font-size: 20px;
}
.vb_mob_info img {
    max-width: 200px;
    margin-top: 15px;
}
.vb_header-text h1, .vb_header-text h2 {
    font-size: 30px !important;
}
.vb_header_img img {
    max-width: 390px !important;
}
.vb_header-text h3, .vb_working h2 {
    font-size: 28px !important;
}
.vb_vid {
    max-width: 400px;
}
.vb_vid:after {
    width: 150px;
    height: 84px;
    right: -39%;
}
.vb_pro_blurb .et_pb_blurb_content {
    height: 660px;
}
.vb_ref {
    height: 660px;
}
}

@media screen and (max-width: 650px) { 
.vb_header-text h1, .vb_header-text h2 {
    font-size: 26px !important;
    text-align: right !important;
}
.vb_vid {
    max-width: 100%;
}
.vb_vid:after {
    display: none;
}
body.et_divi_builder .content #et_builder_outer_content .et_pb_row_4col > .et_pb_column.et_pb_column_1_4 {
    width: 100% !important;
    margin-right: 0 !important;
}
.vb_check li {
    font-size: 12px;
}
.vb_pro_blurb .et_pb_blurb_content, .vb_ref {
    height: auto;
}
.vb_btn {
    position: static !important;
}
.vb_last {
    margin-top: 30px !important;
}
.vb_ref .vb_btn {
    max-width: 100%;
}
.vb_col_2nd {
    padding-left: 15px !important;
}
.vb_footer .col-sm-3 {
    padding-bottom: 15px;
    text-align: center;
}
.vb_left, .vb_right {
    float: none;
    display: block;
    text-align: center;
}
}



@media screen and (max-width: 500px) { 
.vb_header_banner {
    background-image: url(/wp-content/uploads/2016/11/mpv_mobile_banner.jpg) !important;
}
.vb_header-text h1, .vb_header-text h2 {
    text-align: center !important;
}
}

@media screen and (max-width: 400px) { 
.vb_header_img img {
    max-width: 100% !important;
    float: none;
    width: 100% !important;
}
}