/*
Theme Name: GreenBox New
Description: GreenBox New
Version: 1.0

my overrides for styles
*/

html {
    scroll-behavior: smooth;
}

.widget-content .social-sidebar {margin-top:15px;}
.widget-content .social-sidebar ul{display: flex;gap: 20px;}
.widget-content .social-sidebar ul li i{font-size:16px;}

.pagination-list {
    text-align: center;
    margin-bottom: 100px;
}
.pagination-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.pagination-list li {
    display: inline;
    margin: 0 5px;
}
.pagination-list li a {
    display: inline-block;
    background: var(--sec-bg-FFF);
    border: 1px solid #E5E4E4;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 3px;
    width: 50px;
    color: var(--font-color-sec-content-717171);
    height: 50px;
    line-height: 50px;
    font-size: 17px;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}
.pagination-list li a:hover {
    background: #c4ff7d;
    border-radius: 3px;
    color: #000;
    border-color: #c4ff7d;
}
.pagination-list li a.active {
    background: #c4ff7d;
    border-radius: 3px;
    color: #080E0F;
    border-color: #c4ff7d;
}
.menu-row {
    min-width: 300px;
}

.details_wrap .wp-caption,
.details_wrap .wp-caption img {
    max-width: 100%;
}

.details_wrap a {
    color: #F99A8A;
}

.details_wrap .related_box a {
    color: #080E0F;
}

.details_wrap a:hover {
    color: #F3734E;
}
.related_wrap .widget-content a {
    color: var(--font-color-080E0F);
}
@media(max-width:767px){
    .author_panel {
        gap: 10px;
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .social_panel a:nth-child(1){
    	margin-left:0;
    }
	.pagination-list li{
		line-height: 5;
	}
}
/* Why Trust GreenBot Sidebar */
.why-trust-content {
  font-size: 16px;
  color: var(--font-color-sec-content-717171);
  line-height: 25px;
  font-weight: 400;
}
.why-trust a {
	color:#F99A8A;
}
.why-trust img {
  margin-bottom: 5px;
}
.why-trust-box{
	border:1px solid var(--sec-border-color-080E0F);
	padding: 20px;
	margin: 10px auto;
}

/* popup */
.disclaimer_sec .btn_with_tooltip_tip {
    position: absolute;
    background: #fff;
    width: 343px;
    padding: 24px;
    max-width: 343px;
    border-radius: 4px;
    box-shadow: 0 0 3px #e0e0e0;
    right: 41%;
    margin-top: 16px;
}
img.disclaimer-close-icon {
  position: absolute;
  right: 14px;
  top: 10px;
}
.btn_with_tooltip:hover > .btn_with_tooltip_tip {
  display: block !important;
}
.btn_with_tooltip_btn{
	color: #F99A8A;
	border-bottom: 1px solid #F99A8A;
	display: inline-block;
}
.disclaimer_sec .btn_with_tooltip_tip:after {
   border: 16px solid transparent;
   border-bottom-color: #E0E0E0;
   bottom: 100%;
   content: "";
   left: 50%;
   margin-left: -9px;
   position: absolute;
}
.disclaimer_sec .btn_with_tooltip_tip:before {
   border: 15px solid transparent;
   border-bottom-color: #fff;
   bottom: 100%;
   content: "";
   left: 50%;
   margin-left: -8px;
   position: absolute;
   z-index: 2;
}
.author_section__extra.disclaimer_sec {
    position: relative;
}
img {max-width: 100%; height: auto; vertical-align: middle; }
/* start css */
.why-trust-box-m-wapper { display:none; }

.post-author-name-out { position:relative; }
.authorByline-tooltip {
    display: none;
    position: absolute;
    left: 50%;
    top: 35px;
    width: 343px;
    border-radius: 5px;
    transform: translate(-50%, 0%);
    -webkit-transform: translate(-50%, 0%);
    z-index: 99;
    background: #FFFFFF;
    border-radius: 4px;
    filter: drop-shadow(0px 1px 4px rgba(0, 0, 0, 0.35));
}
.post-author-name-out .authorByline-tooltip {
    transform: translate(-50%, -2%);
    -webkit-transform: translate(-50%, -2%);
}
.post-author-name-out:hover .authorByline-tooltip {
    display: block;
}
.authorByline-tooltip::before {
    content: "";
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #ffff;
    position: absolute;
    top: -9px;
    transform: translate(-50%, -0);
    left: 50%;
}
.author-left {
    padding: 0 !important;
    display: flex;
    flex-wrap: wrap;
    margin: 0 !important;
    align-items: center;
}
.author-left>img {
    max-width: 80px;
    margin-right: 10px;
    height: 80px;
    margin-left: 0 !important;
    width: 100% !important;
}
.author-left img {
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
}
.author-left-top {
    display: inline-block;
    width: calc(100% - 90px);
    text-align: left;
}
.authorByline-tooltip .row {
    margin: 0;
    padding: 24px 24px 15px 24px;
}
.author-left-top .post_author_name {
    font-weight: 600;
    font-size: 17px;
    line-height: 135%;
    color: #1C2642;
    display: inline-flex;
    word-break: break-word;
    width: 100%;
    border-bottom: none;
}
.author-left-top .investor {
    background: none;
    width: 100%;
    margin-left: 0;
    padding-left: 0;
    font-size: 13px;
    line-height: 150%;
    color: #1C2642;
    display: inline-block;
    font-family: 'Inter', sans-serif;
}
.author-left ul {
    margin: 0;
    margin-top: 5px;
    padding-left: 0;
}
.author-left-top .list-inline-item {
    display: inline-block;
    background: #F1F5FF !important;
    padding-left: 0 !important;
    border-radius: 50%;
}
.author-left ul li a {
    background: transparent;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-align: center;
}
.author-left ul li a img {
    max-width: 100%;
    height: auto !important;
    border-radius: 0;
    width: 15px;
    margin: auto !important;
}
.author-right { margin-top:20px !important;padding: 0 !important; }
.author-right p {
    font-size: 16px;
    color: inherit;
    line-height: 25px;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    margin: 0;
    text-transform: capitalize !important;
}
.bio-right {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #a1a0a0;
}
.bio-right a {
    font-size: 14px;
    color: #f99a8a;
    line-height: 25px;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    margin: 0;
    text-transform: capitalize;
}

.wp-post-content>h3 {
    line-height: normal;
}

.wp-post-content img.single_review_logo_img{
    object-fit:contain;
}

@media(max-width:375px){
    .post-author-name-out .authorByline-tooltip.author-m-tooltip {
      transform: translate(-30%,-2%);
      -webkit-transform: translate(-30%,-2%);
  }
}

@media(max-width:767px){
    .post-author-name-out .authorByline-tooltip {
        transform: translate(-50%,-2%);
        -webkit-transform: translate(-50%,-2%);
    }
    .authorByline-tooltip { width: 310px; }
    .post-author-name-out .authorByline-tooltip.author-m-tooltip {
        transform: translate(-90%,-2%);
        -webkit-transform: translate(-90%,-2%);
    }
    .post-author-name-out:hover .authorByline-tooltip{display:none;}
}

@media(max-width:991px){
    .why-trust-box-m-wapper {
        border: 1px solid var(--sec-border-color-080E0F);
        padding: 10px 10px;
        border-radius: 4px;
        box-shadow: none;
/*         background: #fff; */
        position: relative;
        display: block;
        margin-top:20px;
    }
    .why-trust-box-m-title h4 {
        font-size: 16px;
        font-weight: 700;
        line-height: 150%;
        color: #080E0F;
        margin: 0;
        position: relative;
        font-family: 'Inter', sans-serif;
    }
    .why-trust-box-m-title h4 img { width: 20px; height: 20px; margin-bottom: 5px; }
    .why-trust-box-m-title h4:after {
        content: '';
        transition: all .5s ease-out;
        position: absolute;
        font-size: 26px;
        right: 0;
        top: 6px;
        background: url(https://www.greenbot.com/wp-content/themes/greenbot-new/assets/img/chevron-up.svg) right 2px no-repeat;
        width: 18px;
        height: 12px;
        background-size: 17px;
    }
    .why-trust-box-m-title h4.active-arrow:after { transform:rotate(180deg); }
    .why-trust-content-m { display:none; }
    .why-trust-content-m.active { display:block; }
    .why-trust-content-m { padding-top: 10px; }
    .why-trust-text-m p {
        font-size: 16px;
        color: inherit;
        line-height: 25px;
        font-weight: 400;
        font-family: 'Inter', sans-serif;
        margin: 0;
    }
    .why-trust-text-m p a { color: #f99a8a; }
    .disclaimer_sec .btn_with_tooltip_tip:before { left: 30px; }
    .disclaimer_sec .btn_with_tooltip_tip:after { left: 30px; }
    .disclaimer_sec .btn_with_tooltip_tip { left: 0; right: 0 !important; width: 100%; }
    .related_wrap .why-trust { display:none; }
    .why-trust-box-m-title .sidebar-block-title {
        position: relative;
    }
	.why-trust-box-m-title .sidebar-block-title:before {
		width: 16px;
		height: 16px;
		background-repeat: no-repeat;
		background-size: contain;
		background-position: center;
		content: '\f078';
		font-family: "Font Awesome 5 Free";
		font-weight: 900;
		position: absolute;
		top: 12px;
		right: 0;
		font-size: 16px;
		color: var(--font-color-080E0F);
    }
    .why-trust-box-m-title.active-arrow .sidebar-block-title:before {
        transform: rotate(180deg);
    }
}
@media(max-width:1199px){
    .disclaimer_sec .btn_with_tooltip_tip { right:23%; }
}