body {
  max-width: 100%;
  height: auto;
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
  color: #313438;
  background: #f2f2f2;
}

h1, h2, h3, h4, h5, h6, p, ul, ol {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

.form-control:focus {
  box-shadow: none!important;
  outline: 0;
}

.pr {
  position: relative;
}

.pad0 {
  padding: 0;
}

.margin0 {
  margin: 0;
}

a, .btn {
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
}

*:focus {
  outline: 0 none!important;
}

a:hover {
  text-decoration: none;
}

.clearfix {
  clear: both;
}

.mt40 {
  margin-top: 40px;
}

.mt30 {
  margin-top: 30px;
}

.mt5 {
  margin-top: 5px;
}

.mt15 {
  margin-top: 15px;
}

.mb15 {
  margin-bottom: 15px;
}

img {
  max-width: 100%;
  vertical-align: middle;
  display: inline-block;
}

/*header*/

h1, h2, h3, h4, h5, h6, a {
  color: #2c2b2e;
}

h1 {
  line-height: 48px;
  font-size: 36px;
}

h2 {
  line-height: 36px;
  font-size: 24px;
}

h3 {
  line-height: 30px;
  font-size: 21px;
}

h4 {
  line-height: 22px;
  font-size: 18px;
}

h5 {
  line-height: 18px;
  font-size: 16px;
  font-weight: 400;
}

h6 {
  line-height: 16px;
  font-size: 14px;
  font-weight: 400;
}

.title2 {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  position: relative;
  display: inline-block;
  margin: 0 auto;
  color: #fff;
  min-width: 210px;
  background: linear-gradient(to right, #ffb400 0%, #ff7e00 100%);
  border-radius: 0 0 6px 6px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 10px 8px;
}

.bg-dark {
  background-color: #fff !important;
  border-bottom: 1px solid #e1e1e1;
  -webkit-box-shadow: 1px 0px 20px #0000001a;
  box-shadow: 1px 0px 20px #0000001a;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: #fff url(../img/abstract.png) top no-repeat;
  background-size: cover;
  -webkit-box-shadow: 1px 0px 20px rgba(0, 0, 0, 0.25);
  box-shadow: 1px 0px 20px rgba(0, 0, 0, 0.25);
}

.blueshade {
  box-shadow: 0 5px 0 0 #0969df inset
}

#topnav {
  /*background-color: #0072ff;*/
  background: linear-gradient(45deg, rgb(185, 193, 27), rgb(69, 182, 73));
  height: 40px;
  position: relative;
}

#topnav .nav-item a {
  color: #fff;
}

#topnav .nav-item a:hover {
  opacity: .85;
}

#topnav .nav-item.font-selection a {
  display: inline-block;
  height: 26px;
  width: 26px;
  line-height: 26px!important;
  text-align: center;
  font-size: 13px;
  position: relative;
  top: 5px;
  padding: 0 !important;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.51);
}

.theme-btn {
  height: 18px;
  width: 18px;
  display: inline-block;
  position: relative;
  top: 6px;
  border-radius: 50%;
  padding: 0 !important;
}

.bg-black {
  background: #000;
}

.bg-regular {
  background: #d2d2d2;
}

#topnav.navbar-light .navbar-nav>li>a, #topnav.navbar-light .navbar-nav li p {
  padding: 12px 10px;
  font-size: 14px;
  /*color:#ececec;*/
  line-height: 1;
}

#topnav.navbar-light .navbar-nav>li>a:hover {
  background: rgba(21, 21, 21, 0.08);
}

#topnav .form-control {
  padding-left: 15px;
  margin-left: 5px;
  max-width: 150px;
  letter-spacing: 1px;
}

.btn-login {
  padding: 5px 10px;
  font-size: 14px;
  background: #f7f047;
  border: 0;
  font-weight: 600;
  color: #510e12;
}

.btn-login:hover {
  opacity: .9;
  color: #fff!important;
  background: #03714f;
}

#topnav .dropdown-toggle::after {
  display: none;
}

#navigation {
  background: #202529;
  padding-top: 0;
  padding-bottom: 0;
}

#navigation .navbar-nav>li>a {
    font-size: 86%;
    padding: 15px 12px 15px 18px;
    border-radius: 4px;
    display: block;
    font-weight: 600;
    text-transform: uppercase;
    color: #dcdcdc;
    position: relative;
}

#navigation .navbar-nav>li>a::before {
  position: absolute;
  content: '\f6f7';
  left: 0;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 16px;
  font-family: "Material Design Icons";
  color: #82c559;
  font-size: 15px;
  font-weight: 400;
}

#navigation .navbar-nav>li:last-child>ul {
  right: 0;
  left: auto;
}

#navigation .navbar-nav li a i {
  margin-right: 5px;
  height: 30px;
  width: 30px;
  text-align: center;
  line-height: 30px;
  background: #efefef;
  border-radius: 50%;
  color: #504f63;
  font-size: 21px;
  display: inline-block;
}

#navigation .navbar-nav>li>a:hover {
  color: #82c559;
  background: transparent;
}

header .navbar-nav .dropdown-menu li a {
  display: block;
  color: #2F2E37;
  font-size: .8rem;
  padding: 8px 15px;
  min-width: 248px;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid #eee;
  position: relative;
}

header #topnav .navbar-nav .dropdown-menu li a::before {
  position: absolute;
  content: '\f046';
  font-family: fontawesome;
  top: 10px;
  left: 15px;
  color: rgb(46, 44, 67);
  font-weight: 400;
}

header #topnav .navbar-nav .dropdown-menu li a {
  width: 280px;
  white-space: normal;
  position: relative;
  padding-left: 35px;
}

header.navbar-nav>.dropdown-menu>li:last-child a {
  border-bottom: 0;
}

header .dropdown-menu li a:hover, header.dropdown-menu li a:focus {
  background: #f9f9f9;
  color: #03714f;
}

.navbar-toggler {
  height: 40px;
  border: 0;
}

.holder {
  position: absolute;
  color: #fff;
  z-index: 9;
  bottom: -1px;
  background: rgba(0, 0, 0, 0.64);
  right: 0;
  left: 0;
}

.news-title {
  height: 40px;
  position: relative;
}
.news-title img{
  position: relative;
  top: -10px;
}

.ticker-controls .fa {
  height: 40px;
  display: inline-block;
  width: 30px;
  background: #82c559;
  line-height: 40px;
  text-align: center;
  color: #000;
  font-size: 20px;
  cursor: pointer;
}

.news-arrow i:hover {
  opacity: .8;
}

.newsticker-top li a {
  color: #fff;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
  letter-spacing: .6px;
}

.news-arrow i:hover {
  opacity: .8;
}

.news-list {
  width: calc(100% - 50px);
}

#topnav .float-left li a {
  border: 1px solid #dcdcdc;
  display: inline-block;
  height: 28px;
  width: 28px;
  line-height: 28px;
  text-align: center;
  color: #2c2b2e;
  font-weight: 600;
  font-size: 13px;
  background: #fff;
}

#topnav ul li {
  display: inline-block;
  padding-right: 5px;
}

.news-box .news-list a {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/*banner*/

.home-fixed-slider {
  position: relative;
  background: #000;
}

.main-slider .item img {
  height: 60vh;
  width: 100%;
  object-fit: cover;
}

.owl-dots {
  position: absolute;
  width: 100%;
  bottom: 38px;
}

/*partners*/

.img-box {
  height: 95px;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  display: flex;
  display: -ms-flexbox;
  padding: 12px;
  border: 1px dotted #e3e3e3;
  margin: 20px 4px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
}

.img-box img {
  max-width: 100%;
  max-height: 100%;
  width: auto!important;
  transition: all .4s ease;
  -webkit-transition: all .4s ease;
}

.img-box:hover img {
  animation: pulse 1s infinite;
  filter: grayscale(0);
}

/*footer*/

.footer {
  background: #fff url(../img/abstract.png) top no-repeat;
  background-size: cover;
  padding: 20px 0 0;
  position: relative;
  border-top: 1px solid #ccc;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  background-image: url(../img/footer-texture.png);
  background-repeat: no-repeat;
  height: 100%;
  width: 100%;
  opacity: .4;
  top: 40px;
}

.footer-bottom {
  padding: 10px 0;
  color: #fff;
  background: #510e12;
  position: relative;
}

.footer-links li {
  width: 33%;
}

.footer-links li a {
  padding-left: 20px;
  color: #000;
  font-size: 14px;
  position: relative;
  margin-bottom: 8px;
  display: inline-block;
}

.footer-links li a::before {
  left: 0;
  position: absolute;
  content: '\f101';
  font-family: 'Fontawesome';
  color: #000;
}

.footer-links li a:hover, .event-text a:hover {
  text-decoration: underline;
}

.back-top {
  position: absolute;
  display: inline-block;
  bottom: 22px;
  left: calc(50% - 20px);
  height: 36px;
  width: 40px;
  border-radius: 50%;
  z-index: 1;
  background: #510e12;
  color: #fff;
  text-align: center;
  line-height: 30px;
  font-size: 22px;
  transition: all .3s ease;
}

.back-top:hover {
  margin-bottom: 3px;
  color: #fff;
}

.update-info {
  display: inline-block;
  padding: 8px 15px;
  position: relative;
  top: -20px;
  background-image: linear-gradient(45deg, #b9c11b, #f7f047);
  color: #000;
  border-radius: 0 0 6px 6px;
}

.fixed-social {
    position: fixed;
    z-index: 9999;
    right: 0;
    top: 35%;
}

.f-social li a {
  display: inline-block;
  height: 32px;
  width: 32px;
  padding: 0;
  padding-left: 6px;
  font-size: 15px;
  text-align: center;
  line-height: 30px;
  color: #510e12;
  border-radius: 50% 0 0 50%;
  box-shadow: 0 0 10px #0000001a;
  background: #f7f047;
  margin-bottom: 6px;
}

.f-social li a:hover {
  opacity: .6;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu>.dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: 0;
  margin-left: -1px;
  -webkit-border-radius: 0 6px 6px 6px;
  -moz-border-radius: 0 6px 6px;
  border-radius: 0 6px 6px 6px;
}

.dropdown-submenu>a:after {
  display: block;
  content: "\f101";
  font-family: fontawesome;
  border: 0;
  font-weight: 400;
  top: calc(50% - 10px);
  position: absolute;
  right: 15px;
}

.dropdown-submenu.pull-left {
  float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
  left: -100%;
  margin-left: 10px;
  -webkit-border-radius: 6px 0 6px 6px;
  -moz-border-radius: 6px 0 6px 6px;
  border-radius: 6px 0 6px 6px;
}

.main {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.main-content {
  flex: 1;
}

.logo-holder {
  font-size: .9em;
  position: relative;
  z-index: 10;
  padding-right: 8px;
  display: flex;
  align-items: center;
}

.logo-title {
  margin-left: 10px;
}

.logo-title h1 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.logo-title p {
  font-size: .9rem;
}

.logo {
  border-right: 1px solid #dedede;
  padding-right: 12px;
}

.logo img {
  max-width: 220px;
}

.logo2 img {
  max-height: 90px;
}

.cm-corner {
  height: 100%;
  background: #e6e6e6 url("../img/texture.png") no-repeat scroll top left;
  border: 1px solid #eee;
}

.cm-detail {
  position: relative;
  background: linear-gradient(to right, #fff 0%, #ededed 100%);
  padding: 20px 0 20px 20px;
  color: #000;
  line-height: 1.6;
  display: flex;
  font-style: italic;
  flex-direction: column;
  justify-content: flex-end;
}

.cm-detail:before {
  color: #555;
  content: "\f756";
  font-family: Material Design Icons;
  ;
  font-size: 15rem;
  left: 20px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  left: 0;
  right: 0;
  opacity: 0.10;
  font-style: normal;
}

.img-holder img {
  height: 100%;
  object-fit: cover;
}

.navbar-light .navbar-toggler {
  color: #fff;
  outline: 0 none;
}

/*about*/

.sec-pad {
  padding: 40px 0;
}

.about {
  background: #fff;
  line-height: 2;
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  background: transparent url(../img/effect2.svg) no-repeat right;
  top: -50%;
  right: 15px;
  height: 100%;
  width: 160px;
}

.title {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 25px;
  font-size: 22px;
  color: #000;
  font-weight: 600;
}

.title::before {
  position: absolute;
  content: '';
  height: 6px;
  width: 50px;
  background: #67bb33;
  top: 100%;
  left: 0;
}

.title::after {
  position: absolute;
  content: '';
  height: 2px;
  width: 100px;
  background: #ddd;
  top: 100%;
  margin-top: 2px;
  left: 50px;
}

.count {
  background: #fff;
  padding: 0 0 40px;
}

.count-box {
  background: #f2f2f2;
  text-align: center;
  padding: 20px;
  height: 100%;
  position: relative;
}

.count-box h3 {
  line-height: 30px;
  font-size: 24px;
  font-weight: 700;
  position: relative;
}

.count-box i {
  font-size: 2.5rem;
  position: absolute;
  top: -37px;
  height: 70px;
  width: 76px;
  background: #f2f2f2;
  border-radius: 50% 50% 0 0;
  left: calc(50% - 38px);
}

.count-txt {
  font-weight: 600;
  text-transform: capitalize;
  margin-top: 8px;
}

.count .col-md-3:nth-child(1) i , .count .col-md-3:nth-child(7) i{
  color: #82c559;
}

.count .col-md-3:nth-child(2) i , .count .col-md-3:nth-child(8) i{
  color: #d9d006;
}

.count .col-md-3:nth-child(3) i, .count .col-md-3:nth-child(5) i {
  color: #03714f;
}

.count .col-md-3:nth-child(4) i, .count .col-md-3:nth-child(6) i {
  color: #510e12;
}

/*logo ticker*/

.logoticker li {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
  height: 115px;
  border-bottom: 1px dashed #b9b9b9;
}

.logoticker img {
  height: 85px;
  max-width: 100%;
}

.bg-gray {
  background: #e5e5e5;
}

.logo-arrow i {
  height: 25px;
  width: 25px;
  border-radius: 50%;
  background: #67bb33;
  text-align: center;
  line-height: 25px;
  position: relative;
  top: -10px;
  color: #fff;
}

.news-arrow i {
  height: 25px;
  width: 25px;
  border-radius: 50%;
  background: #eee;
  text-align: center;
  line-height: 25px;
  color: #000;
}

.owl-carousel .owl-nav button.owl-prev, .owl-carousel .owl-nav button.owl-next {
  position: absolute;
  top: calc(50% - 15px);
  height: 30px;
  width: 30px;
  background: #82c559;
  color: #fff;
  border-radius: 50px;
  border: 2px solid #fff;
  margin: 0;
}

.owl-prev {
  left: -20px;
}

.owl-next {
  right: -20px;
}
.main-slider .owl-prev{
  left: 5px;
}
.main-slider .owl-next {
  right: 5px;
}
.logo-slider .owl-prev {
  left: -12px;
}

.logo-slider .owl-next {
  right: -12px;
}

.r-col {
  background: #f7f7f7;
  position: relative;
}

.r-col::before {
  content: '';
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  background: #f7f7f7;
}

/*testimonial*/

.slider-container {
  position: relative;
  display: block;
  margin-top: 30px;
}

.slider-container .item {
  padding: 10px;
}

.thumbimg {
  position: relative;
}

.thumbimg:before {
  content: '';
  position: absolute;
  height: 220px;
  width: 50px;
  background: #f7f047;
  top: -10px;
  z-index: 1;
  left: 5px;
}

.slider-container .slider .content img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  z-index: 2;
  position: relative;
}
.thumbnail-slider .content:hover img {
  border-color: #82c559;
  cursor: pointer;
}
.slider-container .slider-controls a {
  position: absolute;
  top: 45%;
  z-index: 100;
  color: #333333;
}

.slider-container .slider-controls a.slider-left {
  left: -25px;
}

.slider-container .slider-controls a.slider-right {
  right: -25px;
}

.thumbnail-slider-container {
  margin-top: 5px;
}

.thumbnail-slider .content {
  padding: 5px;
}

.thumbnail-slider .owl-item.active.center {
  border: 3px solid #333333;
}

.thumbnail-slider-container img {
  height: 125px;
  object-fit: cover;
  background: #fff;
  padding: 8px;
  border: 1px solid #ddd;
}

.caption {
  font-size: 16px;
  font-style: italic;
  position: relative;
  padding-top: 40px;
}

.caption::before {
  position: absolute;
  content: '';
  width: 100px;
  height: 1px;
  border-top: 1px solid #d8d8d8;
  top: 15px;
  left: 32px;
}

.caption::after {
  content: '\f756';
  font-family: Material Design Icons;
  font-size: 27px;
  position: absolute;
  top: 0;
  font-style: normal;
  color: #ab4500;
  background: #fff3c2;
  border-radius: 50%;
  height: 32px;
  width: 32px;
  line-height: 32px;
  display: inline-block;
  text-align: center;
  left: 0;
}

.name {
  display: block;
  font-weight: 600;
  color: #03714f;
  margin-top: 15px;
}

/*projects*/

.projects {
  background: #fff;
  overflow: hidden;
  border-bottom: 1px solid #e4e4e4;
}

.projects h4 {
  color: #03714f;
  font-weight: 600;
  margin-bottom: 10px;
}

.pro-item {
  overflow: hidden;
  position: relative;
  text-align: center;
  margin: 5px;
  box-shadow: 0 0 0px 1px #ddd;
  display: block;
}

.pro-item:before {
  /*background: transparent;*/
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
  opacity: 0;
  background: rgba(0, 0, 0, 0.63);
}

.pro-item>img, .pro-item:before, .gallery-item img {
  transition: all .3s linear;
}

.pro-item:hover:before {
  opacity: .85;
}

.pro-item:hover .pro-detail h3 {
  opacity: 1;
}

.pro-item>img {
  width: 100%;
  z-index: -1;
  height: 280px;
  object-fit: cover;
}

.pro-item:hover>img, .gallery-item:hover img {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}

.pro-detail {
  left: 0;
  padding: 0 30px;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 100%;
  z-index: 2;
}

.pro-detail h3 {
  position: relative;
  color: #fff;
  font-size: 16px;
  width: 100%;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.6;
  padding-bottom: 6px;
  opacity: 0;
  transition: all .2s ease;
}

.pro-detail h3::after {
  content: '';
  height: 3px;
  width: 28px;
  background: #fff;
  position: absolute;
  top: 100%;
  left: calc(50% - 14px);
}

.pro-detail .btn {
  display: inline-block;
  margin-top: 0;
  opacity: 0;
  padding: 0;
  font-size: 30px;
  color: #fff;
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -ms-transform: scale(0);
  -o-transform: scale(0);
  transform: scale(0);
}

.pro-detail .btn:hover {
  color: #82c559;
}

.pro-item:hover .pro-detail .btn {
  margin-top: 15px;
  opacity: 1;
  padding: 6px 10px;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}

.btn-main {
  color: #fff;
  background-color: #0072ff;
  border-color: transparent;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  position: relative;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

.btn-main:hover {
  color: #fff;
  border-color: #333;
}

.btn-main:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #333;
  -webkit-transform: scaleY(0);
  transform: scaleY(0);
  -webkit-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
  -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;
}

.btn-main:hover::before, .btn-main:focus::before, .btn-main:active::before {
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
}

/*graphs*/

select.form-control {
  background: #fff url(../img/custom-select.png) right 0.75rem center no-repeat;
  -moz-appearance: none;
  appearance: none;
}

.form-control {
  font-size: 14px;
  border: 0;
}

.shadow-box {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.04);
}

.well {
  position: relative;
  background: linear-gradient(to right, #f9e4e9 0%, #eeeef8 100%);
  padding: 20px 20px 0px;
  border-bottom: 0;
  margin-top: 3em;
}

.well>i {
  position: absolute;
  height: 90px;
  width: 90px;
  display: inline-block;
  z-index: 1;
  text-align: center;
  font-size: 32px;
  background: #eaebef;
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
  top: -45px;
  border: 8px solid #fff;
  line-height: 75px;
  color: #424854;
}

.well ul li span {
  font-size: 16px;
  font-weight: 600;
  display: block;
  color: #2c2b2e;
  padding: 2px 0 4px;
}

.gr-pad {
  padding: 20px;
  border-top: 0;
  background: #fff;
}

/*gallery*/

.button {
  display: inline-block;
  padding: 8px 15px;
  margin-bottom: 10px;
  background: #EEE;
  border: none;
  border-radius: 7px;
  background-image: linear-gradient( to bottom, hsla(0, 0%, 0%, 0), hsla(0, 0%, 0%, 0.2));
  color: #222;
  font-size: 14px;
  cursor: pointer;
}

.button:hover {
  background-color: #8CF;
  color: #222;
}

.button:active, .button.is-checked {
  background-color: #28F;
}

.button.is-checked {
  color: white;
}

.button:active {
  box-shadow: inset 0 1px 10px hsla(0, 0%, 0%, 0.8);
}

.button-group:after {
  content: '';
  display: block;
  clear: both;
}

.button-group .button {
  float: left;
  border-radius: 0;
  margin-left: 0;
  margin-right: 1px;
}

.button-group .button:first-child {
  border-radius: 0.5em 0 0 0.5em;
}

.button-group .button:last-child {
  border-radius: 0 0.5em 0.5em 0;
}

.grid:after {
  content: '';
  display: block;
  clear: both;
}

.element-item {
  position: relative;
  float: left;
  width: calc(25% - 6px);
  height: 190px;
  margin: 3px;
}

.element-item>* {
  margin: 0;
  padding: 0;
}

.gallery {
  /*background: #f4f4f4;*/
  border-top: 1px solid #e7e7e7;
}

.gallery-item {
  position: relative;
  background: #fff;
  border: 2px solid #fff;
  overflow: hidden;
}

.gallery-item:before {
  content: '';
  position: absolute;
  height: 100%;
  width: 100%;
  background: linear-gradient(to right, #0072ff 0%, #43008f 100%);
  opacity: 0;
  z-index: 1;
  transition: all .3s ease;
  -webkit-transition: all .3s ease;
}

.gallery-item:hover::before {
  opacity: .7;
}

.gallery-overlay {
  position: absolute;
  width: 80%;
  height: 80%;
  left: 10%;
  top: 10%;
  z-index: 2;
  font-size: 3rem;
  color: #fff;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.41);
  border-top: 1px solid rgba(255, 255, 255, 0.41);
  transition: opacity .35s, transform .35s;
  -webkit-transform: scale(0, 1);
  transform: scale(0, 1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}

.gallery-item .gallery-img img {
  height: 190px;
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/*events*/

.background1 {
  background: transparent url(../img/bg1.jpg) no-repeat center;
  background-size: cover;
  padding: 20px 25px 20px 7%;
  position: relative;
  color: #fff;
  line-height: 1.8;
}

.background1:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #03714f;
  opacity: .85;
}

.background2:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #62a937;
  opacity: .9;
}

.background2 {
  background: transparent url(../img/bg2.jpg) no-repeat center;
  background-size: cover;
  padding: 20px 7% 20px 25px;
  position: relative;
  color: #fff;
}

.event-date {
  width: 65px;
  text-align: center;
  background: #fff;
  color: #000;
  font-size: 19px;
  margin-right: 15px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  height: 60px;
  padding-top: 6px;
}

.event-date small {
  font-size: 13px;
  font-weight: 600;
  background: #510e12;
  width: 65px;
  color: #fff;
  padding: 1px 0;
}

.event-box {
  margin-bottom: 10px;
}

.event-text p {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 15px;
}

.event-text a {
  color: #fff;
  font-weight: 600;
}

.events .title i {
  height: 35px;
  width: 35px;
  background: #0000001a;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  line-height: 35px;
  margin-right: 4px;
}

.title.text-white::before {
  background: #fff;
}

/*inner pages*/

.innerbg {
  background: transparent url(../img/bg2.jpg) 100% no-repeat;
  background-size: cover;
  position: relative;
  display: table;
  width: 100%;
  height: 170px;
}

.innerbg:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  background: rgba(54, 54, 54, 0.46);
  z-index: 1;
}

.titlediv {
  display: table-cell;
  width: 100%;
  z-index: 10;
  vertical-align: middle;
}

.inner-heading {
  border-left: 5px solid #fab702;
  padding: 10px 10px 10px 20px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
  display: inline-block;
  min-width: 30%;
}

.inner-heading h2, .inner-heading a {
  color: #fff;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.cm-quote h2 {
  color: rgb(210, 0, 47);
  font-weight: 600;
  font-size: 18px;
}

.cm-quote h2 small {
  display: block;
  line-height: 1;
}

@media (min-width: 768px) {
  header .dropdown>.dropdown-menu {
    top: 100%;
    margin-top: -1px;
  }
  header .dropdown-menu {
    display: block;
    padding: 0;
    opacity: 0;
    border: 0;
    border-radius: 4px;
    padding: 3px 0;
    box-shadow: 0 5px 11px rgba(0, 0, 0, 0.09);
    -o-transform-origin: 0% 0%;
    -ms-transform-origin: 0% 0%;
    -moz-transform-origin: 0% 0%;
    -webkit-transform-origin: 0% 0%;
    -o-transition: -o-transform 0.5s, opacity 0.4s;
    -ms-transition: -ms-transform 0.5s, opacity 0.4s;
    -moz-transition: -moz-transform 0.5s, opacity 0.4s;
    -webkit-transition: -webkit-transform 0.5s, opacity 0.4s;
    transform-style: preserve-3d;
    -o-transform: preserve-3d;
    -moz-transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    transform: rotateX(-90deg);
    -o-transform: rotateX(-90deg);
    -moz-transform: rotateX(-90deg);
    -webkit-transform: rotateX(-90deg);
  }
  header .dropdown:hover>.dropdown-menu, header .dropdown-submenu:hover>.dropdown-menu {
    opacity: 1;
    z-index: 10;
    transform: rotateX(0deg);
    -o-transform: rotateX(0deg);
    -moz-transform: rotateX(0deg);
    -webkit-transform: rotateX(0deg);
  }
  .dropdown-submenu:hover>.dropdown-menu {
    display: block;
  }
  .affix .logo img {
    max-width: 130px;
  }
  .affix .logo-title h1 {
    font-size: 15px;
  }
  .affix .logo2 img {
    max-height: 50px;
  }
}

.logo img, .logo-title h1, .logo2 img {
  transition: all .3s ease;
}

/*responsive*/

@media (min-width: 1600px) {
  .main-slider .item img {
    height: 55vh;
  }
}

@media (max-width: 991px) {
  .heading {
    font-size: 20px;
  }
  .container {
    max-width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  #navigation .navbar-nav li a {
    font-size: 12px;
    padding: 15px 5px;
  }
  #topnav.navbar-light .navbar-nav li a {
    padding: 12px 6px;
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .container {
    max-width: 100%;
  }
  #topnav .navbar-collapse {
    background: #24232F;
    z-index: 9999;
  }
  #navigation .navbar-nav>li>a {
    padding: 6px 10px 6px 25px;
  }
  #navigation .navbar-nav>li>a:hover {
    color: #fff;
    box-shadow: none;
    background: transparent;
  }
  #navigation .navbar-nav li a i {
    background: #343341;
    color: #cacaca;
    font-size: 18px;
  }
  header {
    position: relative;
  }
  body {
    padding-top: 0!important;
  }
  header .dropdown-menu {
    background-color: #2E2C43;
  }
  header .navbar-nav .dropdown-menu li a {
    color: #cacaca;
    border-bottom: 0;
  }
  header .dropdown-menu li a:hover, header.dropdown-menu li a:focus {
    background: #37354f;
  }
  .cm-corner img {
    max-height: 40px;
  }
  .cm-detail {
    padding: 6px;
    line-height: 1.3;
    font-size: 12px;
  }
  .business {
    height: auto;
  }
}

@media (max-width: 576px) {
  .sec-pad {
    padding: 30px 0;
  }
  .pro-item {
    margin: 0;
  }
  .icobox {
    width: 100%;
  }
  .left-col .btn {
    float: right;
    margin-bottom: 20px;
  }
  .main-slider .item img {
    height: 250px;
  }
  .titlediv h1 {
    font-size: 28px;
  }
  .section-title {
    font-size: 20px;
  }
  .logo-title {
    margin-top: 6px;
  }
  .logo-title h1 {
    font-size: 12px;
  }
  .logo-title p {
    font-size: 11px;
  }
  .logo img {
    max-width: initial;
    max-height: 55px;
  }
  .logo-right img {
    max-width: 30px;
  }
  .logo-slider .slick-next {
    right: 0;
  }
  .logo-slider .slick-prev {
    left: 0;
  }
  .f-social {
    justify-content: center;
  }
  .footer-bottom .col-sm-6+.col-sm-6 {
    text-align: center!important;
  }
  .footer .col-sm-2 {
    text-align: center!important;
    margin-bottom: 15px;
  }
  .logo-holder {
    flex-wrap: wrap;
  }
  .logo-title p {
    display: none;
  }
  .holder{position: relative;}
}
.content-box {
    background: #fff;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.11);
    margin-bottom: 10px;
}
.breadcrumb {
    background-color: transparent;
    border-radius: 0;
    font-size: 14px;
    margin: 0;
    padding: 15px 0;
    font-weight: 600;
}
.pagination {
 display:inline-block;
 padding-left:0;
 margin:20px 0;
 border-radius:4px
}
.pagination>li {
 display:inline
}
     .btn-primary {
    
    color: #fff!important;}
.pagination>li>a,.pagination>li>span {
 position:relative;
 float:left;
 padding:6px 12px;
 margin-left:-1px;
 line-height:1.42857143;
 color:#337ab7;
 text-decoration:none;
 background-color:#fff;
 border:1px solid #ddd
}
.pagination>li:first-child>a,.pagination>li:first-child>span {
 margin-left:0;
 border-top-left-radius:4px;
 border-bottom-left-radius:4px
}
.pagination>li:last-child>a,.pagination>li:last-child>span {
 border-top-right-radius:4px;
 border-bottom-right-radius:4px
}
.pagination>li>a:focus,.pagination>li>a:hover,.pagination>li>span:focus,.pagination>li>span:hover {
 z-index:3;
 color:#23527c;
 background-color:#eee;
 border-color:#ddd
}
.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover {
 z-index:2;
 color:#fff;
 cursor:default;
 background-color:#337ab7;
 border-color:#337ab7
}
.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover {
 color:#777;
 cursor:not-allowed;
 background-color:#fff;
 border-color:#ddd
}
.pagination-lg>li>a,.pagination-lg>li>span {
 padding:10px 16px;
 font-size:18px;
 line-height:1.3333333
}
.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span {
 border-top-left-radius:6px;
 border-bottom-left-radius:6px
}
.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span {
 border-top-right-radius:6px;
 border-bottom-right-radius:6px
}
.pagination-sm>li>a,.pagination-sm>li>span {
 padding:5px 10px;
 font-size:12px;
 line-height:1.5
}
.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span {
 border-top-left-radius:3px;
 border-bottom-left-radius:3px
}
.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span {
 border-top-right-radius:3px;
 border-bottom-right-radius:3px
}
.thumb-detail {

    margin-top: -15px;
    text-align: center;
    background: #fff;
    padding: 1px 2px 4px;
    border-width: 0 1px 1px;
    border-color: #ddd;
    border-style: solid;

}

.fluid-iframe{
    position: absolute!important;
    width: 100%!important;
    left: 0!important;
}
.mb-900{
    margin-top: 900px;
}

/* fixed social calendar*/
#fixed-social {position: fixed; z-index: 99999; top: 240px;right:-152px;transition: all 0.5s; cursor: pointer;display: inline-block;}
#fixed-social img{display:block; width: 152px; height:224px; }
#fixed-social:hover{right:0px;}
#fixed-social i{display: inline-block;padding-bottom:2px;}
#fixed-social>a{color:#fff;text-decoration: none;}
.resp-container {position: relative;overflow: hidden;padding-top: 50.25%;}
.resp-iframe {position: absolute;top: 0;left: 0;width: 100%;height: 100%;border: 0;}
.dairy_cls .modal-header{padding:8px;}
.dairy_cls .modal-title{color:#000;}
.titles_cls {
    background: #3863ff;
    color: #fff;
    padding: 8px 10px;
    font-size: 15px;
    border-radius: 6px 0 0 6px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    display: inline-block;
    text-align: center;
    line-height: 20px;
    text-transform: uppercase;
    height: 224px;
    width:40px;
}