/* ====== Media Queries ====== */

@media only screen and (max-width:1400px) {
    .background-image {
        height: 150vh;
        bottom: 15%;
        background-size: 95%;
    }

    .carousel-item p {
        width: 90%;
        margin: 1rem auto;
    }

    .hero--col--text {
        padding: 2.3rem;
    }

    .hero--col--sides .tough-choices-img {
        max-width: 450px;
    }
    .cus-placeholder {
        aspect-ratio: 4 / 3;
    }
}

@media only screen and (max-width:1240px) {
    .background-image {
        height: 165vh;
    }

    .logo {
        max-width: 150px;
    }

    .cosboa-logo {
        max-width: 250px;
    }

    .btn--primary {
        padding: 10px 25px;
        font-size: 18px;
    }

    .hero--col--sides .tough-choices-img {
        max-width: 350px;
    }

    .news--topline {
        margin-bottom: 1rem;
    }

    .hero--col--sides {
        gap: 15px;
    }

    .hero--col--text {
        padding: 2rem;
    }

    .btn--secondary {
        padding: 10px 20px;
    }

    .poll--content--box {
        max-width: 100%;
    }

    .video--container iframe {
        min-height: 300px;
    }
    .articles-row{
        flex-direction: column;
        gap: 15px;
    }
    .article-cards {
        display: flex;
        width: calc(50% - 10px);
    }
    .articles-sides{
        width: 100%;
        align-items: stretch;
    }
    .articles-row .articles-sides:nth-child(2) {
        flex-direction: row;
        gap: 15px;
        flex-wrap: wrap;
    }
    .article-card-main.article-card.article-card-main {
        display: flex;
        align-items: stretch;
    }
    .article-cards {
        width: calc(50% - 10px);
        flex-direction: column;
    }
    .news-box .article-cards {
        width: 100%;
        flex-direction: row;
    }
    .news-box .article-cards .article-image {
       width: 500px;
    }
    .article-card-main .article-image,.article-card-content{
        width: 50%;
    }
    .article-card-content{
        padding: 1.5rem;
    }
    .article-cards .article-image,.articles-sides .article-cards .article-image {
        width: 100%;
    }

    .hero--choices--cols {
        min-width: 190px;
    }

    .top--section .header-text {
        width: calc(100% - 440px);
    }

    /* .signup--form {
        margin: 15px 0;
    }

    .header-menu li {
        padding: 1.15rem;
    } */

    .send-letter-badge {
        width: 220px;
        padding: 35px;
    }

    .send-letter-badge p {
        font-size: 17px;
    }
}

@media only screen and (max-width:1199px) {
    .hero--col--choices {
        flex-direction: column;
        gap: 10px;
    }

    .hero--choices--cols {
        width: 100%;
        gap: 10px;
    }

    .letter--grid--rows .grid--cols.letter--form--grid {
        padding: 1.5rem;
    }

    ul#petitionTab {
        flex-direction: column;
    }

    ul#petitionTab .nav-item {
        width: 100%;
    }

    .send-letter-description,
    .send-letter-description .send-letter-title {
        margin-bottom: 1rem;
    }
}

@media only screen and (max-width:1100px) {
    .hero--col--sides .tough-choices-img {
        max-width: 350px;
    }
}

@media only screen and (max-width:991px) {
    .desktop {
        display: none !important;
    }

    .mobile {
        display: block !important;
    }

    .hero--banner--row {
        flex-direction: column;
    }

    .hero--col--sides {
        width: 100%;
    }

    .hero--video--title,
    .hero--col--sides .title,
    .hero--col--sides p {
        text-align: center;
    }

    .grid--rows {
        flex-direction: column-reverse;
    }

    .grid--cols {
        width: 100%;
    }

    .stats--container {
        padding: 3rem;
        gap: 1rem;
        flex-direction: column;
    }

    .stat-item {
        max-width: 90%;
        width: auto;
    }

    .poll--grid--rows {
        flex-direction: column;
    }

    .poll--grid--cols {
        width: 100%;
    }

    .poll--content {
        padding: 2rem;
    }

    .header--section {
        background-position: top center;
    }

    .survey--view {
        flex-direction: column;
        padding: 3rem;
    }

    .choices {
        margin-top: 1rem;
    }

    .survey--question--cols {
        width: 100%;
    }

    .share--your--story--content {
        flex-direction: column-reverse;
    }

    .cmm-have-your-say--form,
    .cmm-have-your-say-message-list {
        width: 100% !important;
        padding: 0;
    }

    .navbar-nav li {
        padding: 10px 20px;
        list-style: none;
        text-align: end;
    }

    .background-image {
        height: 300vh;
        bottom: 0%;
        background-size: 300%;
    }

    .about--section .grid--rows .grid--cols:last-child {
        padding-right: 1rem;
        padding: 0;
    }

    .section--row {
        padding: 1rem 0 0;
    }

    .stats--container .stat-item:nth-child(1),
    .stats--container .stat-item:nth-child(2) {
        border-bottom: thin solid var(--white);
        padding-bottom: 2rem;
    }

    .hero--banner--row {
        margin-top: 0;
    }

    .navbar-toggler {
        padding: 10px 10px 0;
    }

    .video--container {
        min-height: auto;
    }

    .video--container iframe {
        min-height: 390px;
    }

    .header-menu li {
        padding: .5rem .75rem;
        border: 0;
    }

    .header-menu {
        width: 100%;
        flex-direction: column;
        text-align: end;
        gap: 5px;
    }

    .header-menu li a {
        color: rgb(80, 80, 80);
    }

    .menu-menu-1-container {
        background-color: rgb(var(--clr--white));
        justify-content: end;
    }

    .navbar-toggler {
        display: block;
        margin: 0 0 0 auto;
        padding: 5px 10px 5px;
    }

    .navbar-toggler.button-toggled .navbar-icon:nth-of-type(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .navbar-toggler.button-toggled .navbar-icon:nth-of-type(2) {
        opacity: 0;
    }

    .navbar-toggler.button-toggled .navbar-icon:nth-of-type(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .navbar-toggler.collapsed .navbar-icon {
        opacity: 1;
        transform: rotate(0deg) translate(0px, 0px);
        -webkit-transform: rotate(0deg) translate(0px, 0px);
        -moz-transform: rotate(0deg) translate(0px, 0px);
        -ms-transform: rotate(0deg) translate(0px, 0px);
        -o-transform: rotate(0deg) translate(0px, 0px);
    }

    .single-article-image {
        width: 50%;
    }

    .single-article-row .title {
        width: 50%;
        padding: 1rem;
    }

    .single-article {
        padding: 1rem;
    }

    .video--container img {
        height: auto;
    }

    .title-stripe {
        margin-inline: auto;
    }

    .navbar {
        background-color: rgb(80, 80, 80);
    }

    header {
        margin-bottom: 15px;
    }

    .logo-news {
        max-width: 120px;
    }

    /* .signup--form {
        padding-top: 70px !important;
        margin: 180px 0 15px;
    } */

    .send-letter-badge {
        top: -170px;
        left: 50%;
        right: inherit;
        transform: translateX(-50%);
    }

    /* .cmm-have-your-say-message-list {
        height: auto;
        max-height: 500px;
    } */

    .comments-wrapper {
        height: auto;
        max-height: 460px;
    }

    .top--section .header-text {
        width: calc(100% - 300px);
    }

    .petition-magnet-copy {
        padding-right: 1rem;
    }

    .petition-magnet-copy + img {
        width: 100%;
    }

    .thank--you--row {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .thanks--col--dynamics {
        width: 100%;
        padding: 1.5rem 2.5rem;
    }

    .thanks--col--sides {
        width: 100%;
    }

    .title-stripe-large {
        margin-bottom: 1rem;
    }

    .thankyou--choices--cols--button .btn {
        padding: 10px 15px;
    }

    .thankyou--choices--cols {
        width: 100%;
    }

    .thankyou--choices--cols--button {
        gap: 10px;
    }

    .grid-2-items > *,
    .grid-3-items > *,
    .grid-4-items > * {
        width: calc((100% / 2) - 24px);
    }

    .thanks--col--img {
        text-align: center;
    }

    .thanks--col--img img {
        max-width: 100%;
        max-height: 400px;
        margin-left: 0;
    }
}

@media only screen and (max-width:769px) {

    .survey--content,
    .survey--form,
    .poll--image,
    .hero--col--choices {
        padding: 1rem;
    }

    .survey--view,
    .share--your--story--content {
        padding: 1.5rem;
    }

    .carousel-control-next-icon,
    .carousel-control-prev-icon {
        display: none;
    }

    .hero--col--sides {
        gap: 15px;
    }

    .survey--content {
        background: rgb(var(--clr--white));
        background: -moz-linear-gradient(180deg, rgba(var(--clr--white), 1) 0%, rgba(252, 252, 252, 0.6) 100%);
        background: -webkit-linear-gradient(180deg, rgba(var(--clr--white), 1) 0%, rgba(252, 252, 252, 0.6) 100%);
        background: linear-gradient(180deg, rgba(var(--clr--white), 1) 0%, rgba(252, 252, 252, 0.6) 100%);
    }

    .survey_feeback .invalid-feedback {
        font-size: 20px;
        font-weight: 600;
        margin: -5% 0 20px;
        padding: 30px 0;
        line-height: 1;
        text-align: center;
    }

    .subscribe--content {
        padding: 2rem 1.5rem;
    }

    .hero--banner--row .carousel-inner {
        min-height: 300px;
    }

    /* .cmm-have-your-say-message-list {
        height: 530px;
    }

    .comments-wrapper {
        height: 490px;
    } */

    .single-article-row {
        flex-direction: column;
    }

    .single-article-image {
        width: 100%;
    }

    .single-article-row .title {
        width: 100%;
        padding: 0rem;
    }

    .single-article-content {
        margin: 1rem auto;
    }

    .article-card-content {
        padding: 1em;
    }

    .letter--grid--rows .grid--cols.letter--form--grid {
        padding: 2rem;
    }

    .top--section {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .cosboa--top--section {
        padding-block: 1rem;
    }

    .cosboa--top--section .cosboa-header-links ul {
        justify-content: center;
    }

    .top--section .logo {
        order: 1;
    }

    .top--section .header-text {
        width: 100%;
        order: 3;
    }

    .top--section .header-title {
        text-align: center;
    }

    .top--section .top--section--button {
        order: 2;
    }

    div#landing_page .section--row:last-child {
        padding-bottom: 15px !important;
    }

    .common--header {
        padding: 1rem;
    }

    div#landing_footer {
        margin-top: 1rem !important;
    }

    .thankyou--choices--cols--button {
        flex-direction: column;
    }

    .thankyou--choices--cols--button .btn {
        width: 100%;
    }

    .newsroom-filter {
        width: 100%;
    }

    .filter-half-sec {
        text-align: center;
    }

    .newsroom-filter select {
        max-width: 100%;
        width: 100%;
        display: block;
    }

    .top--section .header-text.cosboa-header-links {
        margin-top: 0;
        margin-right: 0;
    }

    .newsroom-filter-wrapper {
        margin-block: 1.5rem;
    }
}

@media only screen and (max-width:767px) {
    .cmm-petition-signup--form form .row [class*="col"]:nth-of-type(2),
    .cmm-mp--form form .row [class*="col"]:nth-of-type(2) {
        margin-top: 0;
    }
}

@media only screen and (max-width:610px) {
    .logo {
        max-width: 100px;
    }

    .cosboa-logo {
        max-width: 210px;
    }

    .btn--primary,
    .btn--secondary {
        padding: 10px 20px;
    }

    .hero--col--choices {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero--choices--cols {
        width: 100%;
    }

    .background-image {
        bottom: 10%;
    }

    .survey--choices .btn {
        max-width: 100%;
    }

    ::-webkit-scrollbar {
        width: 0.3em;
    }

    .modal-title {
        line-height: 1.2;
    }

    .modal-content {
        padding: 2rem;
    }

    .share--content {
        padding: 2rem 1rem;
    }

    .news--topline {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
    }

    .poll--content {
        padding: 1.5rem;
    }

    .share--your--story--content {
        padding: 1.5rem;
    }

    .stats--container {
        padding: 2rem 1.5rem;
        gap: 1rem;
    }

    .video--container iframe {
        min-height: 230px;
    }

    span.play-btn {
        width: 80px;
        height: 80px;
    }

    .play-btn i {
        font-size: 2rem;
    }

    .articles-pagination {
        flex-direction: column;
        gap: 10px;
    }

    .single-article {
        margin: 0.5rem auto;
    }

    .innerpage-title {
        margin-top: 1rem;
    }
    .article-card-main.article-card.article-card-main {
        flex-direction: column;
    }
    .article-card-main .article-image, .article-card-content {
        width: 100%;
    }
    .article-cards {
        width: 100%;
        flex-direction: column;
    }
    .cus-placeholder {
        aspect-ratio: 1 / 1;
    }
    .news-box .article-cards .article-image {
        width: 100%;
    }

    .signup--form {
        padding: 1rem 1.5rem;
    }

    .survey--view,
    .letter--grid--rows .grid--cols.letter--form--grid {
        padding: 1rem;
    }

    .thanks--col--dynamics {
        padding: 1.5rem 1.5rem 0;
    }

    .title-stripe-large {
        margin-left: 0;
    }

    .stripe-heading-large {
        padding: 3px 10px;
    }

    .grid-2-items > *,
    .grid-3-items > *,
    .grid-4-items > * {
        width: 100%;
    }

    .page-media-filter-wrapper {
        flex-direction: column;
    }
}

@media only screen and (max-width:480px) {
    .news-box .article-cards {
        flex-direction: column;
    }
    .news-box .article-cards .cus-placeholder {
        aspect-ratio: 16 / 9;
    }

    .cmm-have-your-say--form .form-check-label {
        font-size: 13px;
    }
}

@media only screen and (max-width:400px) {
    .video--container iframe {
        min-height: 208px;
    }

}

@media only screen and (max-width:321px) {

    .btn--primary,
    .btn--secondary {
        padding: 10px 15px;
    }
}