/*
Theme Name: Whyte Child
Theme URI: http://demo.korra.io/whyte/
Template: whyte
Version: 1.0.0
Description: Child Theme for Whyte
Author: korra.io
Author URI: http://korra.io/
Text Domain: whyte
*/



/*------------------------------------------------------------
* Theme customization starts here
*------------------------------------------------------------*/

/****************
*
* HEADER
*
****************/

/* Smaller logo */
#header .korra-logo {
  max-width: 300px;
  margin: 0 auto 25px;
  padding: 0;
}

/* Remove Breadcrumbs */
.breadcrumbs {
  display: none;
}

/* Search and Social Links */
.header__location {
  padding: 15px 30px;
}

@media screen and (min-width: 768px) {
  .header__location_inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    height: 20px;
  }
}
ul.list-inline li {
  display: inline;
}
.header__location__socials {
  max-width: 30%;
}
ul.list-inline {
  text-align: left;
  padding-left: 0;
}
.header__location__socials a {
  padding: 5px 10px;
  width: 35px;
  height: 35px;
  display: inline-block;
  text-align: center;
  line-height: 1.7;
  font-size: 15px;
}

/* FIX: Dropdown indicator */
.menu .menu-item-has-children > a i.has-dropdown-icon:before,
.korra-nav--mobile-btn i.has-dropdown-icon:before {
    height: 0.4em;
}

@media screen and (max-width: 787px) {
  .header__location__socials {
    display: none;
  }
}

/****************
*
* FOOTER
*
****************/

/* Customize Footer */
.footer {
  background: #c2aa8e;
  margin-top: 0 !important;
}

.footer__top, .footer__bottom {
  padding: 1.5em 0;
}

/* Recude padding within footer */
@media only screen and (min-width: 961px) {
  .footer__widgets {
    padding: 25px 25px !important;
  }
}

/* Change placeholder color */
.footer .wpcf7-form-control-wrap input::placeholder,
.footer .wpcf7-form-control-wrap textarea::placeholder {
  color: white !important;
}



/****************
*
* HOME
*
****************/

/* Set max-width for tiles on homepage */
.wp-tiles-container {
  max-width: 1400px;
  margin: auto;
}

/* WordPress tiles on homepage */
.wp-tiles-tile-bg::after {
  display: block;
  content: "";
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to top, rgba(51, 51, 51, 0.5), transparent 50%);
}
.wp-tiles-tile-with-image .wp-tiles-byline-title {
  font-size: 20px;
}
.wp-tiles-byline-wrapper {
  text-align: center;
}
.wp-tiles-byline {
  max-height: 60% !important;
}

.home .main-content {
  padding-top: 2em;
}

@media screen and (max-width: 780px) {
  .wp-tiles-container {
    display: none;
  }

  .home .korra-sideblock {
    display: none !important;
  }
}

/* Fix Layout for Category Gallery */
@media screen and (min-width: 768px) and (max-width: 1400px) {
  .gallery--fluid .gallery__items .gallery-item {
    width: 23.6% !important;
  }
}

a:link {color:#c39385;} /* unvisited link */
a:visited {color:#d69c86;} /* visited link */
a:hover {color:#e1c5b0;} /* mouse over link */


/****************
*
* SINGLE POST
*
****************/

/* Dropcap */
.single-post .editor-content > p:first-of-type:first-letter {
  z-index: -1;
  color: #eee;
  margin-left: -5px;
  margin-right: -15px;
  font-family: "Playfair Display",sans-serif;
  font-size: 100px;
  font-weight: 400;
  line-height: 0.9;
  float: left;
  width: 80px;
}

/* Comments customization */
.post__comments.korra-fullwidth.grey-mode {
  background: transparent;
}
.comment__list .comments > .comment,
.comment__list .comments > .pingback {
  width: 75%;
}
.comment-respond textarea,
.comment-respond input[type=text] {
  background: #f7f7f7;
}

/* Switch margin for comments to top becaus of reorder */
.comment__list {
  margin-top: 2.8em;
  margin-bottom: 0;
}

h1, .h1 {
    font-size: 70px;
}

/* Heading Mobile*/
@media (max-width: 599px) {
    h1, .h1 {font-size: 40px;}
}

/* Signature Image for posts */
.author-signature {
    max-width: 200px;
}

/****************
*
* ARCHIVES
*
****************/

.korra-cover.rich-cover .korra-cover__media + h1 {
    font-size: 60px;
    margin-bottom: 1.25em;
}

/****************
*
* SEARCH
*
****************/

.search-results .main-content {
    padding-bottom: 50px;
}
.header__location .search-form input {
    font-family: "Oswald";
    letter-spacing: 1px;
}

/****************
*
* TYPOGRAPHY
*
****************/

/* Remove capitalization */
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  text-transform: none;
}

/****************
*
* PLUGINS
*
****************/

/* Cookie Notice */
#cookie-notice .cn-button {
  padding: 0 15px;
  height: 2.5em;
  font-size: .85em;
  line-height: 2.5em !important;
  display: inline-flex;
}

/* Center Reward Style shop */
.bo-garden {
  margin: auto !important;
}

/* Contact Form 7 */
.editor-content .wpcf7-form-control.wpcf7-textarea {
  min-height: 350px;
}
