:root {
    --primary-color: #00457B;
    --primary-font: 'Arial';
    --secondary-light-blue: #80B7DD;
    --secondary-extra-light-blue: #006FBA1A;
    --secondary-blue: #006FBA;
    --secondary-transparent-blue: #006FBA0D;
    --button-gray-color: #E0E0E0;
    --active-green: #147D34;
    --white: #ffffff;
}

h2, h3, h4, p, li {
    font-family: var(--primary-font);
    color: var(--primary-color);
}

h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 47px;
    margin: 40px 0;
}

h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 29px;
    margin-bottom: 10px;
}

h4 {
    font-size: 18px;
    font-weight: 700;
    line-height: 29px;
    margin-bottom: 16px;
}

p {
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
}

/* CUSTOM CLASSES */

#map_canvas {
    height: 600px !important;
    width: 100%;
    pointer-events: auto;
}

.map-container {
    position: relative;
}

.find-me {
    width: 200px;
    position: absolute;
    left: 10px;
    height: 35px;
    top: 100px;
    border-radius: 4px;
    line-height: 16px;
    cursor: pointer;
    background-color: var(--primary-color);
    color: #FFFFFF !important;
    padding: 10px 15px 10px 15px;
    font-size: 16px !important;
    text-align: center;
    display: block;
    z-index: 100;
}

#pac-input {
    display: none;
    position:absolute;
    height: 30px;
    width: 175px;
    left: 10px !important;
    top: 60px !important;
    padding: 10px !important;
    background-color: #ffffff !important;
    border: 1px solid var(--primary-color);
}

button.disabled {
    opacity: 0.6;
}

.margin-top-40 {
    margin-top: 40px;
}

header {
    height: 135px;
    .container {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        .logo {
        }

        .nav-links {
            margin-bottom: 20px;
            display: flex;
            flex-wrap: wrap;
            gap: 15px;

            a {
                padding: 0 20px;
                font-size: 22px;
                line-height: 45px;
                color: #04427b;
                text-decoration: none;
                font-family: "Fira Sans", sans-serif;
            }

            a:hover {
                color: #147D34;
            }
        }
    }
}

footer {
    padding: 44px 0;
    border-top: 1px solid #e6e6e6;
    background-image: url('https://smart.darwin.nt.gov.au/assets/theme_image/footer-bg.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    .container {
        display: flex;
        max-width: 1450px;
        
        .text-container {
            padding: 60px 45px 48px 55px;
            p {
                font-size: 14px;
                margin: 20px 0;
                font-family: "Fira Sans", sans-serif;
                font-weight: 300;
                text-align: left;
                line-height: 21px;
                color: #04427b;
            }
            a {
                text-decoration: underline;
                color: #04427b;
            }
            a:hover {
                color: #147D34;
            }
        }
    }
}

.portal-brand-section {
    background-image: url('https://smart.darwin.nt.gov.au/assets/theme_image/banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 100px;
    padding-bottom: 40px;
    color: white;

    h1 {
        text-align: center;
        font-size: 48px;
        font-weight: 700;
        font-family: var(--primary-font);
        span {
            margin-left: 25px;
        }
    }
}

.external-link-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0 60px;
    a {
        color: var(--white);
        background-color: var(--secondary-blue);
        padding: 8px 32px;
        text-decoration: underline;
        border: none;
        border-radius: 4px;
        outline: none;
        user-select: none;
    }

    button {
        color: var(--secondary-blue);
        background-color: var(--white);
        padding: 8px 32px;
        text-decoration: underline;
        border: 1px solid var(--secondary-blue);
        border-radius: 4px;
        outline: none;
        text-decoration: none;

        &:hover {
            color: var(--white);
            background-color: var(--secondary-blue);
        }
    }
}

    .button-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 40px 0;

        button {
            color: var(--white);
            background-color: var(--secondary-blue);
            padding: 8px 32px;
            text-decoration: underline;
            border: none;
            border-radius: 4px;
            outline: none;
            user-select: none;
        }
.intro-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 0 auto;

    }

    .other-tools-container {
        margin-top: 80px;
        background-color: #006FBA26;
        padding: 40px 0;
        display: flex;
        justify-content: center;
    }
}

.flex-center {
    display: flex;
    justify-content: center;
}

.main-form-container {
    min-height: 900px;
}

.main-container {

    display: flex;
    padding: 0 100px 0;
    flex-wrap: wrap;
    justify-content: center;
    

    .survey-container {

    }

    .survey-details-container {
        background-color: var(--secondary-light-blue);
        h4 {
            padding: 24px;
            font-size: 22px;
            font-weight: 700;
            line-height: 29px;
        }
        ul {
            padding: 0 40px 40px;
            list-style-position: inside;

            li {
                font-size: 16px;
                font-weight: 400;
                line-height: 27px;
            }
        }
    }


    .survey-section {
        margin-top: 24px;

        h4 {
            position: relative;

            span.missing-warning {
                color: red;
                font-size: 14px;
                position: absolute;
                top: 0;
                padding-left: 5px;
            }
        }

        textarea {
            min-height: 150px;
            background-color: var(--secondary-transparent-blue);
            border-radius: 4px;
        }

        input[type="date"] {
            background-color: var(--secondary-transparent-blue);
            border-radius: 4px;
            border: 1px solid #3B393C;
            padding: 10px 20px;
        }

        input[type="file"] {
            background-color: var(--secondary-transparent-blue);
            border-radius: 4px;
            border: 1px solid #3B393C;
            padding: 10px 20px;
        }

        .odswidget-select {
            padding: 0;
            border-radius: 4px;
            height: 45px;
            border: 1px solid #3B393C;
            .odswidget-select-input-container {
                height: 45px;
            }
            .odswidget-select-button {
                padding: 10px 20px;
                background: var(--secondary-transparent-blue);
                border: none;
                .odswidget-select-button-label {
                    outline: none;
                    font-size: 16px;
                    color: #000000;
                }
                .fa-angle-down {
                    color: #000000;
                }
            }

            .odswidget-select-input {
                outline: none;
                border: none;
                height: 40px;
            }
        }
    }

    .radio-container {
        display: flex;
        justify-content: space-evenly;
        flex-wrap: wrap;

        label {
            padding: 10px;
            border-radius: 8px;
            cursor: pointer;
            user-select: none;
            
            transition: background-color 0.3s ease;
    
            input[type="radio"] {
                display: none;
            }
    
            input[type="radio"]:checked + span {
                background-color: var(--secondary-light-blue);
            }
    
            span {
                background-color: var(--secondary-extra-light-blue);
                display: inline-block;
                padding: 10px 30px 10px 10px;
                font-size: 22px;
                font-weight: 700;
                line-height: 29px;
                color: var(--primary-color);

                img {
                    margin-right: 10px;
                }
            }
        }
    }
}

.button-container {
    padding: 40px 100px 80px;
    display: flex;
    justify-content: center;
    align-items: center;


    button {
        padding: 8px 32px;
        text-decoration: underline;
        border: none;
        border-radius: 4px;
        outline: none;
        user-select: none;
        .fa-arrow-left {
            margin-right: 5px;
        }

        .fa-arrow-right {
            margin-left: 5px;
        }
    }

    button:first-child {
        background-color: var(--button-gray-color);
    }

    button:nth-child(2),button:nth-child(3) {
        margin-left: 10px;
        background-color: var(--secondary-blue);
        color: var(--white);
    }
}

@media (max-width: 992px) {
    .main-container {

        .survey-details-container {
            margin-top: 40px;
        }
    }
}
@media (max-width: 600px) {
    .main-container {
        padding: 0 20px;
    }

    .button-container {
        padding: 40px 20px 80px;
    }
}

.form-section-1 {
    padding-bottom: 80px;
}


.final-section-other-tools {
    font-weight: 700;
}

.p-0 {
    padding: 0 !important;
}

.flex-wrap {
    display: flex;
    flex-wrap: wrap;
}
.intro-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 40px 0;
    h3{
        text-align: center;
    }
}
/* Radio button style */

.radio-btn-container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 18px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default radio button */
.radio-btn-container {
  .radio-btn {
    opacity: 0;
  position: absolute;
  cursor: pointer;
  }
  .other-text-input{
    margin: 0;
    border: none;
    border-bottom: 1px solid #3B393C;
    width: 200px;
    &:focus{
        outline: none;
        border-bottom: 1px solid var(--secondary-blue);
    }
    &:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        background-color: #f5f5f5;
        border-bottom: 1px solid #ccc;
    }
  }
}

/* Create a custom radio button */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.radio-btn-container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.radio-btn-container input:checked ~ .checkmark {
  background-color: #2196F3;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.radio-btn-container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.radio-btn-container .checkmark:after {
 	top: 9px;
	left: 9px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: white;
}

.go-to-liveability a{
    color: var(--secondary-blue);
}