/*
Theme Name: markeylaw
Theme URI: http://1on1academictutors.com
Description: White and clean theme almost without css styles. Fonts and colors will be default of your browser.
Version: 1.0
Author: Pushpendra
Author URI: http://www.pushpendra.net
Tags: white, simple, fixed width, two columns, widgets, clean
*/
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.alignleft {
  float: left;
}
.alignright {
  float: right;
}

p img {
  padding: 0;
  max-width: 100%;
}
a img {
  border: none;
}
img.centered {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

img.alignright {
  padding: 4px;
  margin: 0 0 2px 7px;
  display: inline;
}

img.alignleft {
  padding: 4px;
  margin: 0 7px 2px 0;
  display: inline;
}

.title {
  text-transform: uppercase;
}
#wpadminbar {
  z-index: 999999 !important;
}
.city-title {
  width: auto;
  color: #fff;
  font-weight: bold;
  margin: 0;
  font-size: 20px;
  font-weight: 100;
  padding-top: 30px;
  text-align: center;
  text-transform: uppercase;
}

.cities {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* First row: 5 columns */
    gap: 20px;
    list-style: none;
   	padding-top: 20px;
	text-align: center;
}

.amn-logo{
	width: 105px;
    margin: 15px auto 0;
}

/* Force the second row to have 6 columns */
.cities li:nth-child(n+6) {
    grid-column: auto;
}

.cities li:nth-child(6) {
    grid-column: 1 / span 6; /* Start a new row with 6 columns */
}
.testimonial-sec {
    background-color: #f9f9f9;
    text-align: center;
}

.testimonial-sec .h2{
    display: block;
    color: #000;
    font-size: 35px;
    font-weight: 500;
    margin: 0 0 30px;
    line-height: 50px;
    font-family: "bressay-display";
}
.testimonial-sec .testimonial_box .h5{
   font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}
.testimonial-sec .testimonial-box .owl-nav i{
  font-family: 'Font Awesome 6 Brands';
}   
.testimonial-sec .testimonial-box .owl-nav {
    display: block;
    position: absolute;
    width: 100%;
    left: 0;
    top: 40%;
}
.testimonial-sec .testimonial-box .owl-nav .owl-prev {
    float: left;
    margin-left: 0px;
}
.testimonial-sec .testimonial-box .owl-nav .owl-next {
    float: right;
    margin-right: 0px;
}
.home_banner .banner_text .h1{
    text-transform: capitalize;
    color: #fff;
    margin: 0 0 20px;
    font-weight: 400;
    line-height: 67px;
    font-size: 50px;
    font-family: "bressay-display";
    display: block;
}
.aboutus-sec .text .h2 {
    font-size: 20px;
    -webkit-text-decoration: underline #e9a843;
    text-decoration: underline #e9a843;
    line-height: 1.2;
}
.page-sidebar .side-box .heading .h4 {
    margin-bottom: 25px;
    border-bottom: 3px solid #e9a843;
    display: inline-block;
    padding-bottom: 5px;
    padding-top: 10px;
    font-size: 27px;
}
.side-box .blog_box .h5 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 10px;
    display: block;
}
.footer-form .contact-title .h2 {
    color: #fff !important;
    text-align: center !important;
    display: block;
    font-size: 35px;
    font-weight: 500;
    margin: 0 0 30px;
    line-height: 50px;
    font-family: "bressay-display";
}
@media screen and (max-width: 991px) {
    .cities {
        display: flex;
		flex-direction: column;
    }
}
@media (max-width: 550px) {
  .cities {
    justify-content: left;
    padding-top: 35px;
    gap: 10px;
  }
  .city-title {
    text-align: left;
  }
}
@media (max-width: 425px) {
  .cities {
    justify-content: center;
  }
  .city-title {
    text-align: center;
  }
}

@media (min-width: 1200px) {
  #myHeader .default_btn {
    text-align: right;
  }
}
.home .blog-page{
	background: #fff;
}

.row.header-row {
  /* 		padding: 15px 0; */
}
.service-page .Service-content .h1 {
  text-transform: capitalize;
  color: #fff;
  margin: 0 0 20px;
  font-weight: 400;
  line-height: 67px;
}

/* Blogs  */
.blog-page .img-box {
  height: 250px;
  margin-bottom: 15px;
  border-bottom: 1px solid #294f403b;
}

.blog-page .img-box img {
  width: 100%;
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  margin-bottom: 15px;
}

.blog-page h4 {
  margin-bottom: 15px !important;
}

.blog-page {
  border: 1px solid #294f403b;
}
.blog-page h4 {
  padding: 0 10px;
}
.blog-page p {
  padding: 0 10px 0;
}
.search-post a h4 {
  margin-top: 10px;
}
.breadcrumb-sec .breadcrumb li {
  color: #eaa843;
}
.blog-bg .blog-page{
	padding-bottom: 30px;
}
.post-date{
	padding-left: 10px;
    padding-bottom: 10px;
    display: block;
}
a.view-post-btn {
    display: inline-block;
    margin-left: 10px;
    font-weight: bold;
    color: #eba843;
    font-family: 'Bressay';
    text-transform: math-auto;
}

.validation_error {
  display: none !important;
}
.gfield.gfield_error.gf_left_half {
  margin-right: 16px !important;
}
.gfield {
  margin: 0 !important;
}
.validation_message {
  display: none !important;
}
.gform_validation_errors {
  display: none !important;
}

.gform_wrapper.gravity-theme .gfield_error [aria-invalid='true'] {
  border: 2px solid #c02b0a;
}

span.post-date {
    padding-left: 10px;
}
.page-row.blog-bg.practice-sec{
	text-align: left;
}

@media (min-width: 992px) {
  .mainmenu ul ul {
    top: 65px;
    border-top: 3px solid #294f40;
    padding: 10px 0;
  }
}

/* End Images */

/* New CSS 29th Jan  */

span.tagline {
  display: block;
  margin-top: 7px;
  font-family: "Beloved Sans";
  color: #eaa843;
  font-size: 18px;
  font-weight: bold;
}
.side-box .owl-nav{
    display: flex;
    justify-content: space-between;
    font-size: 30px;
}

@media screen and (min-width: 1199px){
	header {
  		padding: 10px 0;
	}
}
@media screen and (max-width: 1199px){
	.d-md-none {
		display: none;
	}
}

@media screen and (max-width: 500px) {
    header .logo {
        width: 100%!important;
		text-align: left!important;
    }
	header .logo a{
		text-align: left!important;
		font-size: 16px!important;
	}
	span.tagline{
		font-size: 14px!important;
	}
	header{
		padding: 0!important;
	}
}