/* CSS Document */

/*
Theme Name: Optimismo Child Theme
Template: optimismo
Author: Taya Sourikov
Text Domain: rhoda-textdomain
Domain Path: /languages
Version: 1.0.1
*/
:root {
    --wp--style--global--content-size: 700px;
    --wp--style--global--wide-size: 1200px;
}
body.home .wp-block-post-title{
  display: none;
}
body.blog > .wp-site-blocks > .wp-block-group{
  min-height: auto!important;
}
body.blog > .wp-site-blocks > .wp-block-group > .wp-block-spacer{
  display: none;
}
body.blog .home-post-template li{
  /*border-bottom: solid 1px #e5e5e5;*/
  border-bottom: 1px dotted #c94483;
  padding-bottom: 1.65em;
  margin-bottom: 1.5em;
}

body.blog .home-post-template a{
  font-size: 1.2em;
}
main{
  min-height: 55vh;
}
header{
  /*
  background: url("images/cover.jpg") no-repeat center center;
  background-size: cover;
  height: 25vw;
  
  display: flex;
  justify-content: center;
  align-items: center;
  */
  background: #ef5da2;
}
header a{
  font-size: 1.2em;
}
hr{
  margin-block-start: 2.5em!important;
  margin-block-end: 2.5em!important;
  border-top: 1px dotted #c94483;
}
.entry-content ul + p > img{
  margin: 2em 0 0 0;
}
@media(min-width: 768px){
  header a{
    color: #ffffff!important;
  }
}
header h1{
  visibility: hidden;
}
.inner-button{
  display: block;
  width: min-content;
  text-decoration: none;
  color: #ffffff;
  background: #ef5da2;
  border-radius: 1em;
  padding: 0.5em 1em;
  margin: 2em auto 4em auto;
  white-space: nowrap;
}
.inner-button:focus,
.inner-button:hover{
  background: #c94483;
}
.entry-content h1:not(:first-child){
  margin-top: 2em;
}
.wp-block-comments{
  display: none;
}
body.single-post time{
  display: none;
}
.wpcf7-form{
  margin-top: 1em;
  font-size: 1.35em;
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1.5em 2em;
}

.wpcf7-form input[type=text],
.wpcf7-form input[type=email],
.wpcf7-form input[type=date],
.wpcf7-form input[type=tel],
.wpcf7-form textarea{
  width: calc(100% - 4px);
  display: block;
  font:normal 1em 'Jost', sans-serif;
  line-height: 1.7em;
  padding: 0.1em 0.1em 0.1em 0.1em;
  margin: 0;
  background: #ebebeb;
  border: solid 1px #cccccc;
  outline: none;
  -webkit-appearance: none;
  border-radius: 0;
}

.wpcf7-form div.field_wrapper,
.wpcf7-form div.radio_wrapper,
.wpcf7-form div.textarea_wrapper{
  position: relative;
  margin: 0;
/*
  position: absolute;
  left: 0;
  top: 0em;
  */
}
.wpcf7-form p{
  margin: 0;
}
.wpcf7-form div.field_wrapper label,
.wpcf7-form div.textarea_wrapper label,
.wpcf7-form div.radio_wrapper > label{
  position: absolute;
  top: 0.6em;
  left: 0.45em;
  color: #777777;
  font-size: 0.7em;
  letter-spacing: 0.05em;
  line-height: 1.5em;
  transition:0.5s var(--ease-out-bounce) all; 
  -moz-transition:0.5s var(--ease-out-bounce) all; 
  -webkit-transition:0.5s var(--ease-out-bounce) all;
}
.wpcf7-form div.field_wrapper label.focused,
.wpcf7-form div.textarea_wrapper label.focused{
  top: -1.35em;
  font-size: 0.6em;
}
@media (min-width: 768px){
  .wpcf7-form div.field_wrapper label[for="your-date"]{
    display: none;
  }
}
/*
.wpcf7-form div.field_wrapper{
  width: 75%;
  display: inline-block;
}
*/
.wpcf7-submit{
  font-size: 0.65em;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 3em;
  padding: 0.15em 0.85em 0 0.85em;
  /*margin-left: 1em;*/
  background: #ef5ea3;
  color: #ffffff;
  border: none;
  outline: none;
  font-variant: small-caps;
  min-width: 6em;
  
  /*
  position: absolute;
  right: 0;
  top: 0em;
  */
  cursor: pointer;
  -webkit-appearance: none;
  border-radius: 0;
}
.wpcf7-submit:hover,
.wpcf7-submit:focus{
  background: #c94483;
}
.wpcf7-not-valid-tip{
  font-size: 0.65em;
}
.wpcf7 form .wpcf7-response-output{
  padding: 0.2em 0.2em;
  margin: 2em 0;
}
@media(max-width: 767px){
  /*
  header{
    height: 35vw;
  }
  */
  .wpcf7-form{
    grid-template-columns: 100%;
  }
  /*
  .wpcf7-form div.field_wrapper{
    width: 70%;
  }
  */
  .wpcf7-form div.field_wrapper label, .wpcf7-form div.textarea_wrapper label, .wpcf7-form div.radio_wrapper > label{
    top: 0.7em;
  }
  .wpcf7-submit{
    line-height: 3em;
  }
  .wpcf7-form input[type=date].wpcf7-date{
    height: 1.7em!important;
    -webkit-appearance: none; /* webkit browsers */
    -moz-appearance: none; /* firefox browser */
    appearance: none;
    border-radius: 0;  
  }
}