/*
Theme Name: Oliva Theme
Description: Тема для сайта олива.москва
Version: 1.0
Author: Arisolle
*/

/* 
COLORS
grey: #909090; rgb(144,144,144);

FONTS
font-family: 'Open Sans', sans-serif;
*/


/* GENERAL */
@font-face {
    font-family: 'Oswald';
    src: url('fonts/OswaldMedium.eot');
    src: url('fonts/OswaldMedium.eot') format('embedded-opentype'),
         url('fonts/OswaldMedium.woff2') format('woff2'),
         url('fonts/OswaldMedium.woff') format('woff'),
         url('fonts/OswaldMedium.ttf') format('truetype'),
         url('fonts/OswaldMedium.svg#OswaldMedium') format('svg');
}
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,500,700&display=swap&subset=latin,cyrillic');
/* @import url('https://fonts.googleapis.com/css?family=Open+Sans:400,500,700&family=Oswald:500,600&display=swap&subset=latin,cyrillic'); */

* {
  margin: 0;
  padding: 0; 
  outline: none;
}
body {
  font-size: 18px;
  font-family: 'Open Sans', sans-serif;
  color: #000;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-color: #fff;
}
h1 {
  font-size: 36px;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  color: #909090;
  line-height: 1.2;
}
h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 48px;
  color: #000;
  font-weight: 500;
  line-height: 1.2;
}
h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 30px;
  color: #000;
  font-weight: 500;
  line-height: 1.2;
}
h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  color: #909090;
  font-size: 24px;
  letter-spacing: 5px;
  text-transform: uppercase;
  line-height: 1.2;
}
h5 {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  color: #000;
  font-weight: 500;
  line-height: 1.2;
}
h6 {

}
p {
  margin-bottom: 15px;
}
.main-area {
  min-height: 500px;
  padding-top: 50px;
}
a {
  text-decoration: none;
  color: #909090; 
  transition: all 0.5s ease 0s;  
}
a:hover {
  text-decoration: underline;
  color: #000;   
}
ul, ol {
  margin-left: 30px;
  margin-bottom: 15px;
  padding-left: 0;
}
ul ul, ol ol {
  margin-top: 5px;
}
.wp-block-embed-rutube .wp-block-embed__wrapper {
    height: 0px;
    padding-bottom: 56.2%;
    position: relative;
    margin: 50px 0;
}
.wp-block-embed-rutube .wp-block-embed__wrapper iframe {
    width: 100%;
    height: 100%;
    position: absolute;
}
.wrapper-page {
    background: url(images/back-1-tr.jpg) 0 20% no-repeat;
    background-size: 100% auto;
    background-color: #fff;
}
.wrapper-single {
    background: url(images/back-2-tr.jpg) 0 0 no-repeat, url(images/back-5-tr.jpg) 0 80% no-repeat;
    background-size: 100% auto;
    background-color: #fff;
}
.wrapper-cat {
    background: url(images/back-3-tr.jpg) 0 15% no-repeat;
    background-size: 100% auto;
    background-color: #fff;
}
.wrapper-home {
    background: url(images/back-2-tr.jpg) 0 0 no-repeat, url(images/back-5-tr.jpg) 0 60% no-repeat;
    background-size: 100% auto;
    padding-top: 100px;
}



/* HEADER */
.top-line {
    height: 50px;
    background: #909090;
    color: #fff;
}
.top-line-1 ul {
    margin: 13px 0 0 0;
}
.top-line-1 ul li {
    list-style-type: none;
    margin: 0 10px 0 0;
}
.top-line-1 ul li a {
    color: #fff;
    transition: color 0.5s linear 0s; 
    font-size: 16px;
}
.top-line-1 ul li a:hover {
    color: #000;
    text-decoration: none;
}
.top-line-1 ul li i {
    margin-right: 5px;
}
.top-line-2 ul {
    text-align: right;
    margin: 10px 0 0 0;
}
.top-line-2 ul li {
    display: inline-block;
    list-style-type: none;
    margin: 0 5px 0 0;
}
.top-line-2 ul li a {
    display: block;
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 15px;
    transition: all 0.5s linear 0s;
    text-align: center;
}
.top-line-2 ul li a:hover {
    background-color: #909090;
}
svg.soc-icon {
    fill: #909090;
    stroke: #909090;
    transition: all 0.5s linear 0s;
    margin-top: 1px;
}
svg.soc-icon:hover {
    fill: #000;
    stroke: #000;
}
.menu-line {
    height: 85px;
    background-color: #fff;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}
.logo-top {
    display: block;
    width: 350px;
    height: 35px;
    margin-top: 0px;
}



/* HOME */
section {
    margin-top: 100px;
}
#about {
    margin-top: 0px;
}
#about h2 {
    margin-bottom: 20px;
}
.titles {
    text-align: center;
}
#uslugi .nav .nav-link.active {
  background: #909090;
}
#uslugi .nav .nav-link {
  background: #f0f0f0;
  transition: .5s;
}
#uslugi .nav .nav-link.active h5, .nav-pills .show > .nav-link h5 {
  color: #fff;
}
.tab-radius {
  border-radius: 0px 0px 0px 80px !important;
}
.btn-primary {
  background: #909090;
  color: #fff;
  border: 0;
  border-radius: 15px;
  box-shadow: 5px 5px 20px 0px rgba(0, 0, 0, 0.3);
  transition: all 0.5s linear 0s;
}
.btn-primary:hover {
  background: #000;
  text-decoration: none;
  transform: scale(1.1); 
}
.project-block {

}
.project-item {
  position: relative;
  display: block;
  padding: 15px;
  color: #000;
  overflow: hidden;
}
.project-item .project-text {
  position: absolute;
  width: 85%;
  height: 100%;
  top: 0;
  left: 100%;
  background: rgba(255, 255, 255, .8);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 50px !important;
  padding-right: 100px !important;
  opacity: 0;
  transition: .5s;
}
.project-item .project-text h3 {
  font-size: 24px;
  color: #000;
  padding-bottom: 10px;
}
.project-item .project-text p {
  font-size: 16px;
}
.project-item:hover .project-text {
  opacity: 1;
  left: 15%;
}




/* CONTENT */
/*.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  text-align: center;
}*/
.parallax {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  text-align: center;
}
.parallax h1 {
  margin-top: 20%;
  color: #fff;
  font-size: 80px;
}
.main-area {
    font-size: 18px;
}
.main-area h1 {
    letter-spacing: 5px;
}
.single-area {
    min-height: 1600px;
    //box-shadow: 0 -10px 0 rgba(0, 0, 0, 0.5);
}
.category-content {

}
.category-content h1 {
    text-align: center;
}
.main-area h2 {
    font-size: 30px;
    margin: 0 50px 50px
}
.main-area h3 {
    margin: 50px 0 30px;
    font-size: 28px;
    color: #909090;
}
.post-image img {
    width: 100%;
    height: auto;
}
.wp-block-responsive-lightbox-gallery {
    margin: 50px 0 0;
}
.post-links > div {
    //border: 1px #909090 solid;
}


/* PAGES */





/* FOOTER */
footer {
    background-color: #fff;
    color: #fff;
}
.foot-area {
  background-color: #000;
}
footer h4 {
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-top: 10%;
  font-weight: 500;
  font-size: 18px;
  color: #909090;
}
footer ul {
    margin: 0 0 0 0;
}
footer ul li {
    list-style-type: none;
    margin: 0 0 10px 0;
}
footer a {
    color: #fff;
    transition: letter-spacing 0.5s ease 0s; 
}
footer a:hover {
    color: #909090;
    letter-spacing: 1px;
    text-decoration: none;
}
.foot-block-2 a::before, .foot-block-3 a::before, .foot-block-4 a::before {
  position: relative;
  content: "\f105";
  font-family: "font awesome 5 free";
  font-weight: 900;
  color: #909090;
  margin-right: 10px;
}
.foot-block-2 a, .foot-block-3 a, .foot-block-4 a {
  
}
.foot-block-2 a:hover, .foot-block-3 a:hover, .foot-block-4 a:hover {
  
}
footer ul li i {
    margin-right: 15px;
    color: #909090;
}
.foot-social {
    margin: 30px 0 0 0;
}
.foot-social li {
    display: inline-block;
    list-style-type: none;
    margin: 0 5px 0 0;
}
.foot-social li a {
    display: block;
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 15px;
    transition: all 0.5s linear 0s;
    text-align: center;
}
.foot-social li a:hover {
    background-color: #000000;
}
.foot-social svg.soc-icon {
    fill: #909090;
    stroke: #909090;
    transition: all 0.5s linear 0s;
    margin-top: 1px;
}
.foot-social svg.soc-icon:hover {
    fill: #fff;
    stroke: #fff;
}
.copyright {
    color: #909090;
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(255, 255, 255, .3);
}




@media screen and (min-width: 1600px) {

}

@media screen and (max-width: 1199px) and (min-width: 992px) {
.project-item .project-text h3 {
  font-size: 20px;
}
footer a {
  font-size: 16px;
}
.project-text p {
  font-size: 14px;
}
.project-item .project-text {
  padding-bottom: 30px !important;
  padding-right: 70px !important;
}
.wrapper-page {
    background: url(images/back-1-tr.jpg) 0 20% no-repeat;
    background-size: 130% auto;
    background-color: #fff;
}
.wrapper-single {
    background: url(images/back-2-tr.jpg) 0 0 no-repeat, url(images/back-5-tr.jpg) 0 80% no-repeat;
    background-size: 130% auto;
    background-color: #fff;
}
.wrapper-cat {
    background: url(images/back-3-tr.jpg) 0 15% no-repeat;
    background-size: 130% auto;
    background-color: #fff;
}
.wrapper-home {
    background: url(images/back-2-tr.jpg) 0 0 no-repeat, url(images/back-5-tr.jpg) 0 60% no-repeat;
    background-size: 130% auto;
    background-color: #fff;
}
}

@media screen and (max-width: 991px) and (min-width: 768px) {
.project-item .project-text h3 {
  font-size: 20px;
}
.project-text p {
  font-size: 14px;
}
.project-item .project-text {
  padding-bottom: 30px !important;
  padding-right: 70px !important;
}
.wrapper-page {
    background: url(images/back-1-tr.jpg) 0 20% no-repeat;
    background-size: 190% auto;
    background-color: #fff;
}
.wrapper-single {
    background: url(images/back-2-tr.jpg) 0 0 no-repeat, url(images/back-5-tr.jpg) 0 80% no-repeat;
    background-size: 190% auto;
    background-color: #fff;
}
.wrapper-cat {
    background: url(images/back-3-tr.jpg) 0 15% no-repeat;
    background-size: 190% auto;
    background-color: #fff;
}
.wrapper-home {
    background: url(images/back-2-tr.jpg) 0 0 no-repeat, url(images/back-5-tr.jpg) 0 60% no-repeat;
    background-size: 190% auto;
}
}

@media screen and (max-width: 991px) {
section {
    margin-top: 70px;
}
.project-item .project-text {
  opacity: 1;
  left: 15%;
}
.project-item:hover .project-text {
  opacity: 0;
  left: 100%;
}
}

@media screen and (max-width: 767px) {
section {
    margin-top: 50px;
}
.parallax h1 {
  margin-top: 30%;
  font-size: 50px;
}
}


@media screen and (max-width: 767px) and (min-width: 576px) {
.wrapper-page {
    background: url(images/back-1-tr.jpg) 0 20% no-repeat;
    background-size: 250% auto;
    background-color: #fff;
}
.wrapper-single {
    background: url(images/back-2-tr.jpg) 0 0 no-repeat, url(images/back-5-tr.jpg) 0 80% no-repeat;
    background-size: 250% auto;
    background-color: #fff;
}
.wrapper-cat {
    background: url(images/back-3-tr.jpg) 0 15% no-repeat;
    background-size: 250% auto;
    background-color: #fff;
}
.wrapper-home {
    background: url(images/back-2-tr.jpg) 0 0 no-repeat, url(images/back-5-tr.jpg) 0 60% no-repeat;
    background-size: 250% auto;
}
}


@media screen and (max-width: 575px) {
.logo-top {
    display: block;
    width: 200px;
    height: 30px;
    margin-top: 0px;
}
.foot-block-1 {
    text-align: center;
}
.parallax h1 {
  margin-top: 50%;
  font-size: 40px;
}
.wrapper-page {
    background: url(images/back-1-tr.jpg) 0 20% no-repeat;
    background-size: 300% auto;
    background-color: #fff;
}
.wrapper-single {
    background: url(images/back-2-tr.jpg) 0 0 no-repeat, url(images/back-5-tr.jpg) 0 80% no-repeat;
    background-size: 300% auto;
    background-color: #fff;
}
.wrapper-cat {
    background: url(images/back-3-tr.jpg) 0 15% no-repeat;
    background-size: 300% auto;
    background-color: #fff;
}
.wrapper-home {
    background: url(images/back-2-tr.jpg) 0 0 no-repeat, url(images/back-5-tr.jpg) 0 60% no-repeat;
    background-size: 300% auto;
}
}

@media screen and (max-width: 500px) {
h1 {
  font-size: 28px;
}
h2 {
  font-size: 28px;
}
.main-area h2 {
  font-size: 24px;
}
h4 {
  font-size: 20px;
}
.project-item .project-text h3 {
  font-size: 20px;
  padding-bottom: 10px;
}
.project-item .project-text {
  font-size: 16px;
  padding-bottom: 20px !important;
  padding-right: 20px;
  line-height: 1.1;
}
}

@media screen and (max-width: 400px) {

}
