/* Scrollbar */
body::-webkit-scrollbar { width: 10px; }
body::-webkit-scrollbar-track { background: #EFF2F7; box-shadow: grey 0px 0px 4px inset; border-radius: 10px; }
body::-webkit-scrollbar-thumb { background: #25477B; border-radius: 10px; }
body::-webkit-scrollbar-thumb:hover { background: #0078D3; border-radius: 10px; }

/* Core content positioning and size style */
.centered {
    max-width: 960px;
    margin: auto;
}

/* Header style */
header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin: auto;
    background: url("https://image.info.geotab.com/lib/fe36117171640479711370/m/3/cc61b8fd-d37b-4bc7-811b-18a2c13f09b5.gif") center top no-repeat;
    background-size: cover;
    max-width: 1200px;
    width: 100%;
    min-height: 140px;
    overflow: hidden;
}

/* Header positioning and size style */
.headerText {
    font-weight: bold;
    color: #ffffff;
    align-self: center;
    margin-top: auto;
    padding-bottom: 10px;
    font-size: 4vw;
    padding-top: 14vw;
    text-shadow: 0 0 3px black;
}
@media (min-width: 1200px) {
    .headerText {font-size: 48px; padding-top: 175px;}
}

/* Language menu */
.lang-menu {
    position: absolute;
    top: 10px;
    right: 0px;
    padding: 10px;
    min-width: 175px;
    font-family: "Roboto", sans-serif;
}
.lang-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    width: 100%;
    z-index: 1000;
    display: block;
    background-color: #ffffff;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    right: -10px;
    border-radius: 8px 0px 0 8px;
}
.lang-menu ul li.selected-lang {
    display: inline-block;
}
.lang-menu ul li {
    padding: 3px;
    display: none;
    cursor: pointer;
}
.lang-menu ul li a {
    color: #25477b;
    text-decoration: none;
    display: block;
    text-align: left;
    padding: 5px;
    z-index: 1;
    right: 0px;
    border-radius: 8px 0px 0px 8px;
}
.lang-menu:hover ul li {
    display: block;
}
.lang-menu ul li a:hover {
    right: 0px;
    background-color: #eff2f7;
}

/* Footer positioning and size style */
.footer {
    max-width: 1200px;
    margin: auto;
    overflow-wrap: break-word;
    overflow: wrap;
}
img.social {
    height: 20px;
}

/* General page text style */
body {
    font-family: "Roboto", sans-serif;
    color: #3c5164;
    line-height: normal;
    margin-bottom: 6px;
    font-size: 100%;
}

/* Page title style */
.title {
    font-size: 2em;
    margin-bottom: 6px;
    font-weight: bold;
    color: #25477b;
}

/* Section heading style */
h1 {
    font-size: 1.75em;
    font-weight: bold;
    padding-top: 15px;
    color: #25477b;
}

/* Hyperlink style */
a:link {color: #0078d3;}
a:visited {color: #0078d3;}
.screenReader {
    position: absolute;
    width: 1px;
    clip: rect(0 0 0 0);
    overflow: hidden;
    white-space: nowrap;
}

/* Section separator and spacing style */
.section {
    padding-bottom: 15px;
    border-top: 2px solid #66788c; 
}

/* Embedded content styles */
.embedArticle {
    padding: 0 20px 20px 20px;
    border: 1px solid #cfd5dc;
    overflow-y: auto;
    aspect-ratio: 16/9;
}
.embedArticle::-webkit-scrollbar { width: 10px; }
.embedArticle::-webkit-scrollbar-track { background: #EFF2F7; box-shadow: grey 0px 0px 2px inset; }
.embedArticle::-webkit-scrollbar-thumb { background: #66788c; }
.embedArticle::-webkit-scrollbar-thumb:hover { background: #3c5164; }
.embedVideo {
    border: 1px solid #cfd5dc;
    width: 100%;
    aspect-ratio: 16/9;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.embedTutorial {
    border: none;
    width: 100%;
    aspect-ratio: 16/9;
}
.docContainer {
    flex-grow: 1;
    padding: 0;
    border: 1px solid #cfd5dc;
    overflow: hidden;
    height: 540px;
}
.embedDoc {
    border: 0;
    width: 100%; 
    height: 100%;
}

/* Pill button format */ 
button.pills {
    padding: 5px 5px;
    border: 1px solid #cfd5dc;
    border-radius: 30px;
    margin: 0 10px 5px 0;
}

/* Button style */
button {
    min-width: 125px;
    display: inline-block;
    background-color: #eff2f7;
    color: #3c5164;
    outline: none;
    border: none;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1.25em;
    font-weight: bold;
}
button:hover {background-color: #d1d6dd;}
button.active {
    background-color: #0078d3;
    color: #ffffff;
    border: #0078d3;
}

/* MyGeotab login button style */
button.login {
    background-color: #25477b;
    color: #fff;
    padding: 10px;
    border-radius: 12px;
    font-size: 1em;
}
button.login:hover {background-color: #546E97;}

/* Container for how-to steps */
.box {
    display: flex;
    flex-direction: column;
    overflow: auto;
    width: 100%;
    min-width: 400px;
    height: 56.25%;
}

/* Style the tip table under instructions */
.tipTable {margin: 0 auto;}
.tipCell {
    border:1px solid #0078d3;
    border-left:6px solid #0078d3;
    padding:6px;
}

/* Style image selectors */
.imageLink {
    position: relative;
    display: block;
    text-align: center;
    text-decoration: none;
    color: #0078d3;
    overflow: hidden;
    width: 100%;
    margin-bottom: 20px;
}
.imageLink img {
    display: inline-block;
    width: auto;
    height: 100px;
    transition: transform 0.3s ease;
    transform-origin: center center;
}
.imageLink p {
    display: inline-block;
    transition: transform 0.3s ease;
}
.description {
    box-sizing: border-box;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    opacity: 0;
    transition: 0.3s ease;
    color: #ffffff;
    border-radius: 10px;
    font-size: 1em;
    transition: opacity 0.3s ease;
    padding: 10px;
    overflow-y: hidden;
}
.imageLink:hover .description {
    visibility: visible;
    opacity: 1;
}

/* Style more labels */
.more {
    color: #25477b;
    text-align: center;
    font-weight: bold;
    border: none;
    margin-top: 10px;
}

/* Zoom in on config callout section when hover */
.zoom {position: relative;}
.zoom:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}