:root {
    --tgix-light-tan: #faf7eb;
    --tgix-orange: #eb6b0b;
    --tgix-grey: #eee;
    --tgix-yellow: #faf7eb;
}

html {
    overflow-y: scroll
}

/* reset */
img {
    max-width: 100%;
    height: auto;
}
    /* fix Bing Maps view waypoint */
    img.MSVE_ImageTile {
        max-width: initial;
        height: initial;
    }

/* fonts */
body {
    background-color: var(--tgix-grey);
    font-size: 16px;
    line-height:26px;
    font-weight: 400;
    max-width: 950px;
    margin: auto;
}

h1, h2, h3, h4, span, label, input {
}

h1, h2, h3, h4, strong, td.tdHeader, .qa {
    font-weight: 500;
}

b {
    font-weight: 700;
}



#ft p {
    font-size: 0.8rem;
}

h1 {
    font-size: 1.4rem;
    margin-bottom: 0px;
}

h2 {
    font-size: 1.3rem;
    margin-bottom: 0px;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 0px;
}

h4, legend {
    font-size: 1rem;
    margin-bottom: 0px;
}

/* spacing between title and content */
h1 + p {
    margin-top: 0.4rem;
}

h1 + img, h2 + img {
    margin-top: 0.8rem;
}

    h1 + img + p, h2 + img + p {
        margin-top: 0.4rem;
    }

h2 + ul, h2 + ol {
    margin-top: 0.4rem;
}

h2 + h4, h2 + img + h4, h2 + div h2 {
    margin-top: 0.8rem;
}

h4 + p {
    margin-bottom: 0.0rem; /* GPS pages */
}

.section + .section {
    margin-bottom: 1.0rem; /* help tool */
}

.section h2 {
    margin-top: 0.3rem;
}

.bust-main-margins + h2, img + h2 { /* screenshots */
    margin-top: 0.4rem;
}

p + p, p + div, p + h2, p + h3, p + h4, p + dl, table + h2, ul + h2, ol + h2 {
    margin-top: 0.8rem;
}

img + dl {
    margin-top:1.0rem;
}
dt {
    margin-bottom: -0.22rem;
}
p, dd {
    font-weight: 400;
    /*    font-size: 1.0rem; */
}

    p span.menu {
        font-weight: 700;
    }

span.menu { /* help file */
    font-weight: 500;
    padding: 0 0.2em 0.1em 0.2em;
    border: 1px solid grey;
    white-space: nowrap;
    background-color:white;
}

span.button { /* help file */
    font-weight: 500;
    padding: 0 0.2em 0.1em 0.2em;
    border: 1px solid grey;
    white-space: nowrap;
    border-radius: 3px;
    background-color: white;
}

span.key {
    font-weight: 500;
    padding: 0em 0.5em 0em 0.5em;
    border: 1px solid grey;
    border-radius: 3px;
    background-color: white;
}

.access-cmd h2 {
    font-size: 1.0rem;
}

.access-cmd {
    background-color: var(--tgix-light-tan);
    margin: 20px 0 20px 0px;
    padding: 10px 15px 10px 15px;
    border-radius: 7px;
}



dd dl {
    margin-left: 2.0rem;
}

p + ul {
    margin: 0rem;
}

div + div {
    margin: 0px;
}

.tan {
    background-color: var(--tgix-light-tan);
}

/* https://stackoverflow.com/questions/4774022/whats-default-html-css-link-color */
/* https://www.color-hex.com/color/f58634 */

.orange {
    color: var(--tgix-orange);
}

.input-small {
    max-width: 347px;
    width: 100%;
}


a {
    font-weight: 500;
}

    a:link, a:visited {
        color: #006caa;
    }

    a:hover, a:focus, a:active {
        color: var(--tgix-orange);
    }


.num {
    vertical-align: baseline;
    float: left;
    margin-right: 5px;
    margin-top: 0px;
}

#ft {
    margin-top: 20px;
    border-top: 1px dashed #999;
}

.screenshot {
    margin-top: 5px;
    float: left;
    margin-right: 5px;
}

/* tutorials */
.question {
    background-color: var(--tgix-light-tan);
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 7px;
}

ol li {
    list-style: decimal outside;
}

ul li {
    list-style: none;
}

ul {
    padding-left: 1rem;
}


p {
    margin-bottom: 0rem;
}

th, td {
    border: 0px solid #000;
    padding: .5rem;
}

#logo {
    margin-left: 20px;
    margin-top: 2px;
    float: left;
}

.centered-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

label {
    display: block;
    position: static;
}

.submit {
    text-align: center;
}

.right {
    float: right;
    margin-left: 0.5rem;
}

.left {
    float: left;
    padding: 0px 6px 0px 0px;
}

textarea {
    width: 100%;
    box-sizing: border-box;
}

/* gps-support = GPS Support box */
.gps-support {
    max-width: 208px;
    margin: auto;
}

.gps-support-head {
    text-align: center;
    background-color: #ffde00;
    border-radius: 7px 7px 0px 0px;
    padding: 4px 0px 2px 0px;
}

.gps-support-body {
    background-color: var(--tgix-light-tan);
    border-radius: 0px 0px 7px 7px;
}

.gps-support-head h2 {
    margin-bottom: 0;
}

.gps-cta {
    background-color: #ffee7f;
}

/* highlighter effect */
strong {
    background-color: #ffee7f;
    margin-left: -0.2rem;
    margin-right: -0.2rem;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
    padding-top: 0.0rem;
    padding-bottom: 0.2rem;
}

#html-body {
    background-color: white;
}

#bd {
}

#hd {
}

#ft {
}

td strong {
    font-weight: bold;
    background-color: Transparent;
    padding: 0;
    margin: 0; /* override highlighter effect on strong */
}

p img { /* align quote image with paragraph for inline quotes and testimonials */
    vertical-align: baseline;
}

.testimonial {
    margin: 0;
    background: var(--tgix-light-tan);
    padding: 10px 50px;
    position: relative;
    color: #333;
    border-radius: 5px;
}

    .testimonial:before {
        content: "\201C";
        position: absolute;
        font-size: 4rem;
        font-family: Georgia, 'Times New Roman', Times, serif;
        line-height: 100%;
        color: #999;
        font-style: normal;
        top: 0rem;
        left: 10px;
    }

    .testimonial:after {
        content: "\201D";
        right: 10px;
        bottom: -0.5rem;
        position: absolute;
        font-size: 4rem;
        font-family: Georgia, 'Times New Roman', Times, serif;
        line-height: 100%;
        color: #999;
        font-style: normal;
    }

.arrow-down {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid var(--tgix-light-tan);
    margin: 0 0 0 25px;
}

.testimonial-author {
    margin: 0 0 10px 15px;
}

    .testimonial-author span {
        font-size: 1rem;
        color: #666;
    }

p.label {
    line-height: 1.5rem;
}

.screenshots {
    display: block;
    width: 676px;
    background: var(--tgix-grey);
    color: #000;
    font-size: 1.0rem;
    margin: 20px 0 20px 0px;
    padding: 10px 15px 10px 15px;
    border-radius: 7px;
    float: none;
}

    .screenshots img {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .screenshots h3 {
        text-align: center;
        font-size: 1.3rem;
        font-weight: bold;
        padding-bottom: 7px;
    }

input {
    max-width: 100%;
}

.orange-button {
    border-radius: 7px;
    margin: 0px;
    padding: 0px;
    color: white;
    background-color: var(--tgix-orange);
    text-decoration: none;
}

    .orange-button:focus, .orange-button:hover, .orange-button:active {
        background: #006caa;
        text-decoration: none;
    }

    .orange-button a:focus, .orange-button a:hover, .orange-button a:active {
        text-decoration: none;
    }

/* overrides form buttons, especially outline drawn around default button */
.input_button {
    background-color: var(--tgix-orange);
    display: block;
    background: var(--tgix-orange);
    color: #fff;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    border: 0;
    font-weight: 700;
    height: 30px;
    outline: none;
    cursor: pointer;
    transition: all 0.15s ease;
    margin: auto;
}

    .input_button:focus {
        background: #006caa;
    }

    .input_button:hover {
        background: #006caa;
        box-shadow: 0 7px 14px 0 rgba(50, 50, 93, 0.1), 0 3px 6px 0 rgba(0, 0, 0, 0.08);
    }

    .input_button:active {
        background: #006caa;
    }

.round {
    margin: 1.0em 0 0 0;
    padding: 10px 15px 10px 15px;
    border-radius: 7px;
}

.keep-floating-img-inside-div {
    overflow: hidden; /* prevent floating img from leaking out the bottom of containing div */
}

.grey {
    background: var(--tgix-grey);
}

.left {
    float: left;
}

.right {
    float: right;
}

.bust-main-margins {
    margin-left: -15px;
    margin-right: -15px;
}

.gps-cta p {
    font-weight: 500;
    font-size: 1.3rem;
    text-align: center;
}

.gps-cta {
    margin-bottom: 1rem;
}

.h1-download-cta {
    margin-top:10px;
    margin-bottom: 5px;
    font-size:180%;
}

.h1-countries {
    font-size: 36px;
    margin-bottom: 18px;
}

.h1-default-50 {
    margin-top:10px;
    margin-bottom: 5px;
    font-size:230%;
    text-align:center;
}

/* #bd { background-color: white; padding-left: 15px; padding-right:15px; padding-bottom: 0px; padding-top: 1rem; } */
/* for 700px or less*/
@media screen and (max-width:700px) {
    #logo {
        margin-left: 0px;
        margin-top: 0px;
    }
}

.two_column_download {
    max-width: 510px;
    background: var(--tgix-grey);
    color: #000;
    font-size: 1.0rem;
    margin: 1.0em 0 0 0;
    padding: 10px 15px 10px 15px;
    border-radius: 7px;
    float: left;
}

    .two_column_download a {
        color: #1876b4;
        text-decoration: none;
    }

        .two_column_download a:hover {
            color: #00f;
        }

a.text_button {
    color: #fff;
    font-size: 1.3rem;
    font-weight: bold;
    text-decoration: none;
    background-color: var(--tgix-orange);
    padding: 5px 10px;
    max-width: 130px;
    text-align: center;
    line-height: 28px;
    border-radius: 7px;
}

    a.text_button:hover {
        color: #fff;
        background-color: #006caa;
    }

a.text_button_left {
    color: #fff;
    font-size: 1.3rem;
    font-weight: bold;
    text-decoration: none;
    background-color: var(--tgix-orange);
    margin: 5px 15px 0 0;
    padding: 5px 10px;
    max-width: 130px;
    text-align: center;
    border-radius: 7px;
    float: left;
}

    a.text_button_left:hover {
        color: #fff;
        background-color: red;
    }


div.gps {
    min-width: 223px;
    float: left;
}


.rollover_easy {
    width: 444px;
    height: 58px;
    background-image: url(../images/btn_dl_pp_2014.png);
    background-position: top;
    float: left;
}

    .rollover_easy a {
        color: #fff;
        width: 444px;
        height: 58px;
        display: block;
        text-decoration: none;
    }

        .rollover_easy a:hover {
            background-image: url(../images/btn_dl_pp_2014.png);
            background-position: 0px 58px;
        }

.rollover_exp {
    width: 444px;
    height: 58px;
    background-image: url(../images/btn_dl_npp_2014.png);
    background-position: top;
    float: left;
}

    .rollover_exp a {
        color: #fff;
        width: 444px;
        height: 58px;
        display: block;
        text-decoration: none;
    }

        .rollover_exp a:hover {
            background-image: url(../images/btn_dl_npp_2014.png);
            background-position: 0px 58px;
        }


/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */

.gallerycontainer {
    position: relative;
    /*Add a height attribute and set to largest image's height to prevent overlaying*/
}

.thumbnail img {
    border: 1px solid #1876b4;
    margin: 0 0 0 20px;
}

.thumbnail:hover {
    background-color: transparent;
}

    .thumbnail:hover img {
        border: 1px solid white;
    }

.thumbnail span { /*CSS for enlarged image*/
    position: absolute;
    left: -1000px;
    visibility: hidden;
    color: black;
    text-decoration: none;
}

    .thumbnail span img { /*CSS for enlarged image*/
        padding: 0px;
        margin: 0px;
    }

.thumbnail:hover span { /*CSS for enlarged image*/
    background-color: #fff;
    padding: 8px 10px;
    margin: 0px;
    font-weight: normal;
    font-size: 1.0rem;
    visibility: visible;
    border: 2px solid #1876b4;
    border-radius: 7px;
    top: 0;
    left: -320px; /*position where enlarged image should offset horizontally */
    z-index: 50;
}

@media screen and (max-width: 992px) {
    .desktop-only {
        visibility: hidden;
        display: none;
    }

    .logo {
        max-height: 50px;
    }
}

@media screen and (max-width: 760px) {
    .hide-on-phone {
        visibility: hidden;
        display: none;
    }

    .h1-download-cta {
        margin-bottom: 0px;
        font-size: 120%;
    }

    .h1-countries {
        font-size: 120%;
        margin-bottom: 0px;
    }

    .h1-default-50 {
        font-size: 120%;
    }

}

.navbar-light .navbar-nav .nav-link {
    color: rgba(0,0,0,1.0);
    font-weight: 700;
    font-size: 17px;
}

.dropdown-menu.show {
    margin-top: -7px;
    padding: 0;
}

.dropdown-item {
    padding-left: 1rem;
}

.dropdown-divider {
    margin: .1rem 0;
}

.dropdown-item b {
    font-weight: 500;
}

a.dropdown-item, a.dropdown-subitem {
    color: rgba(0,0,0,1.0);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2em;
}

    a.nav-link.active, a.nav-link:hover, a.nav-link:focus,
    a.dropdown-item.active, a.dropdown-item:hover, a.dropdown-item:focus,
    a.dropdown-subitem.active, a.dropdown-subitem:hover, a.dropdown-subitem:focus {
        color: var(--tgix-orange) !important;
    }

.navbar {
    background-color: white;
    border-bottom: 2px solid var(--tgix-orange);
}

.form-hun {
    display: none;
}

a.list {
    padding: 5px;
    display: block;
}

    a.list:hover {
        background-color: var(--tgix-grey);
    }
