/*
Theme Name: On Target Publications
Theme URI: https://www.otpbooks.com/
Author: Ilmigo
Author URI: https://www.ilmigo.com/
Description: WordPress theme for OTPBooks.com
Version: 1.0
Text Domain: otp
*/

/**
 * Table of Contents
 *
 * 1.0 - Normalize
 * 2.0 - Typography
 * 3.0 - Elements
 * 4.0 - Forms
 * 5.0 -
 *   5.1 -
 *   5.2 -
 */

 /**
 * 1.0 - Normalize
 *
 * Normalizing styles have been helped along thanks to the fine work of
 * Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
 */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
 margin:0;
 padding:0;
 border:0;
 outline:0;
 font-size:100%;
 vertical-align:baseline;
 background:transparent;
}
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
  color: #1a2b33;
}
a[href^=tel] { color: inherit; text-decoration: none; }

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: 700;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 0;
}

hr {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

code,
kbd,
pre,
samp {
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

select {
	text-transform: none;
}

button {
	overflow: visible;
}

button,
input,
select,
textarea {
	max-width: 100%;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
	opacity: .5;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input[type="checkbox"],
input[type="radio"] {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin-right: 0.4375em;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"] {
	-webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #d1d1d1;
	margin: 0 0 1.75em;
	padding: 0.875em;
}

fieldset > :last-child {
	margin-bottom: 0;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
	vertical-align: top;
}

optgroup {
	font-weight: bold;
}


/**
 * 2.0 - Typography
 */

body,
button,
input,
select,
textarea {
	color: #1a2b33;
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	line-height: 1.75;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-weight: normal;
	margin: 0;
	text-rendering: optimizeLegibility;
	font-family: 'Poppins', sans-serif;
}

p {
	line-height: 26px;
	margin: 0 0 1.75em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	border: 0 solid #1a2b33;
	border-left-width: 4px;
	color: #1a2b33;
	font-size: 19px;
	font-size: 1.1875rem;
	font-style: italic;
	line-height: 1.4736842105;
	margin: 0 0 1.4736842105em;
	padding: 0 0 0 1.263157895em;
}

blockquote,
q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote p {
	margin-bottom: 1.4736842105em;
}

blockquote cite,
blockquote small {
	color: #1a2b33;
	display: block;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.75;
}

blockquote cite:before,
blockquote small:before {
	content: "\2014\00a0";
}

blockquote em,
blockquote i,
blockquote cite {
	font-style: normal;
}

blockquote strong,
blockquote b {
	font-weight: 400;
}

blockquote > :last-child {
	margin-bottom: 0;
}

address {
	font-style: italic;
	margin: 0 0 1.75em;
}

code,
kbd,
tt,
var,
samp,
pre {
	font-family: Inconsolata, monospace;
}

pre {
	border: 1px solid #1a2b33;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.3125;
	margin: 0 0 1.75em;
	max-width: 100%;
	overflow: auto;
	padding: 1.75em;
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

code {
	background-color: #1a2b33;
	padding: 0.125em 0.25em;
}

abbr,
acronym {
	border-bottom: 1px dotted #1a2b33;
	cursor: help;
}

mark,
ins {
	padding: 0.125em 0.25em;
	text-decoration: none;
}

big {
	font-size: 125%;
}


/**
 * 3.0 - Elements
 */

html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

body {
	background: #fff;
	/* Fallback for when there is no custom background color defined. */
}

hr {
	background-color: #b4c1d0;
	border: 0;
	height: 1px;
	margin: 0 0 1.75em;
}

ul,
ol {
	margin: 0 0 1.75em 1.25em;
	padding: 0;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
	margin-left: 1.5em;
}

li > ul,
li > ol {
	margin-bottom: 0;
}

dl {
	margin: 0 0 1.75em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 0 1.75em;
}

img {
	height: auto;
	/* Make sure images are scaled correctly. */
	max-width: 100%;
	/* Adhere to container width. */
	vertical-align: middle;
}

del {
	opacity: 0.8;
}

table,
th,
td {
	border: 1px solid #b4c1d0;
}

table {
	border-collapse: separate;
	border-spacing: 0;
	border-width: 1px 0 0 1px;
	margin: 0 0 1.75em;
	table-layout: fixed;
	/* Prevents HTML tables from becoming too wide */
	width: 100%;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}

th {
	border-width: 0 1px 1px 0;
	font-weight: 700;
}

td {
	border-width: 0 1px 1px 0;
}

th,
td {
	padding: 0.4375em;
}

/* Placeholder text color -- selectors need to be separate to work. */
::-webkit-input-placeholder {
	color: #d7e0e4;
	font-family: 'Poppins', sans-serif;
}
:-moz-placeholder {
	color: #d7e0e4;
	font-family: 'Poppins', sans-serif;
}
::-moz-placeholder {
	color: #d7e0e4;
	font-family: 'Poppins', sans-serif;
	opacity: 1;
	/* Since FF19 lowers the opacity of the placeholder by default */
}
:-ms-input-placeholder {
	color: #d7e0e4;
	font-family: 'Poppins', sans-serif;
}

input:focus::-webkit-input-placeholder {
  color:transparent !important;
}
input:focus:-moz-placeholder {
  color:transparent !important;
}
input:focus::-moz-placeholder {
  color:transparent !important;
}
input:focus:-ms-input-placeholder {
  color:transparent !important;
}

/**
 * 4.0 - Forms
 */

input {
	line-height: normal;
}

/*button,
button[disabled]:hover,
button[disabled]:focus,*/
.otp-btn,
input[type="button"],
input[type="button"][disabled]:hover,
input[type="button"][disabled]:focus,
input[type="reset"],
input[type="reset"][disabled]:hover,
input[type="reset"][disabled]:focus,
input[type="submit"],
input[type="submit"][disabled]:hover,
input[type="submit"][disabled]:focus {
	background: #073263;
	border: none;
	border-radius: 0;
  font-size: 12px;
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-weight: 500;
	letter-spacing: 0.08em;
	line-height: 36px;
	padding: 0 20px;
	text-transform: none;
	text-decoration: none;
  display: inline-block;
  -webkit-transition: all 0.5s ease; /* Safari */
  transition: all 0.5s ease;
}

/*button:hover,
button:focus,
input[type="button"]:hover,*/
.otp-btn:hover,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
.tc-btn-inverse,
button[disabled=disabled],
button:disabled  {
  opacity: 0.75;
}

/*button:focus,*/
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus {
	outline: thin dotted;
	outline-offset: -4px;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea {
	background: #fff;
	background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
	border: 1px solid #18406d;
	border-radius: 0;
	color: #1a2b33;
	padding: 0.625em 0.4375em;
	width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus {
	background-color: #fff;
	border-color: #073263;
	color: #1a2b33;
	outline: 0;
}

/* Placeholder text color -- selectors need to be separate to work. */
.blue-ph::-webkit-input-placeholder {
	color: #073263;
}
.blue-ph:-moz-placeholder {
	color: #073263;
}
.blue-ph::-moz-placeholder {
	color: #073263;
}
.blue-ph:-ms-input-placeholder {
	color: #073263;
}

/*
Utilities
---------------------*/

*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.clearfix:after {
	content: "";
	display: table;
	clear: both;
}
.no_padding{
	padding:0px !important;
}
.no_top_padding{
	padding-top:0px !important;
}
.no_bottom_padding{
	padding-bottom:0px !important;
}
.no_left_padding{
	padding-left:0px !important;
}
.no_right_padding{
	padding-right:0px !important;
}
.no_margin{
	margin:0px;
}
.no_top_margin{
	margin-top:0px !important;
}
.no_bottom_margin{
	margin-bottom:0px;
}
.no_left_margin{
	margin-left:0px !important;
}
.no_right_margin{
	margin-right:0px;
}
.no_border{
	border:0px !important;
}
.woocommerce-table.woocommerce-table--order-details .order_item dl{
    margin-bottom: 0;
}
.woocommerce-table.woocommerce-table--order-details .order_item dl + br{
    display: none !important;
}
.woocommerce .woocommerce-customer-details address {
    border: none;
}
form.woocommerce-currency-switcher-form > .dd-container {
    max-height: 47.188px;
    max-width: 200px;
}

.otp-blog-body-right h3.widget-title {
    line-height: 1;
    text-transform: uppercase;
    font-size: 18px;
    color: #073263;
    border-bottom: 3px solid #dddddd;
    padding-bottom: 5px;
    position: relative;
    margin: 0 0 15px;
}
.otp-blog-body-right h3.widget-title:after {
    content: "";
    width: 60px;
    height: 3px;
    position: absolute;
    left: 0;
    bottom: -2.5px;
    background-color: #073263;
    display: block;
    z-index: 10;
}
body.single section.otp-section .author-box {
    border: 1px dashed #ccc;
    padding: 15px 15px 0px 20px;
}
body.single section.otp-section .author-box:not(:first-child) {
    margin-top: 10px;
}
body.single section.otp-section .author-box .author-content {
    display: none;
    border-top: 1px solid #ccc;
    padding-top: 15px;
}
body.single section.otp-section .author-box .author-content.active {
    display: block;
}
body.single section.otp-section .author-box h3.author-title {
    margin-bottom: 0;
    position: relative;
    cursor: pointer;
    top: -8px;
}
body.single section.otp-section .author-box h3.author-title:after {
    display: block;
    content: "\E802";
    height: 16px;
    position: absolute;
    top: 7px;
    right: 14px;
    font-weight: 700;
    font-family: fontello;
    color: #555;
    font-size: 16px;
}
body.single section.otp-section .author-box h3.author-title.open {
    
}
body.single section.otp-section .author-box h3.author-title.open:after {
    content: "\E813";
    font-size: 16px;
    top: 6px;
    right: 15px;
    font-weight: 300;
}
body.single section.otp-section .author-box .author-box-img {
	float: left;
	padding-right: 15px;
}
body.single section.otp-section .author-box .author-box-img img {
    max-width: 115px;
    border-radius: 50%;
    /*box-shadow: -5px 0px 20px #aaa;*/
}
body.single section.otp-section .author-box p {
	font-size: 14px;
        margin: 0 0 10px;
}
body.single section.otp-section .author-box p.author-box-lm {
	margin: 0;
}
body.single section.otp-section .author-box p.author-box-lm a {
	font-weight: bold;
}


.author-social-links {
	margin-top: 20px;
}
.author_single .author-social-links {
	margin-top: 40px;
}
.author-social-links ul {
	list-style: none;
	float: right;
	margin: 5px 0;
}
.author_single .author-social-links ul {
	float: left;
}
.author-social-links ul li {
	display: inline-block;
}
.author-social-links ul li:not(:last-child) {
	margin-right: 10px;
    border-right: 1px solid #ccc;
    padding-right: 10px;
}
.author-social-links ul li a {
	color: #4f5051;
	display: block;
	width: 100%;
	text-decoration: none;
}
.author_single .author-social-links ul li a {
	font-size: 18px;
}
.author-social-links ul li a:hover {
	opacity: 0.75;
	transition: opacity ease 0.3s;
}


@media(max-width: 1279px) {}
@media(max-width: 1023px) {
	body.single section.otp-section .author-box {
	}
	body.single section.otp-section .author-box .author-box-img {
		float: none;
		padding: 0;
		text-align: center;
	}
	body.single section.otp-section .author-box .author-box-desc {
		margin-top: 20px;
	}
}
@media all and (min-width: 768px) and (max-width: 1023px) {
    .otp-blog-body-right h3.widget-title{
        margin-top: 30px;
    }
}
@media(max-width: 767px) {
	.author-social-links {
		margin-top: 30px;
	}
}
/*
-webkit-transition: all 0.25s ease;
transition: all 0.25s ease;
*/
.woocommerce-checkout .select2-container--default .select2-selection--single{
    height: 50px !important;
    padding-top: 11px;
    border: 1px solid #e3e3e3;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow{
    width: 30px;
    height: 100%;
}

/*
Checkout page payment method
---------------------------------*/

span.cards-accepted > span.cards-accepted-label {
    margin-left: 15px;
    vertical-align: sub;
    font-size: 13px;
    font-weight: 300;
}

ul.recently-viewed-products .recently-viewed-product {
    display: block !important;
    float: left;
}

/* 
My Account Page
--------------------------------------- */
.woocommerce-account .woocommerce-form-login .woocommerce-button,
.woocommerce-account .woocommerce-form-register .woocommerce-button {
    width: 170px;
    letter-spacing: .1em;
    max-width: 100%;
}


/* 
Borrow books
--------------------------------------- */
.lds-dual-ring {
    display: inline-block;
    width: 40px;
    height: 30px;
    vertical-align: middle;
    transition: width 0.5s linear;
    overflow: hidden;
}
.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 30px;
    height: 30px;
    margin: 1px;
    border-radius: 50%;
    border: 5px solid #dd2036;
    border-color: #dd2036 transparent #dd2036 transparent;
    animation: lds-dual-ring 1.2s linear infinite;
    float: right;
}
@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.woocommerce div.product form.cart button.borrow-book.button.alt {
    float: right;
    margin-left: 30px;
    height: 58px;
    border-radius: 0;
    font-weight: 500;
    padding: 0 30px;
    background-color: #d1d9e3;
    color: #073263;
}
#borrowBookModal .modal-dialog {
    margin-top: 90px;
}
#borrowBookModal .modal-content {
	border-radius: 0;
}
#borrowBookModal .modal-header .close {
    background: none;
    border: none;
    line-height: 1;
    display: block;
    padding: 0;
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 20px;
}
#borrowBookModal .modal-title {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 600;
    padding-right: 30px;
}
#borrowBookModal .modal-title span {
	color: #073263;
	font-style: italic;
}
#borrowBookModal .modal-body p span {
    color: #073263;
    font-weight: bold;
    font-style: italic;
}
#borrowBookModal .modal-body p a {
	color: #dd2036;
}
#borrowBookModal .modal-footer .btn.btn-primary {
    background-color: #073263;
    color: #fff;
    border: none;
    font-weight: 600;
    line-height: 38px;
    font-size: 12px;
    padding: 0 20px;
    text-decoration: none;
    display: inline-block;
}

/* Return Book Modal styles */

#returnBookModal .modal-dialog {
	margin-top: 90px;
}
#returnBookModal .modal-content {
	border-radius: 0;
}
#returnBookModal .modal-header .close {
	background: none;
	border: none;
	line-height: 1;
	display: block;
	padding: 0;
	position: absolute;
	right: 25px;
	top: 20px;
	font-size: 20px;
}
#returnBookModal .modal-title {
	font-size: 18px;
	text-transform: uppercase;
	font-weight: 600;
	padding-right: 30px;
}
#returnBookModal .modal-title span {
	color: #073263;
	font-style: italic;
}
#returnBookModal .modal-body p span {
	color: #073263;
	font-weight: bold;
	font-style: italic;
}
#returnBookModal .modal-body p a {
	color: #dd2036;
}
#returnBookModal .modal-footer .btn.btn-primary {
	background-color: #073263;
	color: #fff;
	border: none;
	font-weight: 600;
	line-height: 38px;
	font-size: 12px;
	padding: 0 20px;
	text-decoration: none;
	display: inline-block;
}

#the-canvas {
	width: 100%;
	border: 1px solid black;
	direction: ltr;
}
.pdf-viewer td {
	text-align: center;
}
.pdf-viewer .nav {
	width: 40%;
}
.pdf-viewer .pageno span {
	font-size: 13px;
	font-weight: bold;
}








