body {
    padding-left: -15px;
}

.instructionsContainer {
    width: 100%;
    max-width: 600px;
    margin: 5px auto 15px auto;
    box-sizing: border-box;
    font-size: 1.05em;
    line-height: 1.5;
    background-color: #ffffff;
    box-shadow: 0 0 4px rgba(0,0,0,0.15);
}

a:link, a:visited {
    color: #007EC8;
}

a:hover {
    color: #FF9900;
    text-decoration: none;
}

a:active {
    color: #007EC8;
}

p {
    margin-bottom: 8px;
    line-height: 1.5em;
}


/* HEADINGS
		----------------------------------------------------------*/

h1, h2, h3, h4, h5, h6 {
    font-size: 1.3em;
    color: #444444;
    font-variant: small-caps;
    text-transform: none;
    font-weight: bold;
    margin-bottom: 0px;
}

h1 {
    font-size: 1.6em;
    padding-bottom: 0px;
    margin: 5px 0 10px 0;
    text-align: center;
}

h2 {
    font-size: 1.3em;
    font-weight: 600;
}

h3 {
    font-size: 1.15em;
}

/* INSTRUCTIONS STYLES ----------------------------------------------------------*/

.stepTitle {
    font-weight: bold;
    font-size: 1.25em;
    margin-top: 25px;
    margin-bottom: 6px;
}

.subHeading {
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 4px;
}

.sectionBox {
    border: 1px solid #cccccc;
    padding: 8px 10px;
    margin-top: 4px;
    margin-bottom: 10px;
    background-color: #f5f5f5;
}

.warning {
    color: #b22222;
    font-weight: bold;
}

.note {
    font-style: italic;
    margin-top: 0;
    margin-bottom: 8px;
}

.appImage {
    width: 100%;
    max-width: 130px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 4px auto;
}

.zeroBottomMargin {
    margin-bottom: 0;
}

.zeroTopMargin {
    margin-top: 0;
}

.appTable {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.appTable td {
    vertical-align: top;
    text-align: center;
    padding: 4px;
    word-break: break-word;
}

.center {
    text-align: center;
}

.toggleButtons {
    margin-top: 10px;
    margin-bottom: 6px;
    text-align: center;
}

.toggleButton {
    display: inline-block;
    padding: 6px 14px;
    margin: 0 4px;
    font-size: 0.95em;
    font-weight: bold;
    color: #ffffff;
    background-color: #007EC8;
    border: 1px solid #005a90;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
}

    .toggleButton:hover {
        background-color: #005a90;
    }

    .toggleButton.active {
        background-color: #FF9900;
        border-color: #cc7a00;
    }

.configLink {
    /* desktop default: link hidden, QR visible */
    display: none;
}

.desktopOnly {
    display: block;
}

.mobileOnly {
    display: none;
}


/* IMAGE VISIBILITY FOR DESKTOP VS MOBILE -------------------------------------*/

.appIcon {
    /* desktop: hide icons, show QR codes */
    display: none;
}

.qrImage {
    display: block;
}

.qrImageLeft {
    display: block;
    text-align: left;
}

/* Touch devices (phones, tablets incl. iPad) ---------------------------------*/
@media (hover: none) and (pointer: coarse) {
    .appIcon {
        display: block;
    }

    .qrImage {
        display: none;
    }

    .configLink {
        display: inline;
    }

    .desktopOnly {
        display: none;
    }

    .mobileOnly {
        display: block;
    }
}

.instructionsContainer {
    margin: 5px auto 15px auto;
    box-shadow: none;
}

h1 {
    font-size: 1.4em;
    margin: 2px 0 8px 0;
}

.stepTitle {
    font-size: 1.15em;
    margin-top: 18px;
    margin-bottom: 6px;
}

.sectionBox {
    padding: 6px 8px;
    margin-bottom: 8px;
}

.appImage {
    width: 100%;
    max-width: 130px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 4px auto;
}

.appTable,
.appTable tbody,
.appTable tr,
.appTable td {
    display: block;
    width: 100%;
}

    .appTable td {
        padding: 8px 0;
    }
}

@media (max-width: 600px) {
    .appTable,
    .appTable tbody,
    .appTable tr,
    .appTable td {
        display: block;
        width: 100%;
    }
    .appTable td {
        padding: 8px 0;
    }
}

@media (max-width: 767px) {
    .qrImage {
        display: none !important;
    }
}
