/*
    TABLE OF CONTENTS:
        General
        Header
        Page Content
        CGS Logo
        Corporate
        Header Phone Numbers
        Searchbar
        Nav
        Footer-Bob (Red MBI Footer)
        AMA
        Part B Preventive Services Image
        Footer
        Animated Hamburger
        Arrow
        Responsive Left Menu
        Responsive Menu
        DME Fixes
*/

/* General */
html {
    height: 100%;
}

body {
    min-height: 100%;
    margin: 0;
    position: relative;
    width: 100% !important;
    height: auto !important;
    overflow-x: hidden;
}

body,
html {
    background: #ffffff !important;
}
#contactbar {
	background: #62564b;
	color: #fff;
}
.contactinfo {
	font-size: .85em;
	width: 50%;
	padding: 6px 12px;
}

@media (min-width: 992px) {
    .show-on-smaller-screens {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .hide-on-smaller-screens {
        display: none !important;
    }

    .wrap-on-smaller-screens {
        display: inline-block;
        width: 100% !important;
    }

    #content {
        margin-left: 1rem;
    }
}

/* End General */

/* Header */
#header {
    min-height: 75px;
}

/* End Header */

/* Page Content */
#pageContent>table {
    width: 100%;
}

@media (min-width: 1090px) {
    #pageContent {
        padding-bottom: 205px;
    }
}

@media (min-width: 715px) and (max-width: 1089px) {
    #pageContent {
        padding-bottom: 320px;
    }
}

@media (min-width: 562px) and (max-width: 714px) {
    #pageContent {
        padding-bottom: 350px;
    }
}

@media (max-width: 561px) {
    #pageContent {
        padding-bottom: 590px;
    }
}

/* End Page Content */

/* CGS Logo */
@media (max-width: 991px) {
    #header #cgslogo {
        max-width: 286px;
        width: 70%;
        height: auto;
        padding-bottom: 0px !important;
    }
}

/* End CGS Logo */

/* Corporate */
@media (max-width: 991px) {
    #corpmenu {
        display: none;
    }
}

/* End Corporate */

/* Header Phone Numbers */
@media (max-width: 991px) {
    #headerPhoneNumbers {
        margin: 0 !important;
        padding-top: 0.5rem !important;
        text-align: center;
        float: none !important;
        color: #464646;
        clear: both;
    }
}

/* End Header Phone Numbers */

/* Searchbar */
@media (min-width: 992px) {
    #responsiveSearchBarContainer>a {
        display: none;
    }

    #responsiveSearchBarContainer #searchbar {
        display: none;
    }
}

@media (max-width: 991px) {
    #header #searchbar {
        display: none;
    }

    #responsiveSearchBarContainer {
        position: relative;
        top: -10px;
    }

    #responsiveSearchBarContainer #searchbox {
        white-space: nowrap;
        width: 100%;
        border-bottom: #464646 solid 1px;
        height: 30px;
    }

    #responsiveSearchBarContainer form {
        padding: 0 !important;
    }

    #responsiveSearchBarContainer #searchbox-field {
        padding-left: 8px;
        margin: 0 !important;
        float: left;
    }

   #responsiveSearchBarContainer #responsiveSearchButton {
        display: inline-block;
        vertical-align: top;
        background-color: #006080;
        padding: 6px 24px;
        height: 18px;
        cursor: pointer;
    }

    #responsiveSearchBarContainer #responsiveSearchButton::before {
        content: "";
        display: block;
        background-image: url(/img/searchglass.gif);
        width: 13px;
        height: 13px;
        position: relative;
        top: 3px;
    }

    #responsiveSearchBarContainer #searchbar input {
        width: 78vw;
        height: 28px;
        border: 0;
        outline: none;
        background-color: #ffffff;
    }

    #responsiveSearchBarContainer #searchbar input:-webkit-autofill,
    #responsiveSearchBarContainer #searchbar input:-webkit-autofill:hover,
    #responsiveSearchBarContainer #searchbar input:-webkit-autofill:focus,
    #responsiveSearchBarContainer #searchbar input:-webkit-autofill:active {
        box-shadow: 0 0 0 30px white inset !important;
        -webkit-box-shadow: 0 0 0 30px white inset !important;
    }
}

/* End Searchbar */

/* Nav */
#nav {
    padding: 0px;
    background: #fff;
    clear: both;
}

@media (min-width: 992px) {
	
	
    #tabmenu {
        text-align: center;
        margin: 0px;
        margin-bottom: 10px;
        padding: 2px;
        background: #004D66;
    }

    #tabmenu a {
        font: bold .96em Arial, Helvetica, sans-serif;
        color: #fff;
        text-align: center;
        text-decoration: none;
        padding: 5px 8px;
        line-height: 22px;
        margin-bottom: 8px;
		border-left: solid 1px #fff;
		border-right: solid 1px #fff;
		min-height: 44px;
	min-width: 44px;
	box-sizing: border-box;
    }

    #tabmenu a:hover {
        background: #62564b;
    }

    #tabmenu .contract-active {
        background-color: #62564b;
        color: #ffffff;
    }
}

@media (max-width: 991px) {
	#contactbar {
		margin-top: 30px;
	}
    #tabmenu {
        margin: 0px;
        margin-bottom: 10px;
        display: block;
        border-top: #464646 solid 1px;
        border-bottom: #464646 solid 1px;
        text-align: center;
        background: none;
    }

    #tabmenu a {
        color: #464646;
        font: bold .96em Arial, Helvetica, sans-serif;
        text-align: center;
        text-decoration: none;
        padding: 9px 1vw;
        line-height: 28px;
    }

    #tabmenu a:hover {
        background-color: #004357;
        color: #ffffff;
    }

    #tabmenu .contract-active {
        background-color: #62564b;
        color: #ffffff;
    }
}

@media (max-width: 455px) {

    /* Smallest Screens */
    #tabmenu {
        padding: 0px;
    }

    #tabmenu a {
        font-size: 3.3vw !important;
    }
}

/* End Nav */

/* Footer-Bob (Red MBI Footer) */
#footer-bob {
    height: auto !important;
}

#footer-bob p:last-child {
    margin-bottom: 8px;
}

/* End Footer-Bob */

/* AMA */
#ama-container,
#ada-container {
    height: 100% !important;
}

#ama-frame,
#ada-frame {
    height: 75vh;
    margin-left: -45%;
    width: 86%;
}

#ama-content,
#ada-content {
    overflow-x: auto;
    overflow-y: scroll;
}

/* End AMA */

/* Part B Preventive Services Image */
#preventiveServicesImageContainer img {
    max-width: 100%;
    height: auto;
}

/* End Part B Preventive Services Image */

/* Footer */
#footerContainer {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
}

#footerContainer #footer {
    background: #464646;
    color: #fff;
    clear: both;
    text-align: left;
    vertical-align: middle;
    
    font-weight: bold;
    padding: 10px 0 10px 20px;
}

#footerContainer #footer span>a {
    font-size: 1.2em;
}

#footerContainer #footer a {
    text-decoration: underline;
    color: #ffffff;
}

#footerContainer #footer a>img {
    position: relative;
    top: 3px;
}

#footerContainer #footer span>a>img {
    width: 15px;
    height: 15px;
}

#footerContainer #footer a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

#footerContainer #footer p {
    margin: auto;
    padding: 0;
    margin-bottom: 0.5rem;
    border-bottom: 0 !important;
    color: #ffffff !important;
    font: inherit !important;
    font-size: 1.4em !important;
}

#footerContainer #footer p>a {
    color: #ffffff;
}

#footer #footerContent {
    text-align: left;
}

#footer #footerContent div {
    display: inline-block;
}

#footer #footerContent div>div {
    display: inline-block;
    vertical-align: top;
    text-align: left;
    width: 245px;
    min-width: 20%;
    max-width: 478px;
    margin: 0.5rem 0.5rem;
}

@media (max-width: 550px) {
    #footer #footerContent div>div {
        min-width: 90% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 991px) {
    #footerContainer #darkbar td {
        display: inline-block;
        text-align: left !important;
    }
}

/* End Footer */

/* Animated Hamburger */
@media (min-width: 992px) {
    #animatedHamburgerIcon {
        display: none !important;
    }
}

/* End Animated Hamburger */

/* Arrow */
.arrow {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 4px;
    transition: transform .25s;
}

.up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

/* End Arrow*/

/* Responsive Left Menu */
#responsiveLeftMenu div.accordion-header {
    font-size: .85em;
    line-height: 1.5;
    padding: 20px;
    text-align: left;
    background: #004D66;
    text-decoration: none;
    outline: none;
    border-bottom: white solid 1px;
    list-style: none;
    cursor: pointer;
    margin: 0;
	
}

#responsiveLeftMenu div.accordion-header .arrow {
    border-color: white;
    float: right;
}

#responsiveLeftMenu div.accordion-header.active .arrow {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    position: relative;
    top: 5px;
}

#responsiveLeftMenu div.accordion-header>a {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    max-width: 94%;
	min-height: 24px;
	min-width: 44px;
	box-sizing: border-box;
}

#responsiveLeftMenu div.accordion-header.current,
#responsiveLeftMenu div.accordion-header:hover {
    background-color: #004357;
}

#responsiveLeftMenu div.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

#responsiveLeftMenu div.accordion-panel>ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#responsiveLeftMenu div.accordion-panel li>a {
    font: normal .85em Arial;
    color: #333;
    padding: 15px;
    padding-left: 20px;
    text-decoration: none;
    background: none;
    display: block;
	min-height: 44px;
	min-width: 44px;
	box-sizing: border-box;
}


#responsiveLeftMenu div.accordion-panel li>a.current {
    color: #006080;
    text-decoration: underline;
    background: none;
}

#responsiveLeftMenu div.accordion-panel li>a:hover {
    color: #006080;
    text-decoration: underline;
    background: none;
}

/* End Responsive Left Menu */

/* Responsive Menu */
@media (min-width: 992px) {
    #menuOverlay {
        display: none !important;
    }
}

#menuOverlay {
    position: absolute;
    display: none;
    width: 100%;
    height: calc(100% - 85px);
    top: 85px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999999999;
}

@media (min-width: 992px) {
    #responsiveMenu {
        display: none !important;
    }
}

#responsiveMenu {
    display: none;
    width: 100%;
    position: absolute;
    left: 0px;
    background: white;
    z-index: 99999999999;
    text-align: left;
    top: 85px;
    border-bottom: solid 1px #333;
}

#responsiveMenu #menuPanel>div,
#responsiveMenu #childrenPanel>div {
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
}

#responsiveMenu #menuPanel>div>a {
    color: #333;
    text-decoration: none;
}

#responsiveMenu #menuPanel>div:nth-child(even) {
    background-color: #d7d7d7;
}

#responsiveMenu #menuPanel i {
    float: right;
    position: relative;
    top: 4px;
}

#responsiveMenu #childrenPanel,
#responsiveMenu #menuPanel {
    display: inline-block;
    width: 100%;
    background-color: white;
    transition: transform 350ms ease, -webkit-transform 350ms ease;
    transform: translateX(0%);
    -webkit-transform: translateX(0%);
}

#responsiveMenu #menuPanel {
    position: relative;
    transform: translateX(0%);
    -webkit-transform: translateX(0%);
}

#responsiveMenu #childrenPanel {
    position: absolute;
    left: 0px;
    transform: translateX(100%);
    -webkit-transform: translateX(100%);
    border-bottom: solid 1px #333;
}

#responsiveMenu #childrenPanel #childrenPanelTitle {
    text-align: center;
    color: #333;
    cursor: pointer;
}

#responsiveMenu #childrenPanel>div>a {
    color: #333;
    text-decoration: none;
}

#responsiveMenu #menuPanel>div>a:hover,
#responsiveMenu #childrenPanel>div>a:hover {
    color: #09F;
    text-decoration: underline;
    background: none;
}

#responsiveMenu #childrenPanel>div:nth-child(even) {
    background-color: #d7d7d7;
}

#responsiveMenu #childrenPanel i {
    float: left;
}

/* End Responsive Menu */

/* DME Fixes */
.col1 {
    width: 220px;
}

.col2 {
    padding: 0px 10px;
}

#header {
    min-height: 75px;
    background: #fff;
    text-align: right;
    color: #000;
    padding: 8px 20px 4px;
}

#header #cgslogo {
    float: left;
}

#corpmenu {
    margin: 0px;
    padding: 0px;
    padding-right: 20px;
    background: #fff;
    text-align: right;
    font: normal 100% Arial, Helvetica, sans-serif;
    top: 0px;
    left: 0px;
}

.breadcrumbs-pointless-links-container {
    margin-bottom: 30px;
}

#breadcrumbs {
    position: relative;
    top: 0;
    left: 0;
    width: auto;
    display: inline-block;
}

.datefont {
    font: normal .8em Arial, Helvetica, sans-serif;
}

#pointless_links {
    width: 260px;
    text-align: center;
    float: right;
}

#accordion,
#accordion5,
#davidbowie {
    clear: both;
}

#content {
    padding: 0 !important;
    margin: 0 !important;
}

/* End DME Fixes */

/* Responsive Tables */
@media (max-width: 991px) {

    .responsive-table,
    .responsive-table thead,
    .responsive-table tbody,
    .responsive-table th,
    .responsive-table td,
    .responsive-table tr {
        display: block;
    }

    .responsive-table tbody tr:nth-child(1) {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .responsive-table tr {
        border: 1px solid #464646 !important;
    }

    .responsive-table tr:nth-child(odd) {
        background-color: #d7d7d7 !important;
    }

    .responsive-table tr:nth-child(odd) td {
        background-color: #d7d7d7 !important;
    }

    .responsive-table td {
        border: none;
        border-bottom: 1px solid #464646 !important;
        position: relative;
        padding-left: 50% !important;
        text-align: left;
    }

    .responsive-table td:before {
        position: absolute;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        font-weight: bold;
    }
}

/* End Responsive Tables */