/*

Theme Name: Mały traktor
Theme URI: http://maly-traktor.pl
Description: Motym dla strony maly-traktor.pl
Author: Agendo
Author URI: https://www.agendo.pl/
Version: 1.0

*/

body {
	color: #383737;
}

img {
	max-width: 100%;
}

.header {
	padding: 40px 0;
}

section {
	padding: 50px 0;
}

nav {
	background-color: #383737;
	min-height: 50px;
}

nav a {
	color: #fff;
}

a {
	color: inherit;
	transition: color .3s;
}

a:hover {
	color: #FE5A12;
}

.navbar-toggler {
	color: #fff;
}

.navbar-toggler:focus {
	outline: none;
}

.navbar-toggler-icon {
	display: initial;
}

.navbar-collapse>div:first-child {
	width: 88%;
}

.default-menu i {
	font-size: 26px;
}

.default-menu {
	display: flex;
	list-style: none;
	align-items: center;
	justify-content: space-around;
	margin: 0;
	padding: 0;
}

.default-menu .menu-item {
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 600;
}

.menu-item a {
	text-decoration: none;
}

.swiper-button-prev, .swiper-button-next {
	color: #FE5A12 !important;
	transition: color .3s;
}

.swiper-button-prev:focus, .swiper-button-next:focus {
	outline: none;
}

.swiper-button-prev:hover, .swiper-button-next:hover {
	color: #fff !important;
}

.swiper-post-title {
	text-align: center;
	font-size: 24px;
	font-weight: 400;
	display: flex;
	padding: 10px 20px;
}

.swiper-slide img {
	width: 100%;
}

.swiper-post-title:hover {
	color: #fff;
	text-decoration: none;
}

.section-title {
	position: relative;
	padding-bottom: 30px;
	text-transform: uppercase;
	margin-bottom: 30px;
	font-size: 2rem;
	line-height: 1.2;
}

.section-title:after {
	content: " ";
	position: absolute;
	bottom: 0px;
	left: calc(50% - 50px);
	width: 100px;
	height: 2px;
	background-color: #fe5a12;
}

.post-slider-title {
	background-color: #FF6825;
	color: #fff;
    margin: 0;
    padding: 13px;
    font-size: 28px;
    text-transform: uppercase;
}

.post-slide-title {
	background-color: rgba(254, 90, 18, .7);
	position: absolute;
	left: 0;
	bottom: 0;
	right: 0;
	color: #fff;
	transition: background-color .3s;
}

.post-slide-title:hover {
	background-color: rgba(254, 90, 18, .9);
	cursor: pointer;
}

.sidebar-content {
	width: 100%;
	padding: 50px 15px;
}

.content-wrapper {
	display: flex;
	flex-wrap: wrap;
}

.post-box h4 {
	font-size: 18px;
}

.post-box-link {
	display: flex;
    flex-direction: column;
    height: 100%;
}

.post-box-link:hover {
	text-decoration: none;
}

.post-box-row
{
	display: flex;
	justify-content: space-between;
	margin: 30px 0;
	flex-wrap: wrap;
}

.uptodate-row .post-box-row {
	margin-top: 0;
}

.post-box-row>div.post-box {
	padding: 0;
	flex-basis: 32%;
	background-color: #f5f5f5;
	border: 1px solid;
	border-color: #e9ebee #dadada #ccc;
	margin-bottom: 30px;
}

.post-box-image {
	height: min-content;
}

.post-box-description {
	padding: 15px;
	flex-grow: 1;
}

.all-posts-box .post-box-description h4 {
	font-size: 22px;
}

.users-map-wrapper {
	margin: 30px 0;
}

.users-map-wrapper iframe {
	border: none;
}

.users-map-description {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	font-weight: 400;
	font-size: 38px;
	color: #fe5a12;
	text-transform: uppercase;
	margin: 30px 0;
}

.sidebar-content>.row {
	justify-content: center;
}

.fb-widget, .forum-widget, .ad-banner, .yt-widget {
	width: 100%;
	background-color: #fff;
}

.forum-widget, .ad-banner, .fb-widget {
	margin-bottom: 30px;
}

.widget-header {
	display: flex;
	align-items: center;
	padding: 15px;
	color: #fff;
	font-size: 17px;
	font-weight: 600;
}

.widget-header i {
	font-size: 26px;
	margin-right: 10px;
}

.widget-header h6 {
	margin: 0;
	font-size: 17px;
}

.forum-widget, .ad-banner {
	border: 1px solid #fe5a12;
}

.forum-header, .ad-banner-header {
	background-color: #FF6825;
}

.fb-widget {
	border: 1px solid #3B5DA0;
}

.facebook-header {
	background-color: #3B5DA0;
}

.yt-widget {
	border: 1px solid #CC0000;
}

.youtube-header {
	background-color: #CC0000;
}

.yt-widget .swiper-button-prev, .yt-widget .swiper-button-next {
	color: #CC0000 !important;
	transition: color .3s;
	top: auto;
	bottom: 5px;
}

.yt-widget .widget-content {
	padding: 15px;
}

.yt-widget iframe {
	width: 100%;
}

.forum-widget>.widget-content>ul {
	padding: 10px 15px;
}

.forum-widget>.widget-content>ul>li {
	border-bottom: 1px solid #fe5a12;
	padding: 10px 0;
    font-size: 12px;
}

.forum-widget>.widget-content>ul>li:last-child {
	border-bottom: none;
}

.forum-widget>.widget-content>ul>li>a {
	font-size: 14px;
	font-weight: 500;
}

.forum-header a:hover {
    color: #fff;
}

.ad-banner a {
	display: flex;
}

.ad-banner a img {
	width: 100%;
}

.offer>section {
	background-color: #f5f5f5;
	border-top: 1px solid #e6e6e6;
	border-bottom: 1px solid #e6e6e6;
}

.offer-item-description p {
	font-size: 18px;
	font-weight: 500;
	text-align: center;
}

.offer-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}

.offer-buttons a {
	margin-top: 30px;
}

.fb-page-name {
	margin: 0px 15px 0 15px;
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #3B5DA0;
    padding: 15px 0 15px 0;
}

.fb-page-name a {
	font-size: 18px;
	margin: 0 0 0 10px;
	margin-left: 15px;
}

.fb-page-posts {
	padding: 15px;
}

.fb-like.fb_iframe_widget {
    position: relative;
    display: flex;
    padding: 5px 15px;
    background-color: #fff;
}

.fb-widget .swiper-slide, .yt-widget .swiper-slide {
	padding-bottom: 70px;
}

.fb-post-description p {
	font-size: 14px;
	word-wrap: break-word;
}

.fb-post-link {
	background-color: rgba(29, 33, 41, .04);
	border: 1px solid;
	border-color: #e9ebee #dadada #ccc;
}

.fb-post-title {
	padding: 10px 10px 0 10px;
}

.fb-post-title h6{
	margin: 0;
}

.fb-post-created {
	color: #616770;
	font-size: 12px;
	padding: 10px 10px 10px 10px;
}

.fb-post-created p {
	margin: 0;
}

.fb-widget .swiper-button-prev, .fb-widget .swiper-button-next {
	color: #3B5DA0 !important;
	transition: color .3s;
	top: auto;
	bottom: 5px;
}

.orange-button{
	padding: 0 15px;
	width: max-content;
	height: 40px;
	background: #fe5a12;
	border-radius: 3px;
	font-weight: 600;
	font-size: 14px;
	color: #fff;
	border: none;
	outline: none;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
	text-transform: uppercase;
}

.orange-button:hover{
    color: #fff;
    -webkit-transform: scale(1.05);
        -ms-transform: scale(1.05);
            transform: scale(1.05);
    text-decoration: none;
}

.orange-button i{
    padding-left: 10px;
}

.all-posts-row {
	justify-content: space-between;
}

.all-posts-box {
	background-color: #f5f5f5;
	padding: 0;
	flex-basis: 49%;
	display: flex;
	flex-direction: column;
	border: 1px solid;
    border-color: #e9ebee #dadada #ccc;
    margin-bottom: 15px;
}

.all-post-box-link {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.all-post-box-link:hover {
	text-decoration: none;
}

.all-posts-date {
	display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.all-posts-date p {
	margin: 0;
}

.small-grey-font {
    opacity: 0.5;
    font-weight: bold;
    font-size: 12px;
    color: #2E3133;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.gallery-wrapper {
	padding: 40px 0;
}

.gallery-title {
	margin-bottom: 30px;
	width: max-content;
	position: relative;
	padding-bottom: 10px;
}

.gallery-title:after, .bold-paragraph:after {
	content: " ";
	width: calc(100% + 20px);
	height: 2px;
	background-color: #fe5a12;
	position: absolute;
	left: 0;
	bottom: 0;
}

.contact-info {
	margin: 40px 0;
}

.contact-item {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 10px;
}

.contact-item p {
	font-size: 20px;
	font-weight: 500;
	color: #fe5a12;
	padding-right: 10px;
	margin: 0;
}

.contact-item i {
	font-size: 20px;
	color: #fe5a12;
	padding-right: 10px;
}

.contact-item a {
	font-size: 18px;
	font-weight: 500;
}

.register-link-outer a {
	margin: auto;
}

.article-content {
	padding-top: 0;
}

.article-content>.container>.row>div {
	padding: 15px;
}

.paragraph p {
    font-size: 18px;
    letter-spacing: 0;
    line-height: 26px;
    margin: 0;
}

.bold-paragraph {
	width: max-content;
	position: relative;
	padding-bottom: 10px;
}

.bold-paragraph p {
    font-weight: 600;
    font-size: 24px;
    letter-spacing: 0;
    margin: 0;
}

.photo-description {
	font-weight: 700;
	font-style: italic;
	font-size: 15px;
	color: #2E3133;
	line-height: 22px;
	margin: 10px auto;
	text-align: center;
	width: 80%;
}

.article-author {
	position: relative;
	margin-top: 30px;
}

.article-author:before {
	content: " ";
	width: 100%;
	height: 1px;
	background-color: #fe5a12;
	position: absolute;
	top: 0;
	left: 0;
}

@media (max-width: 1199px) {
	.post-box-row>div.post-box {
		padding: 0;
		flex-basis: 48%;
		background-color: #f5f5f5;
		border: 1px solid;
		border-color: #e9ebee #dadada #ccc;
		margin-bottom: 30px;
	}
}

@media (max-width: 991px) {
	.default-menu .menu-item {
		margin: 20px 10px;
		text-transform: uppercase;
		font-size: 18px;
		font-weight: 600;
		width: 100%;
	}

	.social-icons {
		color: #fff;
		display: flex;
		width: 100%;
		justify-content: flex-start;
		margin-bottom: 20px;
	}

	.social-icon {
		margin: 0 10px;
	}

	.default-menu {
		display: flex;
		list-style: none;
		align-items: center;
		justify-content: flex-start;
		margin: 20px 0;
		padding: 0;
		flex-wrap: wrap;
	}

	.fb-widget, .forum-widget, .ad-banner, .yt-widget {
	    width: 48%;
	    height: min-content;
	}

	.sidebar-content>.row {
	    justify-content: space-between;
	}

	.sidebar-content {
	    padding: 0px 15px 30px;
	}

	section {
	    padding: 30px 0 30px;
	}
	.photo-description {
		font-weight: 700;
		font-style: italic;
		font-size: 15px;
		color: #2E3133;
		line-height: 22px;
		margin: 10px auto;
		text-align: center;
		width: 100%;
	}
	.paragraph p {
	    font-size: 16px;
	    letter-spacing: 0;
	    line-height: 26px;
	    margin: 0;
	}

}

@media (max-width: 767px) {
	.post-box-row>div.post-box {
		padding: 0;
		flex-basis: 64%;
		background-color: #f5f5f5;
		border: 1px solid;
		border-color: #e9ebee #dadada #ccc;
		margin-bottom: 30px;
	}

	.post-box-row {
		margin: 30px 0;
		justify-content: center;
	}

	.all-posts-box {
		background-color: #f5f5f5;
		padding: 0;
		flex-basis: 64%;
		display: flex;
		flex-direction: column;
		border: 1px solid;
		border-color: #e9ebee #dadada #ccc;
		margin-bottom: 15px;
	}
	.all-posts-row {
		justify-content: center;
	}
}

@media (max-width: 576px) {
	
	.post-box-row>div.post-box {
		padding: 0;
		flex-basis: 90%;
		background-color: #f5f5f5;
		border: 1px solid;
		border-color: #e9ebee #dadada #ccc;
		margin-bottom: 30px;
	}

	.post-slider-title {
	    background-color: #FF6825;
	    color: #fff;
	    margin: 0;
	    padding: 10px;
	    font-size: 22px;
	    text-transform: uppercase;
	}

	.swiper-post-title {
	    text-align: center;
	    font-size: 16px;
	    font-weight: 400;
	    display: flex;
	    padding: 10px 20px;
	}

	.post-box h4 {
	    font-size: 18px;
	}

	body {
		font-size: 14px;
	}

	.default-menu .menu-item {
	    margin: 10px 10px;
	    text-transform: uppercase;
	    font-size: 16px;
	    font-weight: 600;
	    width: 100%;
	}

	.fb-post-title h6 {
	    margin: 0;
	    font-size: 14px;
	}

	.offer-title, .all-posts-section-title, .contact-title, .article-title {
	    position: relative;
	    padding-bottom: 30px;
	    text-transform: uppercase;
	    margin-bottom: 30px;
	    font-size: 1.6rem;
	    line-height: 1;
	}

	.sidebar-content>.row {
	    justify-content: center;
	}

	.fb-widget, .forum-widget, .ad-banner, .yt-widget {
	    width: 90%;
	}
}

@media (max-width: 480px) {

	.all-posts-box {
		background-color: #f5f5f5;
		padding: 0;
		flex-basis: 90%;
		display: flex;
		flex-direction: column;
		border: 1px solid;
		border-color: #e9ebee #dadada #ccc;
		margin-bottom: 15px;
	}

	.users-map-desc span {
		text-align: center;
		font-weight: 400;
		font-size: 30px;
		color: #fe5a12;
		display: inline-block;
		text-transform: uppercase;
	}

}