/*
Theme Name:     Kleo Child
Theme URI:
Description:    Child theme for Kleo
Author:         SeventhQueen
Author URI:     http://seventhqueen.com
Template:       kleo
Tags:  one-column, two-columns, right-sidebar, fluid-layout, custom-menu, featured-images, post-formats, sticky-post, translation-ready
License: GNU General Public License
License URI: license.txt
*/

/*
* Please add your custom styles below
*/


/*****************
 *     GENERAL
 *****************/

.template-page .page-title {
    border-bottom: 2px solid #EE3130;
    display: inline-block;
}

.kleo-page {
    position: relative;
}

#main {
    padding-bottom: 50px;
}

body, h1, h2, h3, h4, h5, h6 {
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}

/*****************
 *     HEADER
 *****************/

.logo, .logo a {
    height: 93%;
}

.kleo-main-header .nav > li.active > a {
    box-shadow: none;
}

#header.header-color ul.navbar-nav > li.current_page_parent {
    border-bottom: 2px solid #EE3130;
}

/*****************
 *  CONTACT LIST
 *****************/

#contact_list {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}

.contact {
	width: 250px;
	margin: 20px;
}

.contact div:first-child p {
	color: #000;
	font-weight: 700;
}

.contact p {
	margin: 5px 0px;
}

/*****************
 *     HOME
 *****************/

/* CTA selectively rounded borders */
.vc_general.vc_cta3.vc_cta3-shape-rounded {
	border-radius: 15px;
}
.fp-cta-1.vc_general.vc_cta3.vc_cta3-shape-rounded {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}
.fp-cta-3.vc_general.vc_cta3.vc_cta3-shape-rounded {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

#hp_our_sponsors {
    text-align: center;
    margin-top: 50px;
}

#hp_tire_rack {
    display: block;
    margin: 0 auto 20px;
}

.tabs {
  position: relative;
  min-height: 240px; /* This part sucks */
  clear: both;
  margin: 60px 0 50px;
}
.tab {
  float: left;
}
.tab label {
  background: #eee;
  padding: 10px;
  border: 1px solid #ccc;
  margin-left: -1px;
  position: relative;
  left: 1px;
  display: initial;
}
.tab [type="radio"] {
  display: none;
}
.content {
    position: absolute;
    top: 28px;
    left: 0;
    background: white;
    right: 0;
    bottom: 0;
    padding: 20px;
    border: 1px solid #ccc;
    overflow: scroll;
    word-wrap: break-word;
}
/*
.content > * {
  opacity: 0;
  transform: translateX(-100%);
  transition: all 0.6s ease;
}
*/
[type="radio"]:checked ~ label {
  background: white;
  border-bottom: 1px solid white;
  z-index: 2;
}
[type="radio"]:checked ~ label ~ .content {
  z-index: 1;
}
/*
[type="radio"]:checked ~ label ~ .content > * {
  opacity: 1;
  transform: translateX(0);
}
*/


/*****************
 *     FOOTER
 *****************/

#footer .widget-title {
    display: inline-block;
    border-bottom: 1px solid #fff;
}

#footer .col-sm-3:last-child {
    display: none;
    visibility: hidden;
}
#footer .col-sm-3 {
    width: 33%
}

#footer {
    padding-top: 5px;
}

.footer-top {
    position: absolute;
    width: 90%;
    margin: 0 calc(50% - 585px);
    z-index: 2;
    max-width: 1170px;
    color: #fff;
    bottom: 325px;
}

.footer-top .footer-box-content {
    padding-left: 10px;
}

footer-top [class*="col"] {
    background: #2f2f2f;
    display: flex;
    justify-content: center;
    padding: 20px 0;
    position: relative;
}

.footer-top [class*="col"]:nth-child(1) {
    background: #2f2f2f;
}

.footer-top [class*="col"]:nth-child(2) {
    background-color: #303967;
}

.footer-top [class*="col"]:nth-child(3) {
    background: #EE3130;
/*    #ee3131*/
}

.footer-top [class*="col"]:nth-child(1) .angle-shap {
    border-left-color: #2f2f2f;
}

.footer-top [class*="col"]:nth-child(2) .angle-shap {
    border-left-color: #303967;
}

.footer-top .footer-box .angle-shap {
    position: absolute;
    top: 0;
    right: -50px;
    border-style: solid;
    border-color: transparent transparent transparent #d20022;
    border-left-color: rgb(210, 0, 34);
    border-width: 41px 0 50px 50px;
    z-index: 1;
}

.footer-top [class*="col"] {
    background: #2f2f2f;
    display: flex;
    justify-content: center;
    position: relative;
}

#footer ul.link-list li {
    float: none;
}

#footer-sidebar-1 p {
    max-width: 300px;
}

.col-md-4.footer-box i {
    font-size: 50px;
    line-height: 89px;
}

.footer-box-content h3 {
    line-height: 20px;
    font-size: 18px;
    margin-bottom: 8px
}

.footer-box-content h3 a {
    color: #fff;
}


/*****************
 *     
 *
 *     HOME
 *
 *****************/

.home #main {
    padding-bottom: 0px;
}

.home #main-container {
    max-width: 100%;
    padding: 0px 0px 31px 0px;
}

.home #main .template-page {
    padding-top: 0px;
}

#how_to_race_hd {
    text-align: center;
}

#twenty_anniv, #how_to_race {
    max-width: 1170px;
}

.home #how_to_race, #become_racer {
    margin: 0 auto;
}

.home #twenty_anniv {
    margin: 20px auto;
}

#how_to_race {
    margin: 0px 0px 30px 0px;
    display: flex;
}

#how_to_race .col-md-4 a {
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
}

#how_to_race, #main #how_to_race h3 {
    color: #fff;
    text-align: center;
}


#how_to_race .col-md-4 {
    padding: 30px;
    position: relative;
}

#first_box, #third_box {
    background-color: #d20022;
}

#first_box {
    border-radius: 3px 0px 0px 3px;
}

#third_box {
    border-radius: 0px 3px 3px 0px;
}

#second_box {
    background-color: darkblue;
    margin: -20px 0px -20px 0px;
    border-radius: 3px;
}

.icon_container {
    position: absolute;
    color: rgba(255,255,255,.4);
    border-color: rgba(255,255,255,.4);
    bottom: -12px;
    left: 26px;
}

.icon_container i {
    font-size: 100px;
}

#twenty_anniv, #bmwcca_links {
    display: flex;
    background-color: #f7f7f7;
    margin: 20px 0px;
    text-align: center;
}

#twenty_anni_img, #twenty_anni_copy, #link_logo, #link_copy {
    width: calc(100% - 20px);
    margin: 0 auto;
}

#twenty_anni_img {
    background: url(http://prodclubrace.wpengine.com/wp-content/uploads/2020/01/DSC40460_edit2.jpg);
    margin: 10px;
    height: 300px;
}

#twenty_anniv > #twenty_anni_img > h1 {
    color: transparent;
    background-color: rgba(0,0,0,0.6);
    margin: 0px;
    display: inline-block;
    height: 100%;
    width: 100%;
    padding: 10px;
    font-size: 250px;
    line-height: 250px;
    font-weight: 700;
}

#twenty_anniv > #twenty_anni_img > h1 span { 
    background: url(http://prodclubrace.wpengine.com/wp-content/uploads/2020/01/DSC40460_edit2.jpg) -10px -10px no-repeat;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    display:block;
}

#twenty_anni_copy, #link_copy {
    padding: 30px;
}

#twenty_anni_copy i, #link_copy i {
    margin-right: 16px;
    background-color: red;
    padding: 11px 12px;
    color: #fff;
}

#link_logo {
    position: relative;
}
#link_logo_img {
    background: url("/wp-content/uploads/2020/01/BMW_CCA_MapLogo_2.jpg");
    background-size: contain;
/*    background-color: rgba(0,0,0,0.6);*/
    background-blend-mode: multiply;
    background-repeat: no-repeat;
    margin: 10px;
    padding: 15%;
    background-position-x: 36%;
    
}

#link_copy i {
    background-color: blue;
}

.owl-stage-outer {
    margin: 20px 0px;
    overflow: visible;
    background: url('/wp-content/uploads/2020/01/DSC30830-scaled.jpg');
    background-blend-mode: multiply;
    background-color: rgba(0,0,0,0.6);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 150px;
    max-height: 300px;
}

.owl-stage {
    display: flex;
    position: relative;
    bottom: -100px;
    max-width: 1110px;
    margin: 0px;
    width: 100%;
}

.owl-item {
    margin-right: 30px;
    width: 350px;
}

.owl-item:last-child {
    margin-right: 0px;
}

.service-content {
    position: relative;
    background: #f7f7f7;
    padding: 0 30px 30px;
    transition: all 0.3s;
}

.ts-service-wrapper:hover .service-content {
    background: #fff;
    box-shadow: 0 10px 15px 0 rgba(0,0,0,.06);
}

.service-content .service-icon {
    position: absolute;
    right: 30px;
    top: -30px;
    width: 55px;
    height: 55px;
    text-align: center;
    line-height: 55px;
    background: #ee3131;
    background-color: rgb(238, 49, 49);
    border-radius: 3px;
    font-size: 28px;
    color: #fff;
    box-shadow: 0 5px 10px 0 rgba(0,0,0,.15);
}


#become_racer {
    max-width: 1110px;
    margin: 60px auto 20px;
}
.working-box-wrapper {
    counter-reset: working-number;
    margin: 0;
}

.working-box-wrapper .working-content-wrapper .workig-icon::after {
    counter-increment: working-number;
    content: counter(working-number);
    position: absolute;
    right: 40px;
    top: 25px;
    font-size: 80px;
    font-family: dosis;
    font-weight: 600;
    color: #444;
}


.working-box-wrapper .col-md-4:nth-child(2) .workig-icon::after {
    color: #d71a39;
}

.working-box-wrapper .col-md-4:last-child .workig-icon::after {
    color: #f04646;
}

.working-single-box {
    text-align: left;
}

.working-box-wrapper .working-single-box {
    background: #2f2f2f;
    position: relative;
    min-height: 250px;
    display: table;
    width: 100%;
    min-height: 100%;
}

.working-box-wrapper .working-single-box .working-right-shape {
    position: absolute;
    right: -43px;
    top: 0;
    border-style: solid;
    border-width: 125px 0 125px 60px;
    border-color: transparent #2f2f2f transparent #2f2f2f;
    z-index: 1;
}

.working-box-wrapper .working-single-box .working-left-shape {
    position: absolute;
    left: 0;
    top: 0;
    border-style: solid;
    border-width: 125px 0 125px 70px;
    border-color: #2f2f2f #2f2f2f #2f2f2f #fff;
}

.working-box-wrapper .working-single-box.bg-red {
    background: #d20022;
}

.working-box-wrapper .working-single-box.bg-red .working-right-shape {
    border-color: transparent #d20022 transparent #d20022;
}

.working-box-wrapper .working-single-box.bg-red .working-left-shape {
    border-color: #d20022 #d20022 #d20022 transparent;
}

.working-box-wrapper .working-single-box.bg-red-light {
    background: #ee3131;
}

.working-box-wrapper .working-single-box.bg-red-light .working-right-shape {
    border-color: transparent #ee3131 transparent #ee3131;
    right: -51px;
    border-width: 125px 0 125px 51px;
}


.working-box-wrapper .working-content-wrapper {
    padding-left: 100px;
    padding-top: 25px;
    vertical-align: middle;
    display: table-cell;
    height: 250px;
    padding-right: 20px;
}

.working-box-wrapper .working-content-wrapper .workig-icon {
    font-size: 76px;
    color: #fff;
    position: relative;
    display: block;
    margin-bottom: 20px;
}

#main .working-box-wrapper .working-content-wrapper .working-content h3 {
    color: 
    #fff;
    margin-bottom: 22px;
    font-size: 24px;
}

.working-box-wrapper .working-content-wrapper .working-content p {
    color: 
    #fff;
}

.working-box-wrapper [class*="col"] {
    padding: 0;
    margin-left: -17px;
}

.working-box-wrapper [class*="col"]:last-child {
    padding-right: 0;
}

/*************************
 *     RACE RESULTS
 *************************/

tr.border_bottom th {
  border-bottom:1pt solid black;
}


@media only screen and (min-width: 1110px) {
    
    .owl-stage {
        margin: 0px calc(50% - 555px)
    }
    
}


@media only screen and (max-width: 1170px) {
    .footer-top {
        position: relative;
        width: 85%;
        margin: 0 auto;
        z-index: 2;
        color: #fff;
        bottom: 0px;
        min-width: 280px;
        margin-bottom: 20px;
  }
    .footer-top [class*="col"] {
        
    }
    
    .home #main .template-page {
        padding-bottom: 0px
    }
    
    .footer-top .footer-box .angle-shap {
        position: relative;
        display: none;
        visibility: hidden;
        opacity: 0;
    }
    .col-md-4.footer-box i {
        font-size: 25px;
        line-height: 70px;
    }
    
    .content h2 {
        font-size: 26px;
        line-height: 29px;
    }
}

@media only screen and (max-width: 992px) { 
    .working-box-wrapper .child_1 .working-left-shape {
        border-color: #2f2f2f;
    }
    
    .working-box-wrapper .working-content-wrapper .workig-icon, .working-box-wrapper .working-content-wrapper .workig-icon::after {
        font-size: 40px;
    }
    .working-box-wrapper .working-content-wrapper {
        height: 180px;
    }
    
    #main .working-box-wrapper .working-single-box .working-right-shape {
        border-width: initial;
    }
    
    #main .working-box-wrapper .working-single-box .working-left-shape {
        border-color: transparent;
    }
    
    .working-box-wrapper [class*="col"] {
        margin-left: 0px;
    }
    
    .service-content .service-icon {
        font-size: 19px;
        width: 44px;
        height: 44px;
        line-height: 44px;
        right: 21px;
        top: -21px;
    }
}

@media only screen and (max-width: 768px) { 
	.vc_general.vc_cta3.vc_cta3-shape-rounded {
		border-radius:15px
	}
    .fp-cta-1.vc_general.vc_cta3.vc_cta3-shape-rounded, .fp-cta-3.vc_general.vc_cta3.vc_cta3-shape-rounded {
		border-radius:15px;
	}
	.fp-cta-2.vc_general.vc_cta3.vc_cta3-shape-rounded, .fp-cta-3.vc_general.vc_cta3.vc_cta3-shape-rounded {
		border-top-left-radius:0;
		border-top-right-radius:0;
	}
	
	table {
        overflow: hidden;
        max-width: 100%;
        display: block;
        -ms-overflow-style: -ms-autohiding-scrollbar;
    }
    
    table:hover {
        overflow: scroll;
    }
    
    #footer .col-sm-3 {
        width: 33%;
        float: left;
    }
    
    #twenty_anniv, #bmwcca_links {
        display: block;
    }
    
    #twenty_anniv > #twenty_anni_img > h1 {
        font-size: 200px;
        line-height: 266px;
    }
    
    #twenty_anni_img {
        width: calc(100% - 70px);
        margin: 0px auto;
    }
    #twenty_anniv {
        padding-top: 10px;
    }
    #link_logo_img {
        background-position-x: 50%;
    }
    
    .owl-stage {
        display: block;
    }
    .owl-stage-outer {
        max-height: initial;
    }
    .owl-item, .owl-item:last-child {
        margin: 20px auto;
    }
    
    #bmwcca_links {
        padding-bottom: 10px;
    }
    
}

@media only screen and (max-width: 600px) {
    #how_to_race {
        display: initial;
    }
    
    #second_box {
        margin: 0px 0px 0px 0px;
    }
    
    #how_to_race .col-md-4 {
        margin-bottom: 30px;
        border-radius: 3px;
    }
    
    .working-box-wrapper .working-content-wrapper {
        padding-left: 30px;
        height: 165px;
    }
}


@media only screen and (max-width: 400px) { 
    .tab label {
        font-size: 12px;
        padding: 10px 3px;
    }
    
    .content h2 {
        font-size: 14px;
        line-height: 16px;
    }
    
    #twenty_anniv > #twenty_anni_img > h1 {
        font-size: 150px;
        line-height: 180px;
    }
    
    #twenty_anni_img {
        height: 200px;
    }
    
    #footer .col-sm-3 {
        width: 100%;
        float: none;
    }
    
}




/*
nav .navbar-nav {
    font-size:18px;
}

#newsletter-search input {
    color: #777777;
    height: 30px;
    padding: 4px 30px 4px 9px!important;
    border-radius: 2px;
    border-style: solid;
    border-width: 1px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    text-indent: .01px;
    text-overflow: "";
}

#newsletter-search label {
    color: #1f1f1f;
    margin-top: 10px;
}

#newsletter-search input, #newsletter-search select {max-width: 100%;display: block} 

#newsletter-search .form-submit {
    background-color: #e5e5e5;
    height: 30px;
    padding: 4px 9px 4px 9px!important;
    border-radius: 2px;
    border-style: solid;
    border-width: 1px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    margin-top: 35px;
}

#newsletter-archive .file-icon {padding-right: 5px}

#newsletter-archive p {margin: .5em 0}

#newsletter-pagination {text-align: center;}*/
