/*
Theme Name: The Branding Iron Custom Theme
Author: Lillyan Hendershot & Timothy Hendershot
Description: A custom theme for your site by The Branding Iron.
Version: 1.0
Author URI: http://thebrandingiron.us/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
html {
    display: block!important;
}

img, iframe {
    max-width: 100%;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
    font-size: 18px;
    padding: 0;
    margin: 0;
}

input:focus,textarea,select:focus {
    outline: none;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
    background-color: white;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #704D3E;
    border: 1px solid white;
}

blockquote {
    border: none;
    quotes: "\201C""\201D""\2018""\2019";
    margin: 0;
}

blockquote *:first-child:before {
    content: open-quote;
    display: inline-block;
    vertical-align: bottom;
    font-size: 40px;
    line-height: 8px;
    font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
    font-weight: bold;
    margin-right: 4px;
}

blockquote *:last-child:after {
    content: close-quote;
    display: inline-block;
    vertical-align: bottom;
    font-size: 40px;
    line-height: 8px;
    font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
    font-weight: bold;
    margin-left: 4px;
}

img {
    height: auto;
}

button:active, button:focus {
    border: inherit;
    outline: inherit;
}

a, a:visited, a:hover, a:active, a:focus {
    color: inherit;
    text-decoration: none;
}

.wp-caption {
    width: 100%;
}

.wp-caption-text {
    font-size: 16px;
    margin: 0;
    padding: 8px;
    text-align: left;
    font-weight: bold;
}

.aligncenter {
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-bottom: 16px;
}

.alignleft {
    float: left;
    display: block;
    margin-right: 16px;
    margin-bottom: 16px;
}

.wp-block-image .alignright {
    float: right;
    display: block;
    margin-left: 16px;
    margin-bottom: 16px;
}

@media all and (max-width: 600px) {
    .wp-block-image .aligncenter, .wp-block-image .alignleft, .wp-block-image .alignright {
        float: none;
        display: block;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
}

/*Object Fit*/
.object-fit {
    object-fit: cover;
    object-position: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
    vertical-align: top;
}

.object-fit.contain {
    object-fit: contain;
    margin: 0 auto;
    background-size: contain;
    display: inline-block;
    vertical-align: top;
    max-width: 100%;
}

.object-fit.left-top {
    object-position: left top;
    background-position: left top;
}

.object-fit.center-top {
    object-position: center top;
    background-position: center top;
}

.object-fit.right-top {
    object-position: right top;
    background-position: right top;
}

.object-fit.left-center {
    object-position: left center;
    background-position: left center;
}

.object-fit.center-center {
    object-position: center center;
    background-position: center center;
}

.object-fit.right-center {
    object-position: right center;
    background-position: right center;
}

.object-fit.left-bottom {
    object-position: left bottom;
    background-position: left bottom;
}

.object-fit.center-bottom {
    object-position: center bottom;
    background-position: center bottom;
}

.object-fit.right-bottom {
    object-position: right bottom;
    background-position: right bottom;
}

.fa-phone {
    -moz-transform: scale(-1, 1);
    -webkit-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    -ms-transform: scale(-1, 1);
    transform: scale(-1, 1);
}

/*Transitions*/
.fade_in {
    -webkit-animation: fade_in 0.25s 1;
    -moz-animation: fade_in 0.25s 1;
    -o-animation: fade_in 0.25s 1;
    animation: fade_in 0.25s 1;
    opacity: 1
}

@keyframes fade_in {
    0% {
        opacity: 0
    }

    100% {
        opacity: 1
    }
}

/********
* Theme
*********/
/*fonts*/
@font-face {
    font-family: "Museo";
    font-style: normal;
    font-weight: normal;
    src: local(sans-serif), url('fonts/Museo500-Regular.otf');
}

@font-face {
    font-family: "Museo";
    font-style: normal;
    font-weight: bold;
    src: local(sans-serif), url('fonts/Museo700-Regular.otf');
}

@font-face {
    font-family: "Museo";
    font-style: italic;
    font-weight: normal;
    src: local(sans-serif), url('fonts/Museo300-Italic.otf');
}

@font-face {
    font-family: "Nickainley";
    font-style: normal;
    font-weight: normal;
    src: local(sans-serif), url('fonts/Nickainley-Normal.otf');
}

body {
    font-size: 18px;
    background-color: white;
    font-family: Museo;
    color: #634336;
}

#content-wrapper {
    padding: 16px;
}

#content-wrapper p {
    line-height: 1.5em;
}

#content-wrapper:after {
    content: '';
    clear: both;
    display: block;
}

@media all and (min-width: 1170px) {
    #content-wrapper .full-width {
        margin-left: calc((100vw - 1180px) / -2);
        margin-right: calc((100vw - 1180px) / -2);
    }
}

ul li {
    margin-bottom: 0.5em;
    padding-left: 0.5em;
}

h1 {
    text-align: center;
}

h1,h2,h3,h4,h5,h6 {
    font-family: "Nickainley";
}

.white h1, .white h2 {
    color: #704D3E;
}

.blue h1, .blue h2 {
    color: #704D3E;
}

/*Header*/
#header {
}

#header .wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-end;
}

#header .block {
    padding: 16px;
    text-align: center;
}

#header .block:nth-of-type(1) {
    flex-basis: 200px;
}

#header .block:nth-of-type(2) {
    flex-grow: 1;
}

#header .block:nth-of-type(3) {
    flex-basis: 200px;
}

#header .wrap {
    padding: 2px;
    border: 1px solid #704D3E;
    border-radius: 16px;
    display: inline-block;
    vertical-align: middle;
}

#header .wrap img {
    height: 150px;
    width: auto;
    border-radius: 16px;
    display: inline-block;
    vertical-align: middle;
}

/*Head Menu*/
.head_menu {
    background-color: #704D3E;
    color: white;
}

.head_menu .menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.head_menu .menu>li {
    margin: 0px;
    position: relative;
    display: inline-block;
    padding: 0px;
    text-align: center;
}

.head_menu .menu>li>a {
    display: block;
    padding: 8px 16px;
    cursor: pointer;
}

.head_menu .sub-menu {
    position: absolute;
    top: 100%;
    padding: 0px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    min-width: 100%;
    width: 250px;
    text-align: center;
    list-style: none;
    margin-top: -2px;
    color: #704D3E;
    z-index: 10;
    background-color: white;
    border-top: 2px solid #704D3E;
}

.head_menu .sub-menu>li {
    margin: 0;
    padding: 0;
}

.head_menu .sub-menu>li>a {
    display: block;
    padding: 8px 16px;
}

.head_menu .menu>li>a:hover, .head_menu .menu>li.current-menu-item>a, .head_menu .menu>li.current-menu-parent>a {
    font-weight: bold;
}

.head_menu .sub-menu>li>a:hover, .head_menu .sub-menu>li.current-menu-item>a, .head_menu .sub-menu>li.current-menu-parent>a {
    color: white;
    background-color: #704D3E;
}

.head_menu .menu>li:hover .sub-menu {
    display: block;
}

/*Header Fixed*/
#header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999999;
    background-color: #704D3E;
    display: none;
    width: 100%;
    align-items: center;
    justify-content: center;
}

#header-fixed.show {
    display: flex;
}

/*Mobile Header*/
#header-mobile {
    display: none;
}

#header-mobile .logo {
    height: 50px;
    width: auto;
}

#header-mobile>.text {
    position: fixed;
    left: 0;
    right: 0;
    width: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    border-bottom: 2px solid #704D3E;
    background-color: white;
}

#header-mobile .left {
    padding: 4px 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

#header-mobile .right {
}

.head_menu_mobile .button .fa {
    padding: 8px;
    font-size: 30px;
    color: #704D3E;
    cursor: pointer;
}

.head_menu_mobile .button .fa-times {
    display: none;
}

.head_menu_mobile .button .fa-bars {
    display: block;
}

.head_menu_mobile .button.open .fa-times {
    display: block;
}

.head_menu_mobile .button.open .fa-bars {
    display: none;
}

.head_menu_mobile .content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background-color: white;
    max-height: calc(100vh - 100px);
    overflow: auto;
    border-top: 1px solid #704D3E;
    border-bottom: 1px solid #704D3E;
}

.head_menu_mobile .fa {
    margin-right: 0.5em;
}

.head_menu_mobile .menu {
    list-style: none;
    padding: 0;
    font-weight: bold;
    margin: 0;
}

.head_menu_mobile .menu>li {
    margin: 0;
    padding: 0;
}

.head_menu_mobile .menu>li>a {
    padding: 8px;
    display: block;
    cursor: pointer;
}

.head_menu_mobile .sub-menu {
    display: none;
    list-style: none;
    padding: 0;
}

.head_menu_mobile .sub-menu>li {
    margin: 0;
    padding: 0;
}

.head_menu_mobile .sub-menu>li>a {
    padding: 8px 28px;
    display: block;
    font-weight: normal;
}

.head_menu_mobile a:hover, .head_menu_mobile .current-menu-item>a, .head_menu_mobile .current-menu-parent>a {
    color: #704D3E;
}

/*Blog*/
.bi_post {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.bi_post .meta {
    margin-bottom: 8px;
    font-style: italic;
}

.bi_post>.left {
    flex-basis: 300px;
    flex-grow: 1;
    text-align: center;
    padding: 16px;
}

.bi_post>.right {
    flex-basis: 600px;
    flex-grow: 999;
}

.bi_blog_nav {
    text-align: center;
}

.bi_blog_nav i {
    padding: 8px;
    font-size: 1.25em;
    background-color: #704D3E;
    color: white;
    border-radius: 100%;
    width: 1.75em;
    text-align: center;
    margin: 8px;
}

/*Footer*/
#footer {
    padding: 80px 16px;
    text-align: center;
    position: relative;
}

#footer img {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#footer h2 {
    margin-top: 0px;
    font-size: 2em;
}

#footer .contact {
    color: #704D3E;
    padding: 16px;
    background-color: rgba(255,255,255,0.7);
    border-radius: 16px;
    margin: 4px;
    position: relative;
    z-index: 3;
    display: inline-block;
}

#footer .contact:before {
    content: '';
    z-index: 21;
    position: absolute;
    left: -5px;
    right: -5px;
    bottom: -5px;
    top: -5px;
    width: auto;
    height: auto;
    border: 1px solid #704D3E;
    border-radius: 16px;
    pointer-events: none;
}

#footer .contact a {
    text-align: left;
    display: block;
}

#footer i {
    margin-right: 0.5em;
}

/*Floating Footer*/
#floating-footer {
    display: none;
}

#floating-footer .text {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    z-index: 20;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    background-color: #704D3E;
}

#floating-footer i {
    margin-right: 0.5em;
}

#floating-footer .text {
    border-top: 2px solid #704D3E;
}

#floating-footer .text a {
    padding: 8px;
    border: 1px solid white;
    flex-grow: 1;
    text-align: center;
}

/*Gravity Forms*/
#content-wrapper .gfield_required {
    display: none;
}

#content-wrapper .gform_wrapper textarea, #content-wrapper .gform_wrapper input {
    width: 100%;
    border-radius: 8px;
    border-style: solid;
    border-width: 0px;
}

#content-wrapper .gform_wrapper label.gfield_label {
    font-weight: normal;
}

#content-wrapper .gform_wrapper input[type='submit'] {
    font-family : "Nickainley";
    color: #704D3E;
    background-color: white;
    border: 2px solid #704D3E;
    padding: 2px 16px;
    font-size: 20px;
    margin: auto;
    width: auto;
    display: block;
}

#content-wrapper .gform_wrapper {
    font-family: "Museo";
}

@media all and (max-width: 991px) {
    #header, #header-fixed.show {
        display:none;
    }

    #header-mobile {
        display: block;
    }

    .bi_layout.image_block .block {
        height: 300px;
    }
}

@media all and (max-width: 768px) {
    #floating-footer {
        display: block;
    }

    .bi_layout.image_block .block {
        height: 200px;
    }
}
