/**
Theme Name: generatepresstws Theme
Author: HT
Author URI: https://thailandwherestay.com
Description: generatepresstws design
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: generatepress-child
Template: generatepress
*/

h2.entry-title {
    font-size: 19px;
}
.entry-summary {
    font-size: .9em !important;
    color: #222222;
    margin-top: .9em !important;
}
.tsn_toc {
	background-color: #f8f9fa;
	margin-bottom: 17px;
	border: 1px solid #aaa;
    border-radius: 4px;
    display: inline-block;
    box-shadow: 0 1px 1px rgba(0,0,0,.05)
}
.tsn_toc .wp-block-group__inner-container, .top-pick-list .wp-block-group__inner-container, .tsn-read-also .wp-block-group__inner-container{
    padding: 10px !important;
}

.entry-content .tsn_toc p {
	margin: 0;
	font-weight: 700
}
.top-pick-list{
    width: 100%;
    float: left;
    background-color: #f8f9fa;
	margin-bottom: 17px;
	border: 1px solid #aaa;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
    clear:left;
    border-left: 4px solid red;
}
.entry-content a{
    color: #d14e4e;
    text-decoration: underline;
    outline:none;
}
.entry-content a:hover, .entry-content a:focus{
     outline:none;
}
.entry-content a.buy-booking-button, .entry-content a.buy-amazon-button{
     text-decoration: underline;
}
.entry-content a.buy-amazon-button:hover, .entry-content a.buy-amazon-button:focus, .entry-content a.buy-booking-button:hover, .entry-content a.buy-booking-button:focus, .entry-content .tsn_toc a:hover, .entry-content .tsn_toc a:focus {
    text-decoration: underline;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.entry-content a:hover, .entry-content a:focus {
    color: #d14e4e;
    text-decoration: none;
}
.entry-content .tsn_toc a, .entry-content .wp-block-image a {
    color: #0274be;
    text-decoration: none;
}
.a {
	outline: 0!important;
}

.site-title a,
.site-title a:focus,
.site-title a:hover {
	color: #abc038;
}

#breadcrumbs {
	box-shadow: 0 0 3px rgba(1, 1, 1, .16);
	box-sizing: border-box;
	background: #fff;
	padding: 12px 20px;
}

.mgbt7 {
	margin-bottom: 7px!important;
}

.site-branding .ast-site-identity {
	padding: 4px 0;
}

.buy-amazon-button {
	background-color: #d32323;
	color: #fff!important;
		font-weight: bold;
	width: 100%;
	padding: 18px;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
	display: table;
	max-width: 350px;
	box-sizing: border-box;
	border-radius: 4px;
	font-size: 18px;
	line-height: 1em;
}
.buy-booking-button {
	background-color: #d14e4e;
	color: #fff!important;
	font-weight: bold;
	padding: 18px;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
	display: table;
	box-sizing: border-box;
	border-radius: 20px;
	text-align:center;
	font-size: 18px;
	line-height: 1em;
    -webkit-box-shadow: 4px 4px 0 0 rgba(17,17,17,.2);
    box-shadow: 4px 4px 0 0 rgba(17,17,17,.2);
}
.align-center {
	text-align: center;
}

.book-now {
	border-radius: 9px;
	border: 2px solid #7bc542!important;
	background-color: #e9ffd9!important;
	padding: 10px;
	text-align:center;
}

.mgtop-10 {
	margin-top: 10px!important;
}

.pros {
	border: 2px solid #42dd42!important;
	background-color: rgba(247, 252, 244, .63)!important;
}

.cons {
	border: 2px solid #f41853!important;
	background-color: rgba(255, 237, 232, .63)!important;
}

.entry-content h3.tsn-small-h3 {
	font-size: 18px;
	font-weight: bold;
}

.entry-content h4.tsn-small-h3 {
	font-size: 18px;
	font-weight: bold;
}

.tsn-pros,
h4.tsn-pros,
h3.tsn-pros ,
h2.tsn-pros{
	font-weight: bold;
	color: #7bc542;
}

.tsn-cons,
h4.tsn-cons ,
h3.tsn-cons ,
h2.tsn-cons{
	font-weight: bold;
	color: #e60e0e;
}

.tsn-product-lists {
	padding: 1.25rem 1.25rem 1.25rem 2.25rem;
	border: 2px solid #d5d5d8;
	border-radius: 4px;
	background-color: #f3f3f6;
	font-weight: bold;
	margin: 0 0 1em 1em;
	width: 100%;
	float:left;
}
.tsn-read-also{
    border-left: 4px solid red;
    padding-left: 8px;
}
.tsn_toc .tsn_toggle{
    font-size:20px;
}
.tsn_toc ol.tsn-hidden, .tsn_toc ul.tsn-hidden {
    display:block;
}
.wp-block-image figcaption{
    font-size:10px;
}
ol, ul {
    margin-left: 1.5em !important;
}
.inside-article h1.entry-title{
    text-align: center;
}
.is-type-video.wp-block-embed figcaption, .caption-video
{
	text-align: center;
	font-size: 10px;
}
.tsn-video-markup { position: relative; padding-bottom: 56.25%;height: 0; overflow: hidden;max-width: 100% }

.tsn-video-markup iframe, .tsn-video-markup object, .tsn-video-markup embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.wp-block-table .has-background td, .wp-block-table .has-background th {
   border: 1px solid rgba(0,0,0,.1);
}
.padding-40 {
    padding: 0 40px;
}
/*author box*/
.author-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 4%;
    margin-top: 30px;
    font-size: 1em;
    box-shadow: 0 9px 28px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
}

.author-links a {
    line-height: 0.5em;
    float: right;
}

.author-box .avatar {
    width: 30px;
    border-radius: 100%;
    margin-right: 20px;
}

.author-title {
   font-weight: 700;
}

h4.author-title {
    margin-bottom: 0.5em;
}

.author-description {
	margin-bottom: 10px;
}

/* For Mobile Devices */
@media (max-width: 768px) {
    .author-box {
        flex-direction: column;
        text-align: left;
	    padding: 50px 10px;
    }

    .author-box .avatar {
        margin-right: 0;
        margin-bottom: 10px;
        width: 100%;
    	margin-top: -35px;
    }

    .author-box .avatar img {
        max-width: 70px;
    }
}
/**fix footer on the bottom for the short page**/
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.container.grid-container {
    width: 100%;
}
.site-footer {
    margin-top: auto;
}
.entry-header .entry-title a{
    color: #111111;
    font-weight: 700;
}
.entry-header .entry-title a:hover{
    color: #1e73be;
}
.disclaimers-post{
  padding: 30px 0 0 0;
}
.entry-content .check-price {
    display: inline-block;
    color: white;
    background-color: #28a745;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.entry-content .check-price:hover,
.entry-content .check-price:focus {
    background-color: #218838;
    color: white;
}

/* Adding a shadow effect for better visibility */
.entry-content .check-price:active {
  background-color: #1e7e34; /* Even darker shade when clicked */
  transform: translateY(0);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  color: white;
}

h2.comments-title{
	font-size: 20px;
}

.comment-content{
	padding: 5px;
}
.aff-discl{
	font-size: 12px;
	font-style: italic;
}