/*
Theme Name: DigitalOnda Philip K Howard
Theme URI: http://digitalonda.com/philipkhoward
Author: DigitalOnda
Author URI: http://digitalonda.com/
Description: This is Digita Onda default theme
Version: 1.0-wpcom
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: DigitalOnda PhilipKHoward
Domain Path: /languages/
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

 DigitalOnda Default is based on Underscores http://underscores.me/, (C) 2012-2013 Automattic, Inc.

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/
/* =Reset
-------------------------------------------------------------- */
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,
font,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  border: 0;
  font-family: inherit;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}
html {
  font-size: 62.5%;
  /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
  overflow-y: scroll;
  /* Keeps page centered in all browsers regardless of content height */
  -webkit-text-size-adjust: 100%;
  /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
  -ms-text-size-adjust: 100%;
  /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}
body {
  background: #fff;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
  display: block;
}
ol,
ul {
  list-style: none;
}
table {
  /* tables still need 'cellspacing="0"' in the markup */
  border-collapse: separate;
  border-spacing: 0;
}
caption,
th,
td {
  font-weight: normal;
  text-align: left;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
}
blockquote,
q {
  quotes: "" "";
}
a:focus {
  outline: thin dotted;
}
a:hover,
a:active {
  /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */
  outline: 0;
}
a img {
  border: 0;
}
/* =Global
----------------------------------------------- */
body,
button,
input,
select,
textarea {
  color: #404040;
  font-family: sans-serif;
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 1.5;
}
/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
}
hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}
/* Text elements */
p {
  font-weight: 100;
}
li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}
dt {
  font-weight: bold;
}
dd {
  margin: 0 1.5em 1.5em;
}
b,
strong {
  font-weight: bold;
}
dfn,
cite,
em,
i {
  font-style: italic;
}
blockquote {
  margin: 0 1.5em;
}
address {
  margin: 0 0 1.5em;
}
pre {
  background: #eee;
  font-family: "Courier 10 Pitch", Courier, monospace;
  font-size: 15px;
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}
code,
kbd,
tt,
var {
  font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}
mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}
sup,
sub {
  font-size: 75%;
  height: 0;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  bottom: 1ex;
}
sub {
  top: .5ex;
}
small {
  font-size: 75%;
}
big {
  font-size: 125%;
}
figure {
  margin: 0;
}
table {
  margin: 0 0 1.5em;
  width: 100%;
}
th {
  font-weight: bold;
}
img {
  height: auto;
  /* Make sure images are scaled correctly. */
  max-width: 100%;
  /* Adhere to container width. */
}
button,
input,
select,
textarea {
  font-size: 100%;
  /* Corrects font size not being inherited in all browsers */
  margin: 0;
  /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
  vertical-align: baseline;
  /* Improves appearance and consistency in all browsers */
  *vertical-align: middle;
  /* Improves appearance and consistency in all browsers */
}
button,
input {
  line-height: normal;
  /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid #ccc;
  border-color: #ccc #ccc #bbb #ccc;
  border-radius: 3px;
  background: #e6e6e6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
  color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
  /* Improves usability and consistency of cursor style between image-type 'input' and others */
  -webkit-appearance: button;
  /* Corrects inability to style clickable 'input' types in iOS */
  font-size: 12px;
  font-size: 1.2rem;
  line-height: 1;
  padding: .6em 1em .4em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  border-color: #ccc #bbb #aaa #bbb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
  border-color: #aaa #bbb #bbb #bbb;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  /* Addresses box sizing set to content-box in IE8/9 */
  padding: 0;
  /* Addresses excess padding in IE8/9 */
}
input[type="search"] {
  -webkit-appearance: textfield;
  /* Addresses appearance set to searchfield in S5, Chrome */
  -webkit-box-sizing: content-box;
  /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}
input[type="search"]::-webkit-search-decoration {
  /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
  -webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
  /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
  border: 0;
  padding: 0;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
  color: #111;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
  padding: 3px;
}
textarea {
  overflow: auto;
  /* Removes default vertical scrollbar in IE6/7/8/9 */
  padding-left: 3px;
  vertical-align: top;
  /* Improves readability and alignment in all browsers */
  width: 98%;
}
/* Links */
a {
  color: royalblue;
}
/* Alignment */
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}
.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}
.aligncenter {
  clear: both;
  display: block;
  margin: 0 auto;
}
/* Text meant only for screen readers */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
}
.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar */
}
/* Clearing */
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
  content: '';
  display: table;
}
.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
  clear: both;
}
.site-content h1 {
  text-transform: uppercase;
  font-size: 31px;
}
.site-content h1 span {
  padding: 0 3px;
}
.site-content .page-wrap {
  margin-top: 15px;
}
.site-content p strong {
  line-height: 100% !important;
}
/* =Menu
----------------------------------------------- */
.main-navigation {
  clear: both;
  display: block;
  float: left;
  width: 100%;
}
.main-navigation ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.main-navigation li {
  float: left;
  position: relative;
}
.main-navigation a {
  display: block;
  text-decoration: none;
}
.main-navigation ul ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  display: none;
  float: left;
  left: 0;
  position: absolute;
  top: 1.5em;
  z-index: 99999;
}
.main-navigation ul ul ul {
  left: 100%;
  top: 0;
}
.main-navigation ul ul a {
  width: 200px;
}
.main-navigation ul li:hover > ul {
  display: block;
}
.site-navigation .current_page_item a,
.site-navigation .current-menu-item a {
  text-decoration: line-through;
}
/* Small menu */
.menu-toggle {
  cursor: pointer;
  display: none;
}
@media screen and (max-width: 600px) {
  .menu-toggle,
  .main-navigation.toggled .nav-menu {
    display: block;
  }
  .main-navigation ul {
    display: none;
  }
}
/* =Content
----------------------------------------------- */
.hentry {
  margin: 0 0 1.5em;
}
.byline,
.updated {
  display: none;
}
.single .byline,
.group-blog .byline {
  display: inline;
}
.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}
.page-links {
  clear: both;
  margin: 0 0 1.5em;
}
/* =Asides
----------------------------------------------- */
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
  display: none;
}
/* =Media
----------------------------------------------- */
.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}
.wp-caption {
  border: 1px solid #ccc;
  margin-bottom: 1.5em;
  max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
  display: block;
  margin: 1.2% auto 0;
  max-width: 98%;
}
.wp-caption-text {
  text-align: center;
}
.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}
.site-main .gallery {
  margin-bottom: 1.5em;
}
.site-main .gallery a img {
  border: none;
  height: auto;
  max-width: 90%;
}
.site-main .gallery dd {
  margin: 0;
}
/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
  max-width: 100%;
}
/* =Navigation
----------------------------------------------- */
.site-main [class*="navigation"] {
  margin: 0 0 1.5em;
  overflow: hidden;
}
[class*="navigation"] .nav-previous {
  float: left;
  width: 50%;
}
[class*="navigation"] .nav-next {
  float: right;
  text-align: right;
  width: 50%;
}
/* =Comments
----------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
}
/* =Widgets
----------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}
/* Make sure select elements fit in widgets */
.widget select {
  max-width: 100%;
}
/* Search widget */
.widget_search .search-submit {
  display: none;
}
/* =Infinite Scroll
----------------------------------------------- */
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .paging-navigation,
.infinite-scroll.neverending .site-footer {
  /* Theme Footer (when set to scrolling) */
  display: none;
}
/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending .site-footer {
  display: block;
}
/** Digital Onda **/
body {
  font-family: "Proxima Nova", "proxima-nova", sans-serif !important;
}
body.home a {
  color: #231f20;
}
.flight {
  font-weight: 100;
}
.fnormal {
  font-weight: normal;
}
.fsemibold {
  font-weight: 600;
}
.fbold {
  font-weight: 800;
}
.textwhite {
  color: #fff !important;
}
.textnormal {
  color: #231F20 !important;
}
.text12 {
  font-size: 12px;
}
.text14 {
  font-size: 14px;
}
.text15 {
  font-size: 15px;
}
.text16 {
  font-size: 16px;
}
.text17 {
  font-size: 17px;
}
.text18 {
  font-size: 18px;
}
.text20 {
  font-size: 20px;
}
.text21 {
  font-size: 21px;
}
.text22 {
  font-size: 22px;
}
.text25 {
  font-size: 25px;
}
.text28 {
  font-size: 28px;
}
.text30 {
  font-size: 30px;
}
.text32 {
  font-size: 32px;
}
.text35 {
  font-size: 32px;
}
.textupp {
  text-transform: uppercase;
}
.margin-top-10 {
  margin-top: 10px;
}
.margin-top-35 {
  margin-top: 35px;
}
.margin-top-60 {
  margin-top: 60px;
}
.margin-left-20 {
  margin-left: 20px;
}
.margin-left-30 {
  margin-left: 30px;
}
.margin-right-30 {
  margin-right: 30px;
}
.margin-bottom-10 {
  margin-bottom: 10px !important;
}
.margin-bottom-15 {
  margin-bottom: 15px;
}
.margin-bottom-20 {
  margin-bottom: 20px;
}
.margin-bottom-30 {
  margin-bottom: 30px;
}
.margin-bottom-35 {
  margin-bottom: 35px;
}
.no-pad {
  padding: 0 !important;
}
.no-pad-top {
  padding-top: 0 !important;
}
.no-pad-right {
  padding-right: 0 !important;
}
.no-pad-bottom {
  padding-bottom: 0 !important;
}
.no-pad-left {
  padding-left: 0 !important;
}
.red-box {
  background-color: #EC2026 !important;
}
.blue-box {
  background-color: #0a4d81 !important;
}
.yellow-box {
  background-color: #efbc19 !important;
}
.line-height-20 {
  line-height: 20px;
}
.line-height-21 {
  line-height: 21px;
}
.line-height-25 {
  line-height: 25px;
}
.line-height-27 {
  line-height: 27px;
}
.line-height-30 {
  line-height: 25px;
}
.line-height-40 {
  line-height: 40px;
}
.trans80 {
  opacity: 0.8 !important;
  -o-opacity: 0.8 !important;
  -webkit-opacity: 0.8 !important;
  -moz-opacity: 0.8 !important;
}
.trans30 {
  opacity: 0.3 !important;
  -o-opacity: 0.3 !important;
  -webkit-opacity: 0.3 !important;
  -moz-opacity: 0.3 !important;
}
.trans20 {
  opacity: 0.2 !important;
  -o-opacity: 0.2 !important;
  -webkit-opacity: 0.2 !important;
  -moz-opacity: 0.2 !important;
}
.trans20 {
  opacity: 0.1 !important;
  -o-opacity: 0.1 !important;
  -webkit-opacity: 0.1 !important;
  -moz-opacity: 0.1 !important;
}
.trans0 {
  opacity: 0;
  -o-opacity: 0;
  -webkit-opacity: 0;
  -moz-opacity: 0;
}
.grid-sizer {
  width: 100%;
}
.no-border-radius {
  border-radius: 0 !important;
  -o-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
}
.no-border {
  border: none !important;
}
hr.line {
  margin-bottom: 10px;
  margin-top: 0;
}
/** Different Pages **/
body.home #page,
body.page #page,
body.page-template #page,
body.single-book #page,
body.archive #page {
  padding-bottom: 30px;
  padding-top: 40px;
}
/* Top Nav */
#topnav {
  margin: 10px 20px 0;
  /* position: fixed; */
  right: 0;
}
/* Header */
body.home #header,
body.page-template #header {
  padding-top: 35px;
}
.site-title {
  font-weight: 100;
  line-height: 50px;
  text-transform: uppercase;
  color: #231F20;
  font-size: 63px;
}
.flex-phone-menu-icon {
  display: none;
}
/* Site Navigation */
.site-navigation a,
.site-navigation span {
  color: #231f20;
  font-size: 15px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.site-navigation span span {
  padding: 9px;
}
.site-navigation span.menu-item:first-child span {
  display: none;
}
.site-navigation a:hover {
  text-decoration: none;
  border-bottom: 1px solid #000;
}
#main-navigation a {
  font-weight: 600;
}
#foot-navigation .menu-item {
  padding: 0 10px;
}
#foot-navigation .menu-item a {
  font-weight: 300;
}
#mobile-nav {
  display: none;
  margin-bottom: 0;
}
#mobile-nav .navbar-brand {
  padding-top: 16px;
  padding-bottom: 10px;
}
#mobile-nav .navbar-toggle {
  margin-right: 0;
  box-shadow: none;
  border-radius: 0;
  border-color: #060505;
}
#mobile-nav #bs-example-navbar-collapse-1 {
  -moz-border-bottom-colors: none;
  -moz-border-left-colors: none;
  -moz-border-right-colors: none;
  -moz-border-top-colors: none;
  background: none repeat scroll 0 0 #E6E6E6;
  border-color: #CCCCCC #CCCCCC #BBBBBB;
  border-image: none;
  border-style: solid;
  border-width: 1px;
  cursor: pointer;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
#mobile-nav a {
  color: rgba(0, 0, 0, 0.8);
}
/* Quotes */
#quotes {
  margin: 25px auto 20px;
  min-height: 90px;
}
/* Books Section */
#books,
.book-wrap {
  /* Large screens ----------- */
  /* Desktops and laptops ----------- */
  /* iPads (landscape) ----------- */
  /* iPads (portrait) ----------- */
}
@media only screen and (min-width: 1824px) {
  #books,
  .book-wrap {
    min-height: 210px;
  }
}
@media only screen and (min-width: 1224px) {
  #books,
  .book-wrap {
    min-height: 210px;
  }
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
  #books,
  .book-wrap {
    min-height: 210px;
  }
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
  #books,
  .book-wrap {
    /* Styles */
  }
}
.book-wrap {
  position: relative;
}
.book-wrap .back {
  color: #fff;
  position: absolute;
  left: 0 ;
  top: 0;
}
.book-wrap .back h5 {
  bottom: 35px;
  left: 15px;
  padding-right: 30px;
  position: absolute;
  line-height: 17px;
  font-weight: 100;
  color: #fff;
}
.book-wrap .readmore {
  bottom: 15px;
  color: #FFFFFF;
  font-weight: 600;
  left: 15px;
  position: absolute;
  font-size: 15px;
}
#books .book-box {
  display: block;
  float: left;
  padding-bottom: 8px;
  border-bottom-width: 1px;
  border-bottom-style: solid;
}
#books-second {
  margin: 0 45px;
}
#books-second .book-wrap {
  margin: auto;
}
#books-first .book-wrap,
#books-first .back {
  background-color: #EB2027;
}
#books-second .book-wrap,
#books-second .back {
  background-color: #F0CC15;
}
#books-third .book-wrap,
#books-third .back {
  background-color: #0C4B80;
}
#book-fourth .book-wrap,
#book-fourth .back {
  background-color: #EB2027;
}
#books-first {
  border-bottom-color: #EB2027;
}
#books-second {
  border-bottom-color: #F0CC15;
}
#books-third {
  border-bottom-color: #0C4B80;
}
#books-fourth {
  border-bottom-color: #EB2027;
}
.front {
  -moz-animation-duration: 4s !important;
  -moz-animation-delay: 0s;
  -webkit-animation-duration: 4s !important;
  -webkit-animation-delay: 0s;
  -o-animation-duration: 4s !important;
  -o-animation-delay: 0s;
}
.front h2 {
  bottom: 0;
  color: #FFFFFF;
  left: 10px;
  line-height: 27px;
  position: absolute;
}
.back {
  -moz-animation-duration: 3s !important;
  -webkit-animation-duration: 3s !important;
  -o-animation-duration: 3s !important;
}
/* Rules */
#rules {
  height: 161px;
  overflow: hidden;
  margin-top: 65px;
  position: relative;
}
#mobile-rules {
  margin-top: 65px;
}
#rules div.rule-wrap {
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -336px;
}
#rules div.rule-box {
  display: block;
  float: left;
  cursor: pointer;
  position: relative;
}
#rule-no1 {
  border-top: 7px solid #e23a29;
}
#rule-no2 {
  border-top: 7px solid #f0cc15;
}
#rule-no3 {
  border-top: 7px solid #0c4b80;
}
#rule-no4 {
  border-top: 7px solid #d83728;
}
#rules img {
  opacity: 0;
  -moz-opacity: 0;
  -o-opacity: 0;
  -webkit-opacity: 0;
}
#rules div.rule-box div {
  position: absolute;
  width: 100%;
  height: 97.5%;
  left: 0;
  top: 0;
  padding: 5% 8% 2.5%;
  color: #fff;
  text-align: left;
}
#rules div.rule-box div h5 {
  border-bottom: 1px solid #fff;
  padding-bottom: 5px;
  text-transform: uppercase;
}
#rules div.rule-box div p {
  font-size: 16px;
  line-height: 19px;
}
/* subscribe */
#subscribe {
  margin-bottom: 65px;
  margin-top: 10px;
}
#eemail {
  width: 280px;
  height: 35px;
  margin: auto;
  position: relative;
}
#eemail .eemail_caption {
  display: none;
}
#eemail input[type="text"] {
  width: 198px;
  height: 33px;
  font-size: 10px;
  font-style: italic;
  left: 0;
  padding: 0 5px;
}
#eemail input {
  border: 1px solid #8F8E8E;
  border-radius: 0;
  position: absolute;
  top: 0;
  padding: 0;
  line-height: 33px;
  background: none;
}
#eemail .eemail_textbox_button {
  width: 83px;
  height: 33px;
  font-size: 17px;
  right: 0;
}
.eemail_msg {
  position: absolute;
  top: 38px;
  color: #404040!important;
}
/* Footer */
/* Squarebox */
.squarebox input {
  height: 100%;
  border: 1px solid #000;
}
#joinus {
  width: 260px;
  height: 35px;
  margin: auto;
  position: relative;
}
#joinus input {
  border: 1px solid #8f8e8e;
  border-radius: 0;
  position: absolute;
  top: 0;
  padding: 0;
  line-height: 33px;
  background: none ;
}
#joinus input[type="text"] {
  width: 198px;
  height: 33px;
  font-size: 10px;
  font-style: italic;
  left: 0;
  padding: 0 5px;
}
#joinus input[type="submit"] {
  width: 63px;
  height: 33px;
  font-size: 17px;
  right: 0;
}
/* Books Page */
.book-nav {
  margin-top: 5px;
}
.book-nav .menu-item:first-child span {
  display: none;
}
.book-nav .current-menu-item a {
  color: #DD3D27;
  font-weight: 600;
}
.nav-horizontal a {
  color: #231F20;
}
.nav-horizontal p {
  font-size: 21px;
}
.book-thumbnail,
.book-content {
  margin-top: 50px;
  margin-bottom: 20px;
}
.book-caption {
  width: 238px;
  margin-top: 10px;
}
.book-content p {
  padding-bottom: 6px;
  font-size: 14px;
  font-weight: 100;
}
.book_emphasize_sentence {
  margin-top: -8px;
  margin-bottom: 10px;
}
.book_emphasize_sentence p {
  margin-bottom: 0px;
}
.book_emphasize_sentence h1,
.book_emphasize_sentence h2,
.book_emphasize_sentence h3,
.book_emphasize_sentence h4,
.book_emphasize_sentence h5,
.book_emphasize_sentence h6 {
  margin-top: 0;
  margin-bottom: 0;
}
.book-info-tab {
  margin-bottom: 70px;
}
.book-info-tab .tab-pane {
  padding-top: 35px;
}
.book-info-tab .tab-pane h1:first-child,
.book-info-tab .tab-pane h2:first-child,
.book-info-tab .tab-pane h3:first-child,
.book-info-tab .tab-pane h4:first-child,
.book-info-tab .tab-pane h5:first-child,
.book-info-tab .tab-pane h6:first-child {
  padding: 0;
  margin-top: 0;
}
.book-info-tab .nav-tabs {
  font-size: 21px;
  font-weight: 100;
  padding-bottom: 5px;
}
.app-item {
  margin-bottom: 25px;
}
.app-item h4,
.app-item p {
  margin-bottom: 0;
  font-weight: 100;
}
.app-item h4 {
  text-transform: uppercase;
}
.app-item p {
  line-height: 25px;
}
.app-item a:hover,
.app-item a:focus {
  color: #EB2027;
}
#testimonial {
  margin-top: 35px;
}
#testimonial,
#testimonial > div {
  width: 238px;
  height: 300px;
  overflow: hidden;
}
/* Media */
.close-media-content-box {
  cursor: pointer;
}
/* Articles Page */
.article-wrap .article-item:first-child .line {
  display: none;
}
.article-item h2 a {
  color: #404040;
  text-transform: capitalize;
}
.article-item i {
  color: #231F20;
}
.m-article-box-item {
  overflow: hidden;
}
.m-article-box-item .thumbnail {
  min-height: 180px;
  height: 240px;
  padding: 0 20px 30px;
  position: relative;
}
.m-article-box-item .readmore {
  position: absolute;
  bottom: 0;
  right: 20px;
}
/* Contact Page */
.contact-blocks {
  margin-bottom: 9px;
  overflow: hidden;
}
.contact-blocks .img-responsive {
  position: relative;
}
.contactblock-navs {
  overflow: hidden;
}
.contactblock-nav {
  height: 60px;
  max-height: 60px;
  color: #fff;
  position: relative;
  margin-bottom: 5px;
  display: block;
  float: left;
  width: 100%;
}
.contactblock-nav h3 {
  line-height: 60px;
  margin: 0;
}
.contactblock-nav:hover,
.contactblock-nav:hover h3 {
  color: #fff;
}
.membrane {
  background: none repeat scroll 0 0 #000000;
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  width: 100%;
}
.contact-blocks a.active .membrane,
.contact-blocks a:hover .membrane,
.contactblock-nav:hover .membrane {
  display: none;
}
.contact-blocks a {
  display: block;
  float: left;
  height: 150px;
  position: relative;
  width: 220px;
}
.contact-blocks a.active img,
.contact-blocks a:hover img {
  opacity: 0;
}
.contact-blocks a img {
  max-height: 100%;
  max-width: 100%;
  opacity: 0;
}
.contact-blocks a h3 {
  bottom: 0;
  color: #FFFFFF;
  left: 13px;
  line-height: 23px;
  position: absolute;
}
.contact-blocks a:first-child {
  margin-right: 9px;
}
body.page-template-page-contact-php #content {
  margin-top: 35px;
  overflow: hidden;
}
body.page-template-page-contact-php .tab-pane h3 {
  line-height: 25px;
  margin-top: 0;
}
body.page-template-page-contact-php .tab-content-wrap {
  position: relative;
}
body.page-template-page-contact-php .close-tab-content {
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 9000;
}
/* SeeMore */
.seemore,
#seemore {
  cursor: pointer;
}
.ajax-loading {
  background: url("images/loading.gif") center center no-repeat;
  text-indent: -99999px;
}
/* Contact Form 7 */
div.wpcf7-mail-sent-ok {
  border: medium none;
  color: #398F14;
  margin: 0;
  padding: 0;
}
div.wpcf7-validation-errors {
  border: none;
  color: #F7E700;
  margin: 9;
  padding: 0;
}
/*Toan 2014-04-15*/
a:visited {
  color: #000;
}
/*Toan*/
