a,
a:hover,
a:focus,
button,
button:hover,
button:active,
button:focus {
  outline: 0;
  text-decoration: none;
}

.mt80 {
  margin-top: 80px;
}

body {
  font-family: 'Lato';
  font-size: 14px;
  color: #4b515f;
}

/* Main Nav */
#mainNav {
  min-height: 80px;
  margin-bottom: 0;
}

#mainNav.navbar-default {
  background: #fff;
}

#mainNav .container {
  margin-top: 15px;
  margin-bottom: 15px;
}

#mainNav a.navbar-brand {
  padding: 10px 15px;
}

#mainNav .nav li a {
  font-size: 1em;
  text-transform: uppercase;
}

#mainNav .nav li:hover a, #mainNav .nav li:focus a, #mainNav .nav li.active a {
  color: #2cabab;
  background-color: transparent !important;
}

#mainNav .social {
  float: right;
}

#mainNav .social li a {
  padding-right: 0;
  color: #2f89c4;
  font-weight: bold;
  font-size: 1.5em;
}

#mainNav.navbar-inverse {
  background: #4b515f;
}

#mainNav.navbar-inverse a {
  color: #fff;
}

#mainNav.navbar-inverse a:hover {
  color: #2cabab;
}

#mainNav.navbar-inverse .social a {
  color: #fff;
}

/* Banner */
.banner {
  width: 100%;
  height: 522px;
  background-image: url(../images/banner.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
  margin-top: 80px;

  -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.banner1 {
  width: 100%;
  height: 522px;
  background-image: url(../images/banner_1.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
  margin-top: 80px;

  -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#banner .search {
  width: 100%;
  position: absolute;
  bottom: 0;
  background: rgba(44, 171, 171, 0.85);
  min-height: 100px;
  line-height: 100px;
}

#banner .search .input-group {
  padding: 22px 0;
}

#banner .search .input-group .input-group-addon, #banner .search .input-group .form-control {
  background-color: transparent;
  border: 0;
  color: #fff;
  font-size: 30px;
}

#banner .search .input-group .form-control {
  height: auto;
  font-weight: 300;
  box-shadow: none;
}

#banner .search ::-webkit-input-placeholder {
  color: #fff;
}

#banner .search :-moz-placeholder {
  color: #fff;
}

#banner .search ::-moz-placeholder {
  color: #fff;
}

#banner .search :-ms-input-placeholder {
  color: #fff;
}

/* Main Body */
#main {
  background: #f7f8fa;
  padding: 50px 0;
}

.each-img {
  height: 218px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
  margin: 20px 0;
  overflow: hidden;
}

.each-img .img {
  max-height: 74%;
  overflow: hidden;
  width:100%;
  height:80%;
  line-height:200px;
}

.each-img .cont {
  padding: 6px 10px;
}

.each-img .cont a {
  display: block;
  font-size: 1.2em;
  position: relative;
  color: #4b515f;
}

.each-img .cont a span {
  font-size: .8em;
  color: #c7c8c9;
  display: block;
}

.each-img .cont a i {
  position: absolute;
  right: 0;
  top: 4px;
  font-size: 1.3em;
  color: #2f89c4;
}

.each-img .cont a:hover {
  color: #2cabab;
}

.each-pic {
  border: 1px solid #c7c8c9;
  height: 250px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  padding: 0;
}

.each-pic .img {
  line-height: 242px;
}

.each-pic .img img {
  max-width: 100%;
}

.each-pic .cont {
  position: absolute;
  bottom: -58px;
  left: 0;
  width: 100%;
  background: rgba(44, 171, 171, 0.85);
  padding: 10px 15px;
  -webkit-transition: all linear 0.3s;
  -moz-transition: all linear 0.3s;
  -ms-transition: all linear 0.3s;
  transition: all linear 0.3s;
}

.each-pic .cont a {
  color: #fff;
  font-size: 1.1em;
}

.each-pic .cont a span {
  display: block;
  font-size: .8em;
}

.each-pic .cont a i {
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 1.3em;
}

.each-pic:hover .cont {
  bottom: 0;
}

/* Footer Top */
#fTop {
  padding: 50px 0;
}

#fTop .tags a {
  display: inline-block;
}

#fTop .feat-art {
  display: table-row;
}

#fTop .feat-art > div {
  display: inline-block;
}

#fTop .feat-art .img {
  height: 80px;
  width: 80px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%;
}

#fTop .feat-art .des {
  display: table-cell;
  vertical-align: middle;
  padding-left: 15px;
}

#fTop .feat-art .des p {
  margin-bottom: 0;
  font-size: 1.2em;
}

#fTop .feat-art .des span {
  color: #c7c8c9;
  text-transform: uppercase;
  font-size: .8em;
}

/* Footer */
#footer {
  background: #353947;
  padding: 50px 0;
}

#footer .coll {
  margin-bottom: 10px;
}

#footer .coll h3 {
  font-size: 1.6em;
  font-weight: 400;
  color: #2cabab;
  margin-top: 0;
  margin-bottom: 20px;
}

#footer .coll ul {
  padding-left: 0;
  list-style: none;
}

#footer .coll ul li a {
  color: #fff;
  font-weight: 300;
}

#footer .coll ul li a:hover {
  color: #2f89c4;
}

#footer button {
  background-color: transparent;
  border: 0;
  color: #fff;
}

#footer button img {
  margin-right: 5px;
}

#footer .social {
  padding-left: 0;
  list-style: none;
}

#footer .social li {
  display: inline-block;
  font-size: 1.5em;
}

#footer .social li a {
  color: #fff;
}

#footer .social li a:hover {
  color: #2cabab;
}

#footer .copyright {
  color: #9299a9;
  display: table-row;
}

#footer .copyright > div {
  display: table-cell;
  vertical-align: middle;
}

#search {
  padding: 20px 0;
  margin-top: 80px;
}

#search ul {
  margin-bottom: 0;
}

#search ul li {
  font-size: 1.7em;
}

#search ul li span {
  color: #2cabab;
  font-size: .7em;
  cursor: pointer;
}

#search ul li:first-child {
  color: #2cabab;
}

#search ul li:last-child {
  float: right;
}

#search ul li:last-child a {
  color: #2cabab;
}

#pagination {
  padding: 30px 0;
}

#pagination input {
  padding: 10px;
  border: 1px solid #cfd6e4;
  width: 50px;
  text-align: center;
  margin-right: 5px;
}

/* Titles */
.title1 {
  font-size: 1.7em;
  margin-top: 0;
  margin-bottom: 30px;
}

.title2 {
  font-size: 2.1em;
  margin-top: 0;
  margin-bottom: 30px;
  font-weight: 300;
}

.ad {
  border: 1px solid #cfd6e4;
  max-height: 250px;
  overflow: hidden;
}

.details .nav-tabs {
  border: 1px solid #cfd6e4;
}

.details .nav-tabs li {
  width: 50%;
  text-align: center;
  background: #fff;
}

.details .nav-tabs li a {
  border: 0 !important;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  border-radius: 0;
  background: #fff;
}

.details .nav-tabs li:not(:last-child) {
  border-right: 1px solid #cfd6e4;
}

.details .nav-tabs li:hover, .details .nav-tabs li.active {
  border-bottom: 2px solid #2cabab;
}

.details .tab-pane {
  background: #fff;
  padding: 15px;
  border: 1px solid #cfd6e4;
  border-top: 0;
}

.details .tab-pane table {
  width: 100%;
}

.details .tab-pane table tr td {
  padding: 2px 0;
}

.details .tab-pane table tr td:first-child {
  color: #c7c8c9;
}

.details .tab-pane table tr td:last-child {
  text-align: right;
}

/* Buttons */
.btn {
  text-transform: uppercase;
  font-weight: bold;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  border-radius: 0;
  padding: 15px 30px;
  letter-spacing: 2px;
  -webkit-transition: all linear 0.3s;
  -moz-transition: all linear 0.3s;
  -ms-transition: all linear 0.3s;
  transition: all linear 0.3s;
}

.btn.btn-xplore {
  background: #2f89c4;
  color: #fff;
  margin-top: 30px;
}

.btn.btn-xplore:hover {
  background: #2cabab;
}

.btn.btn-white {
  background: #fff;
  color: #2f89c4;
  border: 1px solid #cfd6e4;
}

.btn.btn-white:hover {
  background: #2f89c4;
  color: #fff;
}

.btn.btn-download {
  background: #2cabab;
  color: #fff;
  display: block;
  text-align: center;
  margin-top: 22px;
  margin-bottom: 22px;
}

.btn.btn-download:hover {
  background: #2f89c4;
}

/* Labels */
.tag {
  padding: 5px 10px;
  font-weight: 400;
  font-size: 1.2em;
  height: auto;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  border-radius: 0;
  margin-right: 5px;
  cursor: pointer;
  -webkit-transition: all linear 0.3s;
  -moz-transition: all linear 0.3s;
  -ms-transition: all linear 0.3s;
  transition: all linear 0.3s;
}

.tag.tag-default {
  background: #f7f8fa;
  color: #4b515f;
}

.tag.tag-white {
  background: #fff;
}

.tag:hover {
  color: #fff;
  background: #2f89c4;
}

.keywrds {
  padding-top: 40px;
}

.img-responsive-custom {
    display: block;
    max-width:100%;
    width: 100%;
    height: 100%;
}

.each-img-preview {
  /*height: 420px;*/
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
  margin: 20px 0;
  overflow: hidden;
}
.each-img-preview .img {
  max-height: 100%;
  overflow: hidden;
  /*line-height:350px;*/
}

/*search in other pages*/
#banner-top {
  width: 100%;
  height: 100px;
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
  margin-top: 80px;
}

#banner-top .search {
  width: 100%;
  position: absolute;
  bottom: 0;
  background: rgba(44, 171, 171, 0.85);
  min-height: 100px;
  line-height: 100px;
}

#banner-top .search .input-group {
  padding: 22px 0;
}

#banner-top .search .input-group .input-group-addon, #banner-top .search .input-group .form-control {
  background-color: transparent;
  border: 0;
  color: #fff;
  font-size: 30px;
}

#banner-top .search .input-group .form-control {
  height: auto;
  font-weight: 300;
  box-shadow: none;
}

#banner-top .search ::-webkit-input-placeholder {
  color: #fff;
}

#banner-top .search :-moz-placeholder {
  color: #fff;
}

#banner-top .search ::-moz-placeholder {
  color: #fff;
}

#banner-top .search :-ms-input-placeholder {
  color: #fff;
}

/*selected image*/
.galleryHolder {float: left; margin: auto 0; height: 320px; text-align: center;}
.resultImage {margin: auto; text-align: center;}
.galleryImage {margin: 3px; text-align: center; border: 1px solid #DFDED8;}
.gallerySelectedImage {margin: 0; border: 4px solid green;}
.galleryImageID {font-size: 95%; padding: 0; margin: 0; display: block;}