/*
Theme Name: ajkhok_theme
Author: S.Peter
Author URI: S.P.
Description: ajkhok
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, white, light, one-column, two-columns, left-sidebar, flexible-width, fluid-layout, responsive-layout, custom-menu, featured-images
*/

/*Color and other variables for easy change*/
:root{
  --menu_ribbon_face: #242424;
  --menu_ribbon_edge: #505050;
  --menu_ribbon_back: #393939;
  --stock_ribbon: #333;
  
  --text_white: #ededed;
  --text_dark: #242424;
  --text_lightgrey: #d7d7d7;
  --text_link: #898989;
  
  --porcelainwhite: #FEF9ED;
  
  --nav_darkgrey: #242424;
  --wrapper_border: #393939;
  --shadow_color: #555;
  --nav_lightgrey: #989898;
  --testcolorvar: #00ffd2;
  --main_bg_lightgrey: #dcdcdc;

  --mfk: #007934;
  --mak: #cd202c;
  --geik: #165788;
  --ajk: #00693c;
  --gtk: #fdc82f;
  --btk: #7d93aa;
  --eu: #452325;
  --bbzi: #d9c7aa;
}

/*
GEIK COLORS:
#002f18  -ribbon front pl
#004c28  -ribbon back
#006635  -- ribbon corner
#0e7c47  shadows...
#24945e  texts.
*/

/* reference to colors: var(--color name);*/

@import url(https://fonts.googleapis.com/css?family=Josefin+Slab:400,400italic,700,700italic);

/***********CSS style resetter***********/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, 
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	//border: 0;
	//font-size: 100%;
	//font: inherit;
	//vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/***********END CSS style resetter***********/

/*********** Global settings *************/
html { 
  background: url("images/ajk_bg.jpg") no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

body {
	font-family: 'Josefin Slab', serif;
	color: #24945E;
}

header{
	color: #24945e;
}

a, a:hover, a:VISITED{
	color: #24945e;
	//text-transform: uppercase;
	text-decoration: none;
}
a:hover{
	color: #d7d7d7;
}

p{
	padding-top: 10px;
	padding-bottom: 10px;
}



/*********** MAIN DIVS ***********/
#wrapper {
	background-color: rgba(255, 255, 255, 0.8);
	display: block;
	border: 1px #393939 solid;
	width: 80%;
	min-width: 1000px;
	margin: 30px auto;
	box-shadow:0px 0px 20px -5px #0e7c47;
	
}

#header {
	height: 120px;
	width: 100%;
}

#main {
	margin-left: auto;
	margin-right: auto;
	margin-top:30px;
}

#content {
	box-sizing: border-box;
	width: 83%;
	float: left;
	padding: 10px;
}

#sidebar-right {
	box-sizing: border-box;
	float: right;
	width: 17%;
	min-width: 170px;
}

#delimiter {
	clear: both;
	background-color: transparent;
	height: 10px;
}

#footer {
	width: 100%;
}
#footer p{
	padding: 0px;
}

.title {
	font-size: 11pt;
	font-family: verdana;
	font-weight: bold;
}
/*********** END of MAIN DIVS ***********/

/* ****************************** */
/*********** HEADER ***********/
/* ****************************** */
#header_logo{
	float: left;
	padding-left: 20px;
	height: 100%;
}

#header_text{
	float: left;
	height: 100%;
	padding-left: 30px;
}

#header_text a,#header_text a:hover,#header_text a:visited{
	color: #24945e;
	font-size:1.3em;
	font-weight:bold;
	text-transform: uppercase;
	text-decoration: none;
	line-height:120px;
}

#header_text p{
	position: relative;
	top: -50px;
}

#header_social{
	float: right;
	height: 100%;
	padding-right: 20px;
}

#header_social a,#header_social a:hover,#header_social a:visited{
	display: table-cell;
    height: 120px;
    vertical-align:middle;
    -webkit-transition: all .4s ease-in-out;
	transition: all .4s ease-in-out;
} 

#header_social a:hover{
	-webkit-transition: all .4s ease-in-out;
	transition: all .4s ease-in-out;
    -webkit-transform: scale(1.2);
        -ms-transform: scale(1.2);
            transform: scale(1.2);
}

/* ****************************** */
/*********** END OF HEADER ***********/
/* ****************************** */

/* ****************************** */
/*********** MAIN MENU STYLES ***********/
/* ****************************** */

/* ***** MENU RIBBON STYLE ***** */
 .menu-ribbon-wrapper {
	position: relative;
	//border-bottom: 20px solid #ccc;
	//border-top: 0px solid #ccc;
	//-moz-border-bottom-colors: rgba(0, 0, 0, 0.02) rgba(0, 0, 0, 0.04) rgba(0, 0, 0, 0.06) rgba(0, 0, 0, 0.08) rgba(0, 0, 0, 0.10) rgba(0, 0, 0, 0.12) rgba(0, 0, 0, 0.14) rgba(0, 0, 0, 0.16) rgba(0, 0, 0, 0.18) rgba(0, 0, 0, 0.20);
	//-webkit-border-bottom-colors: rgba(0, 0, 0, 0.02) rgba(0, 0, 0, 0.04) rgba(0, 0, 0, 0.06) rgba(0, 0, 0, 0.08) rgba(0, 0, 0, 0.10) rgba(0, 0, 0, 0.12) rgba(0, 0, 0, 0.14) rgba(0, 0, 0, 0.16) rgba(0, 0, 0, 0.18) rgba(0, 0, 0, 0.20);
	//-moz-border-top-colors: rgba(0, 0, 0, 0.02) rgba(0, 0, 0, 0.04) rgba(0, 0, 0, 0.06) rgba(0, 0, 0, 0.08) rgba(0, 0, 0, 0.10) rgba(0, 0, 0, 0.12) rgba(0, 0, 0, 0.14) rgba(0, 0, 0, 0.16) rgba(0, 0, 0, 0.18) rgba(0, 0, 0, 0.20);
	//-webkit-border-top-colors: rgba(0, 0, 0, 0.02) rgba(0, 0, 0, 0.04) rgba(0, 0, 0, 0.06) rgba(0, 0, 0, 0.08) rgba(0, 0, 0, 0.10) rgba(0, 0, 0, 0.12) rgba(0, 0, 0, 0.14) rgba(0, 0, 0, 0.16) rgba(0, 0, 0, 0.18) rgba(0, 0, 0, 0.20);
}
  .menu-ribbon-front {
	background-color: #002f18;
	height: 50px;
	width: 100%;
	position: relative;
	z-index: 2;
	padding: 0 20px;
	margin: 0 -20px;
	box-shadow: 0px 10px 10px -10px #0e7c47, 0px -5px 10px -10px #0e7c47;
}

  .menu-ribbon-front,
  .menu-ribbon-back-left,
  .menu-ribbon-back-right
{
	-moz-box-shadow: 0px 0px 4px #0e7c47;
	-khtml-box-shadow: 0px 0px 4px #0e7c47;
	-webkit-box-shadow: 0px 0px 4px #0e7c47;
	-o-box-shadow: 0px 0px 4px #0e7c47;
}

  .menu-ribbon-edge-topleft,
  .menu-ribbon-edge-topright,
  .menu-ribbon-edge-bottomleft,
  .menu-ribbon-edge-bottomright {
	position: absolute;
	z-index: 1;
	border-style:solid;
	height:0px;
	width:0px;
}

  .menu-ribbon-edge-topleft,
  .menu-ribbon-edge-topright {
}

  .menu-ribbon-edge-bottomleft,
  .menu-ribbon-edge-bottomright {
	top: 50px;
}

  .menu-ribbon-edge-topleft,
  .menu-ribbon-edge-bottomleft {
	left: -20px;
	border-color: transparent #006635 transparent transparent;
}

  .menu-ribbon-edge-topleft {
	top: 0px;
	border-width: 0px 20px 0 0;
}
  .menu-ribbon-edge-bottomleft {
	border-width: 0 20px 20px 0;
}

  .menu-ribbon-edge-topright,
  .menu-ribbon-edge-bottomright {
	right: -20px;
	border-color: transparent transparent transparent #006635;
}

  .menu-ribbon-edge-topright {
	top: 0px;
	border-width: 0px 0 0 20px;
}
  .menu-ribbon-edge-bottomright {
	border-width: 0 0 20px 20px;
}

  .menu-ribbon-back-left {
	position: absolute;
	top: 20px;
	//left: -500px;
	width: 500px;
	height: 50px;
	//background-color: #004c28;
	z-index: -10;
	box-shadow: 10px 10px 10px -10px #0e7c47, 0px -5px 10px -10px #0e7c47;
	//overflow-x: hidden;
}

  .menu-ribbon-back-right {
	position: absolute;
	float:right;
	top: 20px;
	//right: -500px;
	width: 500px;
	height: 50px;
	//background-color: #004c28;
	z-index: -10;
	box-shadow: -10px 10px 10px -10px #0e7c47, 0px -5px 10px -10px #0e7c47;
	//overflow-x: hidden;
}

#ribbon_back{
	position: absolute;
	top: 173px;
	width: 100%;
	height: 50px;
	//background-color: #002f18;
	//z-index: -10;
	//-webkit-box-shadow: 0px 10px 10px -10px #0e7c47;
	//box-shadow: 0px 10px 10px -10px #0e7c47;
	//overflow-x: hidden;
}
#ribbon_back_left{
	float: left;
	background-color: #002f18;
	width: 10%;
	height: 100%;
	z-index: -10;
	-webkit-box-shadow: 0px 5px 10px -3px #0e7c47;
	box-shadow: 0px 5px 10px -3px #0e7c47;
}
#ribbon_back_mid{
	float: left;
	width: 80%;
	height: 100%;
}
#ribbon_back_right{
	float: right;
	background-color: #002f18;
	width: 10%;
	height: 100%;
	z-index: -10;
	-webkit-box-shadow: 0px 5px 10px -3px #0e7c47;
	box-shadow: 0px 5px 10px -3px #0e7c47;
}
/* ***** END OF MENU RIBBON STYLE ***** */

/* ***** MAIN MENU FUNCTION/STYLE ***** */

#main_navi_menu{
	background-color: #002f18;
	font-size: 12px;
	font-weight: bold;
}

#main_navi_menu ul{ /*first menu list*/
	position: relative;
	display:block;
	width: 100%;
	margin:0 auto;
	padding: 0;
	list-style-type: none;
	list-style-image: none;
	text-align: center;
	height: 50px;
	line-height: 50px;
	font-size: 13px;
}

#main_navi_menu ul li{/*first level menus*/
	display: inline-block;
	//padding: 0 12px;
}
#main_navi_menu ul li ul{

}
#main_navi_menu ul li ul li{
	//display: block;
	//float: left;
}
#main_navi_menu li li{
	//background-color: red;
}

#main_navi_menu ul ul{/*first dropdown list*/
	position: absolute;
	left:0;
	//float:left;
	visibility:hidden;
	//display: none;
	background-color: #002f18;
	height: 20px;
	line-height: 20px;
	font-size: 10px;
	//margin-bottom:40px;
	box-shadow: inset 0px 10px 10px -10px #0e7c47,0px 5px 10px -3px #0e7c47;
	opacity: 0;      /* Hide sub level, we will use this in transition */
    -webkit-transition: visibility 0s linear 0.9s,opacity .9s ease-in-out; /* For chrome & safari */
    -moz-transition: visibility 0.5s linear 0.9s,opacity .9s ease-in-out; /* For mozilla firefox */
    -o-transition: visibility 0.5s linear 0.9s,opacity .9s ease-in-out; /* For opera */
    -webkit-animation: randomcolor 20s infinite;
     animation: randomcolor 20s infinite;
     -webkit-transition-delay:0.5s;
            transition-delay:0.5s;
}
/*random background color for dropdown*/
@-webkit-keyframes  randomcolor {
    12% { background-color: #002f18; }
    24% { background-color: #002f18; }
    36% { background-color: #002f18; }
    48% { background-color: #002f18; }
    60% { background-color: #002f18; }
    72% { background-color: #002f18; }
    84% { background-color: #002f18; }
    96% { background-color: #002f18; }
}
@keyframes  randomcolor {
    12% { background-color: #002f18; }
    24% { background-color: #002f18; }
    36% { background-color: #002f18; }
    48% { background-color: #002f18; }
    60% { background-color: #002f18; }
    72% { background-color: #002f18; }
    84% { background-color: #002f18; }
    96% { background-color: #002f18; }
}

#main_navi_menu ul li:hover {
	background-color: #004c28;
}

#main_navi_menu ul li:hover > ul {
    visibility:visible;
    opacity: 1;
    -webkit-transition-delay:0.5s;
            transition-delay:0.5s;
}

#main_navi_menu a, #main_navi_menu a:hover, #main_navi_menu a:VISITED{
	display: block;
	color: #24945e;
	text-transform: uppercase;
	text-decoration: none;
	padding: 0px 12px;
}

/* ****************************** */
/* ***** CONTENT STYLES ***** */
/* ****************************** */
#content_title{
    display: block;
    //height: 30px;
    font-weight: bold;
    line-height: 30px;
    margin: 0;
    padding: 5px 0px;
    position: relative;
    top: 10px;
    font-size: 1.3em;
    color: #24945e;
    text-shadow: 0 1px 1px #111;
    text-transform: uppercase;
    //border-top: 1px solid #363636;
    //border-bottom: 1px solid #202020;
    background: #002f18;
    border-radius: 2px 2px 0 0;
    box-shadow: 0px 5px 10px 0px #0e7c47;
    z-index: 10;
}
 
#content_title:before{
	content: '';
	position: absolute;
	top: 100%;
	left: 0px;
	height: 0;
	width: 0;
	border-top: 10px solid #006635;
	border-left: 10px solid transparent;
	z-index:-1;
}
 
#content_title:after{
	content: '';
	position: absolute;
	top: 100%;
	right: 0px;
	height: 0;
	width: 0;
	border-top: 10px solid #006635;
	border-right: 10px solid transparent;
	z-index:-1;
}
h1{
	font-size: 1em;
}

#content > h1{
	font-size: 1.3em;
}

#content h1 a{
	color: #24945e !important;
}

#content_posts{
	position: relative;
	top: -40px;
	margin: 0px 10px;
	padding: 65px 10px;
	background-color: rgba(255,255,255,0.05);
	//box-shadow: 0px 5px 10px 0px black;
	box-shadow: 0px 0px 10px 0px #0e7c47;
	border-radius: 5px;
	z-index: 0;
}

#content h4{
    position: relative;
    display: block;
    bottom: 85px;
    margin: 0;
    margin-bottom:-50px;
    padding: 0px 10px;
    color: #24945e;
    font-weight: bold;
    text-shadow: 0 1px 1px #111;
    //border-top: 1px solid #363636;
    //border-bottom: 1px solid #202020;
    background: #002f18;
    border-radius: 2px 2px 0 0;
    box-shadow: 0px 5px 10px 0px #0e7c47;
    z-index: 10;
}
#content h4 a{
	color: #24945e !important;
	display:inline-block;
	float: left;
	padding: 5px 10px;
}
#content h4 a:hover{
	background-color: #004c28;
}
#content h4 p{
	text-align: right;
	padding: 5px 10px;
}
 
#content h4:before{
	content: '';
	position: absolute;
	top: 100%;
	left: 0px;
	height: 0;
	width: 0;
	border-top: 10px solid #006635;
	border-left: 10px solid transparent;
}
 
#content h4:after{
	content: '';
	position: absolute;
	top: 100%;
	right: 0px;
	height: 0;
	width: 0;
	border-top: 10px solid #006635;
	border-right: 10px solid transparent;
}

#content a, #content a:hover, #content a:VISITED{
	color: #898989;
	text-transform: uppercase;
	text-decoration: none;
}

#content ol a,#content ol a:hover,#content ol a:VISITED{
	color: #242424;
	text-transform: none;
	text-decoration: none;
}

#content hr {
	border: 0;
	height: 0; /* Firefox... */
	box-shadow: 0 0 10px 1px black;
	width: 96%;
} 
#content hr:after {
/* Not really supposed to work, but does */
	content: "\00a0"; /* Prevent margin collapse */
}
#content img{
	max-width: 100%;
}

#content div{
	max-width: 100%;
}
/* ****************************** */
/* ***** POSTS_NAVI_DIV ***** */
/* ****************************** */
#posts_navi_div{
	margin: 0 auto;
	//text-align: center;
	background-color: #002f18;
	padding: 10px;
	width: 70%;
	height: 15px;
	color: #24945e;
	box-shadow: 0px 5px 10px 0px #0e7c47;
	clear: both;
}
#posts_navi_div a {
	text-align: center;
	background-color: #002f18;
}
#posts_navi_div_left{
	float:left;
	display: inline-block;
}
#posts_navi_div_right {
	float: right;
	display:inline-block;
	
}
#posts_navi_div a:hover {
	text-align: center;
	background-color: #002f18;
	color:#006635;
}

/* ****************************** */
/* ***** SIDEBAR BASE ***** */
/* ****************************** */

#sidebar_right_widget >div{
	position: relative;
	right: -10px;
	padding: 10px 5px;
	margin-top: 15px;
	background: #333 none repeat scroll 0% 0%;
	box-shadow: -5px 5px 10px -4px #0e7c47;
	text-align: center;
	color: #EDEDED;
}
#sidebar_right_widget >div:before{
	position: absolute;
    content: "";
	border-top: 10px solid #505050;
	border-right: 10px solid transparent;
	height: 0px;
	width: 0px;
	right: 0px;
	bottom: -10px;
}

#sidebar_right_widget >aside{
	position: relative;
	right: -10px;
	padding: 10px 5px;
	margin-top: 15px;
	background: #333 none repeat scroll 0% 0%;
	box-shadow: -5px 5px 10px -4px #0e7c47;
	text-align: center;
	color: #24945e;
}
#sidebar_right_widget >aside:before{
	position: absolute;
    content: "";
	border-top: 10px solid #505050;
	border-right: 10px solid transparent;
	height: 0px;
	width: 0px;
	right: 0px;
	bottom: -10px;
	z-index: -10;
}

/* ****************************** */
/* ***** SIDEBAR LEFT MENU ***** */
/* ****************************** */

#title_left_sidebar{
	position: relative;
	background-color: #333;
	color: #ededed;
	left: -10px;
	margin-top:10px;
	padding-left:20px;
	padding-right: 20px;
	padding-top: 5px;
	padding-bottom: 5px;
	height: 40px;
	width: 80px;
	line-height: 20px;
	font-size: 1.2em;
	font-weight: bold;
	box-shadow: 2px 5px 5px -2px #000;
}
#title_left_sidebar :before{
	position: absolute;
    content: "";
	border-top: 10px solid #505050;
	border-left: 10px solid transparent;
	height: 0px;
	width: 0px;
	left: 0px;
	bottom: -10px;
	//transition: all 0.4s ease-in-out 0s;
	//z-index: -1;
}

/*menu items*/

/* BAL ALHOKOK MENU */
#karihok_menu_left ul {
  position: relative;
  left: -10px;
  z-index: 1;
  padding: 5px 0px;
}

#karihok_menu_left ul li{
	position: relative;
    display: block;
    margin-bottom: 5px;
    height: 60px;
    color: #ededed;
    text-shadow: 0 1px 1px #111;
    border-top: 1px solid #363636;
    border-bottom: 1px solid #202020;
    background: #333 none repeat scroll 0% 0%;
    border-radius: 2px 2px 0 0;
    box-shadow: 2px 5px 5px -2px black;
    z-index: 10;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
    text-align: center;
}
#karihok_menu_left ul li:before {
  position: absolute;
  content: '';
  border-top: 10px solid #505050;
  border-left: 10px solid transparent;
  height: 0;
  width: 0;
  left: 0px;
  bottom: -10px;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
  z-index: -1;
}
#karihok_menu_left li a {
  display: block;
  text-indent: -9999px;
  //width: 60px;
  height: 60px;
  background-repeat: no-repeat;
  background-size: 60px Auto;
  background-position: center;
}
#karihok_menu_left li:hover {
  //z-index: 100;
  padding-top: 3px;
  padding-bottom: 3px;
  margin-left:-10px;
  margin-right: -10px;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
  -webkit-transform: translate(0px, -15px);
      -ms-transform: translate(0px, -15px);
          transform: translate(0px, -15px);
  box-shadow: 4px 7px 20px -2px black;
}
#karihok_menu_left li:hover:before {
  border-top: 20px solid #505050;
  border-left: 20px solid transparent;
  bottom: -20px;
  z-index:-100;
}
/* set img to each child */
#karihok_menu_left li:nth-child(1){
  border-right-style: solid;
  border-right-color: #007934;
  border-right-width: 10px;
}
#karihok_menu_left li:nth-child(1) a {
  background-image: url("images/karilogo/mfk_light.png");
}
#karihok_menu_left li:nth-child(2){
  border-right-style: solid;
  border-right-color: #cd202c;
  border-right-width: 10px;
}
#karihok_menu_left li:nth-child(2) a {
  background-image: url("images/karilogo/mak_light.png");
}
#karihok_menu_left li:nth-child(3){
  border-right-style: solid;
  border-right-color: #165788;
  border-right-width: 10px;
}
#karihok_menu_left li:nth-child(3) a {
  background-image: url("images/karilogo/geik_light.png");
}
#karihok_menu_left li:nth-child(4){
  border-right-style: solid;
  border-right-color: #00693c;
  border-right-width: 10px;
}
#karihok_menu_left li:nth-child(4) a {
  background-image: url("images/karilogo/ajk_light.png");
}
/*change each child bg color when hover*/
#karihok_menu_left li:hover:nth-child(1) {
  background-color: #007934;
}
#karihok_menu_left li:hover:nth-child(2) {
  background-color: #cd202c;
}
#karihok_menu_left li:hover:nth-child(3) {
  background-color: #165788;
}
#karihok_menu_left li:hover:nth-child(4) {
  background-color: #00693c;
}

/* JOBB ALHOKOK MENU */
#karihok_menu_right{
	//float: right;
	width: 100%;
}
#karihok_menu_right ul {
  position: relative;
  right: -10px;
  z-index: 1;
  padding: 5px 0px;
}
#karihok_menu_right ul li{
	position: relative;
    display: block;
    margin-bottom: 5px;
    height: 60px;
    color: #ededed;
    text-shadow: 0 1px 1px #111;
    border-top: 1px solid #363636;
    border-bottom: 1px solid #202020;
    background: #333 none repeat scroll 0% 0%;
    border-radius: 2px 2px 0 0;
    box-shadow: 2px 5px 5px -2px black;
    z-index: 10;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}
#karihok_menu_right ul li:before {
  position: absolute;
  content: '';
  border-top: 10px solid #505050;
  border-right: 10px solid transparent;
  height: 0;
  width: 0;
  right: 0px;
  bottom: -10px;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
  z-index: -1;
}
#karihok_menu_right li a {
  display: block;
  text-indent: -9999px;
  height: 60px;
  background-repeat: no-repeat;
  background-size: 60px Auto;
  background-position: center;
}
#karihok_menu_right li:hover {
  //z-index: 100;
  padding-top: 3px;
  padding-bottom: 3px;
  margin-left:-10px;
  margin-right: -10px;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
  -webkit-transform: translate(0px, -20px) ;
      -ms-transform: translate(0px, -20px) ;
          transform: translate(0px, -20px) ;
  box-shadow: 4px 7px 20px -2px black;
}
#karihok_menu_right li:hover:before {
  border-top: 20px solid #505050;
  border-right: 20px solid transparent;
  bottom: -20px;
  z-index:-100;
}
/* set img to each child */
#karihok_menu_right li:nth-child(1){
  border-left-style: solid;
  border-left-color: #fdc82f;
  border-left-width: 10px;
}
#karihok_menu_right li:nth-child(1) a {
  background-image: url("images/karilogo/gtk_light.png");
}
#karihok_menu_right li:nth-child(2){
  border-left-style: solid;
  border-left-color: #7d93aa;
  border-left-width: 10px;
}
#karihok_menu_right li:nth-child(2) a {
  background-image: url("images/karilogo/btk_light.png");
}
#karihok_menu_right li:nth-child(3){
  border-left-style: solid;
  border-left-color: #452325;
  border-left-width: 10px;
}
#karihok_menu_right li:nth-child(3) a {
  background-image: url("images/karilogo/ek_light.png");
}
#karihok_menu_right li:nth-child(4){
  border-left-style: solid;
  border-left-color: #d9c7aa;
  border-left-width: 10px;
}
#karihok_menu_right li:nth-child(4) a {
  background-image: url("images/karilogo/bbzi_light.png");
}
/*change each child bg color when hover*/
#karihok_menu_right li:hover:nth-child(1) {
  background-color: #fdc82f;
}
#karihok_menu_right li:hover:nth-child(2) {
  background-color: #7d93aa;
}
#karihok_menu_right li:hover:nth-child(3) {
  background-color: #452325;
}
#karihok_menu_right li:hover:nth-child(4) {
  background-color: #d9c7aa;
}


#hok_menu_left ul {
  position: relative;
  left: -10px;
  z-index: 1;
  padding: 5px 0px;
}

#hok_menu_left ul li {
    position: relative;
    display: block;
    height: 60px;
    width: 60px;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 45px;
    padding-right: 15px;
    color: #ededed;
    text-shadow: 0 1px 1px #111;
    border-top: 1px solid #363636;
    border-bottom: 1px solid #202020;
    background: #333;
    //background: -webkit-linear-gradient(top, #383838 0%, #262626 100%);
    //background: linear-gradient(top, #383838 0%, #262626 100%);
    background: #333 none repeat scroll 0% 0%;
    border-radius: 2px 2px 0 0;
    box-shadow: 2px 5px 5px -2px black;
    z-index: 10;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

/*ribbon corner*/

#hok_menu_left ul li:before {
  position: absolute;
  content: '';
  border-top: 10px solid #505050;
  border-left: 10px solid transparent;
  height: 0;
  width: 0;
  left: 0px;
  bottom: -10px;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
  z-index: -1;
}

#hok_menu_left li a {
  display: block;
  text-indent: -9999px;
  width: 60px;
  height: 60px;
  //padding-right: 10px;
  //background-image: url("http://miamioh.edu/_files/images/events/100px.png");
  background-repeat: no-repeat;
  background-size: 60px Auto;
}

/* set img to each child */

#hok_menu_left li:nth-child(1) a {
  background-image: url("images/karilogo/mfk_light.png");
}

#hok_menu_left li:nth-child(2) a {
  background-image: url("images/karilogo/mak_light.png");
}

#hok_menu_left li:nth-child(3) a {
  background-image: url("images/karilogo/geik_light.png");
}

#hok_menu_left li:nth-child(4) a {
  background-image: url("images/karilogo/ajk_light.png");
}

#hok_menu_left li:nth-child(5) a {
  background-image: url("images/karilogo/gtk_light.png");
}

#hok_menu_left li:nth-child(6) a {
  background-image: url("images/karilogo/btk_light.png");
}

#hok_menu_left li:nth-child(7) a {
  background-image: url("images/karilogo/ek_light.png");
  }

#hok_menu_left li:nth-child(8) a {
  background-image: url("images/karilogo/bbzi_light.png");
}


/*global hover settings*/

#hok_menu_left li:hover {
  //z-index: 100;
  padding-top: 3px;
  padding-bottom: 3px;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
  -webkit-transform: translate(0px, -30px) scale(1.25);
      -ms-transform: translate(0px, -30px) scale(1.25);
          transform: translate(0px, -30px) scale(1.25);
  box-shadow: 4px 7px 20px -2px black;
}

#hok_menu_left li:hover:before {
  border-top: 20px solid #505050;
  border-left: 20px solid transparent;
  bottom: -20px;
  z-index:-100;
}

/*change each child bg color when hover*/

#hok_menu_left li:hover:nth-child(1) {
  background-color: #007934;
}

#hok_menu_left li:hover:nth-child(2) {
  background-color: #cd202c;
}

#hok_menu_left li:hover:nth-child(3) {
  background-color: #165788;
}

#hok_menu_left li:hover:nth-child(4) {
  background-color: #00693c;
}

#hok_menu_left li:hover:nth-child(5) {
  background-color: #fdc82f;
}

#hok_menu_left li:hover:nth-child(6) {
  background-color: #7d93aa;
}


#hok_menu_left li:hover:nth-child(7) {
  background-color: #452325;
}

#hok_menu_left li:hover:nth-child(8) {
  background-color: #d9c7aa;
}

/* ****************************** */
/* ***** SIDEBAR RIGHT MENU ***** */
/* ****************************** */

#sidebar_menu_right ul {
  position: relative;
  float: right;
  right: -10px;
  z-index: 1;
  padding: 20px 0px;
  text-align: right;
}

/*menu items*/

#sidebar_menu_right ul li {
  position: relative;
  display: block;
  padding-right: 20px;
  width: 150px;
  color: #ededed;
  text-shadow: 0 1px 1px #111;
  border-top: 1px solid #363636;
  border-bottom: 1px solid #202020;
  background: #333;
  //background: -webkit-linear-gradient(top, #383838 0%, #262626 100%);
  //background: linear-gradient(top, #383838 0%, #262626 100%);
  background: #333 none repeat scroll 0% 0%;
  border-radius: 2px 2px 0 0;
  box-shadow: 2px 5px 5px -2px black;
  z-index: 10;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
}

/*ribbon corner*/
#sidebar_menu_right ul li:before {
  position: absolute;
  content: '';
  border-top: 10px solid #505050;
  border-right: 10px solid transparent;
  height: 0;
  width: 0;
  right: 0px;
  bottom: -10px;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
  z-index: -1;
}

#sidebar_menu_right li a {
  display: block;
  background-repeat: no-repeat;
  background-size: 80px Auto;
}

#sidebar_menu_right li:hover {
  //z-index: 100;
  background: #aaa;
  padding-right: 30px;
  margin-left: -10px;
  margin-top: 3px;
  margin-bottom: 3px;
  //width: 110%;
  //padding-top: 3px;
  //padding-bottom: 3px;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
  //transform: translate(0px, -30px) scale(1.25);
  -webkit-transform:scale(1.25em, 1);
      -ms-transform:scale(1.25em, 1);
          transform:scale(1.25em, 1);
  box-shadow: 4px 7px 20px -2px black;
}

/* ****************************** */
/* ***** FOOTER ***** */
/* ****************************** */

.ribbon-wrapper {
	position: relative;
	bottom: -5px;
	-webkit-box-shadow: 0px 10px 10px -10px #0e7c47;
	box-shadow: 0px 10px 10px -10px #0e7c47;
	
}
  .ribbon-front {
	background-color: #002f18;
	height: 50px;
	width: 100%;
	position: relative;
	left:-20px;
	z-index: 2;
	padding-left: 20px;
	padding-right: 20px;
}

  .ribbon-front
{
	-moz-box-shadow: 0px 0px 4px #0e7c47;
	-khtml-box-shadow: 0px 0px 4px #0e7c47;
	-webkit-box-shadow: 0px 0px 4px #0e7c47;
	-o-box-shadow: 0px 0px 4px #0e7c47;
	-webkit-box-shadow: 0px 10px 10px -10px #0e7c47;
	box-shadow: 0px 10px 10px -10px #0e7c47;
}

  .ribbon-edge-topleft,
  .ribbon-edge-topright{
	position: absolute;
	z-index: 1;
	border-style:solid;
	height:0px;
	width:0px;
}

  .ribbon-edge-topleft,
  .ribbon-edge-topright {
}

  .ribbon-edge-topleft{
	left: -20px;
	border-color: transparent #006635 transparent transparent;
}

  .ribbon-edge-topleft {
	top: -20px;
	border-width: 20px 20px 0 0;
}

  .ribbon-edge-topright{
	right: -20px;
	border-color: transparent transparent transparent #006635;
}

  .ribbon-edge-topright {
	top: -20px;
	border-width: 20px 0 0 20px;
}


#footer_back{
	position:absolute;
	width: 100%;
	height: 100px;
	bottom: 20px;
	background-color: yellow;
}

#footer_left {
	display: inline-block;
	box-sizing: border-box;
	float: left;
	width: 30%;
	//background-color: yellow;
	min-width: 300px;
	height: 100%;
}

#footer_mid {
	display: inline-block;
	margin: 0px auto;
	box-sizing: border-box;
	//float: left;
	width: 40%;
	min-width: 400px;
	height: 100%;
	text-align: center;
}
#footer_mid p{
	line-height: 50px;
}

#footer_right {
	display: inline-block;
	box-sizing: border-box;
	float: right;
	width: 30%;
	height: 100%;
	min-width: 300px;
}
#footer_right a {
	float: right;
	display: block;
	margin: 10px;
}
#footer_contact a,#footer_contact a:hover, #footer_contact a:visited{
	color:#24945e;
}
#footer_contact{
	//padding: 10% 0;
	line-height: 33px;
	height: 100%;
	padding-left: 10px;
}
.footer_title{
	//padding-top: 5px;
	//padding-bottom: 5px;
	font-size: 1em;
	color:#24945e;
	font-weight: bold;
}
.footer_text{
	font-size: 0.9em;
	color:#24945e;
}
/*********************************/
.footer_widget_area{
	padding: 10px;
}

.footer_widget_title{
	background-color: white;
	margin: 0px auto;
	width: 80%;
}
.footer_widget_title :before{
	content: '';
	position: absolute;
	top: 100%;
	left: 0px;
	height: 0;
	width: 0;
	border-top: 10px solid black;
	border-left: 10px solid transparent;
}
.footer_widget_title :after{
	content: '';
	position: absolute;
	top: 100%;
	left: 0px;
	height: 0;
	width: 0;
	border-top: 10px solid black;
	border-left: 10px solid transparent;
}

/* ****************************** */
/* ***** WIDGETS ***** */
/* ****************************** */
/*search*/
#searchform {
	//position: relative;
	//background-color: #002f18;
	//left: -10px;
	//right: -10px;
	//padding: 5px 20px;
	//box-shadow: 2px 5px 5px -2px #0e7c47;
	//width: 140px;
	//top: -10px;
	position: relative;
	width: 100%;
	background-color: #002f18;
}
/*#searchform:before{
	position: absolute;
    content: "";
    border-bottom: 10px solid #505050;
    border-left: 10px solid transparent;
    height: 0px;
    width: 0px;
    left: -10px;
    top: 0px;
}*/

#s {
	border-width: 0px 0px 1px;
	border-style: none none dashed;
	-moz-border-top-colors: none;
	-moz-border-right-colors: none;
	-moz-border-bottom-colors: none;
	-moz-border-left-colors: none;
	padding: 6px 15px 6px 35px;
	//border-radius: 4px;
	transition: all 0.7s ease 0s;
	width: 100%;
	text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
	background: #333 url("images/search-white.png") no-repeat scroll 10px 6px;
	color: rgb(162, 173, 202);
	border-color: -moz-use-text-color -moz-use-text-color #0e7c47;
}

#s:focus{
    background: url(images/search-dark.png) no-repeat 10px 6px #fef9ed;
    color: #333;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(0, 0, 0, 0.9) inset;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
    border-color: #333
    
}
/*random background color for dropdown*/
@-webkit-keyframes  randomcolorborder {
    12% { border-color: #007934; }
    24% { border-color: #cd202c; }
    36% { border-color: #165788; }
    48% { border-color: #00693c; }
    60% { border-color: #fdc82f; }
    72% { border-color: #7d93aa; }
    84% { border-color: #452325; }
    96% { border-color: #d9c7aa; }
}
@keyframes  randomcolorborder {
    12% { border-color: #007934; }
    24% { border-color: #cd202c; }
    36% { border-color: #165788; }
    48% { border-color: #00693c; }
    60% { border-color: #fdc82f; }
    72% { border-color: #7d93aa; }
    84% { border-color: #452325; }
    96% { border-color: #d9c7aa; }
}

/*
CSS Name: Default Styles
Description: NextGEN Default Gallery Stylesheet
Author: Photocrati Media
Version: 2.12

This stylesheet is provided to allow users the ability of overriding the default styles for all display types
*/

/* ********** NEXTGEN GALLERY STYLES ********** *//*
.ngg-galleryoverview{
  text-align: center;
}
.ngg-gallery-thumbnail-box{
  display: inline-block;
  float: none !important;
}
.ngg-slideshow-image-list{
    text-align: center;
    width: 100%;
}
.ngg-gallery-slideshow-image img{
    width: 100%;
    height: inherit;
}
.slideshowlink{
    text-align: left;
}
.ngg-album-gallery-image-counter {
    display: none;
}
.ngg-album-compact{
    float: none !important;
	display: inline-block !important;
	width: 20% !important;
	padding: 0px 6px 4px 6px !important;
}
.ngg-album-compact h4 {
    position: relative !important;
    display: block !important;
    bottom: 15px !important;
    margin: 0px 0px !important;
    padding: 0px 10px !important;
    color: #EDEDED !important;
    font-weight: bold !important;
    text-shadow: 0px 1px 1px #111 !important;
    border-top: 1px solid #363636 !important;
    border-bottom: 1px solid #202020 !important;
    background: #333 none repeat scroll 0% 0% !important;
    border-radius: 2px 2px 0px 0px !important;
    box-shadow: 0px 5px 10px 0px #000 !important;
    height: 15px !important;
    line-height: 10px !important;
    z-index: 10;
}
.ngg-album-compact h4:before{
	top: -10px !important;
    border-top: 0px solid black !important;
	border-bottom: 10px solid black!important;
	border-left: 10px solid transparent!important;
}
 
.ngg-album-compact h4:after{
    top: -10px !important;
    border-top: 0px solid black !important;
	border-bottom: 10px solid black!important;
	border-right: 10px solid transparent!important;
}
.ngg-album-compact h4 a{
    display: block !important;
    font-size: 11px;
    padding: 2px 0px !important;
    width: 100% !important;
}
.ngg-album-compact h4 a:hover{
    background-color: #333 !important;
    height: 15px !important;
    line-height: 15px !important;
}
.ngg-album-desc{
    width: 100% !important;
	max-width: 100% !important;
    line-height: 15px;
    height: 15px !important;
    text-align: center;
}
.ngg-album-compactbox{
    border: none !important;
}
.ngg-album-compactbox .Thumb {
    margin: 0px !important;
    padding: 0px 0 0 0 !important;
    width: 100% ;
    height: 122px;
    border: none;
}
.ngg-albumoverview{
    text-align: center;
}
*/
.ngg-breadcrumbs{
	position: absolute;
	background: orange none repeat scroll 0% 0%;
	padding: 5px 10px !important;
	width: 100%;
	left: -10px;
	border-top: 1px solid #363636;
	border-bottom: 1px solid #202020;
	background: #333 none repeat scroll 0% 0%;
	border-radius: 2px 2px 0px 0px;
	box-shadow: 0px 5px 10px 0px #000;
	color: #898989;
}