/*--A Design by W3layouts 
Author: W3layout
Author URL: http://w3layouts.com
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
--*/
body {
  background: url(../images/back.jpg);
  font-family: "Open Sans", sans-serif;
}
body a {
  transition: 0.5s all;
  -webkit-transition: 0.5s all;
  -o-transition: 0.5s all;
  -moz-transition: 0.5s all;
  -ms-transition: 0.5s all;
}
ul {
  padding: 0;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
label,
p {
  margin: 0;
}
.logo {
  float: left;
  margin-top: 0.9em;
}
.header-top {
  padding: 1em 0;
  background: #fff;
  box-shadow: 0px -5px 24px 0px #b3b3b3;
}
.header-top-on {
  float: right;
}
ul.social-in li {
  display: inline-block;
}
ul.social-in li i {
  background: url(../images/img-sprite.webp) no-repeat -18px -14px;
  width: 35px;
  height: 35px;
  display: inline-block;
  transition: 0.5s all;
  -webkit-transition: 0.5s all;
  -o-transition: 0.5s all;
  -moz-transition: 0.5s all;
  -ms-transition: 0.5s all;
  vertical-align: middle;
}
ul.social-in li i.tin {
  background-position: -63px -14px;
}
ul.social-in li i.gmail {
  background-position: -107px -14px;
}
ul.social-in li i.dribble {
  background-position: -154px -14px;
}
ul.social-in li i.browser {
  background-position: -201px -14px;
}
ul.social-in li i:hover {
  background-position: -17px -57px;
}
ul.social-in li i.tin:hover {
  background-position: -63px -57px;
}
ul.social-in li i.gmail:hover {
  background-position: -107px -57px;
}
ul.social-in li i.dribble:hover {
  background-position: -154px -57px;
}
ul.social-in li i.browser:hover {
  background-position: -201px -57px;
}
.top-nav {
  float: left;
  margin-top: 0.5em;
}
/*----*/
.top-nav ul li {
  display: inline-block;
}
.top-nav ul li a {
  position: relative;
  display: inline-block;
  margin: 0 2em 0 0;
  outline: none;
  color: #838383;
  text-decoration: none;
  font-size: 1.2em; /* Increased size to match style */
  font-weight: 900;
  font-family: "Times New Roman", Times, serif;
  transform: scaleY(1.2);
}
/* Effect 15: scale down, reveal */
.top-nav ul li a::before {
  color: #838383;
  content: attr(data-hover);
  position: absolute;
  -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
  -moz-transition: -moz-transform 0.3s, opacity 0.3s;
  transition: transform 0.3s, opacity 0.3s;
}
.top-nav ul li a:hover::before,
.top-nav ul li a:focus::before {
  -webkit-transform: scale(0.9);
  -moz-transform: scale(0.9);
  transform: scale(0.9);
  opacity: 0;
  color: #000;
}
/*----*/
.top-nav span.menu:before {
  content: "";
  display: inline-block;
  background: url(../images/menu.webp) no-repeat center;
  background-size: 32px 32px;
  cursor: pointer;
  width: 32px;
  height: 32px;
}
.top-nav span.menu {
  display: none;
}
/*--responsive media-quries--*/
@media (max-width: 768px) {
  .top-nav ul {
    display: none;
    position: absolute;
    width: 96.5%;
    z-index: 9999;
    left: 2%;
    margin: 1em 0;
    background: #838383;
  }
  .top-nav span.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    position: relative;
    text-align: center;
    height: 44px;
  }
  .top-nav ul li,
  .top-nav ul li.active {
    display: block;
    float: none;
    padding: 0.5em 0;
    text-align: center;
  }
  .top-nav ul li a,
  .top-nav ul li.active a {
    color: #fff;
    display: block;
  }
  .top-nav ul li a::before,
  .top-nav ul li a:hover::before,
  .top-nav ul li a:focus::before {
    color: #fff;
  }
}
.search {
  float: right;
  position: relative;
  width: 23%;
  border-bottom: 1px solid #e4e6ec;
  border-left: 1px solid #e4e6ec;
  border-right: 1px solid #e4e6ec;
  border-top: 1px solid #e4e6ec;
  background: #fff;
  border-radius: 4px;
  padding: 3px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.search:focus-within {
  border-color: #8a8e9e;
  box-shadow: 0 0 0 2px rgba(138, 142, 158, 0.12);
}
.header-bottom {
  padding: 4em 0 3.5em;
}
.search input[type="text"] {
  outline: none;
  padding: 6px 15px;
  background: none;
  width: 79%;
  border: none;
  font-size: 0.9em;
  color: #5e6375;
  caret-color: #5e6375;
}
.search input[type="text"]::placeholder {
  color: #8a8e9e;
  opacity: 1;
}
.search input[type="text"]:focus::placeholder {
  color: transparent;
}
.search input[type="submit"] {
  width: 20px;
  height: 20px;
  background: url(../images/img-sprite.webp) -246px -28px no-repeat;
  padding: 0px 1px;
  border: none;
  cursor: pointer;
  position: absolute;
  outline: none;
  top: 6px;
  right: 3px;
}
.title-search-results {
  display: none;
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  left: -1px;
  width: calc(100% + 2px);
  box-sizing: border-box;
  max-height: 260px;
  margin: 0;
  padding: 6px 0;
  overflow-y: auto;
  list-style: none;
  background: #fff;
  border: 1px solid #e4e6ec;
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.title-search-results.is-open {
  display: block;
}
.title-search-results a,
.title-search-results .empty-result {
  display: block;
  padding: 9px 12px;
  color: #5e6375;
  font-size: 0.9em;
  line-height: 1.4;
}
.title-search-results .empty-result {
  color: #8a8e9e;
}
.title-search-results a:hover,
.title-search-results a:focus {
  color: #fff;
  background: #7e983f;
  text-decoration: none;
}
/*--- slider-css --*/
.slider {
  position: relative;
}
.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
}
.rslides li {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
}
.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
}
.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
}
.callbacks_tabs a:after {
  content: "\f111";
  font-size: 0;
  font-family: FontAwesome;
  visibility: visible;
  display: block;
  height: 20px;
  width: 20px;
  display: inline-block;
  padding: 1em;
  border-radius: 50px;
  background: #f7f7f7;
  border: 3px solid #d7d8db;
}
.callbacks_here a:after {
  background: #b1d366;
}
.callbacks_tabs a {
  visibility: hidden;
}
.callbacks_tabs li {
  display: inline-block;
}
ul.callbacks_tabs.callbacks1_tabs {
  position: absolute;
  bottom: -55px;
  z-index: 999;
  left: 47%;
}
.callbacks_nav {
  position: absolute;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  top: 50%;
  left: 3%;
  transform: translateY(-50%);
  opacity: 0.5;
  z-index: 3;
  text-indent: -9999px;
  overflow: hidden;
  text-decoration: none;
  width: 44px;
  height: clamp(66px, 8.9vw, 104px);
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 104'%3E%3Cpath d='M42 2 2 52l40 50' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: clamp(28px, 3.8vw, 44px) 100%;
  cursor: pointer;
  touch-action: manipulation;
  transition: opacity 0.2s ease;
}
.callbacks_nav:active,
.callbacks_nav.is-pressed {
  opacity: 1;
  transition: none;
}
.callbacks_nav:focus-visible {
  opacity: 1;
  outline: 3px solid #7e983f;
  outline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
  .callbacks_nav:hover {
    opacity: 1;
  }
}
.callbacks_nav.next {
  left: auto;
  right: 3%;
  transform: translateY(-50%) scaleX(-1);
}
.banner-top {
  padding: 0em 0 4em;
}
/*----*/
.port h2 {
  text-align: center;
  font-size: 2.4em;
  font-family: "Lobster", cursive;
  color: #5e6375;
  padding: 1em 0;
}
.port h2 span {
  color: #7e983f;
}
.work-top {
  border-top: 1px solid #a1ca6c;
  border-bottom: 1px solid #a1ca6c;
  padding: 1.5em 0;
}
#portfoliolist .portfolio {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  width: 23.5%;
  display: block;
  float: left;
  overflow: hidden;
  margin: 0 2% 2% 0;
}
div#portfoliolist {
  padding: 2em 0;
}
.portfolio-wrapper {
  overflow: hidden;
  position: relative !important;
  background: #fff;
}
.portfolio-wrapper p {
  color: #000;
  font-size: 1.1em;
  padding: 1em 0;
}
.portfolio img {
  position: relative;
  width: 100%;
  transition: all 300ms !important;
  -webkit-transition: all 300ms !important;
  -moz-transition: all 300ms !important;
}
#portfoliolist .portfolio:nth-child(4),
#portfoliolist .portfolio:nth-child(8) {
  margin: 0 0 2% 0;
}

.gir {
  padding: 1em;
}
.gir h5 {
  color: #787b86;
  font-size: 1.3em;
  padding: 0 0 0.5em;
}
.gir h5 a {
  color: #787b86;
  text-decoration: none;
  display: block;
}
.gir h5 a:hover,
.gir h5 a:focus {
  color: #839655;
  text-decoration: none;
}
.gir p {
  color: #afb2bf;
  font-size: 0.9em;
  line-height: 1.8em;
  border-top: 1px dashed #afb2bf;
  padding: 0.5em 0 0;
}
/*----*/
.about {
  background: #fff;
  padding: 2em;
}
.about h3 {
  color: #839655;
  font-size: 1.5em;
  font-weight: 700;
  text-transform: uppercase;
}
.dem {
  border-top: 1px solid #e4e6ec;
  margin: 1em 0 0;
  padding: 0;
}
.dem p {
  color: #7a7f93;
  font-size: 1em;
  line-height: 1.8em;
}
.dem h4 {
  color: #afb2bf;
  font-size: 1.7em;
  font-family: "Lobster", cursive;
  font-style: italic;
  padding: 1em 0;
}
.call {
  float: right;
  padding: 2em 0 1em;
}
ul.call-in li {
  display: inline-block;
}
ul.call-in li span {
  font-size: 1.3em;
  color: #8f929d;
  font-weight: 700;
  vertical-align: middle;
}
ul.call-in li i {
  background: url(../images/img-sprite.webp) no-repeat -279px -14px;
  width: 35px;
  height: 35px;
  display: inline-block;
  transition: 0.5s all;
  -webkit-transition: 0.5s all;
  -o-transition: 0.5s all;
  -moz-transition: 0.5s all;
  -ms-transition: 0.5s all;
  vertical-align: middle;
}
ul.call-in li i.facebook {
  background-position: -18px -14px;
}
ul.call-in li i.tin {
  background-position: -63px -14px;
}
ul.call-in li i.gmail {
  background-position: -107px -14px;
}
ul.call-in li i.dribble {
  background-position: -154px -14px;
}
ul.call-in li i.browser {
  background-position: -201px -14px;
}
ul.call-in li i.facebook:hover {
  background-position: -17px -57px;
}
ul.call-in li i.tin:hover {
  background-position: -63px -57px;
}
ul.call-in li i.gmail:hover {
  background-position: -107px -57px;
}
ul.call-in li i.dribble:hover {
  background-position: -154px -57px;
}
ul.call-in li i.browser:hover {
  background-position: -201px -57px;
}
.men img {
  margin: 0 auto;
}
/*--about--*/
.about-us h2 {
  font-size: 3em;
  color: #5e6375;
  padding: 0 0em 1em;
  text-align: center;
  font-family: "Lobster", cursive;
}
.book p {
  font-size: 1em;
  color: #afb2bf;
  line-height: 1.8em;
}
.left-sit h6 {
  font-size: 1.3em;
  line-height: 1.3em;
}
.left-sit p {
  margin: 0.5em 0 0;
  color: #7a7f93;
  font-size: 1em;
  line-height: 1.8em;
}
.in-sed,
.left-sit {
  float: left;
}
.left-sit {
  width: 80%;
}
span.in-sed {
  font-size: 1.8em;
  color: #fff;
  background: #839655;
  width: 45px;
  height: 45px;
  text-align: center;
  font-weight: 600;
  margin-right: 6%;
  padding-top: 5px;
}
.left-sit h6 a {
  text-decoration: none;
  color: #839655;
}
.left-sit h6 a:hover {
  color: #222;
}
.in-profile h4 {
  margin: 2em 1em;
  color: #5e6375;
  font-size: 1.5em;
  font-weight: 700;
}
.about-us {
  background: #fff;
  margin: 0 0 2em;
  padding: 2em 1em;
}
/*--four--*/
.four {
  text-align: center;
  padding: 8em 0em 10em;
  min-height: 440px;
  background: #fff;
}
.four h1 {
  font-size: 8em;
  color: #7e983f;
  font-weight: 600;
}
.four p {
  font-size: 1.5em;
  color: #a6a9b4;
  padding: 0.7em 0 2em;
}
a.more {
  text-decoration: none;
  font-size: 1em;
  background: #7e983f;
  padding: 0.5em 1em;
  color: #fff;
  border: 1px solid #7e983f;
}
a.more:hover {
  background: #fff;
  border: 1px solid #a6a9b4;
  color: #000;
}
/*--single-text--*/
.single-text {
  padding: 2em 1em;
  background: #fff;
}
.single-text h2 {
  font-size: 3em;
  color: #5e6375;
  text-align: center;
  font-family: "Lobster", cursive;
}
.blog-left {
  float: left;
  border-right: 1px solid #b6b3b3;
  padding-right: 1.5em;
}
.top-blog {
  float: left;
  margin: 1.5em 0em 0em 2em;
}
.blog-left b {
  font-size: 3.5em;
  color: #7e983f;
  display: block;
  height: 55px;
}
.blog-left span {
  font-size: 1.7em;
  color: #7e983f;
}
ul.men-grid li {
  display: inline-block;
}
.top-blog p {
  margin: 0;
  font-size: 1em;
  color: #a09f9f;
}
.top-blog p a {
  text-decoration: none;
  color: #000;
}
.top-blog a.fast {
  text-decoration: none;
  font-size: 1.1em;
  text-transform: uppercase;
  color: #565454;
}
h5.fast-in {
  font-size: 1.1em;
  text-transform: uppercase;
  color: #565454;
}
.top-blog a.fast:hover {
  color: #000;
}
.top-blog p a:hover {
  color: #839655;
}
/*----*/
.grid-men p {
  color: #a09f9f;
  font-size: 1em;
  line-height: 1.7em;
}
.grid-men p.text-in {
  height: auto;
  overflow: visible;
}
.video-wrapper {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0;
  row-gap: clamp(20px, 3vw, 32px);
}
.video-item {
  width: 100%;
  margin: 0;
}
.blog-video {
  display: block;
  width: 100%;
  min-width: min(280px, 100%);
  max-width: min(100%, 852px);
  height: auto;
  max-height: 480px;
  aspect-ratio: 852 / 480;
  object-fit: contain;
  background: #000;
  margin-inline: auto;
}
.video-source {
  width: 100%;
  max-width: 852px;
  box-sizing: border-box;
  margin: 10px auto 0;
  color: #a09f9f;
  font-size: 0.95em;
  line-height: 1.5;
  text-align: right;
  overflow-wrap: anywhere;
}
.video-source a {
  color: #7e983f;
  text-decoration: none;
}
.video-source a:hover,
.video-source a:focus {
  text-decoration: underline;
}
.grid-men {
  padding: 2em 0;
}
.categories-grid h4 {
  color: #839655;
  font-size: 1.5em;
  font-weight: 700;
  padding: 1em 0;
}
a.more-dummy {
  text-decoration: none;
  font-size: 1em;
  background: #7e983f;
  padding: 0.5em 1em;
  color: #fff;
  border: 1px solid #7e983f;
  display: block;
  margin: 0.7em 0 0;
  width: 23%;
}
a.more-dummy:hover {
  background: #fff;
  border: 1px solid #a6a9b4;
  color: #000;
}
.sin-on {
  padding: 0;
}
ul.popular li {
  list-style: none;
  padding: 0.5em 0;
}
ul.popular li a {
  text-decoration: none;
  font-size: 1.2em;
  color: #a09f9f;
  transition: 0.5s all;
  -webkit-transition: 0.5s all;
  -o-transition: 0.5s all;
  -moz-transition: 0.5s all;
  -ms-transition: 0.5s all;
}
ul.popular li span.dot {
  background: url(../images/img-sprite.webp) no-repeat -452px -43px;
  width: 16px;
  height: 16px;
  display: inline-block;
  margin: 0em 12px 0 0;
}
ul.popular li a:hover {
  color: #7e983f;
}
.single-top {
  border-bottom: 1px solid #a6a9b4;
  padding: 2em 0 0;
}
.top-sin {
  border: none;
}
/*--single--*/
.single-profile h4 {
  color: #839655;
  font-size: 1.5em;
  font-weight: 700;
  text-transform: uppercase;
}
.single-left {
  padding: 2em 0 0;
}
.post-top {
  padding: 0 2em 0 0em;
}
.single-profile {
  padding: 3em 0;
}
.post-top h6 {
  font-size: 1.5em;
  color: #7e983f;
  padding: 0.3em 0;
  font-family: "Lobster", cursive;
}
.post-top p {
  color: #a09f9f;
  font-size: 1em;
  line-height: 1.7em;
}
/*----*/
.table-form form input[type="text"] {
  width: 70%;
  padding: 1em;
  margin: 0.5em 0;
  background: none;
  outline: none;
  border: 1px solid #a6a9b4;
}
.table-form textarea {
  width: 100%;
  padding: 1em;
  margin: 0.5em 0;
  background: none;
  outline: none;
  border: 1px solid #a6a9b4;
  resize: none;
  height: 200px;
}
.table-form input[type="submit"] {
  width: 15%;
  font-size: 1.5em;
  background: #7e983f;
  padding: 0.3em 0.7em;
  text-align: center;
  color: #fff;
  border: 1px solid #7e983f;
  outline: none;
  margin: 0 auto;
  -webkit-appearance: none;
  appearance: none;
  transition: 0.5s all;
  -webkit-transition: 0.5s all;
  -o-transition: 0.5s all;
  -moz-transition: 0.5s all;
  -ms-transition: 0.5s all;
}
.table-form input[type="submit"]:hover {
  background: #fff;
  border: 1px solid #a6a9b4;
  color: #000;
}
.table-form span {
  display: block;
  color: #a6a9b4;
  font-size: 1.2em;
}
.table-form div {
  margin: 0.5em 0;
}
.leave-comment h3 {
  color: #839655;
  font-size: 1.5em;
  font-weight: 700;
  text-transform: uppercase;
}
/*--contact--*/
.contact-left h2 {
  font-size: 3em;
  color: #5e6375;
  padding: 0 0em 1em;
  text-align: center;
  font-family: "Lobster", cursive;
}
.contact-in {
  padding: 2em 0 0;
}
p.your-para,
p.message-para {
  color: #a6a9b4;
  font-size: 1.2em;
}
p.message-para {
  padding: 0 1em;
}
.contact-grid input[type="text"] {
  width: 100%;
  padding: 1em;
  margin: 1em 0;
  background: none;
  outline: none;
  border: 1px solid #a6a9b4;
}
.contact-left textarea {
  resize: none;
  width: 98%;
  padding: 1em;
  margin: 1em;
  outline: none;
  border: 1px solid #a6a9b4;
}
.contact-left input[type="submit"] {
  width: 13%;
  font-size: 1.5em;
  background: #7e983f;
  padding: 0.3em 0.7em;
  text-align: center;
  color: #fff;
  border: 1px solid #7e983f;
  outline: none;
  margin: 0 auto;
  -webkit-appearance: none;
  appearance: none;
  transition: 0.5s all;
  -webkit-transition: 0.5s all;
  -o-transition: 0.5s all;
  -moz-transition: 0.5s all;
  -ms-transition: 0.5s all;
}
.contact-left input[type="submit"]:hover {
  background: #fff;
  border: 1px solid #a6a9b4;
  color: #000;
}
.send {
  padding: 0 1em;
}
.map iframe {
  width: 100%;
  height: 400px;
  border: 0;
}
.contact-left {
  padding: 2em;
  background: #fff;
  margin: 0 0 3em;
}
/*--footer--*/
.footer {
  padding: 2em 0;
}
p.footer-class {
  float: right;
  color: #a6a9b4;
  font-size: 1.1em;
}
p.footer-class a {
  text-decoration: none;
  color: #839655;
}
p.footer-class a:hover {
  color: #a6a9b4;
}
#toTop {
  display: none;
  text-decoration: none;
  position: fixed;
  bottom: 25px;
  right: 10px;
  overflow: hidden;
  width: 52px;
  height: 52px;
  border: none;
  text-indent: 100%;
  background: url("../images/up.webp") no-repeat center;
}
/*--responsive--*/
@media (max-width: 1440px) {
}
@media (max-width: 1366px) {
}
@media (max-width: 1280px) {
}
@media (max-width: 1024px) {
  span.in-sed {
    margin-right: 3%;
  }
  .left-sit h6 {
    font-size: 1em;
  }
  .left-sit p {
    margin: 0.2em 0 0;
  }
  a.more-dummy {
    width: 27%;
  }
  ul.popular li a {
    font-size: 0.9em;
  }
}
@media (max-width: 768px) {
  .top-nav {
    margin-top: 0.2em;
  }
  .search {
    width: 28%;
  }
  .header-bottom {
    padding: 2em 0;
  }
  ul.callbacks_tabs.callbacks1_tabs {
    left: 38%;
  }
  .port h2 {
    font-size: 1.8em;
  }
  .gir h5 {
    font-size: 1em;
  }
  .call {
    float: none;
  }
  .group img {
    margin: 0 auto;
  }
  .book p {
    padding: 1em 0 0;
  }
  .col-in-about {
    padding: 1em;
  }
  .in-profile h4 {
    margin: 1em;
  }
  .left-sit h6 {
    font-size: 1.3em;
  }
  .sin-on {
    width: 100%;
    float: none;
    padding: 0;
    margin-bottom: 1.5em;
  }
  .sin-on img {
    margin: 0 auto;
  }
  .simply {
    float: none;
    width: 100%;
    padding: 0;
  }
  ul.popular li a {
    font-size: 1.1em;
  }
  .contact-left input[type="submit"] {
    width: 18%;
  }
  .contact-grid,
  p.message-para {
    padding: 0;
  }
  .contact-left textarea {
    width: 100%;
    margin: 1em 0;
  }
  .contact-left h2 {
    padding: 0 0em 0.6em;
  }
  .send {
    padding: 0;
  }
  .post-top {
    padding: 0 1em 0 0em;
    width: 25%;
    float: left;
  }
  p.footer-class {
    float: none;
    text-align: center;
  }
}
@media (max-width: 640px) {
  .gir h5 {
    font-size: 0.8em;
  }
  .port h2 {
    font-size: 1.5em;
  }
  .about-us h2 {
    padding: 0 0em 0.5em;
  }
  a.more-dummy {
    width: 33%;
  }
  .blog-left b {
    font-size: 2.5em;
    height: 38px;
  }
  .blog-left span {
    font-size: 1.4em;
  }
  .top-blog {
    margin: 1.5em 0em 0em 1em;
    width: 85%;
  }
  .top-blog a.fast,
  h5.fast-in {
    font-size: 0.9em;
  }
  .table-form input[type="submit"] {
    width: 20%;
  }
}
@media (max-width: 480px) {
  #portfoliolist .portfolio {
    width: 100%;
    margin: 0 0 1em;
  }
  #portfoliolist .portfolio:nth-child(2),
  #portfoliolist .portfolio:nth-child(4),
  #portfoliolist .portfolio:nth-child(6),
  #portfoliolist .portfolio:nth-child(8) {
    margin: 0 0 1em;
  }
  ul.callbacks_tabs.callbacks1_tabs {
    bottom: -39px;
  }
  .banner-top {
    padding: 0em 0 3em;
  }
  .gir h5 {
    font-size: 1em;
  }
  .search {
    width: 42%;
  }
  ul.call-in li span {
    font-size: 1.2em;
  }
  .blog-left b {
    font-size: 2em;
    height: 32px;
  }
  .blog-left span {
    font-size: 1.1em;
  }
  .top-blog a.fast,
  h5.fast-in {
    height: auto;
    overflow: visible;
    display: block;
    line-height: 1.4;
  }
  .blog-left {
    padding-right: 0.5em;
  }
  .top-blog {
    margin: 0.8em 0em 0em 1em;
    width: 84%;
  }
  a.more-dummy {
    width: 29%;
  }
  .contact-left input[type="submit"] {
    width: 30%;
  }
  .header-bottom {
    padding: 1.5em 0;
  }
  .categories-grid h4 {
    padding: 0.5em 0;
  }
  .post-top {
    width: 50%;
  }
  .single-profile {
    padding: 2em 0;
  }
  .table-form input[type="submit"] {
    width: 28%;
  }
  .post-top p {
    padding: 0 0 0.5em;
  }
}
@media (max-width: 320px) {
  .header-bottom {
    padding: 1em 0;
  }
  .logo {
    margin-top: 0.6em;
    width: 42%;
  }
  .logo img {
    width: 100%;
  }
  .search {
    width: 48%;
    padding: 0;
  }
  .search input[type="text"] {
    padding: 6px 7px;
    font-size: 0.8em;
  }
  .search input[type="submit"] {
    background: url(../images/img-sprite.webp) -246px -31px no-repeat;
  }
  ul.callbacks_tabs.callbacks1_tabs {
    bottom: -29px;
    left: 30%;
  }
  .callbacks_tabs a:after {
    height: 15px;
    width: 15px;
  }
  .port h2 {
    font-size: 1.2em;
    padding: 0.5em 0;
  }
  .gir h5 {
    font-size: 0.8em;
  }
  .gir p {
    font-size: 0.87em;
    line-height: 1.5em;
  }
  .about h3 {
    font-size: 1.3em;
  }
  .dem h4 {
    font-size: 1.3em;
    padding: 0.4em 0;
  }
  .dem p {
    font-size: 0.9em;
    line-height: 1.8em;
  }
  .call {
    padding: 1em 0 1em;
  }
  p.footer-class {
    font-size: 1em;
  }
  div#portfoliolist {
    padding: 1em 0;
  }
  .about {
    padding: 1.5em;
  }
  .about-us h2,
  .single-text h2,
  .contact-left h2,
  .contact-left h2 {
    font-size: 2em;
  }
  .about-us {
    padding: 1.5em 0.5em;
    margin: 0 0 1.5em;
  }
  .single-text {
    padding: 1.5em 0.5em;
  }
  .book p {
    font-size: 0.9em;
  }
  .in-profile h4 {
    margin: 0.8em 0.8em 0.3em;
    font-size: 1.2em;
  }
  span.in-sed {
    font-size: 1.3em;
    width: 35px;
    height: 35px;
  }
  .left-sit h6 {
    font-size: 1.1em;
  }
  .left-sit p {
    font-size: 0.9em;
  }
  .col-in-about {
    padding: 0.5em 1em;
  }
  .four h1 {
    font-size: 5em;
  }
  .four p {
    font-size: 1.2em;
    padding: 0.7em 0 1.5em;
  }
  .four {
    padding: 5em 0em 6em;
    min-height: 325px;
  }
  .top-blog {
    margin: 0.8em 0em 0em 0.5em;
    width: 76%;
  }
  .top-blog p {
    height: auto;
    overflow: visible;
    font-size: 0.9em;
  }
  .single-top {
    padding: 1em 0 0;
  }
  .grid-men {
    padding: 1em 0;
  }
  a.more-dummy {
    width: 44%;
  }
  .categories-grid h4 {
    font-size: 1.2em;
  }
  .contact-left {
    padding: 1.5em;
    margin: 0 0 2em;
  }
  p.your-para,
  p.message-para {
    font-size: 1em;
  }
  .contact-grid input[type="text"] {
    padding: 0.7em;
    margin: 0.5em 0;
  }
  .map iframe {
    height: 150px;
  }
  .single-profile h4,
  .leave-comment h3 {
    font-size: 1.2em;
  }
  .single-profile {
    padding: 1em 0;
  }
  .single-left {
    padding: 1em 0 0;
  }
  .table-form form input[type="text"] {
    width: 100%;
    padding: 0.5em;
  }
  .table-form span {
    font-size: 1em;
  }
  .table-form textarea {
    height: 110px;
  }
  .table-form input[type="submit"] {
    width: 39%;
    font-size: 1.2em;
  }
  .post-top h6 {
    font-size: 1.2em;
  }
  .post-top p {
    font-size: 0.9em;
    padding: 0 0 0.5em;
  }
  ul.call-in li span {
    padding: 0 2em 0 0;
  }
}
