/* From Template */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root  {
    --sunrise-theme-color: linear-gradient(#74a735, #79C420);
    --sunrise-heading-color: #262626;
    --sunrise-text-color: #1A1A1A;
    --sunrise-button-color: #6B6B6B;
}

body{
    font-family: "Poppins", sans-serif; 
    font-weight: 300;
    font-size: 16px;
    color: #1A1A1A;
}

.top-bar-container {
    background-color: #262626;
    padding: 20px 150px 20px 150px;
    color: #fff;
}

.logo-box {
    padding-left: 0;
    margin-left: -10px;
}

.top-bar-container img {
    width: 70%;
}

.nav-bar-container {
    margin: 0;
}

/* sticky navbar */

.sticky-navbar {
	display: none;
	position: fixed;
  	z-index: 999;
	top: 0;
  	background-color: #262626;
  	box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 3px 0px;
}

@media (max-width: 1280px){
	.sticky-navbar {
		display: none !important;
	}
}

/* Sticky Navbar End */

/* Mobile Navbar */

.mob-navbar-menu {
    margin-top: 5px;
	background-color: #ffffff;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
	position: sticky;
	top: 0;
	z-index: 999;
}
.mob-navbar-btn {
    padding: 0 8px;
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    height: 37px;
    margin-right: 10px;
}
.mob-navbar-btn i {
    font-size: 18px;
    color: #595c5f;
}
.mob-navbar-row {
    display: flex;
    align-items: center;
    padding: 10px 25px;
}
.mobile-action-btn .action-btn {
    background: var(--sunrise-theme-color);
    color: #ffffff;
}

.mobile-action-btn {
	width: 100%;
}

.mobile-action-btn .hero-btn-col {
	width: 50%;
	padding: 0 3px;
	margin-bottom: 0;
}

.mobile-action-btn .action-btn {
	height: 50px;
}

@media (max-width: 1280px) {
	.mob-navbar-menu {
		display: block !important;
	}
	.mobile-action-btn .action-btn {
        font-size: 16px;
    }
}

@media (max-width: 1024px)
{
    .mobile-action-btn .action-btn {
        font-size: 16px;
    }
}

@media (max-width: 768px)
{
    .mobile-action-btn .action-btn {
        font-size: 14px;
    }
}

@media (max-width: 454px) {
    .mobile-action-btn .action-btn {
        font-size: 12px;
    }
}

/* Mobile Navbar End */

a {
  color: #74a735;
  font-family:"Poppins", Sans-serif;
  text-decoration: none;
}
a:hover {
  color:var( --e-global-color-secondary );
  text-decoration: underline;
}
h1 {
  color:var( --e-global-color-text );
  font-family:"Poppins", Sans-serif;
  margin-top: 16px;
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 60px;		
}
h2 {
  color:var( --e-global-color-text );
  font-family:"Poppins", Sans-serif;
  margin-top: 16px;
  margin-bottom: 16px;
  font-weight: 600;
}
h4 {
  color:var( --e-global-color-text );
  font-family:"Poppins", Sans-serif;
  margin-top: 16px;
  margin-bottom: 16px;
  font-weight: 600;
}
h5 {
  color:var( --e-global-color-text );
  font-family:"Poppins", Sans-serif;
  margin-top: 16px;
  margin-bottom: 16px;
  font-weight: 600;
}
h6 {
  color:var( --e-global-color-text );
  font-family:"Poppins", Sans-serif;
  margin-top: 16px;
  margin-bottom: 16px;
  font-weight: 600;
}
h1.entry-title {
  display:var(--page-title-display);
}
b{
	font-weight: 600;
}

.banner img{
    max-width: 100%;
	width: 100%;
    height: 50vh;
}

.page-container {
	padding: 50px 125px 50px 150px;
}

@media screen and (max-width: 768px) { 
	.banner img{
		max-width: 100%;
		height: 35vh;
		margin-top: 0px;
	}
	
	.page-container {
		padding: 40px 35px 40px 35px
	}
}


.sunrise-footer {
    background-color: rgb(247, 247, 247);
    padding-top: 1px;
}

/* Service Cards */
.card-row {
  display: flex;
  flex-wrap: wrap;
}
.card-column {
  width: 100%;
  padding: 0 1em 1em 1em;
  text-align: center;
}
.subservice-card {
  width: 100%;
  height: 100%;
  padding: 1.5em 1.5em;
  background: linear-gradient(#ffffff 50%, #74a735 50%);
  background-size: 100% 200%;
  background-position: 0 2.5%;
  border-radius: 5px;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: 0.5s;
}
.card-row h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1f194c;
  margin: 1em 0;
}
.card-row p {
  color: #575a7b;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.03em;
}
.card-row .card-icon-wrapper {
  background-color: #74a735;
  position: relative;
  margin: auto;
  font-size: 30px;
  height: 2.5em;
  width: 2.5em;
  color: #ffffff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: 0.5s;
}
.subservice-card:hover {
  background-position: 0 100%;
}
.subservice-card:hover .card-icon-wrapper {
  background-color: #ffffff;
  color: #74a735;
}
.subservice-card:hover h3 {
  color: #ffffff;
}
.subservice-card:hover p {
  color: #f0f0f0;
}

.subservice-link {
	text-decoration: none;
}

.subservice-link:hover {
	text-decoration: none;
}

@media screen and (min-width: 768px) {
  .card-column {
    flex: 0 50%;
    max-width: 50%;
  }
}
@media screen and (min-width: 992px) {
  .card-column {
    flex: 0 0 33.33%;
    max-width: 33.33%;
  }
}

/* Sidebar */
	
.sidebar {
	box-shadow: -3px 5px 10px 0px rgba(0, 0, 0, 0.16);
}

.sidebar strong{
	background-color: #74a735;
    color: #fff;
  	text-align: center;
  	font-size: 22px;
  	font-weight: 600;
  	padding: 12px 0px;]
}

.sidebar .sidebar-list {
	display: flex;
	flex-direction: column;
  	justify-content: center;
	list-style: none;
}

.sidebar .sidebar-list ul {
	list-style: none;
	padding: 0;
}


.sidebar .sidebar-list ul li a {
	font-weight: 400;
}

.sidebar .sidebar-list a {
	position: relative;
  	display: block;
  	font-size: 0.825em;
  	font-weight: 500;
  	padding: 5px 25px;
  	text-decoration: none;
  	color: #2e2e2e;
}

.sidebar .sidebar-list a:hover {
  	color: #74a735;
}

.sidebar .sidebar-list .active {
	color: #74a735;
}

/* Google Reviews Plugin */
.wp-gr .wp-google-wr a {
	background: #74a735 !important;
}

.wp-gr.wpac a.wp-google-name {
	color: #74a735 !important;
}

.wp-gr:not(.wp-dark) .grw-review-inner.grw-backgnd {
	background: #fff !important;
}

.form-fields {
	border-color: #4a4a4a;
}

table tr {
	border: 1px solid #4a4a4a;
}

.team-profile-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0px 120px;
    border-right: 3px solid #74a735;
  }

  .team-profile-member {
    padding: 0 40px;
  }

  .team-profile-card {
    padding: 30px 30px 20px 30px;
    margin: 30px 0 50px 0;
    
  }

  .team-profile-img {
    width: 100%;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-profile-img-div {
    padding: 10px 30px 10px 30px;
}

.container-card {
    width: 14.66667%;
    border: none;
}

.card-body .profile-name {
    padding: 10px;
}

.team-profile-card:hover {
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.card-title .profile-title {
    margin-bottom: 0.3rem;
}

.card-desc .profile-desc {
    margin-bottom: 0.3rem;
}

.dep-title {
    color: #74a735;
    font-size: 50px;
    font-weight: bold;
}

.team-profile-desc {
  margin-bottom: 0.3rem;
  color: #74a735;
  font-size: 16px;
  font-weight: 400;
  text-align: center;
}

.team-profile-title {
  margin-top: 5px;
  margin-bottom: 0.1rem;
  color: #262626;
  font-weight: 600;
  text-align: center;
}

/* Pagination Styling */
.pagination {
    text-align: center;
    margin-top: 30px;
}

.pagination a, .pagination span {
    padding: 10px 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    margin: 0 5px;
    text-decoration: none;
	border-radius: 5px;
}

.pagination a:hover {
    background-color: #74a735;
    color: #fff;
}

.pagination .current {
    background-color: #74a735;
    color: #fff;
}

.anchor-none {
	color: #1A1A1A;
}

.anchor-none:hover {
	text-decoration: none;
}

/*
.widget-area {
	position: sticky;
    height: fit-content;
    top: 90px;
}
*/

/*
.toc-container {
    position: sticky;
    top: 20px;
    width: 100%;
}
*/

.toc {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}
.toc h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.toc ol {
    padding-left: 8px;
}

.toc li {
    margin-bottom: 5px;
	margin-right: 5px;
}
.toc a {
    text-decoration: none;
    color: #262626;
	font-size: 0.825em;
	font-weight: 400;
}
.toc a:hover {
    text-decoration: underline;
}

.toc-container {
    background: #f9f9f9;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.sidebar-content {
    background: #fff;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

@media (min-width: 992px) {
    .page-container .row {
        display: flex;
        // flex-wrap: nowrap;
    }

    .page-container .content-col {
        flex: 1;
        min-width: 0;
    }

    .page-container .sidebar-col {
        flex: 0 0 25%;
        /* max-width: 25%; */
    }
}

@media (min-width: 992px) {
    .sidebar-col {
        position: -webkit-sticky;
        position: sticky;
        top: 10px;
        height: fit-content;
    }
}

@media (min-width: 1200px) {
	.mobile-sidebar {
		display: none;
	}
}

@media (max-width: 1200px){
	.desktop-toc {
		display: none;
	}
}

.profile-card {
  width: 80%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.4);
  margin-left: 2.3em;
  margin-top: 4em;
  margin-bottom: 4em;
}

.profile-image {
  position: relative;
  top: -90px;
  right: -12px;
  border-radius: 1rem;
  background-image: url(https://staging.sunrisesolicitors.co.uk/wp-content/themes/sunrise-theme/images/team/amir-img.webp);
  width: 11rem;
  height: 11rem;
  background-position: center;
  background-size: cover;
  box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.1);
}

.profile-info {
  text-align: center;
  margin-top: -3rem;
  margin-bottom: 1rem;
}

.profile-info > .profile-name {
  color: #212121;
  height: 30px
}

.profile-info > .profile-desc {
  color: #666666;
  font-size: 0.9rem;
}

.profile-card .status {
  list-style: none;
  display: flex;
  justify-content: space-between;
  text-align: center;
  line-height: 1rem;
  margin-bottom: 1.3rem;
}

.profile-card .status-value {
  color: #212121;
  font-weight: 700;
}

.profile-card .status-text {
  font-size: 0.8rem;
  color: #7c7c7d;
}

.profile-card p {
	text-align: center;	
}

.profile-card .action {
  display: flex;
  justify-content: center;
}

.profile-card .btn {
  border: none;
  padding: 0.8em 1.9em;
  border-radius: 0.35rem;
  cursor: pointer;
  font-weight: 600;
}

.profile-card .btn-pink {
  background: #b82151;
  color: white;
}

.profile-card .btn-gray-outline {
  border: 1px solid;
  background: linear-gradient(#74a735, #79C420);
  color: #fff;
}

.profile-card:hover .btn-gray-outline {
  border: 1px solid;
  background: #fff;
  color: #74a735;
}

.profile-card a {
	text-decoration: none;
}

@media (min-width: 321px) and (max-width: 1200px){
	.page-container .row{
		display: flex;
		flex-direction: column;
	}
	.page-container .content-col {
		width: 100% !important;
	}
	.page-container .sidebar-col {
		width: 100% !important;
	}
}

@media (max-width: 320px){ 
	.profile-image {
		right: -13px;
		width: 6rem;
		height: 6rem;
	}
	.profile-desc {
		margin-top : 3em;
	}
}

@media (min-width: 321px) and (max-width: 380px){
	.profile-image {
		right: -44px;
		width: 6rem;
		height: 6rem;
	}
	.profile-desc {
		margin-top : 3em;
	}
}

@media (min-width: 990px) and  (max-width: 1200px){
	.profile-info > .profile-name {
		height: 10px;
	}
	.profile-image {
		width: 8rem !important;
		height: 8rem !important;
		right: -45px;
	}
	.profile-desc {
		margin-top : 3em;
	}
}

@media (min-width: 1201px) and  (max-width: 1400px){
	.profile-info > .profile-name {
		height: 70px;
	}
	.profile-image {
		width: 8rem !important;
		height: 8rem !important;
		right: 0px;
	}
	.profile-desc {
		margin-top : 3em;
	}
}

@media (min-width: 1400px) and  (max-width: 1700px){
	.profile-image {
		right: -20px;
		width: 8rem;
		height: 8rem;
	}
	.profile-desc {
		margin-top : 3em;
	}
}

@media (min-width: 1700px){
	.profile-image {
		right: -40px;
		width: 8rem;
		height: 8rem;
	}
}

.wp-caption {
	width: 100% !important;
}

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

.readmore-btn {
  width: 15%;
  height: 3em;
  font-size: 1em;
  color: var(--sunrise-button-color);
}

@media (min-width: 990px) and  (max-width: 1400px){
	.readmore-btn {
	  width: 25%;
	}
}

@media (min-width: 780px) and  (max-width: 990px){
	.readmore-btn {
	  width: 35%;
	}
}

@media (min-width: 540px) and  (max-width: 780px){
	.readmore-btn {
	  width: 45%;
	}
}

@media (max-width: 540px){
	.readmore-btn {
	  width: 100%;
	}
}

@media (max-width: 768px)
{
	td {
		padding: 0;
	}
}

.ea-header a {
	background: linear-gradient(to top, #74A735, #79C420) !important;
    color: #fff !important;
	box-shadow: 0px -21px 56px -27px rgba(0,0,0,0.45) !important;
}

.sp-easy-accordion a .ea-expand-icon
{
	color: #fff !important;
}