@media only screen and (min-width: 320px) {
    /*new ams stuff*/

    a{
        text-decoration: none;
    }
    .usa-red-text{
        color:#D11141;
    }

    .usa-red-background {
        background-color: #D11141;
        color: white;
    }

    .usa-blue-text{
        color:#013C7D;
    }

    .usa-blue-background{
        background-color: #013C7D;
        color: white !important;
    }

    .flex-outer > li > table {
        margin-left: 10px;
    }

    a, a:visited {
        /* text-decoration: none; */
    }

    .vertical{
        flex-direction: column;
    }

    .col {
        flex: 1;
    }

    .col2 {
        flex: 2;
        /* flex-grow: 3; */
        min-width: 232px;
    }
    .col3{
        flex: 3;
    }

    .col4{
        flex:4;
    }

    #messageBox {padding: 0.5rem;margin-bottom: 40px;-webkit-box-shadow: 4px 14px 51px 0px rgba(0, 61, 125, 0.62);-moz-box-shadow: 4px 21px 51px 0px rgba(0, 61, 125, 0.62);box-shadow: 4px 14px 28px 0px rgba(0, 61, 124, 0.62);}

    .messageBox {

        padding: .5rem;
        -webkit-box-shadow: 4px 21px 51px 0px rgba(0, 61, 125, 0.62);
        -moz-box-shadow: 4px 21px 51px 0px rgba(0, 61, 125, 0.62);
        box-shadow: 4px 21px 51px 0px rgba(0, 61, 125, 0.62);
    }

    #messageBox img {
        width: 100px;
        height: auto;
        padding-right: 10px;
    }

    .flex-item.blocks .fa-exclamation-triangle{
        font-size: 80px;
        color: #D11141;
    }

    #messageBox > div{
        margin: .2rem 0 .2rem 0;
    }

    .fa{
        font-size: 30px;
    }


    .message h3 {
        color: #D11141;
    }

    .message button{
        background-color: D11141;
        color: white;
        min-width: 100px;
        text-decoration: none;
    }

    .message span {
        color: #000;
        font-size: 12px;
        margin-left: 5px;
    }

    /*    old ams stuff*/
    input[type=text],
    input[type=number],
    input[type=submit],
    input[type=password],
    input[type=email],
    input[type=tel],
    button,
    select {
        /* width: 100%; */
        /* max-width: 280px; */
        /* border-radius: 5px; */
    }

    .container {
    }

    .flex-header {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        width: auto;
    }

    .flex-header img {
        width: 45%;
    }

    .flex-header div.flex-header img {
        width: 72%;
    }

    .flexbox {
        display: flex;
        justify-content: space-between;
        justify-content: center;
        flex-wrap: wrap;
        align-items: center;
        flex-direction: column;
    }

    .flex-item {
        display: flex;
        justify-content: flex-start;
        align-items: center;

    }

    .blocks {
        width: 300px;
        min-height: 380px;
        max-height: 380px;
        /* min-width: 180px; */
        background-color: white;
        margin: 10px auto;
        border-radius: 20px;
        flex-direction: column;
        border: 1px solid red;
        -webkit-box-shadow: 4px 21px 51px 0px rgba(0, 61, 125, 0.62);
        -moz-box-shadow: 4px 21px 51px 0px rgba(0, 61, 125, 0.62);
        box-shadow: 4px 21px 51px 0px rgba(0, 61, 125, 0.62);
    }

    .flex-item img {
        width: 65%;
        /* height: 90px; */
        /* box-sizing: border-box; */
        padding: 10px;
        max-height: 135px;
    }

    .flex-anchor {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 12px;
        width: fit-content;
    }

    p.blockParaTitle {
        font-size: 16px;
        font-weight: bold;
        font-style: italic;
    }

    p.blockSchoolTitle {
        font-size: 16px;
        color: #d7114a;
        font-weight: bold;
        text-align: center;
    }

    .flex-wrapper {
        display: flex;
        justify-content: center;
        justify-content: space-between;
        width: 380px;
    }

    .flex-nav {
        display: flex;
        /* justify-content: center; */
        /* flex-direction: column; */
        align-items: center;
        box-sizing: border-box;
        padding: 0px 20px;
        /* margin-bottom: 10px; */
    }

    .item {
        background: blue;
        height: 120px;
        flex-basis: 120px;
    }

    input[type="submit"].blueButton {
        background-color: #013f7e;
    }

    input[type="submit"].rebButton {
        background-color: #D11141;
    }

    button.redButton {
        background-color: #D11141;
    }

    .honeycomb {
        width: 100%;
        height: auto;
        display: block;
        position: relative;
        margin-bottom: 9px;
    }

    .honeycomb::after {
        content: "";
        background-image: url("/web/img/backgrounds/honeycomb.jpg");
        opacity: 0.4;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        position: absolute;
        z-index: -1;
    }

    .flex-nav img.navimage {
        width: auto;
        height: 34px;
        padding: 0 10px;
    }

    .flex-nav ul {
        display: flex;
        align-items: center;
        margin: unset;
        list-style: none;
        padding: unset;
    }

    .flex-nav li {
        margin: unset;
        padding: 0 5px;
        font-weight: bold;
    }

    .italic {
        font-style: italic;
    }

    .underline {
        text-decoration: underline;
    }

    .border-bottom {
        border-bottom: 1px solid #d21141 !important;
    }

    .border {
        border: 1px solid #013d7e !important;
    }

    .padding-bottom {
        padding-bottom: 10px;
    }

    .padding-top {
        padding-top: 10px;
    }

    #chargebank {
        display: none;
    }

    /*old but maybe neded*/
    .hamberger {
        font-size: 20px;
        padding-left: 10px;
    }

    input#show-menu {
        display: none;
    }

    .show-menu {
        display: flex;
        cursor: pointer;
        padding: 20px 0;
        justify-content: flex-start;
    }

    input[type=checkbox]:checked ~ .tabs {
        display: flex;
        flex-wrap: wrap;
    }

    ul.tabs {
        display: none;
    }

    .centered {
        display: flex;
        justify-content: center;
    }

    .pagetitle {
        font-size: 1.1rem;
        font-weight: bold;
        padding: 10px;
    }

    .headerImage {
        padding: 10px 0 0 0;
        max-width: 150px;
        width: 100%;
    }

    div#form {
        /*background-color: #003774;*/
        justify-content: center;
        display: flex;
        /* flex-direction: column; */
        align-items: center;
    }

    div#form form[name="form1"] * {
        color: black;
    }

    .user i {
        background: url(https://p.w3layouts.com/demos/minimal_flat_user_account/web/images/user.png) no-repeat 0px 0px;
        width: 27px;
        height: 27px;
        display: inline-block;
        vertical-align: middle;
    }

    div#form input[type="submit"] {
        color: white;
    }

    #form form {
        padding: 1.1rem 0 2.3rem 3.2px;
    }

    #form form * {
        color: white;
    }

    #form form input {
        color: black;
    }

    label.inlineLabel {
        display: inline-block;
    }

    .flex-outer > ol > li {
        display: list-item;
    }

    .flex-outer > .btn {
        padding: 0px 10px !important;
    }

    .flex-outer li input[type="submit"] {
        padding: 6px 10px;
        margin-left: 5px;
    }

    .flex-outer li input[type="button"] {
        padding: 0px 10px;

    }

    .flex-outer li.block {
        display: block;
    }

    input[type=checkbox]:checked ~ ul.tabs li {
        background-color: #003F7E;
        display: flex;
        float: none;
        width: 31%;
        margin: 1px 1px;
        border-radius: 0;
        height: 60px;
        align-content: center;
        align-items: center;
        justify-content: center;

    }

    ul.tabs.showtab {
        display: inherit;
    }

    .threeselect {
        display: flex;
        flex-direction: column;
    }

    ul.tabs li {
        background-color: #003F7E;
    }

    ul.tabs li.nobackground {
        background-color: initial;

    }

    label.surveytab {
        margin-left: 25px;
    }

    label.surveytab > input {
        height: auto;
    }

    .headingParagraph {
        font-size: 20px;
        /* font-style: italic; */
    }

    .verticlehelpbutton {
        display: flex;
        flex-direction: column;
        margin-top: -73px;
    }

    .verticlehelpbutton a {
        padding: 10px 3px 10px;
    }

    .mobile-hide {

        display: none;
    }

    .flexbox.twothirdswrap {
        flex-direction: column;
    }

    .inlineWarning {
        color: white;
        font-weight: bold;
        border-radius: 6px;
        box-sizing: border-box;
        /* padding: 5px; */
    }

    .forgotButton {
        background-color: #003e7e;
        color: white;
        font-size: 9px;
    }

    button.submit{
        -moz-border-radius: 8px;
        -webkit-border-radius: 8px;
        border-radius: 8px;
        border: 1px solid #003e7e;
        background-color: #003e7e;
        color: white;
        font-size: 13px;
        font-weight: normal;
        text-transform: uppercase;
        padding: 4px 10px;
    }


}

/* Extra Small Devices, Phones */
@media only screen and (min-width: 480px) {

    .blocks{
        margin: 10px 10px;
    }

    .flex-header img {
        width: 40%;
    }

    .flex-header div.flex-header img {
        width: 87%;
    }

    .flexbox {
        flex-direction: column;
    }


}

/* Small Devices, Tablets */
@media only screen and (min-width: 768px) {

    .flex-header {
        display: flex;
        justify-content: space-around;
        flex-direction: row;
        align-items: center;
        width: 960px;
    }

    .flex-header img {
        width: 100%;
        padding: 0rem;
        max-width: 228px;
        height: auto;
    }

    .threeselect {
        flex-direction: row;
    }

    .mobile-hide {
        display: flex;
        flex-direction: row;
    }

    input[type=date],
    input[type=tel] {
        max-width: 280px;
        border-radius: 5px;
    }

    .phonenumber {
        max-width: 60px !important;
    }

    li.consentli input[type="checkbox"] {
        /* margin-top: 4px; */
    }

    .verticlehelpbutton {
        margin-top: -90px;
    }

    .forgotButton {
        font-size: 10px;
    }

    .twothirdswrap {
        flex-direction: column;
    }

    .topflex {
        flex-direction: row;
        align-items: flex-start;
    }

}

/* Medium Devices, Desktops */
@media only screen and (min-width: 992px) {

    .desktop {
        display: block;
    }

    .mobile {
        display: none;
    }

    .flex-outer > li:not(:last-child) {
        margin-bottom: 5px;
    }


    .forgotButton {
        background-color: #003e7e;
        color: white !important;
    }


}

/* Large Devices, Wide Screens */
@media only screen and (min-width: 1200px) {
    .thousandpixels {
        /* width: 1000px; */
    }

    .container .sixteen.columns {
        /* width: unset; */
    }

    /*hiding label and checkbox*/
    input#show-menu[type=checkbox],
    .show-menu {
        display: none;
    }

    ul.tabs {
        display: block;
    }

    .parentFlex {
        display: flex;
        justify-content: center;
    }

    .thritythree {
        width: 33%;
        /* border: 1px solid black; */
        /* text-align: center; */
        align-items: center;
    }

    .twothirdswrap {
        flex-wrap: wrap;
        flex-direction: row;
    }

    .flexbox {
        flex-direction: row;
    }

    .flexbox.twothirdswrap {
        flex-direction: row;
        max-width: 69%;
        justify-content: flex-start;
        align-items: flex-start;
    }

}