/*
 Theme Name: Twenty Nineteen Child
 Theme URI: https://www.element8.ae
 Author: Element8
 Author URI: https://www.element8.ae
 Template: twentynineteen
 Description: Child theme for Twenty Seventeen.
 Version: 0.1
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Tags:
 Text Domain: twentynineteen-child
 */

:root {
  --color-primary:#009B49;
  --color-primary-hover: #a1030d;
  --color-secondary: #490a0a;
  --color-secondary-hover: #7a0000;
  --color-light: #f3f3f3;
  --font-primary:'bahnschriftregular'; 
  --time: 0.25s;
  --holder-color: #d6d6d6;
  --container-width: 1614px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  color: #494949;
  font-size: 18px;
  background: #ffffff;
  font-family: var(--font-primary);
}

.main {
  --space-x: 120px;
  --space-y: 140px;
  --space-z: 160px;
}

a {
  color: #494949;
  text-decoration: none;
  -moz-transition: all var(--time) ease;
  -o-transition: all var(--time) ease;
  -webkit-transition: all var(--time) ease;
  -ms-transition: all var(--time) ease;
  transition: all var(--time) ease;
}

a:hover {
  text-decoration: none;
}

p:only-child,
p:last-child {
  margin-bottom: 0;
}

h1,
h1 {
  font-size: 40px;
  line-height: 42px;
  margin-bottom: 30px;
}

h2,
h2 {
  font-size: 32px;
  line-height: 34px;
  margin-bottom: 25px;
}

h3 {
  font-size: 26px;
  line-height: 28px;
  margin-bottom: 20px;
}

h4 {
  font-size: 24px;
  line-height: 26px;
  margin-bottom: 15px;
}

h5 {
  font-size: 20px;
  line-height: 22px;
  margin-bottom: 15px;
}

h6 {
  font-size: 16px;
  line-height: 18px;
  margin-bottom: 15px;
}


p{
  font-family: 'bahnschriftregular';
  font-weight: 400;
  font-size: 17px;
  line-height: 28px;
  margin-bottom: 15px;
  color: #494949;
}

ul,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

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

img,
svg {
  vertical-align: middle;
}

input,
select,
button,
textarea {
  cursor: pointer;
  font-family: var(--font-primary);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

input[type="submit"] {
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}

button {
  cursor: pointer;
}

:disabled {
  cursor: default;
}

input,
button,
select,
optgroup,
textarea {
  margin: 0;
  line-height: inherit;
}

span {
  display: inline-block;
}

select {
  background-image: url("assets/images/down-arrow.png");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 18px;
  -ms-progress-appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

:focus {
  outline: none;
}

label {
  display: inline-block;
  margin: 0 0 7px 0;
  font-size: 13px;
}

input.form-field {
  --height: 52px;
  height: var(--height);
  line-height: var(--height);
  padding: 0 var(--padding);
}

textarea {
  height: 240px;
  resize: none;
  padding: var(--padding);
}



textarea,
.form-field {
  display: block;
  width: 100%;
  background-color: #fff;
  border: 1px solid #ced4da;
  -webkit-border-radius: var(--radius);
  -moz-border-radius: var(--radius);
  border-radius: var(--radius);
}

iframe {
  border: 0;
  vertical-align: bottom;
}

.w-100 {
  width: 100%;
}

.relative {
  position: relative;
}

/* -------------------------------------------------------------- */

.form-style {
  --space: 0.5%;
  --radius: 4px;
  --padding: 15px;
  display: flex;
  flex-wrap: wrap;
  row-gap: 30px;
  margin: 0 calc(var(--space) * -1);
}

.form-style li {
  width: 100%;
}

.form-style .column-2 {
  width: 49%;
}

.form-style .column-3 {
  width: 32.33%;
}

.form-style > li,
.form-style [class*="column-"] {
  margin: 0 var(--space);
}

/* -------------------------------------------------------------- */

.site-button {
  --radius: 5px;
  --height: 44px;
  --padding: 30px;
  display: inline-block;
  cursor: pointer;
  background-color: #d4d5d6;
  border: 1px solid transparent;
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 0 var(--padding);
  height: var(--height);
  line-height: var(--height);
  -webkit-border-radius: var(--radius);
  -moz-border-radius: var(--radius);
  border-radius: var(--radius);
  -webkit-transition: all var(--time) ease-in-out;
  transition: all var(--time) ease-in-out;
}

.site-button + .site-button {
  margin-left: 10px;
}

.button-primary {
  color: #ffffff;
  background: var(--color-primary);
}

.button-primary:hover {
  background: var(--color-primary-hover);
}

/* -------------------------------------------------------------- */

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

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

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

.text-white {
  color: #ffffff;
}

.text-primary {
  color: var(--color-primary);
}

.text-secondary {
  color: var(--color-secondary);
}

/* -------------------------------------------------------------- */

.bg-light {
  background: var(--color-light);
}

.bg-primary {
  background: var(--color-primary);
}

.bg-secondary {
  background: var(--color-secondary);
}

/* -------------------------------------------------------------- */

.m-auto {
  margin-left: auto;
  margin-right: auto;
}

.ml-auto {
  margin-left: auto;
}

.mr-auto {
  margin-right: auto;
}

/* -------------------------------------------------------------- */

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
  max-width: var(--container-width);
}

/* -------------------------------------------------------------- */

.image {
  position: relative;
  z-index: 0;
}

.no-image {
  --size: 150px;
  width: 100%;
  background-size: var(--size);
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(1);
}

.image::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background: var(--holder-color);
  width: 100%;
  height: 100%;
  z-index: -1;
}
.wpcf7-form-control-wrap{
	width:100%
}


.image-preview img,
.image-holder img,
.preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview,
.image-holder,
.preview {
    width: 350px !important;
    height: 250px !important;
}
