#ofcom_coverage_mobile{
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 0px;
    margin-bottom: 0px;
    border-radius: 6px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

#ofcom_coverage_mobile form{
    width: 100%;
    max-width: 100%;
    text-align: center;
}

#ofcom_coverage_mobile form .flex{
    display:flex;
    justify-content: center;
}

#ofcom_coverage_mobile #oc-option{
    margin-top: 1rem;
    width: 100%;
    display: none;
}
#ofcom_coverage_mobile #oc-option.show{
    display: block;
    padding: 1rem;
    color: black;
    background: white;
    border: 2px solid var(--wp-g2-pomegrade);
    border-radius: 40px;
}

#ofcom_coverage_mobile input[type="text"]{
    border-radius: 40px;
    border: 2px solid var(--ast-global-color-0);
    padding: 1rem;
    text-align: center;
    color: #000;
    background: white;
    max-width: 100%;
    width: 300px;
}

#oc-result{
    max-height: 1px;
    margin-top: 2rem;
    width: 100%;
    transition: max-height 2.0s;
    z-index: 2;
}
#oc-result.grow{
    max-height: 1000px;
}

#ofcom_coverage_mobile h4{
    font-size: large;
}

#ofcom_coverage_mobile .fail{
    color: red;
}

#ofcom_coverage_mobile .poor{
    color: rgb(255, 72, 0);
}

#ofcom_coverage_mobile .moderate{
    color: rgb(163, 106, 0);
}

#ofcom_coverage_mobile .good{
    color: rgb(100, 128, 0);
}

#ofcom_coverage_mobile .success{
    color: green;
}

#ofcom_coverage_mobile .oc-value{
    font-weight: bold;
    font-size: x-large;
}

#ofcom_coverage_mobile .bold{
    font-weight: bold;
    font-size: large;
}

#ofcom_coverage_mobile .oc-title{
    font-size: medium;
}

#ofcom_coverage_mobile a.button{
    text-align:center;
}

#ofcom_coverage_mobile .oc-xxtitle{
    font-size: xx-large;
}

#ofcom_coverage_mobile .oc-card{
    margin-bottom: 0.2rem;
    border-radius: 6px;
    padding: 2rem;
    background-color: #d5d5d5;
}

#ofcom_coverage_mobile .oc-card.white{
    background-color: #fff;
}

#ofcom_coverage_mobile .oc-card.o2{
    background-color: #eee;

}

#ofcom_coverage_mobile .oc-card.vodafone{
    background-color: #eee;

}

#ofcom_coverage_mobile .oc-card.o2 a.button{
    background-color: #000166;
}

#ofcom_coverage_mobile .oc-card.vodafone a.button{
    background-color: #e60000;
}


#ofcom_coverage_mobile .button{
    border-radius: 40px;
    background-color: var(--wp-g2-pomegrade);
    color: white;
    transition: all .2s linear;

}

#ofcom_coverage_mobile #oc-postcode{
    margin-bottom: 1rem;
}

#ofcom_coverage_mobile .button:hover{
    background-color: var(--ast-global-color-1);
}

#ofcom_coverage_mobile .oc-cols{
    display:flex;
    flex-direction: column;
}

#ofcom_coverage_mobile .oc-col{
    display:flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 992px) {
    #ofcom_coverage_mobile .oc-cols{
        flex-direction: row;
    }
}



/* Animations */

.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1.9s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
 }

 .animated.two {
    -webkit-animation-duration: 1.3s;
    animation-duration: 1.6s;
 }
 .animated.three {
    -webkit-animation-duration: 1.6s;
    animation-duration: 1.3s;
 }
 .animated.four {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
 }
 @-webkit-keyframes roll-in {
    0% {
       -webkit-transform: translateY(-100%);
    }
    100% {
       -webkit-transform: translateY(0px);
    }
 }
 @keyframes roll-in {
    0% {
       transform: translateY(-100%);
    }
    100% {
       transform: translateY(0px);
    }  
 }
 .roll-in {
    -webkit-animation-name: roll-in;
    animation-name: roll-in;
 }