/*
Theme Name: TechTales
*/

/*--------------------------------------------------------------------*/
/* Fonts							      */
/*--------------------------------------------------------------------*/

@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src:
    url('https://technologytales.com/wp-content/themes/techtales/fonts/mulish-v12-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-200.woff2') format('woff2'),
    url('https://technologytales.com/wp-content/themes/techtales/fonts/mulish-v12-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-200.woff') format('woff');
}

@font-face {
  font-family: 'Mulish';
  font-style: italic;
  font-weight: 200;
  font-display: swap;
  src:
    url('https://technologytales.com/wp-content/themes/techtales/fonts/mulish-v12-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-200italic.woff2') format('woff2'),
    url('https://technologytales.com/wp-content/themes/techtales/fonts/mulish-v12-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-200italic.woff') format('woff');
}

@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src:
    url('https://technologytales.com/wp-content/themes/techtales/fonts/mulish-v12-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-300.woff2') format('woff2'),
    url('https://technologytales.com/wp-content/themes/techtales/fonts/mulish-v12-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-300.woff') format('woff');
}

@font-face {
  font-family: 'Mulish';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src:
    url('https://technologytales.com/wp-content/themes/techtales/fonts/mulish-v12-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-300italic.woff2') format('woff2'),
    url('https://technologytales.com/wp-content/themes/techtales/fonts/mulish-v12-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-300italic.woff') format('woff');
}

@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    url('https://technologytales.com/wp-content/themes/techtales/fonts/mulish-v12-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-regular.woff2') format('woff2'),
    url('https://technologytales.com/wp-content/themes/techtales/fonts/mulish-v12-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-regular.woff') format('woff');
}

@font-face {
  font-family: 'Mulish';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src:
    url('https://technologytales.com/wp-content/themes/techtales/fonts/mulish-v12-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-italic.woff2') format('woff2'),
    url('https://technologytales.com/wp-content/themes/techtales/fonts/mulish-v12-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-italic.woff') format('woff');
}

@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src:
    url('https://technologytales.com/wp-content/themes/techtales/fonts/mulish-v12-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-500.woff2') format('woff2'),
    url('https://technologytales.com/wp-content/themes/techtales/fonts/mulish-v12-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-500.woff') format('woff');
}

@font-face {
  font-family: 'Mulish';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src:
    url('https://technologytales.com/wp-content/themes/techtales/fonts/mulish-v12-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-500italic.woff2') format('woff2'),
    url('https://technologytales.com/wp-content/themes/techtales/fonts/mulish-v12-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-500italic.woff') format('woff');
}

@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src:
    url('https://technologytales.com/wp-content/themes/techtales/fonts/mulish-v12-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-600.woff2') format('woff2'),
    url('https://technologytales.com/wp-content/themes/techtales/fonts/mulish-v12-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-600.woff') format('woff');
}

@font-face {
  font-family: 'Mulish';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src:
    url('https://technologytales.com/wp-content/themes/techtales/fonts/mulish-v12-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-600italic.woff2') format('woff2'),
    url('https://technologytales.com/wp-content/themes/techtales/fonts/mulish-v12-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-600italic.woff') format('woff');
}

@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src:
    url('https://technologytales.com/wp-content/themes/techtales/fonts/mulish-v12-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-700.woff2') format('woff2'),
    url('https://technologytales.com/wp-content/themes/techtales/fonts/mulish-v12-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-700.woff') format('woff');
}

@font-face {
  font-family: 'Mulish';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src:
    url('https://technologytales.com/wp-content/themes/techtales/fonts/mulish-v12-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-700italic.woff2') format('woff2'),
    url('https://technologytales.com/wp-content/themes/techtales/fonts/mulish-v12-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-700italic.woff') format('woff');
}

@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src:
    url('https://technologytales.com/wp-content/themes/techtales/fonts/mulish-v12-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-800.woff2') format('woff2'),
    url('https://technologytales.com/wp-content/themes/techtales/fonts/mulish-v12-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-800.woff') format('woff');
}

@font-face {
  font-family: 'Mulish';
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src:
    url('https://technologytales.com/wp-content/themes/techtales/fonts/mulish-v12-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-800italic.woff2') format('woff2'),
    url('https://technologytales.com/wp-content/themes/techtales/fonts/mulish-v12-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-800italic.woff') format('woff');
}

@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src:
    url('https://technologytales.com/wp-content/themes/techtales/fonts/mulish-v12-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-900.woff2') format('woff2'),
    url('https://technologytales.com/wp-content/themes/techtales/fonts/mulish-v12-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-900.woff') format('woff');
}

@font-face {
  font-family: 'Mulish';
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  src:
    url('https://technologytales.com/wp-content/themes/techtales/fonts/mulish-v12-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-900italic.woff2') format('woff2'),
    url('https://technologytales.com/wp-content/themes/techtales/fonts/mulish-v12-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-900italic.woff') format('woff');
}

/*--------------------------------------------------------------------*/
/* General Tags							      */
/*--------------------------------------------------------------------*/

body {
	margin-bottom: 1.5rem;
	font-family: 'Mulish';
}

h2, h3 {
	color: #ee591f;
}

h2 {
	line-height: 1.4;
}

p
, .the-post li
, code
, pre code {
	font-size: 1.05rem;
}

a {
	color: #ee591f;
	text-decoration: none;
}

.post-tags a {
	color: #03061c;
	font-weight: 500;
}

a:hover {
	color: #ee591f;
	text-decoration: underline;
}

img {
	height: auto;
	max-width: 100%;
}

small {
	display: block;
}

/*--------------------------------------------------------------------*/
/* General Classes						      */
/*--------------------------------------------------------------------*/

.aligncenter {
	display: block;
	margin: 2rem auto;
	text-align: center;
}

.alignright
, .welcome-block p.alignright {
	display: block;
	text-align: right;
}

img.alignright {
        display: block;
	float: right;
	margin-left: 3rem;
        margin-bottom: 2rem;
}

.alignleft {
	display: block;
	margin-left: 0;
	text-align: left;
}

.bottom-line
, .prev-comms li {
	border-bottom: 1px solid #eee;
}

.top-line {
	border-top: 1px solid #eee;
}

.the-post ul li
, .the-post ol li {
	font-size: 1.05rem;
	margin-bottom: 1rem;
}

.bold {
	font-weight: 700;
}

.mbold {
        font-weight: 500;
}

.the-post h4 {
	color: #7d2916;
}

.no-padding-left {
	padding-left: 0;
}

/*--------------------------------------------------------------------*/
/* Header							      */
/*--------------------------------------------------------------------*/

.jumbotron {
	color: white;
	background-color: #03061c;
	background-image: linear-gradient(#03061c, #061261);
}

.jumbotron h1 {
	font-weight: 800;
}

.jumbotron p {
	color: white;
	font-weight: 500;
}

.jumbotron a {
	color: white;
	text-decoration: none;
}

.jumbotron a:hover {
	color: #edd28c;
}

/*--------------------------------------------------------------------*/
/* Menus							      */
/*--------------------------------------------------------------------*/

.pages-menu {
	padding-top: 1.15rem;
	padding-bottom: 0.25rem;
	background-color: #db5e0f;
	color: white;
}

.menu-utility-menu-container
, .body-box
, .menu-main-pages-container {
	width: 80%;
	max-width: 90rem;
	margin-left: auto;
	margin-right: auto;
}

.pages-menu ul
, .util-menu ul
, .welcome-block ul
, .end-notes ul
, .prev-comms
, ul.children {
	list-style-type: none;
	margin-left: 0;
	padding-left: 0;
}

.pages-menu li
, .util-menu li {
	display: inline;
	padding-right: 1.25rem;
	font-size: 1.15rem;
	font-weight: 500;
}

.pages-menu a {
	color: white;
}

.pages-menu a
, .util-menu a {
	padding: 0.45rem;
	border-radius: 0.15rem;
}

.pages-menu a:hover {
	background-color: white;
	color: #ee591f;
	text-decoration: none;
}

.util-menu a:hover {
	background-color: #ee591f;
	color: white;
	text-decoration: none;
}

.util-menu {
	padding-top: 1rem;
	border-top: 5px solid #ee591f;
}

/*--------------------------------------------------------------------*/
/* Site Introduction						      */
/*--------------------------------------------------------------------*/

.welcome-block {
	padding-top: 2rem;
	padding-bottom: 1.25rem;
	border-bottom: 5px solid #ee591f;
}

.welcome-block p {
	font-size: 1.25rem;
}

div.welcome-text {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	padding: 1.5rem 2rem;
	border-radius: 0.25rem;
}

.welcome-image {
	display: flex;
	align-items: center;       /* vertical centring */
	justify-content: flex-end; /* horizontal right alignment */
	height: 100%;              /* fill the grid column */
}

.welcome-image img {
	height: 100%;            /* fill the vertical space */
	width: auto;             /* preserve aspect ratio */
	object-fit: cover;       /* crop gently if needed */
}

/*--------------------------------------------------------------------*/
/* Main Content							      */
/*--------------------------------------------------------------------*/

.body-box {
	color: #03061c;
	margin-left 0;
}

.the-post
, .prev-next {
	margin-top: 2rem;
	margin-left: auto;
	margin-right: auto;
}

.the-post {
	margin-bottom: 2rem;
	padding-bottom: 2rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	padding: 1.5rem 2rem;
	border-radius: 0.25rem;
}

.the-post h2
, .the-post h3 {
	margin-bottom: 1.5rem;
}

.the-post h3 {
    color: #c45a20;
}

.the-post p
, .welcome-block p
, .end-notes p {
	text-align: justify;
}

.the-post p code
, .the-post li code
, .the-post pre code
, .table code {
	color: #7d2916;
	text-align: left;
}

.the-post p a code {
        color: #ee591f;
}

.the-post h4 {
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
	color: #b44714;
}

.the-post pre code {
	white-space: pre-wrap;
	word-break: break-word;
}

/*--------------------------------------------------------------------*/
/* Tag List at End of Post                                            */
/*--------------------------------------------------------------------*/

.tag-list {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.the-post .tag-list li {
  margin-right: 2rem;
  margin-bottom: 0.5rem;
}

.tag-list a {
  display: inline-block;
}

/*--------------------------------------------------------------------*/
/* Comments							      */
/*--------------------------------------------------------------------*/

.comments {
	margin-top: 1.5rem;
}

textarea
{
	margin-top: 0.5rem;
	width: 100%;
}

.prev-comms li {
	margin-bottom: 1.5rem;
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
	border-top: 1px solid #eee;
}

.children li {
	margin-bottom: 0;
	padding-bottom: 0;
	padding-left: 1.5rem;
	border-top: none;
	border-bottom: none;
}

#respond label {
	text-align: justify;
	line-height: 1.3;
	text-indent: 0;
	font-weight: 400;
	color: #231f20;
	background-color: transparent;
	margin-right: 10px;
	margin-left: 0;
	float: none;
	width: auto;
}

#wp-comment-cookies-consent {
	position: relative;
	top: 2px;
	margin-right: 6px;
}

#submit {
	width: 100%;
	display: inline-block;
	padding: 6px 12px;
	margin-bottom: 0;
	font-weight: normal;
	line-height: 1.42857143;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	-ms-touch-action: manipulation;
	touch-action: manipulation;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	background-image: none;
	border: 1px solid transparent;
	border-radius: 4px;
	color: white;
	background-color: #db5e0f;
	border-color: #db5e0f;
	padding: 10px 16px;
	line-height: 1.3333333;
	border-radius: 6px;
}

#submit:focus,
#submit.focus {
	color: white;
	background-color: #ee591f;
	border-color: #ee591f;
}

#submit:hover {
	color: white;
	background-color: #ee591f;
	border-color: #ee591f;
}

#submit:active,
#submit.active,
.open > .dropdown-toggle#submit {
	color: white;
	background-color: #ee591f;
	border-color: #ee591f;
}

#submit:active:hover,
#submit.active:hover,
.open > .dropdown-toggle#submit:hover,
#submit:active:focus,
#submit.active:focus,
.open > .dropdown-toggle#submit:focus,
#submit:active.focus,
#submit.active.focus,
.open > .dropdown-toggle#submit.focus {
	color: white;
	background-color: #ee591f;
	border-color: #ee591f;
}

#submit.disabled:hover,
#submit[disabled]:hover,
fieldset[disabled] #submit:hover,
#submit.disabled:focus,
#submit[disabled]:focus,
fieldset[disabled] #submit:focus,
#submit.disabled.focus,
#submit[disabled].focus,
fieldset[disabled] #submit.focus {
	background-color: #db5e0f;
	border-color: #db5e0f;
}

#submit .badge {
	color: white;
	background-color: #db5e0f;
}

.comment-reply-title
{
	margin-top: 1.25rem;
}

.required-field-message
{
	display: block;
	margin-top: 0.5rem;
}

.logged-in-as
{
	margin-bottom: 1rem;
}

.comment-author,
.comment-meta
{
	margin-bottom: 0.5rem;
}

/*--------------------------------------------------------------------*/
/* Pagination Navigation					      */
/*--------------------------------------------------------------------*/

.prev-next {
	text-align: center;
	margin-bottom: 1.5rem;
	display:flex;
	text-align: center;
}

.prev-next a {
	flex: 1 0;
	padding: 0.75rem;
	background-color: #db5e0f;
	border-color: #db5e0f;
	font-size: 1.15rem;
	font-weight: 500;
}

.prev-next a:hover {
	background-color: #ee591f;
	border-color: #ee591f;
	text-decoration: none;
}

.prev-next a:active {
	background-color: #ee591f;
	border-color: #ee591f;
	text-decoration: none;
	box-shadow: none;
	outline: none;
}

.prev-next a:focus {
	background-color: #db5e0f;
	border-color: #db5e0f;
	text-decoration: none;
	box-shadow: none;
	outline: none;
}

.leftm {
	margin-left: 1em;
}

.rightm {
	margin-right: 1em;
}

.pagination li {
	font-size: 1.25rem;
	font-weight: 400;
}

/*--------------------------------------------------------------------*/
/* Sidebar							      */
/*--------------------------------------------------------------------*/

.sidebar {
	margin-top: 2rem;
	margin-bottom: 1.5rem;
	padding: 1.5rem 2rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	border-radius: 0.25rem;
	color: #242526;
}

.sidebar h2 {
	margin-top: 2.5rem;
}

.sidebar ul {
	list-style-type: none;
	margin-left: -2rem;
}

.sidebar a {
	color: #03061c;
}

.sidebar .menu li {
	margin-bottom: 1rem;
	padding: 0.5rem 0;
	border-bottom: 1px dotted #d1d1d1;
	font-size: 0.95rem;
}

.sidebar .menu li a::before {
    content: '🔗';
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

.sidebar .menu li a:hover {
	color: #ee591f;
	text-decoration: none;
}

.widget {
	margin-top: 1.25rem;
	margin-bottom: 1.25rem;
}

.widgettitle,
.wp-block-heading {
	margin-top: 1.25rem;
	margin-bottom: 1.25rem;
	font-size: 1.5rem;
}

.tag-cloud-link {
	border: 1px solid #dadada;
	display: inline-block;
	padding: 0.3rem 1rem;
	margin: 0 0.3rem 0.6rem 0;
	white-space: nowrap;
	vertical-align: baseline;
	font-size: 0.95rem !important;
}

.tag-cloud-link:hover {
	background-color: #ee591f;
	color: white;
	text-decoration: none;
}

.widget_gtranslate {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.gtranslate_wrapper {
	display: block;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
}

form.wp-block-search .wp-block-search__label {
	display: none;
}

/*--------------------------------------------------------------------*/
/* Footer							      */
/*--------------------------------------------------------------------*/

.end-notes {
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
	border-top: 5px solid #ee591f;
}

.end-notes li p {
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 0;
	padding-bottom: 0;
}

.ttdc-footer {
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	border-top: 5px solid #ee591f;
}


/*--------------------------------------------------------------------*/
/* Resizing							      */
/*--------------------------------------------------------------------*/

@media screen and (max-width: 991px)
{

	.pages-menu li
	, .util-menu li {
		display: block;
		padding-right: 0;
		text-align: center;
		margin-bottom: 0.75rem;
	}

}
