/*
	Theme Name: Ddesign
	Author: Aleksandar
	Author URI: /
	Description: Designer Portfolio
	Version: 0.1
	Tags: Company Website...
	Text Domain: ddesign
*/
/*========================
Variables and Mixins =====
=========================*/
/*========================
RESET ====================
=========================*/
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0; }

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block; }

nav ul, ul li {
  list-style: none; }

a {
  margin: 0;
  padding: 0;
  outline: 0; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

input, select {
  vertical-align: middle; }

iframe, img, object, video, .wp-caption {
  max-width: 100%; }

/* apply a natural box layout model to all elements */
*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box; }

/*========================
GENERAL ==================
=========================*/
/*============================
 * Variables and Mixins ======
 * ========================= */
.wrapper, .site-header .site-header-wrapper, .site-content, .site-footer .site-footer-wrapper {
  margin-left: auto;
  margin-right: auto;
  max-width: 1128px; }

.clearfix:after, .site-header .site-header-wrapper:after, .site-footer .site-footer-wrapper:after, .section-portfolio-showcase .showcase-body:after {
  content: "";
  display: table;
  clear: both; }

/*============================
 * General ===================
 * ========================= */
body {
  font: normal 14px/100% "Open Sans", helvetica, arial, sans-serif;
  color: #333; }

a {
  color: #000;
  text-decoration: none; }

a:hover {
  color: #4DC9BF; }

h1, h2 {
  line-height: 120%; }

h3, h4 {
  line-height: 136%; }

h5, h6 {
  line-height: 148%; }

p {
  line-height: 148%; }

em {
  font-style: italic; }

/* Titles */
.title-lead, .section-lead h1 {
  font-size: 30px;
  font-weight: 300; }

.text-lead, .section-lead p {
  font-size: 24px;
  line-height: 148%; }

/* Wrapper */
.wrapper-global {
  margin-left: auto;
  margin-right: auto;
  max-width: 1128px; }

/* Text-formating */
.text-formating {
  line-height: 150%; }
  .text-formating h1, .text-formating h2, .text-formating h3 {
    margin-bottom: 10px; }
  .text-formating h2, .text-formating h3 {
    line-height: 120%; }
  .text-formating h2 {
    font-size: 18px; }
  .text-formating p {
    margin-bottom: 4px; }
  .text-formating p + h2 {
    margin-top: 20px; }
  .text-formating p + h3 {
    margin-top: 20px; }
  .text-formating p:last-child {
    margin-bottom: 0; }
  .text-formating ul,
  .text-formating ol {
    margin: 0 0 10px 30px; }
  .text-formating ul li,
  .text-formating ol li {
    margin: 6px 0; }
  .text-formating ul li {
    list-style-type: disc; }
  .text-formating img {
    height: auto; }

.text-center {
  text-align: center; }

.text-right {
  text-align: right; }

.text-left {
  text-align: left; }

.aligncenter {
  margin-left: auto;
  margin-right: auto;
  display: block; }

.text-md {
  font-size: 16px; }

/* Editor Description */
.text-editor {
  margin-bottom: 20px; }
  .text-editor h1, .text-editor h2, .text-editor h3 {
    font-weight: normal;
    color: #333; }

/* width */
.width-full {
  width: 100%; }

/* color */
.color-main {
  color: #333; }

/* img */
img {
  max-width: 100%; }

/* Navbar Links */
.navbar-links-inline li {
  display: inline;
  padding: 0 16px;
  position: relative; }
  .navbar-links-inline li:before {
    content: "";
    width: 1px;
    height: 12px;
    position: absolute;
    top: 4px;
    left: 0;
    border-left: solid 1px #999; }
  .navbar-links-inline li:first-child {
    padding-left: 0; }
    .navbar-links-inline li:first-child:before {
      display: none; }
  .navbar-links-inline li:last-child {
    padding-right: 0; }
  .navbar-links-inline li.is-active, .navbar-links-inline li.current-cat {
    font-weight: 600; }
    .navbar-links-inline li.is-active a, .navbar-links-inline li.current-cat a {
      color: #000; }
  .navbar-links-inline li a {
    color: #666; }
    .navbar-links-inline li a:hover {
      color: #4DC9BF; }

/*========================
 * FORMS =================
 * ==================== */
/* From Reset */
input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: none; }

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
  width: auto; }

::-moz-placeholder {
  color: #999;
  opacity: 1; }

::-webkit-input-placeholder {
  color: #999; }

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button {
  width: auto; }

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button {
  display: none; }

.button,
.btn {
  display: inline-block; }

/* From General */
input[type="text"],
input[type="email"],
input[type="number"],
select,
textarea {
  font-family: "Open Sans", helvetica, arial, sans-serif;
  font-size: 14px;
  line-height: 120%;
  border: solid 1px #dadada;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px; }

input[type="text"],
input[type="email"],
input[type="number"],
textarea {
  padding: 5px 10px; }

select {
  padding-left: 5px;
  -webkit-appearance: none; }

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
  border-color: #4DC9BF; }

textarea {
  line-height: 150%; }

/* Form Global */
/*========================
LAYOUT ===================
=========================*/
html, body, .site-wrapper {
  height: 100%; }

/* Site-Wrapper */
.site-wrapper {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  width: 100%;
  height: 100%; }
  .site-wrapper .site-header {
    flex: 0 0 auto; }
  .site-wrapper .site-content {
    flex: 1 1 auto;
    width: 100%; }
  .site-wrapper .site-footer {
    flex: 0 0 auto; }

/* Site Header */
.site-header .site-header-wrapper {
  padding: 40px 0 40px; }

/* Site Logo */
.site-logo {
  font-weight: 300;
  font-size: 36px;
  line-height: 100%;
  float: left; }

/* Site Navigation */
.site-nav {
  float: right;
  font-size: 16px;
  text-transform: lowercase; }
  .site-nav ul li {
    float: left;
    margin: 0 16px; }
    .site-nav ul li:first-child {
      margin-left: 0; }
    .site-nav ul li:last-child {
      margin-right: 0; }
  .site-nav .current-menu-item > a,
  .site-nav .current-category-ancestor > a,
  .site-nav .current-post-ancestor > a {
    font-weight: bold; }

/* Site Content */
/* Site Footer */
.site-footer {
  background-color: #333;
  color: #fff;
  margin-top: 100px;
  padding-top: 32px;
  padding-bottom: 32px; }
  .site-footer a {
    color: #fff; }
    .site-footer a:hover {
      color: #4DC9BF; }
  .site-footer .footer-logo {
    float: left;
    font-size: 22px;
    font-weight: 300;
    line-height: 100%; }
  .site-footer .footer-nav {
    float: right;
    font-size: 16px;
    text-transform: lowercase; }
    .site-footer .footer-nav li {
      display: inline;
      margin-right: 12px;
      margin-left: 12px; }
      .site-footer .footer-nav li:first-child {
        margin-left: 0; }
      .site-footer .footer-nav li:last-child {
        margin-right: 0; }

/*========================
SECTIONS =================
=========================*/
.section-lead {
  padding-bottom: 80px; }
  .section-lead h1 {
    color: #000; }
  .section-lead p {
    font-weight: 300; }

.section-portfolio-showcase .showcase-body .item {
  border: solid 2px #fff;
  width: 33.33333%;
  float: left;
  height: 268px;
  background-color: #ddd;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center; }
  .section-portfolio-showcase .showcase-body .item:nth-child(odd) {
    background-color: #eee; }

.showcase-filter {
  margin: 0 4px 40px; }

.section-portfolio-single {
  margin-left: auto;
  margin-right: auto;
  max-width: 720px; }
  .section-portfolio-single h1 {
    margin-bottom: 4px; }

/* Section Page */
.section-page-simple {
  margin-left: auto;
  margin-right: auto;
  max-width: 480px; }
  .section-page-simple .title-lead, .section-page-simple .section-lead h1, .section-lead .section-page-simple h1 {
    margin-bottom: 40px; }

.js-menu,
.mm-fixed-top {
  display: none; }

/* =======================
RESPONSIVE STYLES ========
=========================*/
@media screen and (max-width: 1239px) {
  .site-header {
    padding-top: 60px; }
    .site-header .site-header-wrapper {
      padding-top: 24px;
      padding-bottom: 24px; }
    .site-header .site-logo {
      margin-left: 0;
      display: block;
      float: none;
      font-size: 24px;
      padding-left: 20px; }
    .site-header .site-nav {
      display: none; }

  .site-content {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 40px; }

  .section-portfolio-showcase .showcase-body .item {
    width: 33.33333%; }

  .title-lead, .section-lead h1,
  .section-lead h1 {
    font-size: 30px;
    margin-bottom: 24px; }

  .section-lead {
    padding-bottom: 24px; }

  .site-footer {
    text-align: center;
    background-color: #000; }
    .site-footer .footer-logo {
      float: none; }
    .site-footer .footer-nav {
      display: none; }

  /* Mobile Navigation */
  .navMain {
    display: none; }

  body.hideScroll {
    overflow: hidden; }

  .menuBox {
    display: none; }

  .mm-fixed-top {
    display: block;
    width: 100%;
    height: 46px;
    background-color: #000;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100000; }

  .js-menu-trigger {
    display: block;
    width: 100%;
    height: 46px;
    background: url("static/img/layout/icon-nav.png") no-repeat 15px 12px;
    background-size: 24px 20px;
    cursor: pointer; }

  .js-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    overflow-y: auto;
    background-color: #000; }

  .language {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 10000; }

  .navMobPrimary {
    padding-top: 46px; }

  .navMobPrimary a {
    color: #fff;
    display: block;
    font-weight: 600;
    text-transform: uppercase;
    padding: 15px 20px;
    border-bottom: solid 1px rgba(255, 255, 255, 0.2); }

  .navMobPrimary > li:last-child > a {
    border-bottom: none; }

  .navMobPrimary a:hover {
    background-color: #333; } }
@media screen and (max-width: 800px) {
  .section-portfolio-showcase .showcase-body .item {
    width: 50%; } }
@media screen and (max-width: 480px) {
  .section-portfolio-showcase .showcase-body .item {
    width: 100%; } }
