@media only screen and (max-width:1600px) {
    .home-banner {
        min-height: 200px
    }
    /*.home-banner h1 {
        font-size: 32px;
        margin-top: 40px;
        margin-bottom: 5px
    }*/
    .quick-links h2 {
        margin-top: 22px;
        margin-bottom: 15px;
        font-size: 30px
    }
    .quick-links .quick img {
        max-width: 100px;
        max-height: 96px
    }
    .quick-links .quick h3 {
        font-size: 20px;
        margin-bottom: -5px
    }
    .quick-links .quick h3 a,
    .quick-links .quick:hover h3 a {
        font-size: 20px
    }
}

@media only screen and (min-width: 992px) and (max-width: 1766px) {
.flag { left: 2%;  padding:8px 20px 2px 20px; }
.flag a { position: relative; top:0px; font-size: 15px!important; }
.flag2 { left: 2%;  padding:8px 20px 2px 20px; }
.flag2 a { position: relative; top:0px; font-size: 15px!important; }
}

@media only screen and (min-width: 992px) {
.flagmobile { display: none; } 
.flagmobile2 { display: none; }
.subscribe-mobile { display: none!important; }
}

@media only screen and (min-width: 1405px) and (max-width: 1528px) {
.quick-links .flag {  position: absolute; top:0%; left: -10%; }
.quick-links .flag2 {  position: absolute; top:0%; left: -10%; }
}

@media only screen and (min-width: 1329px) and (max-width: 1404px) {
.quick-links .flag {  position: absolute; top:0%; left: -7%; }
.quick-links .flag2 {  position: absolute; top:0%; left: -7%; }
}

@media only screen and (min-width: 1280px) and (max-width: 1328px) {
.quick-links .flag {  position: absolute; top:0%; left: -5%; }
.quick-links .flag2 {  position: absolute; top:0%; left: -5%; }
}

@media only screen and (min-width: 1200px) and (max-width: 1279px) {
.quick-links .flag {  position: absolute; top:0%; left: 0%; }
.quick-links .flag2 {  position: absolute; top:0%; left: 0%; }
}

@media only screen and (min-width: 1101px) and (max-width: 1199px) {
.quick-links .flag {  position: absolute; top:0%; left: -5%; }
.quick-links .flag2 {  position: absolute; top:0%; left: -5%; }
}

@media only screen and (min-width: 992px) and (max-width: 1100px) {
.quick-links .flag {  position: absolute; top:0%; left: 0%; }
.quick-links .flag2 {  position: absolute; top:0%; left: 0%; }
}

@media only screen and (min-width:1281px) and (max-width:1380px) {
    .search-area .form-control {
        height: 50px;
        margin-top: 0;
        width: 60%;
        background-position: 96% 53%
    }
    .search-area button#search-icon, .search-area button#search-icon2 {
        width: 15%;
        padding: 10px 14px!important;
        font-size: 21px;
        top: 1px;
        left: -3px
    }
    .quick-links h2 {
        font-size: 30px;
        margin-top: 15px;
        margin-bottom: 15px
    }
}

@media only screen and (max-width:1199px) {
    .header-top img {
        width: 340px;
        float: left
    }
    .header-top #searchform, .header-top #searchform2 {
        margin-top: 26px
    }
    a.backto.calc {
        width: 30%!important
    }
    .page-id-2151 select,
    li#field_5_10,
    li#field_5_11,
    li#field_5_18,
    li#field_5_19,
    li#field_5_20 {
        width: 100%!important;
        clear: both!important
    }
}

@media only screen and (max-width:1050px) {
    .search-area .form-control {
        width: 70%
    }
    .search-area button#search-icon, .search-area button#search-icon2 {
        width: 25%
    }
}

@media only screen and (min-width:992px) and (max-width:1199px) {

.home .header-nav .nav>li>a  { padding: 18px 5px 10px 15px; }
.home .header-nav .nav>li:after { display: none;  }
    
    .nav>li>a {
        color: #fff;
        padding: 18px 17px;
        margin-right: 6px;
        font-size: 16px
    }
    .nav>li.first {
        margin-left: -15px
    }
    .helpline p {
        font-size: 15px!important
    }
    .navbar-fixed-bottom img {
        padding-top: 5px
    }
    .search-area button#search-icon, .search-area button#search-icon2 {
        width: 18%
    }
    a.backto.longer {
        width: 60%!important
    }
    
a.social .fa { margin-left: 1px;}
a.social .fa:first-child { margin-right: 3px;}
.social-links a {  font-size: 25px!important; }

}

@media only screen and (max-width:1024px) {
    .gform_wrapper li#field_4_8.gfield {
        width: 31%
    }
}

@media only screen and (max-width:991px) {

.quick-links .flag { display: none!important; } 
.quick-links .flag2 { display: none!important; }    
.flagmobile {background: #39bfef!important; display: block; height: 65px; } 
.flagmobile2 { display: block; height: 65px; } 

    .header-top a.logo {
        z-index: 9999;
        position: relative
    }
    .helpline p {
        font-size: 15px!important
    }
    .helpline p em {
        display: block!important;
        clear: both!important
    }
    .helpline span {
        display: none!important
    }
    .navbar-fixed-bottom img {
        padding-top: 5px
    }
    a.menu-btn {
        display: block
    }
    .header-nav {
        display: none
    }
    .search-strip #searchform button#search-icon, .search-strip #searchform2 button#search-icon2 {
        width: 100%;
        margin-top: 5px
    }
    .landing {
        min-height: 100%;
        height: auto
    }
    img.footer-logo {
        width: 100%;
        max-width: 238px;
        margin-bottom: 20px
    }
    .home-banner h1 {
        font-size: 36px
    }
    .inner-content h1 {
        font-size: 32px
    }
    .inner-content h2,
    .mailing h4,
    .quick-links h2,
    .search-strip .container h3,
    .whats-new h4 {
        font-size: 26px
    }
    .quick-links .quick h3 a {
        font-size: 21px
    }
    .mailing {
        min-height: 300px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-flex-direction: column;
        -ms-flexbox-flex-direction: column;
        -webkit-flex-direction: column;
        flex-direction: column;
        -webkit-box-justify-content: center;
        -ms-flexbox-justify-content: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align-items: center;
        -ms-flexbox-align-items: center;
        -webkit-align-items: center;
        align-items: center
    }
    .search-strip #searchform input#s,  .search-strip #searchform2 input#s2 {
        margin-bottom: 15px
    }
    .responsive-tabs ul li {
        margin-bottom: -1px;
        display: block;
        width: 100%
    }
    .responsive-tabs ul li a {
        float: left;
        width: 100%!important
    }
    .inner-content .tabs ul.nav-tabs li {
        margin-bottom: -1px;
        display: block;
        width: 100%
    }
    .inner-content .tabs ul.nav-tabs li a {
        float: left;
        width: 100%!important
    }
    .inner-content .tabs ul.nav-tabs li.active a {
        border-left: 1px solid #ccc
    }
    .search-area {
        position: absolute!important;
        left: 0;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 90%;
        margin-left: auto;
        margin-right: auto
    }
    .search-area #searchform, .search-area #searchform2 {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto
    }
    .home-banner .search-area h1 {
        margin-top: 20px;
		margin-bottom:40px;
    }
    .pr0 {
        padding-right: 15px
    }
    .quick-links .col-md-4.quick {
        width: 33.33333333%;
        float: left
    }
    .mailing a.btn.btn-ghost {
        min-width: 200px
    }
    .sidebar {
        margin-top: 30px
    }
    .sidebar h2 {
        padding: 10px;
        margin: 0
    }
    .sidebar ul li {
        padding: 0
    }
    .sidebar ul li a {
        padding: 10px;
        font-weight: 400
    }
    .page-template-page-merger .formwrap button,
    .page-template-page-merger .formwrap input,
    .page-template-page-merger .formwrap select {
        display: block;
        clear: both;
        width: 100%!important;
        margin-bottom: 15px
    }
    form#filter input.text {
        font-size: 18px!important
    }
    .footer .text,
    .footer img {
        margin-bottom: 30px
    }
}

@media only screen and (min-width:768px) and (max-width:991px) {
    

.flagmobile { padding:8px 20px 5px 20px; height: 67px; }
.flagmobile a { position: relative; top:0px;  }
.flagmobile a:after { position: relative; top:1px; color: #000; margin-left: 6px; font-size: 16px!important; content:"\f105";  font-family: 'FontAwesome'; }

.flagmobile2 { padding:8px 20px 5px 20px; height: 60px; }
.flagmobile2 a { position: relative; top:0px;  }
.flagmobile2 a:after { position: relative; top:1px; color: #000; margin-left: 6px; font-size: 16px!important; content:"\f105";  font-family: 'FontAwesome'; }



    .home-banner {
        margin-top: -1px;
        /*min-height: 250px*/
    }
    .home-banner h1 {
        font-size: 34px;
       /* text-transform: uppercase;*/
        margin-top: 45px;
        margin-bottom: 45px
    }
    .home-banner p {
        font-size: 16px
    }
    a.backto.longer {
        width: 78%!important
    }
    .search-strip #searchform input#s, .search-strip #searchform2 input#s2 {
        width: 100%
    }
}

@media only screen and (min-width:875px) and (max-width:991px) {
    .header-top #searchform, .header-top #searchform2 {
        margin-top: 22px
    }
    .header-top #searchform input#s, .header-top #searchform2 input#s2 {
        width: 160px
    }
    .helpline {
        position: relative;
        top: -5px
    }
}

@media only screen and (min-width:768px) and (max-width:874px) {
    .header-top #searchform, .header-top #searchform2 {
        margin-top: 22px;
        margin-right: 50px
    }
    .header-top #searchform input#s, .header-top #searchform2 input#s2 {
        width: 160px
    }
    .helpline {
        position: relative;
        top: -5px;
        margin-right: 50px
    }
}

@media only screen and (max-width:800px) {
    .inner-banner .container img {
        display: none
    }
    .inner-banner {
        padding: 30px 15px;
        min-height: 100%
    }
    .inner-banner h1 {
        font-size: 32px;
        margin-top: 0
    }
    .inner-banner p {
        margin-bottom: 0
    }
    a.backto.calc {
        width: 40%!important
    }
}

@media only screen and (max-width:768px) {


.header-top #searchform, .header-top #searchform2 {
    margin-top: 0px;
    margin-bottom: 25px;
}

.flagmobile { padding:8px 20px 5px 20px; height: 67px; }
.flagmobile a { position: relative; top:0px;  }
.flagmobile a:after { position: relative; top:1px; color: #000; margin-left: 6px; font-size: 16px!important; content:"\f105";  font-family: 'FontAwesome'; }

.flagmobile2 { padding:8px 20px 5px 20px; height: 60px; }
.flagmobile2 a { position: relative; top:0px;  }
.flagmobile2 a:after { position: relative; top:1px; color: #000; margin-left: 6px; font-size: 16px!important; content:"\f105";  font-family: 'FontAwesome'; }


    .gform_wrapper .top_label .gfield_label {
        font-size: 14px
    }
    .gform_wrapper li#field_4_8.gfield {
        width: 29%
    }
}

@media only screen and (min-width: 768px) { 
.brexit-banner img.desktop { display: block; }
.brexit-banner img.mobile { display: none; }
}

@media only screen and (max-width: 767px) { 
.brexit-banner img.desktop { display: none; }
.brexit-banner img.mobile { display: block; }

    .inner-content,
    .inner-content ul {
        padding-left: 0
    }
    .ai1ec-field-value,
    .ai1ec_event-template-default .ai1ec-event-details,
    .ai1ec_event-template-default .register {
        font-family: 'Open Sans', sans-serif!important
    }
    a.menu-btn {
        right: 15px;
        z-index: 99999;
    }
	.home-banner .search-area h1 {margin-top:10px;margin-bottom:40px;}
    .home-banner {
       /* min-height: 350px;*/
        background-size: cover;
        background-position: center center
    }
	.home-banner h1 {font-size:34px;}
    .rating-form,
    p.message.success {
        right: 0;
        background: #00a09a;
        z-index: 2000;
        position: fixed;
        color: #fff
    }
    .rating-form {
        display: none;
        top: 30%;
        width: 85%;
        padding: 20px 20px 2px;
        margin-bottom: 0
    }
    .rating-form h4 {
        font-size: 24px
    }
    p.message.success {
        top: 35%;
        width: 500px;
        padding: 10px 20px 25px;
        margin-top: 60px
    }
    .alert-close {
        position: fixed;
        right: 20px;
        top: 32%;
        color: #fff;
        font-weight: 700;
        font-size: 26px;
        z-index: 8000!important
    }
    .search-strip #searchform input#s, .search-strip #searchform2 input#s2 {
        width: 100%;
        margin-left: -5px
    }
    .search-footer #gform_submit_button_1 {
        width: 200px!important
    }
    a.backto,
    a.backto.long,
    a.backto.longer,
    a.backto.medium {
        width: 90%!important
    }
    .ai1ec-field-value {
        margin-left: 15px!important
    }
    .ai1ec_event-template-default .register {
        white-space: normal!important;
        width: 100%!important
    }
    .page-template-page-mailing-subscription form input.text,
    .page-template-page-mailing-subscription form select {
        font-size: 18px;
        width: 100%!important
    }
}


@media only screen and (max-width: 600px) {
.top-links a.covid-mini { z-index: 100!important;
  -webkit-animation-duration: 2s!important; 
    -moz-animation-duration: 2s!important; 
    -ms-animation-duration: 2s!important; 
    -o-animation-duration: 2s!important; 
     text-align: center; z-index: 9000; -webkit-transition: all 200ms ease-in; -moz-transition: all 200ms ease-in;
-ms-transition: all 200ms ease-in; -o-transition: all 200ms ease-in;
transition: all 200ms ease-in; display: block; background: #fef200; width:100%;  position: relative; top:0%; left: 0px; color: #000!important;  padding:5px 20px 5px 20px; }
.top-links a.covid-mini:after { position: relative; top:1px; color: #000; margin-left: 6px; font-size: 16px!important; content:"\f105";  font-family: 'FontAwesome'; }

}


@media only screen and (min-width:650px) and (max-width:767px) {
    .header-top #searchform, .header-top #searchform2 {
        margin-top: 22px;
        margin-right: 40px
    }
    .header-top #searchform input#s, .header-top #searchform2 input#s2 {
        width: 160px
    }
    .helpline {
        position: relative;
        top: -5px
    }
    a.logo img {
        width: 300px!important
    }
}

@media only screen and (max-width:610px) {
    a.backto.calc {
        width: 70%!important
    }
}

@media only screen and (max-width:550px) {
    #filter input.button,
    #filter input.text,
    #filter select {
        clear: both;
        width: 100%!important;
        margin-bottom: 15px
    }
    #ref_butn {
        clear: both;
        width: 100%
    }
}

@media only screen and (max-width:500px) {
    .sub-inner-banner .container img {
        width: 50px;
        margin-left: 15px;
        margin-right: 15px
    }
    .sub-inner-banner h1 {
        top: 4px;
        font-size: 20px;
        font-weight: 700;
        line-height: 23px;
        margin-bottom: 10px
    }
    #pagination {
        float: left!important;
        padding-left: 15px!important
    }
    #pagination span.pages {
        display: none
    }
    #pagination a,
    #pagination span.current {
        font-size: 15px;
        padding: 5px 7px 4px
    }
    #pagination span.extend {
        display: none!important
    }
    .sidebar {
        margin-top: 50px;
        clear: both
    }
}

@media only screen and (max-width:480px) {

.header-top #searchform,.header-top #searchform2 {
    margin-top:15px!important;
    margin-bottom: 20px!important;
}


	#pagination { position: relative!important; z-index: 999999!important; }
	
    .inner-banner {
        margin-top: 30px
    }
    .page-banner {
        margin-top: 30px!important
    }
    a.backto.calc {
        width: 100%!important
    }
    .quick-links h2 {
        margin-bottom: 35px
    }
    .quick-links .quick {
        margin-bottom: 25px
    }
    .quick-links .row {
        margin-bottom: -18px
    }
    .top-links {
        margin-bottom: -6px
    }
    .top-links p {
        padding-top: 10px;
        font-size: 13px;
        float: left!important
    }
    .top-links a,
    .top-links a.active {
        padding: 5px
    }
    p.wff-post-text {
        padding-left: 10px
    }
    .wff-author-name p.wff-date {
        text-align: left;
        position: relative
    }
    a.menu-btn {
        position: absolute;
        top: 58px;
        right: 15px
    }
    .header-top #searchform input#s {
        width: 230px
    }
    .header-top img,
    .quick-links .col-md-4.quick,
    .search-area .form-control {
        width: 100%
    }
    /*.home-banner {
        min-height: 420px;

    }*/
    .search-area button#search-icon, .search-area button#search-icon2 {
        left: 0;
        width: 100%
    }
    .mailing {
        min-height: 400px;
        background-size: cover
    }
    .inner-content .gform_wrapper iframe {
        width: 95%!important
    }
    .search-footer iframe {
        width: 70%!important
    }
    a.backto {
        padding-left: 50px!important
    }
    .page-id-2067 .sub-inner-banner h1 {
        font-weight: 700;
        font-size: 16px;
        top: 15px
    }
}

@media only screen and (max-width:340px) {
    a.menu-btn {
        position: absolute;
        top: 35px;
        right: 15px;
    }
    .header-top #searchform button#search-icon, .header-top #searchform2 button#search-icon2 {
        top: -1px
    }
    .header-top #searchform input#s,.header-top #searchform2 input#s2 {
        width: 210px
    }
    .gform_wrapper li#field_4_8.gfield {
        width: 25%;
        margin-top: 32px
    }
    .gform_wrapper .top_label input.medium,
    .gform_wrapper .top_label select.medium {
        margin-top: 15px
    }
}

@media only screen and (max-width: 620px) {
    .Zebra_Tooltip_Message {
        max-width: 90%!important;
        width: 90%!important;
    }
}