/* days-one-regular - latin */
@font-face {
  font-family: 'Days One';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/days-one-v14-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/days-one-v14-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/days-one-v14-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/days-one-v14-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/days-one-v14-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/days-one-v14-latin-regular.svg#DaysOne') format('svg'); /* Legacy iOS */
}

html, body {
    font-family: 'Open Sans', sans-serif;
    height: 100%;
}

body {
    background: url('../img/bg.png') top center repeat-y;
    background-size: contain;
    line-height: 1.5 !important;
    margin-top: 70px;
    top: 0 !important;
}

h1.title, h1, h2, h3, h4, .mission-statement { color: #328dbc; font-family: 'Days One', sans-serif;}

h1.title-subpage {font-size: 2.2rem}

.h1, h1 {font-size: calc(1.375rem + 1.5vw);}
.h2, h2, .title2 {font-size: 1.8rem;}
.h3, h3 {font-size: 1.55rem;}

.modal h4 { color: #0072bc; font-family: 'Days One', sans-serif;}
#leafletModal {z-index:1000}

p.mission-statement {
  font-size: 1.5em;
  font-weight: 500;
  margin: 0 10px;
}

ol {
  list-style-type: none;
  counter-reset: item;
  margin: 0;
  padding: 0;
}

ol > li {
  display: table;
  counter-increment: item;
  margin-bottom: 0.6em;
}

ol > li:before {
  content: counters(item, ".") ". ";
  display: table-cell;
  padding-right: 0.6em;    
}

li ol > li {
  margin: 0;
}

li ol > li:before {
  content: counters(item, ".") " ";
}

  /* width */
  ::-webkit-scrollbar {
      width: 10px;
    }
    
    /* Track */
    ::-webkit-scrollbar-track {
      background: rgba(0, 0, 0, 0);
      opacity: 0; 
    }
     
    /* Handle */
    ::-webkit-scrollbar-thumb {
      background: rgba(136, 136, 136, 0.20);
      opacity: 0.20; 
    }
    
    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
      background:rgba(241, 241, 241, 0.20);
      opacity: 0.20; 
    }
  

 button:focus {outline: none;}

 .btn {
  text-transform: uppercase !important;
  font-size: 1rem !important;
  padding: 5px 7px;
}

.btn-primary, .btn-secondary {background-color: #328dbc; color: #fff;}
.btn-primary.focus, .btn-primary:focus, .btn-primary:hover,
.btn-secondary.focus, .btn-secondary:focus, .btn-secondary:hover {background-color: #01ADED; color: #fff;}

.main-buttons {
  background-color: rgba(6, 47, 71, 0.8);
  position: fixed;
  top:0;
  width: 100%; 
  height: 55px; 
  padding: 10px;
  z-index: 100;
}

.main-buttons button {width: 90px; margin-right: 5px}

/*
.skiptranslate + .main-buttons {top: 40px;}
*/

.goog-te-banner-frame {
    top: auto !important;
    bottom: 0;
}

.open-toc button, .print-page button {
  text-transform: uppercase !important;
  border: none;
  color: #fff;
  border-radius: 0.25rem;
}

.nav-logo {float:right}
.nav-logo img {height: 35px;}


/* home */
.main {
  background: url(../img/bg-top.png) top center no-repeat, url('../img/bg-footer.png') bottom center no-repeat ;
  background-size: contain;
  margin-bottom: -25px;
}

body.home h1.title {font-size: 2.3em; margin-top: 10px}
body.home header {padding-bottom: 70px}
body.home section {padding-bottom: 20px}
body.video .main {padding-top: 50px;}


.u-logo {margin: 0 auto; padding-top: 30px; padding-bottom: 30px;}
.u-logo img {max-width: 100%; height: auto; margin: 0 auto;}

/* What is usetox */
.what-is-usetox {margin-bottom: 20px}
img.what-is {
  max-width: 100%; 
  margin-bottom: 20px; 
  filter: drop-shadow(10px 15px 15px #999);
}
img.modal-img {max-width: 100%}

p a.what-is-link {margin-left: 30px}
a.what-is-link {font-weight: bold;}

/* usetox user interface (Home) */
.inputs-usetox-section {margin-bottom: 60px}
.inputs-usetox-section h2 {margin-bottom:10px}

img.usetox-interface {max-width:100%}

.inputs-usetox-flex-container {display: flex; flex-direction: row;}

.inputs-usetox .inputs-usetox-flex-item-left {width: 5%}
.inputs-usetox .inputs-usetox-flex-item-right {width: 95%}

.inputs-usetox ul {list-style-type: none;}
.inputs-usetox li:before {
  content: '-';
  position: absolute;
  margin-left: -15px;
}

.input-usetox li {margin-left: 20px; list-style: none;}

.usetox-determines-flex-container {display: flex; flex-direction: row; margin-bottom: 10px}
.usetox-determines-flex-item-left {width: 7%}
.usetox-determines-flex-item-right {width: 93%}

.parent-flex {}

.parent-flex.header-images h3 {font-size: 1.2rem}

.parent-flex.header-images {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  text-align: center;
  padding-left: 170px;
  padding-right: 170px;
  margin-bottom: 50px;
}

.header-images .flex-item {
  margin-bottom: 50px;
}

.header-images img {width: 200px; margin-bottom: 15px; filter: drop-shadow(10px 15px 15px #999);}

.img-top {
  max-width: 100%;
  filter: drop-shadow(10px 15px 15px #999);
}

.imageContainer {
  vertical-align: text-bottom;
  max-width: 100%;
  padding-left:20px;
}

.sub-header {padding:20px 0}

/* Sub pages */
body.subpage header {padding-top:20px; padding-bottom: 30px;}
body.subpage header h1.title {margin-top: 40px}
body.subpage .h1, body.subpage h1 {font-size: calc(0.9rem + 1.5vw);}

.sub-title {margin-top: 10px;font-size: 1.3rem; color: #777}

.flex-container {
    display: flex;
    flex-direction: row;
}
.flex-left {
    width: 85%;
}
.flex-right {
    width: 15%;
}

.interface-image {
  position: relative;
  text-align: center;
  margin-bottom: 30px;
}

.inputs, .results {color: #c00000;}

.inputs {
  font-size: 24px;
  font-weight:bold;
  position: absolute;
  top: 17%;
  left: 46%;
}

.building-inputs {top: 15%;}
.paint-inputs {top: 11%}
.food-contact-inputs {top: 13%}
.direct-emission-inputs {top: 10%}

.results {
  font-size: 24px;
  font-weight: bold;
  position: absolute;
  top: 74%;
  left: 45%;
}

.paint-results, .direct-emission-results {top: 80%}
.food-contact-results {top: 77%}


.inputs-info, .results-info {
  float: right;
  margin-left: 15px;
  margin-bottom: 20px;
  background: rgba(217, 236, 244, 0.6);
  padding: 10px;
  box-shadow: rgb(0 0 0 / 20%) 0px 12px 28px 0px, rgb(0 0 0 / 10%) 0px 2px 4px 0px, rgb(255 255 255 / 5%) 0px 0px 0px 1px inset;
}
.inputs-info h5, .results-info h5 {
  color: #c00000;
  font-weight: bold;
  margin-left: 15px;
  margin-bottom: 15px;
}
.inputs-info ul li {list-style: none;float: left; width: 220px; margin-bottom: 15px;}
.inputs-info ul, .results-info ul {margin-left: -20px;}
.inputs-info .split {clear:both}
.blue-circle {
  background: url(../img/interfaces/blue-circle-28px.png) no-repeat;
  font-weight: 700;
  padding: 11px;
  padding-top: 3px;
  color: #fff;
  padding-left: 9px;
}

.results-info {padding-right: 20px}
.results-info ul li {list-style: none;margin-bottom: 15px;}

/* PCP page */
.additional-details {font-weight: bolder; font-size: 18px;}
#additionalInfoModal ul li {list-style: none; margin-left:-20px;margin-bottom: 15px;}

.additional-details a {font-weight: 600;color: #328dbc}
.additional-details a:hover {color: #01ADED}

.block {margin-bottom: 30px}

.leaflet-back {padding-top: 50px;}

/* Menu */
.offcanvas {
  background-color: rgba(6, 47, 71, 0.9);
  color:#fff;
}

.offcanvas-start {width: 450px}

.offcanvas-header {padding: 0.5rem;}
img.offcanvas-logo {margin: 5px 0 5px 15px; height: 35px;}
.offcanvas h1, .offcanvas h2, .offcanvas h3, .offcanvas h4 {color:#fff}
.offcanvas-header .btn-close {font-size: 1.5rem; margin-right: 0; margin-bottom: 1rem !important; opacity: .7 !important;}
.offcanvas-body {font-size: 14px; overflow-y: scroll !important; padding-top:10px}

.toc {}
.toc a, .offcanvas-footer-links a {font-weight: 500; color: #fff;}
.toc a:hover, .offcanvas-footer-links a:hover {color: #01ADED;}

.toc ul li {
  list-style: none;
  margin-left: -30px;
  border-top: 1px solid #0d547a;
}

.toc ul li:first-child {border-top: 1px solid #0d547a;}
.toc ul li:last-child {border-bottom: 1px solid #0d547a;}

.toc ul li a {display:block; padding: 5px 10px;}
.toc ul li a:hover {background: #01ADED; color: #fff; }

li.ut-active {
    background: #328dbc;
    color: #fff;
    font-weight: bold;
    padding: 5px 10px;
}


.parent-flex.offcanvas-footer-links {
  display: flex;
  flex-wrap: wrap;
  margin-top: 15px;
}

.offcanvas-footer-links .flex-item {
  width: 50%;
  box-sizing: border-box;
  margin-bottom: 10px;
}

.offcanvas-footer-links {
  background-color: rgba(0,0,0, 0.2);
  padding: 15px;
  -webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
.offcanvas-footer-links ul {margin-left: -20px}
.offcanvas-footer-links ul li {
  list-style: none;
  float: left;
  margin-right: 20px;
}

.offcanvas-footer-links .fa-image,
.offcanvas-footer-links .fa-video,
.offcanvas-footer-links .fa-book {color: #1892d2; font-size: 18px;}

.tooltip-inner {background: #222 !important}

.goog-te-gadget {color: #fff !important}
.goog-logo-link, .goog-logo-link:link {color: #1266f1 !important}
p.g-translate {margin-bottom: 0 !important}

.clear {clear:both}


/* Leaflet design page */
body.leaflet .main {
  background: none;
  padding:30px;
}

.leaflet-front {margin-bottom: 40px;}
.leaflet-front img, .leaflet-back img {box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;}

.leaflet-download {margin: 20px 0; text-align: right}
.leaflet-download .btn-primary {padding: 10px 15px;}
.leaflet-download .btn-primary a {color: #fff; text-transform: none;}

footer {padding-bottom:20px; margin-top: 40px;}
footer .row {border-top: 1px solid #d3d3d3; padding-top: 20px;}
.footer-txt {    font-size: 0.64em; margin-top: -4px; line-height: 1.7em;}
.company-logo {margin-left:10px; margin-right: 10px; margin-bottom: 10px; vertical-align: bottom}

/* Extra extra large */
@media only screen and (min-width: 1500px) {
}
  
/* Extra large */
@media only screen and (max-width: 1199px) {
  .header-images img {width: 200px;}
  body.subpage header h1.title {height: auto;}
  .h2, h2 {font-size: calc(1.225rem + .5vw);}
  .h3, h3 {font-size: calc(1.1rem + .5vw);}
  .parent-flex.header-images {padding-left: 0; padding-right: 0;}
}

/* Large */
 @media only screen and (max-width: 991px) {
  .h1, h1 {font-size: calc(1.0rem + 1.5vw);}
  .h2, h2 {font-size: calc(1.0rem + .5vw);}
  .h3, h3 {font-size: calc(0.85rem + .5vw);}
  .header-images img {width: auto; max-height: 150px;}
  .parent-flex.header-images h3 {font-size: 1rem;}
  body.subpage header h1.title {margin-top: 0px;}
  .sub-title {margin-top: 10px;font-size: 1.1rem}
  .flex-left {width: 80%;}
  .flex-right {width: 20%;}
}

/* Medium */
@media only screen and (max-width: 767px) {
  body {font-size: 0.9em;}
  body.home, body.subpage {margin-top: 70px;}
  .main {padding-bottom: 0}
  .u-logo {padding-top: 20px;}
  img.what-is {display:block; margin: 0 auto;}
  .parent-flex.header-images {  
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
  }
  .header-images .flex-item {margin-bottom: 30px;}
  .open-toc {float:left; margin-right: 10px;}
}

 /* Small and x-small */
 @media only screen and (max-width: 575px) {
  body.home header {padding-bottom: 30px;}
  .open-toc {margin-bottom: 0}
  body.home h1.title {font-size: 1.8rem;}
  .u-logo img {max-width: 70%; margin-top: 15px !important;}
  .sub-title {font-size: 1rem;}
  .offcanvas-start {width: 100%;}
  .usetox-determines-flex-item-left {width: 10%}
  .usetox-determines-flex-item-right {width: 90%}
  body.leaflet .main {padding:10px}
  }


.print-on {display:none}

