html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.mobile-hide {
    display: block;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px;
    background: #ebedef;
}

section {
    margin-bottom: 100px;
}

.container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom:25px;
}

.containerSmall {
    width: 1320px;
    max-width: 100%;
    margin: 0 auto;
}

.pageSearch .containerSmall, .pageCodeDetail .containerSmall {
    width: 1320px;
}

.pageDDIClaims .ddiClaimsBox {
    display: none;
}

.row.form-floating {
    justify-content: center;
    align-items: top;
}

.form-floating label {
    position: relative;
    padding: 1em 0;
    height: auto;
    border: none;
    font-weight: bold;
}

.required {
    color: #ff0000;
    display: none;
}

select.form-control {
    padding: 0.1em 0.75em !important;
}



.searchBox {
    background: #fff;
    padding: 2em;
    width: 1320px;
    max-width: 100%;
    margin: 0 auto;
}

#account, #keywordSearch, #keywordSearchResults {
    width: 350px;
    margin: 0 auto;
    text-align:center;
    padding:2em;
    background: #fff;
}

#account.registerDiv {
    width: 600px;
}
#account.registerDiv {
    width: 600px;
    text-align: left;
}

#keywordSearch {
    width: 650px;
    max-width: 90%;
    padding: 4em;
    background: #fff;
}

#keywordSearchResults {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    background: #fff;
}

.loginImg {
    width: 300px;
    margin: 25px auto;
    display: block;
}

#account button, #keywordSearch button, #keywordSearchResults button, .searchResultsDiv button, .codeDetailDiv button {
    background: #0298d7;
}

#keywordSearch button, #keywordSearchResults button, .searchResultsDiv button, .codeDetailDiv button {
    padding: 0.65em 2em;
    text-transform: uppercase;
    font-weight: bold;
}

.searchResultsDiv button, .codeDetailDiv button {
    margin-bottom: 25px;
}

#account input[type=text], #account input[type=email], #account input[type=password], .keywordSearchResults input[type=text] {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    background: #e8f0fe;
    height: auto;
    margin-bottom: 10px;
}

#account input[type=email] {
    margin-bottom: 10px;
}

#account  input[type=text]::placeholder, #account input[type=email]::placeholder, #account input[type=password]::placeholder, #keywordSearchResults input[type=text]::placeholder {
    color: #000;
}
#keywordSearch input[class=active]::placeholder  {
    color: #fff;
}

#account a, #account a:visited, #account a:hover {
    text-decoration: none;
}

.codeTable, .userTable {
    margin-top:25px;
    padding: 25px;
    border: thin solid #ccc;
    border-radius: 10px;
}

.codeTable .row, .userTable .row {
    border-bottom: thin solid #ccc;
    padding: 10px 0;
}

.codeTable .codePercentages, .codeTable .codeAmount {
    border-bottom: thin solid #ccc;
    padding: 20px 0;
}

.codeTable .col-md-1 .p-3 {
    border-radius: 10px;
    color: #fff;
    font-weight: bold;
}

.codePercentages .col-md-1, .codeAmount .col-md-1 {
    padding: 10px 0;
}

.footerDisclaimer {
    font-size: 0.75em;
    color: #333333;
    margin: 25px 0;
}

header {
    padding: 0.5em 0;
    color: #000;
    font-size: 2em;
    font-weight: bold;
    text-align:center;
}

.footer {
    background: #0a5c94;
    color: #ffffff;
    text-align:center;
    padding: 1em 0;
    position:fixed;
}

.footer a, .footer a:visited, .footer a:hover {
    color: #fff !important;
    text-decoration: none;
}

.codePercentages .p-3, .codeAmount .p-3 {
    display: none;
    margin-bottom: 0;
}

@media (max-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 95% !important;
    }
}

@media (max-width: 1050px) {
    .searchResultsDiv .float-end, .codeDetailDiv .float-end {
        float: left !important;
        max-width: 100%;
        margin-top: 20px;
    }
}

@media (max-width: 1000px) {
    .mobile-hide {
        display:none;
    }

    .container, .container-lg, .container-md, .container-sm {
        max-width: 942px;
        margin: 0 25px;
    }

    .searchResultsDiv .float-end, .codeDetailDiv .float-end {
        float: left !important;
        max-width: 100%;
        margin-top: 20px;
    }

    .codeTable .col-md-7 {
        width: 100%;
    }

    .codePercentages .col-md-1, .codeAmount .col-md-1 {
        width: 18%;
        margin-right: 2%;
    }

    .codePercentages .p-3, .codeAmount .p-3 {
        display: block;
        padding: .5rem !important;
        margin-bottom: 1em;
    }
}

@media screen and (max-width:760px){
    .searchResultsDiv .row {
        max-width:90%;
    }

    .codeTable .row. userTable .row {
        max-width: 100%;
    }
}

@media screen and (max-width:500px){
    .codePercentages .col-md-1, .codeAmount .col-md-1 {
        width: 100%;
        margin-right: 2%;
    }
}