@font-face {
    font-family: KZ Mon Amour One;
    src: url(/fonts/KZ_Mon_Amour_One.ttf);
}

@font-face {
    font-family: "Asylbek Mereke 18+UC";
    src: url(/fonts/AsylbekM18UC.kz.ttf);
}

@font-face {
    font-family: Assylbek Shelley;
    src: url(/fonts/vAsylm02.ttf);
}



@font-face {
    font-family: 'AsylbekM13Vivantekz';
    src: url('../../fonts/Asylbek/subset-AsylbekM13Vivantekz.eot');
    src: url('../../fonts/Asylbek/subset-AsylbekM13Vivantekz.eot?#iefix') format('embedded-opentype'),
    url('../../fonts/Asylbek/subset-AsylbekM13Vivantekz.woff2') format('woff2'),
    url('../../fonts/Asylbek/subset-AsylbekM13Vivantekz.woff') format('woff'),
    url('../../fonts/Asylbek/subset-AsylbekM13Vivantekz.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: Decor KZ;
    src: url(/fonts/KZDecor.ttf);
}

body {
    background-color: #f8f8f8;
}

section {
    background-color: #fff;
    padding: 70px 0;
    text-align: center;
}

section .container {
    color: #444;
}

.common-box.container {
    padding: 0;
    overflow: hidden;
    -webkit-box-shadow: 0px 0px 14px 6px rgba(34, 60, 80, 0.18);
    -moz-box-shadow: 0px 0px 14px 6px rgba(34, 60, 80, 0.18);
    box-shadow: 0px 0px 14px 6px rgba(34, 60, 80, 0.18);
}

section h2 {
    font-family: "Assylbek Shelley", sans-serif;
    color: #d68f48;
    font-size: 60px;
    text-align: center;
    margin-bottom: 40px;
}

#header {
    background-color: #fff;
}

#header .header-bg {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff url(/images/uzatu1/wedding-background-top.jpg) no-repeat;
    background-size: 100%;
    position: relative;
    overflow: hidden;
    background-position-x: 13%;
    background-position-y: 0;
    aspect-ratio: 1 / 0.7;
}

.top-box p {
    font-family: "Merriweather", sans-serif;
    font-size: 21px;
    color: #0866b7;
    text-transform: uppercase;
    font-weight: 300;
    text-align: center;
    margin-top: 15px;
}

#speech .top-box__date {
    font-family: "Asylbek Mereke 18+UC", sans-serif;
    font-size: 42px;
    font-weight: 600;
    line-height: 1;
    color: #856b5c;
}

.wedding_date {
    text-align: right;
    margin-top: 30px;
}

.top-box__title {
    font-family: "KZ Mon Amour One", sans-serif;
    font-size: 64px;
    color: #f24aa0;
    margin: 5px 0 50px;
    text-align: center;
}

.uzatu_p {
    font-family: "Merriweather", sans-serif;
    font-size: 21px;
    color: #0866b7;
    text-transform: uppercase;
    font-weight: 300;
}

/* Speech section */

#speech {
    padding-top: 10px;
}

#speech p {
    font-family: "Asylbek Mereke 18+UC", sans-serif;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 600;
}

.speech__owners {
    text-align: right;
}

#speech .container .wedding-girl {
    margin-left: 50px;
    background: url(/images/uzatu1/girl1.png) no-repeat;
    background-size: contain;
    content: '';
    width: 235px;
    height: 350px;
    opacity: .8;
}

.speech__text {
    text-align: center;
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 21px;
}



/* Countdown styles */

#countdown-section .container {
    padding-top: 40px;
}

.countdown-title {
    color: #396;
    font-weight: 100;
    font-size: 40px;
    margin: 40px 0px 20px;
}

.countdown {
    display: inline-block;
    text-align: center;
    font-size: 30px;
}

.countdown-number {
    display: inline-block;
    position: relative;
}

.countdown-number:after {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background-color: rgba(0,0,0,0.05);
    position: absolute;
    top: 14px;
    right: -4px;
}
.countdown-number:last-child:after {
    display: none;
}

.countdown-time {
    padding: 0 12px;
    font-size: 24px;
    display: inline-block;
    color: #0866b7;
}

.countdown-text {
    display: block;
    font-size: 11px;
    color: #666;
    font-weight: 500;
}

.deadline-message{
    display: none;
    font-size: 24px;
    font-style: italic;
}

.visible{
    display: block;
}

.hidden{
    display: none;
}

/* Address section */

#address {
    position: relative;
    padding-bottom: 100px;
}

#address:before, #wishes:before {
    content: '';
    display: block;
    background-image: url(../../images/uzatu1/oyu2.jpg);
    background-size: cover;
    position: absolute;
    top: -80px;
    left: -40px;
    width: 150px;
    height: 150px;
    transform: rotate(180deg);
    z-index: 2;
    opacity: .04;
    filter: grayscale(100%);
}

#address:after, #wishes:after {
    content: '';
    display: block;
    background-image: url(../../images/uzatu1/oyu2.jpg);
    background-size: cover;
    position: absolute;
    top: -80px;
    right: -40px;
    width: 150px;
    height: 150px;
    transform: rotate(0deg);
    z-index: 2;
    opacity: .04;
    filter: grayscale(100%);
}

#address .container {
    background-color: #fff;
}

.address__map-container {
    margin: 0 15px;
    -webkit-box-shadow: 0px 0px 14px 6px rgba(34, 60, 80, 0.18);
    -moz-box-shadow: 0px 0px 14px 6px rgba(34, 60, 80, 0.18);
    box-shadow: 0px 0px 14px 6px rgba(34, 60, 80, 0.18);
    aspect-ratio: 1 / 1.2;
}

.address__place {
    font-family: "Merriweather", sans-serif;
    margin-bottom: 30px;
    text-align: center;
}

.address__place p:first-child {
    font-size: 28px;
    margin-bottom: 10px;
}

.address__place p {
    font-weight: 300;
}

.address__place a {
    display: inline-block;
    padding: 10px 25px;
    background-color: #09b11c;
    border-radius: 30px;
    color: #fff;
}

.address__place a:hover {
    color: #fff;
}


/* Memory section */

.download-img img{
    width: 60px;
}

.download-card{
    margin-top: 70px;
}

.download-title{
    margin-top: 10px;
    color: #333;
}

.download-warning{
    color: #777;
    margin-top: 50px;
}


/* Gallery section */

.address__images {
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.gallery-vertical {
    padding-top: 100%;
    box-shadow: inset 0px 0px 20px 10px rgba(0,0,0,0.5);
}

.gallery-horizontal {
    padding-top: 66.6%;
    box-shadow: inset 0px 0px 20px 10px rgba(0,0,0,0.5);
}

.my-container {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.my-container>.row {
    margin-left: 0;
    margin-right: 0;
}

.my-container>.row>div>div {
    padding: 0;
}

.our-gallery .image-container div:before {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    box-shadow: inset 0px 0px 20px rgb(0 0 0 / 50%);
}

.our-gallery .image-container div {
    transition: all 0.3s;
}

.our-gallery .image-container div:hover {
    opacity: 0.8;
}

.address__images a {
    display: inline-block;
    width: 65%;
}



/* Wishes section */

#wishes {
    padding-top: 50px;
    position: relative;
}

.wishes__title {
    margin-bottom: 45px;
}

.content-list__item {
    margin-bottom: 15px;
    margin-right: 10px;
}

.content-list__item {
    display: flex;
    flex-direction: column;
}

.content-list__item .post-info__meta-item {
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    color: #82a3b1;
}

.content-list__item .post-info__title {
    font-size: 18px;
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: bold;
    line-height: 1.5;
}

.content-list__item .post-info__text {
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    color: #666;
    line-height: 1.4;
}

.notif__items {
    position: relative;
    border-radius: 4px;
    max-height: 100%;
    overflow: auto;
    z-index: 3;
}

.notif__items::-webkit-scrollbar {
    width: 5px;
    background-color: #eee;
}

.notif__items::-webkit-scrollbar-thumb {
    background-color: #ccc;
}

.notif__items::-webkit-scrollbar-track {
    height: 50%;
}

.notif__items::-webkit-scrollbar-thumb {
    border-radius: 20px;
}

.wishes__messages {
    width: 100%;
    position: relative;
    aspect-ratio: 1 / 1.3;
}

.wishes__messages>div {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    padding: 110px 60px 75px 76px;
}

.wishes__messages img {
    width: 100%;
    height: auto;
    min-height: 100%;
}

.wishes__messages:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../../images/uzatu1/wishes-outline2.png);
    background-size: cover;
    z-index: 2;
}

.wishes__form {
    width: 80%;
    margin: 70px auto 10px;
}

.wishes__form .form-group label {
    margin-bottom: 3px;
}

.wishes__form .form-group {
    position: relative;
    margin-bottom: 30px;
}

.wishes__form .form-group.field-messages-name {
    margin-bottom: 50px;
    position: relative;
}

.wishes__form input[type=text],
.wishes__form input[type=password],
.wishes__form input[type=email],
.wishes__form select,
.wishes__form textarea {
    border: 2px solid #ed959f !important;
    border-radius: 0;
    background-color: unset;
    box-shadow: none;
}
.wishes__form input[type=text],
.wishes__form input[type=password],
.wishes__form input[type=email] {
    border: none!important;
    border-bottom: 2px solid #ed959f!important;
}
form input[type=text].error,
form input[type=password].error,
form input[type=email].error {
    border: none!important;
    border-bottom: 2px solid rgba(204,0,0,0.4)!important;
}
form select.error,
form textarea.error {border: 2px solid rgba(204,0,0,0.4) !important;}
.wishes__form input[type=text]:focus, .wishes__form textarea:focus {
    box-shadow: none;
    opacity: 0.8;
}

.wishes__form-btn input {
    border-radius: 0!important;
    background-color: #ed959f;
    color: #fff;
    padding: 6px 20px;
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
    line-height: 30px;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.wishes__form-btn input:hover {
    color: #fff!important;
    opacity: 0.8;
}
.wishes__form-btn .btn:hover, .wishes__form-btn .btn:focus, .wishes__form-btn .btn:active:focus {
    color: #fff;
    text-decoration: none;
    outline: unset;
    outline-offset: unset;
    box-shadow: none;
}

.wishes__form textarea {
    resize: vertical;
}

.err_msg {
    display: block;
    text-align: left;
    font-size: 11px;
    font-weight: 300;
    color: rgba(204,0,0,0.4);
    position: absolute;
    bottom: -17px;
    z-index: 99;
}

#messages-box ul {
    padding: 0;
    text-align: left;
}


/* Footer */

footer {
    background-color: #fff;
    display: flex;
    justify-content: center;
}

footer p {
    color: #555;
}

footer p>a {
    border-bottom: 1px dashed #555;
    display: inline;
}

@media only screen and (min-width: 540px) {
    .speech__text {
        padding: 0 20px;
    }
}