::selection {
	background:#4CAF50;
	color: #ffffff;
    opacity: 1;
}
::-moz-selection {
	background:#4CAF50; /* Template color */
    color: #ffffff;
    opacity: 1;
}

a, a:hover,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus
{
	color:#4CAF50; /* Template color */
}
img {
	max-width: 100%;
	border: 0;
}	
p, td, div, textarea, input{
	color:#7e7f81; /*  Main content color */
}

.clear{clear:both}
ul{margin:0;padding:0;}
li{list-style:none;}

/*Base*/

html {
    width: 100%;
    overflow-x: hidden;
	-moz-osx-font-smoothing:grayscale;
	-webkit-font-smoothing:antialiased;
}
body {
	font-family: Arial, Helvetica, sans-serif;
	background:#ffffff;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

iframe {
    margin: 0;
    padding: 0;
	border: 0;
	overflow: hidden;
}

/* Theme CSS */
p {
    margin: 0 0 7px 0;
}
a,
a:hover span {
    text-decoration: none;
    outline: none;
	color:#7e7f81;
	font-weight:400;
}
.place {
	margin: 0 auto;
}

/* H E A D E R */
/*TOP*/
h1, h2{
	text-transform: capitalize;
    word-wrap: break-word;
}
h1 {font-size: 28px;	text-align: center;}
h2{font-size: 24px;}
h2>span{display:block;font-size: 18px;}
h3 {font-size:18px;line-height: 1em;}
.topline{display:block;width:100%;z-index: 102;position:relative;}
.logo {float:left;width:50%;}
.logo img{max-width:100%;height: auto;margin:5px;}
.tmenu{font-size:18px;text-decoration:none;cursor:pointer;outline:none;padding:0;margin:0 auto;z-index: 100;}
.tmenu li{display:block;position:relative;float:right;}
.tmenu li a{font-size:18px;display:block;padding-right:12px;line-height:85px;text-decoration:none;color:#7E7F81;}
.tmenu ul{z-index:101;right:-220px;position:absolute;top:60px;width:351px;border: solid 1px #ccc;border-radius: 3px;background:#ffffff;box-shadow: 0 0 4px 0 #bbb;border-top-color: #999;border-right-color: #999;border-bottom-color: #999;border-left-color: #999;display:none;margin:0;padding:12px 0;list-style:none;}
.tmenu ul li{float:left;font-size:0.9em;}
.tmenu ul li a{display:block;width:103px;padding:6px 7px;font-size:14px;line-height:1em;-webkit-transition:all 0.2s linear;-moz-transition:all 0.2s linear;-o-transition:all 0.2s linear;transition:all 0.2s linear;text-transform:capitalize;color:#7E7F81;}
.tmenu ul li a:hover{background:#4CAF50;color:#ffffff;}
#lines:before
{
display: inline-block;
border-bottom: 9px double #7e7f81;
border-top: 3px solid #7e7f81;
content: "";
height: 3px;
position: relative;
right: 7px;
top: 2px;
width: 30px;
}
div#search{float:right;margin-right:7px;margin-top:16px;width:220px;}
/*Search Form*/
form.search_form {float:right; margin-top:12px;}
form.search_form [type="submit"]{border: none; background: url(/pix/s.png) center no-repeat; width: 24px; height: 24px; margin-left: -29px; margin-top: 1px;   cursor: pointer; float: left;}
form.search_form [type="text"]{ height: 26px; width: 174px; border-radius: 3px; float: left; padding: 0 33px 0 6px; border: solid 1px #ccc;}
/*Search Form*/


/* WebKit browsers */
input:focus::-webkit-input-placeholder,
textarea:focus::-webkit-input-placeholder {
    color: transparent !important;
}

/* Mozilla Firefox 4 to 18 */
input:focus:-moz-placeholder,
textarea:focus:-moz-placeholder {
    color: transparent !important;
}

/* Mozilla Firefox 19+ */
input:focus::-moz-placeholder,
textarea:focus::-moz-placeholder {
    color: transparent !important;
}

/* Internet Explorer 10+ */
input:focus:-ms-input-placeholder,
textarea:focus:-ms-input-placeholder {
    color: transparent !important;
}

@media only screen and (max-width: 977px) {
.topline{text-align: center;}
.logo, .tmenu{float:none;width:100%;}
#search{width: calc(100%-150px);}
#cat{float: left;}
form.search_form [type="text"]{width: calc(100%-104px);}
}
@media only screen and (max-width: 639px){
.logo img {width:100%;}
.tmenu{display:none;}
}
/*end top*/

/*gallery*/
.grid {
display: block;
margin: 0 auto;
text-align: center;
}

.grid-item {
float: left;
line-height: 0;
display: inline-block;
width: 300px;
background: #ECECEC;
margin: 2px;
zoom: 1;
*display: inline;
}
.grid-item a img {
	text-align:center;
}
.grid-item .desc {display: none;}
.grid-item:hover .desc {
  background-color:#2E3032;
  display: block;
  margin: 0;
  color: #FFF;
  font-weight: 400;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 0;
  padding: 20px;
  filter:alpha(opacity=75);
  opacity:.75;
  -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=75)';
  position: absolute;
  bottom: 0; left:0; right: 0;
}
/* middle join line*/

.lnjoin{
  display: inline-block;
  margin: 10px 0;
  background-color: #ECECEC;
  width: 100%;
}
.lnleft
{ 
  display: block;
  width:60%;
  float:left;
  padding: 10px 20px;
  text-align: left;
  color: #1d1e1f;
}

.lnright
{
  display: block;
  float:right;
  text-align: right;
  padding: 30px;
  
}
.lncenter
{
  display: block;
  text-align: center;
  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: #ECECEC;
background-color: #1D1E1F;
cursor: pointer;
display: inline-block;
line-height: 50px;
outline: 0;
padding: 0 10px 0 10px;
position: relative;
text-align: center;
text-decoration: none;
}
.join:hover{
background-color: #4CAF50;
color: #fff;
	}
.relate{
	margin: 20px 10px;
	display: inline-block;
	width:100%;
	text-align: center;
	}
.view-tags {
	text-align: center;
	text-transform: capitalize;
	font-size:18px;
	margin: 0 auto;
    display: block;
	position:relative;
	color:#1D1E1F;
}

.view-tags a{
	color: #5f5f5f;
}
.view-tags a:hover{
	color: #000;
}
/*end middle line*/
.pix-img {
line-height: 30px;
width: 100%;
font-size: 24px;
text-align: center;
margin: 20px auto;
}
.pix-img a {color: #5f5f5f;}
.pix-img a:hover{color: #000;}
.pix-img img{
	display: block;
	margin:20px auto;
	max-width: 100%;
	max-height: 100%;
	height: auto;

}

.conc{display: block;width: 300px;height: 250px;line-height: normal;}
.e-traf-all{
	font-size:22px;
	text-align: center;
	overflow: hidden;
	margin: 10px auto;
}
.e-traf-block
{
	display: inline-block;
	width: 300px;
	height: 250px;
	margin: 5px;
	zoom: 1;
    *display: inline;
}

/*footer*/
.relate{display: inline-block;width:100%;}
.moretxt {
text-transform: capitalize;
text-align: center;
font-weight: 700;
font-size: 24px;
color: #1d1e1f;
margin: 30px auto 10px;
}
.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;
    width: 100%;
	font-weight: 700;
}
.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;}

.center {
    text-align: center;
	margin-bottom: 5px;
}
.pagination {
	line-height: 1;
	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: #ffffff;
    border: 1px solid #4CAF50;
}

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

.friend_txt
{
background-color: #ECECEC;
width: 100%;
margin-bottom: 10px;
text-align: left;
border-left: 10px solid;
border-color: #4CAF50;
padding: 8px;
}
.friend_txt a
{
	text-decoration:underline;
}
.friend_txt a:hover
{
	text-decoration:none;
}
/*bottom_thumbs*/

.bt_tmb  {
	display: inline-block;
	width: 146px;
	height: 212px;
	margin: 6px;
	font-size: 12px;
	line-height:18px;
	background-color: #FFF;
	border: solid 1px #ccc;
	border-radius: 3px;
	zoom: 1;
    *display: inline;
	word-wrap: break-word;
    overflow: hidden;
	text-align: center;
}

.bt_tmb:hover {box-shadow: 0 0 4px 0 #bbb;border-top-color: #999;border-right-color: #999;border-bottom-color: #999;border-left-color: #999;}

.bt_tmb a img {
	margin: 3px;
	width: 140px;
	height: 180px;
}
.bt_tmb:hover a img {
	opacity: 0.9;
}
.clear{clear:both}
#social-icons {list-style-type: none;  margin-left: 10px;   margin-top: 50px;}
#social-icons a {border-radius:2px; border:0px; display:inline-block;zoom: 1;*display: inline;}
 
a.facebook{display:block; background: url(../pix/social-icons.png) no-repeat 0 -42px; width:42px; height:42px;}
a.facebook:hover{background-position: 0 0;}
 
a.twitter{display:block; background: url(../pix/social-icons.png) no-repeat -42px -42px; width:42px; height:42px;}
a.twitter:hover{background-position:-42px 0;}
 
a.googleplus{display:block; background: url(../pix/social-icons.png) no-repeat -84px -42px; width:42px; height:42px;}
a.googleplus:hover{background-position:-84px 0;}
 
a.pinterest{display:block; background: url(../pix/social-icons.png) no-repeat -126px -42px; width:42px; height:42px;}
a.pinterest:hover{background-position:-126px 0;}
 
a.tumblr{display:block; background: url(../pix/social-icons.png) no-repeat -168px -42px; width:42px; height:42px;}
a.tumblr:hover{background-position:-168px 0;}
 
a.redit{display:block; background: url(../pix/social-icons.png) no-repeat -210px -42px; width:42px; height:42px;}
a.redit:hover{background-position:-210px 0;}
@media screen and (min-width: 1521px) {
.place {width: 1520px;}
}
@media screen and (max-width: 1520px) {
.place {width: 1216px;}
}
@media screen and (max-width: 1216px) {
	.hide {display:none}
.place {width: 912px;}
.pagination a {font-size: 18px;}
.gallery-container {justify-content: center;}
}
@media screen and (max-width: 912px) {
.place {width: 608px;}
.logo {width:42%;}
.pagination a {
	padding: 5px 8px;
	font-size: 17px;
}
}
@media screen and (max-width: 639px) {
.gallery-container {align-items: center;}
    .image-item {
        width: 180px;
    }

    .image-item img {
        height: 240px;
    }
.place  {width: 304px;}
.lnleft
{  
  width:90%;
  float:none;
  text-align: center;
}  
.lnright
{
	width:100%;
  float:none;
  text-align: center;
  padding: 0 0 20px 0;
}
.topline{text-align: center;}
.logo, .tmenu{float:none;width:100%;}
#search{width: calc(100%-150px);}
#cat{width: 150px;}
form.search_form [type="text"]{width: calc(100%-104px);}
.fullscreen_block .blogpost_preview {width: 50%;}
.pagination a {
	padding: 3px 4px;
    font-size: 14px;
}
.bt_tmb{margin:0;}
}
@media only screen and (max-width: 360px){
.logo img {width:100%;}
.tmenu{display:none;}
.image-title {font-size: 12px;}
.image-item {width: 200px;}
.image-item img {height: 266px;}
}
