/* Theme Name: Logopeda Dorota Machno
Theme URI: https://logopeda-dorota-machno.pl
Author: WEB-TECH
Author URI: https://webtech.com.pl
Description: Motyw dla Pani Doroty Machno
Version: 1.0
License: GNU General Public License 
*/


:root {
  --main-color: #fafafa;
  --font-size: 15px;
  --font-family: 'Arial', sans-serif;
  --h-font-family: 'Verdana', sans-serif;
  --line-height: 27px;
}

body {
  margin: 0;
  padding: 0;
  margin: auto;
}

hr {
  margin-top: 10px;
  margin-bottom: 10px;
}


p,
li,
span,
input,
textarea,
strong,
a {
  text-decoration: none;
  line-height: var(--line-height);
  font-size: var(--font-size);
  font-family: var(--font-family);
  position: relative;
  color: black;

}

a {
  cursor: pointer;
}

strong {
  font-weight: bold;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-family: var(--h-font-family);
  position: relative;
  font-weight: 100;
  text-transform: uppercase;

}

div,
input,
select,
textarea {
  box-sizing: border-box;
  position: relative;
  font-family: var(--font-family);
}

.pea_cook_wrapper p, .pea_cook_more_info_popover_inner p{
  color: white!important;
  font-size: 13px;
  bottom: 0!important;;
}
.pea_cook_wrapper p a {
  color: white!important;
  font-size: 13px;
  font-weight: bold;
}

/* HELPERS */
.container {
  max-width: 1180px;
  margin: auto;
}


/* HELPERS */

.social a{
  display: flex;
  align-items:center
}
.social img{
  max-width: 24px;
  margin-right: 5px;
}
header {
  height: 100px;
}

header>.container {
  display: flex;
  align-items: center;
  height: 100%;
}

header>.container .logo {
  flex-basis: auto;
  margin-top: 10px;
}

header>.container .social {
  margin-left: 10px;
  flex-basis: auto;
}

header>.container .main-navigation {
  flex: 1 1 auto;
}

header .mobile_menu {
  display: none;
}

header .main-navigation ul {
  list-style-type: none;
  display: flex;
  justify-content: flex-end;
}

header .main-navigation ul li {
  margin: 0 10px;
}

header .main-navigation ul li.current_page_item a {
  font-weight: bold;
}

header .main-navigation ul li a {
  text-transform: uppercase;
  color: black;
  position: relative;
  font-size: 13px;
  font-weight: 400;
}

header .main-navigation ul li a:after {
  content: '';
  width: 0;
  height: 1px;
  background: black;
  position: absolute;
  display: block;
  transition: .4s;

}

header .main-navigation ul li a:hover:after {
  width: 100%;
}

header .logo hr {
  margin: 5px 0;
  border: 1px solid black;
}


.banner {
  height: 400px;
  background-image: url('assets/images/banner.webp');
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 100% 28%;
}

.banner h1,
.single-post .banner h1 {
  background-color: rgba(255, 255, 255, 0.767);
  padding: 15px 30px;
  text-align: center;
}

.single-post .banner h1 {
  font-size: 25px;
  line-height: 40px;
}

.logo h1,
.logo h2 {
  text-transform: uppercase;

}

.logo h1 {
  font-size: 32px;
}

.logo h2 {
  font-size: 12px;
  margin-top: -5px;
  font-weight: bold;
}


/* GENERAL PAGE STYLE  */
.page h2.slogan {
  text-align: center;
  padding: 50px;
  background: var(--main-color);
  box-shadow: 0 14px 10px -15px lightgrey;
}

/* GENERAL PAGE STYLE  */

.home .about_me {
  padding: 50px 0;
}

.home .about_me>.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.home .about_me>.container>div {
  flex: 1 1 50%;
}

.home .about_me>.container>div img {
  width: 100%;
  height: 700px;
  object-fit: cover;
  object-position: top;
}

.home .about_me>.container>div:nth-of-type(1) {
  padding: 40px 40px 0 0;
}

.home .about_me>.container>div:nth-of-type(1) blockquote {
  width: 100%;
  margin: 0;
  padding: 30px;
  box-sizing: border-box;
  position: relative;
}

.home .about_me>.container>div:nth-of-type(1) blockquote p {
  font-style: italic;
  text-align: center;
  line-height: 40px;
  color: black;
}

.home .about_me>.container>div:nth-of-type(1) blockquote p:nth-of-type(1) {
  font-size: 30px;
}



.home .about_me>.container>div:nth-of-type(1) a.about_me_link {
  padding: 10px 20px;
  text-transform: uppercase;
  transition: .4s;
  background-color: rgb(230, 230, 230);
  margin: 30px 0;
  display: block;
  width: 100px;
  text-align: center;
}

.home .about_me>.container>div:nth-of-type(1) strong a {
  font-weight: bold;
}



.home .about_me>.container>div:nth-of-type(2) .frame {
  border: 1px solid white;
  position: absolute;
  height: 80%;
  width: 90%;
  left: 5%;
  top: 5.5%;
  z-index: 1;
}

.home .offer {
  text-align: center;
  padding: 100px 0;
  background: rgb(250, 250, 250);
}


.home .offer>.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  margin-top: 30px;
}

.home .offer>.container a {
  flex: 1 1 33%;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home .offer>.container div {
  flex: 1 1 40%;
  padding: 20px;
  margin: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid lightgray;
  transition: .3s;
}

.home .offer>.container div:hover {
  box-shadow: 0 0 16px -7px lightgrey;
}

.home .offer>.container div a h3 {
  text-transform: uppercase;
  margin: 0;
  font-size: 15px;
 
}

.home .cta {
  height: 250px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.home .cta a {
  font-size: 40px;
  margin-top: 20px;
}



/* ABOUT ME PAGE  */

.page-id-8 .about_me {
  padding: 50px 0 0 0;
}

.page-id-8 .about_me>.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.page-id-8 .about_me>.container>div {
  flex: 1 1 50%;
}

.page-id-8 .about_me>.container>div img {
  width: 100%;
  height: 953px;
  object-fit: cover;
  object-position: top;
}

.page-id-8 .container>div:nth-of-type(2) .frame {
  border: 1px solid white;
  position: absolute;
  height: 86%;
  width: 90%;
  left: 5%;
  top: 4.5%;
  z-index: 1;
}

.page-id-8 .about_me>.container>div:nth-of-type(1) {
  padding: 40px 50px;
}

.page-id-8 .about_me>.container>div:nth-of-type(1) .contact {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.page-id-8 .about_me>.container>div:nth-of-type(1) .contact a {
  padding: 10px 20px;
  transition: .4s;
  background-color: rgb(230, 230, 230);
  margin: 30px 0;
  display: block;
  text-align: center;
}

.page-id-8 .cite {
  padding: 30px 0;
  background: rgb(250, 250, 250);
}

.page-id-8 .cite blockquote {
  padding: 30px;
  box-sizing: border-box;
  position: relative;
  max-width: 500px;
  margin: auto;
}

.page-id-8 .cite blockquote p {
  font-style: italic;
  text-align: center;
  line-height: 40px;
  color: black;
}

.page-id-8 .cite blockquote p:nth-of-type(1) {
  font-size: 30px;
}



.page-id-8 .cite>a {
  padding: 10px 20px;
  text-transform: uppercase;
  transition: .4s;
  background-color: rgb(230, 230, 230);
  margin: 30px 0;
  display: block;
  width: 100px;
  text-align: center;
}

.page-id-8 .cite strong a {
  font-weight: bold;
}



.page-id-8 .diploma {
  padding: 100px 0;
  text-align: center;
}

.page-id-8 .diploma .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 50px;
}

.page-id-8 .diploma .container > p  {
  height: 400px;
  flex: 1 1 20%;
  margin: 10px;
  border: 1px solid lightgray;
}

.page-id-8 .diploma .container > p  a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ABOUT ME PAGE  */


/* GALLERY PAGE  */
.page-id-10 #content>.container {
  margin: 40px auto;
}

/* GALLERY PAGE  */

/* OFFER PAGE  */


.page-id-9 #content .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  margin: 30px auto;

}

.page-id-9 #content .container a {
  flex: 1 1 33%;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-id-9 #content .container div {
  flex: 1 1 40%;
  padding: 20px;
  margin: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid lightgray;
  transition: .3s;
}

.page-id-9 #content .container div:hover {
  box-shadow: 0 0 16px -7px lightgrey;
}

.page-id-9 #content .container div a h3 {
  text-transform: uppercase;
  margin: 0;
  font-size: 15px;
  text-align: center;
}

/* OFFER PAGE  */

/* BLOG PAGE  */
.blog #primary,
.single #primary {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 40px auto;
}


.blog #primary #blog-content,
.single #primary #blog-content {
  flex: 1 1 50%;
  padding-right: 30px;
}

.blog #primary #blog-content>article,
.single #primary #blog-content>article {
  flex: 1 1 50%;
  box-sizing: border-box;
  justify-content: start;
  padding: 10px;
}

.blog #primary #blog-content h2,
.single #primary #blog-content h2 {
  font-size: 20px;
}

.blog #primary #blog-content img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}


.single #primary #blog-content img {
  width: 100%;
  height: auto;
}

.blog #primary aside,
.single #primary aside {
  flex-basis: 320px;
}

.blog #primary aside img,
.single #primary aside img {
  width: 100%;
  height: 100%;
}

.blog #primary aside h3.side-title,
.single #primary aside h3.side-title {
  background-color: var(--main-color);
  padding: 10px;
}

.blog #primary aside ul,
.single #primary aside ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog #primary aside .sidebar>div,
.single #primary aside .sidebar>div {
  margin: 20px 0;
}

.blog #primary aside .sidebar>div:nth-of-type(1),
.single #primary aside .sidebar>div:nth-of-type(1) {
  margin: 0;
}

.blog #primary aside .sidebar .wp-calendar-table,
.single #primary aside .sidebar .wp-calendar-table {
  width: 100%;
  padding: 20px 0;
  margin-top: 20px;
}

.blog #primary aside .sidebar .wp-calendar-table td,
.single #primary aside .sidebar .wp-calendar-table td {
  text-align: center;
}

.blog #primary aside .sidebar .wp-calendar-table #today,
.single #primary aside .sidebar .wp-calendar-table #today {
  background-color: var(--main-color);
}


/* CONTACT PAGE */
.page-id-12 #content .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 40px 0;
}

.page-id-12 #content .container>div {
  flex: 1 1 45%;
}

.page-id-12 #content .container>.left a {
  display: block;
  margin: 10px 0;
}

.page-id-12 #content .container h2 {
  font-size: 20px;
}

.page-id-12 #content .container .right form input,
.page-id-12 #content .container .right form textarea {
  width: 100%;
  padding: 5px;
  border: 1px solid lightgray;
  max-height: 150px;
}

.page-id-12 #content .container .right form input[type=submit] {
  width: 100px;
  display: block;
  cursor: pointer;
}

.page-id-12 #content .container .right form p {
  margin: 0;
}



/* CONTACT PAGE */


/* BLOG PAGE  */


/* TOTOP */
.toTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1;
  padding: 10px;
  cursor: pointer;
  color: var(--main-color);
}

.toTop i {
  font-size: 40px;
  color: black;
}

/* TOTOP */

footer {
  background-color: var(--main-color);
  padding: 50px 0 10px 0;
}

footer>.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

footer>.container>div {
  flex: 1 1 30%;
  padding: 0 30px 0 0;
}

footer>.container>div:nth-of-type(3)>div:nth-of-type(1) a {
  display: block;
}

footer>.container>div:nth-of-type(3)>div:nth-of-type(1) p {
  margin: 0;
}

footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer h2 {
  font-size: 17px;
}



@media all and (max-width : 800px) {
  .frame {
    display: none;
  }

  header {
    height: auto;
  }

  header .mobile_menu {
    display: block;
  }

  header .mobile_menu i {
    font-size: 30px;
    font-style: inherit;
  }

  header .main-navigation,
  header .social {
    display: none;
  }

  header>.container {
    flex-direction: column;
  }

  header>.container .mobile_menu {
    margin: 20px 0;
  }

  header .main-navigation ul {
    flex-direction: column;
  }

  footer>.container,
  .home .about_me>.container>div:nth-of-type(1),
  .blog #primary,
  .single #primary {
    flex-direction: column;
    padding: 10px;
  }

  footer>.container>div {
    margin-bottom: 10px;
  }

  .page-id-8 .diploma .container {
    flex-direction: column;
  }

  .blog #primary #blog-content>article,
  .single #primary #blog-content>article aside {
    flex-basis: 100%;
    padding: 0;
  }

  .blog #primary #blog-content,
  .single #primary #blog-content {
    padding: 0;
  }

  .home .about_me>.container>div:nth-of-type(1) a.about_me_link {
    width: 100%;
    box-sizing: border-box;
  }

  .home .offer>.container a,
  .page-id-9 #content .container a {
    padding: 0;
  }

  .home .offer>.container div,
  .page-id-9 #content .container div {
    flex-basis: 100%;
  }

  .page-id-9 #content .rest_offer {
    padding: 10px;
  }

  .page-id-8 .about_me>.container>div:nth-of-type(1) {
    padding: 10px;
  }

  .page-id-8 .about_me>.container>div:nth-of-type(1) .contact a {
    width: 100%;
    margin: 5px 0;

  }

  .page-id-8 .diploma .container>p {
    overflow: hidden;
  }

  .page-id-8 .diploma .container>p>a img {
    object-fit: fill;
  }

  .page-id-12 #content .container {
    flex-direction: column;
    padding: 10px;
  }

  .privacy-policy #content {
    padding: 10px;
  }

  p,
  li,
  span,
  input,
  textarea,
  strong,
  a,
  footer h2,
  .cta h3 {
    font-weight: bold;
    font-size: 16px;
  }

  .page h2.slogan {
    font-weight: bold;
    font-size: 20px;
    padding: 20px;
  }

  h1,
  h2 {
    font-weight: bold;
  }

  .logo {
    margin: 5px 0;
  }

  .logo h2 {
    font-size: 13.5px;
  }

  .home .offer>.container div a h3,
  .page-id-9 #content .container div a h3{
    font-weight: bold;
  }


}