/* Global colors */
:root {
  --purewhite: #ffffff;
  --fontcolor: #c9d1d9;
  --titlecolor: #ededed;
  --grey: #8b949e;
  --pagebackground: #121212;
  --pagealtbackground: #212121;
  --black: #0a0a0a;
  --terminalbg: #353535;
  --bordercolor: #30363d;

  /*Accent Colors*/
  --accent: #22D3EE;
  --accentprimary: #8aebff;
  --accentinverse: #006877;
  --accentbg: #113238;
  --lightaccenttxt: #15474f; /*This is the old accent bg*/
  --lightpgaltbg: #ededed;
  --lightaccentbg: #cef8ff;

  /*Colors*/
  /*Accent coloring*/
  --teal: #22d3ee;
  --blue: #5a9df4;
  
  /*Pinks - Alt Accent*/
  --pink: #ec4899;
  --softpink: #f472b6;
  --pinkbg: #491630;
  --lightpinkbg: #f9cae2;

  /*Red - Errors*/    
  --red: #f45c57;
  --redbg: #350e0d;
  --lightregbg: #f7c9c8;

  /*Yellow - Wanrings*/
  --yellow: #fac71f;
  --yellowbg: #493d15;
  --lightyellowbg: #f4e8c1;
  
  /*Purples - Alt Accent*/
  --brtone: #6366f1;
  --purple:#8b5cf6;
  --softpurple: #a78bfa;
  --purplebg: #1b1033;
  --lightpurplebg: #d4c5f7;
  
  /*Green - Success*/
  --green: #35c658;
  --terminalgreen: #00d974;
  --terminalgreenbg: #0e422a;
  --lightgreenbg: #c9f2d2;
  
  /*Orange - TAG COLOR ONLY*/
  --orange: #ea9f70;
  --orangebg: #422817;
  --lightorangebg: #f9dfcf;

  /*Social Media Colors - Link page only*/
  --instagrampink: #E1306C;
  --linkedinblue: #1877F2;
  --youtubered: #FF0000;
}

* {
    box-sizing: border-box; 
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Sora';
    background-color: var(--pagebackground);
    color: var(--fontcolor);
    line-height: 1.625;
}

.style-blue {
    color: var(--accent);
}

.lg-btn {
    background-color: var(--accent);
    color: var(--accentbg);
    font-family: 'Sora-Bold';
    font-size: 18px;
    text-decoration: none;

    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 30px;
    padding-right: 30px;
    margin: 10px;

    border-radius: 10px;
}

.lg-btn:hover {
    opacity: 0.5;
    transition-duration: 0.3s;
}

div.center-align {
    text-align: center;
}

a.link {
    color: var(--accent);
    text-decoration: none;
}

/* Global config for tags */
.tags {
    margin-top: 10px;
    margin-bottom: 10px;
}

.tag {
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 20px;
    background-color: var(--accentbg);

    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 15px;
    padding-right: 15px;
    margin-right: 10px;
}

.tag-Resource {
    border: 1px solid var(--terminalgreen) !important;
    color: var(--terminalgreen) !important;
    background-color: var(--terminalgreenbg) !important;
}


.tag-Security {
    border: 1px solid var(--pink) !important;
    color: var(--pink) !important;
    background-color: var(--pinkbg) !important;
}


.tag-Informational {
    border: 1px solid var(--purple) !important;
    color: var(--purple) !important;
    background-color: var(--purplebg) !important;
}

/* Global config for the terminal */
.terminaltype {
    background-color: var(--pagealtbackground);
    text-align: center;
    padding-top: 3px;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 3px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.terminaltype .float-left {
    float: left;
}

.terminaltype .float-left .inline {
    height: 13px;
    width: 13px;
    border-radius: 50%;
    display: inline-block;
}

/* Next 3 classes are for the 3 dots to minic a window */
.terminaltype .float-left .red {
    background-color: var(--red);
}

.terminaltype .float-left .yellow {
    background-color: var(--yellow);
}

.terminaltype .float-left .green {
    background-color: var(--green);
}

.terminal, pre {
    background-color: var(--terminalbg);
    padding: 15px;
    font-family: 'JetBrainsMono', "Courier New", monospace;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.terminal span {
    color: var(--blue);
}

/* General formatting for all tables */
table {
    width: 100%;
    border-collapse: collapse;
}









/* Body for all pages */
.body .container {
    max-width: 1000px;
    margin: auto;
    padding: 40px 20px;
}

.body .section {
    margin-bottom: 100px;
}

.body .section h3 {
    border-left: 4px solid var(--accent);
    padding-left: 10px;
    font-size: 25px;
    color: var(--fontcolor);
}

/* For main tables around the website, either on the resource page, or the resources */
table.maintable tr.headrow {
    border-bottom: 2px solid var(--accent) !important;
}

/* For each row */
table.maintable tr {
    padding-top: 5px;
    padding-bottom: 5px;
}

/* For table header */
table.maintable th {
    font-weight: bold;
    text-align: left;
}

/* For table content */
table.maintable td {
    padding-right: 15px;
}









/* This is for the downloadable resources. */
/* For tables that sit at the top of documents */
table.headertable tr {
    padding-bottom: 5px;
}

table.headertable td.routedbytes {
    /*This is just for the downloadable resources*/
    text-align: left;
    font-size: 16px;
    font-weight: bold;
    padding-left: 15px;
}

table.headertable td.doctitle {
    /*This is just for the downloadable resources*/
    font-size: 30px;
    text-align: right;
    padding-right: 15px;
}

/* Bottom banner for the resources page */
/*This is just for the downloadable resources*/
table.bottombanner {
    vertical-align: top;
}

table.bottombanner img {
    height: 25px;
    width: auto;
}

table.bottombanner td {
    width: 33%;
    padding-top: 10px;
}

table.bottombanner td.l {
    padding-left: 15px;
}

table.bottombanner td.c {
    text-align: center;
}

table.bottombanner td.r {
    text-align: right;
    padding-right: 15px;
}

/* Top banner for the blocks on the downloadable resource pg */
.headerbanner {
    text-transform: uppercase;
    font-weight: bold;
    padding-left: 10px;
}

/* Body container for the blocks on the downloadable resource pg */
.bodybox {
    padding: 10px;
}

/*Resource coloring dark*/
.theme-dark table.headertable tr {
    border-bottom: 1px solid var(--bordercolor);
}

.theme-dark table.bottombanner {
    color: var(--bordercolor);
}

.theme-dark table.headertable td.routedbytes {
    color: var(--accent);
}

.theme-dark table.headertable td.doctitle {
    color: var(--fontcolor);
}

.theme-dark table.maintable th {
    color: var(--accent);
}

.theme-dark table.maintable tr {
    border-bottom: 1px solid var(--bordercolor);
}

.theme-dark table.maintable tr.importantrow {
    background-color: var(--accentbg);
    color: var(--accent);
    font-weight: 500;
}

.theme-dark table.bottombanner {
    border-top: 1px solid var(--bordercolor);
}

.theme-dark .headerbanner {
    color: var(--accent);
    border-left: 5px solid var(--accent);
    background: var(--accentbg);
}

.theme-dark .bodybox {
    background-color: var(--pagealtbackground);
}

.theme-dark table.maintable tr.headrow {
    background-color: var(--pagealtbackground);
}

/* Resource coloring light*/
body.theme-light {
    color: var(--pagebackground);
    background: var(--purewhite);
}

.theme-light table.bottombanner img {
    opacity: 0.1;
}

.theme-light table.headertable tr {
    border-bottom: 1px solid var(--titlecolor);
}

.theme-light table.bottombanner {
    color: var(--titlecolor);
}

.theme-light table.headertable td.routedbytes {
    color: var(--accent);
}

.theme-light table.headertable td.doctitle {
    color: var(--pagebackground);
}

.theme-light table.maintable th {
    color: var(--accent);
}

.theme-light table.maintable tr {
    border-bottom: 1px solid var(--titlecolor);
}

.theme-light table.bottombanner {
    border-top: 1px solid var(--titlecolor);
}

.theme-light .headerbanner {
    color: var(--lightaccenttxt);
    border-left: 5px solid var(--accent);
    background: var(--lightaccentbg);
}

.theme-light .bodybox {
    background-color: var(--lightpgaltbg);
}

.theme-light table.maintable tr.headrow {
    background-color: var(--lightpgaltbg);
}

.theme-light table.maintable tr.importantrow {
    background-color: var(--lightaccentbg);
    color: var(--accent);
    font-weight: 500;
}

.theme-light .resourcepg .disclaimer {
    border-left: 5px solid var(--pink);
    background-color: var(--lightpinkbg);
    color: var(--pagebackground)
}

.resourcepg .container {
    min-width: 1000px !important;
}

.resourcepg .disclaimer {
    border-left: 5px solid var(--pink);
    
    padding-top: 2px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 2px;

    font-style: italic;
    background-color: var(--pinkbg);
}

.resourcepg .row:after {
    content: "";
    display: table;
    clear: both;
}

.resourcepg .column {
    float: left;
    width: 50%;
    padding: 5px;
}









/* Responsive */
@media screen and (max-width: 1200px){
    .body .container {
        max-width: 800px;
    }    

    .header .welcome {
        max-width: 800px;
    }

    .body #about .column .about-inner-card {
        height: 400px;
    }

    .body .resource-card, .related-card {
        width: 49%;
    }

    .card_blog_new {
      width: 49% !important;
    }
}

@media screen and (max-width: 1100px){
    .footer {
        width: 90%;
    }

    .footer .left {
        width: 40%;
    }

    .footer .center, .footer .right {
        width: 25%;
    }

    .card_blog_new {
      width: 100% !important;
    }

    .card_blog_new .blog-card {
      height: 300px;
    }
}

@media screen and (max-width: 1000px){
    .body .container {
        max-width: 600px;
    }    

    .header .welcome {
        max-width: 600px;
    }

    .body #about .column .about-inner-card {
        height: 450px;
    }

    .body .resource-card, .related-card {
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 900px){
    .footer .column-inner {
        padding: 0px;
    }

    .footer .left {
        width: 100%;
    }

    .footer .center, .footer .right {
        width: 50%;
    }

    .blog .blog-width {
        max-width: 70%;
    }
}

@media screen and (max-width: 700px){
    .body .container {
        max-width: 500px;
    }    

    .header .welcome {
        max-width: 500px;
    }

    .linkpg .container {
        max-width: 400px;
    }

    .body #about .column {
        width: 100%;
        padding-top: 0px;
        padding-bottom: 10px;
        padding-left: 0px;
        padding-right: 0px;
    }
    
    .body #about .column .about-inner-card {
        height: auto;
        padding: 10px;
    }

    .card_blog_new .blog-card {
      height: 400px;
    }
}

@media screen and (max-width: 600px){
    .header .nav h1 {
        font-size: 20px;
    }

    .header .nav .logo {
        height: 15px;
        width: auto;
    }

    .body .container {
        max-width: 400px;
    }    

    .header .welcome {
        max-width: 400px;
    }

    .blog .blog-width {
        max-width: 80%;
    }

    .linkpg .container {
        max-width: 80%;
    }
}

@media screen and (max-width: 500px){
    .nav .text {
        display: none;
    }

    .footer {
        margin: auto;
        width: 80%;
    }

    .footer .left {
        width: 100%;
    }

    .footer .center, .footer .right {
        width: 100%;
    }

    .body .container {
        max-width: 80%;
    }    

    .header .welcome {
        max-width: 80%;
    }

    .blog .blog-width {
        max-width: 85%;
    }

    .linkpg .container {
        max-width: 85%;
    }

    .card_blog_new .blog-card {
      min-width: 200px;
      height: 450px;
    }
}

@media screen and (max-width: 500px){
    .footer {
        margin: auto;
        width: 90%;
    }

    .body .container {
        max-width: 90%;
    }    

    .header .welcome {
        max-width: 90%;
    }

    .blog .blog-width {
        max-width: 90%;
    }
}