/*
 Theme Name:   Renowise Child
 Theme URI:    http://renowise.bold-themes.com
 Description:  Renowise child theme
 Author:       BoldThemes
 Author URI:   http://bold-themes.com
 Template:     renowise
 Version:      1.0.0
 Tags:         one-column, right-sidebar, custom-menu, featured-images, sticky-post, theme-options, threaded-comments, translation-ready
 Text Domain:  renowise-child
*/


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

/************************** Default **************************/
footer {
    display: none !important;
}
.topBarInMenu {
    display: none !important;
}

.home .bt_bb_section:first-child > .bt_bb_port {
    padding: 0 !important;
}
.bt_bb_content_slider_item {
    background-position: center 40%;
}
.bt_bb_content_slider_item_content {
    padding-top: 90px !important;
}
.icon-facebook a:before {
    box-shadow: 0 0 0 2em #3b5998 inset !important;
}
.icon-twitter a:before {
    box-shadow: 0 0 0 2em #1da1f2 inset !important;
}
.icon-linkedin a:before {
    box-shadow: 0 0 0 2em #0a66c2 inset !important;
}
.icon-youtube a:before {
    box-shadow: 0 0 0 2em #ff0000 inset !important;
}
.icon-blog a:before {
    box-shadow: 0 0 0 2em #545352 inset !important;
}
.icon-facebook:hover a:before, .icon-facebook:active a:before, .icon-facebook:focus a:before,
.icon-twitter:hover a:before, .icon-twitter:active a:before, .icon-twitter:focus a:before,
.icon-linkedin:hover a:before, .icon-linkedin:active a:before, .icon-linkedin:focus a:before,
.icon-youtube:hover a:before, .icon-youtube:active a:before, .icon-youtube:focus a:before,
.icon-blog:hover a:before, .icon-blog:active a:before, .icon-blog:focus a:before {
    color: #FFFFFF !important;
}

/************************** Main Menu **************************/
body:not(.btMenuVertical) #menu-main-menu {
    display: flex;
    align-items: center;
}
#menu-main-menu .btnMenu {
    display: flex !important;
    justify-content: center;
    align-items: center;
    float: none !important;
}
#menu-main-menu .btnMenu a {
    display: flex;
    align-items: center;
    padding: 10px 30px !important;
    background: #c20000;
    border-radius: 50px;
    height: 40px;
    line-height: 40px !important;
}
#menu-main-menu .btnMenu a:before {
    display: none !important;
}
#menu-main-menu .astm-search-menu .search-icon {
    top: 5px;
    position: relative;
}
#menu-main-menu .astm-search-menu .search-icon-path {
    fill: #ffffff;
}
#menu-main-menu .astm-search-menu form * {
    color: #000000 !important;
}
#menu-main-menu .astm-search-menu form .is-search-input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
#menu-main-menu .astm-search-menu form .is-search-submit {
    height: 45px;
}
#menu-main-menu .astm-search-menu form .is-search-submit span {
    height: 100%;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    background: #ffffff;
    box-shadow: none;
    border: none;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
}

/************************** Homepage **************************/
/* Phone Number - Call */
.phone-call a {
    color: #c20000 !important;
    font-size: 40px;
    font-weight: 700;
}
.phone-call a:before {
    font-family: FontAwesome, "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 40px;
    color: #c20000 !important;
    margin-right: 20px;
}
.phone-call a:before { content: "\f095"; }
.phone-call a:hover, .phone-call a:active, .phone-call a:focus,
.phone-call a:hover:before, .phone-call a:active:before, .phone-call a:focus:before {
    color: #FFFFFF !important;
}

/************************** Contact Map **************************/
.customMaps {
    display: flex;
    position: relative;
    right: -100px;
}
.customMaps #map_wrapper_5818 {
    position: absolute;
    width: 49%;
    left: -95px;
}

/************************** Subpage **************************/
body {
    background-repeat: repeat;
    background-size: contain !important;
}
body.btBelowMenu .btPageHeadline.btHeadlineSquare .bt_bb_port {
    padding: 90px 40px 0 !important;
}
body.search .btPageHeadline.bt_bb_background_image {
    background-image: url("/wp-content/uploads/2021/01/slabjack-trailer.jpg") !important;
}
.btPageHeadline.bt_bb_background_image {
    background-position: center !important;
    background-attachment: initial !important;
}
.btPageHeadline {
    background-color: rgba(202, 88, 43, .65) !important;
}
.btPageHeadline span,
.btPageHeadline a {
    color: #ffffff !important;
}
.bt_bb_headline.bt_bb_style_square.bt_bb_superheadline:before {
    width: 10em !important;
    height: 10em !important;
    border-width: 10px;
}
h1 {
    font-size: 50px !important;
}
.btHeadingWeight_default h2 {
    color: #c20000;
}
#locationDetails a {
    font-weight: 700;
    font-size: 20px;
}
.btContent a {
    color: #c20000;
}
.bt_bb_port {
    padding: 4em 0;
}
.bt_bb_port h2 {
    text-align: center;
    margin-top: 50px;
}
#contactDetails .bt_bb_icon {
    display: block;
    float: none !important;
    width: 100%;
    margin-bottom: 20px !important;
}
.bt_bb_button a {
    background: #c20000 !important;
    color: #ffffff !important;
}
.bt_bb_button:hover a,
.bt_bb_button:active a,
.bt_bb_button:focus a {
    background: #c20000 !important;
    color: #ffffff !important;
}

@media (min-width: 641px) {
    .gform_wrapper .top_label li.gfield.gf_left_half,
    .gform_wrapper .top_label li.gfield.gf_right_half {
        width: 49% !important;
    }
}
label {
    opacity: 1 !important;
}
input, textarea {
    background: #ffffff !important;
}
.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
    padding: 5px 15px !important;
}
.gform_footer {
    text-align: center;
}
.gform_footer br {
    display: none;
}
.gform_button {
    height: auto !important;
    line-height: 1.4 !important;
    background: #c20000 !important;
    color: #ffffff !important;
    cursor: pointer;
    width: 200px !important;
    font-weight: 500 !important;
    letter-spacing: .5px;
}
.phone-icon-layout {
    position: relative;
}
.phone-icon-layout:before {
    content: "\f095";
    font-family: FontAwesome, "Font Awesome 5 Free";
    font-size: 1.6em;
    width: 2em;
    height: 2em;
    box-shadow: 0 0 0 1px #000000 inset;
    color: #000000;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 280ms ease;
}
.phone-icon-layout:hover:before {
    box-shadow: 0 0 0 1em #000000 inset;
    color: #ffffff;
}
.phone-icon-layout p {
    margin-left: 65px;
}

/************************** Blog **************************/
.btArticleAuthor,
.btArticleComments,
.btArticleDate:after {
    display: none;
}
.btMediaBox img {
    margin: auto;
}

/************************** Videos **************************/
[class*="col-"] .bt_bb_video {
    width: 100%;
    margin: 30px auto;
}
.col-md-12 .bt_bb_video {
    width: 50%;
    margin: 30px auto;
}

/************************** Photos **************************/
.bt_bb_image:not(.bt_bb_content_exists) img {
    margin-bottom: 30px;
}
img.aligncenter {
    display: flex !important;
    margin: 0 auto !important;
}

/************************** Media Queries **************************/
@media (max-width: 991px) {
    .col-md-12 .bt_bb_video {
        width: 80%;
    }
}
@media (max-width: 767px) {
    .bt_bb_content_slider_item_content {
        padding: 90px 40px 40px !important;
    }
    .bt_bb_content_slider_item_content .bt_bb_bottom_spacing_50,
    .bt_bb_content_slider_item_content .bt_bb_bottom_spacing_100 {
        display: none
    }
    .col-md-12 .bt_bb_video {
        width: 100%;
    }
    .phone-call a {
        font-size: 26px;
    }
    .phone-call a:before {
        display: none;
    }
    .social-icon-wrapper .bt_bb_column_inner_content,
    .social-icon-wrapper .bt_bb_column_content_inner {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin: 20px auto;
    }
    .social-icon-wrapper .bt_bb_service {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 30px;
    }
    .gform_footer .gform_button {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .btSiteFooter .bt_bb_column * {
        text-align: center;
    }
}

/************************** Animations **************************/
body:not(.home) .bt_bb_column.col-md-6:nth-child(1) .bt_bb_image {
    animation-name: fadeInLeft;
    animation-duration: 1.5s;
}
body:not(.home) .bt_bb_column.col-md-6:nth-child(2) .bt_bb_image {
    animation-name: fadeInRight;
    animation-duration: 1.5s;
}
body:not(.home) .bt_bb_column.col-md-4:nth-child(1) .bt_bb_image {
    animation-name: fadeInLeft;
    animation-duration: 1.5s;
}
body:not(.home) .bt_bb_column.col-md-4:nth-child(2) .bt_bb_image {
    animation-name: fadeIn;
    animation-duration: 1.5s;
}
body:not(.home) .bt_bb_column.col-md-4:nth-child(3) .bt_bb_image {
    animation-name: fadeInRight;
    animation-duration: 1.5s;
}
body:not(.home) .bt_bb_video {
    animation-name: fadeIn;
    animation-duration: 1.5s;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes fadeInRight {
    0% { opacity: 0; transform: translate3d(100%, 0, 0); }
    100% { opacity: 1; transform: none; }
}
@keyframes fadeInLeft {
    0% { opacity: 0; transform: translate3d(-50%, 0, 0); }
    100% { opacity: 1; transform: none; }
}