/**
 * https://github.com/eliasson/liquorice/
 *
 * Copyright © 2014. Markus Eliasson <markus.eliasson.gmail.com>
 *
 * Liquorice is released under the MIT license.
 *
 * The CSS grid used by liquorice is based on the Skeleton grid:
 *
 *   Skeleton V1.2
 *   Copyright 2011, Dave Gamache
 *   www.getskeleton.com
 *   Free to use under the MIT license.
 */

/** States ******************************************************************/
.li-right {
    float: right
}

.li-left {
    float: left;
}

/*
* {box-sizing:border-box}
*/

/* Slideshow container */
.slideshow-container {
  max-width: 100%;
  text-align: center;
  position: relative;
  /* margin: auto; */
}

.ghost-center {
    position: relative;
}

.ghost-center::before {
    content: " ";
    display: inline-block;
    height: 100%;
    width: 1%;
    vertical-align: middle;
}

.ghost-center p {
    display: inline-block;
    vertical-align: middle;
}

.slideshow-text-container {
  max-width: 100%;
  text-align: center;
  position: relative;
  /* margin: auto; */
}

.slideshow-text-container p {
  padding: 4px 10px;
  display: inline-block;
  font-size: 150%;
  vertical-align: middle;
  /* margin: auto; */
}


/* Hide the images by default */
.mySlides {
  display: none;
}

.mySlideDescripts {
  display: none;
}

.mySlides img {
    width: 90%;
}

/* Caption text */
.text {
  color: #000;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 1.2s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 2.5s;
  animation-name: fade;
  animation-duration: 2.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* video {
    width: 100%;
    max-height: 100%;
} */

#lg_vid {
    width: 100%;
    max-height: 100%;
}

#sm_vid {
    display: block;
    width: 50%;
    max-height: 100%;
    margin: auto;
}

#t01 {
    width: 40%;
    border: 1px solid black;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

#t02 {
    width: 50%;
    border: 1px solid black;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

#t03 {
    width: 70%;
    border: 1px solid black;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

table th {
    padding: 5px;
    border-left: 1px solid black;
    border-right: 1px solid black;
    border-bottom: 1px solid black;
}

table td {
    border-left: 1px solid black;
    border-right: 1px solid black;
}


/*

.button-container {
    position: relative;
    display: inline-block;
    text-align: center;
    border: 5px solid red;
}

.BTTN {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 100px;
    height: 30px;
}

*/
/*
.topnav {
    overflow: hidden:
    background-color: #333;
}

.topnav a {
    float: left;
    display: block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}
*/

.img_arr2 {
    position: relative;
    display: inline-block;
    text-align: center;
}

.img_arr2 img {
    max-width: 2%;
    height: auto;
    margin-left: 2px;
    margin-right: 2px;
    margin-top: 5px;
    vertical-align: middle;
}

.img_arr {
    position: relative;
    display: inline-block;
    text-align: center;
}

.img_arr img {
    max-width: 12%;
    height: auto;
    margin-left: 2px;
    margin-right: 2px;
    margin-top: 5px;
    vertical-align: middle;
}

.header-container2 {
    position: relative;
    text-align: center;
    background-image: url(/images/banner_2k.png);
    background-repeat: no-repeat;
    height: 299px;
    background-position: center;
    background-size: cover;
    background-clip: padding-box;
}

.header-container {
    position: relative;
    text-align: center;
    color: black;
}

.header-container2 .BTN2 {
    background-color: #ffffff99;
    /* left: 50%;
    transform: translateX(-50%); */
    transform: translateY(530%);
    text-align: center;
    text-shadow: 2px 2px 4px #fff;
    text-shadow: 2px -2px 4px #fff;
    text-shadow: -2px 2px 4px #fff;
    text-shadow: -2px -2px 4px #fff;
    color: black;
    font-size: 35px;
    /* padding: 4px 13px; */
    padding: 4px 13px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    margin-left: 30px;
    margin-right: 20px;
    margin-top: 6px;
}

.header-container .BTN {
    background-color: #ffffffcc;
    /* position: relative;
    left: 50%;
    transform: translateX(-50%); */
    /* transform: translateY(-110%); */
    color: black;
    font-size: 35px;
    padding: 4px 13px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    margin-left: 30px;
    margin-right: 20px;
}

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.centered p {
    background-color: #ffffff80;
    padding: 4px 10px;
    font-size: 400%;
    text-shadow: 2px 2px 4px #fff;
    text-shadow: 2px -2px 4px #fff;
    text-shadow: -2px 2px 4px #fff;
    text-shadow: -2px -2px 4px #fff;
    /* margin: 5px; */
}

.header-container img {
    margin-left: 50%;
    transform: translateX(-50%);
}

.img-wrapper {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    width: 85%;
    font-size: 0;
}

.img-overlay {
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 100%;
    background-color: rgba(128, 128, 128, 0.2);
}

.img-wrapper img {
    display: block;
    width: 90%;
    height: auto;
    margin: auto;
    float: none!important;
}

code.has-jax {
    -webkit-font-smoothing: antialiased;
    background: inherit !important;
    border: none !important;
    font-size: 80%;
}

img[alt=Homepage] {
    display: block;
    width: 60%;
    height: auto;
    margin: auto;
    -moz-box-shadow: 10px 10px 5px #888;
    -webkit-box-shadow: 10px 10px 5px #888;
    box-shadow: 10px 10px 5px #888;
    float: none!important;
}

img[alt=Opacity] {
    display: block;
    width: 50%;
    height: auto;
    margin: auto;
    -webkit-filer: grayscale(100%):
    -moz-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    filter: grayscale(100%);
    float: none!important;
}

img[alt=Default] {
    display: block;
    width: 50%;
    height: auto;
    margin: auto;
    float: none!important;
}

img[alt=Wide] {
    display: block;
    width: 70%;
    height: auto;
    margin: auto;
    float: none!important;
}

img[alt=Intermediate]{
    display: block;
    width: 35%;
    height: auto;
    margin: auto;
    float: none!important;
}

img[alt=Skinny] {
    display: block;
    width: 20%;
    height: auto;
    margin: auto;
    float: none!important;
}

/** Base ********************************************************************/
/* body {
    font-family: "Open Sans", "Helvetica Neue", "Helvetica", sans-serif, "'Computer Modern";
    color: #484644;
} */
body {
    font-family: "Computer Modern";
    color: #484644;
    font-size: 120%;
}

/* These don't seem to do anything? */
a,
a:active,
a:hover,
a:visited {
    color: #a17db5;
    text-decoration: none;
}

h1 {
    color: #3b3e40;
    font-weight: lighter;
}

h2,h3,h4,h5,h6 {
    color: #78707a;
    font-weight: lighter;
}

pre {
    background-color: #fafafa;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 32px;
}

pre code {
    display: inline-block;
}

/** Screen furniture ********************************************************/
.li-page-header {
    /* background-color: #fafafa; */
    background: inherit !important;
    /* background-color: #4a4646; */
    color: #ffffff;
    padding: 0px 0px;
}

.li-page-header ul {
    list-style: none;
    margin: 0px;
    line-height: 30px;
}

.li-page-header ul li {
    float: left;
    list-style: none;
    line-height: 30px;
    margin-left: 30px;
}

.li-page-header ul li a,
.li-page-header ul li a:active,
.li-page-header ul li a:hover,
.li-page-header ul li a:visited {
    color: #ccc;
    font-weight: normal;
    text-decoration: none;
}

.li-page-header ul li a:active,
.li-page-header ul li a:hover {
    color: #fff;
}

.li-page-header .li-brand a,
.li-page-header .li-brand a:active,
.li-page-header .li-brand a:hover,
.li-page-header .li-brand a:visited {
    color: #ffffff;
    font-size: 1.5em;
    text-decoration: none;
}

.li-page-header .li-menu-icon,
.li-page-header .li-menu-mobile {
    display: none;
}

.title-center {
    position: relative;
    text-align: center;
    color:white;
    background: #fff;
}

/** Article *****************************************************************/
.li-article {
    margin-bottom: 32px;
    margin-top: 10px;
}

.li-article img {
    height: auto;
    max-width: 100%;
}

ul.li-article-list {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.li-article-list time {
    float: right;
}

.li-article-section {
    padding: 16px 0px;
}

.li-article-date,
.li-article-taxonomies {
    color: #999;
    font-size: smaller;
}

.li-article-footer {
    border-top: 1px solid #ccc;
}

.li-pagination {
    border-top: 1px solid #ccc;
    margin-top: 32px;
    padding-top: 16px;
}

.li-pagination-previous {
    float: left;
}

.li-pagination-next {
    float: right;
}

.li-page-footer {
    font-size: smaller;
    padding: 48px 0px 32px 0px;
}

.li-page-footer-legal {
    float: left;
}

.li-page-footer-theme {
    float: right;
}

.li-main-article-list {
    margin-top: 128px;
}

@media only screen and (max-width: 375px) {

    .header-container2 .BTN2 {
        /* display: none; */
        font-size: 20px;
        left-margin: 4px;
        right-margin: 4px;
        padding: 6px 18px;
        border-radius: 2px;
        border: none;
        transform: translateY(620%);
    }
}

@media only screen and (min-width: 375px) and (max-width: 441px) {

    .header-container2 .BTN2 {
        /* display: none; */
        font-size: 24px;
        left-margin: 4px;
        right-margin: 4px;
        padding: 2px 18px;
        border-radius: 2px;
        border: none;
        transform: translateY(710%);
    }
}



@media only screen and (min-width: 441px) and (max-width: 453px) {
    .header-container2 .BTN2 {
        font-size: 24px;
        left-margin: 4px;
        right-margin: 4px;
        padding: 2px 18px;
        border-radius: 2px;
        border: none;
        transform: translateY(810%);
    }
}

@media only screen and (min-width: 453px) and (max-width: 769px) {

    .header-container2 .BTN2 {
        /* display: none; */
        font-size: 25px;
        left-margin: 4px;
        right-margin: 4px;
        padding: 2px 18px;
        border-radius: 2px;
        border: none;
        transform: translateY(780%);
    }
}

@media only screen and (min-width: 769px) and (max-width: 996px) {

    .header-container2 .BTN2 {
        /* display: none; */
        font-size: 29px;
        left-margin: 4px;
        right-margin: 4px;
        padding: 2px 18px;
        border-radius: 2px;
        border: none;
        transform: translateY(610%);
    }
}

@media only screen and (min-width: 996px) {

    .header-container2 .BTN2 {
        /* display: none; */
        font-size: 32px;
        left-margin: 4px;
        right-margin: 4px;
        padding: 2px 18px;
        border-radius: 2px;
        border: none;
        transform: translateY(580%);
    }
}

@media only screen and (min-width: 996px) and (max-width: 1171px) {

    .centered p {
        background-color: #ffffff99;
        padding: 4px 10px;
        font-size:350%;
    }
}

@media only screen and (max-width: 996px) {

    .centered p {
        background-color: #ffffff99;
        padding: 4px 10px;
        font-size:300%;
    }
}

/** Mobile Portrait (320px) **************************************************/
@media only screen and (max-width: 767px) {

    img[alt=Wide] {
        display: block;
        width: 90%;
        height: auto;
        margin: auto;
        float: none!important;
    }

    img[alt=Default] {
        display: block;
        width: 100%;
        height: auto;
        margin: auto;
        float: none!important;
    }

    img[alt=Intermediate]{
        display: block;
        width: 80%;
        height: auto;
        margin: auto;
        float: none!important;
    }

    img[alt=Skinny] {
        display: block;
        width: 40%;
        height: auto;
        margin: auto;
        float: none!important;
    }

    .li-page-header {
        padding: 16px 0px;
    }

    .li-main-article-list {
        margin-top: 64px;
    }

    .li-page-header .li-menu-icon {
        cursor: pointer;
        display: block;
        float: right;
        line-height: 30px;
    }

    .li-page-header .li-menu-items {
        clear: both;
        display: none;
    }

    .li-page-header ul.li-menu-items {
        list-style-type: none;
        margin: 0px;
        padding: 0px;
    }

    .li-page-header .li-menu-items li {
        margin-left: 0px;
        padding: 12px 0px;
        text-align: center;
        width: 100%;
    }

    .li-page-header .li-menu-items li {
        border-top: 1px solid #ccc;
    }

    .li-page-header .li-menu-items li:first-of-type  {
        border-top: none;
    }

    .li-pagination-previous,
    .li-pagination-next,
    .li-page-footer-legal,
    .li-page-footer-theme {
        float: none;
        text-align: center;
        padding: 8px 0px;
    }
}


/*
 * Skelton grid (www.getskeleton.com)
 */

/** Desktop (960px) **********************************************************/
.container                                  { position: relative; width: 960px; margin: 0 auto; padding: 0; }
.container .column,
.container .columns                         { float: left; display: inline; margin-left: 10px; margin-right: 10px; }
.row                                        { /*margin-bottom: 20px;*/ }

/* Nested Column Classes */
.column.alpha, .columns.alpha               { margin-left: 0; }
.column.omega, .columns.omega               { margin-right: 0; }

/* Base Grid */
.container .one.column,
.container .one.columns                     { width: 40px;  }
.container .two.columns                     { width: 100px; }
.container .three.columns                   { width: 160px; }
.container .four.columns                    { width: 220px; }
.container .five.columns                    { width: 280px; }
.container .six.columns                     { width: 340px; }
.container .seven.columns                   { width: 400px; }
.container .eight.columns                   { width: 460px; }
.container .nine.columns                    { width: 520px; }
.container .ten.columns                     { width: 580px; }
.container .eleven.columns                  { width: 640px; }
.container .twelve.columns                  { width: 700px; }
.container .thirteen.columns                { width: 760px; }
.container .fourteen.columns                { width: 820px; }
.container .fifteen.columns                 { width: 880px; }
.container .sixteen.columns                 { width: 940px; }

.container .one-third.column                { width: 300px; }
.container .two-thirds.column               { width: 620px; }

/* Offsets */
.container .offset-by-one                   { padding-left: 60px;  }
.container .offset-by-two                   { padding-left: 120px; }
.container .offset-by-three                 { padding-left: 180px; }
.container .offset-by-four                  { padding-left: 240px; }
.container .offset-by-five                  { padding-left: 300px; }
.container .offset-by-six                   { padding-left: 360px; }
.container .offset-by-seven                 { padding-left: 420px; }
.container .offset-by-eight                 { padding-left: 480px; }
.container .offset-by-nine                  { padding-left: 540px; }
.container .offset-by-ten                   { padding-left: 600px; }
.container .offset-by-eleven                { padding-left: 660px; }
.container .offset-by-twelve                { padding-left: 720px; }
.container .offset-by-thirteen              { padding-left: 780px; }
.container .offset-by-fourteen              { padding-left: 840px; }
.container .offset-by-fifteen               { padding-left: 900px; }



/** Tablet Portrait (768px) **************************************************/
@media only screen and (min-width: 768px) and (max-width: 959px) {
    .container                                  { width: 768px; }
    .container .column,
    .container .columns                         { margin-left: 10px; margin-right: 10px;  }
    .column.alpha, .columns.alpha               { margin-left: 0; margin-right: 10px; }
    .column.omega, .columns.omega               { margin-right: 0; margin-left: 10px; }
    .alpha.omega                                { margin-left: 0; margin-right: 0; }

    .container .one.column,
    .container .one.columns                     { width: 28px; }
    .container .two.columns                     { width: 76px; }
    .container .three.columns                   { width: 124px; }
    .container .four.columns                    { width: 172px; }
    .container .five.columns                    { width: 220px; }
    .container .six.columns                     { width: 268px; }
    .container .seven.columns                   { width: 316px; }
    .container .eight.columns                   { width: 364px; }
    .container .nine.columns                    { width: 412px; }
    .container .ten.columns                     { width: 460px; }
    .container .eleven.columns                  { width: 508px; }
    .container .twelve.columns                  { width: 556px; }
    .container .thirteen.columns                { width: 604px; }
    .container .fourteen.columns                { width: 652px; }
    .container .fifteen.columns                 { width: 700px; }
    .container .sixteen.columns                 { width: 748px; }

    .container .one-third.column                { width: 236px; }
    .container .two-thirds.column               { width: 492px; }

    /* Offsets */
    .container .offset-by-one                   { padding-left: 48px; }
    .container .offset-by-two                   { padding-left: 96px; }
    .container .offset-by-three                 { padding-left: 144px; }
    .container .offset-by-four                  { padding-left: 192px; }
    .container .offset-by-five                  { padding-left: 240px; }
    .container .offset-by-six                   { padding-left: 288px; }
    .container .offset-by-seven                 { padding-left: 336px; }
    .container .offset-by-eight                 { padding-left: 384px; }
    .container .offset-by-nine                  { padding-left: 432px; }
    .container .offset-by-ten                   { padding-left: 480px; }
    .container .offset-by-eleven                { padding-left: 528px; }
    .container .offset-by-twelve                { padding-left: 576px; }
    .container .offset-by-thirteen              { padding-left: 624px; }
    .container .offset-by-fourteen              { padding-left: 672px; }
    .container .offset-by-fifteen               { padding-left: 720px; }
}


/** Mobile Portrait (320px) **************************************************/
@media only screen and (max-width: 767px) {
    .container { width: 300px; }
    .container .columns,
    .container .column { margin: 0; }

    .container .one.column,
    .container .one.columns,
    .container .two.columns,
    .container .three.columns,
    .container .four.columns,
    .container .five.columns,
    .container .six.columns,
    .container .seven.columns,
    .container .eight.columns,
    .container .nine.columns,
    .container .ten.columns,
    .container .eleven.columns,
    .container .twelve.columns,
    .container .thirteen.columns,
    .container .fourteen.columns,
    .container .fifteen.columns,
    .container .sixteen.columns,
    .container .one-third.column,
    .container .two-thirds.column  { width: 300px; }

    /* Offsets */
    .container .offset-by-one,
    .container .offset-by-two,
    .container .offset-by-three,
    .container .offset-by-four,
    .container .offset-by-five,
    .container .offset-by-six,
    .container .offset-by-seven,
    .container .offset-by-eight,
    .container .offset-by-nine,
    .container .offset-by-ten,
    .container .offset-by-eleven,
    .container .offset-by-twelve,
    .container .offset-by-thirteen,
    .container .offset-by-fourteen,
    .container .offset-by-fifteen { padding-left: 0; }

}


/** Mobile Landscape (480px) *************************************************/
@media only screen and (min-width: 480px) and (max-width: 767px) {
    .container { width: 420px; }
    .container .columns,
    .container .column { margin: 0; }

    .container .one.column,
    .container .one.columns,
    .container .two.columns,
    .container .three.columns,
    .container .four.columns,
    .container .five.columns,
    .container .six.columns,
    .container .seven.columns,
    .container .eight.columns,
    .container .nine.columns,
    .container .ten.columns,
    .container .eleven.columns,
    .container .twelve.columns,
    .container .thirteen.columns,
    .container .fourteen.columns,
    .container .fifteen.columns,
    .container .sixteen.columns,
    .container .one-third.column,
    .container .two-thirds.column { width: 420px; }
}


/** Clearing *****************************************************************/
/* Self Clearing Goodness */
.container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }

/* Use clearfix class on parent to clear nested columns,
or wrap each row of columns in a <div class="row"> */
.clearfix:before,
.clearfix:after,
.row:before,
.row:after {
    content: '\0020';
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
}

.row:after,
.clearfix:after {
    clear: both;
}

.row,
.clearfix {
    zoom: 1;
}

/* You can also use a <br class="clear" /> to clear columns */
.clear {
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
}
