/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

#site-navigation {
    display: grid;
    background: #fff;
	box-shadow: 0px 0px 6px 0px #ffb039;
    border-radius: 6px;
    margin-bottom: 10px;
    background: #fff;
}
.yoast-breadcrumb p {
    margin: 0px 0;
    font-size: 16px;
}
header#masthead {
    background: #fff;
    min-width: 100%;
}
footer.entry-meta, header.entry-header header.entry-meta {
    display: none;
}
@media (max-width: 768px) {
    h2, .same-h2 {
        font-size: 37px;
	}
	h3, .same-h3 {
        font-size: 30px;
    }
	h4, .same-h4 {
        font-size: 22px;
    }
}

/*Overline*/
.a {
   -webkit-text-decoration-line: overline;
   text-decoration: overline;
   text-decoration-color: #524f7b;
}

/*Below image right*/
.bellow-image-right {
    clear: both;
    float: right;
    margin: 15px 45px 0;
}

/*Menu colum*/

@media (min-width: 769px) {
    nav .main-nav .mega-menu {
        position: static;
    }

    nav .main-nav .mega-menu > ul {
        position: absolute;
        width: 80%;
        left: 0 !important;
    }

    nav .main-nav .mega-menu > ul > li > a {
        font-weight: bold;
    }

    nav .main-nav .mega-menu>ul>li {
        display: inline-block;
        width: 25%;
        vertical-align: top;
    }

    nav .main-nav .mega-menu.mega-menu-col-2>ul>li {
        width: 50%;
    }

    nav .main-nav .mega-menu.mega-menu-col-3>ul>li {
        width: 33.3333%;
    }

    nav .main-nav .mega-menu.mega-menu-col-5>ul>li {
        width: 20%;
    }

    nav .main-nav .mega-menu > ul > li:hover > a,
    nav .main-nav .mega-menu > ul > li:focus > a,
    nav .main-nav .mega-menu > ul > li[class*="current-"] > a,
    nav .main-nav .mega-menu ul ul {
        background-color: transparent !important;
        color: inherit;
    }

    nav .main-nav .mega-menu ul .sub-menu {
        position: static;
        display: block;
        opacity: 1;
        visibility: visible;
        width: 100%;
        box-shadow: 0 0 0;
        left: 0;
        height: auto;
    }

    nav .main-nav .mega-menu ul.toggled-on .sub-menu {
        pointer-events: auto;
    }

    nav .main-nav .mega-menu .sub-menu .menu-item-has-children .dropdown-menu-toggle {
        display: none;
    }
}

/*thienphuc custome*/
.catthink-amz {
    background: linear-gradient(to bottom,#f0ff9d,#ffa500) !important;
    color: #000 !important;
    font-weight: bold;
    display: inline-block;
    padding: 10px 25px;
    border-radius: 6px;
    border: 1px solid;
    border-color: #c89411 #b0820f #99710d;
}
.button, a, button, input:focus, input[type=reset], input[type=submit], input[type=button], textarea:focus {
    -webkit-transition: all .1s ease-in-out;
    -moz-transition: all .1s ease-in-out;
    -ms-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
}
#main .inside-article {
    padding-top: 0;
}
.home #content{    
    margin-top: 15px;
}

}
.site-footer {
    background: #fff;
}
.home .inside-article .entry-title, .category .inside-article .entry-title{
    font-size: 25px;
}
.site-footer .upw-posts article {
    width: 100%;
    border-bottom: 0;
}
.footer-widgets {
    border-top: 5px dashed #ff9900;
}
span.page-numbers {
    background: #f8f8f8;
}
span.page-numbers, a.page-numbers {
    color: #000;
    padding: 5px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
}
table .catthink-amz{
		padding: 5px;
}
.footer-widgets .widget-title {
    font-size: 22px;
    margin-bottom: 0;
}
h1{
    font-size: 35px;
}
.same-h2, h2 {
    font-size: 27px;
    font-weight: bold;
	margin-bottom: 10px;
	font-family: 'Playfair Display', serif;
}
.same-h3,h3 {
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 10px;
	font-family: 'Playfair Display', serif;
}
.same-h4, h4 {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: bold;
	font-family: 'Playfair Display', serif;
}
.pros, .green {
		color: #428823;
}
.con, .red {
		color: #cc3726;
}
.center{
		text-align: center;
}
.orange {
    color: #ff6c00;
}
.blue {
	color: #2A8EBA;
}
.list-h4 .upw-content {
    font-size: 15px;
    line-height: 30px;
}
.yoast-breadcrumb, body {
    background-color: #ffff;
}
#right-sidebar a, #footer-widgets .entry-title.siderbar-r a {
    font-size: 14px;
    font-weight: 700;
}
.size-15{
    font-size: 15px;
    margin-bottom: 8px;
	line-height: 2.2;
}
.generate-back-to-top, .generate-back-to-top:visited {
    background: #ff9900;
    border-radius: 50%;
}
.author{
    padding: 12px;
    background-color: #fffaf0;
    line-height: 2.2;
    font-size: 16px;
    box-shadow: 0 1px 3px rgba(34, 25, 25, 0.4);
    border-radius: 4px;
}
/*comment*/
button, html input[type="button"], input[type="reset"], input[type="submit"], a.button, a.button:visited, a.wp-block-button__link:not(.has-background) {
    color: #f1c40f;
    background-color: #000;
}
.comment-form #author, .comment-form #email, .comment-form #url {
    float: left;
    margin-right: 15px;
    width: calc(100% / 3 - 15px);
}
#reply-title, .logged-in-as {
    margin-bottom: 0;
}
/*end comment*/

/*sider bar*/
@media screen and (min-width: 1024px) {
    article header .entry-image {
        width: 135px;
        float: left;
        margin-right: 10px;
    }
    .upw-posts article {
        display: inline-block !important;
        padding: 0 !important;
        width: 100%;
        margin-bottom: 10px !important;
    }
}
@media screen and (max-width: 768px) {
    .upw-posts article {
        width: 50%;
        float: left;
        padding: 0 !important;
        margin-bottom: 10px !important;
        border:none !important;
    }
    article header .entry-image {
        width: 135px;
        float: left;
        margin-right: 10px;
        margin-bottom: 0 !important;
    }    
    .siderbar-r a {
        font-size: 16px;
    }
    .footer-widgets{
        padding: 15px;
    }
	.bellow-image-right {
    float: none;
    margin: 8px auto;
    text-align: center;
	}
}


/*end sider bar*/
@media screen and (min-width: 768px) {
    .footer-widget-1 {
    line-height: 1.5;
    }
    .footer-widget-3 {
        line-height: 3.5;
    }
}
@media screen and (max-width: 1024px) {
    #content {
        padding: 15px;
        box-shadow: none;
        border-radius: 0;
        margin-bottom: 0;
    }
}
@media screen and (max-width: 600px) {
    table {
        font-size: 14px;
	}    
    .upw-posts article{
        width: 100%;
    }
    .pros-s, .con-s {
    width: 100% !important;
    }
}
@media screen and (max-width: 450px) {
  table {
    font-size: 12px;
	}
	table tr td {
    padding: 0;
	}
	table .catthink-amz {
    padding: 0;
	}
}

/*two column*/
.full {
    display: inline-block;
	width: calc(100% - 30px);
}
.pros-s, .con-s {
    float: left;
    width: 50%;
}
.pros-check, .con-ban {
    list-style: none;
    margin-left: 30px;
}
.pros-check li::before {
    content: "\f00c";
    font-family: FontAwesome;
    color: #00bf08;
    margin-right: 10px;
}
.con-ban li::before {
    content: "\f05e";
    font-family: FontAwesome;
    color: #bf000a;
    margin-right: 10px;
}
.site-info {
    line-height: 50px;
    padding: 0;
}
/*End two column*/

/*font-weight*/
.font-weights {
	font-weight: 600;
	color: #267edd;
		
}
.font-weights1 {
	font-weight: 600;
	color: red;
}

.font-weights2 {
	font-weight: 600;
	color: black;
}

/*Boder*/
.boder1 {
        padding: 15px;
		margin-top: 10px;
		margin-bottom: 15px;
        border: 2px solid #5ea0e7;
		box-shadow: 1px 1px #5ea0e7;
    }
.full1 {
    display: inline-block;
	width: calc(100% - 120px);
}
.boder2 {
        padding: 15px;
		margin-top: 10px;
		margin-bottom: 15px;
        border: 1px solid orange;
		box-shadow: 1px 1px #888888;
    }
/*Image*/
.images1 {
		margin-top: 10px;
		margin-bottom: 5px;
}

.widget-title {
	margin-top: 15px;
	margin-bottom: 15px;
}

.commissions_text {
    font-size: 15px;
    font-style: italic;
    text-align: right;
    margin-bottom: 10px!important;
}

#toc_container {
    background: #fffae4 none repeat scroll 0 0;
    border: 1px solid #fdce00;
    display: table;
    font-size: 95%;
    margin-bottom: 1em;
    padding: 5px;
    width: auto;
}

.toc_title {
    font-weight: 700;
    text-align: center;
}

.toc_list li {
    list-style: disc;
    margin-left: 10px;
    color: #ff5802;
    padding-left: 0;
}

.comments-title {
display: none;
}

/* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea {
  width: 100%; /* Full width */
  padding: 12px; /* Some padding */ 
  border: 1px solid #ccc; /* Gray border */
  border-radius: 4px; /* Rounded borders */
  box-sizing: border-box; /* Make sure that padding and width stays in place */
  margin-top: 6px; /* Add a top margin */
  margin-bottom: 16px; /* Bottom margin */
  resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
}

/* Style the submit button with a specific background color etc */
input[type=submit] {
  background-color: #4CAF50;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* When moving the mouse over the submit button, add a darker green color */
input[type=submit]:hover {
  background-color: #45a049;
}

/* Add a background color and some padding around the form */
.container {
  border-radius: 5px;
  background-color: #ffff;
  padding: 10px;
}
