/* Container definitions */
.container {
  max-width: 700px;
  margin: auto;
}


/* Logo */
.logo img {
  width: 2em;
  height: 2em;
  position: fixed;
  left:0em;
  top:0em;
  padding:1em;
  margin:0em;
  background-color: #FAFAFA;
  border-top-left-radius: 0;
  border-bottom-right-radius: 2em;
  z-index: 11;
  transition: 0.3s;
}
.logo img:hover {
  background-color: #EEE;
}
.tooltip .tooltiptext {
  visibility: hidden;
  background-color: #F0F0F0;
  color: #326647;
  text-align: center;
  border-radius: 1em;
  position: fixed;
  left: 6em;
  top: 1.5em;
  height: 1em;
  padding: .5em 1em;
  font-size: .8em;
  line-height: .75em;
}
.tooltip:hover .tooltiptext {
  visibility: visible;
}

/* Footer */
footer {
  width: 100%;
  margin: 0 0;
  color: #9A9A9A;
  font-family: sofia-pro, sans-serif;
  font-size: 16px;
  text-align: center;
  background: #FAFAFA;
}
footer p {
  padding: 2rem 0;
  margin-bottom: 0;
}
.footer-logo {
  width: 30px;
  margin-top: 10px;
}

/* Home header */
.header {
  text-align: center;
  padding:0;
  border-top-left-radius: 4.5em;
  border-top-right-radius: 4.5em;
  margin-bottom: 1.5em;
}
.header .avatar {
  height: 8em;
  width: 8em;
  border-radius: 50%;
  background-position: center;
  background-size: cover;
  margin: auto;
  margin-top: 1.5em;
  border: .5em solid #FAFAFA;
}
.header h1 {
  aline-height: 1.2em;
  afont-size: 2.5em;
  margin:0;
  padding:0;
  color: #222;
  font-weight: 600;
	position: relative;
	afont-family: bree;
	top:.15em;
}
.header .description {
  afont-size: 1.2em;
  aline-height: 1.25em;
  font-size: 1.2em;
  line-height: 1.75em;
  color: #555;
	font-weight: 320;
	afont-family: bree;
  text-align: left;
  margin-top:1.2em;
	padding-left: 1em;
	padding-right: 1em;
	padding-bottom: 1.2em;
}

/* Pagination */
.pagination {
  text-align: center;
  font-family: bree;
  font-weight: 300;
  color: #AAA;
}

/* Blog - post */
.created_at {
  display: block;
  text-align: center;
  font-family: bree;
  font-weight: 300;
  font-style: italic;
  color: #999;
}
.blog-post {
  margin-bottom: 1em;
}
.blog-post img {
  width: 90%;
  margin-left: 5%;
  border-top-left-radius: 1.5em;
  border-top-right-radius: 1.5em;
  box-shadow: 0px 0px 5px #DDD;
}
.blog-post-card {
  position: relative;
  top: -3em;
  min-height: 2em;
	background-color: #F0F0F0;
  padding-left: 5%;
	padding-right: 5%;
	padding-top: .5em;
	padding-bottom: .5em;
	border-radius: 1.5em;
  abox-shadow: 0px 0px 1px #E0E0E0;
}
.blog-post-card h2 {
	color: #333;
	border-top: 2px solid #777;
	border-bottom: 2px solid #777;
	text-align: center;
	font-family: bree;
	font-weight: 400;
	margin: .5em 0;
	padding: .5em 0;
	font-size: 1.5em;
	line-height: 1em;
	margin-top:.6em;
	margin-bottom: 1em;
}
.blog-post-card p {
	line-height: 1.5em;
	font-size: 1em;

}

/* Post */
.back {
  color: #9A9A9A;
  font-family: sofia-pro, sans-serif;
  font-size: .75em;
  line-height: 2em;
  margin: 0;
  padding:0;
}
.back:before {
  content: '←';
  display: inline-block;
  position: relative;
  margin-right: 8px;
}
.back a {
  color: #9A9A9A;
}
.back a:hover {
  text-decoration: underline;
}
.post h2 {
	color: #333;
	border-top: 2px solid #777;
	border-bottom: 2px solid #777;
	text-align: center;

	font-family: bree;
	font-weight: 400;

	afont-size: 2em;
	aline-height: 1.5em;
  margin-top:-4px;
  margin-bottom: 0;
  margin-bottom: .75em;

  abackground-color: rgba(255, 0, 0, 0.025);
  background-color: rgba(255,255,255,.5);
  padding: .75em 0;
  color: #333;
}
.post .lead {
  margin: 0;
  margin-top: -2px;
  margin-bottom: 1.25em;
  abackground-color: rgba(0, 255, 0, 0.125);
  font-size: 1.2em;
  line-height: 1.75em;
	font-family: bree;
  font-weight: 320;
}
.post .painting{
  width: 100%;
  border-radius: 1.5em;
}
.post .painting-description{
  font-size: .5em;
  margin: 1.5em;
}
.post .post-body h4 {
  font-size: 1.5em;
  padding-bottom: .25em;
  padding-top: .25em;
  border-left: .5em solid #EEE;
  margin-left: -1.5em;
  font-weight: 700;
  padding-left: 1em;
  margin-bottom: 1em;
  color: #333;
}

/* Socios */
.socios {
  position: fixed;
  right: 0;
  top: 0;
  padding: .5em 1em;
  background: red;
  border-bottom-left-radius: 1em;
  background: #FFF;
  z-index: 100;
  height: 2em;
}
.socios i {
  padding: .5em;
}

.stooltip .stooltiptext {
  visibility: hidden;
  background-color: #F0F0F0;
  color: #326647;
  text-align: center;
  border-radius: 1em;
  position: fixed;
  right: 0;
  top: 4em;
  height: 1em;
  padding: .5em 1em;
  font-size: .8em;
  line-height: .75em;
  width: auto;
}
.stooltip:hover .stooltiptext {
  visibility: visible;
}


/* Homepage */
body {
  margin:0;
  padding: 0;
}
html {
  margin: 0;
  padding: 0;
}

/* Home header */
.home-header {
  margin: 0;
  padding: 0;
  text-align: center;
  background: #FAFAFA;
}
.home-header .avatar {
  background-color: #FAFAFA;
  height: 140px;
  width: 140px;
  border-radius: 50%;
  background-position: center;
  background-size: cover;
  margin: .5em auto;
  border: .5em solid #FAFAFA;
}
.home-header h1, h2 {
  color: #326647;
}
.mod {
  width: 100%;
  display: inline-block;
  margin: 0;
  padding: 4.5em 0;
}
.module {
  width: 100%;
  display: inline-block;
  background: rgba(250,250,250,.95);
  color: #326647;
  margin: 0;
  padding: 4.5em 0;
}
.module.contrast {
  background: rgba(50, 102, 71, .95);
  color: #FAFAFA;
}
.module p{
  font-size: 1em;
  line-height: 1.5em;
  font-family: sofia-pro, sans-serif;
  text-align: justify;
  text-justify: inter-word;
  margin-bottom:1em;
}

.offers {
  max-width: 1400px;
  margin: auto;
  padding: 1em 0;
}
.offer {
  display: block;
  width:40%;
  float: left;
  text-align: center;
  margin: 1em 5%;
  padding: 2em 0;
  text-justify: none;
  background: #FAFAFA;
  border-radius: 1em;
}
.offer p {
  font-size: 1em;
  padding: 0em;
  margin: auto;
  max-width: 90%;
  margin-bottom: 1em;
}

.aboutme {
  background-color: white;
  background-image: url(/images/bgfoto.jpg);
  background-repeat: no-repeat, repeat;
  background-position: 100% 100%;
  background-size: 25% auto;
  margin-top: 0;
}

.ccfotos {
  width: 100%;
  height: 10em;
  background-color: white;
  background-image: url(/images/ccfoto.jpg);
  background-repeat: no-repeat, repeat;
  background-position: 100% 100%;
  background-size: 10em 10em;
  margin-top: 0;
}

@media screen and (max-width: 1200px) {
  .aboutme {
    background-image: url(/images/ccfoto.jpg);
    background-position: 100% 95%;
  }
}

@media screen and (max-width: 1000px) {
  .aboutme {
    background-image: url(/images/ccfoto.jpg);
    background-position: 95% 95%;
    background-size: 10em 10em;
    padding-bottom: 14em;
  }
}


/* Extras */
.linework {
  background-image:repeating-linear-gradient(#FAFAFA, #FAFAFA 1.45em, #E0E0E0 1.5em);
  background: #FAFAFA;
}
.light-linework {
  background-image:repeating-linear-gradient(#FFF, #FFF 1.45em, #CCC 1.5em);
  background: #FFF;
}
.italic {
  font-style: italic;
}
#myVideo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height:auto;
  z-index: -1;
}

.modvid {
  position: relative;
  width: 100%;
}

.midvid {
  width: 100%;
  A-webkit-clip-path: inset(25% 0 0 0);
  Aclip-path: inset(25% 0 25% 0);
  z-index: -1;
  object-fit: cover;
  height: 22em;
  filter: saturate(10%) blur(0px);
  -webkit-filter: saturate(10%) blur(0px);
  margin: -10px 0;
}

.bree {
  font-family: bree;
}

/* Media Queries */
@media (max-width: 767px) {
  .home, .blog-main, .container {
    padding: 0 20px;
  }
  .post-part, .blog-main {
    font-size: 18px;
  }
  .post-part pre {
    font-size: 14px;
  }
  h1 {
    font-size: 36px;
    line-height: 45px;
  }
  h2 {
    font-size: 28px
  }
  h3 {
    font-size: 18px;
  }
  .blog-header .wrapper {
    width: 80%;
  }
  .blog-header {
    padding: 5px;
  }
  .blog-header.home {
    background-image: none;
  }
  .blog-post-meta, .blog-post-meta {
    font-size: 16px;
  }
}
@media screen and (min-width: 768px) {
  /* Blog post images */
  .post-part.single .block-quotation ,  .blog-main.single .block-quotation {
    width: 130%;
    margin: 0 -15% 2rem -15%;
    font-size: 30px;
    padding: 0;
  }
  .block-img.emphasized {
    width: 130%;
    margin: 0 -15% 2rem -15%;
  }
  .post-part.single .block-citation, .blog-main.single .block-citation {
    margin: 20px 0;
  }
  .blog-post-meta {
    font-size: 16px;
  }
}
@media screen and (max-width: 768px) {
  .titler {
    visibility: visible;
  }
  .logo {
    left: -.5em;
    top: -.5em;
  }
  .offers {
    padding: 0;
    margin:0;
  }

  .offer {
    width:90%;
  }

  .offer p {
    margin:0;
  }

  .midvid {
    display: none;
  }
  .stooltip:hover .stooltiptext,
  .tooltip:hover .tooltiptext {
    visibility: hidden;
  }
}

/* vh vw fallback for ios7 */
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait) {
  .main .blog-header.single, .blog-header.home {
    height: 1024px;
  }
  .main .blog-main.single .image-full-width {
    width: 768px;
  }
  .main .post-part.single .image-full-width {
    width: 768px;
  }
}
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:landscape){
  .main .blog-header.single, .blog-header.home {
    height: 768px;
  }
  .main .blog-main.single .image-full-width {
    width: 768px;
  }
  .main .post-part.single .image-full-width {
    width: 768px;
  }
}
@media screen and (device-aspect-ratio: 40/71) {
  .main .blog-header.single, .main .blog-header.home {
    height: 530px;
  }
  .main .blog-main.single .image-full-width {
    width: 530px;
  }
  .main .post-part.single .image-full-width {
    width: 530px;
  }
  .error-container {
    padding: 23px 58px;
  }
}
