/**************************************/
/*                WCAG                */
/**************************************/

/** Taken from bootstrap version 3.3.6 **/
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.sr-only-focusable:active,
.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
}

/* Comparator styles                                                          */
/*                                                                            */

/******************************************************************************/
/*                               LAYOUT STYLES                                */
/******************************************************************************/
.horizontal-flexbox-wrapper {
    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */

    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;

    min-height: 100vh;
}

/* Sidebar. */
.sidebar {
    flex: 1 1 auto;
    max-width: 3.2em;
}

.vertical-flexbox-wrapper {
    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */

    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;

    min-height: 100vh;
}

.main {
    -webkit-box-flex: 1;      /* OLD - iOS 6-, Safari 3.1-6 */
    -moz-box-flex: 1;         /* OLD - Firefox 19- */
    width: 100%;               /* For old syntax, otherwise collapses. */
    -webkit-flex: 1;          /* Chrome */
    -ms-flex: 1 1 auto;       /* IE 10 */
    flex: 1 1 auto;           /* NEW, Spec - Opera 12.1, Firefox 20+ */
}

/******************************************************************************/
/*                                 MODIFIERS                                  */
/******************************************************************************/

.separator {
    color: #f58220;
    margin: 0px 5px 0px 5px;
}

.no-top-margin {
    margin-top: 0 !important;
}

.top-margin-1em {
    margin-top: 1em;
}

.no-wrap {
    white-space: nowrap;
}

/******************************************************************************/
/*                                  FOOTER                                    */
/******************************************************************************/
.footer {
    padding-top: 0.3em;
    padding-bottom: 0.3em;
}

.footer-text {
    color: #FFFFFF !important;
    font-weight: lighter;
}

.footer-text a {
    color: #FFFFFF !important;
}

@media only screen and (max-width: 360px) {
    .footer-text {
        font-size: 0.8em;
    }
}

@media only screen and (min-width: 360px) {
    .footer-text {
        font-size: 0.8em;
    }
}

@media only screen and (min-width: 450px) {
    .footer-text {
        font-size: 1em;
    }
}

/******************************************************************************/
/*                                   COLORS                                   */
/******************************************************************************/

/* A grey with a contrast of 7:1 over white compliant with WCAG level AAA */
.wcag-gey {
    color: #595959 !important;
}

/* An orange background with a contrast of 4.51:1 compliant with WCAG level AA */
.wcag-orange-bg {
    background-color: #BA5D00 !important;
}

.purple.jaguar-tone {
    background-color: #0F0B1E !important;
}

.blue-grey.black-pearl-tone {
    background-color: #0B2331 !important;
}

.green-text.text-fern-tone {
    color: #4C7838 !important;
}

.blue-text.text-midnight-tone {
    color: #1C1B68 !important;
}

/******************************************************************************/
/*                                  NAV-BAR                                   */
/******************************************************************************/
.comparator-nav {
    background: #0F1C24;
    margin-left: 30%;
    padding: 0.6em 0em 0.5em 1em;
    min-height: 2.6em;
}

.comparator-nav a {
    color: #FFFFFF !important;
    font-weight: lighter;
}

@media only screen and (max-width: 360px) {
    .comparator-nav {
        font-size: 0.65em;
    }
}

/* Media query for iPhones (Excluding iPhone 6) */
@media only screen
  and (max-width: 375px)
  and (-webkit-min-device-pixel-ratio: 2) {
    .comparator-nav {
        margin-left: 20%;
        padding: 0.5em 0em 0.4em 1em;
        font-size: 0.65em;
    }
}

@media only screen and (min-width: 360px) {
    .comparator-nav {
        font-size: 0.65em;
    }
}

@media only screen and (min-width: 450px) {
    .comparator-nav {
        font-size: 1em;
    }
}

/******************************************************************************/
/*                                   HEADER                                   */
/******************************************************************************/
.comparator-header {
    background: #FFFFFF;
    padding-top: 1em;
    padding-bottom: 1em;
    width: 100%;
}

.comparator-header p {
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
}

.comparator-header .flexbox-wrapper {
    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */

    flex-direction: row;

    margin: 0 auto;
    width: 95%;
}

.comparator-header .dynamic-flexbox-wrapper {
    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */

    margin: auto;
    margin-right: 1em;
}

.comparator-header .title {
    margin: 0;
    min-width: 10em;
    padding: 0em 1em 0em 0.5em;
    font-size: 1em;
    line-height: 1;
}

.gems-logo1 {
    max-height: 80px;
    image-rendering: -moz-crisp-edges;         /* Firefox */
    image-rendering:   -o-crisp-edges;         /* Opera */
    image-rendering: -webkit-optimize-contrast;/* Webkit (non-standard naming) */
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;  /* IE (non-standard property) */
}

.gems-logo2 {
    display: none;
    image-rendering: -moz-crisp-edges;         /* Firefox */
    image-rendering:   -o-crisp-edges;         /* Opera */
    image-rendering: -webkit-optimize-contrast;/* Webkit (non-standard naming) */
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;  /* IE (non-standard property) */
}

.eeca-logo {
    max-height: 60px;
    image-rendering: -moz-crisp-edges;         /* Firefox */
    image-rendering:   -o-crisp-edges;         /* Opera */
    image-rendering: -webkit-optimize-contrast;/* Webkit (non-standard naming) */
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;  /* IE (non-standard property) */
}

.eeca-title {
    min-width: 17em;
}

.gems-title {
    min-width: 22em;
}

.horizontal-line {
    background: #354F41;
    padding: 0.5em 0em 0.5em 0em;
}

/******************************************************************************/
/*                                  SIDE BAR                                  */
/******************************************************************************/

.menu-icon {
    color: #FFFFFF !important;
    padding: 0.1em 0.2em 0 0.2em;
    font-size: xx-large;
}

.close-icon-button {
    margin-left: 70%;
}

.close-icon {
    font-size: xx-large;
}

.side-nav li h2 {
    font-size: 1.5em;
    color: #FFFFFF !important;
    margin-top: -0.5em;
    margin-bottom: -0.08em;
}

.side-nav li h2 a {
    height: inherit;
    font-size: inherit;
}

.side-nav li a {
    color: #FFFFFF !important;
    font-weight: 300;
}

.side-nav li a:hover {
    text-decoration: underline;
}

/******************************************************************************/
/*                           SORT COLUMNS IN TABLE                            */
/******************************************************************************/
.sort-link {
    white-space: nowrap;
}

.active-sort {
    font-weight: 600;
    font-size: 110%;
}

/******************************************************************************/
/*                             NO FRAME TEMPLATE                              */
/******************************************************************************/
.heading-help-container h2, .heading-help-container h3 {
    padding-left: 22px;
}

h2.dialog-heading {
    width: auto;
    height: 47px;
    color: white;
    font-size: 25px;
    background: #0F1C24;
    padding: 11px 0px 0px 42px;
}

h2.dialog-heading.with-subheading {
    margin-bottom: 0px;
}

h3.dialog-subheading {
    width: auto;
    height: 25px;
    color: white;
    font-size: 17px;
    background: #354F41;
    padding: 7px 0px 0px 42px;
}

.heading-help-container .dialog-actions {
    margin-left: 22px;
    float: left;
    margin-bottom: 10px;
}

.dialog-action {
    float: left;
    background: url(/static/webpack_bundles/dist/img/dialog_action_bg-5b0f9.png) repeat-x 0 0 #252122;
    color: white;
    padding: 6px 15px 6px 15px;
    font-weight: bold;
    border: 1px solid #141414;
    margin-right: 5px;
}

.heading-help-container a {
    color: black;
    text-decoration: underline;
}

.dialog-action a {
    color: white;
    text-decoration: none;
}

dl.heading-help-items dt {
    padding: 3px 5px 3px 0px;
    margin: 11px 20px 0px 22px;
    border-bottom: 1px solid #666;
    font-size: 1.2em;
    width: auto;
}

dl.heading-help-items dd {
    padding: 3px 5px 3px 0px;
    margin: 11px 20px 0px 22px;
    width: auto;
}

