﻿.SubnavSearch{ margin-top:0px; }

#FeatureBoxHeading{
    border: 1px solid #f1b122;
    border-bottom: 0px;
    color: white;
    text-transform: uppercase;
    line-height: 1em;
    font-size: 20px;
    background: linear-gradient(to bottom, rgba(17,68,111,1) 0%,rgba(21,56,75,1) 100%);
}

@media screen and (max-width:1024px){
    #FeatureBoxHeading{
        border:0px;
        border-top: 1px solid #f1b122;
        box-shadow: 0px -60px 0px #1d619f;
    }
}

@media screen and (max-width:880px){
    #FeatureBoxHeading{
        font-size: 2.27vw;
    }
}

@media screen and (max-width:640px){
    #FeatureBoxHeading{
        font-size: 16px;
    }
}

#FeatureBoxHeading .COJpadding{
    padding-top:28px;
    padding-bottom:28px;
}

#FeatureBoxHeading .FeatureBoxHeading{
    margin:0px;
    max-width:800px;
}

#FeatureBox {
    color: black;
    background-color: #e6e6e6;
    border-width: 1px;
    border-style: solid;
    border-image-slice: 1;
    position: relative;
    border-image-source: linear-gradient(to bottom,#f1b122,transparent);
    overflow:hidden;
}

#FeatureBox .COJpadding{
    padding-top: 28px;
    padding-bottom: 28px;
}

@media screen and (max-width:640px){
    #FeatureBox .COJpadding{
        padding-bottom: 13px;
    }
}

@media screen and (max-width:320px){
    #FeatureBox .COJpadding{
        padding-bottom: 0px;
    }
}

#FeatureBox .FeatureBoxHeading {
    text-transform: uppercase;
    color: #FFF;
    line-height: 1.2em;
    font-size: 18px;
    padding-bottom: 1em;
    margin-left: 1vw;
    margin-bottom: 1.8em;
    border-bottom: 2px #F1B124 solid;
    width: 69%;
    min-width: 600px;
    display: inline-block;
}

#FeatureBox ul {
    display: block;
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-right: -40px;
}

@media screen and (max-width:350px){
    #FeatureBox ul{
        margin-right:0px; 
    }
}

#FeatureBox li {
    display: inline-block;
    width: calc(25% - 40px);
    margin-right: 40px;
    vertical-align: top;
    color: #FFF;
    position: relative;
}


@media screen and (max-width:640px){
    #FeatureBox li {
        width: calc(50% - 40px);
        margin-bottom:15px;
    }
}

@media screen and (max-width:350px){
    #FeatureBox li {
        width: calc(100%);
        margin-right:0px;
        margin-bottom:30px;
    }
}

#FeatureBox li .FeatureBoxTitle {
    max-width: 170px;
    min-height: 46px;
    font-family: proxima-nova-condensed;
    font-size: 20px;
    margin-bottom: .5em;
    color: black;
    font-weight: bold;
}

@media screen and (max-width:350px){
    #FeatureBox li .FeatureBoxTitle{
        min-height:auto;
    }
}

#FeatureBox li .FeatureBoxIcon {
    margin-bottom: .5em;
    height: 75px;
}

#FeatureBox li .FeatureBoxIcon IMG {
    vertical-align: middle;
	width: 60px;
}

#FeatureBox .FeatureBoxDesc {
    font-size: 15px;
    color: black;
    line-height: 1.2em;
}

#FeatureBox li a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 0;
    color: black;
}

/*Video Styles*/
.WelcomeVideo{
    position:absolute;
    width: 100%;
    height: 500px;
    top:0px;
    left:0px;
    /*Default background*/
    background-size:cover;
    background-position:top center;
    background-image:url(/App_Themes/Jud4/images/defaultBackground/defaultBackground.jpg);
    background-repeat:no-repeat;
}

@media screen and (max-width:1920px){
    .WelcomeVideo{
        width: 100%;
        height: 500px;
    }
}

@media screen and (max-width:1600px){
    .WelcomeVideo{
        height:31.25vw;
    }
}

@media screen and (max-width:640px){
    .WelcomeVideo{
        height:200px;
    }
}

.WelcomeVideo video{
    display:block;
    width:100%;
    height:100%;
    position:absolute;
    top:0px;
    left:0px;
}

.WelcomeVideo video[poster]{
    width:100%;
    object-fit:cover;
}

/*Video Spacer in the Header*/

.VideoSpacer{
    height:500px;
}

@media screen and (max-width:1600px){
    .VideoSpacer{
        height:31.25vw;
    }
}

@media screen and (max-width:640px){
    .VideoSpacer{
        height:200px;
    }
}

/*Bleed Overlays*/

.PageBackgroundBleedLeft{
    background: linear-gradient(to top,#0a1f34 0%,transparent 55%);
}

.PageBackgroundBleedRight{
    background: linear-gradient(to top,#0a1f34 0%,transparent 55%);
}

.pageBackgroundBleedMargins{
    display:none;
}