@media screen and (max-width: 1200px) {
    .specialty-content p {
        padding: 0 15px;
    }

    .content-container {
        max-width: 90%;
    }

    .past-event-chunk .content-container {
        width: 100%;
        max-width: 90%;
        margin: 0 auto;
        padding: 0 1.5rem;
    }


    .past-event-chunk .content-container .row {
        position: relative;
        left: -20px;
    }

    .content-container .content-container {
        max-width: 100%;
    }

    .image-container {
        background-color: #e6e6e8;
        overflow: hidden;
        height: unset;
    }

    .image-container img {
        object-fit: cover;
        width: 100%;
        height: unset;
        cursor: pointer;
    }

    .image-container > div:first-child {
        height: unset;
    }
}


/* ----------------------------------------------------------*/


@media screen and (max-width: 992px) {
    .mobileDrawerModalBody {
        max-height: calc(100vh);
        background-color: #f2f2f2;
    }

    .mobileDrawerModalBody ul {
        margin-bottom: 125px
    }

    .mobileDrawerModalBody ul > li:first-of-type {
        margin-top: 10%;
        margin-left: -8px;
    }

    .awssld, .awssld__box.awssld--active, .awssld--animated .awssld__content, .awssld__wrapper {
        height: 100%;
        overflow: visible !important;
    }

    .caption h1 {
        font-size: 5.5rem
    }

    .background.bg-1 {
        background-size: cover;
    }

    .specialty-content p {
        padding: 0;
    }

    .footer-content > .row:first-child > .col-md-6 {
        max-width: 70%;
        flex: 70%;
    }

    .feature-event-content h2 {
        font-size: 36px;
        line-height: 42px;
        margin-bottom: 10px;
    }

    #feature-event img {
        width: 100%;
        height: auto;
    }

    .event-details p {
        width: 100%;
    }

    .modal .modal-dialog {
        -webkit-transform: none;
        -moz-transform: none;
        transform: none;
        margin: 0;
    }

    .event-lessbrd h2 {
        width: 100%;
        margin-bottom: 40px;
    }

    .search-sub {
        font-size: 1.8rem !important;
        color: #555 !important;
        margin-top: 15px;
        margin-bottom: 5px !important;
    }

    .search-empty-descr {
        margin-bottom: 80px;
    }

    .search-empty-descr p {
        font-size: 18px !important;
    }

    .search-empty-descr ul {
        margin-top: -10px;
        font-size: 18px !important;
    }

    .search-empty-descr li {
        list-style-type: none;
        position: relative;
    }

    .search-empty-descr li::before {
        content: '\2022';
        position: absolute;
        left: -0.8em;
        font-size: 1.2em;
    }

    #header.navbar {
        padding: 25px 0 25px !important;
    }

    .carousel-control-next,
    .carousel-control-prev {
        margin-top: 105px;
    }

    .speaking-service .specialty-content p {
        padding: 0 30px 0 0;
    }

    .events-container .feature-event-content {
        margin-top: 1.6rem !important;
    }

    .feature-event-content {
        padding-left: 0;
    }

    .past-event-title {
        padding: 100px 0 0 3.5rem;
    }

    .pastevent .feature-event-content {
        padding: 2.5rem 0 8rem 3.5rem;
    }

    .cross-brd-3 {
        -webkit-transform: rotate(-4.8deg);
        transform: rotate(-4.8deg);
    }

    .card-columns {
        -webkit-column-count: 2 !important;
        -moz-column-count: 2 !important;
        column-count: 2 !important;
        -webkit-column-gap: 1.25rem !important;
        -moz-column-gap: 1.25rem !important;
        grid-column-gap: 2.25rem !important;
        column-gap: 2.25rem !important;
    }

    .past-event-chunk:nth-child(2n) {
        -webkit-clip-path: polygon(0 1.5%,100% 0,100% 98%,0 100%);
        clip-path: polygon(0 1.5%,100% 0,100% 98%,0 100%);
    }

    .portfolio-single-right {
        margin-left: 0;
    }

    .caption h1 {
        font-size: 5.5rem;
        font-weight: 400;
        width: 90%;
        margin-bottom: 15px;
        margin: auto auto 10px;
    }

    .caption {
        max-width: 90%;
    }

    .caption p {
        font-size: 1.6rem;
        width: 75%;
        line-height: unset;
        margin: 10px auto 15px;
    }

    .portfolio-project h3 {
        font-size: 1.8rem;
        line-height: 24px;
        min-height: 72px;
      }

      .portfolio .btn-outline {
        margin-top: -50px;
      }

      #feature-module .feature-img-left {
        height: auto;
        max-height: 100%;
        overflow: hidden;
        padding: 0 0 0 15px;
      }

      .feature.feature-left {
        padding-left: 0;
      }

      #feature-module .feature-img-left img {
        position: unset;
        width: 100%;
      }

      .feature {
        margin: 30px 0;
      }

      #press-container {
        row-gap: 100px;
     }
}


/* ----------------------------------------------------------*/


@media screen and (max-width: 768px) {
    #press-container {
        row-gap: 10px;
    }

    .press-container .btn-outline {
        margin-top: 50px;
    }

    #header.navbar {
        padding: 60px 0 50px;
    }

    .awssld, .awssld__box.awssld--active, .awssld--animated .awssld__content, .awssld__wrapper {
        height: calc(60vh - 10px) !important;
        overflow: visible !important;
    }

    .caption h1 {
        font-size: 5.5rem;
        font-weight: 400;
        width: 90%;
        margin-bottom: 15px;
        margin: auto auto 10px;
    }

    .caption {
        max-width: 90%;
    }

    .caption p {
        font-size: 1.6rem;
        width: 80%;
        line-height: unset;
        margin: 10px auto 15px;
    }

    .caption a {
        background-color: var(--green1);
        color: var(--black1);
        font-size: 12px;
        border-radius: 30px;
        border: 2px solid var(--green1);
        text-transform: uppercase;
        letter-spacing: 0.15em;
        font-weight: 800;
        margin-top: 10px;
    }

    .caption a {
        border-radius: 35px;
    }

    .overlay {
        padding: 15% 0 25%;
    }

    .carousel-control-next,
    .carousel-control-prev,
    .events-container .past-date .feature-event-content h4,
    .events-container .past-date .feature-event-content h4 span {
        display: none;
        color: var(--gray1);
        font: 600 1.2rem/26px 'Montserrat', sans-serif;
    }

    .arrow-circle {
        display: none;
    }

    .page-heading .col-md-8 {
        max-width: 100%;
        flex: 100%;
    }

    .specialty-content {
        margin-bottom: 6rem;
    }

    .feature-event-content p {
        font-size: 18px;
        line-height: 32px;
        margin-bottom: 10px;
    }

    .margB148 {
        margin-bottom: 202px;
    }

    .portfolio-img img,
    #specialty-content .portfolio-img img {
        height: 771px;
    }

    .portfolio-img.resp-ht img {
        height: 508px;
    }

    .portfolio h3 {
        font-size: 2rem;
    }

    .portfolio-main-button {
        text-align: left;
        margin-top: 20px;
        margin-bottom: 20px;
      }

    .portfolio-main-button a {
        width: 100%;
        text-align: center;
    }

    #feature-module {
        padding: 0 28px;
    }

    #feature-module .content-container {
        max-width: 100%;
        padding: 0;
    }

    #feature-module img {
        /* display: none; */
        height: auto;
        position: unset !important;
        width: 100% !important;
    }

    .feature a {
        margin-bottom: 0;
    }

    .view-portfolio {
        width: 100%;
        text-align: center;
        font-size: 24px;
        border: 2px solid;
        margin-top: 0;
        margin-right: 15px;
    }

    .view-events {
        text-align: center;
        font-size: 24px;
        border: 2px solid;
        margin-top: 0;
        margin-right: 15px;
    }

    .press-mention {
        margin-bottom: 100px;
    }

    .press-mention h5 {
        margin-bottom: 0;
    }

    #joe-grand-the-orign-story {
        padding: 140px 0 80px;
    }

    .feature {
        margin: 30px 0 0;
        padding: 0 !important;
    }

    .feature-event-content {
        padding-left: 0px;
        margin-top: 20px !important;
    }

    /* .events-container .flex-content > div:not(:nth-child(2)) div:first-child,
    .events-container
    .pastevent
    .flex-content
    > div:not(:nth-child(2))
    div:first-child {
        font-size: 68px;
        line-height: 60px;
    } */

    /* .flex-content > div:nth-child(2) {
        display: flex;
        align-items: center;
    } */

    /* .events-container .flex-content > div div:last-child {
        font-size: 32px;
        line-height: 48px;
    } */

    .feature-event-content h4,
    .feature-event-content h4 span {
        font-size: 18px;
        line-height: 32px;
    }

    .events-container .feature-event-content h4,
    .events-container .feature-event-content h4 span {
        font-size: 20px;
        line-height: 32px;
        color: var(--black4);
        margin: 50px 0 72px;
    }

    .feature-event-content h2 {
        font-size: 36px;
        line-height: 42px;
        margin-bottom: 10px;
    }

    .arrow,
    .events-container .arrow {
        font-size: 30px;
        margin-top: -5px;
    }

    #feature-event {
        padding: 100px 0 140px;
    }

    .feature-outline-btn {
        margin-top: 45px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .portfolio .btn-outline {
        margin-top: 0px;
      }

    .newsletter h3 {
        font-size: 45px;
        font-weight: 400;
    }

    /* #join-the-news-letter .col-md-7, */
    .footer-content > .row:first-child > .col-md-6 {
        max-width: 100%;
        flex: 100%;
    }

    .newsletter input[type="email"] {
        margin-bottom: 49px;
        border-bottom: 2px solid;
        padding: 42px 16px;
    }

    .newsletter input[type="email"]::placeholder {
        font-size: 20px;
        text-align: center;
        display: block;
    }

    .newsletter input[type="submit"] {
        font-size: 22px;
        color: var(--green1);
        padding: 24px 18px;
        border-radius: 40px;
    }

    .footer-content .d-flex {
        display: block !important;
    }

    .copyright,
    .reserved {
        margin-bottom: 0;
        letter-spacing: 3px;
    }

    .reserved {
        margin-top: 0;
    }

    .col-md-5.m-auto.resp-change-width {
        max-width: 35%;
        flex: 35%;
    }

    .col-md-5.m-auto.resp-change-width + .col-md-2 {
        max-width: 30%;
        flex: 30%;
    }

    #footer {
        padding: 188px 0 155px;
    }

    /* .events-container .feature-event-content .custom-link {
        margin-bottom: 0;
        font-size: 24px;
        line-height: 64px;
    } */

    .events-container .feature-event-content {
        margin-top: 1.6rem !important;
    }

    .pastevent
    .row:not(:first-child)
    .col-md-4
    .past-date
    .feature-event-content {
        padding-top: 0px;
    }

    .pastevent .feature-event-content {
        padding: 50px 20px 50px 15px !important;
    }

    .pastevent .row:last-child .col-md-4 .past-date .feature-event-content {
        padding-bottom: 0 !important;
    }

    .pastevent .row .col-md-4:not(:last-child) {
        border-bottom: 1px solid var(--grey2);
        border-right: none;
    }

    .respT-50 {
        margin-top: 80px;
    }

    .margT117 {
        margin-top: 197px;
    }

    /* .events-container .feature-event-content h2,
    .events-container.feature-event-content h2 span {
        font-size: 64px;
        line-height: 74px;
        margin-bottom: 42px;
    } */

    /* .events-container .feature-event-content p {
        line-height: 56px;
        margin-bottom: 72px;
    } */

    .brd-bottom1px {
        margin: 98px 0;
    }

    .past-event {
        margin-bottom: 98px;
    }

    /* .events-container .past-date .feature-event-content h2 {
        font-size: 42px;
        line-height: 52px;
        margin: 48px 0 40px;
    } */

    .respB30 {
        margin-bottom: 30px;
    }

    #feature-module {
        padding: 98px 30px;
    }

    #speaking-date .row.margB30,
    #speaking-service .specialty-content,
    #page-heading
    .content-container
    .margT155:last-child
    .resp-port-width:nth-child(3)
    .portfolio
    a,
    #page-heading
    .content-container
    .margT155:last-child
    .resp-port-width:nth-child(4)
    .portfolio
    a {
        margin: 0;
    }

    #speaking-date .pastevent + .row .col-md-4 {
        padding: 0;
    }

    .page-heading .events,
    .page-heading .events span {
        font-size: 64px;
        line-height: 70px;
        display: inline-block;
    }

    .profiolio-h {
        display: block !important;
    }

    .profiolio-h h3 {
        font-size: 48px;
        line-height: 68px;
    }

    .page-heading .view-portfolio {
        margin: 57px 0 60px;
        padding: 12px 0;
    }

    .resp-port-width {
        max-width: 50%;
        flex: 50%;
    }

    .resp-port-width .portfolio-img img {
        width: 325px;
        height: 356px;
    }

    .page-heading .portfolio h3 {
        margin-bottom: 15px;
    }

    .resp-port-width .portfolio a {
        font-size: 22px;
        line-height: 50px;
    }

    .resp-port-width.none {
        display: block;
    }

    #page-heading .content-container .margT155:first-child {
        margin-top: 150px;
    }

    #page-heading .content-container .margT155:not(:first-child) {
        margin-top: 135px;
    }

    .pad98-0-150 {
        padding: 98px 0 145px;
    }

    .portfolio-single .events {
        font-size: 64px;
        line-height: 70px;
        margin-top: 45px;
    }

    .portfolio-single .events:before {
        top: -45px;
    }

    #portfolio-category .portfolio-item:last-child {
        display: none;
    }

    .portfolio-item {
        padding-left: 5px !important;
        padding-right: 5px !important;
        cursor: pointer;
        margin-bottom: 3.5rem;
    }

    .portfolio-single .html-content {
        font-size: 32px;
        line-height: 56px;
    }

    .portfolio-single .html-content.margB45 {
        margin-bottom: 80px;
    }

    .portfolio-single .row.margT98 {
        margin-top: 155px;
    }

    .portfolio-single-right {
        margin-left: 0;
    }

    .test-row.margT30 {
        margin-top: 0;
    }

    .testimonial h6:before {
        width: 390px;
        top: -50px;
    }

    .the-grand-idea {
        padding: 0px 20%;
    }

    .respb-30 .col-md-6:not(:last-child) {
        margin-bottom: 30px;
    }

    .text-right {
        text-align: left!important;
        margin-top: 20px;
    }

    .past-event-chunk:nth-child(2n) {
        -webkit-clip-path: polygon(0 1%,100% 0,100% 99%,0 100%);
        clip-path: polygon(0 1%,100% 0,100% 99%,0 100%);
    }

    .past-event-chunk .content-container .row {
        position: relative;
        left: unset;
    }

    .past-event-title {
        padding: 100px 0 0 1.5rem;
    }

    .card-columns {
        -webkit-column-count: 3 !important;
        -moz-column-count: 3 !important;
        column-count: 3 !important;
    }
}

/* Created to fix events block mobile layout */
@media screen and (max-width: 767px) {
    .cross-brd-3 {
        display: none;
    }

    .past-event-right-border {
        border: none;
    }

    .card-columns {
        -webkit-column-count: 2 !important;
        -moz-column-count: 2 !important;
        column-count: 2 !important;
    }
}





/* ----------------------------------------------------------*/


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

    .mobileDrawerModalBody {
        max-height: calc(100vh);
        background-color: #f2f2f2;
    }

    .mobileDrawerModalBody ul {
        margin-bottom: 125px
    }

    .mobileDrawerModalBody ul > li:first-of-type {
        margin-top: 15%;
        margin-left: -8px;
    }

    .awssld, .awssld__box.awssld--active, .awssld--animated .awssld__content, .awssld__wrapper {
        height: calc(60vh - 10px) !important;
        overflow: visible !important;
    }

    .awssld {
        margin-bottom: 0 !important;
    }

    .pb-5, .py-5 {
        padding-bottom: 0 !important;
    }

    .overlay {
        padding: 10% 0 20%;
    }

    .caption h1 {
        font-size: 4rem;
        line-height: 4rem;
    }

    /* .page-heading {
        margin-top: 0;
    } */

    h2.page-title {
        margin: -3.5rem 0 3rem;
        font: 300 4.8rem/5rem "IBM Plex Serif",serif;
    }

    .page-intro {
        margin-top: 0;
    }

    .feature-event-content p {
        font-size: 18px;
        line-height: 32px;
        margin-bottom: 10px;
    }

    .portfolio-img img,
    #specialty-content .portfolio-img img {
        height: 550px;
    }

    .portfolio-img.resp-ht img {
        height: 400px;
    }

    .view-portfolio {
        font-size: 17px;
        margin-bottom: 0;
    }

    .view-events {
        text-align: center;
        font-size: 24px;
        border: 2px solid;
        margin-top: 0;
        margin-right: 0px;
        width: 100%;
    }

    .feature-event-content h2 {
        font-size: 55px;
        line-height: 70px;
    }

    .newsletter h3 {
        font-size: 38px;
    }

    .pad0-0-98,
    .pad-0-0-75 {
        padding: 0 0 70px;
    }

    .press-mention {
        margin-bottom: 10rem;
    }

    .events-container {
        /* padding: 70px 0 0; */
        margin-top: -6rem;
    }

    #feature-module {
        padding: 70px 30px;
    }

    .corss-bder {
        height: 40px;
    }

    .margT117,
    .past-event,
    .portfolio-h h3,
    .margB94,
    .hand-on-hardware .portfolio-single-right h5,
    .brand.recent-press h3 {
        margin: 0px !important;
    }

    .events-container .flex-content>div div:last-child {
        /* font-size: 20px; */
        line-height: 28px;
    }

    .events-container .feature-event-content h2,
    .events-container.feature-event-content h2 span,
    .feature-event-content h2 {
        font-size: 36px;
        line-height: 42px;
        margin-bottom: 10px;
    }

    /* .events-container .feature-event-content p {
        margin-bottom: 30px;
        line-height: 45px;
    } */

    .brd-bottom1px {
        margin: 32px 0 48px;
    }

    .events-container .past-date .feature-event-content h2 {
        font-size: 28px;
        line-height: 36px;
        margin-bottom: 22px;
    }

    .feature-event-content h4,
    .feature-event-content h4 span {
        font-size: 12px !important;
        line-height: 3px !important;
        margin: 5px 0 5px !important;
    }

    .events-container .feature-event-content .custom-link,
    .feature-event-content a {
        /* font-size: 14px !important; */
        /* line-height: 20px; */
    }

    .arrow,
    .events-container .arrow {
        font-size: 15px;
        margin-top: -2px;
    }

    .pastevent .row .col-md-4 .past-date .feature-event-content {
        min-height: 530px;
    }

    .respT-50 {
        font-size: 50px !important;
    }

    .page-banner,
    .speaking-banner,
    .training-single-banner {
        height: 350px;
    }

    .margB45,
    .margB45,
    .page-heading .view-portfolio,
    .resp-port-width .portfolio a,
    .margB50,
    .margB100,
    .hand-on-hardware .html-content,
    .testimonial:not(.test-btm-non),
    .brand .html-content:not(:last-child) {
        margin-bottom: 30px !important;
    }

    .margT155,
    .margT80,
    .page-heading .view-portfolio,
    .margT75,
    .margT98,
    .margT170,
    .portfolio-single-right h5,
    .margT150,
    .margT94,
    .margT57,
    .margT200,
    .brand h3 {
        margin-top: 30px !important;
    }

    .page-heading .events {
        font-size: 38px;
        line-height: 42px;
    }

    .page-heading .html-content {
        font-size: 18px;
        line-height: 32px;
    }

    .resp-port-width {
        max-width: 100%;
        flex: 100%;
    }

    .resp-port-width .portfolio-img img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .resp-port-width .portfolio a {
        font-size: 14px;
    }

    .col-md-5.m-auto.resp-change-width {
        max-width: 30%;
        flex: 30%;
    }

    .col-md-5.m-auto.resp-change-width+.col-md-2 {
        max-width: 40%;
        flex: 40%;
    }

    .testimonial {
        padding: 30px 30px 20px;
        min-height: 350px;
    }

    .testimonial h6:before {
        top: -24px;
        width: 198px;
    }

    .portfolio-single .events {
        font-size: 38px;
        line-height: 42px;
    }

    #footer {
        padding: 65px 0;
    }

    ul.footer-links {
        width: 70%;
        margin: 0 auto !important;
        line-height: 24px;
    }

    .footer-links li {
        text-align: center;
        margin: 0 10px !important;
    }

    .footer-image {
        height: 4.5rem;
        width: auto !important;
    }

    .hand-on-hardware .events {
        font-size: 35px;
        line-height: 42px;
    }

    .patent-title {
        font-size: 2.5rem;
    }

    .card-columns {
        -webkit-column-count: 1 !important;
        -moz-column-count: 1 !important;
        column-count: 1 !important;
    }

    .past-event-chunk:nth-child(2n) {
        -webkit-clip-path: polygon(0 1%,100% 0,100% 99%,0 100%);
        clip-path: polygon(0 1%,100% 0,100% 99%,0 100%);
    }
}


/* ----------------------------------------------------------*/


@media (max-width: 500px) {
    .awssld, .awssld__box.awssld--active, .awssld--animated .awssld__content, .awssld__wrapper {
        height: calc(60vh - 10px);
        overflow: visible !important;
    }


    .modal-closse {
        padding-right: 20px!important;
    }

    .modal-closse img {
        height: 16px;
        min-width: 16px !important;
    }
}



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

    .mobileDrawerModalBody {
        max-height: calc(100vh);
        background-color: #f2f2f2;
    }

    .mobileDrawerModalBody ul {
        margin-bottom: 125px
    }

    .mobileDrawerModalBody ul > li:first-of-type {
        margin-top: 15%;
        margin-left: -8px;
    }

    #header.navbar {
        padding: 30px 0 20px;
    }

    .awssld, .awssld__box.awssld--active, .awssld--animated .awssld__content, .awssld__wrapper {
        height: calc(60vh - 10px) !important;
        overflow: visible !important;
    }

    /*.awssld__wrapper {
        height: calc(60vh - 10px);
    }*/

    .caption h1 {
        font-size: 4rem;
        line-height: 4rem;
    }

    .view-portfolio,
    .training-events .pastevent .view-portfolio {
        padding: 14px 0;
        width: 100%;
        font-size: 1.2rem;
    }

    .view-events {
        width: 80%;
        text-align: center;
        font-size: 24px;
        border: 2px solid;
        margin-top: 0;
        margin-right: 0px;
    }

    .footer-links li:not(:last-child) {
        margin-right: 15px;
    }

    .resp-change-width {
        max-width: 20%;
        flex: 20%;
    }

    .resp-change-width:first-child + .col-md-2 {
        max-width: 60%;
        flex: 60%;
    }

    .portfolio-img img,
    .portfolio-img.resp-ht img,
    #specialty-content .portfolio-img img {
        height: 300px;
    }

    .content-container {
        max-width: 92%;
    }

    .feature-event-content {
        margin-top: 20px !important;
    }

    #footer {
        padding: 65px 0;
    }

    .footer-image {
        height: 4.5rem;
    }

    .card-columns {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }

    .past-event-chunk:nth-child(2n) {
        -webkit-clip-path: polygon(0 1%,100% 0,100% 99%,0 100%);
        clip-path: polygon(0 1%,100% 0,100% 99%,0 100%);
    }

}

@media (max-width: 320px) {
    .mobileDrawerModalBody {
        max-height: calc(100vh);
        background-color: #f2f2f2;
    }

    .mobileDrawerModalBody ul {
        margin-bottom: 125px
    }

    .mobileDrawerModalBody ul > li:first-of-type {
        margin-top: 15%;
        margin-left: -8px;
    }

    .awssld, .awssld__box.awssld--active, .awssld--animated .awssld__content, .awssld__wrapper {
        height: 70vh !important;
        overflow: visible !important;
    }
}


@media only screen and (max-device-width: 992px) and (orientation: landscape) {
    .mobileDrawerModalBody {
        max-height: calc(100vh);
        background-color: #f2f2f2;
    }


    .mobileDrawerModalBody ul {
        margin-bottom: 125px;
    }

    .mobileDrawerModalBody ul > li:first-of-type {
        margin-top: 10%;
        margin-left: -8px;
    }

    .awssld, .awssld__box.awssld--active, .awssld--animated .awssld__content, .awssld__wrapper {
        height: 110% !important;
        margin-bottom: 10%;
        overflow: visible !important;
    }
}
