/*
Theme Name: Autolaweta
Theme URI: ---
Author: Bartuś
Author URI: ---
Description: Jakiś denny opis
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400,500,700&subset=latin-ext');

* {
  margin: 0;
  padding: 0;
  outline: 0;
  border: 0;
  box-sizing: border-box;
}
p {
	margin: 1em 0;
}
a {
  text-decoration: none;
  color: inherit;
}
body {
  background-color: #fff;
  font: 400 14px 'Montserrat', sans-serif;
}
.container {
  max-width: 1200px;
  display: flex;
  flex-flow: column nowrap;
  margin: 0 auto;
}
.container > header {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 225px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 3px;
}
.container > header .logo a {
  color: #ffc600;
}
.container > header .logo a span {
  color: #002bff;
}
.container > header .phone {
  display: flex;
  flex-flow: column nowrap;
  align-items: flex-end;
}
.container > header .phone a {
  color: #002bff;
  border: 3px solid #002bff;
  padding: 30px 70px;
}
.container > header .phone span {
  font-size: 14px;
  font-weight: 400;
  color: #b9b9b9;
  letter-spacing: initial;
  margin-top: 20px;
}
.container > section {
  margin: 30px 0;
}
.container > .news {
  background-image: url(assets/images/example-article.png);
  background-color: #fcfcfc;
  background-size: 70% 100%;
  background-repeat: no-repeat;
  height: 410px;
  position: relative;
  display: flex;
  justify-content: flex-end;
  overflow-y: hidden;
}
.container > .news .inner {
  flex: 0 0 30%;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: center;
  position: relative;
}
.container > .news .inner:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 10px;
  box-shadow: -30px 0 60px 70px #fcfcfc;
}
.container > .news .inner h2 {
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #b9b9b9;
}
.container > .news .inner a {
  font-weight: 700;
  color: #fff;
  background-color: #002bff;
  padding: 15px 40px;
  margin-top: 25px;
}
.container > .info {
  color: #4d4d4d;
  background-color: #fcfcfc;
  text-align: center;
  padding: 50px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5em;
}
.container > .call {
  height: 300px;
  display: flex;
  border: 2px solid #ffc600;
}
.container > .call:before {
  content: '';
  flex: 0 0 284px;
  height: 346px;
  margin-top: -48px;
  margin-left: 35px;
  background-image: url(assets/images/call-bg.png);
  background-repeat: no-repeat;
}
.container > .call .inner {
  flex: 1;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
}
.container > .call .inner h5 {
  font-weight: 700;
  font-size: 18px;
  color: #ffc600;
  text-transform: uppercase;
  letter-spacing: 3px;
}
.container > .call .inner a {
  font-weight: 700;
  font-size: 21px;
  color: #fff;
  background-color: #ffc600;
  padding: 20px 50px;
  margin-top: 25px;
}
.container > .call .inner span {
  font-size: 14px;
  font-weight: 400;
  color: #b9b9b9;
  letter-spacing: initial;
  margin-top: 20px;
}
.container > .contact {
  height: 330px;
  background-color: #ffc600;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 3px;
  margin-top: 30px;
}
.container > .contact a {
  color: inherit;
  font-size: 18px;
  font-weight: 700;
}
.container > .contact h2 {
  margin-bottom: 25px;
}
.container > .contact h5 {
  font-size: 16px;
  font-weight: 500;
  padding: 15px 0;
}
.container > .contact .margin {
  margin-top: 30px;
}
.container .newsList {
  display: flex;
  justify-content: space-between;
}
.container .newsList .button {
  text-transform: uppercase;
  padding: 15px 40px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 7px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  color: #fff;
  background: #ffc600;
  display: inline-block;
  margin-top: 30px;
}
.container .newsList > article {
  flex: 0 1 47%;
  padding: 25px;
  background: #fcfcfc;
  position: relative;
  border-radius: 7px;
}
.container .newsList > article:after {
  content: '';
  position: absolute;
  height: 37px;
  left: 0;
  right: 0;
  bottom: -37px;
  opacity: 0.33;
  background: no-repeat url(assets/images/review-shadow.png) center -14px / contain;
}
.container .newsList > article.withImage {
  padding-left: 250px;
}
.container .newsList > article.withImage > .image {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 225px;
  height: 100%;
}
.container .newsList > article > header > h2 {
  font-size: 20px;
  color: #ffc600;
  text-transform: uppercase;
}
.container .newsList > article > header > .date {
  font-size: 20px;
  color: #a9a9a9;
  margin: 15px 0 30px;
}
.container .newsList > article > .image {
  display: none;
}
.container .newsList > article > p {
  color: #1e232d;
  line-height: 2;
}
.container .singleArticle {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin: 30px 0;
}
.container .singleArticle > .image {
  flex: 0 0 225px;
  background: #fff no-repeat center / cover;
  height: 440px;
  border-radius: 7px 0 0 7px;
}
.container .singleArticle > .content {
  padding: 25px;
  line-height: 1.7;
  font-size: 16px;
  position: relative;
  background-color: #fcfcfc;
}
.container .singleArticle > .content:after {
  content: '';
  position: absolute;
  height: 37px;
  left: 0;
  right: 0;
  bottom: -37px;
  opacity: 0.33;
  background: no-repeat url(assets/images/review-shadow.png) center -14px / contain;
}
.container .singleArticle > .content > header {
  padding-bottom: 30px;
  line-height: initial;
}
.container .singleArticle > .content > header > h1 {
  font-size: 36px;
  color: #ffc600;
}
.container .singleArticle > .content > header > .date {
  font-size: 20px;
  color: #a9a9a9;
  margin-top: 15px;
}
.container .singleArticle > .content > .text img {
  height: auto;
  max-width: 100%;
}
.container .singleArticle > .author {
  flex: 0 0 300px;
  font-size: 16px;
  color: #1e232d;
  padding: 0 30px;
  text-align: center;
}
.container .singleArticle > .author > .avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
}
.container .singleArticle > .author > .avatar > img {
  max-width: 100%;
  display: block;
}
.container .singleArticle > .author > .username {
  font-weight: 700;
  margin-bottom: 15px;
}
.container .singleArticle > .author > .description {
  line-height: 1.5;
}
.container #breadcrumbs {
  color: #a9a9a9;
  margin-top: 30px;
}
.container #breadcrumbs .breadcrumb_last {
  color: #002bff;
}
.container .error {
  background-color: #fcfcfc;
  padding: 50px;
  font-size: 16px;
  font-weight: 500;
  position: relative;
}
.container .error:after {
  content: '';
  position: absolute;
  height: 37px;
  left: 0;
  right: 0;
  bottom: -37px;
  opacity: 0.33;
  background: no-repeat url(assets/images/review-shadow.png) center -14px / contain;
}
.container .error h1 {
  font-size: 36px;
  color: #ffc600;
  text-align: center;
}
.container .error p {
  margin: 25px 0;
  text-align: center;
  color: #4d4d4d;
}
@media screen and (max-width: 1200px) {
  .container {
    padding: 0 25px;
  }
  .container > .news {
    background-size: cover;
    justify-content: center;
  }
  .container > .news > .inner {
    flex: initial;
  }
  .container > .news > .inner:before {
    display: none;
  }
  .container > .news > .inner h2 {
    color: #fff;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
  }
  .container .newsList > article.withImage {
    padding-left: 25px;
  }
  .container .newsList > article.withImage > .image {
    display: none;
  }
}
@media screen and (max-width: 1024px) {
  .container > .news {
    height: 310px;
    background-position: center;
  }
}
@media screen and (max-width: 900px) {
  .container .singleArticle > .image {
    display: none;
  }
}
@media screen and (max-width: 780px) {
  .container > header .phone a {
    border-width: 2px;
    padding: 15px 30px;
  }
  .container > .call:before {
    display: none;
  }
  .container .newsList {
    flex-flow: column;
  }
  .container .newsList > article {
    flex-basis: 100%;
  }
  .container .newsList > article:not(:first-child) {
    margin-top: 30px;
  }
}
@media screen and (max-width: 650px) {
  .container > header {
    flex-direction: column;
    height: auto;
    padding: 20px 10px;
    background: #fcfcfc;
  }
  .container > header > .logo {
    font-size: 28px;
    margin-bottom: 25px;
  }
}
@media screen and (max-width: 480px) {
  .container {
    padding: 0;
  }
  .container > .info {
    padding: 25px;
  }
}
