/*
#------------------------------------------------------------------------
# Writer - #8 2014 Joomla! template (for Joomla 2.5)
#
# Copyright (C) 2007-2014 Gavick.com. All Rights Reserved.
# License: Copyrighted Commercial Software
# Website: http://www.gavick.com
# Support: support@gavick.com 
*/

/* Here you can include your override CSS styles */

.gkNspPM-PortfolioGrid.with-overlay h3 {
	display: none !important;
}

/*.gkNspPM-PortfolioGrid.with-overlay .figcaption > div {
    padding: 0px;
}*/

.gkNspPM-PortfolioGrid.with-overlay .figcaption:before {
	margin: 0;
}

.gkNspPM-PortfolioGrid > .figure img.image-loaded {
	opacity: 1;
}

.gkNspPM-PortfolioGrid.with-overlay .figure {
	background: white;
}

.gk-icon-email:before {
    content: "q";
    border: 1px solid #888;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 13px;
    height: 20px;
    width: 20px;
    line-height: 18px;
    text-align: center;
    text-indent: -1px;
    display: block;
}

.gk-icon-im:before {
    content: '\f16d';
    font-family: "FontAwesome" !important;
    border: 1px solid #888;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 13px;
    height: 20px;
    width: 20px;
    line-height: 18px;
    text-align: center;
    text-indent: -1px;
    display: block;
}

.gk-icon-tg:before {
    content: '\f2c6';
    font-family: "FontAwesome" !important;
    border: 1px solid #888;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 13px;
    height: 20px;
    width: 20px;
    line-height: 18px;
    text-align: center;
    text-indent: -1px;
    display: block;
}

.gk-icon-vk:before {
    content: '\f189';
    font-family: "FontAwesome" !important;
    border: 1px solid #888;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 13px;
    height: 20px;
    width: 20px;
    line-height: 18px;
    text-align: center;
    text-indent: -1px;
    display: block;
}

.gk-icon-fb:before {
    content: '\f09a';
    font-family: "FontAwesome" !important;
    border: 1px solid #888;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 13px;
    height: 20px;
    width: 20px;
    line-height: 18px;
    text-align: center;
    text-indent: -1px;
    display: block;
}

.gk-icon-youtube:before {
    content: '\f167';
    font-family: "FontAwesome" !important;
    border: 1px solid #888;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 13px;
    height: 20px;
    width: 20px;
    line-height: 18px;
    text-align: center;
    text-indent: -1px;
    display: block;
}

.gk-icon-vk:hover:before, .gk-icon-email:hover:before, .gk-icon-youtube:hover:before, .gk-icon-fb:hover:before, .gk-icon-tg:hover:before, gk-icon-im:hover:before{
    border-color: #fa9556;
}

#gk-social .custom {
	top: -15px;
	position: relative;
}

.tags {
	min-height: 100px;
}

.one-line-image, .one-line-details {
	float:left;
	display: block;
}

.one-line-details{
	margin-left: 40px;
}

.one-line-container {
	display: inline-flex;
}

.book-btn {
	width: 190px;
}

div.tags a:after {
	content: "";
	margin-left: 0px
}

div.tags a {
	min-width: 80px;
}

@media (max-width: 580px) {
	.one-line-container {
		display: block;
	}
	.one-line-details{
		margin-left: 0;
		margin-top: 30px;
	}
}

article {
	position: relative !important;
}

#eb .eb-post-thumb .eb-post-image {
	border: none;
	padding: 0;
}

#eb h1, h3 {
	font-weight: normal !important;
}

#eb .itemImageBlock {
	margin-bottom: -15px;
}

#eb .eb-image-popup-button:before {
	display: none;
}

#eb [class^="fa fa-"], [class*=" fa-"] {
	padding-right: 0;
}

#eb .eb-rating-text {
	display: none !important;
}

#eb .eb-shares {
	text-align: center;
}

.comment-avatar {
	display: block;
    float: left;
    margin: 10px 10px 0 0;
}

.comment-button {
	background: white !important;
    height: 48px !important;
    margin-top: -9px !important;
	font-size:16px!important;
	font-weight:400!important;
}

.itemAuthorContent img {
    height: auto!important;
    max-width: 100%!important;
}

.eb-avatar img {
	height: auto !important;
}

.is-featured {
	display: none !important;
}

.box {
	display: inline-block;
}

@media (max-width: 580px) {
	.book-btn {
		width: 100%;
	}
	.one-line-image img {
		margin-left: 25%;
		margin-right: 25%;
		width: 50%;
	}

}

.button-subscribe {
	padding: 20px;
}

#gkPopupLogin .button {
	display: none;
}

.book-shell {
	width: 100%;
}

.book-cover {
	width: 50%;
    margin-left: 25%;
    margin-right: 25%;
}

@media (max-width: 1240px) {
	.book-shell {
		display: none;
	}
}

.custom-social {
	float: none !important;
	margin-bottom: 50px !important;
    margin-top: -30px !important;
    text-align: center;
}

.custom-social#gk-social a {
	height: 60px;
	width: 60px;
}

.custom-social#gk-social a:before {
	font-size: 40px;
    height: 60px;
    width: 60px;
    line-height: 55px;
	border-width: 2px;
}


.custom-social .gk-icon-fb {
	font-size: 50px;
}

@media (max-width: 640px){

	.custom-social#gk-social {
		display: block !important;
	}

}

#gk-login-btn {
	line-height: 26px;
}

#gk-mainbody {
	padding-top: 0;
    margin-top: -5px;
}

.eb-posts {
	padding-top: 20px;
}

@media (max-width: 1400px) {
	.gkNspPM-PortfolioGrid.without-overlay {
		padding-top: 70px;
	}
}

.images-container img:nth-child(odd) {
	margin: 0 2% 2% 0;
    width: 49%;
}

.images-container img:nth-child(even) {
	margin: 0 0 2% 0;
    width: 49%;
}

#eb .eb-post-thumb.is-full {
	max-height: 400px;
	overflow: hidden;
}