/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

@import "generic.css";
@import "properties.css";
@import "property.css";

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,
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,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* End of css reset */

/* brand: #008fcb */

body,
html {
  height: 100%;
}

body {
  min-height: 100vh;
  display: grid;
  min-width: 320px;

  font-family: "PT Sans", sans-serif;
  grid-template-rows: 95px 1fr;
}

body > main {
  display: flex;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
  overflow-y: auto;
}

@media screen and (max-width: 895px) {
  body {
    grid-template-rows: 110px 1fr;
  }
}

/* Contact Us */

#contact-form > form {
  display: grid;
  box-sizing: border-box;
  padding: 0 40px;
  margin: 0 auto;
  grid-template-columns: 1fr;
  grid-gap: 15px;
  text-align: center;
  width: 60vw;
}

#contact-form > form > input {
  padding: 10px;
  text-align: center;
}

#contact-form > form > textarea {
  padding: 10px;
  text-align: center;
}

#contact-form > form > img {
  margin: 0 auto;
}

#contact-form .actions-contact-us {
  display: flex;
  padding: 20px;
  align-items: center;
  justify-content: center;
}

#contact-form .actions-contact-us > input {
  border-radius: 0;
  background: #008fcb;
  border: none;
  color: white;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  opacity: 1;
  transition: all 0.3s;
}

#contact-form .actions-contact-us > input:hover {
  opacity: 0.7;
}

@media screen and (max-width: 895px) {
  #contact-form > form {
    grid-template-columns: 1fr;
    width: 90vw;
  }
}

/* Listing pages */

.button {
  border-radius: 0;
  background: #008fcb;
  border: none;
  color: white;
  padding: 5px 8px;
  font-size: 12px;
  cursor: pointer;
  opacity: 1;
  transition: all 0.3s;
}

.email_friend,
.contact_us_form {
  padding: 20px;
  display: grid;
  grid-gap: 10px;
  grid-template-columns: 1fr;
}

.email_friend li,
.contact_us_form li {
  display: grid;
  grid-gap: 3px;
  grid-template-columns: 1fr;
}

.email_friend li label,
.contact_us_form li label {
  text-align: center;
  font-size: 14px;
}

#captcha_number {
  display: flex;
  align-items: center;
}
