/* =====================================================
    Toolbar styles for all pages on Kinless Enterprises
    ====================================================
    
    1. Toolbar for inner pages (sub) [most common]
    2. Toolbar for generic pages (root) [less common]
    3. Toolbar for main splash page (home) [used once]
    4. Mobile navigation
*/

/* --------------------------------------
    1. Toolbar for inner pages (sub)
    ------------------------------------- */

.header_outer { position: fixed; top: 0; left: 0; width: 100%; height: 36px; z-index: 30; }
.header_outer_top { 
	position: relative; height: 36px; box-shadow: 2px 2px 6px #000000; z-index: 2;
	background: #b6dde1;
    background: -moz-linear-gradient(top,  #b6dde1 0%, #daeeef 100%);
    background: -webkit-linear-gradient(top,  #b6dde1 0%,#daeeef 100%);
    background: linear-gradient(to bottom,  #b6dde1 0%,#daeeef 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b6dde1', endColorstr='#daeeef',GradientType=0 );
}

.header_inner_top { position: relative; min-width: 180px; max-width: 1360px; height: 100%; margin: 0 auto; }

.header_inner_top .kce_logo { position: absolute; z-index: 2; top: 3px; left: 14.2px; width: 65px; height: 64px; }
.header_inner_top .kce_logo a { position: absolute; display: block; width: 100%; height: 100%; color: #000; top: 0; left: 0; }
.header_inner_top .kce_bug { display: block; background-image: url(/images/header/kce_logo_main.png?width=128); background-size: auto 100%; width: 100%; height: 100%; }
.header_inner_top .kce_title { position: absolute; top: 3px; left: 68px; font-size: 12px; line-height: 10px; font-family: 'Nasalization', san-serif; flex-direction: column; justify-content: center; align-items: center; color: #003344; }
.header_inner_top .kce_title span.top { font-size: 20px; }

.header_inner_top .diamond_left { position: absolute; left: 2px; top: 36px; width: 98px; height: 43px; background-image: url(/images/header/half_diamond.png); background-size: auto 100%; }

.header_inner_top nav { position: absolute; top: 0; left: 180px; }
.header_inner_top nav ul { padding: 0; display: flex; flex-wrap: nowrap; width: 100%; }
.header_inner_top nav ul li { display: inline-block; font-family: 'STMicroSquareEx', Verdana, Geneva, Tahoma, sans-serif; font-size: 11px; text-align: center; flex: 0 1 auto; }
.header_inner_top nav ul li a, .header_inner_top nav ul li.selected span.title { position: relative; height: 36px; max-width: 170px; padding: 0 10px 0 32px; text-align: left; text-decoration: none; display: flex; flex-wrap: nowrap; flex-direction: column; justify-content: center; }
.header_inner_top nav ul li.selected { background-color: rgba(0,0,0,0.2); }
.header_inner_top nav ul li a { opacity: 0.75; }
.no-touchdevice .header_inner_top nav ul li a:hover { background-color: rgba(255,255,255,0.5); opacity: 1; }
.header_inner_top nav ul li:nth-child(1) a, .header_inner_top nav ul li:nth-child(1) span.title { width: 127px; }
.header_inner_top nav ul li:nth-child(2) a, .header_inner_top nav ul li:nth-child(2) span.title { width: 142px; }
.header_inner_top nav ul li:nth-child(3) a, .header_inner_top nav ul li:nth-child(3) span.title { width: 132px; }
.header_inner_top nav ul li:last-child a, .header_inner_top nav ul li:last-child span.title { width: 96px; }

.header_inner_top nav ul li span { text-align: left; display: block; color: #034; text-transform: uppercase; transform-origin: left; }
.header_inner_top nav ul li.selected span { text-shadow: 1px 1px 2px #000000; color: #fff; }
.header_inner_top nav ul li span.text_large { position: absolute; top: 3px; left: 5px; font-weight: bold; font-size: 32px; transform: scaleX(0.4);  }
.header_inner_top nav ul li span.text_top { font-weight: bold; font-size: 14px; transform: scale(0.8,1.2); white-space: nowrap; line-height: 120%; }
.safari .header_inner_top nav ul li span { -webkit-font-smoothing: antialiased; }

.header_inner_top .buttons { position: absolute; top: 4px; right: 24px; height: 28px; display: flex; flex-wrap: nowrap;
	border: 1px solid #A5B8BD; -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px;
	box-shadow: inset 1px 1px 1px #FFFFFF; background: #bad8dd;
    background: -moz-linear-gradient(top,  #bad8dd 0%, #c2e0e4 50%, #add5db 51%, #c2e2e6 100%);
    background: -webkit-linear-gradient(top,  #bad8dd 0%,#c2e0e4 50%,#add5db 51%,#c2e2e6 100%);
    background: linear-gradient(to bottom,  #bad8dd 0%,#c2e0e4 50%,#add5db 51%,#c2e2e6 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bad8dd', endColorstr='#c2e2e6',GradientType=0 );
}
.header_inner_top .buttons a, .header_inner_top .buttons .selected { position: relative; display: flex; justify-content: center; align-items: center; width: 35px; height: 26px; border-left: 1px solid #AAAAAA; border-right: 1px solid #EEEEEE; }
.header_inner_top .buttons a:first-child, .header_inner_top .buttons .selected:first-child { border-left: 0; padding-left: 1px; border-radius: 8px 0 0 8px / 8px 0 0 8px; }
.header_inner_top .buttons a:last-child, .header_inner_top .buttons .selected:last-child { border-right: 0; border-radius: 0 8px 8px 0 / 0 8px 8px 0; }
.header_inner_top .buttons span.title { display: none; }
.header_inner_top .buttons a > span, .header_inner_top .buttons .selected > span { -webkit-filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.5)); filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.5)); }
.no-cssfilters .header_inner_top .buttons a > span, .no-filter .header_inner_top .buttons span.selected > span { filter: url("data:image/svg+xml;utf8,<svg height='0' xmlns='http://www.w3.org/2000/svg'><filter id='drop-shadow'><feGaussianBlur in='SourceAlpha' stdDeviation='4'/><feOffset dx='12' dy='12' result='offsetblur'/><feFlood flood-color='rgba(0,0,0,0.5)'/><feComposite in2='offsetblur' operator='in'/><feMerge><feMergeNode/><feMergeNode in='SourceGraphic'/></feMerge></filter></svg>#drop-shadow"); }
.no-touchdevice .header_inner_top .buttons a:hover, .header_inner_top .buttons .selected { padding-top: 1px; box-shadow: inset 1px 1px 2px #99AAAA; }

.header_inner_top .header_menu { display: none; position: absolute; top: 11px; right: 14px; -webkit-filter: drop-shadow(1px 1px 2px rgba(0,51,68,0.75)); filter: drop-shadow(1px 1px 2px rgba(0,51,68,0.75)); width: 48px; height: 48px; }
.header_inner_top .header_menu::before { content: "Menu"; padding-top: 2px; font-family: 'STMicroSquareEx', Verdana, Geneva, Tahoma, sans-serif; padding-right: 5px;text-transform: uppercase; font-size: 15px; color: #DDEEEE; font-weight: bold; position: absolute; display: flex; align-items: center; height: 100%; right: 100%; filter: none; }

#website_settings { position: absolute; min-width: 280px; max-width: 280px; padding: 16px; z-index: 25; top: 40px; right: 0; display: none; background: #b6dde1; box-shadow: 0 8px 16px #000; }
.setting_items { display: flex; justify-content: space-between; margin-top: 1em; flex-wrap: wrap; }
.setting_item { flex: 0 1 49%; padding: 8px 16px; background-color: rgba(255,255,255,0.15); cursor: pointer; margin-bottom: 0.75em; }
.no-touchdevice .setting_item:hover { background-color: rgba(255,255,255,0.3); }
.setting_item h5 { color: #fff; font-weight: bold; font-size: 20px; margin-right: 0.5em; }
.setting_item p { margin-bottom: 0.5em; font-size: 90% !important; }
.setting_content { display: flex; flex: 0 1 auto; align-items: center; margin-bottom: 0.25em; }
.switch{ width: 75px; height: 32px; min-width: 75px; }
.toggle{ position: relative; border: 2px solid #444249; border-radius: 20px; -webkit-transition: border-color .6s  ease-out; transition: border-color .6s  ease-out; box-sizing: border-box; }
.toggle.toggle-on { border-color: rgba(137, 194, 217, .4); -webkit-transition: all .5s .15s ease-out; transition: all .5s .15s ease-out; }
.toggle-button { position: absolute; top: 4px; width: 28px; bottom: 4px; right: 39px; background-color: #444249; border-radius: 15px; cursor: pointer; -webkit-transition: all .3s .1s, width .1s, top .1s, bottom .1s; transition: all .3s .1s, width .1s, top .1s, bottom .1s; }
.toggle-on .toggle-button { top: 3px; width: 65px; bottom: 3px; right: 3px; border-radius: 23px; background-color: #89c2da; box-shadow: 0 0 6px #4b7a8d; -webkit-transition: all .2s .1s, right .1s; transition: all .2s .1s, right .1s; }
.toggle-text-on { position: absolute; top: 0; bottom: 0; left: 0; right: 0; line-height: 26px; text-align: center; font-family: 'Nasalization', sans-serif; font-size: 18px; font-weight: normal; cursor: pointer; -webkit-user-select: none; /* Chrome/Safari */ -moz-user-select: none; /* Firefox */ -ms-user-select: none; /* IE10+ */ user-select: none; color: rgba(0,0,0,0); }
.toggle-on .toggle-text-on { color: #3b6a7d; -webkit-transition: color .3s .15s; transition: color .3s .15s; }
.toggle-text-off { position: absolute; top: 0; bottom: 0; right: 6px; line-height: 26px; text-align: center; font-family: 'Nasalization', sans-serif; font-size: 14px; font-weight: bold; -webkit-user-select: none; /* Chrome/Safari */ -moz-user-select: none; /* Firefox */ -ms-user-select: none; /* IE10+ */ user-select: none; cursor: pointer; color: #444249; }
.toggle-on .toggle-text-off{ color: rgba(0,0,0,0); }
/* used for streak effect */
.glow-comp { position: absolute; opacity: 0; top: 10px; bottom: 10px; left: 10px; right: 10px; border-radius: 6px; background-color: rgba(75, 122, 141, .1); box-shadow: 0 0 12px rgba(75, 122, 141, .2); -webkit-transition: opacity 4.5s 1s; transition: opacity 4.5s 1s; }
.toggle-on .glow-comp { opacity: 1; -webkit-transition: opacity 1s; transition: opacity 1s; }
#website_settings .setting_items { display: block; }
#website_settings .website_settings_title { font-size: 20px; color: #000; font-weight: 600; padding: 0 12px; }
#website_settings .website_settings_desc { font-size: 16px; color: #333; padding: 0 12px; }
#website_settings .setting_item { background-color: rgba(255,255,255,0.5); }
#website_settings .setting_item:last-child { margin-bottom: 0; }
#website_settings .setting_item h5 { font-size: 18px; color: #034; }
#website_settings .setting_content { justify-content: space-between; margin-bottom: 0.5em; }


/* --------------------------------------
    2. Extended for generic pages (root)
    ------------------------------------- */

#gsp .header_outer { position: fixed; height: 104px; }
#gsp .header_outer_top { height: 90px; box-shadow: 0 4px 8px #000; }
#gsp .header_inner_top .kce_logo { top: 7px; left: 13px; width: 76px; height: 76px; }
#gsp .header_inner_top h1 { position: absolute; top: 1px; left: 84px; font-size: 33px; line-height: 36px; font-family: 'Nasalization', san-serif; display: flex; flex-direction: column; justify-content: center; align-items: center; color: #034; }
#gsp .header_inner_top h1 a { position: static; display: flex; flex-direction: column; justify-content: center; align-items: center; color: #034; text-decoration: none; }
#gsp .header_inner_top h1 a span.top { font-size: 56px; }

#gsp .header_outer_top div.buttons { top: 23px; right: 5.5%; height: 38px; }
#gsp .header_inner_top .buttons a, #gsp .header_inner_top .buttons span.selected { width: 48px; height: 36px; }

#gsp #website_settings { top: 72px; }


/* --------------------------------------
    3. Toolbar for main splash page (home)
    ------------------------------------- */

#kce .header_outer { position: static; height: 160px; }
#kce .header_outer_top { z-index: 2; height: 90px; box-shadow: 0 4px 8px #000000; }
#kce .header_inner_top h1 { position: absolute; top: -6px; left: 138px; font-size: 33px; line-height: 36px; font-family: 'Nasalization', san-serif; display: flex; flex-direction: column; justify-content: center; align-items: center; color: #034; }
#kce .header_inner_top h1 span.top { font-size: 56px; }
#kce .header_inner_top .kce_logo { top: 13px; left: 13px; width: 128px; height: 128px; background-size: contain;  }
#kce .header_inner_top .kce_bug { -webkit-filter: drop-shadow(-1px 1px 1px rgba(0,0,0,0.5)); filter: url(#drop-shadow); filter: drop-shadow(-1px 1px 1px rgba(0,0,0,0.5)); }
#kce .header_inner_top .half_diamond { position: absolute; left: 2px; top: 90px; width: 150px; height: 73px; background-image: url(/images/header/half_diamond.png); background-size: auto 100%; z-index: 1; }
#kce .header_inner_top .half_diamond.right { right: 2px; left: auto; }
    
#kce .header_inner_top .buttons { top: 23px; right: 182px; height: 38px; }
#kce .header_inner_top .buttons a, #kce .header_inner_top .buttons span.selected { width: 48px; height: 36px; }
    
#kce .header_inner_top div.social_container { position: absolute; right: 12px; top: 10px; width: 130px; height: 130px; z-index: 2; background-image: url(/images/header/social_bg.png); background-size: auto 100%; }
#kce .header_inner_top div.social_container img { position: relative; left: 3.5px;top: 7px; width: 95%; }
#kce .header_inner_top div.social_container a span { display: none; }
#kce .header_inner_top div.social_container ul { display: none; overflow: hidden; }

#kce #website_settings { top: 84px; }

.header_outer_bottom { margin: 0 80px; } /* 80px each side + min-width of nav = 980 (+ max-width of nav = 1140) */
.header_outer_bottom nav { 
    position: relative; z-index: 1; min-width: 452px; max-width: 1200px; height: 50px; margin: 0 auto; box-shadow: 0 4px 8px #000000; 
    display: flex; flex-direction: column; justify-content: center; background: #8caab1;
    background: -moz-linear-gradient(top,  #8caab1 0%, #416c78 46%, #35626f 47%, #5d8892 90%, #8cabb3 99%, #608a93 100%);
    background: -webkit-linear-gradient(top,  #8caab1 0%,#416c78 46%,#35626f 47%,#5d8892 90%,#8cabb3 99%,#608a93 100%);
    background: linear-gradient(to bottom,  #8caab1 0%,#416c78 46%,#35626f 47%,#5d8892 90%,#8cabb3 99%,#608a93 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8caab1', endColorstr='#608a93',GradientType=0 );
}
.header_outer_bottom nav ul { padding: 1px 52px 0 48px; margin: 0 auto; display: flex; flex-wrap: nowrap; width: 100%; max-width: 800px; justify-content: space-around; align-items: flex-end; }
.header_outer_bottom nav ul li { display: inline-block; font-family: 'STMicroSquareEx', Verdana, Geneva, Tahoma, sans-serif; font-size: 12px; text-align: center; flex: 0 1 auto; }
.header_outer_bottom nav ul li a { position: relative; height: 50px; max-width: 170px; opacity: 0.9; padding: 0 10px 0 40px; text-align: left; text-decoration: none; display: flex; flex-wrap: nowrap; flex-direction: column; justify-content: center; }
.no-touchdevice .header_outer_bottom nav ul li a:hover { background-color: rgba(255,255,255,0.2); }
.header_outer_bottom nav ul li:nth-child(1) a { width: 151px; }
.header_outer_bottom nav ul li:nth-child(2) a { width: 170px; }
.header_outer_bottom nav ul li:nth-child(3) a { width: 158px; }
.header_outer_bottom nav ul li:last-child a { width: 114px; }
    
.header_outer_bottom nav ul li a span { display: block; color: #E2E6E7; text-shadow: 2px 1px 2px #000000; text-transform: uppercase; transform-origin: left; }
.header_outer_bottom nav ul li a span.text_large { position: absolute; top: 7px; left: 8px; font-weight: bold; font-size: 36px; color: #B4C0C4; transform: scaleX(0.4);  }
.header_outer_bottom nav ul li a span.text_top { font-weight: bold; font-size: 15px; transform: scale(0.8,1.2); white-space: nowrap; letter-spacing: 1px; line-height: 120%; }
.header_outer_bottom nav ul li a span.text_bottom { letter-spacing: 1px; }
.safari .header_outer_bottom nav ul li a span { -webkit-font-smoothing: antialiased; }

/* ----------------------
    4. Mobile navigation
    --------------------- */
.mobile_nav_container { position: fixed; top: -100%; width: 100%; height: 100%; padding-top: 36px; transition: top 0.6s; z-index: 28; background-color: rgba(0,0,0,0.9); }
.mobile_nav_expand .mobile_nav_container { top: -100%; }
.mobile_nav_container ul { position: relative; left: 0; width: 100%; height: 100%; overflow-y: scroll; }

.mobile_nav_container ul li { font-family: Isonorm, sans-serif; font-size: 24px; font-weight: bold; text-shadow: 2px 2px 2px #000; }
.mobile_nav_container ul li a { display: flex; align-items: center; color: #FFF; text-decoration: none; }
.mobile_nav_container ul li a span { margin-right: 8px; }
.mobile_nav_container ul li.channel a { font-size: 32px; padding: 18px 24px; }
.mobile_nav_container ul li.subpage a { padding: 10px 24px 10px 96px; }
.mobile_nav_container ul li.misc a { padding: 16px 24px; background-color: #333; }

/* Move these colors to Umbraco properties! */
.mobile_nav_container ul .jhp a { background-color: #034; }
.mobile_nav_container ul .jhp_about a { background-color: #330; color: #EFE5B9; }
.mobile_nav_container ul .jhp_resume a { background-color: #321; color: #FFBC53; }
.mobile_nav_container ul .jhp_hobbies a { background-color: #123; color: #A9C5F5; }
.mobile_nav_container ul .jhp_blog a { background-color: #310; color: #E6775C; }
.mobile_nav_container ul .jhp_roadtrip a { background-color: #023; color: #38C9FF; }
.mobile_nav_container ul .eps a { background-color: #013; }
.mobile_nav_container ul .mmc a { background-color: #003; }
.mobile_nav_container ul .laa a { background-color: #030; }

/* ====================
   OPTIMIZED EXCEPTIONS
   ==================== */
   
.optimized .header_outer_top, .optimized .header_inner_top .buttons, 
.optimized .header_inner_top .header_menu, .optimized .header_outer_bottom nav, .optimized .body_content > aside { box-shadow: none; }


@media only screen and (-Webkit-min-device-pixel-ratio: 1.5),
only screen and (-moz-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min-device-pixel-ratio: 1.5) {
    .kce_bug { background-image: url(/images/header/kce_logo_main.png); }

}


@media only screen and (max-width: 1160px) {
	
    /* 3. Toolbar for main splash page (home) */
	#kce .header_outer_bottom nav ul { padding: 1px 5vw 0 4.9vw; }
	
}

@media only screen and (max-width: 960px) {
    
    /* 1. Toolbar for inner pages (sub) */

	/* !! Figure out how to dynamically retrieve widths to each of these items */
	.header_outer_bottom nav ul li:nth-child(1) a { width: 136px; }
	.header_outer_bottom nav ul li:nth-child(2) a { width: 160px; }
	.header_outer_bottom nav ul li:nth-child(3) a { width: 146px; }
	.header_outer_bottom nav ul li:last-child a { width: 105px; }
    
    
    /* 3. Toolbar for main splash page (home) */
	#kce .header_outer { height: 124px; }
	#kce .header_outer_top { height: 72px; }
	#kce .header_outer_top div.social_container { width: 104px; height: 104px; top: 8px; right: 9px; }
	#kce .header_outer_top div.social_container img { top: 5px; }
	#kce .header_outer_top div.buttons { top: 17px; right: 18%; }
	#kce .header_outer_bottom { margin: 0 64px; }
	#kce .header_outer_bottom nav { height: 40px; }
	#kce .header_outer_bottom nav ul { padding: 1px 6vw 0 5.9vw; }
	#kce .header_outer_bottom nav ul li a { height: 40px; padding: 0 8px 0 36px; }
	#kce .header_outer_bottom nav ul li a span.text_large { font-size: 32px; top: 4px; }
	#kce .header_outer_bottom nav ul li a span.text_top { font-size: 14px; }
	#kce .header_outer_bottom nav ul li a span.text_bottom { font-size: 10px; }
	#kce .header_inner_top h1 { left: 112px; top: -5px; font-size: 24px; line-height: 28px; /* top: 10px; left: 100px; width: 278px; height: 53px; */ }
	#kce .header_inner_top h1 span.top { font-size: 40px; }
	#kce .header_inner_top .half_diamond { top: 72px; width: 120px; height: 58px; left: 0; }
	#kce .header_inner_top .half_diamond.right { right: 0; }
	#kce .header_inner_top .kce_logo { width: 100px !important; height: 100px !important; top: 12px; left: 10px; }
	
}

@media only screen and (max-width: 840px) {
    
    /* 1. Toolbar for inner pages (channel/sub) */
    .header_inner_top .kce_title { display: none; }
    .header_inner_top nav { left: 90px; }
}

@media only screen and (max-width: 760px) {
    
    /* 1. Toolbar for inner pages (channel/sub) */
    .header_inner_top nav, .header_inner_top .buttons { display: none; }
    .header_inner_top .kce_logo { display: block; }
    .header_inner_top .kce_title { display: flex; }
    .header_inner_top .header_menu { display: block; top: 1px; right: 4px; width: 32px; height: 32px; }
	.header_inner_top .header_menu span { width: 32px; height: 32px; }
	
	/* 2. Extended for generic pages (root) */
    #gsp .header_outer { height: 72px; }
    #gsp .header_outer_top { height: 72px; }
    #gsp .header_outer_top .header_menu { top: 5px; right: 9px; width: 60px; height: 60px; display: block; }
	#gsp .header_outer_top .header_menu span { width: 60px; height: 60px; }
	#gsp .header_outer_top .header_menu::before { content: "Menu"; padding-top: 2px; font-family: 'STMicroSquareEx', Verdana, Geneva, Tahoma, sans-serif; padding-right: 5px; text-transform: uppercase; font-size: 18px; color: #DDEEEE; font-weight: bold; position: absolute; display: flex; align-items: center; height: 100%; right: 100%; filter: none; }
    #gsp .header_inner_top .kce_logo { left: 8px; top: 4px; width: 64px !important; height: 64px !important; }
    #gsp .header_inner_top .kce_logo h1 { font-size: 24px; line-height: 28px; top: 4px; left: 72px; }
    #gsp .header_inner_top .kce_logo h1 a span.top { font-size: 40px; }
    
    /* 3. Toolbar for main splash page (home) */
	#kce .header_outer { position: fixed; width: 100%; height: 72px; top: 0; left: 0; z-index: 50; }
	#kce .header_outer_top .header_menu { top: 5px; right: 9px; width: 60px; height: 60px; display: block; }
	#kce .header_outer_top .header_menu span { width: 60px; height: 60px; }
	#kce .header_outer_top .header_menu::before { content: "Menu"; padding-top: 2px; font-family: 'STMicroSquareEx', Verdana, Geneva, Tahoma, sans-serif; padding-right: 5px; text-transform: uppercase; font-size: 18px; color: #DDEEEE; font-weight: bold; position: absolute; display: flex; align-items: center; height: 100%; right: 100%; filter: none; }
	#kce .header_inner_top .kce_logo { width: 64px !important; height: 64px !important; top: 4px; -webkit-filter: none; filter: none; }
	#kce .header_inner_top h1 { left: 70px; top: 3px; }
	#kce .half_diamond, #kce .social_container, #kce .header_outer_top div.buttons, #kce .header_outer_bottom { display: none; }

    /* 4. Mobile navigation */
    body.mobile_nav_expand { overflow: hidden; }
    #kce .mobile_nav_container { padding-top: 72px; }
	body.mobile_nav_expand .mobile_nav_container { top: 0; }

}
@media only screen and (max-width: 480px) {
    
    /* 1. Toolbar for inner pages (channel/sub) */
    .header_outer { height: 48px; }
	.header_outer_top { height: 48px; }
    .header_inner_top .diamond_left { display: none; }
    .header_inner_top .kce_logo { left: 12px; width: 42px; height: 42px; }
    .header_inner_top .kce_title { left: 46px; top: 6px; font-size: 16px; line-height: 80%; }
    .header_inner_top .kce_title span.top { font-size: 27px; }
    .header_inner_top .header_menu { top: 3px; width: 40px; height: 40px; }
	.header_inner_top .header_menu span { width: 40px; height: 40px; }
	
	/* 2. Extended for generic pages (root) */
	#gsp .wrapper { padding-top: 48px; }
	#gsp .header_outer, #gsp .header_outer .header_outer_top { height: 48px; }
	#gsp .header_inner_top .kce_logo { width: 42px !important; height: 42px !important; top: 3px; left: 10px; }
	#gsp .header_inner_top .kce_logo h1 { left: 45px; top: 3px; }
	#gsp .header_inner_top .kce_logo h1 a { font-size: 16px; line-height: 118%; }
	#gsp .header_inner_top .kce_logo h1 a span.top { font-size: 27px; }
	#gsp .header_outer_top .header_menu { top: 3px; right: 4px; width: 40px; height: 40px; }
	#gsp .header_outer_top .header_menu span { width: 40px; height: 40px; }
	#gsp .header_outer_top .header_menu::before { font-size: 15px; }

    /* 3. Toolbar for main splash page (home) */
	#kce .header_outer, #kce .header_outer .header_outer_top { height: 48px; }
	#kce .header_inner_top .kce_logo { width: 42px !important; height: 42px !important; top: 3px; left: 10px; }
	#kce .header_inner_top .kce_bug { -webkit-filter: none; filter: none; }
	#kce .header_inner_top h1 { left: 45px; top: 3px; height: auto; font-size: 16px; line-height: 118%; }
	#kce .header_inner_top h1 span.top { font-size: 27px; }
	#kce .header_outer_top .header_menu { top: 3px; right: 4px; width: 40px; height: 40px; }
	#kce .header_outer_top .header_menu span { width: 40px; height: 40px; }
	#kce .header_outer_top .header_menu::before { font-size: 15px; }

    /* 4. Mobile navigation */
    #kce .mobile_nav_container, #gsp .mobile_nav_container, .mobile_nav_container { padding-top: 48px; }
	.mobile_nav_container ul li.subpage a { padding: 10px 24px 10px 72px; }

}

@media only screen and (max-width: 300px) {
    #kce .header_outer_top .header_menu::before,
    #gsp .header_outer_top .header_menu::before { content: ""; }
}