body {
	font-family: 'Montserrat', sans-serif;
    padding: 0;
    margin: 0;
    width: 100%;
	min-width: 300px;
    height: 100%;
    z-index: -2;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
	background-color: #eeeeee;
}
iframe {
    margin: 0;
    padding: 0;
	border: 0;
}
header, menu, img {
	display: block;
}
p {
    margin: 0 0 7px 0;
}
a, a:hover,
a:hover span {
    text-decoration: none;
    outline: none;
}

img {
	max-width: 100%;
}

ul {
list-style: none;
}
input, textarea, select, button {
	font: 100% sans-serif;
	vertical-align: middle;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	     -o-box-sizing: border-box;
	        box-sizing: border-box;
}
/*header*/
.topmenu  {
	height: 50px;
	margin: 10px auto 0;
	}
.top_logo {
	float: left;
	margin-right: 40px;
}
.top_logo img {
	margin: 0 auto;
}
.menu {
	overflow: hidden;
	border-radius: 3px;
	border: 1px solid #000;
	background: #fff;
}
.search-form {
	margin: 5px 0 5px 5px;
	position: relative;
	border-radius: 3px;
	border: 1px solid #000;
	overflow: hidden;
}
.search-form .search-text {
	width: 100%;
	height: 36px;
	border: none;
	padding: 5px 47px 5px 12px;
	font-size: 12px;
	color: #000;
}
.search-form .search-btn {
	position: absolute;
	right: 0;
	top: 0;
	z-index: 1;
	height: 37px;
	width: 47px;
	background: #ffcd6c url(../images/s.png) no-repeat 50% 50%;
	cursor: pointer;
	padding: 0;
	border: none;
	text-indent: -9999px;
}

.main-menu {
	float: right;
	font-size: 14px;
	line-height: 16px;
	font-weight: 700;
	text-transform: uppercase;
	display: table;
	width: 54%;
	margin: 0 0 0 10px;
}
.main-menu li {
	display: table-cell;
}

.main-menu a {
	color: #000;
	display: block;
	padding: 17px 0 10px 0;
	text-align: center;
	position: relative;
	border-bottom: 5px solid transparent;
}
.main-menu a:hover {
	background: #ffcd6c;
	}


h1 {
display: block;
height: 30px;
text-transform: capitalize;
text-align: center;
font-weight: 900;
font-size: 25px;
color: #1d1e1f;
}
h2 {
    position: absolute;
    bottom: 0;
	left:0;
    display: block;
    padding: 7px 12px;
    text-align: center;
    overflow: hidden;
    font-size: 16px;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 700;
    margin: 0;
    text-transform: capitalize;
	color: #fff;
    background-color: rgba(0,0,0,0.7);
}
h3 {
display: block;
height: 30px;
text-transform: capitalize;
text-align: center;
font-weight: 900;
font-size: 20px;
color: #1d1e1f;
}

.moretxt {
text-transform: capitalize;
text-align: center;
font-weight: 700;
font-size: 24px;
color: #1d1e1f;
margin: 30px auto 10px;
}
/*header end*/
/*gallery*/
.grid, .foot_place, .pix-img{
display: block;
margin: 0 auto;
text-align: center;
}

.grid-item{
	float: left;
	display: inline-block;
	width: 300px;
	background: #fff;
	margin: 2px;
	zoom: 1;
    *display: inline;
}
.grid-item a img {
	text-align:center;
}
.grid-item .desc {
	font-size: 13px;
	color: #666;
	line-height: 15px;
	display: block;
	margin: 4px 2px 6px;
}
.grid-item:hover .desc {
color: #333;
}

/* middle join line*/

.lnjoin{
  display: inline-block;
  margin-top: 10px;
  background-color:#C7CACC;
	width: -webkit-calc(100% - 10px);
    width: -moz-calc(100% - 12px);
    width: calc(100% - 12px);
  border-left:10px solid #2E3032;
}
.lnleft
{  
  display: block;
  width:60%;
  float:left;
  padding: 20px;
  text-align: left;
  font-weight: 700;
  font-size: 24px;
  color: #1d1e1f;
}  
.lnright
{
  display: block;
  float:right;
  text-align: right;
  padding: 30px;
  
} 
.join {
		-moz-appearance: none;
		-webkit-appearance: none;
		-ms-appearance: none;
		appearance: none;
		-moz-transition: all 0.2s ease-in-out;
		-webkit-transition: all 0.2s ease-in-out;
		-ms-transition: all 0.2s ease-in-out;
		transition: all 0.2s ease-in-out;
		border-radius: 0.2em;
		font-size: 20px;
		font-weight: bold;
		text-transform: uppercase;
		color: #C7CACC;
		background-color:#1D1E1F;
		cursor: pointer;
		display: inline-block;
		height: 50px;
		line-height: 50px;
		outline: 0;
		padding: 0 10px 0 10px;
		position: relative;
		text-align: center;
		text-decoration: none;
}
.join:hover{background-color: #2E3032;color:white;}
.relate{display: inline-block;width:100%;}
.view-tags {
	text-align: center;
	text-transform: capitalize;
	font-weight: 700;
	margin: 0 auto 20px;
    display: block;
	position:relative;
	color:#1D1E1F;
}

.view-tags a{
	color: #2E3032;
}
.view-tags a:hover{
	color: #C7CACC;
}
/*end middle line*/
.pix-img {
	font-size: 24px;
	font-weight: 700;
	padding: 50px 0;
	text-align: center;
}
.pix-img a {color: #2E3032;}
.pix-img a:hover{color: #003196;}
.pix-img img{
height: auto;
max-width: 100%;
margin: 0 auto;
}

.conc{display: block;width: 300px;height: 250px;}
.hob
{
	text-align: center;
	font-size: 22px;
	font-weight: bold;
	line-height: 1.3;
	margin: 5px;
	height: 321px;
	margin: 0 auto;
}
.hob, .hob>nav
{
	text-align: center;
	-webkit-transform-origin:0 0 0;-moz-transform-origin:0 0 0;-ms-transform-origin:0 0 0;-o-transform-origin:0 0 0;transform-origin:0 0 0;
	-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);transform:scale(1);

}
.side-traff{
	text-align: center;
	overflow: hidden;
}
.h_traff
{
	display: inline-block;
	width: 300px;
	height: 250px;
	margin: 10px;
	zoom: 1;
    *display: inline;
}
/*page up key*/
#toTop {
    position:fixed;
    z-index:9999;
    bottom:205px;
    right: 5px;
    background: url(/images/up.png) no-repeat;
	opacity: 0.5;
    width: 55px;
    height: 55px;
    border: none;
    padding: 0px;
    cursor: pointer;
    color: transparent;
    text-decoration: none;
    font-size:0px;
}
#toTop:hover {opacity: 0.8;}
/*footer*/

.m-cont-foot {
    display: inline-block;
	width: 100%;
	margin-top: 20px;
	font-weight: 400;
	padding:20px 0;
	text-align: center;
	background-color:#1d1e1f;
	font-size: 15px;
	line-height: 18px;
	color:#c8c9cc;
}
.m-cont-foot p {
	font-weight: 400;
	line-height: 20px;
}
.m-cont-foot p a{
	color: #c7cacc;
}
.m-cont-foot p a:hover{
	color: #ffffff;
}
.m-cont-foot img{display: none;}
.clear{clear:both}
.center {
    text-align: center;
	margin-bottom: 5px;
}
.pagination {
	margin-top: 10px;
    display: inline-block;
}
.pagination a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
    border: 1px solid #ddd;
    font-size: 22px;
}

.pagination a.active {
    background-color: #4CAF50;
    color: white;
    border: 1px solid #4CAF50;
}

.pagination a:hover:not(.active) {background-color: #ddd;}
/* thumb top */

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1300px; 
    margin: 0 auto;
}

.image-item {
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: white;
}

.image-item a {
    display: block;
}

.image-item img {
    width: 100%;
    height: 266px;
    object-fit: cover;
    display: block;
}

.image-title {
    padding: 10px;
    font-size: 14px;
    text-align: center;
    color: #333;
    background-color: #f0f0f0;
    width: 100%;
}


@media (max-width: 1200px) {
    .gallery-container {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .gallery-container {
        align-items: center;
    }

    .image-item {
        width: 180px;
    }

    .image-item img {
        height: 240px;
    }
}

@media (max-width: 480px) {
    .image-item {
        width: 160px;
    }

    .image-item img {
        height: 213px;
    }

    .image-title {
        font-size: 12px;
    }
}
@media (max-width: 336px) {
	    .image-item {
        width: 200px;
    }

    .image-item img {
        height: 266px;
    }
}
/* end thumb top */
@media screen and (min-width: 1521px) {
.grid, .topmenu, .foot_place, .pix-img   {width: 1520px;}
}
@media screen and (max-width: 1520px) {
.grid, .topmenu, .foot_place, .pix-img   {width: 1216px;}
}
@media screen and (max-width: 1216px) {
.hide {display:none}
.grid, .topmenu, .foot_place, .pix-img  {width: 912px;}
.pagination a {font-size: 20px;}
}
@media screen and (max-width: 912px) {
.grid, .topmenu, .foot_place, .pix-img   {width: 608px;}
.main-menu { line-height: 0;}
.top_logo {
	width: 100%;
	margin: 3px auto;
	float: none;
}
.menu {margin: 0;}
.topmenu  {height: 140px;}
.main-menu {
	margin: 0;
	float: none;
	width: 100%;
	padding: 5px 5px 0 5px;
	box-sizing: border-box;
}
.search-form {width: calc(100% - 12px);}
.pagination a {
	padding: 6px 10px;
	font-size: 18px;
}
.hob>nav{-webkit-transform:scale(0.68);-moz-transform:scale(0.68);-ms-transform:scale(0.68);-o-transform:scale(0.68);transform:scale(0.68);}
.hob{height: 300px;}
}
@media screen and (max-width: 608px) {
.grid, .topmenu, .foot_place, .pix-img   {width: 304px;}
.lnleft
{  
  width:90%;
  float:none;
  text-align: center;
}  
.lnright
{
	width:100%;
  float:none;
  text-align: center;
  padding: 0 0 20px 0;
}
.pagination a {
	padding: 4px 6px;
    font-size: 14px;
}
.hob>nav{-webkit-transform:scale(0.335);-moz-transform:scale(0.335);-ms-transform:scale(0.335);-o-transform:scale(0.335);transform:scale(0.335);}
.hob{height: 160px;}
}
