/*
 Theme Name:   Twenty Thirteen Child
 Theme URI:    http://#
 Description:  Twenty Thirteen Child Theme
 Author:       Radosław Jaśkowiak
 Author URI:   http://www.ckrdesign.pl
 Template:     twentythirteen
 Version:      2.0.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twenty-thirteen-child
*/

html, button, input, select, textarea {
	font-family: 'Source Sans Pro', sans-serif; !important;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Source Sans Pro', sans-serif; !important;
}

*:focus { outline: none !important; }

.site {
	max-width: 1150px;
	border: none;
}

.nav-menu li a {
	/*font-size: 18px;
	font-weight: 300;*/
	font-size: 21px;
    font-weight: 400;	
	color: #333;
}

.navbar {
	/*background: #ffdeb7;*/
	background: #fff;
}

.nav-menu li:hover > a, .nav-menu li a:hover, .nav-menu li:focus > a, .nav-menu li a:focus {
	background: #8b8b8b;
	color: #fff;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	/*text-decoration: underline;*/
}

.nav-menu .current_page_item > a, .nav-menu .current_page_ancestor > a, .nav-menu .current-menu-item > a, .nav-menu .current-menu-ancestor > a {
	background: #8b8b8b;
	font-style: normal;
	color: #fff;
	/*text-decoration: underline;*/
	-webkit-box-shadow: 0px 2px 0px 0px rgba(0,0,0,1);
	-moz-box-shadow: 0px 2px 0px 0px rgba(0,0,0,1);
	box-shadow: none;
}

.nav-menu .sub-menu, .nav-menu .children {
	background: #333;
	border: none;
	top: 48px;
	left: 0px;
}

ul.nav-menu ul a, .nav-menu ul ul a {
	color: #fff;
}

ul.nav-menu ul a:hover, .nav-menu ul ul a:hover, ul.nav-menu ul a:focus, .nav-menu ul ul a:focus {
	background: #8b8b8b;
	/*text-decoration: underline;*/
	border: none;
	box-shadow: none;
}

.nav-menu .social-menu {
	float: right;
}

.nav-menu .social-menu a {
	padding: 15px 5px;
}

.nav-menu .social-menu a:hover, .nav-menu .social-menu a:focus {
	background: #fff;
	color: #8b8b8b;
}

.page-header, .archive-header {
	background: #fff;
	margin-top: 2px;
}

.insta {
	width: 100%;
	float: right;
	padding: 10px 0px 10px 0px;
}

.insta h2 {
	display: block;
	text-align: center;
	width: 230px;
	margin: 10px auto;
	border-bottom: 3px solid #8c8c8c;
	font-weight: 300;
	font-style: italic;
	padding-bottom: 4px;
}

.jr-insta-thumb ul.thumbnails li img {
	padding: 5px;
}

.slider {
	width: 100%;
	float: left;
}

img.size-full, img.size-large, img.wp-post-image {
	width: 100%;
}

.logo {
	width: 100%;
	height: 100px;
	text-align: center;
	display: block;
	margin: 20px 0px 5px 0px;
}

.logo a {
	background: url("img/logo.svg") no-repeat;
	max-width: 200px;
	width: 100%;
	height: 100%;
	display: block;
	background-size: contain;
	margin: 0 auto;
}

.navbar {
	text-align: center;
	margin-bottom: 10px;
}

ul.nav-menu ul a, .nav-menu ul ul a {
	text-align: left;
}

ul.nav-menu, div.nav-menu > ul {
	padding: 0px;
}

.site-footer {
	background: #fff;
	font-size: 13px;
	text-align: left;
}

.site-footer p{
	width: 50%;
	display: inline-block;
	float: left;
}

.site-footer p:nth-child(2){
	text-align: right;
}

.site-info {
	max-width: 1150px;
	float: left;
}

.widget-easy-twitter-feed-widget-global-wrapper {
	float: left;
	width: 50%;
}

.widget-easy-twitter-feed-widget-col {
	text-align: center;
}

.twitter-timeline, .twitter-timeline-rendered {
	max-width: 100%;
}

.jr-insta-thumb ul.thumbnails.no-border.jr_col_2 li {
	padding: 0px 10px 15px 10px;
}

.widget-easy-twitter-feed-widget-container h2 {
	font-size: 15px;
	background: #e3e3e3;
	color: #fff;
	font-family: 'Source Sans Pro', sans-serif !important;
	margin-top: 5px;
	margin-bottom: 5px;
	padding: 5px;
}

.modelki-grid {
	padding: 0px;
	margin: 0px;
}

.modelki-grid a {
	max-width: 25%;
	display: inline-block;
	margin: 0px;
	float: left;
	padding: 10px 20px;
	color: #000;
	text-align: center;
	-webkit-filter: grayscale(100%);
	filter: gray;
	filter: grayscale(100%);
	transition: filter 0.3s;
}

.modelki-grid a:hover, .modelki-grid a:focus {
	filter: none;
	-webkit-filter: none;
	text-decoration: none;
}

.paging-navigation .meta-nav {
	background-color: #ffdeb7;
	color: #333;
}
.paging-navigation a:hover .meta-nav {
	background-color: #8b8b8b;
	color: #fff;
}

@media (max-width: 600px) {
	.modelki-grid a{
		max-width: 49%;
		vertical-align: top;
		padding: 10px 5px;
		float: none;
	}
	body.blog #content { padding: 0 !important; }
	.site-info p {
		display: block;
		width: 100%;
		text-align: center;
		margin: 5px;
	}
	.site-footer p:nth-child(2){
		text-align: center;
	}

}

@media (max-width: 380px) {
	.modelki-grid a{
		max-width: 49%;
		padding: 10px 10px;
	}

	.model-sidebar {
		width: 100% !important;
	}

	.model-content {
		width: 100% !important;
	}

	.gallery-item {
		max-width: 50% !important;
	}

	.site-content {
		padding: 10px !important;
	}
}

.model-sidebar {
	float: left;
	width: 24%;
	background: none;
	padding: 10px;
}

.model-info {
	display: block;
	color: #8b8b8b;
	font-size: 14px;
}

.model-info b {
	font-size: 115%;
	font-weight: 300;
	margin-left: 3px;
}

.model-instagram {
	text-align: center;
	margin-bottom: 20px;
}

.model-content {
	width: 75%;
	float: left;
}

.model-name {
	text-align: center;
	font-size: 20px;
	margin-top: 5px;
	font-weight: 700;
}

.model-skills {
    padding: 16px 0 0 20px;
}

.gallery {
	width: 100%;
	margin-left: 0px;
	padding-left: 15px;
	padding-top: 10px;
}

.gallery-item {
	margin: 0px 0px 10px 10px;
	max-width: calc(33% - 10px) !important;
	width: 100%;
	min-height: 303px;
}
#tabs-2 { padding-left: 15px; }
#tabs-2 iframe {
	margin: 0px 10px 5px 0px;
	max-width: calc(50% - 10px) !important;
	width: 100%;
	height: auto;
	min-height: 742px;
}

div#tabs-4 img {
	width: 100%;
}

@media (max-width: 900px) {
	.gallery-item {
		min-height: 220px;
	}
}

@media (max-width: 600px) {
	.gallery-item {
		max-width: calc(100% - 10px) !important;
	}
	.model-sidebar {
		width: 33%;
	}
	.model-content {
		width: 66%;
	}
	#tabs-2 iframe {
		margin: 0px 10px 5px 0px;
		max-width: calc(100% - 10px) !important;
		width: 100%;
		height: auto;
		min-height: 432px;
	}
	.nav-menu .social-menu {
		float: none;
		display: inline-block;
	}
}

@media (max-width: 380px) {
	.gallery-item {
		min-height: 115px;
	}
}

.gallery-item img {
	width: 100%;
}

.model-sidebar button {
	width: 100%;
}

.model-sidebar ul {
	padding: 0px;
}

.model-sidebar ul li {
	list-style: none;
	width: 100%;
	/*background: #ffdeb7;*/
	background: #fff;
	text-align: center;
	margin-bottom: 4px;
}

.model-sidebar ul li a{
	color: #333;
	width: 100%;
	height: 100%;
	display: block;
	padding: 5px 0px;
	font-size: 19px;
}

.model-sidebar ul li:hover {
	background: #333;
}

.model-sidebar ul li a:hover {
	text-decoration: none;
	color: #fff;
}

.model-meta {
	min-height: 50px;
}

.model-city {
	display: block;
	font-size: 15px;
}

.model-pdf-link {
	color: #333;
	text-align: center;
	display: block;
	margin-top: 30px;
}

.model-pdf-link:hover {
	color: #8b8b8b;
}
.model-pdf-link:focus { outline: none; }

.model-pdf-link span {
	display: block;
	line-height: 30px;
}

.model-pdf-link .far {
	font-size: 60px;
}

.join-us {
	float: left;
	max-width: 50%;
	padding: 0px 20px 0px 0px;
}

.join-us p {
	margin: 0px 0px 12px;
}

@media (max-width: 600px) {
	.join-us {
		max-width: 100%;
	}

	.toggled-on .nav-menu > li a:hover, .toggled-on .nav-menu > ul a:hover {
		background-color: #E3E3E3;
		color: #000;
	}

	.toggled-on .nav-menu li > ul {
		margin: 2px 10px 0px 10px;
	}
	.model-instagram { overflow: hidden; }
}

.entry-header, .entry-content, .entry-summary, .entry-meta {
	max-width: 100%;
	padding: 10px;
}

button, input, textarea, select {
	border-color: #ddd;
	transition: border-color 0.2s;
}

select, input.wpcf7-date, input[type="file"] {
    font-size: 100%;
    margin: 0;
	width: 100%;
    max-width: 100%;
    vertical-align: baseline;
	border: 2px solid #ddd;
    font-family: inherit;
    padding: 4px;
}
.wpcf7 .gallery-item { min-height: fit-content; }
.submission-btn { 
	display: inline-flex;
	width: 100%;
	flex-direction: column;
	align-content: center;
	align-items: center;
}

button:focus, input:focus, textarea:focus, select:focus {
border-color: #B9B9B9;
}

.sidebar .entry-header, .sidebar .entry-content, .sidebar .entry-summary, .sidebar .entry-meta {
	padding: 0px;
}

.widget {
	background-color: #fff;
	color: #8C8C8C;
}

.widget .widget-title {
	font-weight: 700;
}

.widget a {
	color: #8C8C8C;
}

.widget a:hover {
	color: #000;
}

.kontakt-page {
	max-width: 50% !important;
	float: right;
}

.kontakt-page img {
	max-width: 300px;
	margin-right: 50%;
}

@media (max-width: 767px) {
	.kontakt-page {
		max-width: 100% !important;
		margin: 0 auto;
	}
	.mapa {
		max-width: 100% !important;
	}
	.wpcf7 .gallery, .wpcf7 .gallery-item {
		margin: 0;
		padding-left: 0;
		padding-top: 0;
	}
	button, input, textarea, select {
		width: 100%;
	}	
}

.mapa {
	max-width: 48%;
	float: left;
}

.gallery-columns-1 .gallery-item:nth-of-type(n), .gallery-columns-2 .gallery-item:nth-of-type(2n), .gallery-columns-3 .gallery-item:nth-of-type(3n), .gallery-columns-4 .gallery-item:nth-of-type(4n), .gallery-columns-5 .gallery-item:nth-of-type(5n), .gallery-columns-6 .gallery-item:nth-of-type(6n), .gallery-columns-7 .gallery-item:nth-of-type(7n), .gallery-columns-8 .gallery-item:nth-of-type(8n), .gallery-columns-9 .gallery-item:nth-of-type(9n) {
	/* margin: 0px 10px 10px 10px; */
}

.paging-navigation {
	background: #fff;
}

span.clear { clear: left; display: block; }

.entry-content a, .comment-content a {
	color: #8D8D8D;
}

.entry-content a:hover, .comment-content a:hover {
	color: #8D8D8D;
}

.entry-content-single {
	padding-bottom: 15px;
}

a.read-more-btn {
	float: right;
	text-align: right;
	background: #8b8b8b;
	padding: 8px 20px;
	margin: 10px 0;
	color: #fff;
}

a.read-more-btn:hover {
	background: #333;
	color: #fff;
}

.add-info {
	display: inline-block;
	width: 100%;
}

.add-info img {
	margin-left: 5px;
}