@font-face {
  font-family: 'wheroitalic';
  src: url('../fonts/wheroitalic.eot');
  src: url('../fonts/wheroitalic?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/wheroitalic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/wheroitalic.woff') format('woff'), /* Pretty Modern Browsers */
       url('../fonts/wheroitalic.ttf')  format('truetype'), /* Safari, Android, iOS */       
}

@font-face {
  font-family: 'wheroregular';
  src: url('../fonts/wheroregular.eot');
  src: url('../fonts/wheroregular?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/wheroregular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/wheroregular.woff') format('woff'), /* Pretty Modern Browsers */
       url('../fonts/wheroregular.ttf')  format('truetype'), /* Safari, Android, iOS */       
}

@font-face {
  font-family: 'wherobold';
  src: url('../fonts/wherobold.eot'); 
  src: url('../fonts/wherobold?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/wherobold.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/wherobold.woff') format('woff'), /* Pretty Modern Browsers */
       url('../fonts/wherobold.ttf')  format('truetype'), /* Safari, Android, iOS */       
}


@font-face {
    font-family: 'opensansbold';
    src: url('../fonts/OpenSans-Bold.eot'),
         url('../fonts/OpenSans-Bold.eot?#iefix') format('embedded-opentype'),
         url('../fonts/OpenSans-Bold.woff2') format('woff2'),
         url('../fonts/OpenSans-Bold.woff') format('woff'),         
         url('../fonts/OpenSans-Bold.svg#opensansbold') format('svg'),
         url('../fonts/OpenSans-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;

}

@font-face {
    font-family: 'opensansitalic';
    src: url('../fonts/OpenSans-Italic.eot');
    src: url('../fonts/OpenSans-Italic.eot?#iefix') format('embedded-opentype'),
         url('../fonts/OpenSans-Italic.woff2') format('woff2'),
         url('../fonts/OpenSans-Italic.woff') format('woff'),
         url('../fonts/OpenSans-Italic.ttf') format('truetype'),
         url('../fonts/OpenSans-Italic.svg#opensansitalic') format('svg');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'opensansregular';
    src: url('../fonts/OpenSans-Regular.eot'),
    	  url('../fonts/OpenSans-Regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/OpenSans-Regular.woff2') format('woff2'),
         url('../fonts/OpenSans-Regular.woff') format('woff'),
         url('../fonts/OpenSans-Regular.ttf') format('truetype'),
         url('../fonts/OpenSans-Regular.svg#opensansregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

#search_container .row.vertical-center-row {
	display: block;
	opacity: 0;	
}


body.home .footer {
	position: relative !important;
}

body, html {
	padding: 0px;
	margin: 0px;
	min-height: 100%;
}

html {
	position: relative;
	height: 100%;
	padding: 0px;
	margin: 0px;
}

body {
	font-family: 'open_sans', sans-serif;
	font-size: 16px;	
	min-height: 100%;
	background-color: #242829;		
	color: #fff;
	padding-bottom: 136px;
}

body.word {
	padding-bottom: 176px;	
}

body.full_height {
	height: 100%;
}

body.bg-white {
	background-color: #fff;	
}

pre {
	display: inline;
	background: none;	
}

.nopaddingbottom {
	padding-bottom: 0px !important;
}

.nopaddingtop {
	padding-top: 0px !important;
}

.nomarginbottom {
	margin-bottom: 0px !important;
}

.nomargintop {
	margin-top: 0px !important;
}

u {
    text-decoration: underline;
}

a.manual_link,
a.translation_mouseover {
	white-space:nowrap;
}

.clear,
p.clear {
	clear: both;
	height: 0px;
	padding: 0px;
	margin: 0px;
}

input, textarea {
	border-radius: 0px;
}

sup {	
	font-size: 11px;
	top: -0.5em;
}

sup.less_high {
	top: -0.4em;
}

sup.high {
	top: -0.75em;
}

sup.large {
	font-size: 16px;
    top: -0.25em;
    padding-right: 1px;
}

.unbold {
	font-weight: normal;
}

.four_eighty {
	display: none;
}

#back_to_top {
	opacity: 0;
	position: absolute;
	bottom: 0px;
	left: 50%;
	margin-left: -50px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 50px 50px 50px;
	border-color: transparent transparent #007bff transparent;	
	cursor: pointer;
	z-index: 2;	
}

#back_to_top i {
	position: absolute;
	left: -10px;
	top: 20px;	
	font-size: 20px;
	line-height: 20px;
	font-weight: normal;
	-webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}	

#back_to_top:hover i {
	top: 15px;
}

.container.full {
	width: 100%;
	max-width: 100%;	
	margin: 0px;
	position: relative;
}

a, a:active, a:hover, a:focus {
	text-decoration: none;
	color: #000;
}

*:focus {
	outline: 0;
}

h1 {
	font-family: 'opensansregular', sans-serif;
	font-weight: bold;
	font-size: 80px;
	line-height: 80px;
	padding: 0px;
	margin: 0px;
}

h3 {
	font-family: 'opensansbold', sans-serif;
	font-weight: bold;
	margin: 0px;
	padding: 0px;
	margin-bottom: 20px;
	text-transform: uppercase;	
}

.align-left {
	text-align: left;
}

.align-center {
	text-align: center;
}

.align-right {
	text-align: right;
}

/* Same Height */
.row-height {
  display: table;
  table-layout: fixed;
  height: 100%;
  width: 100%;  
}
.col-height {
  display: table-cell;
  float: none;
  height: 100%;
}
.col-top {
  vertical-align: top;
}
.col-middle {
  vertical-align: middle;
}
.col-bottom {
  vertical-align: bottom;
}

@media (min-width: 480px) {
  .row-xs-height {
    display: table;
    table-layout: fixed;
    height: 100%;
    width: 100%;
  }
  .col-xs-height {
    display: table-cell;
    float: none;
    height: 100%;
  }
  .col-xs-top {
    vertical-align: top;
  }
  .col-xs-middle {
    vertical-align: middle;
  }
  .col-xs-bottom {
    vertical-align: bottom;
  }
}

@media (min-width: 768px) {
  .row-sm-height {
    display: table;
    table-layout: fixed;
    height: 100%;
    width: 100%;
  }
  .col-sm-height {
    display: table-cell;
    float: none;
    height: 100%;
  }
  .col-sm-top {
    vertical-align: top;
  }
  .col-sm-middle {
    vertical-align: middle;
  }
  .col-sm-bottom {
    vertical-align: bottom;
  }
}

@media (min-width: 992px) {
  .row-md-height {
    display: table;
    table-layout: fixed;
    height: 100%;
    width: 100%;
  }
  .col-md-height {
    display: table-cell;
    float: none;
    height: 100%;
  }
  .col-md-top {
    vertical-align: top;
  }
  .col-md-middle {
    vertical-align: middle;
  }
  .col-md-bottom {
    vertical-align: bottom;
  }
}

@media (min-width: 1200px) {
  .row-lg-height {
    display: table;
    table-layout: fixed;
    height: 100%;
    width: 100%;
  }
  .col-lg-height {
    display: table-cell;
    float: none;
    height: 100%;
  }
  .col-lg-top {
    vertical-align: top;
  }
  .col-lg-middle {
    vertical-align: middle;
  }
  .col-lg-bottom {
    vertical-align: bottom;
  }
}
/* End Same Height */

.input-group-addon, input {
	border-radius: 0px;
	padding: 7px;
	border: 0px;
}

/* Vertical Align */
.container-table {
    height: 100%;
}
.container-table {
    display: table;
}
.vertical-center-row {
    display: table-cell;
    vertical-align: middle;
}

/* Header */
#header_strip_wrapper {
	position: relative;
}

#info_strip {
	background-color: #fff;
	color: #000;
	padding-top: 30px;
	padding-bottom: 30px;	
	position: relative;
}

#info_strip .container, #info_strip_close {
	cursor: pointer;
}	

#info_alert {
	display: block;
	text-align: center;
	color: #c27427;
	font-size: 40px;
	line-height: 40px;
}

#info_strip .col-md-7 {
	font-size: 14px;
	line-height: 20px;
	text-align: center;
}	

#info_strip_close {
	position: absolute;
	font-size: 20px;
    line-height: 20px;
    font-weight: normal;
    top: 20px;
    right: 40px;
}

/* Menu */
#primary_nav {
	position: absolute;
	z-index: 1;
	top: 0px;
	right: 0px;	
	list-style-type: none;
}

#primary_nav li {
	display: inline-block;
	padding: 15px;	
}

#primary_nav li * {
	color: #fff;
}

#menu_close {
	position: absolute;
	top: 12px;
	right: 20px;
	vertical-align: middle;
	cursor: pointer;
	z-index: 10;	
}

.primary_nav_item span,
#menu_pill span,
#menu_close span {
	font-family: 'opensansbold', sans-serif;
	text-transform: uppercase;
	font-size: 20px;
	line-height: 20px;
	display: inline-block;	
}

.primary_nav_item a {
	line-height: 1;
}

#menu_pill a {
	display: inline-flex;
}

#bar_wrapper {
	margin-top: 1px;
	margin-left: 10px;
	display: inline-block;	
}

#bar_wrapper .bar {
	width: 25px;
	height: 2px;
	background-color: #fff;
	margin-top: 2px;
	margin-bottom: 4px;
}

#menu_close span {
	color: #000;
	padding-top: 3px;
}

#menu_close #close_button {
	font-size: 30px;
	line-height: 30px;
	 font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; 
	 font-weight:100;
}

#menu_close {
	display: table;
	opacity: 0;
	transition: visibility 0s, opacity 1s linear;
}

.cbp-spmenu-open #menu_close {
	opacity: 1;
}

#menu_close {
	left: 38px;
	right: auto;
	width: 100%;	
}

#menu_close #close_button {
	padding-left: 10px;	
}	

#menu_close span,
#menu_close #close_button {	
	display: table-cell;
	vertical-align: middle;	
}

#main_menu {
	margin-top: 80px;
	padding-left: 0px;
	list-style-type: none;
}

#main_menu li {
	opacity: 0;
	transition: visibility 0s, opacity 1s linear;
}

.cbp-spmenu-open #main_menu li {
	opacity: 1;
}

#main_menu li a {
	font-family: 'open_sans', sans-serif;
	font-weight: bold;
	color: #000;
	font-size: 14px;
	line-height: 1;	
	text-transform: uppercase;
}

#main_menu li a span {
	font-family: 'wheroitalic', serif;
	font-size: 14px;
	line-height: 1;	
	font-style:italic;
	font-weight: normal;
	text-transform: none;
}

#main_menu li ul,
#main_menu li ul li ul {
	list-style-type: none;	
	display: none;
}

#copyright {
	opacity: 0;
	transition: visibility 0s, opacity 1s linear;
	position: absolute;
	bottom: 20px;
	right: 40px;
	text-align: right;
	font-family: 'wheroitalic', serif;
	font-size: 16px;
	line-height: 1;	
	font-style:italic;
}

.cbp-spmenu-open #copyright {
	opacity: 1;
}

#copyright p {
	font-size: 18px;
}

/* Sticky Footer */
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;  
  height: 136px;      
  background-position: bottom left;
  background-repeat:repeat-x;
  background-size: 25% auto;
  background-color: #242829;
  display: flex;
  align-content: center;
  flex-wrap: wrap;
}

body.word .footer {
	height: 176px;
}	

.footer .container {
/*	padding-bottom: 80px;*/
} 

#footer_logos img {
	max-width: 100%;
	height: auto;
}

/* Home Page */
#search_language {
	background-color: #f2b310;	
	color: #fff;
	font-family: 'wheroitalic', serif;
	font-style: italic;	
}

.search_glass {
	background: #262626;	
	color: #fff;
	display: none;
	padding-right: 15px;
}

.form-inline .form-group,
.form-inline .form-group .input-group {
	width: 100%;
}

#search_container #search_language {
	width: 120px;
	padding-right: 5px !important;
	font-size: 14px;
}

#search_container #search_language span {
	padding-right: 10px;	
	font-weight: normal; 
}	

#search_container #search_language,
#search_container input[type="text"],
#search_container input[type="password"],
#search_container input[type="email"] {
	padding: 15px;
	font-weight: bold;
}

#search_container input[type="text"],
#search_container input[type="password"],
#search_container input[type="email"] { 
	color: #000;
	font-family: 'opensansbold', sans-serif;
	font-weight: bold;
	width: 100%;
}

#search_container input[type="text"].loading {
	background-image: url('../img/searchloader.gif');
	background-position: right 15px center;
	background-repeat: no-repeat;	
}

#search_container p {
	color: #727373;
	font-family: 'wheroitalic', serif;
	font-style: italic;	
	text-align: center;
	padding: 0px;
	margin: 0px;
	padding-bottom: 10px;
	font-size: 18px;	
}

#search_container .input-group {
	margin-top: 20px;
}


#search_container input[type="text"]::-webkit-input-placeholder {
   color: #888;
}

#search_container input[type="text"]:-moz-placeholder { /* Firefox 18- */
   color: #888;  
}

#search_container input[type="text"]::-moz-placeholder {  /* Firefox 19+ */
   color: #888;  
}

#search_container input[type="text"]:-ms-input-placeholder {  
   color: #888;  
}

#search_results {
	position: relative;		
	overflow-y: visible;	
}

#list_container {
	display: table;
	width: 100%;
	/*white-space:nowrap;*/
	position: relative;
	left: 0px;
	top: 0px;
	height: auto;
}

.search_row {
	display: table-row;
	padding: 20px;
	width: 100%;	
	color: #727373;
	width: 100%;	
}

.search_row * {
	cursor:pointer;
}

.search_row:hover * {
	color: #fff;
}

.search_row .col {
	padding: 15px 10px;
	display: table-cell;
	vertical-align: middle;
	text-align: left;
	border-bottom: 1px rgba(114, 115, 115, 0.3) solid;
	width: auto;
}

.search_row .col.word {
	font-family: 'opensansbold', sans-serif;
	font-weight: bold;
	font-size: 16px;
	line-height: 1;	
	white-space:nowrap;
}

.search_row .col.description {
	font-family: 'wheroregular', serif;
	font-size: 16px;
}	

.search_row .col.indicator {
	text-align: center;
	width: 45px;
	padding: 0px;
}

.search_row .col .resource_circle {
	height: 25px;
	width: 25px;	
	border-radius: 50%;
	margin: 0 auto;
	display: block;
}

/* Single Word */
#single_word_search {
	display: none;
	background: #000;	
	padding-top: 100px;
	padding-bottom: 100px;	
}

#word_subline {
	display: block
	text-align: center;
	margin-top: 25px;
}

h2.english_word {
	font-size: 24px;
}

h2.english_word.static_content {
	font-size: 28px;
}

#single_word_search #list_container {
	position: relative;
	-webkit-transition: height 1s;
}

#word_header {
	padding-top: 150px;
	padding-bottom: 150px;
	background-color: #242829;
	background-repeat:repeat-x;
	background-position: bottom left;	
	background-size: 25% auto;
}

#word_header h1 {
	font-family: 'opensans', sans-serif;
	line-height: 1.25;
}

#word_header h1 span {
	font-weight: normal;
}

#word_header h1 span.prefix,
#word_header .word_suffixes {
	font-size: 40px;
	line-height: 40px;
	font-weight: normal;
}

#word_header .additional_suffix {
	font-weight: normal;
}	

#resource_indicator {
	position: absolute;
	top: 0px;
	left: 0px;
	text-align: center;
	padding: 10px 20px;
	color: #fff;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 16px;
}

#single_word_search_trigger {	
	cursor: pointer;	
	background: #000;	
	font-weight: normal;
	position: absolute;
	top: 0px;
	left: 50%;
	margin-left: -48px;
}

#single_word_search_trigger i {
	color: #fff;
	font-size: 16px;
	line-height: 16px;
	font-weight: normal;
	display: block;
	margin: 14px 40px;
}

#word_header #abbreviations{
	position: absolute;
	bottom: 20px;
	left: 20px;
	color: #fff;
	font-family: 'wheroregular', serif;
	font-size: 20px;
}

#word_header #abbreviations span {
	font-family: 'wheroitalic', serif;
	font-style: italic;
}

#word_header #classification {
	font-family: 'wheroitalic';
	font-style: italic;
	position: absolute;
	bottom: 20px;
	right: 20px;
	color: #fff;
	font-family: 'wheroregular', serif;
	font-size: 20px;
}

#word_header #word_context {	
	position: absolute;
	bottom: 20px;
	left: 20px;
	color: #fff;
	font-size: 18px;
}

.symbol_bracket {
	color: #999;
	padding-left: 5px;
	padding-right: 5px;
}

span.symbol sup {
	font-size: 18px;
	top: -0.5em;
}

span.symbol sup.high {
	top: -0.55em;
}	

span.symbol sup.higher {
	top: -0.65em;
}

span.symbol sup sup {
	top: -0.25em;
}	

#short_description {
	background: #fff;
	padding: 40px;
	font-size: 18px !important;
}

#short_description span,
#short_description ul li {
	font-size: 18px !important;
}

#short_description * {
	color: #000;	
}

#short_description .english,
#short_description .maori {
	font-size: 18px !important;
}	

#short_description .maori {
	margin-bottom: 15px;
}	

#short_description a {
	border-bottom: 1px #0099ff dotted;
}

#short_description table,
.english table {
	border-collapse: collapse;
}

#short_description table th,
.english table th {
	font-weight: bold;
}

#short_description table th,
#short_description table td,
.english table th,
.english table td {
	padding: 6px;
	border: 1px #555 solid;
	border-collapse: collapse;
}

#short_description .selectric-items li {
	cursor:auto;
	font-size: 16px;
}

#short_description .selectric-items li span {
	font-style:italic !important;
	color: red !important;
	font-family: 'opensansitalic' !important;
}

.strong_title,
#short_description h3,
#short_description h3 span {
	font-family: 'opensansbold', sans-serif !important;	
	font-weight: bold;	
	margin: 0px;
	padding: 0px;
	margin-bottom: 20px;
	font-size: 24px !important;
}

#short_description {
	margin-top: 10px;	
	font-family: 'wheroregular', serif !important;
}

#short_description span {
	font-size: 16px !important;
	line-height: 20px !important;
	font-family: 'wheroregular', serif !important;
}

#short_description div.english,
#short_description div.english p,
#short_description div.english span,
#short_description div.english * {
	font-family: 'wheroregular', serif !important;	
	color: #777;
}

#short_description_dropdowns .selectric-scroll ul li:first-of-type {
	display: none;
}

#short_description_dropdowns .selectric-scroll ul li:hover {
	background: none;
}

#main_audioclip a,
#main_audioclip_mobile a,
.mobile_play,
.mobile_pause {	
	display: block;
	margin: 0 auto;
	color: #fff;
	font-size: 50px;
	line-height: 50px;
}

.mobile_play.korero_audio {
	color: #000;
	font-size: 20px;
	line-height: 20px;
}

.mobile_play.korero_audio.display_inline {
	display: inline-block;	
	margin-left:10px;
	margin-right: 10px;
}

.mobile_play.korero_audio.display_inline .glyphicon {
	top: 5px;	
}	

#main_audioclip_mobile_wrapper {
	display: none;
}

#main_audioclip_mobile {
	padding-top: 35px;
	padding-bottom: 30px;
}

.mobile_play.korero_audio.lowlag_preload .glyphicon-bullhorn {
	height: auto !important;
}

.lowlag_preload .glyphicon-bullhorn {
	height: 57px !important;
}

.lowlag_preload .glyphicon-bullhorn {
	display: none;
}

.lowlag_preload.playing .glyphicon-volume-up {
	display: none;
}

.lowlag_preload.playing .glyphicon-bullhorn {
	display: block;
}

#pronounciations {
	padding-top: 100px;
	padding-bottom: 100px;
	background-color: #e3dfce;
}

#pronounciations * {
	color: #000;
}

#pronounciations a {	
	border-bottom: 1px #0099ff dotted;
}

#pronounciations .tauira_korero_interface {
	margin-left: 10px;
}

#pronounciations .tauira_korero_interface a {
	border: none;
}

#full_description {
	background-color: #fff;
	padding-top: 40px;
	padding-bottom: 40px;
	color: #000;
	font-family: 'wheroregular', serif  !important;	
}

#full_description p,
#full_description span {
	font-size: 16px !important;
	line-height: 20px !important;
	font-family: 'wheroregular', serif !important;
}

#full_description h3 {
	padding-left: 0px;	
}

#full_description h3 span {
	font-size: 24px !important;
	font-family: 'opensansbold', sans-serif !important;
    font-weight: bold !important;
}

#full_description h3.unpadded {
	padding-left: 0px;
}

#full_description .row-fluid {
	margin-bottom: 25px;
}

#full_description img {
	padding: 15px;
	padding-left: 0px;
	padding-right: 0px;
}

#full_description img.notoppadding,
#full_description img.nopaddingtop {
	padding-top: 0px;	
}

#full_description img.nobottompadding,
#full_description img.nopaddingbottom {
	padding-bottom: 0px;	
}

#full_description img.noleftpadding,
#full_description img.nopaddingleft {
	padding-left: 0px;	
}

#full_description img.norightpadding,
#full_description img.nopaddingright {
	padding-right: 0px;	
}

#full_description ul li,
#full_description ol li {
	line-height: 20px;
	padding-bottom: 10px;
}

#full_description img,
#takenga_marama img {
	max-width: 100% !important;
	height: auto !important;
}

#full_description a,
.pill_body a
{	
	border-bottom: 1px #0099ff dotted;
}

.tauira_korero_interface a {
	border-bottom: none;
}

.tooltip-inner {
	text-transform: lowercase;
	font-size: 12px !important;
	color: #fff !important;
}

/* Tooltip Override */
#word_header .tooltip-inner,
#short_description h3 .tooltip-inner {
	text-transform: none;
}

.tooltip_nochange .tooltip-inner  {
	text-transform: none !important;
}

.capitaliz {
	text-transform:capitalize !important;
}

#resource_indicator .tooltip-inner,
.tooltip-inner em, 
#full_description .tooltip-inner,
#pronounciations .tooltip-inner
{
	text-transform: none !important;
	color: #fff !important;
}

#short_description_dropdowns .tooltip {
	margin-left: -15px;		
}

.tooltip, .tooltip * {
	color: #fff !important;
}

#WordsSearchForm .tooltip,
#WordsSearchForm .tooltip .tooltip-inner {
	text-transform:none !important;
}

p.maintain_case {
	cursor: pointer;
}

.korero {
	margin-top: 15px;
	margin-bottom: 15px;
}

.korero span {
	display: inline-block;
}

.korero .tauira_korero {
	display: inline-block;
}

.korero .tauira_korero_interface {
	display: inline-block;	
}

#short_description .col-md-6 {
	padding-left: 0px;
	padding-right: 30px;	
}

#short_description .col-md-6 {
	padding-top: 15px;
}

#short_description .selectric p.label {
	font-family: 'opensansbold', sans-serif;
	font-size: 16px;
	line-height: 32px;
	text-align: left;
}

.video_embed video {	
	cursor: pointer;
	margin-bottom: 15px;
}

#full_description span.audio_embed,
#takenga_marama span.audio_embed {
	cursor: pointer;
	width: 15px;
	position: relative;
    top: 3px;
    display: inline-block;
    font-family: 'Glyphicons Halflings' !important;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    margin-left: 10px;
    margin-right: 10px;    
}

.video-js .vjs-big-play-button {
	top: 40% !important;
	left: 35% !important;
}

#full_description span.audio_embed .jp-rep {
	display: none;
}

.audio_embed:before {
    content: "\e038";
}

.audio_embed.pause:before {
    content: "\e073";
}

#full_description span.sup_heigher {
	line-height: 0.2 !important;
}

#full_description span.sup_lower {
	line-height: 0.8 !important;
}

/* MS Word style overrides */
.MsoListParagraphCxSpFirst {
	text-indent: 0 !important;
}

#whanau_kupu {
	text-align: center;
	padding-top: 40px;
	padding-bottom: 40px;
}

.mobile_accordion {
	display: none;
}

#full_description table,
#full_description table td,
#full_description table th {
	border: 1px #555 solid;
	border-collapse: collapse;	
}

#full_description table td,
#full_description table th {
	padding: 6px;
}

#full_description table th p {
	padding: 0px;
	margin: 0px;
}

#full_description table td table,
#full_description table td table td,
#full_description table td table th {
	border: 0px;
}

table.td_top_align th,
table.td_top_align td {
	vertical-align: top;
}

table.td_bottom_padding td {
	padding-bottom: 15px !important;
}

/* Tool Tips */
.tooltip-arrow,
.tooltip-inner {	
	font-size: 16px;
	color: #fff !important;
}


/* Login Page */
#login_box #flashMessage {
	text-align: center;
	color: red;
	font-family: 'wheroitalic', serif;
	font-style: italic;
	margin-bottom: 20px;
	font-size: 20px;
}

#login_box #flashMessage.success {
	color: green;
}

/* Mobile Nav */
#mobile_nav {
	display: none;
	position: relative;
	background-color: #000;
	padding: 20px;
}

#mobile_nav #mobile_nav_bar_wrapper {
	float: left;
	margin-top: 5px;
	margin-left: 5px;
	width: 33%;
	text-align: left;
}

#mobile_nav #mobile_nav_bar_wrapper .bar {
    width: 25px;
    height: 2px;
    background-color: #fff;
    margin-bottom: 3.1px;
}

#mobile_nav #mobile_nav_bar_title {
	width: 33%;
	float: left;
	text-align: center;
	font-family: 'opensansbold', sans-serif;
}

#mobile_nav #mobile_nav_bar_title a {
	color: #fff;
}

#mobile_nav_bar_search_button {
	float: left;
	width: 32%;
	text-align: right;
}

#mobile_nav_bar_search_button a:first-of-type {
	margin-right: 20px;
}

#mobile_nav_bar_search_button a i {
	color: #fff;
}

/* Error */
#error_text {
	text-align: center;
}

#error_text h1 {
	font-size: 50px;
	line-height: 50px;
	margin-bottom: 30px;
}

#error_text p {
	margin-bottom: 30px;
}

/* contact */
#contact_wrapper input[type="text"],
#contact_wrapper input[type="tel"],
#contact_wrapper input[type="email"],
#contact_wrapper textarea {
	color: #000;
    font-family: 'opensansregular', sans-serif;
    padding: 15px;
    font-weight: normal;
    border-radius: 0px;
    height: auto;
}

#contact_wrapper textarea {
	height: 120px;
}

#contact_wrapper input[type="submit"] {
	background-color: #f2b310;
	color: #fff;
	padding: 15px 20px;
}

#contact_wrapper input::-webkit-input-placeholder,
#contact_wrapper textarea::-webkit-input-placeholder {
   color: #000;
}

#contact_wrapper input:-moz-placeholder,
#contact_wrapper textarea:-moz-placeholder { /* Firefox 18- */
   color: #000;  
}

#contact_wrapper input::-moz-placeholder,
#contact_wrapper textarea::-moz-placeholder {  /* Firefox 19+ */
   color: #000;  
}

#contact_wrapper h1 {
	margin-bottom: 30px;
}

#contact_wrapper input:-ms-input-placeholder,
#contact_wrapper textarea:-ms-input-placeholder {  
   color: #000;  
}

/* Word List */
#wordlist_container {
	background: #fff;
	color: #000;
}

#wordlist_container .wordlist_description {	
	padding-bottom: 20px;
	margin-bottom: 0px;
	margin-top: 40px;	
}

#wordlist_container .wordlist_description p:first-of-type {
	padding-bottom: 20px;
	margin-bottom: 20px;
	position: relative;
}	

#wordlist_container .wordlist_description p:first-of-type:after {
	content: "";
	position: absolute;
	bottom: 0px;
	height: 2px;
	left: 50%;
	width: 25px;
	margin-left: -12.5px;
	background-color: #000;
}

.wordlist_letter {
	border-bottom: 1px #242829 solid;
	padding-bottom: 20px;
	margin-bottom: 40px;
	margin-top: 40px;
	text-transform: uppercase;
}

.wordlist_letter h2 {
	font-weight: bold;
}

#wordlist_container .list_entry {
	margin-bottom: 50px;
}

#wordlist_container p {
	margin: 0px;
}

#wordlist_container p.title,
#wordlist_container p.title span {
	font-weight: bold !important;
	font-family: 'wherobold' !important;
	font-weight: bold !important;
	font-size: 16px !important;
	line-height: 22.85px !important;
}

#wordlist_container p.title span.unbold,
#wordlist_container p.title em.unbold {
	font-weight: normal !important;
}

#wordlist_container p.details {
	padding-left: 15px !important;
	font-family: 'wheroregular' !important;
}

#wordlist_container p.details img {
	max-height: 15px;
}

img.darkened {
	background-color: #000;
	padding: 3px;
	max-height: 30px;
	height: auto;
	width: auto;
}

span.pref {
	color: #999;
}

/* Static Pages */
#static_content_wrapper {
	background: #fff;
}

#static_content {
	line-height: 22px;
	margin-bottom: 50px;
	font-size: 16px;
	line-height: 22px;
	padding-top: 60px;
	padding-bottom: 60px;
	background: #fff;
	color: #000;
	word-wrap:break-word;
}

#static_content a {
	font-size: 12px;
	border-bottom: 1px #0099ff dotted;
}

#static_content p {	
	margin-bottom: 20px;
}

body.static_page #word_header {
	padding-bottom: 75px;
}

.row-fluid.reference_entry {
	padding-top: 30px;
	padding-bottom: 30px;	
	border-bottom: 1px #e1e1e1 solid;
}

.row-fluid.reference_entry .col-md-6 {
	word-wrap:break-word;
}

h2.spaced {
	margin-top: 10px;
	margin-bottom: 5px;
	font-size: 18px;
	font-weight: bold;
}

p#footnote {
	margin-top: 50px;
	border-top: 1px #e1e1e1 solid;
	padding-top: 20px;
	font-size: 12px;
}

#static_content p.half_marign {
	margin-bottom: 0px;
}

/* Back To Top */
.cd-top,
#back_to_top_mobile {
  cursor: pointer;
  display: inline-block;
  height: 40px;
  width: 40px;
  position: fixed;
  bottom: 100px;
  right: 10px;
  z-index: 10;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  /* image replacement properties */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: rgba(246, 164, 73, 0.8) url(../img/icons/cd-top-arrow.svg) no-repeat center 50%;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  -moz-transition: opacity .3s 0s, visibility 0s .3s;
  transition: opacity .3s 0s, visibility 0s .3s;
}

#back_to_top_mobile {	
	display: none;	
	visibility:visible;
	opacity: 1;
	bottom: 30px !important;
	right: 30px !important;	
}

.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  -moz-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
}
.cd-top.cd-is-visible {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;
}
.cd-top.cd-fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: 1;
}
.no-touch .cd-top:hover {
  background-color: #e86256;
  opacity: 1;
}
@media only screen and (min-width: 768px) {
  .cd-top {
    right: 20px;
    bottom: 20px;
  }
}
@media only screen and (min-width: 1024px) {
  .cd-top {
    height: 60px;
    width: 60px;
    right: 30px;
    bottom: 30px;
  }
}

/* fractions */
span.fraction {
  display: inline-block;  
  text-align: center;
  vertical-align: middle;
}
span.fraction_item > sup {
  display: block;
  border-bottom: 1px solid;  
  font: inherit;
  top: 0;
  font-size: 12px !important;  
  line-height: 1.2 !important;
}
span.fraction_item > span {
  display: none;
}
span.fraction_item > sub {	
  display: block;
  font: inherit;
  top: -2px;
  font-size: 12px !important;  
}

span.fraction span.fraction_item {
	display: inline-block !important;	
	line-height: 1.4 !important;
	padding-left: 3px;
	padding-right: 3px;
	vertical-align: middle;
}

span.fraction:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;  
}

#full_description span.fraction_box {
	font-size: 80px !important;
	line-height: 0 !important;
}

#full_description span.fraction_box sub {
	bottom: -0.15em !important;	
}

mark.yellow_highlight {
	background-color: #ff0;
}

/* Columns */
.columns_split.columns_count_2 {
	columns: auto;
	columns: 2;
	column-gap: 8.3%;
}

/* Account */
#account_content_wrapper {
	background-color: #fff;
}

#account_content_wrapper  #flashMessage {
	text-align: left;
	padding: 15px;
    margin-bottom: 20px;
	color: #a94442;
    background-color: #f2dede;
}

#account_content_wrapper #flashMessage.success {
	color: #3c763d;
	background-color: #dff0d8;
}

.mylist_entryx {
	padding-top: 15px;
	padding-bottom: 15px;
	border-bottom: 1px #e1e1e1 solid;
}

.mylist_entry .mylist_meta {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.mylist_entry .mylist_meta li {
	display: inline-block;
	vertical-align: middle;
	margin-right: 15px;
	font-size: 80%;
	line-height: 1;
}

/* View/Manage List */
.glyphicon_submit {
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	background: none;
	border: none;
	color: #9d9d9d;
}

.glyphicon_submit:hover {
	color: #fff;
}

#toggle_word_layout {
	position: absolute;
	bottom: 0px;
	right: 0px;
	z-index: 1;
}

#toggle_word_layout ul {
	list-style-type: none;
}

#toggle_word_layout ul li {
	display: inline-block;	
}

#toggle_word_layout button {
	background-color: #9d9d9d;	
}

#toggle_word_layout button:disabled,
#toggle_word_layout button:hover {
	background-color: #f2b310;	
}

/* Add Word to List */
#WordlistAddWordForm {
	max-width: 400px;
	margin: 0 auto;
}

.add_to_wordlist_list input[type=radio] {
	opacity: 0;
	z-index: -1;
}

.add_to_wordlist_list label {
	display: block;
	padding: 10px;
	margin: 0px;			
}


.add_to_wordlist_list label:hover,
.add_to_wordlist_list label:focus {
	background: #f5f5f5;
}

.add_to_wordlist_list label {
	display: flex;
	justify-content: space-between;
}

.processing,
form.processing {
	pointer-events: none;
	cursor:wait;
}

.add_to_wordlist_list label.processing {
	position: relative;
}

.add_to_wordlist_list label.processing i {
	display: none;
}

@keyframes spinner {
	to {transform: rotate(360deg);}
}

.add_to_wordlist_list label.processing:after {
	content: '';
	box-sizing: border-box;
	position: absolute;
	top: 50%;
	right: 30px;
	width: 20px;
	height: 20px;
	margin-top: -10px;	
	border-radius: 50%;
	border: 2px solid #ccc;
	border-top-color: #000;
	animation: spinner .6s linear infinite;
}

#wordlist_bulk_add_to_list {
	position: fixed;
	height: 60px;
    width: 60px;
    left: 30px;
    bottom: 30px;
	cursor: pointer;
	background-color: rgb(246, 164, 73);
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
	text-align: center;
}

#wordlist_bulk_add_to_list i {
	line-height: 60px;	
}
