/*
Theme Name: Goodscourpads
Author: Mikko de Castro
Author URI: http://www.mikkodc.com
Description: The Official Goodscourpads Redesigned Template.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: goodscourpads
*/


/* Color Palletes
Primary Color: #448976
Yellow: #ffea00
Red: #ff0000
*/


/* Fonts */

@font-face {
    font-family: 'QuickOne';
    src: url(../fonts/QUICKONE.TTF);
}


/* Global Styles */

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Lato', sans-serif;
    height: 100vh;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'QuickOne', sans-serif;
}

h2.section-title {
    color: #000;
}

/* Header */

header {
    background-color: #448976;
    width: calc(100% + 10px);
    position: relative;
    border-bottom-right-radius: 10% 100%;
    border-bottom: 10px solid #ffea00;
    border-right: 10px solid #ffea00;
    margin-bottom: 6px;
    z-index: 2;
}
header:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% + 17px);
    height: calc(100% + 17px);
    border-bottom-right-radius: 10% 100%;
    border-bottom: 10px solid #ff0000;
    border-right: 10px solid #ff0000;
    z-index: -1;
}
header .header-link {
  display: block;
}
header .header-link:hover,
header .header-link:focus  {
  text-decoration: none;
}
header #logo {
    /*width: 165px;
    height: 165px;
    border: 5px solid #fff;*/
    border-radius: 50%;
    margin: 15px 0;
    margin-right: 20px;
    float: left;
}
header h1 {
    float: left;
    color: #fff;
    /*margin-top: 80px;*/
    margin-top: 30px;
}

/* Background Slider */
body.home {
  position: relative;
}
.slider-images {
  position: absolute;
  left: 0;
  right: 0;
  height: 100vh;
}
.slider-item {
  position: relative;
  height: 100vh;
  width: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-filter: brightness(50%);
  filter: brightness(50%);
}
.slider-item img {
}

/* Sidebar */

#main-nav {
    height: calc(100vh - 112px);
    background-color: rgba(0, 0, 0, 0.5);
    border-right: 1px solid #fff;
    padding: 30px 0 0;
    min-height: 100%;
}

#main-nav .list-unstyled {
    margin-right: 55px;
}

#main-nav a {
    color: #fff;
    display: block;
    font-size: 24px;
    padding: 20px 70px;
    transition: 0.5s ease-out all;
    font-family: 'QuickOne', sans-serif;
}

#main-nav .active a,
#main-nav a:hover {
    background-color: #448976;
}

#main-nav .nav-footer {
    margin: 70px;
}

#main-nav .nav-footer a {
    background-color: transparent;
    font-size: 12px;
    color: #fff;
    display: inline;
    padding: 0;
    font-weight: 200;
    font-family: 'Lato', sans-serif;
}

#main-nav .nav-footer a.link-special {
    font-weight: bold;
}

#main-nav .nav-footer a.link-special:hover,
#main-nav .nav-footer a.link-special:focus{
    text-decoration: none;
}

#main-nav .nav-footer p {
    color: #fff;
    margin-bottom: 20px;
    font-weight: 200;
    font-size: 12px;
}

#main-nav .nav-footer p b {
    font-weight: 400;
}

.page #main-nav {
    /*height: calc(100vh - 200px);*/
    height: calc(100vh - 112px);
    background-color: rgba(0, 0, 0, 0.9);
    border-right: 1px solid #fff;
    padding: 30px 0 0;
    min-height: 100%;
}

/* Hero Title */
#hero-title {
    height: calc(100vh - 112px);
    position: relative;
}
#hero-title h2 {
    position: relative;
    font-size: 36px;
    width: 100%;
    color: #fff;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Lato', sans-serif;
    font-style: italic;
    text-transform: uppercase;
}
#main-content {
    /*height: calc(100vh - 200px);*/
    height: calc(100vh - 112px);
    overflow-y: scroll;
}

/* Mobile Menu */
.menu-wrap {
    position: fixed;;
    width: 300px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.90);
    overflow: hidden;
    z-index: 1001;
    padding: 2.5em 1.5em 0;
    border-right: 5px solid #fff;
    transform: translate3d(-320px,0,0);
    transition: all 0.4s cubic-bezier(0.7,0,0.3,1);
}

.menu-wrap .menu {
    height: 100%;
}

.menu-wrap .menu a {
    display: block;
    padding: 0.8em;
    color: #ffffff;
    font-size: 24px;
    font-family: 'QuickOne', sans-serif;
    transition: all 0.4s cubic-bezier(0.7,0,0.3,1);
}

.menu-wrap .menu a:hover {
    color: #448976;
    text-decoration: none;
}

.close-button {
    width: 1.7em;
    height: 1.7em;
    position: absolute;
    right: 1.7em;
    top: 1.7em;
    overflow: hidden;
    text-indent: 1em;
    font-size: 0.75em;
    border: none;
    background: transparent;
    color: transparent;
}

.close-button::before,
.close-button::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 100%;
    top: 0;
    left: 50%;
    background: #bdc3c7;
}

.close-button::before {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.close-button::after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.menu-button {
    display: none;
    right: 0;
    position: fixed;
    z-index: 1000;
    margin: 1em;
    padding: 0;
    width: 2.5em;
    height: 2.25em;
    border: none;
    text-indent: 2.5em;
    font-size: 1.5em;
    color: transparent;
    background: transparent;
    outline: 0;
}

.menu-button::before {
    position: absolute;
    top: 0.5em;
    right: 0.5em;
    bottom: 0.5em;
    left: 0.5em;
    background: linear-gradient(#ffffff 20%, transparent 20%, transparent 40%, #ffffff 40%, #ffffff 60%, transparent 60%, transparent 80%, #ffffff 80%);
    content: '';
}

.show-menu .menu-wrap {
    transform: translate3d(0,0,0);
}

/* Pages */

/* Homepage */
body.home {
    background: url(../images/frontpage-bg.jpg) center center no-repeat;
}

/* Company */
.page #main-content {
    background-color: #fff;
}
.page #main-content > .row {
    margin: 60px 80px;
}

/* Sider */
.slider-nav {
    margin-top: 10px;
}
.slider-nav div {
  outline: none;
}
.slider-nav .slick-track .slick-slide {
    padding: 0 5px;
}

/* Grid */
.filter-buttons {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    padding-left: 15px;
    margin-bottom: 30px;
}
.filter-buttons li {
    display: inline-block;
    position: relative;
}
.filter-buttons li:not(:first-child) {
    margin-left: 5px;
    padding-left: 17px;
}
.filter-buttons li:not(:first-child):before {
    content: '•';
    position: absolute;
    left: 0;
    top: 5px;
}
.filter-buttons li a {
    font-size: 24px;
    font-family: 'QuickOne', sans-serif;
    color: #000;
    cursor: pointer;
}
.grid .grid-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.grid .grid-item:not(:nth-last-child(-n+4)) {
    margin-bottom: 20px;
}
.grid .grid-item .img-overlay {
    display: none;
    position: absolute;
    background-color: rgba(0,0,0,0.5);
    top: 0;
    left: 15px;
    right: 15px;
    height: 100%;
}
.grid .grid-item:hover .img-overlay {
    display: block;
}
.grid .grid-item .img-overlay .product-desc {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0 10px;
    text-align: center;
    color: #fff;
}
.product-desc .title {
  font-weight: bold;
  font-size: 16px;
}
.product-desc .desc {
  font-style: italic;
  font-weight: 200;
}

.modal-header {
  border: none;
  padding: 0;
  position: relative;
  z-index: 9999999999;

}
.modal-header .close {
  opacity: 0.9;

}
.modal-header span {
  background-color: #fff;
  width: 23px;
  height: 23px;
  display: inline-block;
  border-radius: 50%;
  position: absolute;
  right: -10px;
  top: -10px;
  -webkit-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.75);
  -moz-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.75);
  box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.75);
}

/* Contact */
#main-content p.intro a {
    font-weight: 700;
    font-style: italic;
    color: #000;
    text-decoration: underline;
}
.contact-form {
    margin-top: 60px;
}
.contact-form form input,
.contact-form form textarea {
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 0;
    border-bottom: 1px dashed #000;
    transition: 0.3s ease-in-out all;
}
.contact-form form input:focus,
.contact-form form textarea:focus {
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: #448976;
    border-right: 1px dashed #ccc;
    border-left: 1px dashed #ccc;
}
.contact-form button {
  margin-top: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.btn-default {
  background-color: #448976;
  color: #fff;
  border-radius: 0;
  border: none;
  text-shadow: none;
  box-shadow: none;
  font-weight: bold;
  padding: 10px 20px;
  transition: 0.3s ease-in-out all;
}
.btn-default:hover {
  background-color: #000;
  color: #fff;
}

/*
 * MEDIA
 * QUERIES
*/

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

}

@media screen and (max-width: 991px) {
    header,
    header:after {
        border-radius: 0;
        border-right: 0;
        width: 100%;
    }
    .menu-button {
        display: block;
    }
    header #logo {
        display: block;
        float: none;
        width: 100%;
    }
    header #logo img {
        margin: 0 auto;
        display: block;
    }
    header h1 {
        margin: 20px auto;
        width: 80%;
        text-align: center;
        float: none;
    }
    .filter-buttons {
        text-align: center;
    }
    .page #main-content > .row {
        margin: 20px 0;
    }
    #hero-title {
        height: calc(100vh - 216px);
    }
}

@media screen and (max-width: 768px) {
    * {
        font-size: 100%!important;
    }
    .filter-buttons li:before {
        top: 0!important;
    }
}

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

}

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

}
