﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

a.f-download {
    text-decoration-line: none !important;
}

    a.f-download:hover {
        text-decoration-line: underline !important;
        font-weight: normal !important;
    }

/* LI Glypicon Bullets 
        ==============================================================================================
        From https://stackoverflow.com/questions/31196980/using-a-glyphicon-as-an-li-bullet-point-bootstrap-3  */

li.gl-download {
    display: block;
    position: relative;
    left: -1.0rem;
    text-indent: -1.65rem !important;
}

    li.gl-download:before {
        font-family: 'Glyphicons Halflings';
        font-size: 12px;
        position: relative;
        margin-right: 10px;
        top: 1px;
        color: #ccc;
    }


    /* From https://glyphicons.bootstrapcheatsheets.com/#   */
    li.gl-download.gl-music:before {
        content: "\e002";
    }
    li.gl-download.gl-video:before {
        content: "\e009";
    }
    li.gl-download.gl-image:before {
        content: "\e060";
    }
    li.gl-download.gl-cloud:before {
        content: "\2601";
    }

/* Noscript Hacks (or better) --------------------------------------------------------------------------------------*/


/* Allows dropdowns within dropdowns */
/* genius - fixes bootstrap noscrip menu - but then it stopped, no idea why */
/* had to add 2nd selector to make it work without scripts */
/* minor problem: dropdown doesn't unselect on second click */
/* see site.js for unselect fix */
.dropdown-toggle:focus + .dropdown-menu,
.dropdown-toggle + .dropdown-menu:hover {
    display: block;
}

/* External Links
=======================================================================================================*/
:root {
    /*
	line left
	line right
	line bottom
	line top
	arrow left
	arrow right
	arrow diagonal
	*/
    --icon-external-link: url('data:image/svg+xml,\
	<svg xmlns="http://www.w3.org/2000/svg"  viewBox="0 0 20 20"> \
		<g style="stroke:rgb(128,128,128);stroke-width:1"> \
			<line x1="5" y1="5" x2="5" y2="14" /> \
			<line x1="14" y1="9" x2="14" y2="14" /> \
			<line x1="5" y1="14" x2="14" y2="14" /> \
			<line x1="5" y1="5" x2="9" y2="5"  /> \
			<line x1="10" y1="2" x2="17" y2="2"  /> \
			<line x1="17" y1="2" x2="17" y2="9" /> \
			<line x1="10" y1="9" x2="17" y2="2" style="stroke-width:1.4" /> \
		</g> \
	</svg>');
}

a.extrn::after {
    content: '';
    background: no-repeat var(--icon-external-link);
    padding-right: 1em;
    color: white !important;
}

.glyphicon-fullscreen {
    color: #bbb;
}

.glyphicon-fullscreen:hover {
    color: white;
}


/* Black Background override
-------------------------------------------------- */

.bg-black {
    background-color: black !important;
}

.bg-black.border-bottom {
    border-bottom-color: #666 !important;
}

.bg-black.border-top {
    border-top-color: #666 !important;
}

.bg-black button,
.bg-black button:focus,
.bg-black button:active,
.bg-black button:visited {
    border-color: #333 !important;
    color: #333 !important;
    outline: #333 !important;
}

.bg-black button:hover {
    border-color: #666 !important;
}

.bg-dark.dropdown-menu {
    background-color: #222 !important;
    border-color: #666 !important;
}

.bg-dark.dropdown-menu > li,
.bg-dark.dropdown-menu > a {
    line-height: 0.7rem !important;
}

.bg-dark > .dropdown-divider {
    border-top-color: #444 !important;
}

.col-ruler {
    background-image: url(/images/col-ruler-sm.png);
    background-repeat: no-repeat;
    background-position-y: top;
}

/* Glyph Button
-----------------------------------------------------------------------------------------------*/

.glyph-button {
    background-color: transparent !important;
    border-color: transparent !important;
    outline: transparent !important;
    opacity: 1.0;
}
.glyph-button:disabled,
.glyph-button[disabled]
{
    opacity: 0.5;
}

button.anchor {
    border: none !important;
    background-color: transparent !important;
    border-color: transparent !important;
    outline: transparent !important;
}

    button.anchor.text-light {
        color: white !important;
    }

    button.anchor.text-light:hover {
        color: silver !important;
    }


/* Tables
-----------------------------------------------------------------------------------------------*/

th, td {
    padding-left: 4px;
    padding-right: 4px;
}


/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

/*.flex-side-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content:space-between;
}*/

.podbar {
    bottom: 0;
    position: fixed;
    z-index: 150;
    _position: absolute;
    _top: expression(eval(document.documentElement.scrollTop+ (document.documentElement.clientHeight- this.offsetHeight)));
    height: 28px;
}

.showModal{ display: none !important; }

.podBox {
    bottom: 0;
    position: fixed;
    z-index: 150;
    _position: absolute;
    _top: expression(eval(document.documentElement.scrollTop+ (document.documentElement.clientHeight- this.offsetHeight)));
}



/* Inline links
---------------------------------------------------- */
.disabled-link {
    color: #999 !important;
    pointer-events: none;
}

.inline-link {
    font-weight: bold;
}

.inline-link:hover {
    text-decoration-line: none !important;
}

/* External Links
=======================================================================================================*/
:root {
    /*
	line left
	line right
	line bottom
	line top
	arrow left
	arrow right
	arrow diagonal
	*/
    --icon-external-link: url('data:image/svg+xml,\
	<svg xmlns="http://www.w3.org/2000/svg"  viewBox="0 0 20 20"> \
		<g style="stroke:rgb(128,128,128);stroke-width:1"> \
			<line x1="5" y1="5" x2="5" y2="14" /> \
			<line x1="14" y1="9" x2="14" y2="14" /> \
			<line x1="5" y1="14" x2="14" y2="14" /> \
			<line x1="5" y1="5" x2="9" y2="5"  /> \
			<line x1="10" y1="2" x2="17" y2="2"  /> \
			<line x1="17" y1="2" x2="17" y2="9" /> \
			<line x1="10" y1="9" x2="17" y2="2" style="stroke-width:1.4" /> \
		</g> \
	</svg>');
}

a.extrn::after {
    content: '';
    background: no-repeat var(--icon-external-link);
    padding-right: 1em;
}


/* Glyphicon effects
----------------------------------------------------- */
.flip-h {
    -moz-transform: scale(-1, 1);
    -webkit-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    -ms-transform: scale(-1, 1);
    transform: scale(-1, 1);
}

.flip-v {
    -moz-transform: scale(1, -1);
    -webkit-transform: scale(1, -1);
    -o-transform: scale(1, -1);
    -ms-transform: scale(1, -1);
    transform: scale(1, -1);
}


/* Form Control Override
------------------------------------------------------*/

input.form-portless,
input.form-portless:focus,
input.form-portless:active {
    cursor: default !important;
    border: none !important;
    background-color: transparent !important;
    border-color: transparent !important;
    outline: transparent !important;
    color: inherit !important;
    font-size: inherit !important;
}

button > span.glyphicon-trash {
    color: #ff7b00;
}

button:disabled > span.glyphicon-trash {
    color: #b77f7f !important;
}

button > span.glyphicon-edit {
    color: #00ff70;
}

button:disabled > span.glyphicon-edit {
    color: #7fb77f !important;
}

/* YT Frame
-----------------------------------------------------------------------------------------------------*/
/* container maintains aspect of contents */
.YT-aspect-container {
    width: 100%;
    padding-top: 56%; /* Aspect Ratio 9:16 widescreen */
    position: relative; /* If you want content inside of it */
}

/* sizes frame with correct aspect ratio */
.YT-frame {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Obsolete prior to aspect container */
.YT-frameX {
    width: 576px;
    height: 324px;
}

/* Text Layout
---------------------------------------------------------------------------------------------------------*/

.limit-text {
    vertical-align: top;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.limit-text:hover, .limit-text:active, .limit-text:focus {
    white-space: normal !important;
    overflow: initial !important;
    text-overflow: initial !important;
}


/* Media Layouts
-------------------------------------------------------------------------------------------------------*/




@media (max-width: 576px) {
}



/* Print
-------------------------------------------------------------*/

@media print {

    .noprint {
        display: none !important;
    }

    .printonly {
        display: block;
        visibility: visible;
    }

    body {
        font-family: Georgia, serif;
        font-size: larger !important;
        background: none;
        color: black;
    }

    .text-light 
    {
        color: black !important;
    }

}

@media screen {

    .printonly {
        display: none !important;
    }
}