@media screen and (max-width: 1024px) {
    #wrapper, #access .menu-header, div.menu, #branding, #main {
        width: auto;
    }
    #branding img {
        width: 100%;
        height: 100%;
    }
    #content {
        margin: 0;
    }
    #container {
        margin-left: 0;
    }
    .entry-content {
        width: calc(100% - 260px);
    }
    .pagetitle {
        width: calc(100% - 260px);
    }
    .custom-container {
        width: 100%;
    }
    .custom-slider-container {
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    #masterslider-1 {
        display: block;
        margin-bottom: 20px;
    }
    #amazingslider-1 {
        display: none !important;
        margin-top: 0 !important;
    }
    .amazingslider-wrapper-0 {
        width: 100% !important;
    }
    #featured {
        width: 100%;
        margin-left: 20px;
        margin-right: 20px;
        padding: 0;
        height: auto;
    }

    .banner-slider {
        width: 100%;
        margin-left: 20px;
        margin-right: 20px;
        padding: 0;
        height: auto;
    }
    #amazingslider-1 {
        margin-left: 0 !important;
        width: 100%;
        overflow: hidden;
    }

    #quote {
        float: none;
        width: 100%;
        margin: 0;
        height: auto;
        overflow: hidden;
    }
    #quote .getquote-heading {
        width: 100%;
        margin: 0;
    }
    #getquote-form {
        margin: 0;
        padding: 20px;
    }
    #getquote {
        display: flex;
        align-items: center;
        flex-direction: row;
    }
    .custom-slider-container .item {
        display: flex;
        align-items: center;
        flex-direction: row;
    }
    .custom-slider-container .item .prompt {
        margin: 0 !important;
        margin-right: 15px !important;
    }
    .custom-slider-container .item.last {
        margin-left: 15px;
    }
    .custom-slider-container .item #Country,
    .custom-slider-container .item #destinationcountry {
        margin: 0 !important;
    }
    .custom-slider-container .submit {
        display: flex;
        align-items: center;
        flex-direction: row;
        margin: 0 0 0 15px !important;
    }
    .custom-slider-container .submit #getquoteSubmit {
        margin: 0 !important;
    }
    #header-link {
        width: 100%;
        margin: 0 20px;
    }
    #header-link tr {
        display: flex;
        flex-wrap: wrap;
    }
    #header-link tr td {
        flex: 1 0 20%; /* explanation below */
    }
    #header-link img {
        width: 100% !important;
    }
    #access a {
        width: auto;
        padding: 0 36px;
    }
}

@media screen and (max-width: 991px) {
    #access a {
        width: auto;
        padding: 0 30px;
    }
    #footer .copyrights {
        float: none;
        margin: 0;
        padding: 20px;
    }

    .post-4201 table {
        margin-bottom: 60px !important;
    }

    .post-4201 table tr {
        display: flex;
        flex-direction: column;
    }
}

@media screen and (max-width: 860px) {
    #access a {
        width: auto;
        padding: 0 20px;
    }
}

@media screen and (max-width: 769px) {
    #getquote {
        flex-direction: column;
        align-items: flex-start;
    }
    #getquote > * {
        margin: 0;
        margin-bottom: 15px;
    }
    #getquote .submit {
        margin-left: 0 !important;
    }
    .tactile-header-wrapper {
        display: block;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }
    #access,
    #branding {
        display: none;
    }
}

@media screen and (max-width: 600px) {
    #branding img {
        margin: 0 !important;
        padding: 0;
    }
    #primary, #secondary {
        float: none;
        width: 100%;
    }
    #main .widget-area ul ul {
        width: 100%;
    }
    .pagetitle,
    .entry-content {
        width: 100%;
    }
    #footer {
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        background-position: center top;
    }
    #main .widget-area ul {
        padding: 0;
        margin: 0;
    }
    #footer-widget-area .widget-area {
        width: 100%;
        margin-left: 10px;
        margin-right: 10px;
    }
}

@media screen and (max-width: 480px) {
    .tactile-logo-wrapper {
        text-align: right;
    }

    #header-link tr td {
        flex: 0 0 50%;
    }
    .alignleft, img.alignleft,
    .alignright, img.alignright {
        width: 100%;
    }
    .entry-content img {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 360px) {
    .tactile-logo-image img {
        padding-left: 32px;
    }
}