/*===================== TABLE OF CONTENT =======================

1. Reset
2. Body Style
3. Placeholders & Highlights
4. Container & Grid
5. Headings
6. Buttons
7. Form
8. Paddings & Margins
9. Main Content

=============================================================*/
/* ================================================================================== 
1. Reset
===================================================================================== */
*, *::after, *::before { margin: 0; padding: 0; -webkit-box-sizing: inherit; box-sizing: inherit; } article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary { display: block; } audio, canvas, progress, video { display: inline-block; vertical-align: baseline; } audio:not([controls]) { display: none; height: 0; } [hidden], template { display: none; } a, a:active, a:hover, a:focus { outline: none; } abbr[title] { border-bottom: 1px dotted; } dfn { font-style: italic; } small { font-size: 80%; } sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sup { top: -0.5em; } sub { bottom: -0.25em; } img { border: 0; max-width: 100%; } svg:not(:root) { overflow: hidden; } hr { -webkit-box-sizing: content-box; box-sizing: content-box; height: 0; margin-top: 30px; margin-bottom: 35px; border-width: 0; border-top: 1px solid #e1e1e1; } pre { overflow: auto; } code, kbd, pre, samp { font-family: monospace, monospace; font-size: 1em; } button, input, optgroup, select, textarea { color: inherit; font: inherit; margin: 0; } button { overflow: visible; } button, select { text-transform: none; } button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; cursor: pointer; } input:focus, select:focus, textarea:focus, button:focus { outline: none; } button[disabled], html input[disabled] { cursor: default; } button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; } input { line-height: normal; } input[type="checkbox"], input[type="radio"] { -webkit-box-sizing: border-box; box-sizing: border-box; padding: 0; } input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { height: auto; } input[type="search"] { -webkit-appearance: textfield; -webkit-box-sizing: content-box; box-sizing: content-box; } input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; } legend { border: 0; padding: 0; } textarea { overflow: auto; } optgroup { font-weight: bold; } table { border-collapse: collapse; border-spacing: 0; } td, th { padding: 0; } input, textarea, button, select, a { -webkit-tap-highlight-color: transparent; } a { color: inherit; text-decoration: none; -webkit-transition: all 0.6s ease; -o-transition: all 0.6s ease; transition: all 0.6s ease; } strong { font-weight: 700; }
.fancybox__button--zoo, .fancybox__button--slideshow, .fancybox__button--fullscreen, .fancybox__button--thumbs, .fancybox__button--zoom{
  display: none;
}
body{
  box-sizing: border-box;
}
.none{
  display: none;
}
ul, ol { padding-left: 4rem; }
section, footer, header{
  position: relative;
  z-index: 1;
  background-color: #fff;
}
.text-center{
  max-width: 90rem;
  width: 100%;
  margin: 0 auto;
  text-align: center;

}
/* ================================================================================== 
2. Body Style
===================================================================================== */
html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  font-size: 40%;
  word-wrap: break-word;
}
@media only screen and (min-width: 56.3125em) {
  /*901px*/
    html {
        font-size: 50%;
    }
  }
@media only screen and (min-width: 64.0625em) {
    /*1025px*/
    html {
        font-size: 56.25%;
    }
}
@media only screen and (min-width: 80.0625em) {
  /*1281px*/
  html {
    font-size: 62.5%;
  }
}
body {
	font-family: "Blinker", sans-serif;
	font-weight: 500;
	line-height: 1.7 ;
	color: #000;
	font-size: 2.1rem;
	letter-spacing: 2.5px;

}
main{
  position: relative;
}
@media only screen and (min-width: 56.3125em) {
    /*901px*/
    body {
        font-size: 2.6rem;
        letter-spacing:2.3px;
    }
}
/* ================================================================================== 
3. Placeholders & Highlights
===================================================================================== */
::-webkit-input-placeholder { color: inherit; opacity: 1 !important; }
:-moz-placeholder { color: inherit; opacity: 1; }
::-moz-placeholder { color: inherit; opacity: 1; }
:-ms-input-placeholder { color: inherit; }
::-moz-selection { background-color: #2b2b2b;  color: #fff; }  
::selection { background-color: #2b2b2b; color: #fff }
/* ================================================================================== 
4. Container & Grid
===================================================================================== */
.container {
  position: relative;
  width: 100%;
  max-width: 1920rem;
  margin: 0 auto;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;


}
/* ================================================================================== 
5. Headings
===================================================================================== */

h1, h2, h3, h4, h5, h6 { margin-bottom: 2rem; font-weight: 600;line-height:1.4; font-family: 'Playfair Display', serif; text-transform: none;letter-spacing: 0;}
.primary-title h1, .primary-title h2{
    font-size: 6rem;
}
.title-center{
    text-align: center;
}
.primary-title{
    margin-bottom: 5rem;
}
.secondary-title{
    margin-bottom: 5rem;
}
.secondary-title h2{
    font-size: 4rem;
}
.secondary-title img {
  width: 5.7rem;
  height: auto;
  filter: brightness(0) invert(100);
}
@media only screen and (min-width: 56.3125em) {
    /*901px*/
  .primary-title h1{
    font-size: 9rem;
    }
    .secondary-title h2{
        font-size: 5rem;
    }

}
@media only screen and (min-width: 64.0625em) {
    /*1025px*/
    .primary-title h1{
        font-size: 13rem;
        }
        .secondary-title h2{
            font-size: 6rem;
        }
  }

/* ================================================================================== 
6. Buttons
===================================================================================== */
.btn {
	display: inline-block;
	border-radius: 10rem;
	padding: 0.6rem 3rem;
	border: 2px solid #000;
	margin-top: 3rem;
}
.btn:hover{
    background-color: #000;
    color: #fff;
}
.btn-send input{
    padding: 0.6rem 4rem;
    width: auto;
    transition: all .4s ease-in-out;
    margin: 0 auto;
    text-transform: uppercase;
    line-height: 1.7;
    letter-spacing: 2.3px;
}
.btn-send {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
}
@media only screen and (min-width: 56.3125em) {
  /*901px*/
    .btn-send input{
        letter-spacing: 3.5px;
    }
    .btn {
        padding: 0.6rem 4rem;
    }
}
/* ================================================================================== 
7. Form
===================================================================================== */
input, textarea, select {
	display: block;
	width: 100%;
	border: 2px solid #000;
	padding: 1.6rem 2rem;
	outline: none;
	background-color: transparent;
  border-radius: 10rem;
}
textarea{
  resize: vertical;
  height: 19rem;
  border-radius: 2rem;
}
input:focus,
textarea:focus, select:focus {
  border-color: #a4a4a4;

}
label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 400;
	color: #2b2b2b;
}
button {
  transition: all 0.4s ease-in-out;
  border:0;
}
fieldset{
  border: 0;
  margin-bottom: 2rem;
}
label.check-wrapper {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-transform: none;
}
.check-wrapper input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.checkmark {
  position: absolute;
  top: 3px;
  left: 0;
  height: 1.5rem;
  width: 1.5rem;
  border: 1px solid #43515a;
  -webkit-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
.check-wrapper input:checked ~ .checkmark:after {
  display: block;
}
.check-wrapper .checkmark::after {
  left: 0.4rem;
  top: 0.2rem;
  width: 0.5rem;
  height: 1rem;
  border: solid #43515a;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

/* ================================================================================== 
8. Paddings & Margins
===================================================================================== */
.space {
  padding: 5rem 0;
}
.mt-5{
  margin-top: 5rem;
}
.no-pt{
  padding-top: 0 !important;
}
.no-pb{
  padding-bottom: 0 !important;
}
@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  .space {
    padding: 10rem 0;
  }
}
/* ================================================================================== 
9. Main Content
===================================================================================== */
/* .main-content{
    padding: 0 5rem;
    background-image: url(images/design/pozadina_4.png);
    background-size: 100%;
    padding-top: 10rem;

    
} */
.main-content{
  padding: 0 2rem;
}
@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  .main-content{
    background-attachment: fixed;
  }
}
.main-image{
    position: relative;
    overflow: hidden;
    -webkit-mask-image: url(images/design/mask.png);
    mask-image: url(images/design/mask.png);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    mask-size: 100%;
    inset: 0 0 0 0;
    mask-position: center bottom;
}
/* .main-image::before{
  content: '';
  width: 100%;
  height: 20rem;
  background-image: url(images/design/bg-foto.png);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
} */
.main-image img {
	display: block;
	width: 100%;
	height: auto;
	position: relative;

}
.date {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 3%;
	margin: 10rem auto;
	max-width: 80rem;
	width: 100%;
}
.date article{
    width: 31.3%;
    font-weight: 500;
    padding: 0.5rem 0;
    border-top:2px solid #000;
    border-bottom:2px solid #000;
}
.date article:first-child{
    text-align: right;
}
.date article.date-middle{
    text-align: center;
    padding: 0;
    margin: 0;
    border: 0;
    display: flex;
    flex-direction: column;
    font-weight: 700;
}
.date-middle span{
    display: block;
}
.date-middle span:nth-child(2) {
	font-family: 'Playfair Display', serif;
	font-size: 8rem;
	line-height: 1;

}
.wrapper{
    display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 3%;
	margin: 0 auto 5rem auto;
	max-width: 80rem;
	width: 100%;
}
.box{
    width: 48.5%;
    text-align: center;
}
form p{
    margin: 0;
}
form br{
    display: none;
}
.form{
    margin: 5rem auto 15rem;
    max-width: 70rem;
    width: 100%;
}
.main-content {
	padding-bottom: 6rem;
	margin-top: -22rem;
	padding-top: 31rem;
}
.cta-bottom{
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #eef2ee;
  z-index: 10;
  padding: 2rem 0;
  font-size: 2rem;
  opacity: 0; 
  transform: translateY(100%); 
  transition: opacity 0.5s ease, transform 0.5s ease; 
  box-sizing: border-box;
}
.page-template-single-dizajn_pozivnica .grecaptcha-badge , .page-template-single-dizajn_pozivnica .cky-btn-revisit-wrapper{
  display: none !important;
}
.cta-bottom.show{
  opacity: 1; 
  transform: translateY(0); 
}
.cta-container{
  max-width: 70rem;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;

}
.cta-bottom h3{
  margin-bottom: 0;
}
.cta-bottom a {
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 400;
	border-radius: 10rem;
	position: relative;
	overflow: hidden;
	max-width: 24rem;
	width: 100%;
	height: 5rem;
	line-height: 1;
	text-transform: uppercase;
	text-align: center;
}
.cta-bottom a span{
  position: relative;
  z-index: 1;
}
.cta-bottom a {
  background-color: #89a088;
  color: #fff;
}
.cta-bottom a:before, .cta-bottom a:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-bottom: 80px solid #728c71;
  transition: all .4s ease-in-out;
}
.cta-bottom a:before {
  right: -50px;
  border-right: 50px solid transparent;
  transform: translateX(-100%);
}
.cta-bottom a:after {
  left: -50px;
  border-left: 50px solid transparent;
  transform: translateX(100%);
}
.cta-bottom a:hover:before {
  transform: translateX(-40%);
}
.cta-bottom a:hover:after {
  transform: translateX(40%);
}
/*----------*/
.invite-logo{
	margin-top:20rem;
	text-align:center;
	
}
.invite-logo img{
	display:block;
	width:10rem;
	height:auto;
	margin:0 auto;
	
}
.bottom-text{
  margin-top: 5rem;
}
.has-link a{
  display: inline-block;
  padding-left: 3rem;
  background-image: url(images/design/whatsapp-white.svg);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 2rem;
}
@media only screen and (max-width: 30em) {
  /*480px*/
  .bottom-text br{
    display: none;
  }
}
@media only screen and (min-width: 56.3125em) {
  /*901px*/
    .date article{
        font-size: 5rem;
        width: 32.6%;
    }
    .date {
        gap: 1%;
    }
    .date-middle span:nth-child(2) {
        font-size: 10rem;
        line-height: 0.7;
        margin-top: -8px;
    }
   
}
@media only screen and (min-width: 64.0625em) {
    /*1025px*/

  }
  .primary-title span{
    display: inline-block;
  }
  .primary-title.start span{

  }
  .scale-in-center {
    -webkit-animation: scale-in-center 0.3s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: scale-in-center 0.3s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
  }
  
   @-webkit-keyframes scale-in-center {
    0% {
      -webkit-transform: scale(0);
              transform: scale(0);
      opacity: 1;
    }
    100% {
      -webkit-transform: scale(1);
              transform: scale(1);
      opacity: 1;
    }
  }
  @keyframes scale-in-center {
    0% {
      -webkit-transform: scale(0);
              transform: scale(0);
      opacity: 1;
    }
    100% {
      -webkit-transform: scale(1);
              transform: scale(1);
      opacity: 1;
    }
  }
  .hidden{
    opacity: 0;
  }
  .visible {
  
            opacity: 1;
  }
  .fadeOut{
    -webkit-animation: fade-out 1s ease-out reverse both;
    animation: fade-out 1s ease-out reverse both;
  }
   @-webkit-keyframes fade-out {
    0% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
  @keyframes fade-out {
    0% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
  .fade-out-bottom {
    -webkit-animation: fade-out-bottom 0.4s cubic-bezier(0.250, 0.460, 0.450, 0.940) reverse both;
            animation: fade-out-bottom 0.4s cubic-bezier(0.250, 0.460, 0.450, 0.940) reverse both;
  }
   @-webkit-keyframes fade-out-bottom {
    0% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      opacity: 1;
    }
    100% {
      -webkit-transform: translateY(50px);
              transform: translateY(50px);
      opacity: 0;
    }
  }
  @keyframes fade-out-bottom {
    0% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      opacity: 1;
    }
    100% {
      -webkit-transform: translateY(50px);
              transform: translateY(50px);
      opacity: 0;
    }
  }
  .fade-out-top {
    -webkit-animation: fade-out-top 0.4s cubic-bezier(0.250, 0.460, 0.450, 0.940) reverse both;
            animation: fade-out-top 0.4s cubic-bezier(0.250, 0.460, 0.450, 0.940) reverse both;
  }
   @-webkit-keyframes fade-out-top {
    0% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      opacity: 1;
    }
    100% {
      -webkit-transform: translateY(-50px);
              transform: translateY(-50px);
      opacity: 0;
    }
  }
  @keyframes fade-out-top {
    0% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      opacity: 1;
    }
    100% {
      -webkit-transform: translateY(-50px);
              transform: translateY(-50px);
      opacity: 0;
    }
  }
 
  .heartbeat {
    -webkit-animation: heartbeat 1.5s ease-in-out infinite both;
            animation: heartbeat 1.5s ease-in-out infinite both;
  }

@-webkit-keyframes heartbeat {
  from {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform-origin: center center;
            transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  10% {
    -webkit-transform: scale(0.91);
            transform: scale(0.91);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  17% {
    -webkit-transform: scale(0.98);
            transform: scale(0.98);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  33% {
    -webkit-transform: scale(0.87);
            transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  45% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
}
@keyframes heartbeat {
  from {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform-origin: center center;
            transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  10% {
    -webkit-transform: scale(0.91);
            transform: scale(0.91);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  17% {
    -webkit-transform: scale(0.98);
            transform: scale(0.98);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  33% {
    -webkit-transform: scale(0.87);
            transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  45% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
}
.tracking-in-expand {
	-webkit-animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
	        animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

 @-webkit-keyframes tracking-in-expand {
  0% {
    letter-spacing: -0.5em;
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}
@keyframes tracking-in-expand {
  0% {
    letter-spacing: -0.5em;
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}
.slide-in-bottom {
	-webkit-animation: slide-in-bottom 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: slide-in-bottom 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

 @-webkit-keyframes slide-in-bottom {
  0% {
    -webkit-transform: translateY(1000px);
            transform: translateY(1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slide-in-bottom {
  0% {
    -webkit-transform: translateY(1000px);
            transform: translateY(1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}
