/*
Theme Name: Cristine De Bem Canto
Theme URI: http://felipevicente.com.br/
Description: Theme desenvolvido para uso exclusivo do site Cristine
Author: Felipe Vicente http://felipevicente.com.br
Author URI: https://wordpress.org/
Version: 2.5
License: MIT
License URI: https://google.com.br
Tags: blog, fotografia
Text Domain: cristine
*/

@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400');

@font-face {
    font-family: 'robotobold';
    src: url('assets/fonts/roboto-bold-webfont.woff2') format('woff2'),
         url('assets/fonts/roboto-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'robotolight';
    src: url('assets/fonts/roboto-light-webfont.woff2') format('woff2'),
         url('assets/fonts/roboto-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'robotoregular';
    src: url('assets/fonts/roboto-regular-webfont.woff2') format('woff2'),
         url('assets/fonts/roboto-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

/* =Reset default browser CSS. Based on work by Eric Meyer.
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  background: transparent;
  border: 0;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}

iframe {
  max-width: 100%;
}

b, strong {
  font-family: "robotobold";
}

body {
  line-height: 1;
  background-color: #f3e3e9;
  color: #006837;
  font-family: 'robotolight', sans-serif;
  padding: 0px;
  margin: 0;
  font-weight: 100;
}

h1, h2, h3, h4, h5, h6 {
  clear: both;
  font-family: 'Roboto', sans-serif;
  font-weight: normal;
}

ol, ul {
  list-style: none;
}

blockquote {
  quotes: none;
}

blockquote:before, blockquote:after {
  content: '';
  content: none;
}

del {
  text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

a, a:hover, a:active, a:visited {
  color: #006837;
  text-decoration: none;
}

a img {
  border: none;
}

* {
	transition: all .4s linear;
}

main {
	padding: 20px 60px;
	display: flex;
	box-sizing: border-box;
	min-height: calc(100vh - 122px);
}

section {
  display: block;
  width: 100%;
}

strong {
  font-family: "robotobold", sans-serif;
  font-weight: bold;
}

/* --- HEADER --- */
#header {
  margin: 20px 60px 0;
  padding: 20px 0;
  border-bottom: 2px solid #ECC5CB;
  display: flex;
  box-sizing: border-box;
  justify-content: space-between;
}

div.header__logo {
  display: flex;
}

a.header__cristine {
  display: block;
  font-size: 34px;
  letter-spacing: 6px;
  font-family: 'roboto', sans-serif;
  font-weight: 100;
  line-height: 0.5;
  width: 200px;
}

a.header__cristine img {
  width: 100%;
}

a.header__de {
  font-size: 23px;
  font-family: 'Roboto', sans-serif;
  font-weight: lighter;
  display: block;
  padding-left: 4px;
}

#header menu {
  display: flex;
  margin: 20px 0 0 0;
  padding: 0;
  font-size: 20px;
  font-family: 'robotolight', sans-serif;
  font-weight: lighter;
}

#header menu nav {
  margin: 0;
}

#header menu nav:last-child {
  margin: 0 0 0 20px;
}

#header menu nav a {
  margin: 0 30px;
  font-family: 'Roboto', sans-serif;
  font-weight: lighter;
}

#header menu nav a:last-child {
  margin: 0;
}

/* --- SOBRE --- */

.sobre__dados {
  display: block;
  font-family: 'robotobold', sans-serif;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 20px;
}

.sobre__dados span {
  display: block;
}

.sobre__content {
  font-size: 16px;
  display: flex;
}

.sobre__content.small {
  text-align: justify;
  font-size: 18px;
  line-height: 1.3;
  display: none;
}

.sobre__content a {
  text-decoration: underline;
}

.sobre__content .column {
  flex: 1 1 50%;
  margin-right: 60px;
  text-align: justify;
  line-height: 1.2;
}

.sobre__content .column:last-child {
  margin-right: 0;
}

/* --- PERÍODOS --- */

#periodos {
  display: flex;
  width: 100%;
  justify-content: space-between;
  flex: 1 1 100%;
  position: relative;
  align-content: flex-start;
  align-items: flex-start;
  padding-top: 30px;
}

.periodos__list {
  display: flex;
  width: 100%;
}

.periodos__periodo {
  display: flex;
  justify-content: center;
  align-items: center;
  /* height: 100%; */
  background-size: cover;
  flex: 1 1 50%;
  margin-right: 10px;
  position: relative;
  background-position: center center;
}

.periodos__periodo img {
  width: 100%;
}

.periodo__title {
  color: #ECC5CB;
  padding: 10px;
  font-size: 24px;
  font-family: 'robotolight', sans-serif;
  font-weight: 100;
  position: relative;
  transform: translate(0,6px);
}

.periodo__title:after {
  border-bottom: 1px solid #ECC5CB;
  content: "";
  width: 100px;
  display: flex;
  margin: 10px auto;
}

.periodo__mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 104, 55, .35);
  opacity: 0;
}

.periodos__periodo:hover .periodo__mask {
  opacity: 1;
}

.periodos__periodo:hover .periodo__title {
  transform: translate(0, 0);
}

.periodos__periodo:last-child {
	margin-right: 0;
}

/* --- PERIODO --- */

.single__periodo__title {
  width: 100%;
  text-align: center;
  height: auto;
  padding: 0 0 20px 0;
  font-family: 'Roboto', sans-serif;
  font-weight: normal;
  color: #ECC5CB;
  font-size: 18px;
}

.colecao__list {display: flex;flex: 1 1 100%;}

.colecao__column {
  display: flex;
  flex: 0 1 33%;
  margin-right: 20px;
  flex-wrap: wrap;
  flex-flow: column;
}

.colecao__list.small .colecao__column {
  flex: 0 1 50%;
}

.colecao__list.medium .colecao__column {
  flex: 0 1 33%;
}

.colecao__list.large .colecao__column {
  flex: 0 1 20%;
}

.colecao__column:last-child {
  margin-right: 0;
}

.colecao__list__item {display: block;align-items: center;justify-content: center;position: relative;margin-bottom: 20px;height: auto;}

.colecao__list__mask {position: absolute;left: 0;top: 0;right: 0;bottom: 0;background: rgba(0, 104, 55, .35);display: flex;justify-content: center;align-items: center;opacity: 0;}

.colecao__list__title {
  color: #ECC5CB;
  padding: 10px;
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  font-weight: normal;
  position: relative;
  transform: translate(0,6px);
  text-align: center;
  font-weight: bold;
}

.colecao__list__title:after {
  border-bottom: 1px solid #ECC5CB;
  content: "";
  width: 100px;
  display: flex;
  margin: 10px auto;
}

.colecao__list__item__bg {
  display: block;
  width: 100%;
}

.colecao__list__item:hover .colecao__list__mask {
  opacity: 1;
}

.colecao__list__item:hover .colecao__list__title {
  transform: translate(0, 0);
}

/* --- COLEÇÃO --- */

.colecao__description {
  text-align: justify;
}

.colecao__description p {
  margin: 0;
  display: block;
  line-height: 1.4;
}

.colecao__description a {
  text-decoration: underline;
}

.photo__list {align-items: flex-start;flex-flow: row;flex-wrap: wrap;align-content: stretch;}

.photo__list__item {
    display: flex;
    flex: 0 0 auto;
    width: 33%;
    float: left;
    align-items: center;
}

.photo__list__item__bg {display: flex;width: 100%;flex: 0 0 auto;float: left;}

/* --- NOT FOUND --- */
#notfound {
  display: flex;
  justify-content: center;
  align-content: center;
  flex: 1 1 100%;
  align-self: center;
}

/* --- MEDIAQUERIES --- */

@media (min-width: 1890px) {
  .colecao__list.small {
    display: none;
  }
  .colecao__list.medium {
    display: none;
  }
  .colecao__list.large {
    display: flex;
  }
}

@media (max-width: 1890px) {

  .colecao__list.small {
    display: none;
  }
  .colecao__list.medium {
    display: flex;
  }
  .colecao__list.large {
    display: none;
  }

  .sobre__content.small {
    display: none;
  }

  .sobre__content.medium {
    display: flex;
  }

}

@media (max-width: 640px) {

  /* Lightbox */
  .lb-nav a.lb-next, .lb-nav a.lb-prev {
    position: absolute;
    top: -40px;
    height: 40px;
    opacity: 1 !important;
    display: block !important;
  }

  main {
    padding: 20px;
  }

	#header {
		flex-wrap: nowrap;
		justify-content: space-between;
		margin: 20px 20px 0;
	}

	div.header__logo {
  	justify-content: flex-start;
  	flex: 1;
  	height: auto;
 }

  a.header__cristine {
    width: 140px;
  }

	#header menu {
	flex-wrap: nowrap;
	flex: 1;
	margin: 16px 0 0 0;
	font-size: 14px;
	justify-content: flex-end;
	}

	#header menu nav {
		margin: 0;
	}

	#header menu nav:last-child {
		margin-left: 20px;
	}

	#periodos {
		flex-wrap: wrap;
    flex-flow: column;
    justify-content: flex-start;
	}

  .sobre__content.small {
    display: block;
  }

  .sobre__content.medium {
    display: none;
  }

  .periodos__list {
    flex-wrap: wrap;
  }

	.periodos__periodo {
    flex: 100%;
    margin: 0 0 20px 0;
    display: flex;
 }

  /* .colecao__list__title: {
    display: none;
  } */

  .colecao__list.small {
    display: flex;
  }
  .colecao__list.medium {
    display: none;
  }
  .colecao__list.large {
    display: none;
  }

  .colecao__list__title {
    font-size: 12px;
    font-weight: lighter;
  }

  .colecao__list__title:after {
    display: none;
  }

}
