/*
  JD21 Theme
  All rights reserverd
  © 2021 by novafacile OÜ
*/

/* Fonts */

/* raleway-300 - latin */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 300;
  src: local(''),
       url('../fonts/raleway-v19-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/raleway-v19-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* raleway-regular - latin */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('../fonts/raleway-v19-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/raleway-v19-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* raleway-300italic - latin */
@font-face {
  font-family: 'Raleway';
  font-style: italic;
  font-weight: 300;
  src: local(''),
       url('../fonts/raleway-v19-latin-300italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/raleway-v19-latin-300italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* raleway-italic - latin */
@font-face {
  font-family: 'Raleway';
  font-style: italic;
  font-weight: 400;
  src: local(''),
       url('../fonts/raleway-v19-latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/raleway-v19-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* montserrat-300 - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  src: local(''),
       url('../fonts/montserrat-v15-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/montserrat-v15-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* montserrat-300italic - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 300;
  src: local(''),
       url('../fonts/montserrat-v15-latin-300italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/montserrat-v15-latin-300italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* montserrat-regular - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('../fonts/montserrat-v15-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/montserrat-v15-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* montserrat-italic - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 400;
  src: local(''),
       url('../fonts/montserrat-v15-latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/montserrat-v15-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* montserrat-500 - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  src: local(''),
       url('../fonts/montserrat-v15-latin-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/montserrat-v15-latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* montserrat-500italic - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 500;
  src: local(''),
       url('../fonts/montserrat-v15-latin-500italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/montserrat-v15-latin-500italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* montserrat-700 - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: local(''),
       url('../fonts/montserrat-v15-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/montserrat-v15-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* montserrat-700italic - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 700;
  src: local(''),
       url('../fonts/montserrat-v15-latin-700italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/montserrat-v15-latin-700italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


/* Basics */

body {
  background: #f5f5f5;
  padding: 0;
  margin: 0;
  font-family: "Raleway", sans-serif;
  color: #444444;
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.05rem;
}

.wrapper {
  background: #ffffff;
  max-width: 1600px;
  margin: 3rem auto;
  border-radius: 10px;
  box-shadow: 0 0 30px 0 rgba(100,100,100,0.1);
}

@media (max-width: 1600px) {
  .wrapper {
    margin: 0 0 3rem 0;
    border-radius: unset;
  }
}

.wrapper.blog {
  max-width: 900px;
  margin: 3rem auto 5rem auto;
}

@media (max-width: 900px) {
  .wrapper.blog {
    border-radius: unset;
    margin: 3rem 0;
  }
}

footer {
  text-align: center;
  padding: 1rem 0 4rem 0;
  color: #999999;
}

footer a {
  color: #999999;
  text-decoration: none;
}

.image {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  min-height: 50rem;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

@media (max-width: 1600px){
  .image {
    border-radius: unset;
  }
}

@media (max-width: 990px){
  .image {
    height: 20rem;
    min-height: unset;
    border-radius: unset;
  }
}

@media (max-width: 500px){
  .image {
    height: 15rem;
  }
}

.cover-image {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  height: 400px;
  width: 100%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

@media (max-width: 800px){
  .cover-image {
    height: 300px;
    border-radius: unset;
  }
}

@media (max-width: 500px){
  .cover-image {
    height: 200px;
  }
}

p {
  margin-bottom: 2rem;
}

header {
  margin-bottom: 2rem;
}

header h1, header h2, article header h2 {
  font-family: Montserrat, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.4rem;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

header h1:after, header h2:after {
  content: '';
  display: block;
  height: 1px;
  width: 10rem;
  margin: 2rem 0;
  background-color: #bbbbbb;
}

.home header h1:after, .home header h2:after {
  margin: 2rem auto;
}

header p {
  font-family: Montserrat, sans-serif;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.3rem;
  margin-bottom: 0;
}

@media (max-width: 992px){
  header {
    margin-bottom: 2rem;
  }

  header h1 {
    font-size: 1.4rem;
  }

  header p {
    font-size: 1.0rem;
    margin-bottom: 0;
  }
}

nav {
  max-width: 900px;
  margin: 1rem auto 0 auto;
}

nav ul {
  padding: 0;
  margin: 0;
}

nav li {
  padding: 0;
  margin: 0 0 2rem 0;
  list-style: none;
}

nav a {
  text-decoration: none;
}

nav .logo {
  font-family: Montserrat, sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2;
}

.btn {
  color: #444444;
  border: #bbbbbb 1px solid;
  font-weight: 300;
  transition: all 0.8s;
}

.btn:hover, .btn:active {
  color: #000000;
  border-color: #000000;
}

a {
  color: #444444;
  transition: all 0.8s;
}

a:hover {
  color: #000000;
}


@media (max-width: 500px){
  article {
    min-height: 15rem;
  }
}

article h2 {
  font-family: Montserrat, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
}

article.blog header h1, article.blog header h2 {
  font-size: 1.5rem;
  font-weight: 700; 
}

article h3, h4, h5 {
  font-family: Montserrat, sans-serif;
  font-size: 1.15rem;
  font-weight: 500; 
}

ul, ol {
  margin-bottom: 2rem;
}

blockquote {
  padding-left: 1rem;
  margin-left: 1rem;
  border-left: 3px solid #ccc;
  font-style: italic;
}

/** Specials **/
.home {
  text-align: center;
}

main.home {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.jdc {
  text-align: left;
  unicode-bidi: bidi-override;
  direction: rtl;
}

.jdc span {
  display: none;
}

/** Contact3 **/

.contact3 .form-group, .contact3 .form-check {
  margin-top: 1rem;
}

.contact3 .btn {
  margin-top: 1rem;
  background-color: #ffffff;
}

/** Lightbox **/
.sl-overlay {
  background: #ffffff;
  opacity: 1;
}

.sl-wrapper .sl-navigation button, .sl-wrapper .sl-close {
  color: #000000;
}


/** Image Gallery **/
.gallery img {
  margin: 3px;
}

