#ofcom_coverage{
    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 form{
    width: 100%;
    max-width: 100%;
    text-align: center;
}

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

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

#ofcom_coverage 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 h4{
    font-size: large;
}

#ofcom_coverage .fail{
    color: red;
}

#ofcom_coverage .success{
    color: green;
}

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

#ofcom_coverage .oc-title{
    font-size: large;
}

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

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

}

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

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

#ofcom_coverage .oc-cols{
    display:flex;
}

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


/* 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;
 }