/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (max-width: 800px) {
    /* Style adjustments for viewports that meet the condition */
	.nav_menu {
		float:none !important; 
		width:100% !important;
		display: flex !important;
		justify-content: space-around;	
	}
	
	#pg {
		margin:5% 0 0;		
	}
	
	#bc_logo_main {display: flex; }
	
	#pg_content {left: 10px !important;}
	
	.col2 {
		column-count:1 !important; 
		-moz-column-count:1 !important;
		-webkit-column-count: 1 !important;
	}
	
	#profile_diagram {float:none !important; max-width:100% !important; padding: 0 !important; margin-top:0px !important; overflow:hidden;}
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}



/* ==========================================================================
   Bortran Consulting styles
   ========================================================================== */
 
body {font-family: Century, Arial, sans-serif;} 
#nav_right {position:relative; height:120px; left:0;top:0;margin:0; min-width:120px;width:100%;padding:0px;z-index:100;}
.nav_menu {float:right;padding:0;display:table; }
.nav_menu ul {padding:0;}
.nav_menu img {height:110px;}
.nav_menu li {margin-left:10px;display:table-cell; float:left; list-style:none; height:110px; width:110px; background: url(../images/led_off.png) no-repeat; background-size:cover; text-align:center; color:#dfdfdf;}
.nav_menu li:first-child {margin-left:0px;}
.nav_menu li.active {background: url(../images/led_on.png) no-repeat; background-size:cover; color:#ffffff;}
.nav_menu a {height:110px; width:110px; text-decoration:none; display:table-cell; font-weight:bold;font-size:1.0em; vertical-align:middle; color:inherit;}

div#site-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
	max-width:100vw;
}

#lp {position:absolute; width:400px; height:470px; margin-top:-235px; margin-left:-200px; top:50%; left:50%;}
#nav_lp {position:relative;}
#nav_lp .nav_menu {margin:0 auto;padding:0; float:none;}
#bc_logo_main {width:400px; max-width:95vw;}

#pg_bottom {position:relative; top:-55px;background:white;z-index:100;}


#pg {
	padding:0;
	margin:5% auto 0; 
	width:1080px;
	max-width:95%;
	position:relative;
}

#pg_content{
	position:relative;
	border-left: 3px solid #555555/*#00478d*/;
	border-bottom: 3px solid #555555;
	min-height:540px;
	/*overflow:auto;*/
	max-width:600px;
	/*margin:0 auto;*/
	margin-bottom:200px;
	padding-top:45px;
	padding-left:14px;
	top:0px;
	left: 134px;
	}

#pg_content p {max-width:600px; }

h1, h2, h3 {color: #00478d;}	
#pg_header {position:relative; top:0px;}
#pg_header>h1 {font-size:2em; margin:-45px 0 8px; }
#bc_mono_head {
    left: -134px;
    position: absolute;
    top: -50px;
}

.bc_solutions{text-align: center; margin: 16px 0 20px; font-weight: bold;line-height:2; font-size:1.2em;}
.bc_solutions ul {width:100%;}
.bc_solutions li {float:left; list-style:none;padding-right:10px;}

.block140{display:inline-block; width:140px; font-weight:bold;}
#frm_web_query{line-height:2.5;}
#frm_web_query label {width:200px;}
#frm_web_query span {color: #00478d;}

#frm_web_query  input, #frm_web_query  textarea {width:100%;}
#mail_response {display: none;}

#profile_diagram {float:right; margin-right:-140px; padding-left:70px; max-width:60%; margin-top:60px;}

.col2 {
column-count:2;
column-gap:36px;
-moz-column-count:2;
-moz-column-gap: 36px;
-webkit-column-count: 2;
-webkit-column-gap: 36px;

}

.corp_prom {font-weight: bold; font-size:1.2em; text-align:center; padding-top:12px; line-height:2em;}
.corp_prom span {color:#00478d;}

#btn_send_webquery {margin: 20px 0;}