/*
Theme Name: AllYourBase
Author: Riafox
Description: A Starter Theme - Based off of blankslate 4.0
Version: 1.0.0
Text Domain: allyourbase
*/

/* Reset */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{font-size:100%;font:inherit;padding:0;border:0;margin:0;vertical-align:baseline;text-decoration: none;}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}.clear{clear:both}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}.screen-reader-text{clip:rect(1px, 1px, 1px, 1px);position:absolute !important}

/* Fonts */
body {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
    line-height: normal;
    color: #000000;
}
body #container {}
body > #wrapper > #container {
    margin-top: 140px;
	padding-left: 10%;
	padding-right: 10%;
	width: 80%;
}
em {
    font-style: italic;
}
p {
    font-size: 20px;
    padding: 10px 0;
    line-height: 24px;
}
img {
    max-width: 100%;
}
h1 {
    font-size: 48px;
    color: #000000;
    /* text-transform: uppercase; */
}
body.home h1 {
    font-size: 28px;
    padding: 10px 0;
}
h2 {
    font-size: 36px;
    /* text-transform: uppercase; */
    /* padding-bottom: 10px; */
}
h3 {
    font-size: 28px;
    padding: 10px 0;
}
h4 {
    font-size: 18px;
}
@media(max-width: 968px) {
    h1 {
        font-size: 32px;
    }
    h2 {
        font-size: 26px;
    }
    h3 {
        font-size: 22px;
    }
}
/* End Fonts */

/* Basic Structure */
#header, #container, #footer, #content{
    width: 100%;
    float: left;
}
ul.list li {
    margin-left: 20px;
    list-style-type: disc;
}
.row{
    width: 100%;
    clear: both;
    float: left;
}
.row.padding {
    padding: 50px 0;
}
.row.padding.no-bottom {
    padding-bottom: 0 !important;
}
.row.padding.no-top {
    padding-top: 0 !important;
}
.row.padding2x {
    padding: 100px 0;
}
.row.fullwidth img {
    width: 100%;
}
.row > img {
    display: block;
}
.row.darker-gray h1 {
    color: #fff;
}
.width-control{
    width: 100%;
    max-width: 1200px;
    margin: auto;
    position: relative;
}
.width-control.small{
    max-width: 600px;
}
.width-control.padding {
    width: calc(100% - 40px);
}
.center {
    text-align: center;
}
.darker-gray {
    background-color: #353535;
}
.dark-gray {
    background-color: #bcbcbc;
}
.light-gray {
    background-color: #e3e3e3;
}
.red {
    background-color: #ff0000;
}
.redtext {
    color: #ff0000 !important;
}
.bold {
    font-weight: bold;
}
.mobile-only {
    display: none;
}
.not-mobile {
    display: block;
}
/* End Basic Structure */

/* Header */
#header {
    position: fixed;
    z-index: 100;
    height: 140px;
    top: 0;
}
.admin-bar #header {
    top: 32px;
}
#branding {
    float: left;
    /*background: #ff0000;
    border: 3px solid #000;*/
    height: 60%;
    position: absolute;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}
#branding > a {
    display: flex;
    align-items: center;
    height: calc(100% - 20px);
    padding: 10px 0;
    position: relative;
}
#branding p {
    font-family: 'Dancing Script', cursive;
    font-size: 28px;
    font-weight: 900;
}
#branding .logo {
    height: 100%;
    padding: 0 10px;
}
/* #branding:before {
    content: '';
    position: absolute;
    top: 0;
    right: -40px;
    border-top: 60px solid transparent;
    border-left: 40px solid red;
    width: 0;
}
#branding:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -40px;
    border-bottom: 60px solid transparent;
    border-left: 40px solid red;
    width: 0;
} */
.header-right {
    float: right;
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
    flex-direction: column;
}
.utility-bar {
    height: 60%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    color: #000000;
    font-size: 36px;
    font-weight: bold;
    background: #ffffff;
    z-index: 99;
}
.utility-bar a {
    color: #000000;
    margin: 0 20px 0 0;
}
#nav {
    position: absolute;
    height: 40%;
    bottom: 0;
    width: 100%;
    background: #E3E3E3;
    text-align: right;
}
#nav * {
    height: 100%;
}
#nav .menu {
    display: flex;
}
#nav li {
    display: inline-block;
    flex-grow: 1;
    justify-content: center;
}
#nav li a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 22px;
    color: #000000;
    border-left: 1px solid #bcbcbc;
    border-right: 1px solid #bcbcbc;
}
#nav li a:hover {
    background-color: #bcbcbc;
}
#nav li:first-of-type a {
    border-left: 0;
}
#nav li:last-of-type a {
    border-right: 0;
}
#nav .sub-menu {
    display: none;
    background: #e3e3e3;
}
#nav .sub-menu li {
    width: 100%;
}
#nav li.menu-item-has-children:hover ul.sub-menu {
    display: block !important;
}
/* End Header */

/* Mobile Menu */
.nav-trigger{
    display: none;
    float: right;
    position: relative;
    background: #E3E3E3;
    opacity: 1 !important;
    top: 84px;
    padding: 16px 15px !important;
    z-index: 99;
}
.nav-trigger::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -40px;
    border-bottom: 60px solid transparent;
    border-right: 40px solid #E3E3E3;
    width: 0;
}
#nav-mobile{
    position: fixed !important;
    bottom: calc(100% - 80px);
    transition: transform 200ms;
    background: #000000;
    width: 100%;
    text-align: center;
    z-index: 50;
    padding: 20px 0;
}
.admin-bar #nav-mobile {
    bottom: calc(100% - 112px);
}
#nav-mobile.is-active {
    transform: translateY(100%);
}
#nav-mobile li a {
    padding: 10px;
    color: #ffffff;
    display: block;
}
@media(max-width: 1750px) and (min-width: 1200px) {
    #nav li a {
        font-size: 20px;
    }
}
@media(max-width: 1350px) and (min-width: 1200px) {
    #nav li a {
        font-size: 18px;
    }
}
@media(max-width: 1200px){
    body.home > #wrapper > #container {
        margin-top: 40px;
    }
    .nav-trigger{
        display: block;
        position: absolute;
        background: #000;
        right: 0;
    }
    .nav-trigger::after {
        border-right: 40px solid #000;
    }
    #nav{
        display: none;
    }
    .nav-trigger .hamburger-inner,
    .nav-trigger .hamburger-inner:after,
    .nav-trigger .hamburger-inner:before {
        background-color: #e3e3e3;
    }
    .utility-bar {
        box-shadow: 0px -4px 10px #000;
    }
}
@media(max-width: 968px) {
    body > #wrapper > #container {
        margin-top: 80px;
    }
    #header {
        height: 40px;
        box-shadow: 0px -4px 10px #000;
    }
    #header .utility-bar {
        box-shadow: 0;
    }
    #branding {
        height: 100%;
    }
    #branding .not-mobile {
        display: none;
    }
    #branding .mobile-only {
        display: block;
    }
    #branding p {
        font-size: 20px;
    }
    #branding > a {
        height: calc(100% - 8px);
    }
    /* #branding:before {
        border-top: 40px solid transparent;
        border-left: 40px solid red;
    }
    #branding:after {
        border-bottom: 40px solid transparent;
        border-left: 40px solid red;
    } */
    .header-right {
        height: 100% !important;
    }
    .utility-bar {
        font-size: 28px;
        height: 100%;
    }
    .nav-trigger {
        padding: 6px 10px !important;
        top: 40px;
    }
    .nav-trigger::after {
        border-bottom: 40px solid transparent;
        border-right: 40px solid #000;
    }
    .nav-trigger .hamburger-box {
        transform: scale(0.75);
    }
    #nav-mobile {
        bottom: calc(100% - 39px);
    }
    .admin-bar #nav-mobile {
        bottom: calc(100% - 72px);
    }
    #footer > div {
        flex-direction: column-reverse;
    }
    #footer .footer-social {
        margin-bottom: 20px;
    }
    #footer #copyright {
        text-align: center;
    }
    #footer .riafox {
        position: relative !important;
        left: initial !important;
        top: initial !important;
        transform: initial !important;
        margin-bottom: 20px;
    }
}
@media(max-width: 782px) {
    .admin-bar #nav-mobile {
        bottom: calc(100% - 86px);
    }
    #nav-mobile {
        padding: 50px 0 20px;
    }
    .mobile-only {
        display: block;
    }
    .not-mobile {
        display: none;
    }
}
@media(max-width: 565px) {
    #branding p {
        display: none !important;
    }
}
/* End Mobile Menu */

/* Footer */
#footer {
    background: #000000;
    color: #ffffff;
}
#footer > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#footer a {
    color: #ffffff;
}
#footer .footer-social a {
    font-size: 28px;
    margin-right: 20px;
    color: #ffffff;
}
#footer .footer-social a:last-of-type {
    margin-right: 0;
}
#footer .riafox {
    display: inline-block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
#footer .riafox a {
    padding-left: 27px;
    position: relative;
}
#footer .riafox a::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    background: url(/wp-content/themes/allyourbase/img/riafoxlogo-footerfoxhead100.png) center no-repeat / contain;
}
/* End Footer */

/* Home Page */
.flexslider {
    border: 0;
    margin-bottom: 0;
}
.flexslider .slides {
    overflow: hidden;
}

.flexslider .slides,
.flexslider .slides > li {
    margin: 0;
    padding: 0;
    list-style: none;
    display: -webkit-box!important;
    display: -moz-box!important;
    display: -ms-flexbox!important;
    display: -webkit-flex!important;
    display: flex!important;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}
.flexslider.fullscreen .slides {
    max-height: 100vh;
}
.flexslider.fullscreen .slides li center {
    width: 100%;
}
.flexslider:not(.fullscreen) .slides li {
    max-height: 700px;
    position: relative;
}
.flexslider .flex-direction-nav .flex-next {
    right: 10px;
}
.flexslider .flex-direction-nav .flex-prev {
    left: 10px;
}
.flexslider .flex-control-nav {
    bottom: 30px;
}
.flexslider .flex-control-nav li a {
    background: transparent;
    border: 2px solid #fff;
}
.flexslider .flex-control-nav li a.flex-active {
    background: #fff;
}
.dual-image {
    display: flex;
    justify-content: space-between;
}
.dual-image img {
    width: calc(50% - 10px);
    height: 100%;
}
.dual-image.thirds img:nth-of-type(1) {
    width: 72.5%;
}
.dual-image.thirds img:nth-of-type(2) {
    width: 25.2%;
    margin-left: 2%;
}
.dual-image.fourths {
    flex-wrap: wrap;
}
.dual-image.fourths img {
    width: calc(50% - 10px);
}
.dual-image.fourths img:nth-of-type(n+3) {
    margin-top: 20px;
}
.row.home-content .list-wrapper {
    max-width: 200px;
    margin: auto;
}
.row.home-content {
    text-align: center;
}
.row.home-content h3 {
    padding: 10px 0;
}
.row.home-content a {
    color: #000;
}
.trio-image img {
    max-height: 300px;
    flex-grow: 1;
    flex-shrink: 1;
    float: left;
}
.trio-image img.portrait {
    width: 19.2%;
}
.trio-image img:not(:last-of-type) {
    margin-right: 2%;
}
.trio-image img.landscape {
    width: 38.4%;
}
/* End Home Page */

/* About Page */
.dual-image-text {
    display: flex;
    align-items: center;
    text-align: left;
}
.dual-image-text .text {
    width: 50%;
}
.dual-image-text .image {
    width: 50%;
}
.team {
    margin: 40px 0;
}
.team::after {
    content: '';
    display: table;
    clear: both;
}
.team .team-card {
    display: block;
    float: left;
    width: calc((100% / 3) - 40px);
    margin: 0 20px 30px;
}
.team .team-card .details {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 15px 10px;
}
.team .team-card .details h4 {
    font-weight: bold;
}
.team .team-card .bio-bg {
    height: 400px;
    overflow: hidden;
    position: relative;
}
.team .team-card .bio-bg .bio {
    display: flex;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    text-align: left;
    align-items: center;
    justify-content: center;
    line-height: 24px;
    position: absolute;
    left: 0;
    top: 100%;
    transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
}
.team .team-card:hover .bio-bg .bio {
    top: 0;
}
.team .team-card .bio-bg .bio p {
	padding: 10px;
}
.group h2 {
    padding: 10px 0 20px;
}
/* End About Page */

/* Catalog Page */
.row.catalog .catalog-links {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}
.row.catalog .width-control {
    max-width: 900px;
}
/* End Catalog Page */

/* Contact Page */
input[type="submit"].gform_button {
    background: white;
    border: 0;
    padding: 10px 40px;
    transition: 0.2s;
    cursor: pointer;
    font-weight: bold;
}
input[type="submit"].gform_button:hover {
    background: #ff0000;
    color: #fff;
}
.row.darker-gray {
    color: white;
}
/* End Contact Page */

/* Online Store */
.post-type-archive.woocommerce-page .page-title,
.archive.woocommerce-page .page-title,
.woocommerce-checkout.woocommerce-page .entry-title,
.woocommerce-cart.woocommerce-page .entry-title {
    text-align: center;
    padding-bottom: 20px;
}
.post-type-archive.woocommerce-page ul.products li.product,
.archive.woocommerce-page ul.products li.product {
    width: 18.5%;
    margin: 0 1.5% 2.992em 0;
    text-align: center;
}
.post-type-archive.woocommerce-page ul.products li.product a,
.archive.woocommerce-page ul.products li.product a {
    color: #000000;
}
.post-type-archive.woocommerce-page ul.products li.product mark {
    background-color: transparent;
}
.woocommerce-page .product .interior-content {
    min-height: 80px;
}
.woocommerce div.product form.cart .variations select {
    padding: 8px 6px;
    margin-bottom: 6px;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
    padding: 8px 6px;
}
.woocommerce form .form-row.woocommerce-validated .select2-container,
.woocommerce form .form-row.woocommerce-validated input.input-text,
.woocommerce form .form-row.woocommerce-validated select {
    border-style: solid;
}
#gform_wrapper_1 {
    display: none;
}
.woocommerce td.product-name dl.variation dd,
.woocommerce td.product-name dl.variation dt {
    margin-bottom: 0 !important;
}
.woocommerce td.product-name dl.variation dd p {
    padding: 0 !important;
    line-height: normal;
}
.woocommerce-cart .cart_item .product-name a {
    color: #ff0000;
    font-weight: bold;
}
/** PRODUCT FORM **/
.variations_form.cart h1,
.variations_form.cart h2,
.variations_form.cart h3,
.variations_form.cart label {
	color: black !important;
}
#gform_fields_3 select,
#gform_fields_3 input {
	color: #777 !important;
}
#gform_fields_3 #field_3_20 {
	width:40%;
	float:left
}
.gfield{
    font-size: 16px;
}
.page-id-276 #gform_fields_3 input#input_3_7 {
    color: #000 !important;
}
.ginput_price{
    color: #000 !important;
}
.ginput_total{
    color: #000 !important;
}
.ui-datepicker-trigger{
    position: relative;
    top:-35px;
    right: -100px;
}
/** Shirt Info **/
.shirt-info {
   display: none;
}
.shirt-info img {
	border: 3px solid #000000;
	margin-right: 10px;
	float: left;
}
.shirt-info p {
	float: left;
	margin-top: 0px;
}
/** color handling **/
.color-swatch .color-thumb {
	width: 30px;
	height: 30px;
	cursor: pointer;
	float: left;
	margin: 3px;
	padding: 2px;
	border: 1px solid #000 !important;
}
.color-swatch .color-thumb div {
	width: 100%;
	height: 100%;
}
.color-swatch .color-thumb.active {
	border: 3px solid #000 !important;
}
/** form validation **/
.validation_error {
	color: rgb(230, 66, 137) !important;
}
.gfield_error, .gfield_error .ginput_container {
	color: #000000 !important;
}
/** Column fields **/
.qty-field, .three-col {
	width: 25%;
	float: left;
	clear: none !important;
}
.two-col {
	width: 50%;
	float: left;
	clear: none !important;
}
.cart_item p {
    font-size: initial;
}
/* End Online Store */

/* Layout Media Queries Mobile */
@media(max-width: 968px){
    .row.catalog .catalog-links {
        flex-direction: column;
    }
    .row.catalog .catalog-links a {
        margin: 20px 0;
    }
    .row .team .team-card {
        width: calc((100% / 2) - 40px);
    }
}
@media (max-width: 565px) {
    .row .team .team-card {
        width: calc(100% - 40px);
        max-width: 300px;
        float: none;
        margin: 0 auto 10px;
    }
}
/* End Layout Media Queries Mobile */


.woocommerce div.product div.images img {
	width: auto !important;
}