/* CUSTOM VARIABLES */
:root {
  --main-bg-color:#e0e0e0;
}

/* --------- NAVIGATION BLOCK -------- */
.mobile-container {
    grid-column:1/13;
    margin:auto;
    background-color: #3b3b3b;
    color: white;
    width:100%;
}
/* TOPNAV creates hamburger menu */
.topnav {
    overflow: hidden;
    background-color: var(--main-bg-color);
    position: relative;
}
.topnav #myLinks {
    display: none;
}
.topnav a {
    color:#747474;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    display: block;
}
.topnav a.icon {
    background-color: var(--main-bg-color);
    display: block;
    position: absolute;
    right: 0;
    top: 0;
}
.topnav a:link {
    color:#3b3b3b;
    padding:10px 10px;
    clear:both;
}
.topnav a:visited {
    color:#3b3b3b;
    padding:10px 10px;
    clear:both;
}
.topnav a:hover {
    background-color: #ddd;
    color: black;
    border-radius:15px;
    clear:both;
}
.active {
    background-color: #3b3b3b;
    border-radius: 15px;
    color: white !important;
}
.active2 {
    background-color: #3b3b3b !important;
    border-radius: 15px;
    color: white !important;
}
/* NAVBAR creates submenus */
.navbar {
    background-color: var(--main-bg-color);
}
/* Links inside the navbar */
.navbar a {
    float: left;
    font-size: 16px;
    color:#747474;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}
/* The dropdown container */
.dropdown {
    position:relative;
    float: left;
    overflow: hidden;
}
/* Dropdown button */
.dropdown .dropbtn {
    font-size: 17px; 
    border: none;
    outline: none;
    color:#3b3b3b;
    padding: 10px 11px 12px 11px;
    background-color: inherit; 
    font-family: inherit; /* Important for vertical alignment on mobile phones */
    margin: 0; /* Important for vertical alignment on mobile phones */
}

/* Add a background color to navbar links on hover */
.navbar a:hover, .dropdown:hover .dropbtn {
    background-color:#ddd;
    border-radius:15px;
}
/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    overflow: visible;
    position: fixed;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
/* Links inside the dropdown */
.dropdown-content a {
    overflow:hidden;
    float: none;
    color: black;
    text-decoration: none;
    display: block;
    text-align: left;
}
/* Gray background color on dropdown links on hover */
.dropdown-content a:hover {
    background-color: #ddd;
}
/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}
/* --------- FOOTER BLOCK -------- */
a.foot:link {
    color:lightblue;
}
a.foot:visited {
    color:lightblue;
}
a.foot:hover {
    color:cornflowerblue;
}
a.foot:active {
    color:lightblue;
}
/* --------- WIDE PAGE STYLES -------- */
.wrapper {
    display:grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows:minmax(120px, auto);
    grid-gap:2px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--main-bg-color);
    border-left: 2px solid #ccc;
    border-right: 2px solid #ccc;
}
.wide {
    grid-column:1/13;
    padding:8px 14px 8px 15px;
    background:#fafafa;
}
/* --------- GENERAL STYLES -------- */
html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
*, *:before, *:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
  }
body {
    font-family: 'Hind Vadodara', sans-serif;
    margin: 0;
    padding: 0;
}
figure {
    margin:0 14px 10px 0;
    width:35%;
    height:auto;
    float:left;
    display:table;
}
figcaption {
    text-align:center;
    font-style:italic;
    line-height:0.8em;
}
strong {
	text-decoration:underline;
}
.image-right {
    float:right;
    border:1px solid #333;
    margin-left:15px;
}
.italic-gray {
    font-size:9px; color:#888;
    line-height:0.8em;
}
h1 {
    display:inline;
    font-size:1.3em;
    letter-spacing:.09em;
    font-weight:600;
    color:#fbfbfb;
    background:#3b3b3b;
    padding:0 6px;
    text-transform:uppercase;
}
h2 {
    display:inline;
    font-size:1.0em;
    letter-spacing:.09em;
    font-weight:600;
    color:#fbfbfb;
    background:#5b5b5b;
    padding:0 6px;
    text-transform:uppercase;
}
h3 {
    display:inline;
    font-size:1.0em;
    letter-spacing:.09em;
    font-weight:600;
    color:#fbfbfb;
    background:#9c9c9c;
    padding:0 6px;
}
h4 {
    display:inline;
    font-size:0.8em;
    letter-spacing:.09em;
    font-weight:600;
    color:#fbfbfb;
    background:#9c9c9c;
    padding:0 6px;	
}
img {
    max-width:100%;
    height:auto;
}
.typewhitehead {
   font-family: 'Hind Vadodara', sans-serif;
   font-size: 3em;
   color:#eee;
}
.typewhite {
   font-family: 'Hind Vadodara', sans-serif;
   font-size: 1.3em;
    font-weight: 500;
   color:#eee;
}
.typeblackhead {
   font-family: 'Hind Vadodara', sans-serif;
   font-size:1.2em;
   color:#333;
   display:grid;
   justify-items:end;
   align-items:end;
}
.typeblack {
   font-family: 'Hind Vadodara', sans-serif;
   font-size:.8em;
   letter-spacing:.1em;
   color:#333;
   display:grid;
   justify-items:end;
   align-items:end;
}
.type-large {
   font-size:1em;
   letter-spacing:.1em;
   color:#333;
}
.alignment-end {
   display:grid;
   justify-items:end;
   align-items:end;    
}
.codeview {
     padding-left:10px;
     background:#fafafa;
     border: 1px solid #bbb;
     overflow:auto;
    color:#999;
    font-size: 15px;
    width:100%;
    height:auto;
}
.orange {
	color:#ef8636;
}
.green {
	color:#2a6aaa;
}
.indent {
   	padding-left:15px;
}
.indent-twice {
   	padding-left:30px;
}
.arrow-orange {
    color:#ef8636;
    padding-right:8px;
}
.arrow-green {
    color:#2a6aaa;
    padding-right:8px;
}
.sbs-left-container {
    display:grid;
    grid-template-columns:1fr;
}
.sbs-left1 {
    grid-column:1;
}
.sbs-left2 {
    grid-column:1;
}
.sbs-right-container {
    display:grid;
    grid-template-columns:1fr;
}
.sbs-right1 {
    grid-column:1;
    margin:10px 6px 10px 0;
}
.sbs-right2 {
    grid-column:1;
    margin:10px 0px 10px 6;
}
/* ***************** MEDIA QUERY **************** */
@media only screen and (min-width:620px)  {
/* --------- NAVIGATION BLOCK -------- */
.topnav {
    width:100%;
    margin: 0 auto;
    background-color: var(--main-bg-color);
}
.topnav #myLinks {
    display: inline-block !important;
}
.topnav a {
    display:inline-block;
    float: left;
    color: white;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}
.topnav a.icon {
    float: right;
    display:none;
    }
.topnav a:link {
    clear:none;
}
.topnav a:visited {
    clear:none;
}
.topnav a:hover {
    clear:none;
}
.topnav a:hover {
    background-color: #ddd;
    color: black;
} 
/* Links inside the dropdown */
.dropdown-content a {
    overflow:hidden;
    float: none;
    display: block;
    text-align: left;
}
h1 {
    font-size:1.3em;
    letter-spacing:.09em;
    padding:0 6px;
}
h2 {
    display:inline;
    font-size:1.0em;
    letter-spacing:.09em;
    font-weight:600;
    color:#fbfbfb;
    background:#6b6b6b;
    padding:0 6px;
}
h3 {
    display:inline;
    font-size:1.1em;
    letter-spacing:.09em;
    font-weight:600;
    color:#fbfbfb;
    background:#9c9c9c;
    padding:0 6px;
}
h4 {
    display:inline;
    font-size:1.0em;
    letter-spacing:.09em;
    font-weight:600;
    color:#fbfbfb;
    padding:0 6px;
}
/* --------- GENERAL STYLES -------- */
figure {
    margin:0 14px 10px 0;
    width:25%;
    float:left;
    display:table;
}
.codeview {
    font-size: 15px;
}
.sbs-left-container {
      display:grid;
    grid-template-columns: 60% 40%;
}
.sbs-left1 {
    grid-column:1;
}
.sbs-left2 {
    grid-column:2;
}
.sbs-right-container {
    display:grid;
    grid-template-columns: 40% 60%;
}
.sbs-right1 {
    grid-column:1;
    margin:10px 6px 10px 0;
}
.sbs-right2 {
    grid-column:2;
    margin:10px 0px 10px 6;
}
.sbs-3-container {
    display:grid;
    grid-template-columns: 48% 36% 16%;
}
sbs-3-left {
    grid-column:1;
    margin:10px 6px 10px 0;
}
sbs-3-middle {
    grid-column:2;
    margin:10px 6px 10px 0;
}
sbs-3-right {
    grid-column:3;
    margin:10px 6px 10px 0;
}
}
/* ***************** MEDIA QUERY **************** */
@media only screen and (min-width:900px)  {
/* --------- NAVIGATION BLOCK -------- */
.mobile-container {
    grid-column:1/9;
}
/* --------- WIDE PAGE STYLES -------- */
    .wrapper {
    display:grid;
    grid-template-columns: repeat(8, 1fr);
    grid-auto-rows:minmax(120px, auto);
    grid-gap:2px;
    background-color:#fafafa;
}
.wide {
    grid-column:2/8;
    padding:8px 8px 8px 8px;
    background:#fafafa;
    padding:0 40px;
}
/* --------- GENERAL STYLES -------- */
h1 {
    font-size:1.5em;
    letter-spacing:.09em;
    padding:0 6px;
}
h2 {
    display:inline;
    font-size:1.1em;
    letter-spacing:.09em;
    font-weight:600;
    color:#fbfbfb;
    background:#6b6b6b;
    padding:0 6px;
}
h3 {
    display:inline;
    font-size:1.0em;
    letter-spacing:.09em;
    font-weight:600;
    color:#fbfbfb;
    background:#9c9c9c;
    padding:0 6px;
}
h4 {
    display:inline;
    font-size:1.0em;
    letter-spacing:.09em;
    font-weight:600;
    color:#fbfbfb;
    padding:0 6px;
}
.codeview {
    font-size: 16px;
}
}