* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Fira Sans', sans-serif;
}
body {
    display: flex;
    flex-direction: column;
    align-items: center;
}
header {
    display: flex;
    flex-direction: column;
    text-align: center;
    width:100%;
}
.logo-img {
    max-width: 8rem;
    margin: 0.5rem;
}
#hero {
    background-color: #323c7a;
    color: white;
}
#hero h1 {
    font-weight: 400;
    margin: 1rem auto;
    max-width: 800px;
}
#hero h3 {
    font-weight: 400;
    margin: 1rem;

}
#hero a {
    display: inline-block;
    background-color: #ffcc00;
    color: black;
    text-decoration: none;
    padding: 0.75rem 0.75rem;
    border-radius: 5px;
    transition: 0.5ms;
    margin: 10px 0;
}
#hero a:hover {
    background-color: #ffd738;
    transition: 0.5ms
}
#background {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    /* For sites that have a background image */
    background: linear-gradient(rgba(125,125,125,.7), rgba(125,125,125,.7)), url("../img/NIA-background.jpg") no-repeat;
    background-size: cover;
}
main {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    max-width: 62.5rem;
    border-radius: 5px;
    opacity: 100%;
}
#info {
    padding: 1rem;
    background-color: white;
    margin: .5rem;
    border-radius: 5px;
    max-width: 600px;
}
.product-img {
    width: 100%;
    border-radius: 5px;
}
#info h2 {
    text-align: center;
    margin: .5rem 0;
}
#info p {
    text-align: left;
    margin: .5rem 0;
}
#info li {
    margin-left: 2rem;
}
#info a {
    display: block;
    background-color: #ffcc00;
    color: black;
    text-decoration: none;
    padding: 0.75rem 0.75rem;
    border-radius: 5px;
    transition: 0.5ms;
    margin: auto;
    width: 240px;
    border: black solid 1px;
}
#info a:hover {
    background-color: #ffd738;
    transition: 0.5ms
}
#form {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5px;
    padding: .5rem;
    background-color: white;
    margin: .5rem;
    max-width: 600px;
}
#form h2 {
    font-size: 1.2rem;
    text-align: center;
    margin: 0 0 .5rem 0;
}
#form h4 {font-size: 17px;
line-height: 22px;
letter-spacing: 0.5px;
color: black;
font-weight: 500;
margin: 0.6em 0 0 0;
}
form {
    padding: .5rem;
}
hr {
    background-color: lightgrey;
    margin: .5rem 0;
}
#form h4 {
    font-size: 17px;
    line-height: 22px;
    letter-spacing: 0.5px;
    color: black;
    font-weight: 500;
    margin: 0.6em 0 0 0;
}
.text-label {
    font-size: 17px;
    color: black;
    font-weight: 500;
    margin: 0.6em 0 0 0;
}
input{
    margin: .5rem 0;
    padding: 0.75rem 0.5rem;
    display: block;
    text-align: left;
    border-radius: 5px;
    border: 1px solid navy;
    font-size: large;
    width: 100%;
    /* -webkit-appearance: none; */
}
textarea.frmField {
    width: 100%;
    height: 100px;
    letter-spacing: 0.5px;
    padding: 0.5rem 0.5rem;
    font-family: 'Roboto', sans-serif;
    font-size: large;
    border-radius: 5px;
}
#phoneDisplay {
    border: 0.5px solid black;
}

input[type="date"] {
    -webkit-appearance: none;
}
/* Added 04-10 */
.radio-horizontal {
    display: flex;
    align-items: center;
}
.radio-option {
    display: flex;
    align-items: center;
    margin-right: 1em;
}
input[type="radio"] {
    margin: 0.3em 0.5em 0.3em 0.5em;
    width: 25px;
    height: 25px;
    border: 2px solid #444;
    border-radius: 50%;
}
.input-hide {
    display: none;
}
.radio-vertical{
    display:flex;
    flex-direction:column;
    vertical-align:middle;
}
select {
    border: 1px solid navy;
    border-radius: 5px;
    color: navy;
    margin: 1rem 0;
    padding: 0.75rem 0.5rem;
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    width: 100%;
    font-size: large;
    -webkit-appearance: none;
}
input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0 0;
}
#tcpa-text {
    width: 100%;
    font-size: .75rem;
    color: slategray;
    margin: .5rem 0;
    font-weight: 300;
    float: right;
}
#tcpa-check {
    margin: 0 0.4rem 0 0;
    float: left;
}
#form button {
    background-color: rgb(0, 128, 0);
    color: #fff;
    border: none;
    padding: 0.7rem;
    border-radius: 5px;
    font-size: 1.4rem;
    align-items: center;
    width: 100%;
    margin-top: .5rem;
}
#form button:hover {
    background-color: rgb(2, 169, 2);
    cursor: pointer;
    transition: 0.3s;
}

/* Footer */
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width:100%;
    text-align: center;
    background-color: #323c7a;
    color: #fff;
    margin-top: auto;
    padding: 1rem 1rem;
    font-weight: 600;
}
.no-sell {
    margin-bottom: 1rem;
}
.no-sell > a {
	color: dodgerblue;
	border-bottom: 1px solid dodgerblue;
    text-decoration: none;
    font-size: 17px;
}
#links > a {
    text-decoration: none;
    color: #fff;
    font-size: .8rem;
    padding: .5rem 0;
}
#company > p {
    font-size: .8rem;
    padding: .5rem 0;
    color: #fff;
}
.container > .ftr-txt1 > a {
    color: white;
}

.ftr-text1 > a {
    color: white;
}

/* Just added */

#mob-hide {
    display: none;
}

@media only screen and (min-width: 769px) {
/* Validation Styles */
input.valid {
    border-color: #36cc36;
}
input.invalid {
    border-color: red;
}
input + p {
    font-size: 0.9em;
    font-weight: bold;
    text-align: center;
    margin: 0 10px;
    color: red;
    opacity: 0;
    height: 0;
}
input.invalid + p {
    opacity: 1;
    height: auto;
    margin-bottom: 20px;
}
}

@media screen and (min-width: 820px){
    main {
        flex-direction: row;
        max-width: 90vw;
    }
    .dt-hide {
        display: none;
    }
    #info {
        width: 45vw;
    }
    #form {
        width: 45vw;
    }
}

@media screen and (min-width: 320px) and (max-width: 819px){
    main {
        align-items: center;
        padding: .5rem .5rem;
    }
}


/* TY */



 /* #ty-hero {
    float: left;
    width: 100%;
    background: url(../img/)no-repeat center top #323c79;
    padding: 30px 0 240px;
} 


.ty-hero-txt {
    width: 100%;
    font-size: 40px;
    line-height: 44px;
    letter-spacing: .5px;
    color: #fffbce;
    font-weight: 700;
}  */

#ty-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
}

#ty-header {
    display: flex;
    flex-direction: column;
    text-align: center;
    width:100%;
}

#ty-img-left-m {
    display: none;
}

#ty-hero {
    background-color: #323c7a;
    color: white;
    height: 425px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#ty-hero h1{
    font-weight: 500;
    font-size: 44px;
    margin: 2rem 0 0.5rem 0;
    color: #fffbce;
    font-family: 'Roboto', sans-serif;
    max-width: 600px;
}

#ty-hero h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

#ty-hero a {
    display: inline-block;
    background-color: #e0ac00;
    color: black;
    text-decoration: none;
    padding: 0.75rem 0.75rem;
    border-radius: 5px;
    transition: 0.5ms;
    margin: 10px 0;
}

#ty-hero a:hover {
    background-color: #ffce2c;
    transition: 0.5ms
}

#ty-background {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    /* For sites that have a background image */
    /* background: linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)), url("../images/apap-lg.jpg") no-repeat; */
    background: grey;
}

#ty-main {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    width: 750px;
    margin-top: -125px;
    border-radius: 5px;
    opacity: 100%;
    background: #fff;
    /* border: 1px dashed black; */
    box-shadow: 0 2px 9px 1px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

#ty-hero {
    margin: auto;
    width: 100%;
}

#ty-img-left {
    height: 425px;
    border-radius: 5px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

#ty-right {
    display: flex;
    flex-direction: column;
    align-self: center;
    /* align-items: center; */
    /* justify-content: center; */
    margin: 2rem 0.5rem;
}

#ty-txt {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    padding: 20px 10px 20px 20px;
    width: 100%;
    font-size: 17px;
    color: #2c2c2c;
    line-height: 24px;
}

#phone-strip {
    background: #5a68c1;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    text-align: left;
    align-items: center;
    width: 750px;
    margin: 10px 0px 10px 0px;
    padding: 20px 0px 5px 3px;
    justify-content: center;
    border-radius: 5px;
    box-shadow: 0 2px 9px 1px rgba(0,0,0,0.1);
}

#phone-strip p {
    font-size: 17px;
    line-height: 25px;
    text-align: left;
    margin: -55px 20px 4px 130px;
}

#phone-strip a {
    width: 300px;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
}

#phone-strip img {
    margin: 0px 615px -40px 0px;
}


/* Footer Content */

#ty-footer {
    width: 100%;
    padding: 20px 0;
    display: flex;
    flex-direction: row;
    background-color: #323c7a;
    justify-content: space-around;
    text-align: center;
    border-top: 1px solid #ddd;
}

p.ftr-txt1 {
    width: 100%;
    font-size: small;
    /* font-weight: 400; */
    line-height: 26px;
    letter-spacing: 0.5px;
    color: white;
    margin: 5px 0;
}

p.ftr-txt1 a {
    color: #fff;
    padding: 0 3px;
}

a:visited {
    text-decoration: none;
}




/*********** Media Queries ***********/
@media only screen and (max-width:819px){
#ty-main {
    flex-direction: column;
    width: 95%;
    margin: -120px 0px 0px 0px;
}

#ty-img-left {
    display: none;
    border-radius: 5px;
}

#ty-img-left-m {
    display: flex;
    width: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

#ty-hero h1 {
    font-size: 27px;
    line-height: 32px;
}

#ty-hero h2 {
    font-size: 18px;
    line-height: 22px;
    margin-top: 5px;
}

#phone-strip {
    width: 95%;
}

#phone-strip img {
    margin: 0px 0px -40px 10px;
    align-self: baseline;
}
.logo-img {
    max-width: 6rem;
    margin: 0.5rem;
}
}

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

    #phone-strip {
        align-items: center;
        justify-content: center;
        text-align: center;
        /* width: 100%; */
    }
    #phone-strip p {
        font-size: 17px;
        line-height: 25px;
        text-align: left;
        margin: -64px 22px 5px 98px;
    }

    #phone-strip a {
        width: 100%;
    }
    .no-sell > a {
        font-size: smaller;
    }
}




