.fancybox-content {
    background-color: rgba(0, 0, 0, 0.9) !important;
    border: 2px solid var(--accent-color);
    padding: 70px 45px 45px 45px !important;
    max-width: 1440px !important;
    transition: .3s ease;
}
.fancybox-close-small {
    border: 3px solid #fff !important;
    border-radius: 50% !important;
    padding: 5px !important;
    top: 15px !important;
    right: 15px !important;
}
 /* input,
 select,
 textarea {
    border: none;
    padding: 15px 20px;
    outline: none;
    color: #000;
    max-height: 45px;
    width: 100%;
}
 textarea {
    max-height: unset;
    resize: none;
}
 option,
 optgroup {
    color: #000;
}
 input[type='radio'] {
    width: unset;
}
input[type='file'] {
    display: none;
} */
#order-popup{
    transition: .3s ease;
}
.custom-file-upload {
    background-color: #fff;
    color: #333333;
    display: inline-block;
    padding: 15px 80px 15px 20px;
    cursor: pointer;
    position: relative;
}
.custom-file-upload::before {
    content: 'Browse';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    /* text-transform: uppercase; */
    cursor: pointer;
    border: 1px solid #828282;
    padding: 3px 6px;
    border-radius: 5px;
}
.custom-file-upload .file-name {
    color: #000;
    font-size: 12px;
}
.custom-file-upload.error{
   border: 1px solid rgb(255, 113, 113);
    background-color: rgb(255, 238, 238);
}
.inp-ttl {
    font-weight: 300;
    margin-bottom: 5px;
}
.op-wrapper {
    background-color: rgba(0, 0, 0, 0.9);
}
.op-head {
    display: flex;
    margin-bottom: 30px;
}
.op-head .op-head-divider {
    margin: 0 15px;
}
.op-head-text {
    display: flex;
    flex: 1;
    align-items: center;
    margin-right: 100px;
}
.op-head-text h1 {
    font-size: 40px;
}
.op-steps {
    display: flex;
}
.op-head-step {
    padding: 5px 10px;
    background-color: #333333;
    color: #828282;
    height: max-content;
    border-right: 1px solid #000;
    text-transform: uppercase;
}
.op-head-step.active {
    background-color: var(--accent-color);
    color: #000;
}
.op-st-1-left {
    max-width: 330px;
}
.op-st-1-left > img,
.op-st-1-right > img {
    width: 100%;
    object-fit: contain;
}
.op-st-1-left > * {
    margin-bottom: 20px;
}
.op-st-1-content,
.op-st-3-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
}
.op-st-2-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}
.form-block {
    padding: 17px 28px;
    background-color: var(--form-bg-color);
    margin-bottom: 10px;
}
.form-block > label {
    display: block;
    color: var(--accent-color);
    margin-bottom: 20px;
}
.form-block-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: flex-end;
}
.input-box-row {
    display: flex;
    height: 100%;
}

.input-box {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.input-box-row .input-box:not(:last-of-type) {
    margin-right: 20px;
}
.to-pay-block {
    background-color: var(--form-bg-color);
    max-width: 300px;
    margin-bottom: 30px;
}
.to-pay-block table {
    padding: 20px 30px;
    border-spacing: 10px;
}
.posters-block {
    display: flex;
    flex-direction: column;
    padding: 35px 20px;
}
.posters-block > div {
    margin-bottom: 5px;
}

@media only screen and (max-width: 1200px) {
    .op-head {
        flex-direction: column;
    }
    .op-head-text {
        margin: 0;
    }
}

@media only screen and (max-width: 1180px) {
    .op-st-1-content,
    .op-st-3-content {
        grid-template-columns: 250px 1fr;
    }
    .op-st-2-content{
        grid-template-columns: 1fr 250px;
    }
}
@media only screen and (max-width: 1065px) {
    .op-st-1-content,
    .op-st-3-content{
        display: block;
    }
    .op-st-1-left{
        max-width: unset;
        display: flex;
        align-items: flex-start;
    }
    .op-st-1-left > img{
        width: unset;
        max-width: 100%;
    }
    .op-st-1-left > div{
        padding: 20px;
    }
}
@media only screen and (max-width:800px) {
    .form-block-grid{
        display: block;
    }
    .form-block-grid input,
    .form-block-grid select{
        margin-bottom: 8px;
    }
    .custom-file-upload{
        width: 100%;
        margin-bottom: 8px;
    }
    .op-st-2-content{
        display: flex;
        flex-direction: column-reverse;
    }
    .op-st-1-right > img{
        width: unset;
        max-width: 100%;
    }
}
@media only screen and (max-width:700px) {
.op-head-text{
    display: block;
}
.op-head-divider{
    display: none;
}
}

@media only screen and (max-width:620px) {
    .op-st-1-left{
        flex-direction: column;
    }
    .op-st-1-left > img, .op-st-1-right > img{
        width: unset;
        max-width: 100%;
    }
    .fancybox-content{
        padding: 70px 3% !important
    }
}
.loading {
    padding: 20px;
    /* max-width: 300px; */
    /* width: 300px; */
    max-height: 300px;
    /* height: 300px; */
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.3);
}

.container {
    height: 15px;
    width: 105px;
    display: flex;
    position: relative;
}
.container .circle {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #fff;
    animation: move 500ms linear 0ms infinite;
    margin-right: 30px;
}
.container .circle:first-child {
    position: absolute;
    top: 0;
    left: 0;
    animation: grow 500ms linear 0ms infinite;
}
.container .circle:last-child {
    position: absolute;
    top: 0;
    right: 0;
    margin-right: 0;
    animation: grow 500ms linear 0s infinite reverse;
}

@keyframes grow {
    from {
        transform: scale(0, 0);
        opacity: 0;
    }
    to {
        transform: scale(1, 1);
        opacity: 1;
    }
}
@keyframes move {
    from {
        transform: translateX(0px);
    }
    to {
        transform: translateX(45px);
    }
}

.ap-msg{
	text-align: center;
	padding: 20px 0 15px;
	font-size: 14pt;
	color: #FFF;
}

.ap-action{
	display: flex;
	justify-content: center;
	text-align: center;
	padding-top: 20px 30px;
}

.ap-action A{
	display: block;
	margin: 10px 5px;
	width: auto;
	min-width: 100px;
	padding: 15px;
	text-align: center;
	background-color: #FFC500;
	border-radius: 5px;
	color: #000;
	text-decoration: none;
	font-size: 18px;
}
