/*
Theme Name: Kres BP
Theme URI: http://client.net
Author: MK dizajn
Author URI: http://mk-dizajn.hr
Description: Custom theme for client:
Version: 0.9
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: clean, design first, bootstap, portfolio
*/


/*
--------------------------------------------------/
  wordpress common styles
--------------------------------------------------/
*/

body{
	padding: 5vw 5vw;
	font-family: "Times New Roman", Times, serif;
	max-width: 22cm;
	margin: 0 auto;
}
body.home{
	max-width: 1024px;
  padding: 1em 3em;
}
body.home h1{
	text-align: inherit;
}

body.home #s{
	float: right;
	font-size: 2em;
	margin: .67em 0;
	width: 260px;
}
body.home .fleft{
	width: 50%;
	float: left;
}
body.home .fright{
	width: 50%;
	float: right;
}
.fright:after{
	content: '';
	display: table;
	clear: both;
	height: 0;
}

@media only screen and (max-width: 768px){
	body.home .fright, 
	body.home .fleft{
		width: 100%;
		float: none;
	}
	body.home #s{
		float: left;
		width: 100%;
	}
	body.home form input[type="submit"]{
		display: block !important;
	}
	body.home h1, 
	body.home #s{
		font-size: 1.2em;
	}
	body.home .swiper-pagination{
		display: none;
	}
}


h1{
	text-align: center;
}
img{
	max-width: 95%;
	height: auto;
  border-width: 0!important;
}
iframe, img.aligncenter, img.alignnone{
	display: block;
  margin: 0 auto;
}

.gallery.gallery-columns-3,
.gallery.gallery-columns-2{
	display: flex;
	flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.gallery-columns-3 .gallery-item:first-child img{
	min-width: 46% !important;
	height: auto !important;
}
.gallery-columns-3 .gallery-item:first-child{
	flex: 0 0 100%;
}
.gallery-columns-3 .gallery-item{
	flex-grow: 1;
  flex: 1 1 30%;
  width: inherit !important;
}
.gallery-columns-2 .gallery-item{
	flex-grow: 1;
  flex: 1 1 50%;
  width: inherit !important;
}

p{
	margin-top: 0!important;
}
p[href]{
	cursor: pointer;
}
.article{
	overflow: hidden;
	text-overflow: ellipsis;
}