/*

Theme Name: Impupulaire
Author: modern standard
Version: 1.0

*/


/* - - - - Browser Reset - - - - */

html, body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

* {
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
}


/* - - - - Fonts - - - - */

@font-face {
    font-family: 'NeueHaasUnicaRegular';
    src: url('../fonts/NeueHaasUnicaRegular.ttf') format("truetype");
}

@font-face {
    font-family: 'NeueHaasUnicaItalic';
    src: url('../fonts/NeueHaasUnicaItalic.ttf') format("truetype");
}

@font-face {
    font-family: 'NeueHaasUnicaBold';
    src: url('../fonts/NeueHaasUnicaBold.ttf') format("truetype");
}

@font-face {
    font-family: 'NeueHaasUnicaBoldItalic';
    src: url('../fonts/NeueHaasUnicaBoldItalic.ttf') format("truetype");
}


/* - - - - Basic Styles - - - - */

body {
  font-family: 'NeueHaasUnicaRegular', Helvetica, sans-serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 1px;
  /*background-color: rgb(255, 227, 235);*/
  /*background-color: rgb(222, 249, 224);*/
}

strong, b {
  font-family: 'NeueHaasUnicaBold', Helvetica, sans-serif;
}

i, em {
  font-family: 'NeueHaasUnicaItalic', Helvetica, sans-serif;
}

a {
  color: rgb(0,0,0);
  text-decoration: none;
  font-weight: 400;
  -webkit-transition: color 0.2s linear;
  -moz-transition: color 0.2s linear;
  transition: color 0.2s linear;
}

a:hover {
  color: rgb(217,217,214);
}

a:focus {
  color: rgb(0,0,0);
}

p {
  margin: 0px;
  padding: 0 0 15px 0;
}

@media only screen and (min-width: 1420px) {

  body {
    font-size: 23px;
  }

}

@media only screen and (max-width: 640px) {

  body {
    font-size: 17px;
    line-height: 1.5;
  }

  p {
    margin: 0px;
    padding: 0 0 10px 0;
  }

}


/* - - - - Visibility - - - - */

.show {
  display: block;
}

.hide {
  display: none;
}


/* - - - - Layout - - - - */

#head {
  width: 100%;
  background-color: rgb(0,0,0);
  text-align: center;
  padding: 5px 0 8px 0;
  color: white;
  letter-spacing: 10px;
  text-indent: 10px;
}

#head a {
  color: white;
  overflow: hidden;
}

#head-compact {
  width: 100%;
  background-color: rgb(0,0,0);
  text-align: center;
  padding: 5px 0 8px 0;
  color: white;
  letter-spacing: 10px;
  text-indent: 10px;
  display: none;
}

#head-compact a {
  color: white;
  overflow: hidden;
}

#nav {
  width: 100%;
  text-align: center;
}

#nav div {
  width: 33.333333%;
  padding: 5px 0 8px 0;
  box-sizing: border-box;
  float: left;
  background-color: white;
  overflow: hidden;
}

#nav-compact {
  width: 100%;
  text-align: center;
  padding: 5px 0 8px 0;
  box-sizing: border-box;
  overflow: hidden;
  background-color: white;
  display: none;
}

#area-menu {
  width: 100%;
  text-align: center;
  -background-color: rgb(230,230,230);
  overflow: hidden;
}

#area-menu div:hover {
  background-color: none;
}

#area-menu div {
  width: 50%;
  padding: 5px 0 8px 0;
  box-sizing: border-box;
  float: left;
  overflow: hidden;
}

#content {
  width: 100%;
}

#content-text {
  width: 50%;
  padding: 5px 12px 8px 12px;
  box-sizing: border-box;
  float: left;
}

/*#content-text > div {
  width: 50%;
  padding: 0 15px 0 0;
  box-sizing: border-box;
  float: left;
}*/

#content-images {
  width: 50%;
  padding: 5px 12px 8px 12px;
  box-sizing: border-box;
  float: left;
}

#content-images img {
  width: 100%;
}

#description {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 15px 0;
  padding-left: 10px;
  width: 100%;
  border-left: 3px black solid;
}

#description p {
  padding: 0;
}

#img-description {
  font-size: 14px;
  line-height: 1.6;
  display: block;
}

@media only screen and (max-width: 960px) {

	#content-text, #content-images {
	  width: 100%;
	  padding: 5px 12px 8px 12px;
	  box-sizing: border-box;
	  float: none;
	}

}


@media only screen and (max-width: 640px) {

	#head {
    letter-spacing: 5px;
    text-indent: 5px;
	}

  #nav div {
    width: 100%;
  }

	#nav {
	  display: none;
	}

	#nav-compact {
	  display: block;
	}

  #content-text div {
    width: 100%;
    padding: 0;
    float: none;
  }

}


/* - - - - Navigation - - - - */

.active {
  font-weight: 600;
  color: rgb(128,128,128);
}


/* Hide nav on on scroll down */

.nav-up {
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  -o-transform: translateY(-100%);
  transform: translateY(-100%);
}


/* Table List */

table {
	width: 100%;
	text-align: left;
  border-collapse: collapse;
}

table th, table td {
  padding: 5px 12px 8px 12px;
  border-top: 1px solid rgb(0,0,0);
  border-bottom: 1px solid rgb(0,0,0);
  vertical-align: top;
}

/*
table td:nth-child(4) {
  white-space: nowrap;
}
*/

@media only screen and (max-width: 960px) {

	table td {
    width: auto;
	}

  table td:nth-child(4) {
    white-space: normal;
  }

}

@media only screen and (max-width: 640px) {

	table td:nth-child(3) {
    display: none;
	}

	table td:nth-child(4) {
    display: none;
	}

}

@media only screen and (max-width: 480px) {


}

.mobile {
  display: none;
}

.img-zoom {
  position: fixed;
  top: 10px;
  right: 10px;
  left: 10px;
  bottom: 10px;
  text-align: center;
  overflow: scroll;
  z-index: 999;
}

img.full {
  max-width: 1000px;
  height: auto;
  /* height: 100%;
  width: 100%;
  max-height: 100vh;
  max-width: 100vh;
  object-fit: contain; */
}

@media only screen and (max-width: 960px) {

  .mobile {
    display: block;
  }

  .desktop {
    display: none;
  }

  img.full {
  	display: none;
  }

}
