* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/*
 * -- BASE STYLES --
 * Most of these are inherited from Base, but I want to change a few.
 */

html{
  height:100%;
} 

body {
    line-height: 1.7em;
    color: #7f8c8d;
    font-size: 13px;  
    min-height: 100%;
    display:flex;    
}

div {
    text-align: justify
}

h1,
h2,
h3,
h4,
h5,
h6,
label {
    color: #34495e;
}


.pure-img-responsive {
    max-width: 100%;
    height: auto;
}

.default-border {
  border: 2px solid darkgrey; 
  padding:5px;
}

/*
 * -- LAYOUT STYLES --
 * These are some useful classes which I will need
 */
.l-box {
    padding-right: 1em;
    padding-left: 1em;
}

.l-box-lrg {
    /*padding: 2em;*/
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

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

.centered-content {
    display:flex;
    flex-direction: row;
    justify-content: center;
}

.centered-element {
    margin-left:auto; 
    margin-right:auto;
}

img.horizontal-centered {
    display: block;
    margin: 0 auto;
}

div.max_width {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

div.max_height {
    max-height: 570px;
}

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */	
    height: 0;    
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
    left: 0;    
    right: 0;
	width: 100%;
    height: 100%;
    max-width: 1000px;
    max-height: 562.5px;
    margin-left: auto;
    margin-right: auto;
}

/*
 * -- PURE FORM STYLES --
 * Style the form inputs and labels
 */
 
.pure-form label {
    margin: 1em 0 0;
    font-weight: bold;
    font-size: 100%;
}

/*
.pure-form input[type] .extra{
    border: 2px solid #ddd;
    box-shadow: none;
    font-size: 100%;
    width: 100%;
    margin-bottom: 1em;
}
*/

/*
 * -- PURE BUTTON STYLES --
 * I want my pure-button elements to look a little different
 */
.pure-button {
    background-color: #1f8dd6;
    color: white;
    padding: 0.5em 2em;
    border-radius: 5px;
}

a.pure-button-primary {
    background: white;
    color: #1f8dd6;
    border-radius: 5px;
    font-size: 120%;
}

a.button-success {
    background: rgb(28, 184, 65); /* this is a green */
}

a.button-error {
    background: rgb(202, 60, 60); /* this is a maroon */
}

a.button-warning {
    background: rgb(223, 117, 20); /* this is an orange */
}

a.button-secondary {
    background: rgb(66, 184, 221); /* this is a light blue */
}

a.button-large {
    font-size: 110%;
}

a.button-xlarge {
    font-size: 125%;
}

/*
 * -- MENU STYLES --
 * I want to customize how my .pure-menu looks at the top of the page
 */

.home-menu {
    padding: 0.5em;
    text-align: center;
    box-shadow: 0 1px 1px rgba(0,0,0, 0.10);
}
.home-menu {
    background: #2d3e50;
}
.pure-menu.pure-menu-fixed {
    /* Fixed menus normally have a border at the bottom. */
    border-bottom: none;
    /* I need a higher z-index here because of the scroll-over effect. */
    z-index: 4;
}             

.home-menu .pure-menu-heading {
    color: white;
    font-weight: 400;
    font-size: 140%;
    text-transform: none;
}

.pure-menu-horizontal {
    white-space : normal;
}

.home-menu .pure-menu-selected a {
    color: white;
}                    

.home-menu a {
    color: #dddddd;
}
.home-menu li a:hover,
.home-menu li a:focus {
    background: none;
    border: none;
    color: #AECFE5;
}


/*
 * -- SPLASH STYLES --
 * This is the blue top section that appears on the page.
 */

.splash-container {
    background: #1f8dd6;
    z-index: 1;
    overflow: hidden;
    /* The following styles are required for the "scroll-over" effect */
    width: 100%;
    height: 95%;
    top: 0;
    left: 0;
    position: fixed !important;
}

.splash {
    /* absolute center .splash within .splash-container */
    width: 80%;
    height: 50%;
    margin: auto;
    position: absolute;
    top: 100px; left: 0; bottom: 0; right: 0;
    text-align: center;   
}

/* This is the main heading that appears on the blue section */
.splash-head { 
    width: 100%;   
    font-size: 25px;
    font-weight: bold;
    color: black;    
    padding: 0.5em 1.6em;    
    border-radius: 5px;
    line-height: 1em;
}

/* This is the subheading that appears on the blue section */
.splash-subhead {
    color: white;    
    opacity: 0.8;
}

/*
 * -- CONTENT STYLES --
 * This represents the content area (everything below the blue section)
 */
.content-wrapper {
    /* These styles are required for the "scroll-over" effect */
    position: absolute;
    top: 92%;
    width: 100%;
    min-height: 12%;
    z-index: 2;
    background: white;

}


/* This is the class used for the main content headers (<h2>) */
.content-head {
    font-weight: 400;    
    /*letter-spacing: 0.1em;*/
    /*margin: 2em 0 1em;*/
}

/* This is a modifier class used when the content-head is inside a ribbon */
.content-head-ribbon {
    color: white;
}

/* This is the class used for the content sub-headers (<h3>) */
.content-subhead {
    color: #1f8dd6;
}

.content-subhead i {
    margin-right: 7px;
}

.content-main {
  margin-top:100px;
  min-height:100%;  
    
  padding-top:100px;
  -webkit-flex: 1;
            flex: 1;
  margin:0px auto;
   
}
/* This is the class used for the dark-background areas. */
.ribbon {
    background: #2d3e50;
    color: #aaa;
}

/* necessary to fix anchor positions*/
.anchor {
    padding-top: 90px;
    margin-top: -90px;
    -webkit-background-clip: content-box;
    background-clip: content-box;
}

.site {
    display: -webkit-flex;
    display: flex;
    min-height: 100vh; 
    -webkit-flex-direction: column;
            flex-direction: column;
    margin:0;
}

.header {
    max-width:600px;
    width:100%;
    margin: 0 auto;
}

/* This is the class used for the footer */
.footer {
    background: #111;                    
}

/*
 * -- TABLET (AND UP) MEDIA QUERIES --
 * On tablets and other medium-sized devices, we want to customize some
 * of the mobile styles.
 */
@media (min-width: 48em) {

    /* We increase the body font size */
    body {
        font-size: 16px;
    }
    /* We want to give the content area some more padding */
    .content {
        padding: 1em;
    }

    /* We can align the menu header to the left, but float the
    menu items to the right. */
    .home-menu {
        text-align: left;
    }
        .home-menu ul {
            float: right;
        }

    /* We increase the height of the splash-container */
/*    .splash-container {
        height: 500px;
    }*/

    /* We decrease the width of the .splash, since we have more width
    to work with */
    .splash {
        width: 50%;
        height: 50%;
    }

    .splash-head {
        font-size: 250%;
    }


    /* We remove the border-separator assigned to .l-box-lrg */
    .l-box-lrg {
        border: none;
    }

}

/*
 * -- DESKTOP (AND UP) MEDIA QUERIES --
 * On desktops and other large devices, we want to over-ride some
 * of the mobile and tablet styles.
 */
@media (min-width: 78em) {
    /* We increase the header font size even more */
    .splash-head {
        font-size: 300%;
    }
}

.antibot {
  display : none; 
}

.green {
    color: #00cc00;
}

.red {
    color: #cc0000;
}

.nearlyWhite {
    color: #dddddd;
}

p.big_key {
   font-family: Lucida Console;
   font-size: 40px;
   font-weight: bold;
   line-height: 40px;
}

div.codebox {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    background-color: lightgray;
    color: #000000b3;
    padding: 10px;
    display: inline-block;
    padding-left: 20px;
    margin-left: 10px;
}


/*
 * -- Pure css theme switcher on the front page --
 */
 
 .themeSelector {
  display: block;
  position: relative;      
  cursor: pointer;
  font-size: 19px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.themeSelector input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
  display:none;
}

#changeTheme_main {
  display:none;
}
          
#changeTheme_main:checked ~ #img_mainwindow {
  display:none;
}

#changeTheme_main:not(:checked) ~ #img_mainwindow_dark {
  display:none;
}


#changeTheme_preview {
  display:none;
}

#changeTheme_preview:checked ~ #img_previewwindow {
  display:none;
}

#changeTheme_preview:not(:checked) ~ #img_previewwindow_dark {
  display:none;
}