/* =================================================================== */
/* 
/*  Puremedia v1.0 Media Queries
/*  url:styleshout.com
/*  10-10-2014
/*
/* =================================================================== */


/* small screens */

@media screen and (max-width: 1000px) {
	.accordion {
	  width: 100%;
	}

	#cookie-popup{
		width: 50%;
	}
  }
  
@media only screen and (max-width:900px) {

	/* content styles */
	#content #sidebar { padding-left: 0; }

	/* hero section */
	#hero-slider {	margin: 96px auto 30px;	}
	#hero-slider .flex-caption h1 {
		font: 44px/1.3 "Open Sans";
		font-weight: 700;
		margin-bottom: 16px;
	}

	/* portfolio section */
	#portfolio .row.items {
		max-width: none;
		width: 100%;
		padding: 0;
	}
	#portfolio .row.items .twelve.columns {
		padding: 0;
	}

	/* about section */
	#team-wrapper .member-pic {
		width: 66px;
		height: 66px;
	}

	#cookie-popup{
		width: 75%;
		height: 90vh;
	}

} /* 900 */


/* tablets */
@media only screen and (max-width:1045px) {

   /* header styles */
	header {	background: #fff;	}
	header {	height: 60px; }
	/* header .logo {	margin: 24px 0 0 0; } */
	header .logo > a { 
		margin-right: 0; 
		text-align: left;
		width: auto;
		height: 60px;
	}
	header .logo {
		display: block;
		z-index: 992;
	}
	header .logo a img {
		height: 100%;
	}
	
	/* mobile navigation */
	#nav-wrap {
		z-index: 991;
		display: block;
		margin-top: 0;
		width: 100%;
		float: none;
		position: absolute;
		top: 0;
		right: 0;
	}
	#nav-wrap > a {
		background: #7ac142;
		border: none;
		color: white;
		height: 60px;
		min-width: 60px;
		font-size: 12px;
		text-align: left;
		float: right;
		padding: 0;
		position: relative;
	}
	#nav-wrap .menu-text {
		text-transform: uppercase;
		margin-right: 60px;
		padding-left: 20px;
		vertical-align: middle;
		line-height: 60px;
		display: none;
	}
	#nav-wrap .menu-icon {
		display: inline-block;
		width: 20px;
		height: 3px;
		margin-top: -3px;
		position: absolute;
		right: 20px;
		top: 50%;
		bottom: auto;
		left: auto;
		background: white;
	}
	#nav-wrap .menu-icon:before, 
	#nav-wrap .menu-icon:after {
		content: '';
		width: 100%;
		height: 100%;
		position: absolute;
		background-color: inherit;
		left: 0;
	}
	#nav-wrap .menu-icon:before {
		bottom: 6px;
	}
	#nav-wrap .menu-icon:after {
		top: 6px;
	}
	#nav-wrap ul#nav {
		background: #262d3a;
		padding: 54px 45px 60px 45px;
		margin: 0;
		height: auto;
		display: none;
		clear: both;
		width: 100%;
		float: none;
		position: relative;
		top: 0;
		right: 0;
	}
	#nav-wrap ul#nav > li {
		display: block;
		float: none;
		height: auto;
		text-align: left;
		border-bottom: 1px dotted #3b4558;
		padding: 6px 0;
	}
	#nav-wrap ul#nav > li:first-child {
		border-top: 1px dotted #3b4558;
	}
	#nav-wrap ul#nav li a {
		display: block;
		width: auto;
		padding: 0;
		padding: 12px 0;
		line-height: 16px;
		border: none;
		color: #fff;
	}
	ul#nav li.current a:after {
		background-color: unset;
	}
	#nav-wrap ul#nav li a:hover {
		color: white;
	}
	#nav-wrap ul#nav li.current > a {
		background: none;
		color: #7ac142;
	}
	.js #nav-wrap a.mobile-btn {
		display: none;
	}
	.js #nav-wrap a#toggle-btn {
		display: block;
	}
	.no-js #nav-wrap:not(:target) > a:first-of-type, 
	.no-js #nav-wrap:target > a:last-of-type {
		display: block;
	}
	.no-js #nav-wrap:target ul#nav {
		display: block;
	}

	/* content styles */
	#content { padding-top: 54px;	} 
	#content #sidebar {
		margin-top: 42px;
		padding-left: 0;
	}

	/* sidebar styles */
	#sidebar .link-list {
		margin-left: -3px; 
	}
	#sidebar .link-list li {
		display: inline-block;
		padding: 8px 0 8px 0;
	}
	#sidebar .link-list li a {
		display: inline-block;
		white-space: nowrap;		
	}
	#sidebar .link-list li:before {
		content: "|";
		padding-left: 3px;
		padding-right: 6px;
		color: #cfd9db;
	}
	#sidebar .link-list li:first-child:before {
		display: none;
	}
	#sidebar .link-list li:first-child {
		margin-left: 6px;
	}

	/* footer styles */
	footer {	padding-bottom: 36px; }
	footer .footer-about { padding-right: 25px; }
	footer .copyright, .sra-sm {
		padding-left: 15px;
		padding-right: 60px;
	}
	footer #go-top { right: 0;	}
	footer #go-top a {
		height: 60px;
		width: 60px;
		line-height: 60px;
		padding: 0;
	}
	footer #go-top a span { display: none;	}
	footer #go-top a i {	font-size: 16px; }

	/* common and shared styles */
	.section-head p {	width: 100%; } 
	#page-title h1 {
		font: 46px/1.3 "Open Sans";
		font-weight: 800;
		width: 100%;
	}
	#page-title p {
		font: 15px/30px "Open Sans";
		width: 100%;
		font-weight: 400;
	}
	.entry header { text-align: center;	}
	.entry .entry-meta ul {
		text-align: center;
		margin-top: 6px;
	}
	.pagenav a[rel="next"]:after { float: right; }

	/* hero section */
	#hero-slider {	margin: 78px auto 24px;	}
	#hero-slider .flex-caption { margin: 0 8%; }
	#hero-slider .flex-caption h1 {
		font: 42px/1.3 "Open Sans";
		font-weight: 700;
	}

	/* about section */
	#about .about-content {	padding: 0 30px; }
	#about .left {	padding-right: 15px; }
	#about .right { padding-left: 15px;	}
	/*#team-wrapper .member-header { margin-bottom: 0; }*/

	/* blog entry */
	.entry p.lead {
		font: 16px/33px "Open Sans";
	} 
	#comments h3 {	text-align: center; }
	#comments form {
		margin-left: 0;
		border-bottom: 1px solid white;
	}
	#comments form input, #comments form textarea, 
	#comments form select, #comments form label {
		width: 100%;
		float: none;
	}
	#comments form label { padding-left: 0; }
	#comments form div {	margin: 6px 0 0 0; }
	#comments form input { margin-bottom: 0; }
	#comments form .message label { display: block;	}
	#comments form button {
		width: 100%;
		margin-top: 24px;
	}

	#cookie-popup{
		width: 70%;
		height: 90%;
	}


} /* 768 */


/* mobiles */
@media only screen and (max-width:600px) {

	/* content styles */
	#content { padding-top: 48px;	}

	/* footer styles */
	footer .footer-about { padding-right: 10px; }
	footer .copyright, .sra-sm { padding-left: 10px; }

	/* common and shared styles */
	.section-head p {
		font: 16px/33px "Open Sans";
	}
	.entry header h1 {
		font: 26px/33px "Open Sans";
		font-weight: 800;
	}

	/* hero section */
	#hero { padding-bottom: 66px;	}

	/* service section */
	.service-list .bgrid {
		margin-top: 12px;
		margin-bottom: 12px;
		padding: 0 60px;
	}

	/* about section */
	#about h3 {	text-align: center; }
	#about .left {	padding-right: 10px;	}
	#about .right { padding-left: 10px;	}
	#team-wrapper .member {	text-align: center; }
	#team-wrapper .member-pic {
		position: absolute;
		left: 50%;
		top: 50%;
		margin-left: -100px;
		margin-top: -39px;
	}
	#team-wrapper .member-name { margin-left: 85px;	}
	#team-wrapper .member-name h3, #team-wrapper .member-name span {
		text-align: left;
	}

	/* journal section */
	#journal #blog-wrapper { margin: 24px 20px 0 20px;	}
	#journal #blog-wrapper h5, #journal #blog-wrapper h3 {
		text-align: center;
	}

	/* contact section */
	#contact .form-section {
		/* padding-left: 40px;
		padding-right: 40px; */
	}

	/* blog entry */
	.commentlist {
		width: 100%;
		margin-left: 0;
	}
	.commentlist > li { padding-left: 0; }
	.commentlist li .avatar { display: none; }

	/* portfolio entry */
	.more-projects h1 {
		font: 26px/33px "Open Sans";
		font-weight: 800;
	}

	#cookie-popup{
		width: 100%;
		height: 100vh;
	}


} /* 600 */


/* small small mobiles */
@media only screen and (max-width:480px) {

	/* hero section */
	#hero-slider {
		width: 94%;
		margin: 54px auto 24px;
	}
	#hero-slider .flex-caption { margin: 0; }
	#hero-slider .flex-caption h1 {
		font: 32px/1.3 "Open Sans";
		font-weight: 700;
	}
	/* about section */
	#team-wrapper .member-pic {
		width: 60px;
		height: 60px;	
		margin-top: -30px;			
	}
	#team-wrapper .member-name { margin-left: 60px;	}
	#team-wrapper .member-name h3 {
		font-size: 15px;
		line-height: 18px;	
		margin-bottom: 12px;	
	}


	#cookie-popup{
		width: 100%;
	}
} /* 480 */


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

	/*	footer styles */ 
	footer .right-cols .columns {
		width: 100% !important;
	}

	/* services section */
	.service-list .bgrid {
		padding: 0 22px;
	}

	/* journal section */
	#journal #blog-wrapper {
		margin: 24px -18px 0 -18px;
	}

	/* contact section */
	#contact .form-section {
		/* padding-left: 20px;
		padding-right: 20px; */
	}

} /* 460 */


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

	/* page-title */
	#page-title h1 {
		font: 38px/1.3 "Open Sans";
		font-weight: 800;
	}

	/* portfolio section */
	.item .item-wrap .portfolio-item-meta {
		margin-right: 15px;
	}
	.item .item-wrap .portfolio-item-meta h5 {
		font: 13px/18px "Open Sans";
		font-weight: 800;
	}
	.item .item-wrap .portfolio-item-meta p {
		font: 12px/18px "Open Sans";
		font-weight: 700;
	}

} /* 420 */


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

	/* footer styles */
	footer .footer-about { padding-right: 0; }
	footer .copyright, .sra-sm { padding-left: 0; }

	/* hero section */
	#hero-slider {	width: 100%; }
	#hero-slider .flex-caption h1 {
		font: 32px/1.3 "Open Sans";
		font-weight: 700;
	}

	/* about section */
	#about .about-content {	padding: 0 30px; }
	#about .left {	padding: 0;	}
	#about .right { padding: 0; }

	/* contact section */
	#contact .form-section {
		padding-left: 30px;
		padding-right: 30px;
	}

	
} /* 400 */


/* make sure the menu is visible on larger screens
-------------------------------------------------------------------------- */
@media only screen and (min-width:767px) {
	#nav-wrap ul#nav {
		/* display: block !important; */
	}
}


/* accordian */
.hidden {
	display: none;
}
.hidden-sm{
    display:none;
}
.hidden-lg{
    display:block;
}
.hidden-inline-sm {
	display: inline-block;
}
.display-inline-sm {
	display: none;
}

@media only screen and (min-width: 600px)
{
    .hidden-lg{
        display:block;
    }
    .hidden-sm{
        display:none;
    }
}

@media only screen and (min-width: 769px)
{
    .hidden-lg{
        display: block;
    }
    .hidden-sm{
        display: none;
    }
	
	.chatbot-card {
        width: 50%;
        right: 20px;
    }
}

@media only screen and (min-width: 1045px){
    .hidden-lg{
        display:none;
    }
    .hidden-sm{
        display:block;
    }
	
    .chatbot-card {
        width: 40%;
        right: 20px;
    }
}

@media only screen and (min-width: 1100px)
{
    .hidden-lg{
        display:none;
    }
    .hidden-sm{
        display:block;
    }
	
    .chatbot-card {
        width: 30%;
        right: 20px;
    }
}

@media screen and (max-width: 900px) {
    .service-list.s-bgrid-half {
		grid-template-columns: repeat(2, 1fr);
    }
	.service-list.s-bgrid-half .bgrid {
		width: 100%;
    }
}

@media screen and (min-width: 601px) {
	#service-list .service-content {
		background-color: #c9dda1;
	}
	#service-list .service-content p {
		color: #232323 !important;
	}
	.service-content a.btn {
    	border: 2px solid #fff;
		color: #fff;
		background: #7ac142;
	}
	.service-content a.btn:hover {
		color: #7ac142;
    	background: #fff;
	}
}
@media screen and (max-width: 966px) {
	.tel {
		font-size: 25px;
	}
	.header_row {
		width: 100%;
	}
}
@media screen and (max-width: 861px) {
	.tel {
		font-size: 23px;
	}
}
@media screen and (max-width: 785px) {
	.tel {
		font-size: 21px;
	}
}

@media screen and (max-width: 600px) {
    .service-list.mob-bgrid-whole {
		grid-template-columns: repeat(1, 1fr);
		margin: 0;
	}
	.service-list.s-bgrid-half .bgrid {
		width: 100%;
		padding: 30px 35px;
		margin-top: 0;
		margin-bottom: 0;
    }

	.service-list .bgrid .inner {
		border: none;
	}
	.service-list h3 {
		margin: 10px 0 0;
		padding: 0;
		background-color: transparent;
	}
	.service-list .service-content {
		padding: 0;
		text-align: center;
	}

	#services, #privacy, #cookies-policy, #journal, #contact{
		padding-top: 30px;
		padding-bottom: 30px;
	}
	header .logo {
        margin-right: 0;
    }

	/* .hlegal-services .services, .hlegal-services .why-choose-us, .hlegal-services .testimonial #team, .hlegal-services .how-it-works, .hlegal-services .faqs {
		padding-top: 30px !important;
		padding-bottom: 30px !important;
	} */

	.tel {
		font-size: 17px;
		z-index: 992;
		position: relative;
	}
	.flex-center-sm {
		display: flex;
		justify-content: center;
	}
	.bg-green-sm {
		background-color: #c9dda1;
	}
	.bg-green-sm p {
		color: #232323 !important;
	}
	.bg-green-sm a {
		color: #fff !important;
	}

	.bg-green-sm .service-content a.btn {
    	border: 2px solid #fff;
		color: #fff;
		background: #7ac142; 
	}
	.bg-green-sm .service-content a.btn:hover {
		color: #7ac142 !important;
    	background: #fff;
	}

	.bg-white-sm {
		background-color: #fff;
	}

	.bg-gray-sm {
		background-color: #ecf0f1;
	}

	#service-list.row, #who-we-are-list .row {
		padding: 0;
	}

	#service-list .columns {
		padding: 0;
	}

	#who-we-are-list .columns {
		padding: 35px 30px;
	}
	#who-we-are-list h3 {
		margin: 10px 0 0;
	}
	#about .section-head{
		padding-top: 30px;
		padding-bottom: 30px;
        margin: 0;
	}
	#about {
		padding-bottom: 0;
		padding-top: 0;
	}
	
	.sra-sm {
        display: block;
    }
	.sra-md {
        display: none;
    }

	.display-inline-sm {
		display: inline-block;
	}
	.hidden-inline-sm {
        display: none;
	}
}