/* CONTENT: */

.content-wraper {
    width: 100%;
    position: relative;
}
.regions {
    margin: 0 auto;
    content: '';
    left: 0;
    right: 0;
    top: 0;
    background: linear-gradient(to right, #e0081d 55%, rgba(224,8,29,0) 86%);
}
.regions-bg {
    background-image: url(../images/srsa-br.jpg);
    background-position: top;
    background-size: cover;
    height: 400;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    z-index: -1;
}
.regions-content {
    height: 400px;
    /* background-color: #fff;*/
    max-width: 1600px;
    margin: auto;
}



/* PAGE INFO */
.race-container{
    padding-top: 50px;
}
.race-logo{
    width: 200px;
    margin-left: 75px;
    border-radius: 5px;
    box-shadow: 0 1px 1px 0 rgb(105, 102, 102), 0 1px 50px 0 rgb(33, 32, 32);
    float: left;
    margin-right: 40px;
    height: 300px;
    background-color: white;
}
.race-info-container{
    color: #ffffff;
    float: left;
    display: grid;
}
.countdown-time, .countdown-colon{
    font-size: 70px;
    text-shadow: 1px 1px 1px #000;
}
.countdown-colon{
    float: left;
    margin-left: 20px;
    margin-right: 20px;
}
.countdown div{
    float: left;
    display: grid;
    text-align: center;
}
.race-info-container h2{
    margin-bottom: 5px;
}
.countdown-details{
    color: #000;
    text-shadow: 0px 0px 1px #ccc;
}

.race-date{
    color: #000;
    text-shadow: 0px 0px 1px #ccc;
}
.race-info-container h2, .race-info-container h3{
    text-shadow: 1px 1px 1px #000;
} 



/* INFO */
.home-info{
    position: relative;
    left: 0;
    right: 0;
    /*height: 100%;*/
    background-color: #fff;
    color: #000;
    padding: 50px;
}
.home-info .chevron-red{
    color: rgb(199, 13, 13);
    font-size: 20px;
}
.home-info .label-detail{
    font-size: 20px;
}

.box-image-large{
    height: 390px;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 80px;
}
.box-image{
    height: 100%;
    width: 50%;
    float:right;
    transform: rotate(180deg);
    overflow: hidden;
}
.box-image .image{
    transform: rotate(180deg);
    background-image: url(../images/AZR-1.png);
    height: 100%;
    background-position: center;
    background-size: cover;
    
}
.box-image .team{
    background-image: url(../images/team-banner.jpeg);
}
.box-image .leagues{
    background-image: url(../images/banner-leagues.jpg);
}

.box-info{
    height: 100%;
    width: 53%;
    transform: rotate(180deg);
}

.box-info .info{
    height: 100%;
    transform: rotate(180deg);
    background: url(../images/bg-main-header.png) top center repeat;
    color: #fff;
    width: 100%;
}
.box-info  .info:before{
    bottom: 0;
    content: '';
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    background: -moz-linear-gradient(left, #2c2c2c 0%, rgba(44,44,44,0.01) 100%);
    background: -webkit-linear-gradient(left, #2c2c2c 0%, rgba(44,44,44,0.01) 100%);
    background: linear-gradient(to right, #2c2c2c 0%, rgba(44,44,44,0.01) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2c2c2c', endColorstr='#032c2c2c',GradientType=1 );
}

.box-info .info h3{
    position: relative;
    margin-top: 0px;
    top: 30;
    margin-right:50px;
    margin-left: 20px;
}
.box-info .info span, .box-info .info p{
    position: absolute;
    margin-top: 50px;
    margin-right: 50px;
    line-height: 1.5;
    margin-left: 20px;
}
.info-to-right{
    float: right;
    z-index: 3;
    position: relative;
}
.image-to-right{
    float: none;
    overflow: inherit;
    z-index: 2;
}
.box-info .read-more{
    color: #e0081d;
    right: 50px;
    bottom: 10px;
    position: absolute
}
.second-box{
    height: 250px;
}


/* For mobile phones: */
@media only screen and (max-width:1130px) {
    /*INFO SECTION*/
    .first-box{
        height: 400px;
    }
    .second-box{
        height: 300px;
    }
}

@media only screen and (max-width:870px) {

    /* RACE HEADER SECTION */

    .regions-content {
        height: 200px;
    }
    .regions-bg{
        top: -50;
        opacity: 0.8;
        height: 250px;
        width: 80%;
    }

    .regions {
        background: linear-gradient(to right, #fff 20%, rgba(224, 8, 8, 0.32) 200%);
    }

    .race-container{
        padding-top: 10px;
        position: absolute;
        width: 100%;
    }
    .race-logo{
        width: unset;
        height: 150px;
        margin-left: 15px;
        border-radius: 5px;
        margin-right: 10px;
        visibility: hidden;
        position: absolute;
    }
    .race-info-container{
        color: #000;
        float: none;
        text-align: center;
        max-width: fit-content;
        margin: auto;
        text-shadow: 1px 1px 1px #fff;
    }
    .race-info-container h2, .race-info-container h3{
        text-shadow: 1px 1px 1px #fff !important;
    }
    .countdown-time, .countdown-colon{
        font-size: 50px;
        text-shadow: 1px 1px 1px #fff;
    }
    .countdown-details{
        color: red;
        font-size: 12px;
        text-shadow: 1px 1px 1px #fff;
    }
    .countdown-colon{
        margin-left: 7px;
        margin-right: 7px;
    }
    h2{
        font-size: 35px;
        margin-bottom: 5px;
        margin-top: 5px;
        
    }
    h3{
        font-size: 25px;
        margin-bottom: 8px;
        margin-top: 0px;
    }
    .race-date{
        margin-top: 0px;
        font-size: 18;
        color: red;
        text-shadow: 1px 1px 1px #fff;
    }

    /*INFO SECTION*/
    .home-info{
        padding: 20px;
    }
    .box-image-large{
        height: 740px;
        width: 100%;
        margin-top: 20px;
        margin-bottom: 0px;
    }
    .box-info{
        height: 53%;
        width: 100%;
    }
    
    .box-info .info{
        position: fixed;
    }
    .box-info .info h3{
        position: relative;
    }
    .info-to-right .info{
        position: unset;
    }
    .box-image{
        height: 50%;
        width: 100%;
        margin-top: 290px;
    }
    .image-to-right{
        float: none;
        overflow: inherit;
        z-index: 2;
        padding-bottom: 235px;
        margin-top: unset;
    }
    .second-box{
        height: 500px;
    }
    
}

@media only screen and (max-width:420px) {
    /*INFO SECTION*/
    .first-box{
        height: 850px;
    }
    .second-box{
        height: 650px;
    }
    .third-box{
        height: 650px;
    }
    .first-box .box-image{
        margin-top: 370px;
    }
    .second-box .box-image{
        padding-bottom: 320px;
    }
}