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

:root {
    --primary-color: #84bf31;
    --secondary-color: #3C464B;
    --primary-font: 'Epilogue';
    --secondary-font: 'Usual';
    --clear-button: #FFFFFF;
    --confirm-button: #84bf31;
}

@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;
}

@font-face {
    font-family: 'Epilogue';
    src: url('assets/fonts/epilogue/Epilogue-Medium.ttf');
    font-weight: 500;
}

@font-face {
    font-family: 'Epilogue';
    src: url('assets/fonts/epilogue/Epilogue-Regular.ttf');
    font-weight: 400;
}

@font-face {
    font-family: 'Epilogue';
    src: url('assets/fonts/epilogue/Epilogue-Bold.ttf');
    font-weight: 700;
}

body {
    height: 100svh;
    overflow: hidden;
	font-family: var(--primary-font);
}

header {
    padding-top: 35px;
    padding-bottom: 35px;
    border-bottom: 2px solid #BDBCBC66;
}

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

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

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

.app-height {
    height: calc(100svh - 178px);
}

.logo {
    width: 339px;
    height: 89px;
    display: flex;
    justify-content: start;
    align-items: center;
}

.logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

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

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

.date {
    font-weight: 400;
}

.instance {
    font-weight: 500;
}

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

.side-menu-button {
    width: 75px;
    height: 75px;
    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(--secondary-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: 75px;
    height: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    font-size: 36px;
}

.custom-button {
    font-size: 40px;
    line-height: 1;
    color: #FFFFFF;
    background-color: var(--primary-color);
    text-decoration: none;
    padding: 25px 153px;
}

.icon-button {
    display: flex;
    justify-content: start;
    align-items: center;
    font-size: 24px;
    line-height: 1;
    color: var(--secondary-color);
    background-color: #FFFFFF;
    text-decoration: none;
    padding: 25px 40px;
    width: 560px;
	height: auto;
}

.icon-button:active, .icon-button:focus, .icon-button:focus-visible {
    background-color: var(--secondary-color);
    color: white;
}

.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: 10px 10px;
    max-width: 274px;
    text-align: center;
	font-weight: 700;
	border: 3px solid var(--secondary-color);
	color: var(--secondary-color);
}

.titles {
    font-family: var(--primary-font);
    font-size: 64px;
    line-height: 1.4;
    font-weight: 600;
    color: var(--secondary-color);
}

.titles-buttons {
	font-size: 36px;
}

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

.secondary-title {
    font-family: var(--primary-font);
    font-weight: 400;
    font-size: 36px;
    line-height: 2.5;
    color: var(--secondary-color)
}

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

.container {
    max-width: 1724px;
	padding-left: 80px;
	padding-right: 80px;
}

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

#inactivityModal {
    z-index: 999999;
}

#inactivityModal .modal-body {
	padding: 100px;
}

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

#inactivityModal .no-activity-text {
	font-weight: 700;
	font-style: Bold;
	font-size: 20px;
	line-height: 20px;
	letter-spacing: 0%;
	text-align: center;
}

#inactivityModal .restart-message {
	font-weight: 400;
	font-style: Regular;
	font-size: 16px;
	line-height: 100%;
	letter-spacing: 0%;
	text-align: center;
}

.back-button {
    background-color: var(--primary-color);
    padding: 24px 29px;
    bottom: 50px;
	z-index: 1;
}

.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;
}

.welcome-wrapper {
    padding-top: 90px;
    padding-bottom: 90px;
}

.img-block {
    height: 50%;
}

.welcome-text-part {
    height: 25%;
}

.img-block img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.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: transparent;
    border-bottom: 5px solid var(--secondary-color);
}

.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: 77px;
    height: 77px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--secondary-color);
    background-color: transparent;
    font-family: var(--secondary-font);
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    color: var(--secondary-color);
    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: 2px solid var(--secondary-color);
}

.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: 32px;
    color: var(--secondary-color);
    max-width: 600px;
}

.message-wrapper {
    padding: 32px 94px 65px 94px;
    background-color: white;
    max-width: 731px;
    font-family: var(--primary-font);
    font-weight: 400;
    font-size: 20px;
    line-height: 2;
}

.message {
	line-height: 1.1;
}

.spacing {
    padding-top: 100px;
    padding-bottom: 100px;
}

.success-image-wrapper {
    width: 197px;
    height: 197px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.success-small-image-wrapper {
    width: 67px;
    height: 67px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.success-bottom {
	padding-bottom: 150px;
}

.success-image-wrapper img, .success-small-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    width: auto;
    height: auto;
}

#profiles-component {
	top: 550px;	
}

.profiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1454px;
	max-height: 800px;
	overflow: auto;
}

.profiles-search {
	max-width: 1454px;
	position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    padding: 10px;
	border-radius: 0;
}

.form-control:focus {
	border: none;
	box-shadow: none;
}

.profile, .profile-card {
    width: 100%;
    line-break: anywhere;
    text-align: center;
    height: 270px;
    border: 1px solid white;
    background-color: white;
    color: var(--secondary-color);
}

.profiles-dialog .profile-card {
    background-color: #F6F6F6;
    max-width: 182px;
    padding: 32px;
}

.profiles-dialog .col-6:nth-child(odd) {
    display: flex;
	justify-content: end;
}

.profiles-dialog .col-6:nth-child(even) .profile-card {
    display: flex;
	justify-content: start;
}

.profile-card.selected {
    background-color: rgba(87, 158, 98, 0.12);
    border: 2px solid var(--primary-color);
}

.profiles-scroll {
	height: 800px;
}

.profile:active, .profile:focus, .profile:focus-visible {
    background-color: transparent;
}

.profile:active svg path, .profile:focus svg path, .profile:focus-visible svg path {
    fill: #FFE396;
    stroke: #FFE396;
}

.audio-call-modal {
    width: 606px;
    min-height: 560px;
    padding: 20px 100px;
}


.end-call-button, .start-call-button {
    width: 74px;
    height: 74px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #EB5545;
}

.start-call-button {
    background: #579E62;
}

.start-call-button:disabled, .end-call-button:disabled {
    opacity: 0.5;
}

.phone-yellow {
    width: 87px;
    height: 87px;
}

.phone-yellow img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.responsive-buttons {
	height: 584px;
}

.countdown-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.countdown-ring {
    transform: rotate(-90deg);
}

.ring-bg {
    fill: none;
    stroke: #e5e5e5;
    stroke-width: 10;
}

.ring-progress {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1s linear;
}

.countdown-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    font-weight: bold;
}

.responsive-buttons .fs-5 {
	font-size: 16px!important;
}

@media only screen and (min-width: 1200px) {
	.img-block {
		height: 75%;
	}
	
	.success-message {
		max-width: 1014px;
	}
	
	.profiles {
		max-height: 480px;
	}
	
	.profiles-scroll {
		height: 480px;
	}

	#profiles-component {
		top: 340px;	
	}
}