/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body { background-color: #f8f5f2; color: #4A3328; }

hr { background-color: #DCD0C2; opacity: 1 !important; }

img { max-width: 100%; height: auto; }

a[href^="tel:"], a[href^="mailto:"] {
  color: #4A3328 !important;
  text-decoration: none !important;
}


header { background-color: #ffffff; }
header nav, header nav ul { padding: 0; margin: 0; }
header nav a.nav-link { color: #4A3328 !important; font-size: 1.25rem; font-weight: bold; }

/* FF7697 */

.btn-primary, .btn-primary:hover, .btn-primary:active, .btn-primary:visited {
    background-color: #FF7697 !important;
    border-color: #FF7697 !important;
    font-weight: bold;
	color: #ffffff;
}

    
@media screen and (min-width: 1200px) and (max-width: 1400px) { 

    header nav a.nav-link { 
        font-size: 1.03rem;
    }
    
}

@media screen and (min-width: 0px) and (max-width: 1199px) { 

    header nav a.nav-link { 
        font-size: 1.2rem;
    }
    
}

@media screen and (min-width: 0px) and (max-width: 1000px) { 

    header nav a.nav-link { 
        font-size: 1.1rem;
    }
    
}


@media screen and (min-width: 0px) and (max-width: 840px) { 

    header nav a.nav-link { 
        font-size: 0.95rem;
    }
    
}


header .logo img { max-width: 300px; height: auto; }

@media screen and (min-width: 0px) and (max-width: 600px) { 

    header .logo img { max-width: 220px; height: auto; }
    
}

.heading img { max-width: 250px; height: auto; }

footer { background-color: #DCD0C2; }
footer nav, footer nav ul { margin: 0; padding: 0; }
footer nav ul li { float: left; list-style: none; margin-right: 20px; }
footer nav ul li a { color: #4A3328; text-decoration: none; font-size: 1.1rem; font-weight: bold; }
footer nav ul li a:hover { color: #4A3328; text-decoration: none; }

.blr { border-left: solid 1px #DCD0C2; border-right: solid 1px #DCD0C2; padding-top: 30px; }

.contact-block { color: #4A3328; }
.contact-block a { color: #4A3328; text-decoration: none; font-size: 0.9rem; font-weight: bold; }
.contact-block h6 { margin-bottom: 0px; }
.contact-block i { color: #FE6E6D; margin-right: 6px; }
.telephone-number a { color: #55B700 !important; text-decoration: none !important; font-weight: bold; font-size: 1.6rem; }
.telephone-number a i { color: #55B700 !important; text-decoration: none !important; font-weight: bold; font-size: 1.6rem; }

.white-border-radius { background-color: #F9F9F9; border-radius: 10px; }
.border-sand { border: solid 2px #dbcfc0; }

/* Slick Styling */

.slick-prev, .slick-next { z-index: 99; background-color: #FFC2C2 !important; border-radius: 50px; width: 40px; height: 40px; }
.slick-prev { left: 5% }
.slick-next { right: 5%; }

.slick-prev:before { content: '\276E'; top: 7px; position: absolute; left: 13px; }
.slick-next:before { content: '\276F'; top: 7px; position: absolute; left: 15px; }


.slick-slider {
    margin:0 -5px;
}
.slick-slide {
    /* padding:10px; */
    text-align:center;
    margin-right:5px;
    margin-left:5px;
}


.page-title { background-color: #F9F9F9; }
.page-title h1 { margin: 0; padding: 80px 0; font-size: 1.5rem; font-weight: bold; }

@media screen and (min-width: 0px) and (max-width: 400px) { 
.page-title h1 { padding: 40px 0; }
}

.meta-date { color: #55B700; font-size: 1.25rem; font-weight: bold; }

.page-banner { background-repeat: no-repeat; background-position: center; background-size: contain; }
@media screen and (min-width: 0px) and (max-width: 767px) { 
    .page-banner {  background-position: center right; }
}

.page-banner-blog { background-image: url('../img/banners/banner-img-blog.png'); }
.page-banner-inner { background-image: url('../img/banners/banner-inner.png'); }
.page-banner-alt { background-image: url('../img/banners/banner-img-alt.png'); }
.page-banner-pet { background-image: url('../img/banners/banner-pet.png'); }
.page-banner-pillow { background-image: url('../img/banners/banner-pillow.png'); }
.page-banner-cushion { background-image: url('../img/banners/bg-made-cushion.png'); }
.page-banner-shape-cushion { background-image: url('../img/banners/banner-shape-cushion.png'); }
.page-banner-book { background-image: url('../img/banners/banner-book.png'); background-size: 233px 80px;  }
.page-banner-pillow-list { background-image: url('../img/banners/bg-pillow.png'); }
.page-banner-cushion-list { background-image: url('../img/banners/bg-cushion.png'); }
.page-banner-form-pillow { background-image: url('../img/banners/form-pillow.png'); }
.page-banner-form-shape { background-image: url('../img/banners/form-shape.png'); }


/* Order form */

.btn-secondary, .btn-secondary:hover, .btn-secondary:active, .btn-secondary:visited {
    background-color: #51b800 !important;
    border-color: #51b800 !important;
    font-weight: bold;
}

.white-block { background-color: #ffffff; border-radius: 10px; }

.order-form { background-color: #ffffff; border: solid 2px #dbcfc0; border-radius: 10px; margin-bottom: 40px; }

.order-form h3 { color: #ff7495; }
.pink { color: #ff7495; }
.green { color: #55b700; }

.order-form a { color: #51b800; }


.order-form input[type="text"], .order-form input[type="email"], .order-form textarea, .order-form select, .order-form input[type="radio"] { 

	border: solid 2px #dbcfc0; 
	
}

.order-form input[type="text"], .order-form input[type="email"], .order-form textarea, .order-form select { 
	border-radius: 0px;
	
}

.input-group-text { background-color: #dbcfc0; color: #000000; border-color: #dbcfc0; }

.bg-sand { background-color: #dbcfc0; border-top: solid 2px #ffffff !important; }
.border-sand { border-top: solid 2px #dbcfc0 !important; }
.border-none { border: none !important; }
.border-top-none { border-top: 0px !important; }

.order-form hr { border-top: dashed 2px #dbcfc0; background: none; margin: 40px 0; }

.order-form .row {  margin: 0px; }
.order-form .row .row { padding: 0px; border: none; }

.order-form .row .col-12 { padding: 28px; border-top: solid 2px #dbcfc0; }
.order-form .row .col-12 h3 { padding: 0; margin: 0; }

.order-form .row .col-md-3 { border-right: solid 2px #dbcfc0; padding:  26px 22px; text-align: center; border-top: solid 2px #dbcfc0; }
.order-form .row .row .col-md-3 { border: none; }

.order-form .row .col-md-9 { padding: 26px 22px; border-top: solid 2px #dbcfc0; }
.order-form .row .row .col-md-9 { border: none; padding: 0; }

@media screen and (min-width: 0px) and (max-width: 767px) { 

	.order-form .row .col-md-3 { border: none; padding: 6px; text-align: left; padding-left: 15px; border-top: solid 2px #dbcfc0; background-color: #dbcfc0; color: #000000; }

	.order-form .row .row .col-md-3 { background: none; padding: 0; margin: 0; }
}

.blog-thumbnail img { width: 100%; height: auto; }

/* Irodori Contact Form */

.irodori-contact-form input[type="text"], .irodori-contact-form input[type="email"], .irodori-contact-form textarea, .irodori-contact-form select { border: none; border-radius: 0px; }

.irodori-contact-form input[type="text"], .irodori-contact-form input[type="email"], .irodori-contact-form select { 
	padding-top: 12px; padding-bottom: 12px;	
}
.irodori-contact-form .row { padding: 0px 0; }
.irodori-contact-form .row .col-md-3 strong { font-size: 1.2rem; }

.icon img { max-width: 50px; height: 50px; }

.pink-block { background-color: #ff7697; color: #ffffff; padding: 15px; border-radius: 10px; }

.border-brown { border: solid 4px #dcd0c2; }

/* Form validation */

.is-invalid {
    border-color: #dc3545 !important;
}

.is-valid { 
    border-color: #198754 !important;
}

/* Form confirmation */

input.confirmation { 
	border: none !important; 
	padding: 0px !important;
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	-o-appearance: none;
	appearance: none;
}

select.confirmation { 
	border: none !important; 
	padding: 0px !important; 
	appearance: none !important; 
	background: #ffffff !important; 
}


.form-control.is-valid.confirmation, .was-validated.confirmation .form-control:valid.confirmation {
	background:none !important;
}

.confirmation.form-check, 
.confirmation .form-check-label, 
.confirmation.form-check-input, 
.confirmation.form-check-inline { 
	display: none !important; 
}

.radio-confirmation { display: none; }
.text-confirmation { display: none; }
.hide-on-confirmation { display: block; }
.show-on-confirmation { display: none; }

.order-form.confirmation .col-md-9, .order-form.confirmation .col-md-3 { 

	padding-top: 8px;
	padding-bottom: 8px;
	
}

#submit_order_form_confirmation { display: none; }
#edit_order_form { display: none; }

.form-control:disabled, .form-control[readonly] { background-color: #ffffff; }
input:disabled { background-color: #ffffff; }
textarea:disabled { background-color: #ffffff; }
select:disabled { background-color: #ffffff; }


.input-group input:disabled { text-indent: 10px; }


.input-group input { 
	border: solid 2px #dbcfc0 !important;
}

.form-success { display: none; }

/* Fix the input group append text */

.input-group-text { 
	padding: 0.44rem 0.75rem;
	border-radius: 0px;
}

/* Wrapping Styling */

.wrapping-image { width: 200px; height: auto; }
.wrapping-types { width: 300px; height: auto; }
.wrapping-btn { width: 340px; height: auto; margin-top: 50px; }
	
.large-pink { font-size: 1.6rem; color: #ee7292; font-weight: bold; }

/* Progress bar */

.progress { display: none; }

/* Order form success */

.form-success img { width: 500px; height: auto; max-width: 100%; }

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

