/*--
	Author: W3layouts
	Author URL: http://w3layouts.com
	License: Creative Commons Attribution 3.0 Unported
	License URL: http://creativecommons.org/licenses/by/3.0/
--*/

/*-- Reset Code --*/
body {
  padding: 0;
  margin: 0;
  background: #fff;
  font-family: 'Open Sans', sans-serif;
}
body a {
  transition: 0.5s all;
  -webkit-transition: 0.5s all;
  -moz-transition: 0.5s all;
  -o-transition: 0.5s all;
  -ms-transition: 0.5s all;
  text-decoration: none;
}
body a:hover {
  text-decoration: none;
}
body a:focus,
a:hover {
  text-decoration: none;
}
input[type='button'],
input[type='submit'] {
  transition: 0.5s all;
  -webkit-transition: 0.5s all;
  -moz-transition: 0.5s all;
  -o-transition: 0.5s all;
  -ms-transition: 0.5s all;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  text-align: center;
  font-family: 'Raleway', sans-serif;
}
p {
  margin: 0;
}
ul {
  margin: 0;
  padding: 0;
}
label {
  margin: 0;
}
a:focus,
a:hover {
  text-decoration: none;
  outline: none;
}
img {
  width: 100%;
}
/*-- //Reset Code --*/
/*-- Header --*/
.top {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.header {
  background: url('../images/banner.jpg') no-repeat 0px 0px;
  background-size: cover;
}
.logo {
  float: left;
  width: 20%;
}
.logo a h2 {
  font-family: 'Aclonica', sans-serif;
  color: #fff;
  display: inline-block;
  margin-top: 35px;
  font-size: 28px;
}
.logo a img {
  display: inline-block;
  margin-top: 20px;
}
.navbar-default {
  position: absolute;
  top: 0;
  left: 0;
  background: transparent;
  border: none;
  width: 100%;
}

div#navbar {
  float: left;
  width: 43%;
  margin: 25px 0px 0px 130px;
  padding: 0;
}
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
  float: left !important;
}
.navbar-default .navbar-nav > li > a {
  color: #fffafa;
  border-top: 1px solid rgba(255, 255, 255, 0.01);
  font-size: 14px;
  padding: 10px 12px;
}
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li > a:hover {
  border-top: 1px solid #fff;
  background-color: transparent;
  color: #fff;
}
.header-search {
  float: left;
  position: relative;
  width: 25%;
}

/*--start search--*/
.sb-search {
  position: absolute;
  right: 0;
  top: 39px;
  width: 32px;
  margin: 0;
  height: 32px;
  overflow: hidden;
  -webkit-transition: width 0.3s;
  -moz-transition: width 0.3s;
  transition: width 0.3s;
  -webkit-backface-visibility: hidden;
}
.sb-search-input {
  position: absolute;
  top: 0px;
  left: -77px;
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  height: 31px;
  margin: 0;
  z-index: 10;
  font-size: 1em;
  color: #fff;
  padding: 0 2em 0 3.5em;
  -webkit-appearance: none;
}
.sb-search-submit {
  filter: alpha(opacity=0);
  color: transparent;
  border: none;
  outline: none;
  z-index: -1;
  -webkit-appearance: none;
  width: 40px;
  background: none;
}
.sb-search-input::-webkit-input-placeholder {
  color: #212121;
}
.sb-search-input:-moz-placeholder {
  color: #212121;
}
.sb-search-input::-moz-placeholder {
  color: #212121;
}
.sb-search-input:-ms-input-placeholder {
  color: #212121;
}
.sb-icon-search {
  z-index: 99;
}
.sb-icon-search,
.sb-search-submit,
.sb-search.sb-search-open .sb-search-submit {
  position: absolute;
  cursor: pointer;
  font-size: 1.5em;
  padding: 0 0.2em;
  color: #fff;
}
.sb-search.sb-search-open .sb-search-submit:before {
  content: '\e003';
  font-family: 'Glyphicons Halflings';
}
.sb-icon-search:before,
.sb-search.sb-search-open .sb-icon-search,
.no-js .sb-search .sb-icon-search:before {
  content: '\e003';
  font-family: 'Glyphicons Halflings';
}
.sb-search.sb-search-open .sb-search-input {
  left: 0;
}
/* Open state */
.sb-search.sb-search-open,
.no-js .sb-search {
  width: 100%;
}
.sb-search.sb-search-open .sb-icon-search,
.no-js .sb-search .sb-icon-search {
  color: #ffffff;
  position: absolute;
  /*--w3layouts--*/
  cursor: pointer;
  padding: 0 0.5em;
  top: 0;
  font-size: 1.6em;
}
.sb-search.sb-search-open .sb-search-submit,
.no-js .sb-search .sb-search-submit {
  z-index: 90;
}
.sb-search ::-webkit-input-placeholder {
  color: #fff !important;
}
/*--//search-ends--*/
.bannertext {
  padding-top: 280px;
  color: #fff;
  text-align: center;
}
.bannertext h1 {
  font-size: 85px;
  font-family: 'Lora', serif;
}
.bannertext p {
  width: 25%;
  margin: 30px auto;
  text-align: center;
  line-height: 30px;
  font-size: 14px;
}
a.more {
  padding: 7px 40px;
  color: #fff;
  background-color: #de8797;
  background-color: #f34162;
  font-size: 16px;
  display: inline-block;
  border-radius: 20px;
  margin-right: 15px;
}
a.click {
  padding: 7px 40px;
  color: #000;
  background-color: #fff;
  font-size: 16px;
  display: inline-block;
  border-radius: 20px;
}
a.more:hover {
  color: #fff;
  background-color: #20bbe7;
  /*--agileits--*/
}
a.click:hover {
  color: #fff;
  background-color: #20bbe7;
}
.modal-header {
  border-bottom: none;
}
.modal-body p {
  margin-top: 15px;
  font-size: 14px;
  line-height: 30px;
}
.arrow {
  padding: 100px 0px 50px 0px;
}
.arrow img {
  width: 2%;
}
/*-- //Header --*/

/*-- About --*/
.history {
  background-color: #fff;
  padding: 80px 0px;
  text-align: center;
}
.history h3,
.services h3,
.skills h3,
.gallery h3,
.news h3,
.contact h3 {
  color: #000;
  font-size: 35px;
  margin-bottom: 50px;
  background: url('../images/underline.png') no-repeat 522px 50px;
  padding-bottom: 30px;
}
.history h3 {
  margin-bottom: 30px;
}
.history p {
  width: 60%;
  margin: 0 auto;
  line-height: 30px;
  color: #000;
  font-size: 14px;
}
/*-- //About --*/

/*-- Services --*/
.services {
  padding: 80px 0px;
  /*--w3layouts--*/
  text-align: center;
  background: url('../images/sbgb.jpg') no-repeat 0px 0px;
  background-size: cover;
}
.services h3 {
  color: #fff;
}
.services img {
  width: 10%;
}
.services h4 {
  font-size: 20px;
  color: #fff;
  margin: 15px 0px;
}
.sg1,
.sg2,
.sg3 {
  padding-bottom: 50px;
}
label.whiteline {
  display: block;
  background-color: #fff;
  width: 10%;
  margin: 10px auto;
  height: 3px;
}
.services p {
  font-size: 14px;
  line-height: 30px;
  color: #949292;
}
.services a {
  color: #fff;
  background-color: #000;
  padding: 7px 15px;
  margin-top: 15px;
  display: inline-block;
}
/*-- //Services --*/

/*-- //Gallery--*/
.gallery {
  padding: 80px 0px;
}
.ggrids {
  padding: 0;
}
.gallery-grids {
  margin: 3em 0 0;
}
/*--agileits--*/
.gallery-grid-left1 {
  position: relative;
  overflow: hidden;
}
.gallery-grid-left1 .p-mask,
.row .product .vm-product-media-container .p-mask {
  opacity: 0;
  visibility: hidden;
  background: rgba(32, 187, 231, 0.89);
  bottom: 0%;
  position: absolute;
  padding: 1em;
  width: 100%;
  -webkit-transform: translate3d(0px, 100%, 0px);
  -moz-transform: translate3d(0px, 100%, 0px);
  -ms-transform: translate3d(0px, 100%, 0px);
  -o-transform: translate3d(0px, 100%, 0px);
  transform: translate3d(0px, 100%, 0px);
  -webkit-transition: all 0.5s ease 0s;
  -moz-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
  text-align: left;
}
.gallery-grid-left1 .p-mask .p-desc {
  color: #a3a3a3;
  position: relative;
  display: block;
  margin-bottom: 10px;
  padding-bottom: 10px;
  font-size: 1em;
}
.gallery-grid-left1:hover .p-mask,
.row .product:hover .p-mask {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translate3d(0px, 0px, 0px);
  -moz-transform: translate3d(0px, 0px, 0px);
  -ms-transform: translate3d(0px, 0px, 0px);
  -o-transform: translate3d(0px, 0px, 0px);
  transform: translate3d(0px, 0px, 0px);
}
.p-mask h4 {
  color: #fff;
  font-size: 1.5em;
  text-decoration: none;
  line-height: 1.8em;
}
.p-mask p {
  margin: 0;
  color: #e4e4e4;
  line-height: 1.8em;
  font-size: 14px;
  text-align: center;
}
.gallery-grids1 {
  margin: 3em 0 0;
}
.gallery-grid-left {
  float: left;
  width: 16.66%;
}
.gallery-grids2-left {
  float: left;
  width: 33.33%;
}
.gallery-grid-left1:hover {
  opacity: 0.8;
}
/*-- //Gallery --*/

/*-- News--*/
.news {
  padding: 80px 0px;
  background: url('../images/nbg2.jpg') no-repeat 0px 0px;
  background-size: cover;
}
.news h3 {
  color: #fff;
}
.news h5,
.news h4 {
  color: #fff;
  text-align: left;
  font-size: 18px;
  margin-bottom: 15px;
  line-height: 23px;
}
.newsl img {
  margin: 15px 0px;
}
.news h6 {
  color: #fff;
  text-align: left;
  font-size: 18px;
  margin-top: 30px;
}
.news p {
  font-size: 16px;
  color: #d4cfcf;
  line-height: 32px;
}
.news ul li {
  display: inline-block;
}
.news ul li a {
  padding: 8px 15px;
  background-color: #f34162;
  display: inline-block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 14px;
}
/* --Rectangle In-- */
.hvr-rectangle-in {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  background: rgba(0, 188, 253, 0.63);
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.hvr-rectangle-in:before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #20bbe7;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.hvr-rectangle-in:hover,
.hvr-rectangle-in:focus,
.hvr-rectangle-in:active {
  color: white;
}
.hvr-rectangle-in:hover:before,
.hvr-rectangle-in:focus:before,
.hvr-rectangle-in:active:before {
  -webkit-transform: scale(0);
  transform: scale(0);
}
/*-- //Rectangle-in--*/
a.date {
  display: inline-block;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.23);
  padding: 3px 15px;
  margin-top: 5px;
  font-size: 14px;
}

.newsrtl {
  margin: 10px 0px;
  padding-left: 0;
}
.newsrbl {
  padding-left: 0;
}
/*-- //News--*/

/*-- Contact --*/
.contact {
  padding: 80px 0px;
  background-size: cover;
}

input[type='text'] {
  width: 80%;
  padding: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  background: transparent;
  border: 1px solid #000;
  color: #000;
}
textarea {
  width: 80%;
  padding: 10px;
  font-size: 14px;
  background: transparent;
  border: 1px solid #000;
  color: #000;
  min-height: 170px;
  resize: none;
}
.contact input[type='submit'] {
  margin: 0px 0px;
  padding: 10px 20px;
  background-color: #00beff;
  outline: none;
  color: #fff;
  font-size: 14px;
  border: none;
}
input[type='submit']:hover {
  background-color: #000;
  color: #fff;
}
.contact h4 {
  text-align: left;
  color: #000;
  font-size: 17px;
  margin-bottom: 10px;
  margin-top: 0px;
  font-weight: 700;
}
.contact h5 {
  padding: 0px 0px 5px 0px;
  color: #675f5f;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  line-height: 30px;
}
.contact h5 a {
  color: #a3a9af !important;
}
.contact h5 a:hover {
  color: #000 !important;
}
/*-- //Contact --*/

/*-- Footer --*/
.footer {
  text-align: center;
  padding: 80px 0px;
  background: #20bbe7;
}
.footer h5 {
  color: #000;
  font-size: 18px;
  margin-bottom: 10px;
}
.socialicons ul {
  padding: 0;
}
.socialicons ul li {
  display: inline-block;
}
.socialicons ul li a {
  height: 50px;
  width: 50px;
  background: url('../images/img-sprite.png') no-repeat 0px 0px;
  display: block;
  border: none;
}
.socialicons ul li a.twitter {
  background: url('../images/img-sprite.png') no-repeat -50px 0px;
}
.socialicons ul li a.pinterest {
  background: url('../images/img-sprite.png') no-repeat -100px 0px;
}
.socialicons ul li a.google {
  background: url('../images/img-sprite.png') no-repeat -150px 0px;
}
.socialicons ul li a.linkedin {
  background: url('../images/img-sprite.png') no-repeat -200px 0px;
}
.socialicons ul li a.facebook:hover {
  background: url('../images/img-sprite.png') no-repeat 0px -50px;
}
.socialicons ul li a.twitter:hover {
  background: url('../images/img-sprite.png') no-repeat -50px -50px;
}
.socialicons ul li a.pinterest:hover {
  background: url('../images/img-sprite.png') no-repeat -100px -50px;
}
.socialicons ul li a.google:hover {
  background: url('../images/img-sprite.png') no-repeat -150px -50px;
}

.socialicons ul li a.linkedin:hover {
  background: url('../images/img-sprite.png') no-repeat -200px -50px;
}
.footer h3 {
  color: #000;
  font-size: 20px;
  padding-bottom: 25px;
  font-family: 'Aclonica', sans-serif;
}
.footer h5 {
  color: #000;
  font-size: 16px;
}
label.footerline {
  display: block;
  background-color: #fff;
  width: 13%;
  margin: 10px auto;
  height: 1px;
}
.footer p {
  font-size: 16px;
  color: #000;
}
.footer p a {
  color: #fff;
}
.footer p a:hover {
  color: #000;
}
/*-- //Footer--*/

/*-- to-top --*/
#toTop {
  display: none;
  text-decoration: none;
  position: fixed;
  bottom: 20px;
  right: 2%;
  overflow: hidden;
  z-index: 999;
  width: 32px;
  height: 32px;
  border: none;
  text-indent: 100%;
  background: url(../images/up-arrow.png) no-repeat 0px 0px;
}
#toTopHover {
  width: 32px;
  height: 32px;
  display: block;
  overflow: hidden;
  float: right;
  opacity: 0;
  -moz-opacity: 0;
  filter: alpha(opacity=0);
}
/*-- //to-top --*/

/*-- Responsive --*/
@media (max-width: 1440px) {
  div#navbar {
    margin: 25px 0px 0px 112px;
  }
  .nav > li > a {
    padding: 10px 13px;
  }
  .bannertext {
    padding-top: 191px;
  }
}
@media (max-width: 1366px) {
  div#navbar {
    margin: 25px 0px 0px 128px;
  }
  .nav > li > a {
    padding: 10px 10px;
  }
  .arrow {
    padding: 70px 0px 50px 0px;
  }
}
@media (max-width: 1280px) {
  div#navbar {
    margin: 25px 0px 0px 128px;
    width: 45%;
  }
  .header-search {
    width: 22.5%;
  }
}
@media (max-width: 1080px) {
  div#navbar {
    margin: 25px 0px 0px 65px;
    width: 50%;
  }
  .nav > li > a {
    padding: 10px 8px;
  }
  .header-search {
    width: 22%;
  }
  .sb-search-input {
    font-size: 13px;
  }
  .bannertext p {
    width: 33%;
  }
  .history h3,
  .services h3,
  .skills h3,
  .gallery h3,
  .news h3,
  .contact h3 {
    background: url('../images/underline.png') no-repeat 422px 50px;
  }
  .p-mask h4 {
    font-size: 1.4em;
  }
  .p-mask p {
    line-height: 22px;
    font-size: 13px;
  }
  .newsrt {
    margin-bottom: 30px;
  }
  .newsrtl {
    margin: 0px;
    padding: 0px;
  }
  .news p {
    line-height: 26px;
    font-size: 13px;
  }
  .newsrbl {
    padding: 0px;
  }
}
@media (max-width: 1024px) {
  div#navbar {
    margin: 25px 0px 0px 104px;
    width: 44%;
  }
  .navbar-default .navbar-nav > li > a {
    padding: 10px 8px;
    font-size: 13px;
  }
  .header-search {
    width: 24%;
  }
  .bannertext p {
    width: 35%;
  }
  .history p {
    width: 70%;
  }
  .arrow img {
    width: 3%;
  }
}
@media (max-width: 991px) {
  .logo {
    float: none;
    width: 25%;
    margin: 0 auto;
  }
  div#navbar {
    margin: 25px 0px 0px 18px;
    width: 54%;
    float: none;
  }
  .header-search {
    width: 40%;
  }
  .bannertext h1 {
    font-size: 70px;
  }
  .bannertext p {
    width: 38%;
  }
  .history p {
    width: 93%;
  }
  .history h3,
  .services h3,
  .skills h3,
  .gallery h3,
  .news h3,
  .contact h3 {
    background: url('../images/underline.png') no-repeat 312px 50px;
  }
  .services p {
    font-size: 13px;
    line-height: 27px;
  }
  .gallery-grid-left {
    width: 33.33%;
  }
  .news ul li a {
    padding: 8px 6px;
    margin-bottom: 10px;
    font-size: 13px;
  }
  .news p {
    line-height: 20px;
    font-size: 13px;
  }
}

@media (max-width: 900px) {
  .bannertext p {
    width: 40%;
  }
}
@media (max-width: 800px) {
  .bannertext p {
    width: 45%;
  }
}
@media (max-width: 768px) {
  .bannertext h1 {
    font-size: 60px;
  }
  .bannertext p {
    width: 47%;
  }
  .arrow {
    padding: 50px 0px;
  }
  .arrow img {
    width: 5%;
  }
}
@media (max-width: 736px) {
  .logo {
    float: none;
    width: 30%;
    margin: 0 auto;
  }
  button.navbar-toggle.collapsed {
    float: left;
  }
  .navbar-toggle {
    float: left;
  }
  .header-search {
    width: 35%;
    float: right;
    top: -27px;
  }
  .navbar-nav {
    margin: 0;
  }
  div#navbar {
    position: absolute;
    background-color: rgba(32, 187, 231, 0.73);
    text-align: center;
    width: 91%;
    margin-top: 50px;
  }
  .top {
    padding-bottom: 10px;
  }
  .bannertext {
    padding-top: 170px;
  }
  .bannertext p {
    width: 50%;
    margin: 20px auto;
  }
  .arrow {
    padding: 30px 0px 30px 0px;
  }
  .history h3,
  .services h3,
  .skills h3,
  .gallery h3,
  .news h3,
  .contact h3 {
    background: url('../images/underline.png') no-repeat 297px 50px;
  }
  .history {
    padding: 50px 0px;
  }
  .history p {
    width: 96%;
  }
  .services {
    padding: 50px 0px;
  }
  .gallery {
    padding: 50px 0px;
  }
  .news {
    padding: 50px 0px;
  }
  .contact {
    padding: 50px 0px;
  }
  .footer {
    padding: 50px 0px;
  }
  .services h4 {
    font-size: 18px;
  }
  .sg1,
  .sg2,
  .sg3,
  .sg4,
  .sg5,
  .sg6 {
    width: 33.33%;
    float: left;
  }
  .newsl {
    width: 50%;
    float: left;
  }
  .newsr {
    width: 50%;
    float: left;
  }
  .newsrtl {
    width: 40%;
    float: left;
  }
  .newsrtr {
    width: 60%;
    float: left;
  }
  .newsrbl {
    width: 40%;
    float: left;
  }
  .newsrbr {
    width: 60%;
    float: left;
  }
  input[type='text'] {
    width: 100%;
  }
  textarea {
    width: 100%;
  }
  .cr {
    margin-top: 20px;
  }
}
@media (max-width: 667px) {
  div#navbar {
    width: 90%;
  }
  .bannertext p {
    width: 54%;
  }
  .history {
    padding: 35px 0px;
  }
  .history p {
    width: 98%;
    font-size: 13px;
  }
  .services {
    padding: 35px 0px;
  }
  .services h3 {
    margin-bottom: 30px;
  }
  .gallery {
    padding: 35px 0px;
  }
  .news {
    padding: 35px 0px;
  }
  .contact {
    padding: 35px 0px;
  }
  .footer {
    padding: 35px 0px;
  }
  .history h3,
  .services h3,
  .skills h3,
  .gallery h3,
  .news h3,
  .contact h3 {
    background: url('../images/underline.png') no-repeat 264px 50px;
    font-size: 30px;
    padding-bottom: 34px;
  }
  .services h4 {
    font-size: 16px;
  }
  .services img {
    width: 14%;
  }
  .newsl {
    width: 100%;
  }
  .newsr {
    width: 100%;
    margin-top: 20px;
  }
  .newsrtl {
    width: 20%;
    float: left;
  }
  .newsrbl {
    width: 20%;
    float: left;
  }
  .newsr h6 {
    margin-bottom: 15px;
  }
  .news p {
    line-height: 27px;
    font-size: 14px;
  }
  .newsrtr {
    width: 80%;
    float: left;
  }
  .newsrbr {
    width: 80%;
    float: left;
  }
}
@media (max-width: 640px) {
  .header-search {
    width: 39%;
  }
  .bannertext p {
    width: 56%;
  }
  .history h3,
  .services h3,
  .skills h3,
  .gallery h3,
  .news h3,
  .contact h3 {
    background: url('../images/underline.png') no-repeat 249px 50px;
  }
}
@media (max-width: 600px) {
  .header-search {
    width: 41%;
  }
  .bannertext p {
    width: 60%;
  }

  .sg1,
  .sg2,
  .sg3,
  .sg4,
  .sg5,
  .sg6 {
    width: 50%;
    float: left;
  }
  .sg1,
  .sg2,
  .sg3,
  .sg4 {
    padding-bottom: 35px;
  }
  .history h3,
  .services h3,
  .skills h3,
  .gallery h3,
  .news h3,
  .contact h3 {
    background: url('../images/underline.png') no-repeat 228px 50px;
  }
}
@media (max-width: 568px) {
  div#navbar {
    width: 85%;
    margin: 50px 0px 0px 30px;
  }
  .history h3,
  .services h3,
  .skills h3,
  .gallery h3,
  .news h3,
  .contact h3 {
    background: url('../images/underline.png') no-repeat 212px 50px;
  }
  .sg1,
  .sg2,
  .sg3,
  .sg4,
  .sg5,
  .sg6 {
    width: 50%;
  }
  .header-search {
    width: 50%;
  }
}
@media (max-width: 480px) {
  div#navbar {
    width: 80%;
    margin: 50px 0px 0px 30px;
  }
  .history h3,
  .services h3,
  .skills h3,
  .gallery h3,
  .news h3,
  .contact h3 {
    background: url('../images/underline.png') no-repeat 165px 50px;
  }
  .news h5,
  .news h4,
  .news h6 {
    font-size: 17px;
  }
  .news p {
    line-height: 23px;
    font-size: 13px;
  }
  .newsrtr {
    padding: 0px 0px 0px 5px;
  }
  .newsrbr {
    padding: 0px 0px 0px 5px;
  }
}
@media (max-width: 414px) {
  .logo {
    width: 49%;
  }
  .header-search {
    width: 62%;
  }
  div#navbar {
    margin: 50px 0px 0px 24px;
  }
  .bannertext p {
    width: 69%;
  }
  .arrow img {
    width: 9%;
  }
  .history p {
    width: 100%;
    margin: 0 auto;
    line-height: 25px;
    color: #000;
    font-size: 13px;
  }
  .history h3,
  .services h3,
  .skills h3,
  .gallery h3,
  .news h3,
  .contact h3 {
    background: url('../images/underline.png') no-repeat 137px 50px;
  }
  .sg1,
  .sg2,
  .sg3,
  .sg4,
  .sg5,
  .sg6 {
    width: 100%;
    padding-bottom: 20px;
  }
  .gallery-grid-left {
    width: 50%;
  }
  .news h5,
  .news h4,
  .news h6 {
    font-size: 14px;
    margin-bottom: 5px;
  }
  a.date {
    font-size: 12px;
  }
  .footer p {
    font-size: 14px;
  }
}
@media (max-width: 375px) {
  .logo {
    width: 55%;
  }
  .header-search {
    width: 69%;
  }
  div#navbar {
    margin: 50px 0px 0px 20px;
  }
  .bannertext p {
    width: 76%;
  }
  a.more {
    padding: 7px 35px;
    font-size: 14px;
  }
  a.click {
    padding: 7px 35px;
    font-size: 14px;
  }
  .history h3,
  .services h3,
  .skills h3,
  .gallery h3,
  .news h3,
  .contact h3 {
    background: url('../images/underline.png') no-repeat 120px 50px;
    margin-bottom: 30px;
  }
}
@media (max-width: 320px) {
  .logo {
    width: 66%;
  }
  .logo a h2 {
    margin-top: 25px;
  }
  .header-search {
    width: 78%;
  }
  div#navbar {
    margin: 50px 0px 0px 16px;
  }
  .bannertext h1 {
    font-size: 50px;
  }
  .bannertext {
    padding-top: 143px;
  }
  .bannertext p {
    width: 91%;
    margin: 15px auto;
    font-size: 13px;
  }

  .history h3,
  .services h3,
  .skills h3,
  .gallery h3,
  .news h3,
  .contact h3 {
    background: url('../images/underline.png') no-repeat 90px 50px;
  }
  .modal-body p {
    margin-top: 10px;
    font-size: 13px;
    line-height: 26px;
  }
  .gallery-grid-left {
    width: 50%;
  }
  .p-mask h4 {
    font-size: 1.2em;
  }
  .newsrtl {
    width: 35%;
  }
  .newsrbl {
    width: 35%;
  }
  .newsrtr {
    width: 100%;
  }
  .newsrbr {
    width: 100%;
  }
  .footer p {
    line-height: 23px;
  }
}
