html, body {margin: 0; padding: 0;} html {font-size: 100%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%;}

@font-face {font-family: 'Mazin'; font-style: normal; font-weight: 400; font-display: block;
  src: local(''), url('fonts/mazin-400.woff2') format('woff2'), url('fonts/mazin-400.woff') format('woff');
}
@font-face {font-family: 'Mazin'; font-style: normal; font-weight: 500; font-display: block;
  src: local(''), url('fonts/mazin-500.woff2') format('woff2'), url('fonts/mazin-500.woff') format('woff');
}

@font-face {font-family: 'Cabrito'; font-style: normal; font-weight: 500; font-display: block;
  src: local(''), url('fonts/cabrito-500.woff2') format('woff2'), url('fonts/cabrito-500.woff') format('woff');
}
@font-face {font-family: 'CabritoCond'; font-style: normal; font-weight: 400; font-display: block;
  src: local(''), url('fonts/cabrito-400-cond.woff2') format('woff2'), url('fonts/cabrito-400-cond.woff') format('woff');
}


#width {position: fixed; top: 0; z-index: 20; padding: 0 3px; font-size: 11px; line-height: 14px; font-family: Arial, Helvetica, sans-serif; background-color: #FF0;}
a, a:visited, a:hover {color: #2E3FE1;} a {text-decoration: underline; text-decoration-thickness: 1px; text-decoration-style: dotted; text-underline-offset: .13em; cursor: pointer;}
a:focus-visible {outline: 2px solid var(--focus, #66AFE9); outline-offset: 2px;}
a {-webkit-tap-highlight-color: transparent);} img {border: 0;}

/*----------------------*/

/*HEADER*/

/*header {border: 1px solid green} #headtext {border: 1px solid orange} #headtext h1 {border: 1px solid #666;}
#logo {border: 1px solid blue} #logo img {border: 1px solid orange} #logo a {border: 1px solid cyan}*/

header {width: 100%; margin: 0 auto; z-index: 1; color: #FFE79B;}
header section:first-child {display: table; height: 100%; position: relative; margin: auto; padding: 12px 0 15px 0; text-align: center; width: 95%; max-width: 1300px;}
header div {display: table-cell;} header div:not(.navback div) {vertical-align: middle;}

#logo img {display: block; width: 200px; height: 83px;}

#headtext h1 {font-family: 'CabritoCond', Arial, Helvetica, sans-serif; line-height: 1.2; font-weight: 400;}
@media (max-width: 760px) {#headtext span {display: block;}}
@media (min-width: 665px) {#headtext h1 {font-size: 32px;}}
@media (max-width: 664px) {#headtext h1 {font-size: 4.8vw;}}
@media (max-width: 500px) {#headtext h1 {font-size: 5.1vw;}}

@media (max-width: 700px) {header section:first-child {width: 93%;}}
@media (min-width: 501px) {header {background-color: #2C0000;} #headtext {text-align: right;}}
@media (max-width: 500px) {
header {-webkit-display: flex; display: flex; -webkit-flex-direction: column; flex-direction: column; border-bottom: 6px solid var(--menuback); background-color: #4E0114;}
header section:first-child {-webkit-order: 2; order: 2; padding-top: 0;} header section:last-child {-webkit-order: 1; order: 1;}
header div {display: block;} #logo img {margin: 15px auto 0 auto;}
#logo {width: auto; margin: 0 auto 20px auto; text-align: center;} #logo a {display: inline-block;}
#headtext h1 {font-size: 25px;}
}

/*-----------------------------------------------*/

/*MENU*/

/*.navback {border: 1px solid #DDD;} nav {border: 1px solid magenta;} nav div {border: 1px solid blue;}
nav a {border: 1px solid cyan !important;} .ham {border: 1px solid black;}*/

.navback {z-index: 1;} #navcheck {display: none;} nav, nav a {-webkit-user-select: none; user-select: none;}
nav .selected {cursor: text; pointer-events: none;}
nav a {text-decoration: none; height: 65px; font-size: 20px; line-height: 1.3;}
nav div:last-child a {font-size: 24px; font-weight: 500;}

@media (min-width: 1276px) {nav a {padding: 2px 22px 4px 22px}}
@media (max-width: 1275px) and (min-width: 1161px) {nav a {padding: 2px 18px 4px 18px; font-size: 19px;}}

@media (min-width: 1161px) {
.ham {display: none;} nav {display: table; text-align: center; margin: auto;} nav a {transition: .2s;}
nav div, nav a {display: table-cell; vertical-align: middle;} nav span {display: block;}
}
@media (max-width: 1160px) {
nav {text-align: center; visibility: hidden; margin: 0 0 0 -1px; border-bottom: 1px solid var(--menuline); font-size: 0; line-height: 0;}
nav div {max-height: 0; display: inline-block; transition: .2s ease-in-out; font-size: 0; line-height: 0; padding: 0;}
nav a, nav div:last-child a {width: 1%; height: 0;display: table-cell; vertical-align: middle; opacity: 0; font-size: 0; padding: 0; -webkit-transition: .15s background, .3s font-size ease-out, .2s opacity ease-out, .3s padding ease-out, .25s height; border-top: 1px solid var(--menuline); border-left: 1px solid var(--menuline);}

#navcheck:checked ~ nav {visibility: visible;}
#navcheck:checked ~ nav div {max-height: 100px;}
#navcheck:checked ~ nav a {height: 60px; font-size: 22px; opacity: 1; padding: 0 0 1px 0;}
#navcheck:checked ~ nav div:last-child a {font-size: 24px; font-weight: 500;}

#navcheck:checked ~ .ham div {width: 0; transform: rotateX(180deg); transition-timing-function: ease;}
#navcheck:checked ~ .ham div:before {-webkit-transform: rotateZ(37deg); top: 0;}
#navcheck:checked ~ .ham div:after {-webkit-transform: rotateZ(-37deg); top: 0;}

.ham, .ham * {-webkit-touch-callout: none; -webkit-user-select: none; user-select: none; touch-action: manipulation;}
.ham {position: relative; display: table; height: 30px; width: 39px; margin: auto; padding: 10px; -webkit-tap-highlight-color: transparent;}
.ham:hover {cursor: pointer;}
.ham div {top: 24px; left: 10px; -webkit-transition: -webkit-transform 0.35s ease-out;}
.ham div, .ham div:before, .ham div:after {position: absolute; display: block; content: ""; height: 3px; width: 38px; opacity: 1; background: #FFF; border-radius: 1px;}
.ham div:before {top: -10px;} .ham div:after {top: 10px;}
}

@media (max-width: 1160px) and (min-width: 816px) {nav div {width: 25%;} #navcheck:checked ~ nav a {height: 75px; font-size: 20px;}}
@media (max-width: 1160px) and (min-width: 456px) {nav div:nth-child(5) span, nav div:nth-child(7) span {display: inline;}}
@media (max-width: 1160px) and (min-width: 401px) {nav a {white-space: nowrap;} nav span {display: block;}}
@media (max-width: 815px) and (min-width: 621px) {
nav div {width: 33.3%;} nav div:first-child, nav div:last-child {width: 100%;}
#navcheck:checked ~ nav div:first-child a, #navcheck:checked ~ nav div:last-child a {height: 55px;}
#navcheck:checked ~ nav a {height: 75px; font-size: 20px;}
}
@media (max-width: 620px) and (min-width: 401px) {nav div {width: 50%;} #navcheck:checked ~ nav a {height: 75px; font-size: 20px;}}
@media (max-width: 400px) {nav div {width: 100%;} #navcheck:checked ~ nav a {font-size: 19px;}}
@media (max-width: 500px) {.navback {margin-top: 2px;}} /*always stays 500px*/
@media (max-width: 335px) {nav div:nth-child(4) span {display: block;} #navcheck:checked ~ nav div:nth-child(4) a {height: 70px;}}

@media (min-width: 1161px) {:root {--menuselect: #500D0F;}}
@media (max-width: 1160px) {:root {--menuselect: #0D383B;}}
:root {--menuline: #4B9091; --menuback: #1C5253; --menuhover: #407A7B;} /*other nice back colors: #414535*/
.navback, nav {background-color: var(--menuback);} nav a {color: #FFF !important;}
nav .selected {background-color: var(--menuselect);} nav a:hover:not(.selected) {background-color: var(--menuhover);}

/*-----------------------------------------------*/

/*#toparea section {border: 1px solid green}*/

#toparea {margin: auto; background: #440B10 url("webback.png") repeat;}
#toparea .bodyarea {-webkit-display: grid; display: grid; padding: 0;}
#toparea div {color: #FFF;}
#toparea .tophead {font-family: 'CabritoCond', Arial, Helvetica, sans-serif; font-size: 2em; font-weight: 400; line-height: 1.2; font-weight: 400;}
#toparea h1:not(.tophead) {font-family: 'CabritoCond', Arial, Helvetica, sans-serif; font-size: 1.4em; line-height: 1.45; font-weight: 400; color: #FFE79B;}
#toparea img {display: block; width: 600px; height: 350px; width: 100%; height: 100%; object-fit: cover; border-radius: 8px;}
#toparea p {margin-bottom: 0;}

/*#toparea section:first-child {height: 80%; align-self: center;}*/

@media (min-width: 1101px) {#toparea .bodyarea {grid-template-columns: 50% 50%;}}
@media (max-width: 1100px) and (min-width: 1016px) {#toparea .bodyarea {grid-template-columns: 45% 55%;}}
@media (min-width: 1016px) {
#toparea .bodyarea {grid-auto-rows: 1fr;}
#toparea section:first-child {margin-right: 20px; padding: 50px 0;}
#toparea section:last-child {margin-left: 20px; padding: 50px 0;}
#toparea img {object-position: 70% 50%;}
}
@media (max-width: 1015px) {
#toparea section:first-child {padding: 50px 0 0 0;} #toparea section:last-child {margin: 40px 0 50px 0;}
#toparea img {/*height: calc(80px + 45vw);*/ max-height: 450px; object-position: 50% 65%;}
}
@media (max-width: 670px) {#toparea section:first-child {padding: 40px 0 0 0;}}
@media (max-width: 500px) {
#toparea section:first-child {padding: 0;} #toparea img {border-radius: 0 0 8px 8px; max-height: 400px; object-position: 50% 20%;}
#toparea .bodyarea {width: 100%;} #toparea section:last-child {margin: 35px auto 40px auto; width: 90%;}
}

/*----------------------*/

body {font-family: 'Mazin', Arial, Verdana, Geneva; font-variant-ligatures: none; font-size: 100%;}
.bodyarea {text-align: left; padding: 40px 0 20px 0; margin: auto; line-height: 1.7;}
.bodyarea, h2 {font-size: 20px; font-weight: 400;}
.bodyhead {font-family: 'Cabrito', Arial, Helvetica, sans-serif; padding-bottom: 10px; font-weight: 500; font-size: 1.9em; line-height: 1.25; text-align: center;}
h1, h2, h3 {margin: 0 !important;}

@media (max-width: 800px) {.bodyhead {font-size: 1.65em;}}
@media (max-width: 600px) {.bahome {padding-top: 0;}}
@media (max-width: 360px) {.bodyarea {width: 88%;} .bodyhead {font-size: 1.6em;}}

.heading, .heading2 {font-family: 'Cabrito', Arial, Helvetica, sans-serif; font-weight: 500; line-height: 1.35; display: table;}
.heading {font-size: 1.45em;} .heading2 {font-size: 1.35em;}

@media (min-width: 501px) {.bodyarea {width: 85%; max-width: 1300px;}}
@media (max-width: 500px) {.bodyarea {width: 90%;}}

ul.thislist {margin-left: -15px;} ul.thislist li:not(ul.thislist li:last-child) {padding-bottom: 15px;}

@media (max-width: 330px) {.rep {display: block; font-size: 10.8vw;}}

/*-----------------------------------------------*/

/*Home Page Blocks*/

/*.piccontent {border: 1px solid red} .piccontent .heading {border: 1px solid blue}
.text-wrapper {border: 1px solid green} .pictxt  {border: 1px solid magenta}*/

.pcback {padding: 35px 0 40px 0;} .pcback:nth-child(odd) {background-color: #E4D6AA;}
.piccontent {width: 85%; max-width: 1300px; margin: 15px auto 12px auto; font-size: 20px; line-height: 1.6; clear: both; overflow: auto;}
.piccontent .heading {font-size: 1.8em; line-height: 1.3;}
.pictxt p {margin-bottom: 0;}
.pcpagepic img {border-radius: 8px; width: 100%; height: auto; display: block;} .pcpicwide {max-width: 500px;}

@media (min-width: 1016px) {
.piccontent .heading {margin-bottom: 20px;} .pcpictall {max-width: 350px;}
.pcpicleft {float: left; margin: 12px 40px 10px 0;} .pcpicright {float: right; margin: 12px 0 10px 40px;}
}
@media (max-width: 1050px) and (min-width: 1016px) {.pcpicwide {max-width: 430px;}}
@media (max-width: 1015px) {
.piccontent {display: flex; flex-direction: column;}
.heading {order: 1; text-align: center;} .pcpagepic {order: 2; float: none; margin: 30px auto 35px auto; text-align: center;}
.pcpictall {max-width: 400px;}
.text-wrapper {order: 3; display: contents;} .pictxt {order: 3;}
}

/*-----------------------------------------------*/

/*Benefits & Use Cases Blocks*/

#blocks {margin: 30px auto 25px auto; text-align: center; color: #FFF; clear: both;} #blocks * {box-sizing: border-box;}
.blk {color: #FFF; font-size: .95em; line-height: 1.5; border-radius: 8px; text-align: left; background-color: #500D0F;}
.blkhead {font-size: 36px; margin: auto !important; text-align: center; color: #900000;}

.blk h4 {width: 100%; margin: 0; line-height: 1.3; font-weight: 400; color: #FFF; display: block; font-family: 'CabritoCond', Arial, Helvetica, sans-serif; background-color: #1C5253; border-radius: 10px 10px 0 0;}
@media (min-width: 1151px) {.blk h4 {padding: 12px 25px 10px 25px; font-size: 1.45em;}}
@media (max-width: 1150px) {.blk h4 {padding: 12px 20px 10px 20px; font-size: 1.35em;}}

.blk ul li:not(ul li:last-child) {padding-bottom: 15px;}

/*Benefits on Home Page*/
@media (min-width: 751px) {
.benefblock {display: flex; flex-wrap: wrap; justify-content: center;}
.benefblock .blk {flex: 1 1 20%; margin: 8px;} .benefblock .blk ul {padding: 5px 25px 7px 45px;}
}
@media (max-width: 750px) {.benefblock .blk {margin: 20px auto;} .benefblock .blk ul {padding: 5px 25px 25px 45px;}}

/*Common Use Cases on Workbook Page*/
.usecases .blk ul {padding: 5px 25px 25px 45px;}
.usecases .blk {margin: 10px auto; max-width: 500px;}

/*-----------------------------------------------*/

/*Page Pics*/

.pagepic img {border-radius: 10px; width: 500px; height: 300px; width: 100%; height: auto; display: block; margin: auto;}
.picwide {max-width: 500px;} .pictall {max-width: 350px;}
.picleft {float: left; margin: 10px 40px 30px 0;} .picright {float: right; margin: 10px 0 30px 40px;}
@media (max-width: 1050px) and (min-width: 871px) {.picwide {max-width: 430px;}}
@media (max-width: 870px) {.picleft, .picright {text-align: center; float: none; margin: 35px auto;} .pictall {max-width: 400px;}}

/*----------------------*/

/*#buynow, #buynow * {border: 0px solid red}*/

#buynow {text-align: center; margin: 30px auto; font-size: 1.2; font-weight: 500;}
#buynow p {margin: 0; padding: 0;} #buynow span {display: block; line-height: 1.3;}
#buynow section {text-align: center; margin: auto; vertical-align: bottom; padding: 15px 25px; background-color: #E4D6AA; border-radius: 8px; border-spacing: 25px}
#buynow img:not(.amazon) {width: 185px; height: 239px; display: block; margin: 10px auto 8px auto; text-align: center;}
#buynow .amazon {margin-top: 5px; width: 85px; height: 41px;}
#buynow .avail {font-size: .85em; line-height: 1.4; margin-top: 12px;}

@media (min-width: 1551px) {#buynow section {display: inline-block; margin: 5px;} #buynow span {height: 90px; align-content: center;}}
@media (max-width: 1550px) {#buynow {max-width: 800px;} #buynow section {display: inline-block; margin: 5px;}}
@media (max-width: 950px) {#buynow {max-width: 600px;}}
@media (max-width: 950px) and (min-width: 641px) {#buynow span:not(section:last-child span) {height: 90px; align-content: center;}}
@media (max-width: 670px) {#buynow section {padding: 10px 20px;}}
@media (max-width: 640px) {#buynow {max-width: 400px;} #buynow section {display: block; margin: 15px 0;}}

.btn {text-align: center; margin: 15px auto 10px auto;}
.btn a {margin: auto; text-align: center; font-size: .9em; line-height: 1.4; font-weight: 400; background-color: #666; -webkit-transition: 0.15s; white-space: nowrap; border-radius: 4px; padding: 9px 13px; color: #FFF !important; text-decoration: none; font-family: Mazin;}
.btn a:hover {background-color: #888;}

/*-----------------------------------------------*/

/*BOTTOM AREA*/

footer {font-size: 15px; line-height: 1.6; padding: 25px; text-align: center;}
footer a {white-space: nowrap;} footer p {margin: 13px auto;} .btmph {margin-top: 5px; font-size: 20px;}

.web {font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 1.5; color: #DDD !important;}
.web a {text-decoration: none; color: inherit;} .web a:hover span {color: #F65246;}
.web img {vertical-align: top;}

#totop {position: fixed; right: 14px; bottom: 12px; z-index: 100; width: 28px; height: 28px; display: grid; align-items: center; justify-content: center; text-decoration: none; font-family: Arial, sans-serif; font-size: 24px; color: #999 !important; line-height: 0; transform: rotate(270deg);}

/*====================================================*/

/*COLORS*/

body {color: #444;} body {background-color: #F3EDDA;}
.bodyhead {color: #407A7B;} .heading {color: #900000;} .heading2 {color: #000;}
footer {background-color: #222;} footer, footer a {color: #FFF !important;}
