﻿body {
    height: 100%;
}

main {
    background: #fff;
}

.main {
    display: grid;
    justify-items: center;
}

.login-container {
    display: grid;
    width: 100vw;
    height: 100vh;
    grid-template-columns: 1fr;
    grid-template-rows: 35% 1fr;
    grid-row-gap: 3rem;
    max-width: 480px;
    overflow-x: hidden;
}

.inspection-container {
    display: grid;
    width: 100vw;
    max-width: 480px;
}

img {
    /*    width: 100%;*/
    height: auto;
}

button {
    width: 100%;
}

i {
    color: rgb(107, 114, 128);
}

.ant-layout-header {
    background: rgb(47, 128, 222) !important;
    color: white !important;
    padding: 0px 12px !important;
}

.task-line-vertical {
    border-left: 1px solid rgb(214, 215, 219);
    margin-left: 0.5em;
}

.ant-card-body {
    padding: 12px !important;
}

.ant-tag {
    border-radius: 4px !important;
    background: rgb(47, 128, 222) !important;
    color: white !important;
    border-color: transparent !important;
}

.ant-divider-horizontal {
    margin: 12px 0 !important;
}

.inspection-address-card {
    padding: 12px !important;
    border-radius: 6px;
    box-shadow: rgb(0 0 0 / 20%) 0px 0px 6px -1px, rgb(0 0 0 / 7%) 0px 4px 4px -1px;
    margin: 12px 0 16px 12px !important;
}

.inspection-address-card-smoke, .inspection-card-gas-appliance {
    padding: 12px !important;
    border-radius: 6px;
    box-shadow: rgb(0 0 0 / 20%) 0px 0px 6px -1px, rgb(0 0 0 / 7%) 0px 4px 4px -1px;
    position: relative;
}

.one-inspection-container {
    background: #fff;
    padding: 0 12px;
}

.back-to-my-tasks {
    margin-top: 24px;
    margin-bottom: 18px;
}

.icon_inprogress {
    width: 12px;
    height: 12px;
    background: #2F80ED;
    border-radius: 50%;
    display: inline-block;
    vertical-align: -.125em;
}

.icon_pass {
    width: 12px;
    height: 12px;
    background: #27AE60;
    border-radius: 50%;
}

.icon_minor_repair {
    width: 14px;
    height: 14px;
    background: #66CC00;
    border-radius: 50%;
}

.icon_attention {
    width: 14px;
    height: 14px;
    background: #F2994A;
    border-radius: 50%;
}

.icon_pass_check {
    color: #27ae60 !important;
    font-size: 14px !important;
    display: inline-block;
    vertical-align: -.2em !important;
}


.icon_fail {
    width: 14px;
    height: 14px;
    background: #EB5757;
    border-radius: 50%;
}

.icon_na {
    width: 14px;
    height: 14px;
    background: #828282;
    border-radius: 50%;
}

.icon_next {
    width: 12px;
    height: 12px;
    border-color: #828282;
    opacity: 0.5;
    background: #FFFFFF;
    border-radius: 50%;
    border-width: 2px;
    border-style: solid;
    display: inline-block;
    vertical-align: -.125em;
}

.progress-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

label {
    color: #6b7280 !important;
}

.save-for-later {
    color: #2f80de !important;
    border-color: #2f80de !important;
}

.submit {
    color: #fff !important;
    background-color: #2f80de !important;
    border-color: #2f80de !important;
}

div {
    font-size: 12px;
}

.progress-line {
    margin: 0px 2px;
    height: 1px;
    background: rgb(167, 170, 190);
    flex-grow: 1;
}

.ant-collapse-icon-position-right > .ant-collapse-item > .ant-collapse-header .ant-collapse-arrow {
    position: absolute;
    top: 50%;
    right: 16px;
    left: auto;
    margin: 0;
    transform: translateY(-50%);
}

.ant-collapse-borderless > .ant-collapse-item > .ant-collapse-content {
    background-color: #fff !important;
}

.gas-combustion-referto {
    background: rgb(243, 244, 246) none repeat scroll 0% 0%;
    padding: 12px;
    margin-bottom: 18px;
    border-radius: 0px;
}

.gas-finalise {
    background: rgb(243, 244, 246) none repeat scroll 0% 0%;
    padding: 12px;
    margin-bottom: 18px;
    border-radius: 4px;
}

.ant-collapse-content > .ant-collapse-content-box {
    padding: 0px !important;
}

.ant-collapse-borderless > .ant-collapse-item {
    border-bottom: 0px !important;
}

.ant-collapse-borderless {
    background-color: rgb(229, 231, 235) !important;
}

.ant-collapse-header {
    font-size: 13px;
    font-weight: 500;
}
