@media (min-width: 1024px) and (max-width: 1100px) {
    .core .go.go-frequent h1 {
        font-size: 20px;
    }

    .excess-checkbox > input + label {
        padding: 0 15px !important;
        background-position: 23px 20px;
    }

    .excess-checkbox > input[type=radio]:checked + label {
        background-position: 23px 20px;
    }

    .adultno {
        width: 90px!important;
    }

    .childno {
        width: 90px!important;
    }

    .condition {
        margin-left: -10px;
    }

    .core .information .page-controls .pure-button.save {
        margin-left: 22%;
    }

  
}

@media (max-width: 1023px) {
    body {
        background-color: white;
    }



    .core {
        margin-top: 70px;
    }

        .core .information {
            margin-top: 0;
        }

            .core .information .page-controls .pure-button.save {
                margin-left: 28%;
            }

            .core .information #contact-form label {
                font-size: 16px;
            }


    .go {
        margin-top: 50px !important;
    }

    .header.dob {
        width: 200px;
    }

    .hero .progress.newversion {
        padding-top: 35px;
    }

    .go .price span {
        height: 200px !important;
        line-height: 170px;
    }

    .price-loading {
        top: 90px;
    }

    .newversion .progress-dot, .newversion .seperator {
        display: none;
    }

        .newversion .progress-dot.active.active-mobile {
            position: absolute;
            display: block;
            float: none;
        }

        .newversion .progress-dot.progress1.active {
            margin: 0 32%;
        }

        .newversion .progress-dot.active:after {
            width: 166px;
            left: 45px;
            top: -60px;
        }

        .newversion .progress-dot.progress2.active {
            margin: 0 32%;
        }

            .newversion .progress-dot.progress2.active:after {
                width: 180px;
                left: 45px;
                top: -65px;
            }

        .newversion .progress-dot.progress3.active {
            margin: 0 32%;
        }

            .newversion .progress-dot.progress3.active:after {
                width: 180px;
                left: 45px;
                top: -65px;
            }

        .newversion .progress-dot.progress4.active {
            margin: 0 32%;
        }

            .newversion .progress-dot.progress4.active:after {
                width: 200px;
                left: 45px;
                top: -65px;
            }

    .travellerform div.agegroupprimery {
        display: block;
    }

    .hidden-mobile {
        display: none !important;
    }

    .hidden-desktop {
        display: block !important;
    }

        .hidden-desktop .pure-g .pure-u-1-2 {
            padding: 0;
        }

            .hidden-desktop .pure-g .pure-u-1-2:nth-child(1) {
                padding-right: 5px;
            }

            .hidden-desktop .pure-g .pure-u-1-2:nth-child(2) {
                padding-left: 5px;
            }

    .split .includes {
        margin-left: 0;
    }

    .pure-container {
        padding: 10px;
    }

    .left-column {
        padding: 0 10px;
    }

        .left-column .your-trip {
            position: relative;
            padding: 20px 10px;
            background-color: #f8f8f8;
            box-shadow: 0px 1px 4px #e8e8e8;
            transition: 0.5s height ease;
        }

        .left-column .your-trip-minimize {
            display: inline-block;
            position: absolute;
            top: 20px;
            right: 10px;
        }

            .left-column .your-trip-minimize img {
                height: 30px;
                width: 30px;
                display: none;
            }

        .left-column .your-trip.open .your-trip-minimize .close-img {
            display: inline;
        }

        .left-column .your-trip.close .your-trip-minimize .open-img {
            display: inline;
        }

        .left-column .your-trip.close {
            height: 70px;
            overflow: hidden;
        }

        .left-column .your-trip.open {
            height: auto;
        }

        .left-column .label {
            background-image: url('../images/small.divider.png');
            background-position: bottom left;
            background-repeat: no-repeat;
            display: inline-block;
        }

    .columns-mobile .left-column {
        padding: 0;
    }

    .go {
        margin: 0;
        min-height: 0 !important;
        padding-bottom: 30px;
    }

    .core .information {
        padding: 25px 5px;
    }

    .information-outer {
        margin-top: 0;
        padding: 15px;
    }

    .leftinfo {
        padding-right: 0;
    }

    .rightinfo {
        margin-top: 20px;
        padding-left: 0px;
    }

    .policyarrow {
        margin-right: 0;
    }

    .left-column .label {
        margin-bottom: 20px;
    }

    .columns-mobile .includes .data {
        height: 0;
        overflow: hidden;
    }

    .columns-mobile.active .includes .data {
        height: auto;
    }

    .condition {
        margin-top: 23px;
    }

    .traveller:nth-child(even) {
        border-left: 1px solid lightgrey;
    }

    .core .infoform .cardinfo input[type="text"].nameoncard {
        width: 100%;
    }

    .core .infoform .cardinfo input[type="text"].cardinfobox {
        width: 100%;
    }


    .core .information .restcardinfo input[type="text"] {
        width: 100%;
    }

    .core .information .restcardinfo:first-child {
        padding-right: 25px;
    }

    .core .information .restcardinfo:last-child {
        padding-left: 25px;
    }
}

@media (max-width: 767px) {

    #contact-form .form-row > .pure-g > div:first-child {
        padding-right: 0px;
    }

    #contact-form .form-row > .pure-g > div:nth-child(2) {
        padding-left: 0px;
    }

    .disclaimer {
        font-size: 12px !important;
        color: grey;
        /*text-align: center;*/
    }

    .newversion .progress-dot.active {
        margin: 0 32%;
    }

    .newversion .progress-dot.progress3.active {
        margin: 0 0 0 33%;
    }

    .tblpeopledetails .form-row {
        margin-bottom: 25px;
    }

    .condition {
        margin-top: 23px;
    }

    .core .information .tblpeopledetails input {
        width: 100%;
    }

    .core .information .tblpeopledetails .condition > span {
        margin-left: 0px;
    }

    .core .information .page-controls.payments > * {
        /*display: block !important;*/
        display: table;
        width: 100% !important;
        margin: 0 auto 15px !important;
    }


     .core .information .page-controls .pure-button.save {
                margin-top: 15px!important;
                margin-bottom: 15px !important;
            }

        .core .information .page-controls.payments > * > * {
            display: block !important;
            /*display: table;*/
            width: 100% !important;
            margin: 0 auto !important;
            /*margin-left: 50% !important;
            margin-right: auto !important;*/
            float: none !important;
        }


        /*CL required for button inside ajax panel (ie the "Next" button) */
       .core .information .page-controls.payments > * > * > *{
           width: 100% !important;
           margin: 0 auto !important;
           display:table !important;
          }
       
        /*CL change order of buttons for mobile*/
    #block-1 {display: table-footer-group; float:none;} /* Will be displayed at the bottom of the pseudo-table */
    #block-2 {display: table-row-group;  float:none;   } /* Will be displayed in the middle */
    #block-3 {display: table-header-group; float:none; } /* Will be displayed at the top */

    .core .question-radios label {
        margin-right: 10px;
        margin-left: 5px;
    }

 

    .assess-button, .dontcover-button {
        display: block !important;
        float: none;
    }

    .core .information .page-controls.payments .pure-button.light {
        float: none;
    }

    .page-controls.preexisting > * {
        float: none !important;
        display: block !important;
        margin: 0 auto 15px;
    }

    .core .question-radios {
        text-align: left;
    }

    .page-controls > * {
        display: block;
    }

    .core .question-wrapper, .core .question tr {
        margin: 20px 0;
    }
}

@media (max-width: 567px) {
    .newversion .progress-dot.active {
        margin: 0 28%;
    }

    .newversion .progress-dot.progress2.active:after {
        width: 100px;
        left: 45px;
        top: -70px;
    }

    .switchbutton.light {
        margin-left: 0;
    }

        .switchbutton.light a {
            width: 100%;
        }

    .newversion .progress-dot.progress4.active {
        margin: 0 33%;
    }

        .newversion .progress-dot.progress4.active:after {
            width: 100px;
            left: 45px;
            top: -70px;
        }

    .conditions b, .assessment b {
        display: block;
    }

    .right {
        display: block;
        float: none !important;
    }

    .mediconditionheader span {
        font-size: 22px !important;
    }

    .itemdescrip {
        width: 90%;
    }

    .core .infoform .termsandconditions label {
        line-height: 26px;
        vertical-align: middle;
    }
}

@media (max-width: 479px) {
    .newversion .progress-dot.progress1.active {
        margin: 0 22%;
    }

    .newversion .progress-dot.progress3.active:after {
        width: 135px;
        left: 45px;
        top: -65px;
    }

    .newversion .progress-dot.progress3.active {
        margin: 0 0 0 27%;
    }

    .itemvalue {
        max-width: 70%;
    }

    .valuesign {
        margin-left: -2px;
    }

    .core .destination-confirm label {
        line-height: 19px;
    }

    .core .destination-confirm .label-wrapper > label {
        position: relative;
        top: 4px;
    }

    .left-column .label {
        font-size: 16px;
    }
}

@media (min-width: 370px) and (max-width: 479px) {
    .newversion .progress-dot.progress1.active {
        margin: 0 26%;
    }

   
}

@media all and (max-width: 370px) {
    .css-checkbox > input + label {
        margin-top: 21px;
    }
}