html,
body {
    height: 100%;
    /* The html and body elements cannot have any padding or margin. */
}

.errorSummary ul {
    list-style-type: none;
    margin: 0;
}

/* Wrapper for page content to push down footer */
#wrap {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    /* Negative indent footer by it's height */
    margin: 0 auto -60px;
}

/* Set the fixed height of the footer here */
#push,
#footer {
    height: 60px;
}

#footer {
    background-color: #f5f5f5;
}

/* Lastly, apply responsive CSS fixes as necessary */
@media (max-width: 767px) {
    #footer {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

#wrap > .container {
    padding-top: 60px;
}

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
    #wrap > .container {
        padding-top: 0px;
    }
}

/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
    #wrap > .container {
        padding-top: 0px;
    }
}

/* Landscape phones and down */
@media (max-width: 480px) {
    #wrap > .container {
        padding-top: 0px;
    }
}

.container .credit {
    margin: 20px 0;
}

code {
    font-size: 80%;
}

.insurance-logos {
    float: left;
    margin: 15px;
}

#ui-datepicker-div {
    font-size: 70%;
}

#callUs {
    color: #fff;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
}

.crazyFont {
    font-family: ‘Unkempt’, Arial, 'Telex', sans-serif;
}

.crazyImg {
    height: 190px;
}

/* Fixing custom bootstrap CSS fpr navbar spacing */
.navbar .navbar-text {
    padding: 16px 10px 14px
}

.navbar ul.nav {
    margin: 0px;
}

/* Format the phone number on mobile browsers */
a[href^=tel] {
    color: inherit;
    text-decoration: underline;
}

div.navbar-inner span.label a {
    color: #fff;
}

.deductible {
    color: #f89406;
}

.table thead tr th.error, .table tbody tr td.error {
    background-color: #F2DEDE;
}

.table thead tr th.warning, .table tbody tr td.warning {
    background-color: #fcf8e3;
}

.table thead tr th.success, .table tbody tr td.success {
    background-color: #dff0d8;
}

.table thead tr th.info, .table tbody tr td.info {
    background-color: #d9edf7;
}

/* style yii's form input errors */
input.error, select.error, textarea.error {
    border-color: #b94a48;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
}

.error.checkbox, .error.radio, input.error, select.error, textarea.error {
    color: #b94a48;
}

.error.control-label, .error.help-block, .error.help-inline, label.error {
    color: #b94a48;
}

/* style bootstraps form when in horizontal mode */
.form-horizontal .control-label {
    width: 220px;
}

.form-horizontal .controls {
    margin-left: 240px;
}

.well-success {
    color: #468847;
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    border-radius: 4px;
    padding: 8px 14px 8px 14px;
}

.alert-warning, .well-warning {
    color: #c09853;
    background-color: #fcf8e3;
    border: 1px solid #fbeed5;
    border-radius: 4px;
    padding: 8px 14px 8px 14px;
}

#plansStartingAt .badge {
    font-size: 30px;
    line-height: 35px;
}

#plansStartingAt p {
    margin-bottom: 0;
}

th.text-center {
    text-align: center;
}

.label-metal-tier {
    padding: 10px 0;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    display: inline-block;
    font-weight: bold;
    color: #fff;
    white-space: nowrap;
    vertical-align: baseline;
    width: 100%;
}

.label-catastrophic, .bg-catastrophic {
    background-color: #313639;
}

.label-hsa, .bg-hsa {
    background-color: #313639;
}

.label-bronze, .bg-bronze {
    background-color: #ad8a56;
}

.label-silver, .bg-silver {
    background-color: #b4b4b4;
}

.label-gold, .bg-gold {
    background-color: #c9b037;
}

.label-platinum, .bg-platinum {
    background-color: #d7d7d7;
}

.row-fluid .cards {
    margin-left: 0;
}

.cards {
    margin-left: -20px;
    list-style: none;
}

.card {
    position: relative;
    display: block;
    padding: 4px;
    line-height: 20px;
    border: 1px solid #ddd;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    background: #fff;
    margin: 10px;
    min-height: 120px;
}

.carrier-logo {
    height: 60px;
    position: relative;
}

.carrier-logo img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.plan-estimate {
    font-size: 1.3em;
    font-weight: bold;
    line-height: 3em;
}

.quote-container {
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.label.label-catastrophic, .label.label-hsa, .label.label-bronze, .label.label-silver, .label.label-gold, .label.label-platinum {
    font-size: 1em;
    line-height: 1.4em;
    padding: 4px 8px;
    letter-spacing: 1px;
}

.box {
    position: relative;
    max-width: 600px;
    width: 90%;
    height: 400px;
    background: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, .1);
}

/* common */
.ribbon {
    width: 150px;
    height: 145px;
    overflow: hidden;
    position: absolute;
}

.ribbon::before,
.ribbon::after {
    position: absolute;
    z-index: -1;
    content: '';
    display: block;
    border: 5px solid #2980b9;
}

.ribbon span {
    position: absolute;
    display: block;
    width: 225px;
    padding: 5px 0;
    background-color: #3498db;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
    color: #fff;
    font-size: 10px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
    font-weight: bold;
    text-align: center;
    opacity: 0.9;
}

/* top left*/
.ribbon-top-left {
    top: -1px;
    left: -1px;
}

.ribbon-top-left::before,
.ribbon-top-left::after {
    border-top-color: transparent;
    border-left-color: transparent;
}

.ribbon-top-left::before {
    top: 0;
    right: 0;
}

.ribbon-top-left::after {
    bottom: 0;
    left: 0;
}

.ribbon-top-left span {
    right: 10px;
    top: 10px;
    transform: rotate(-45deg);
}

/* top right*/
.ribbon-top-right {
    top: -1px;
    right: -1px;
}

.ribbon-top-right::before,
.ribbon-top-right::after {
    border-top-color: transparent;
    border-right-color: transparent;
}

.ribbon-top-right::before {
    top: 0;
    left: 0;
}

.ribbon-top-right::after {
    bottom: 0;
    right: 0;
}

.ribbon-top-right span {
    left: 15px;
    top: 10px;
    transform: rotate(45deg);
}

/* bottom left*/
.ribbon-bottom-left {
    bottom: -1px;
    left: -1px;
}

.ribbon-bottom-left::before,
.ribbon-bottom-left::after {
    border-bottom-color: transparent;
    border-left-color: transparent;
}

.ribbon-bottom-left::before {
    bottom: 0;
    right: 0;
}

.ribbon-bottom-left::after {
    top: 0;
    left: 0;
}

.ribbon-bottom-left span {
    right: 10px;
    bottom: 10px;
    transform: rotate(45deg);
}

/* bottom right*/
.ribbon-bottom-right {
    bottom: -1px;
    right: -1px;
}

.ribbon-bottom-right::before,
.ribbon-bottom-right::after {
    border-bottom-color: transparent;
    border-right-color: transparent;
}

.ribbon-bottom-right::before {
    bottom: 0;
    left: 0;
}

.ribbon-bottom-right::after {
    top: 0;
    right: 0;
}

.ribbon-bottom-right span {
    left: 10px;
    bottom: 10px;
    transform: rotate(-45deg);
}

.pointer {
    cursor: pointer;
}

.nav.highlighted {
    background-color: #6cac4d;
}