/*
Theme Name: digitalreception
Author: Portalworks
Version: 1.0
*/

:root {
    --primary-color: #4E5055;
    --primary-font: 'Rift';
    --secondary-font: 'Usual';
    --clear-button: #D0D1D3;
    --confirm-button: #882818;
}

@font-face {
    font-family: 'Rift';
    src: url('assets/fonts/rift/Rift Medium.otf');
    font-weight: 500;
}

@font-face {
    font-family: 'Rift';
    src: url('assets/fonts/rift/Rift Regular.otf');
    font-weight: 400;
}

@font-face {
    font-family: 'Usual';
    src: url('assets/fonts/usual/Regular.otf');
    font-weight: 400;
}

@font-face {
    font-family: 'Usual';
    src: url('assets/fonts/usual/Medium.otf');
    font-weight: 500;
}

header {
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 76px;
    height: 392px;
}

body {
    height: 100vh;
    background-position: center bottom;
    background-repeat: no-repeat;
    overflow: hidden;
    background-size: cover;
}

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

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

.header-container {
    padding: 55px 65px;
}

.logo {
    width: 390px;
    height: 206px;
}

.time, .instance {
    font-family: var(--primary-font);
    font-size: 66px;
    line-height: 1;
    margin-bottom: 10px;
}

.date {
    font-family: var(--primary-font);
    font-size: 29px;
    line-height: 1;
}

.time, .date {
    font-weight: 400;
}

.instance {
    font-weight: 500;
}

.side-menu {
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 9999999;
    transform: translateY(-50%);
}

.side-menu-button {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 56px;
    font-family: var(--secondary-font);
    font-weight: 400;
    color: #fff;
    background-color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
}


.language-switcher-menu {
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    width: auto;
    z-index: 1000;
    transform: translateY(calc(-100% - 20px));
    gap: 20px;
}

.language-switcher-menu-item {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    font-size: 36px;
}

.custom-button {
    font-size: 39px;
    line-height: 1;
    color: white;
    background-color: var(--primary-color);
    text-transform: uppercase;
    text-decoration: none;
    margin-top: 50px;
    padding: 20px 76px;
}

.custom-text {
    font-family: var(--secondary-font);
    font-size: 48px;
    line-height: 1.25;
    font-weight: 500;
}

#help .custom-text {
	color: #000000;
	max-width: 610px;
	text-transform: initial;
}

.no-companies-text {
	font-size: 32px;	
}

#pin .custom-button {
    font-size: 21px;
    line-height: 1.33;
    padding: 20px 50px;
    max-width: 274px;
    text-align: center;
}

.titles {
    font-family: var(--primary-font);
    font-size: 144px;
    line-height: 1.04;
    text-transform: uppercase;
    font-weight: 600;
    color: #000000;
    word-break: break-word;
    margin-top: 22px;
}

#welcome-screen .titles {
    font-size: 162px;
    line-height: 1.12;
    margin-top: 127px;
}

.custom-container {
    padding-left: 100px;
    padding-right: 100px;
}

.modal-content {
    background: #fff;
    border-radius: 0;
}

#inactivityModal {
    z-index: 999999;
}

#inactivityModal .custom-button {
    font-size: 26px;
}

.back-button {
    background-color: var(--primary-color);
    padding: 24px 29px;
    bottom: 100px;
}

.back-button-content {
    font-family: var(--secondary-font);
    font-size: 27px;
    line-height: 1.33;
    color: white;
    gap: 26px;
    text-transform: uppercase;
}

.error-message {
    min-height: 82px;
    max-width: 220px;
    padding: 18px;
    right: 0;
    transform: translateX(calc(100% + 35px));
    background-color: white;
    font-size: 23px;
    line-height: 30px;
    font-weight: 500;
    font-family: var(--secondary-font);
}

.error-message .btn-close {
    width: 17px;
    height: 17px;
    position: absolute;
    top: 9px;
    right: 9px;
    opacity: 1;
}

.custom-spinner {
    right: -150px;
}

.company-contact {
    padding: 30px;
	min-width: 245px;
}

.company-contacts {
    gap: 22px;
}

.company-info {
    padding: 40px 30px;
}

.company-logo {
    max-width: 208px;
}

.company-info-logo {
    padding: 45px 150px 75px 150px;
}

.company-info-logo-text {
    padding: 45px 150px 45px 150px;
}

.swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 137px);
    height: 608px!important;
    width: 784px;
    gap: 20px;
}

.companies-swiper {
    width: 878px;
}

.swiper-slide {
    height: 137px!important;
    width: 247px;
}

.swiper-slide img {
    max-width: 247px;
}

.company-card {
    height: 137px!important;
    width: 247px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    text-align: center;
}

.company-card img {
    object-fit: contain;
    margin-bottom: 15px;
    width: 100%;
    height: inherit;
}

.call-buttons {
    gap: 103px;
}

.call-buttons img, .company-contacts img {
	border-radius: 50%;
}

.call-timer {
    font-family: var(--primary-font);
    font-size: 60px;
}

.modal.show {
    display: block;
    background: rgba(0, 0, 0, 0.5);
}

.modal-dialog {
    transition: transform 0.3s ease-out;
    max-width: fit-content;
}

.modal.fade:not(.show) .modal-dialog {
    transform: translateY(-100px);
}

.display-box {
    width: 100%;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--secondary-font);
    font-size: 50px;
    background-color: white;
}

.display {
    width: 410px;
    gap: 10px;
}

.keyboard {
    width: 410px;
    height: 500px;
    background-color: white;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 63px 67px;
    gap: 25px;
}

.keyboard-button {
    width: 75px;
    height: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #000000;
    background-color: transparent;
    font-family: var(--secondary-font);
    font-size: 50px;
    font-weight: 500;
    line-height: 1;
    color: #000000;
    text-transform: uppercase;
    opacity: 1;
    padding: 0;
}

.keyboard-button[disabled="disabled"] {
    opacity: 0.5;
    background-color: lightgray;
}

.clear-button {
    background-color: var(--clear-button);
    border: var(--clear-button)
}

.confirm-button {
    background-color: var(--confirm-button);
    border: var(--confirm-button)
}

.pin-img {
    max-width: 50px;
}

.swiper-button-prev, .swiper-button-next {
    right: var(--swiper-navigation-sides-offset, 0px);
    left: auto;
    transform: rotate(90deg);
    width: 80px;
    height: 80px;
    background-color: white;
}

.swiper-button-next:after, .swiper-button-prev:after {
    color: var(--primary-color);
}

.swiper-button-next {
    top: var(--swiper-navigation-top-offset, 55%)
}

.swiper-button-prev {
    top: var(--swiper-navigation-top-offset, 39%)
}

.overlay-container {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.overlay-content {
    max-width: 512px;
    width: 100%;
}

.overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-inline: 30px;
}

.overlay-body {
    text-align: center;
    font-family: var(--secondary-font);
    font-weight: 500;
    font-size: 23px;
    line-height: 1.3;
}

.success-message {
    font-size: 25px;
    margin-top: 76px;
    padding: 31px 43px 90px 43px;
}

