/* ========== Layout & Structure ========== */

.container {
    width: 100%;
}

hr {
    margin: 20px 0px;
    border: 2px solid #0055cc;
}

p.newsletter-intro {
    margin: 0;
}

header.sixteen.columns {
    margin: 0;
    float: none;
    background: #efefef;
    width: 100% !important;!i;!;
    text-align: center;
    padding: 30px 0;
    clear: both;
    display: block;
}

section.sixteen.columns.contentmiddle {
    width: 100%;
    margin: 0px;
}

h1 {
    font-family: inherit;
}

div#sec3 {
    display: flex;
    flex-direction: column;
    gap: 0;
}

span.sectionhead {
    font-weight: bold;
    display: block;
    width: 100%;
    font-size: 20px;
    color: #000000;
}

div#nlcont {
    padding: 0px 100px 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

div#nlcont div .questionlabel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 0px;
}

div#nlcont div > div[id^="pp"],
div#nlcont div > div[id^="pd"] {
    background: white;
    display: flex;
    align-items: stretch;
    position: relative;
    padding: 15px 20px;
    border: 1px solid #2b3a42;
    border-radius: 5px;
}

div#cutnl,
div#bpronl,
div#pc360nl,
div#tarnl,
div#globestnl {
    background: #f7fafd;
    display: flex;
    /* gap: 20px; */
    flex-direction: row;
    flex-wrap: wrap;
}

span.sectionhead.expanded {
    background: #f7fafd;
    border: none;
}


/* ========== Components ========== */

.checkbox-container {
    display: flex;
}

.checkbox-container input {
    margin: 0 7px 0 0;
}

.subscription-title {
    color: #000;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 8px;
}

span.defaultDescription {
    color: black;
    width: 100%;
}

.subscription-description {
    font-size: 14px;
    color: #000;
    margin-bottom: 8px;
}

.subscription-frequency {
    font-size: 12px;
    color: #888;
}

.subscription-status {
    font-size: 14px;
    font-weight: bold;
    color: #2b3a42;
    /* margin-top: 8px; */
}

.subscription-preview {
    position: absolute;
    bottom: 15px;
    right: 15px;
    margin: 0;
}

.subscription-preview a {
    font-size: 14px;
    color: #2b3a42;
}

.drg-element-type-deployment-type, .drg-element-type-product  {
    position: relative;
}

/* ========== Checkbox Interaction Styles ========== */

.drg-element-type-deployment-type:has(input[type="checkbox"]:checked),
.drg-element-type-product:has(input[type="checkbox"]:checked) {
    border-color: #007BFF;
    background-color: #F0F8FF;
}

.drg-element-type-deployment-type:has(input[type="checkbox"]:checked) .subscription-title,
.drg-element-type-product:has(input[type="checkbox"]:checked) .subscription-title{
    color: #0055cc;
}

.drg-element-type-deployment-type .subscription-status,
.drg-element-type-product .subscription-status{
    color: #000000;
}

.drg-element-type-deployment-type:has(input[type="checkbox"]:checked) .subscription-status,
.drg-element-type-product:has(input[type="checkbox"]:checked) .subscription-status{
    color: #0055cc;
    content: "Subscribed"; /* Note: requires more logic to actually change content */
}



/* ========== Typography & Labels ========== */

span.questionlabel {
    font-size: initial;
    width: 180px;
}

/* ========== Responsive Styles ========== */

@media only screen and (max-width: 810px) {
    div#nlcont > div {
        width: 100%;
        display: flex;
        justify-content: space-around;
    }

    span.questionlabel {
        width: 100%;
    }

    div#nlcont {
    padding: 0px 40px 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

}
