﻿
html {
    height: 100%;
}

body { 
	/*font-family: Source Sans Pro, arial, helvetica, sans-serif;*/
    font-family: 'Roboto', sans-serif;
	/*font-size: 76%;
	padding: 0px;
	margin: 0px;
	margin-left: auto;
	margin-right: auto;
	color: black;
	font-weight: 400;*/
    font-size:94%;
}

[tabindex] {
    outline: none !important;
}

html, body, form {
    height: 100%;
}

.wrap {
    min-height: 100%;
    margin-bottom: -100px;
}

.push {
    height: 100px;
}

#UpdatePanel, #BrandPanel {
    height: 100%;
    min-height: 100%;
}

#UpdatePanel {
}

footer {
}


input[type=submit], input[type=button], button {
    /*color:white;
    background-color:#283269;
    border-radius:4px;*/

}
input[type=submit]:hover, input[type=button]:hover, button:hover {
    /*background-color:#424C83;*/
}

/*hr {
    height: 3px;
    border: 0;
    margin: 20px 0 20px 0;
}*/

hr {
    margin-top:2.5em;
    margin-bottom:2.5em;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1 {
    font-size:2.25rem;
}

h1 a, h1 a:active, h1 a:visited {
    text-decoration:underline;
}


h2 {
    color:black;
}

h3 {
  
}

h4 {
    
}

h5 {
}

a {
    color:black;
    text-decoration:underline;
}


.form-control::-webkit-input-placeholder { /* WebKit, Blink, Edge */
   color:#8e8e8e;
}

.form-control:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #8e8e8e;
}

.form-control::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #8e8e8e;
}

.form-control:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #8e8e8e;
}

.form-control::-ms-input-placeholder { /* Microsoft Edge */
    color: #8e8e8e;
}

.form-control::placeholder { /* Most modern browsers support this now. */
    color: #8e8e8e;
}

.form-control, .form-control:focus {
    /*color:black;*/
}
/*.Railcard h1 {

}

.Railcard-NTW h1 {
    color: #0092ff;
}

.Railcard-YNG h1 {
    color: #ed5e00;
}

.Railcard-TST h1 {
    color: #d63a16;
}

.Railcard-FAF h1 {
    color: #e6052d;
}

.Railcard-SNR h1 {
    color: #283269;
}


.Railcard-2TR h1 {
    color: #763c96;
}*/


#crafty_postcode_lookup_result_option1, #crafty_postcode_lookup_result_option2 {
   
}


h1 {
    color: black;
}


.bg-brand-primary {
    background-color:black;
}

.bg-brand-secondary {
    background-color:gray;
}

.btn-brand {
    background-color: black !important;
    color: white !important;
}

.border-brand-primary {
    border-color: black;
}
.border-brand-secondary {
    border-color: gray;
}



p {
   
}

    p a {
        text-decoration: underline;
    }

        p a:hover {
            text-decoration: underline;
        }

        fieldset {
            border:0;
            padding:0;
            margin:0;
        }

iframe {
    background-color: transparent;
    border: 0 none transparent;
    padding: 0;
    overflow: hidden;
}
.screenReaderOnly {
position:absolute;
left:-10000px;
top:auto;
width:1px;
height:1px;
overflow:hidden;      
}
.clear {
    clear: both;
}

.right {
    float: right;
}

.left {
    float: left;
}
.hide {
    display:none !important;
}
.disabled {
    background: darkgray !important;
    color: white;
    cursor: default;
    box-shadow:none !important;
}
.wrap {
    
    min-height: 100%;
     min-height: 100%;
  height: auto !important;
  height: 100%;
  
}

#SkipContentLink:active, #SkipContentLink:focus, #SkipContentLink:hover {
    left: 0; 
        top: 0;
        width: auto; 
        height: auto; 
        overflow: visible; 
        font-size:20px;
        background-color:black;
        color:white;
        padding:10px;
}

.content {
    clear:both;
    margin-left: auto;
    margin-right: auto;
    /*overflow: auto;*/
    padding-bottom:100px;
}

.content {
    width:100%;
    margin: 0 auto;
}

@media (min-width: 576px) {
    
}

@media (min-width: 768px) {
        
}

@media (min-width: 992px) {
    .content {
        width: 990px;
        margin: 0 auto;
    }
}

@media (min-width: 1200px) {
    
}





@media (min-width: 576px) {
    .noNavTocLogo {
        max-width: 146px;
    }
    .noNavTocLogo img {
        max-width: 146px;
    }
}




















.footer {
    /*height:395px;
    /*position: absolute;*/
    bottom:0;
}
.header {
     -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
}

    /* Mobile Header*/

#mobileHeader {
    background-color: #009aff;
    width: 100%;
    /*height: 54px;*/
    margin: 0px auto;
    padding: 12px 0;
    position: fixed;
    top: 0;
    -webkit-backface-visibility: hidden;
    z-index: 500;
}

/*#mobileHeader_left {
    height: 34px;
    text-align: center;
    padding-top: 12px;
}*/

#MobileRailcardLogoImage {
    max-height: 25px;
    /*width:100%;*/
}



#mobileHeader .header_logo_link img {
    /*max-width:190px;
    margin-left:-10px;*/
}



    /*Hides menu on scroll*/
#mobileHeader.mobileNavDown {
    display: none;
}


  #mobileHeader.mobileNavUp {
    display: block;
}

  /* Mobile Menu Start */

#mobile_menu_icon {
    cursor: pointer;
    display: inline-block;
    height: 30px;
    padding: 3px 4px 3px;
    width: 43px;
    margin-left:15px;
}
#mobileHeader a,#mobileHeader a:hover, #mobileHeader a:visited, #mobileHeader a:active {
    text-decoration:none !important;
}

#mobile_menu_icon div {
    background-color: #fff;
    height: 3px;
    margin-top: 4px;
    width: 90%;
}

#mobile_menu_account_icon {
    cursor: pointer;
    display: inline-block;
    /*height: 30px;*/
    /*padding: 3px 4px 3px;*/
    /*width: 43px;*/
    font-size: 21px;
    color: white;
    margin-left: 15px;
}


#mobile_menu_wrapper {
    left: -274px;
    top: 0px;
    position: fixed;
    z-index: 0;
    width: 274px;
    height: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
	display: block;
	/*visibility: hidden;*/
}

.Railcard #mobile_menu_wrapper {
    background: #283269;
}
.Railcard-NTW #mobile_menu_wrapper {
    background: #0092ff;
}

.Railcard-YNG #mobile_menu_wrapper {
    background: #ed5e00;
}

.Railcard-TST #mobile_menu_wrapper {
    background: #d63a16;
}

.Railcard-FAF #mobile_menu_wrapper {
    background: #e6052d;
}

.Railcard-SNR #mobile_menu_wrapper {
    background: #283269;
}


.Railcard-2TR #mobile_menu_wrapper {
    background: #763c96;
}



#mobile_menu_wrapper ul {
    list-style: none;
    margin: 0;
    width: 294px;
    padding: 0;
	z-index: 0;
	height: 100%;
	overflow-x: hidden;
	overflow-y: scroll;
}

#mobile_menu_wrapper li {
    list-style: none;
    position: relative;
    font-size: 1em;
    /*font-weight: 700;*/
    border-bottom: 1px solid #007eb2;
    margin-bottom: 0;
}

#mobile_menu_wrapper li#search {

}

    #mobile_menu_wrapper li.nav_logo {
        background: #ffe900;
        padding: 15px 15px;
        font-weight: 400;
    }

#mobile_menu_wrapper li.nav_heading {
	background: black;
	color: #FFFFFF;
    padding: 5px 15px;
	font-weight: 400;	
}

#mobile_menu_wrapper li#family_friends_railcard {
	background: #e6052d;
	color: #FFFFFF;
}

#mobile_menu_wrapper li#two_together_railcard {
	background: #763c96;
	color: #FFFFFF;
}

#mobile_menu_wrapper li#senior_railcard {
	background: #283269;
	color: #FFFFFF;
}

#mobile_menu_wrapper li#sixteen_twentyfive_railcard {
    background: #ed5e00;
    color: #FFFFFF;
}

#mobile_menu_wrapper li#disabled_persons_railcard {
	background: #009161;
	color: #FFFFFF;
}
    #mobile_menu_wrapper li#network_railcard {
        background: #00a0e6;
        color: #FFFFFF;
        border-bottom: 0;
    }
    #mobile_menu_wrapper li#twentysix_thirty_railcard {
        background: #eb4d00;
        color: #FFFFFF;
        border-bottom: 0;
    }

#mobile_menu_wrapper li a {
    color: #fff;
    text-decoration: none;
    padding: 0 15px;
    line-height: 53px;
    display: block;
}

#mobile_menu_wrapper li.level2 a {
	padding-left: 45px;
}

#content_layer {
    display: none;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 9999;
    min-height: 1062px;
}

#page_content {
    background-color: #FFFFFF;
    position: relative;
    width: auto;
    /*min-height: 1000px;*/
}

#container {
	overflow: hidden;
	display: block;
	position: relative;
	min-height: 100%;
}

#mobile_menu_wrapper li.level2,
#mobile_menu_wrapper li.level2_selected {
	padding-left: 0px;
	font-weight: 700;
}

#mobile_menu_wrapper li.first_item_selected,
#mobile_menu_wrapper li.level1_selected,
#mobile_menu_wrapper li.level2_selected {
	background: url('/images/mobile_menu_on.png') 240px center no-repeat;
}

#mobile_menu_wrapper li.first_item,
#mobile_menu_wrapper li.level1,
#mobile_menu_wrapper li.level2 {
	background: url('/images/mobile_menu_off.png') 240px center no-repeat;
}

#mobile_menu_wrapper li.level2 {
	font-weight: 400;
}

/* Mobile Menu End */






/*DesktopHeader*/
#header {
    display: none;
}


#header_left {
    float: left;
}

    #header_left img {
        margin: 11px 0 0 20px;
        height:30px;
    }

#header_right {
    float: right;
}


#header .headerContainer {
    min-height: 50px;
    padding: 0 0 0 0;
}

.Railcard #header .headerContainer {
    background-color: #283269;
    min-height: 50px;
    padding: 0 0 0 0;
}

.Railcard-NTW #header .headerContainer {
    background-color: #0092ff;
}

.Railcard-YNG #header .headerContainer {
    background-color: #ed5e00;
}

.Railcard-TST #header .headerContainer {
    background-color: #d63a16;
}

.Railcard-FAF #header .headerContainer {
    background-color: #e6052d;
}

.Railcard-SNR #header .headerContainer {
    background-color: #283269;
}


.Railcard-2TR #header .headerContainer {
    background-color: #763c96;
}



/*.Railcard .login-card {
    border-color: #283269;
}

.Railcard-NTW .login-card {
    border-color: #0092ff;
}

.Railcard-YNG .login-card {
    border-color: #ed5e00;
}

.Railcard-TST .login-card {
    border-color: #d63a16;
}

.Railcard-FAF .login-card {
    border-color: #e6052d;
}

.Railcard-SNR .login-card {
    border-color: #283269;
}

.Railcard-2TR .login-card {
    border-color: #763c96;
}*/



/*.Railcard #mobileHeader, .Railcard .loginHeader {
    background-color: #283269;
}

.Railcard-NTW #mobileHeader, .Railcard-NTW .loginHeader {
    background-color: #0092ff;
}

.Railcard-YNG #mobileHeader, .Railcard-YNG .loginHeader {
    background-color: #ed5e00;
}

.Railcard-TST #mobileHeader, .Railcard-TST .loginHeader {
    background-color: #d63a16;
}

.Railcard-FAF #mobileHeader, .Railcard-FAF .loginHeader {
    background-color: #e6052d;
}

.Railcard-SNR #mobileHeader, .Railcard-SNR .loginHeader {
    background-color: #283269;
}

.Railcard-2TR #mobileHeader, .Railcard-2TR .loginHeader {
    background-color: #763c96;
}*/

.Railcard #mobileHeader {
    background-color: #283269;
}

.Railcard-NTW #mobileHeader {
    background-color: #0092ff;
}

.Railcard-YNG #mobileHeader {
    background-color: #ed5e00;
}

.Railcard-TST #mobileHeader {
    background-color: #d63a16;
}

.Railcard-FAF #mobileHeader {
    background-color: #e6052d;
}

.Railcard-SNR #mobileHeader {
    background-color: #283269;
}

.Railcard-2TR #mobileHeader {
    background-color: #763c96;
}



@media (min-width: 576px) {
}

@media (min-width: 768px) {
    
}

@media (min-width: 992px) {

    #header {
        display: block;
        width: 960px;
        /*height: 120px;*/
        margin: 0 auto;
    }

}

@media (min-width: 1200px) {
}


/* Top Bar Buy/FAQs/Delivery links*/
#top_bar {
    background-color: #f5f5f5;
  
}
#top_bar, #footer_links {
    width: 100%;
    margin: 0;
    padding: 0;
}
#top_bar ul {
    /*float: right;*/
    line-height:50px;
}
#top_bar ul, #footer_links .left, #footer_links .right {
    padding: 25px 10px;
}
ul.top_menu li, ul.supplementary_menu li {
    display: inline;
    margin-right: 0px;
    float: left;
    line-height: 50px;
}
ul.top_menu li a {
    display: block;
    float: left;
    margin-right: 16px;
    margin-top: 3px;
    color:white;
}
.wrap2 {
    clear: both;
    height: 1px;
    overflow: hidden;
}




/*Login*/
.Railcard .login {
    border: 1px solid #283269;
}
.Railcard-YNG .login {
    border: 1px solid #ed5e00;
}
.Railcard-TST .login {
    border: 1px solid #d63a16;
}
.Railcard-FAF .login {
    border: 1px solid #e6052d;
}
.Railcard-SNR .login {
    border: 1px solid #283269;
}
.Railcard-2TR .login {
    border: 1px solid #763c96;
}
.Railcard-NTW .login {
    border: 1px solid #0092ff;
}

/*.loginHeader {
    background-color:#283269;
}*/
.loginHeader .h3 {
    color:white;
}

.railcard-yng-button {
    color: #000000 !important;
    background-color: #ffd200 !important;
}

/*Buttons*/

/*.Railcard .button {
    background-color: #283269;
    color:white;
}

.Railcard-NTW .button {
        color: #ffffff;
   background-color: #283269;
}

.Railcard-YNG .button {
    color: #000000;
    background-color: #ffd200;
}

.Railcard-TST .button {
    color: #000000;
    background-color: #ff9700;
}

.Railcard-FAF .button {
    color: #000000;
    background-color: #ffa096;
}

.Railcard-SNR .button {
    color: #ffffff;
    background-color: #00a0e6;
}

.Railcard-2TR .button {
    color: #000000;
    background-color: #ffa0c3;
}*/
.button {
    background-color: black !important;
    color: white !important;
    cursor:pointer;
}

[id*='Back'][class*='button'] {
    background-color: transparent !important;
    color: #000000 !important;
    border: 1px solid #000000 !important;
    cursor: pointer;
}

 .button:hover, [id*='Back'][class*='button']:hover {
        color: #fff !important;
        background-color: #667982 !important;
        border-color: #667982 !important;
    }

input[type=radio], input[type=checkbox] {
  
    margin-right: 0.4em;
}


.activeYearButton, .inactiveYearButton {
    /*border: 5px double #009aff;
    border-radius: 4px;
    background-color: white;*/
    
    background-repeat: no-repeat;
    background-position-x: 280px;
    background-position-y: 10px;
    overflow: visible;
}

/*.Railcard-YNG .activeYearButton, .Railcard-TST .activeYearButton, .Railcard-2TR .activeYearButton, .Railcard-FAF .activeYearButton {
    background-image: url('/images/icons/checkBlack.png');
}
.Railcard-NTW .activeYearButton, .Railcard-SNR .activeYearButton {
    background-image: url('/images/icons/checkWhite.png');
}

.Railcard-YNG .inactiveYearButton, .Railcard-TST .inactiveYearButton, .Railcard-2TR .inactiveYearButton, .Railcard-FAF .inactiveYearButton {
    background-image: url('/images/icons/circleBlack.png');
}
.Railcard-NTW .inactiveYearButton, .Railcard-SNR .inactiveYearButton {
    background-image: url('/images/icons/circleWhite.png');
}*/

.activeYearButton {
    background-image: url('/images/icons/checkWhite.png');
}
.inactiveYearButton {
    background-image: url('/images/icons/circleWhite.png');
}

.inactiveYearButton {
}

.button {
    /*border: 0px;
    font-weight: bold;
    font-size: 16px;
    margin: 5px 0 0px 0;
    -webkit-appearance: none;
    cursor:pointer;
    padding:10px 30px;*/
}


#nation_rail {
    float: left;
    /*margin-right: 20px;*/
}

.national_rail_logo {
	margin: 10px 10px 0 10px;
}

#site_select {
    /*margin-left: 10px;*/
    margin: 2px 0 0 20px;
    float: right;
    position: relative;
    width: 180px;
    z-index: 1000;
    height: 46px;
    overflow: hidden;
    border-left:2px solid white;
    
}

#site_select:hover {
    height: 305px;
    margin-bottom: -259px;
	overflow: visible;
}

    #site_select a {
        text-align: center;
        text-decoration: none;
        display: block;
        /*width: 140px;*/
        padding: 10px 10px;
        color: #FFFFFF;
        font-size: 13px;
        min-height:46px;
        line-height:30px;

    }

#site_select_button {
    background-color: #009aff;
    color: #FFFFFF;
    /*height: 24px;*/
    padding: 11px 20px 11px !important;
    /*font-family: Source Sans Pro;*/
}

#site_select a.two_together {
    background-color: #763c96;
}

#site_select a.sixteen_to_twentyfive {
    background-color: #ed5e00;
}

#site_select a.family_and_friends {
    background-color: #e6052d;
}

#site_select a.senior {
    background-color: #283269;
}

#site_select a.disabled_persons {
    background-color: #009161;
}

#site_select a.network {
    background-color: #009aff;
}

#site_select a.twentysix_to_thirty {
    background-color: #eb4d00;
}

#site_select a.veterans {
    background-color: ##667982;
}





#footer_links {
    background-color: #fff;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

    #footer_links .list-unstyled li {
        line-height:2em;
    }


@media only screen and (min-width : 960px) {
    #footer_links {
        width: 960px;
    }
}


       
.printButton {
    float:right;
    margin-top:50px;
    color:white;
    background-color:#283269;
    line-height:32px;
    border-radius:4px;
    width:120px;
    padding:10px 20px;
    text-align:center;
    font-weight:bold;
    font-size:14px;
    cursor:pointer;
}
.printButton img, .printButton span {
    vertical-align:middle;
}
.printButton img {
    margin-right:5px;
}
.copyright {
    display:none;
    position: fixed;
    color: #bec4cb;
    font-size: 0.68em;
    margin: 0 0 0 1px;
    bottom: 0;
    right: 0;
}

/*.cardSelector {
    text-align: left;
}


    .cardSelector input[type="submit"] {
        width: 100%;
        height: 38px;
        border-radius: 0.25rem;
        
    }*/

.durationSelector {
    text-align: center;
}


    .durationSelector input[type="submit"] {
        /*width: 260px;
        padding-top: 10px;
        padding-bottom: 10px;
        margin: 10px 25px 20px 25px;*/
    }




.home_railcards {
    padding-top: 15px;
    padding-bottom: 50px;
}

.home_railcards_col {
    width: 470px;
    float: left;
}

    .home_railcards_col + .home_railcards_col {
        margin-left: 20px;
    }

.home_railcard > a {
    display: block;
    color: #fff !important;
    background-image: url('/images/railcardSelector/arrow-down-white.png');
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 21px 11px;
    /*padding: 9px 15px;*/
    padding:1rem 0 1rem 1rem;
    margin: 0px 0px 0px 0px;
    text-decoration: none !important;
    font-size: 140%;
    font-weight: 700;
    cursor:pointer;
}

.home_railcard.open > a {
    background-image: url('/images/railcardSelector/arrow-up-white.png');
}

.home_railcard .home_railcard_content {
    display: none;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 9px 15px;
}

    .home_railcard .home_railcard_content ul {
        display: block;
        list-style-type: disc;
        margin-block-start: 1em;
        margin-block-end: 1em;
        margin-inline-start: 0px;
        margin-inline-end: 0px;
        padding-inline-start: 40px;
    }

.home_railcard.open .home_railcard_content {
    display: block;
}

.home_railcard .home_railcard_text {
    /*width: 300px;*/
}

    .home_railcard .home_railcard_text ul {
        padding-left: 15px;
    }

    .home_railcard .home_railcard_text li {
        padding-bottom: 12px;
        text-shadow: 0px 0px 5px #fff;
    }

.home_railcard_price {
    display: inline-block;
    float: right;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    padding: 20px;
    border-radius: 50%;
    margin-top: -60px;
    font-size: 80%;
}

    .home_railcard_price span {
        font-size: 280%;
    }

#home_railcard_1625 > a {
    background-color: #ed5e00;
}

    #home_railcard_1625 > a span, #basket_railcard_1625 > a span {
        color: #ffe980;
    }

#home_railcard_1625 .home_railcard_content {
   
}

#home_railcard_1625 .home_railcard_price,
#home_railcard_1625 .btn_primary {
    background: #ffd200;
}

    #home_railcard_1625 .btn_primary:hover {
        background: #ffe466;
    }

#home_railcard_1617 > a {
    background-color: #FFe900;
    color:black !important;
}

    #home_railcard_1617 > a span, #basket_railcard_1617 > a span {
        color: black;
    }

#home_railcard_1617 .home_railcard_content {
    
}

#home_railcard_1617 .home_railcard_price,
#home_railcard_1617 .btn_primary {
    background: #ffe900;
}

    #home_railcard_1617 .btn_primary:hover {
        background: #ed5e00;
    }

#home_railcard_2630 > a {
    background-color: #ff751a;
}

    #home_railcard_2630 > a span, #basket_railcard_2630 > a span {
        color: #fde1bd;
    }

#home_railcard_2630 .home_railcard_content {
}

#home_railcard_2630 .home_railcard_price,
#home_railcard_2630 .btn_primary {
    background: #ffd200;
}

    #home_railcard_2630 .btn_primary:hover {
        background: #ffe466;
    }

#home_railcard_twotogether > a {
    background-color: #763c96;
}

    #home_railcard_twotogether > a span:first-of-type, #basket_railcard_together > a span:first-of-type {
        color: #ffbcb6;
    }

#home_railcard_twotogether .home_railcard_content {
}

#home_railcard_twotogether .home_railcard_price,
#home_railcard_twotogether .btn_primary {
    background: #ffa0c3;
}

    #home_railcard_twotogether .btn_primary:hover {
        background: #ffb3cf;
    }

#home_railcard_disabledpersons > a {
    background-color: #009161;
}

    #home_railcard_disabledpersons > a span {
        color: #dee466;
    }

#home_railcard_disabledpersons .home_railcard_content {
}

#home_railcard_disabledpersons .home_railcard_price,
#home_railcard_disabledpersons .btn_primary {
    background: #c8d200;
}

    #home_railcard_disabledpersons .btn_primary:hover {
        background: #d3db33;
    }

#home_railcard_familyandfriends > a {
    background-color: #e6052d;
}

    #home_railcard_familyandfriends > a span, #basket_railcard_family > a span {
        color: #ffbcb6;
    }

#home_railcard_familyandfriends .home_railcard_content {
}

#home_railcard_familyandfriends .home_railcard_price,
#home_railcard_familyandfriends .btn_primary {
    background: #ffa096;
}

    #home_railcard_familyandfriends .btn_primary:hover {
        background: #ffb3ab;
    }

#home_railcard_senior > a {
    background-color: #283269;
}

    #home_railcard_senior > a span, #basket_railcard_senior > a span {
        color: #33a8ff;
    }

#home_railcard_senior .home_railcard_content {
}

#home_railcard_senior .home_railcard_price,
#home_railcard_senior .btn_primary {
    background: #00a0e6;
    color: #fff;
}

    #home_railcard_senior .btn_primary:hover {
        background: #33b3eb;
    }

#home_railcard_network > a {
    background-color: #0092ff;
}

    #home_railcard_network > a span, #basket_railcard_network > a span {
        color: #283269;
    }

#home_railcard_network .home_railcard_content {
}

#home_railcard_network .home_railcard_price,
#home_railcard_network .btn_primary {
    background: #0092ff;
    color: #fff;
}

    #home_railcard_network .btn_primary:hover {
        background: #33a8ff;
    }




#home_railcard_veterans > a {
    background-color: #667982;
    color: white !important;
}

    #home_railcard_veterans > a span, #basket_railcard_veterans > a span {
        color: #d3d3d3;
    }

#home_railcard_veterans .home_railcard_content {
}

#home_railcard_veterans .home_railcard_price,
#home_railcard_veterans .btn_primary {
    background: #667982;
}





/*.activeYoungRailcard {
    background-position: center center;
    border: 1px solid #f26122;
    background-image: url('/images/railcardSelector/youngChecked.png');
    background-repeat: no-repeat;
    background-size: 100% 38px;
    padding: 10px;
}

.activeTwentySixRailcard {
    background-position: center center;
    border: 1px solid #f26122;
    background-image: url('/images/railcardSelector/twentySixChecked.png');
    background-repeat: no-repeat;
    background-size: 100% 38px;
    padding: 10px;
}

.activeFamilyRailcard {
    background-position: center center;
    border: 1px solid #e22836;
    background-image: url('/images/railcardSelector/FamilyChecked.png');
    background-repeat: no-repeat;
    background-size: 100% 38px;
    padding: 10px;
}

.activeSeniorRailcard {
    background-position: center center;
    border: 1px solid #1a144b;
    background-image: url('/images/railcardSelector/SeniorChecked.png');
    background-repeat: no-repeat;
    background-size: 100% 38px;
    padding: 10px;
}

.activeTogetherRailcard {
    background-position: center center;
    border: 1px solid #722e81;
    background-image: url('/images/railcardSelector/TogetherChecked.png');
    background-repeat: no-repeat;
    background-size: 100% 38px;
    padding: 10px;
}

.activeNetworkRailcard {
    background-position: center center;
    border: 1px solid #009aff;
    background-image: url('/images/railcardSelector/NetworkChecked.png');
    background-repeat: no-repeat;
    background-size: 100% 38px;
    padding: 10px;
}

.inactiveYoungRailcard {
    border: 1px solid white;
    background-image: url('/images/railcardSelector/YoungUnChecked.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 38px;
    padding: 10px;
    cursor:pointer;
}

.inactiveTwentySixRailcard {
    border: 1px solid white;
    background-image: url('/images/railcardSelector/TwentySixUnChecked.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 38px;
    padding: 10px;
    cursor: pointer;
}

.inactiveFamilyRailcard {
    border: 1px solid white;
    background-image: url('/images/railcardSelector/FamilyUnChecked.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 38px;
    padding: 10px;
    cursor:pointer;
}

.inactiveSeniorRailcard {
    border: 1px solid white;
    background-image: url('/images/railcardSelector/SeniorUnChecked.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 38px;
    padding: 10px;
    cursor:pointer;
}

.inactiveTogetherRailcard {
    border: 1px solid white;
    
    background-image: url('/images/railcardSelector/TogetherUnChecked.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 38px;
    padding: 10px;
    cursor:pointer;
}

.inactiveNetworkRailcard {
    border: 1px solid white;
    background-image: url('/images/railcardSelector/NetworkUnChecked.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 38px;
    padding: 10px;
    cursor:pointer;
    position:relative;
}*/

/*.inactiveNetworkRailcard:after {
   font-family: 'FontAwesome';
    color:red;
    position: relative;
    left: -10px;
   content: "\f00c";
}*/

@font-face {
    font-family: "FontAwesome";
    font-weight: normal;
    font-style: normal;
    src: url("https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/fonts/fontawesome-webfont.eot?v=4.3.0");
    src: url("https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/fonts/fontawesome-webfont.eot?#iefix&v=4.3.0") format("embedded-opentype"), url("https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/fonts/fontawesome-webfont.woff2?v=4.3.0") format("woff2"), url("https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/fonts/fontawesome-webfont.woff?v=4.3.0") format("woff"), url("https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/fonts/fontawesome-webfont.ttf?v=4.3.0") format("truetype"), url("https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/fonts/fontawesome-webfont.svg?v=4.3.0#fontawesomeregular") format("svg");
}


.inactiveNetworkRailcard:before {
    font-family: "FontAwesome";
    display: inline-block;
    padding-right: 6px;
    vertical-align: middle;
    position:absolute;
    right:0;
}

.inactiveNetworkRailcard:before {
    content: "\f095";
}



@media only screen and (max-width: 360px) {
   /*.cardSelector input[type="submit"] {
        width: 249px;

    }*/

   .inactiveNetworkRailcard,
   .inactiveTogetherRailcard,
   .inactiveSeniorRailcard,
   .inactiveFamilyRailcard,
   .inactiveYoungRailcard,
   .inactiveTwentySixRailcard,
   .activeNetworkRailcard,
   .activeTogetherRailcard,
   .activeSeniorRailcard,
   .activeFamilyRailcard,
   .activeYoungRailcard,
   .activeTwentySixRailcard
    {
      background-size: 249px 165px;
   }
  

}

@media only screen and (max-width: 360px) {
    .activeYearButton, .inactiveYearButton {
        background-position-x: 280px;
        background-position-y: 10px;
    }
}


.paymentMethod div {
    margin:0 0 15px 228px;
    width:209px;
    
}
.paymentMethodSelected {
    border:1px solid #283269;

   /*content:url('/images/icon_tick.png');
   top:10px;*/
   
  /*position:relative;*/
  /*z-index:100000;*/
  /*left:-50px;*/
  /*top:10px;*/
}

.paymentMethod {

}

.cardButton, .paypalButton {
    /*border:2px solid #283269 !important;*/
    padding:10px;
    border-radius:4px;
}

.cardButton {

}
.paypalButton {

}


.sideBar {
    float: left;
    width: 220px;
    text-align: left;
    /*border: 1px solid #009aff;*/
    border: 1px solid #283269;
    margin-top: 16px;
    margin-left:0;
}

    .sideBar .sideBarTop {
        padding: .25em .5em .35em .5em;
        font-size: 20px;
        font-weight: bold;
        line-height: 1.3em;
        color: white;
        /*background-color: #009aff;*/
        background-color: #283269;
    }

        .sideBar .sideBarTop h2 {
            /*padding: .3em .5em;*/
        }

    .sideBar .sideBarMiddle {
        padding: 10px 15px 15px 15px;
    }

        .sideBar .sideBarMiddle .links {
            font-size: 1.2em;
            margin: 5px 0 25px 5px;
            text-decoration:underline;
        }

    .sideBar .sideBarBottom {
        clear: both;
        /*background-color: white;*/
        padding: 15px;
    }

    .sideBar a {
        color: black;
        float: left;
        margin-bottom: 15px;
        width: 100%;
        padding-left: 5px;
        text-decoration:underline;
        font-weight:400;
    }

        .sideBar a:hover {
            text-decoration:underline;
        }

        .sideBar p {
            /*font-size:14px;*/
        }

    .sideBar .loginLabel {
        /*font-size: 1em;*/
    }

    .sideBar input {
        width: 98%;
        margin-bottom: 15px;
        height: 20px;
    }

        .sideBar input[type="submit"] {
            display: block;
            /*color: #FFFFFF;*/
            /*background: #009aff;*/
            border: 0px;
            /*font-weight: bold;*/
            /*font-size: 16px;*/
            height:auto;
            /*box-shadow: inset 0 -2px 1px 0 #5a1c3c;*/
            /*box-shadow: 2px 2px 3px rgba(0,0,0,.2);*/
            margin: 10px 0 0 0;
            padding:10px 20px;
            width:100%;
        }
    .sideBar .loginThrobber {
        height:50px;
        text-align:center;
        padding-top:25px;
    }
    .sideBar .errorText {
        display: block;
        padding: 15px;
        color: red;
        background-color: white;
        width: auto;
        margin: 20px auto 0px auto;
        font-weight: normal;
        /*font-size: 1em;*/
        border: 1px solid red;
    }

    .sideBar .error, .sideBar .error.checked {
        display:none !important;
    }
    .sideBar .forgotten {
        display:block;
        text-align:center;
        margin:15px 0 0 0;
    }

.photoUpload .errorText {
    display: block;
    padding: 15px;
    color: red;
    background-color: white;
    width: auto;
    margin: 20px auto 0px auto;
    font-weight: bold;
    /*font-size: 0.8em;*/
    border: 1px solid red;
}



.radioButtonList {
    /*font-size: 16px;
    font-weight: bold;*/
    /*margin: 0 10px 0 15px;*/
}
.radioButtonList tr {
    
    }

    .radioButtonList td {
        padding-bottom:1.5em;
    }

    .radioButtonList label {
        margin: 0 0 0 5px;
        /*font-weight:bold;*/
        display:inline;
    }


.radioButtonContainer {
    white-space: nowrap;
    display: inline-block
}


.activeStepText {
    display: inline-block;
    font-size: 1.5em;
    font-weight: bold;
    background: none;
    /*float: left;*/
    clear: left;
    margin: 5px 20px 5px 0;
}

.inactiveStepText {
    display: inline-block;
    font-size: 18px;
    text-decoration: none;
    color: #6c7884;
    margin: 5px 20px 5px 0;
    /*margin-left: 10px;*/
    font-weight: normal;
    background: none;
    /*float: left;*/
    clear: left;
}

.Railcard-NTW .activeStepText {
    color: #0092ff;
}

.Railcard-YNG .activeStepText {
    color: #ed5e00;
}

.Railcard-TST .activeStepText {
    color: #d63a16;
}

.Railcard-FAF .activeStepText {
    color: #e6052d;
}

.Railcard-SNR .activeStepText {
    color: #00a0e6;
}


.Railcard-2TR .activeStepText {
    color: #763c96;
}


.inactiveLink {
    text-decoration:underline;
}

    .inactiveStepText:hover {
       
    }

.mainPanel {
    /*float: right;
    width: 700px;
    border: none;
    padding: 20px 0 20px 20px;
    text-align: left;
    margin-top: 0;
    margin-right: 2px;*/
}

    .mainPanel a {
        color:black;
       /*text-decoration:underline;*/
    }

        .mainPanel a:hover {
            
            text-decoration: underline;
        }

    .mainPanel .pageHeader {
        /*margin-top:2em;*/
        text-align: left;
        margin-bottom:1.5rem;
    }

    .mainPanel h2 {
        margin-bottom:0.75em;
    }

    .mainPanel .railcardImage {
        display:none;
        width: 125px;
        height: 79px;
    }
    






    .terms a {
        text-decoration:underline;
    }

.error {
    width: auto;
    display: inline-block;
    /*background: url("/images/icon_cross.png") no-repeat 0px 0px;*/
    /*font-weight: bold;*/
    color: red;
    /*font-size: 10px;*/
    /*margin-left: 5px;*/
    /*padding-left: 20px;*/
    /*line-height:22px;*/
    /*padding-bottom: 4px;*/
}
.error::before {
        font-family: FontAwesome;
    content: "\f00d";
    margin-right:2px;
    }

    .error.checked {
        /*background: url("/images/icon_tick.png") no-repeat 0px 0px;*/
        margin-top:5px;
        margin-left: 0;
        display:none!important;
    }
    .error.checked::before {
        font-family: FontAwesome;
    content: "";
    }
    
    .jsErrorPanel {
        margin-top:50px;
        padding:20px;
    }
    .jsErrorPanel .error {
        display:block;
        /*font-size:14px;*/
        margin:10px 0 10px 0;
    }

#processingLabel {
    float: right;
}

.mainPanel .form {
}



    /*.mainPanel .form li {
        height: 28px;
        padding: 5px 0 5px 0;
    }
    .mainPanel .form li.double {
        height: 56px;
    }*/ 

       
    /*.mainPanel .form .label {
        display: inline-block;
        width: 225px;
        font-size:16px;
    }
    .mainPanel .form .label.long {
        width:auto;
    }

    .mainPanel .form .required {
        font-weight: bold;
    }

    .mainPanel .form .title {
        width: 70px;
        height: 25px;
    }

    .mainPanel .form .titleOther {
        margin-left:5px;
        width:125px;
    }

    .mainPanel .form .address {
        width: 250px;
        height: 20px;
    }

    .mainPanel .form .town {
        width: 275px;
        height: 20px;
    }

    .mainPanel .form .postcode {
        width: 100px;
        margin: 0 10px 0 0;
        height: 20px;
    }

    .mainPanel .form .country {
        width:260px;
    }

    .mainPanel .form .textBox {
        width: 200px;
        height: 20px;
    }
    .mainPanel .form .doubleTextBox {
        width: 260px;
        height: 40px;
    }

    .mainPanel .form .employment {
        width: 210px;
        height: 30px;
    }

    .mainPanel .form .paymentSelect {
        width: 210px;
    }*/

    .mainPanel .form .craftyPAF {
      
    }

        .mainPanel .form .craftyPAF select {
            display: block;
            width: 100%;
            height: calc(1.5em + .75rem + 2px);
            padding: .375rem .75rem;
            font-size: 1rem;
            font-weight: 400;
            line-height: 1.5;
            color: #495057;
            background-color: #fff;
            background-clip: padding-box;
            border: 1px solid #ced4da;
            border-radius: .25rem;
            transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
            border: 1px dashed black !important;
        }
        .mainPanel .form .force {
        width:260px;
    }

.mainPanel .orderReview {
    /*font-size:16px;*/
}

    .mainPanel .orderReview li {
        padding: 5px 0 5px 0;
    }

.mainPanel .orderReviewli:nth-child(odd) {
}

.mainPanel .orderReview label {
    display: inline-block;
    width: 215px;
    /*font-size: 13px;*/
}

.mainPanel .orderReview .reviewLabel {
    display: inline-block;
    width: 215px;
    /*font-size:16px;*/
}

.mainPanel .orderReview .label {
    /*font-size:16px;*/
}

.mainPanel .orderReview .required {
    font-weight: bold;
}

.mainPanel .orderReview span {
    
}

.mainPanel .orderReview .title {
    /*width: 70px;*/
}

.mainPanel .orderReview .address {
    /*width: 250px;*/
}

.mainPanel .orderReview .town {
    /*width: 275px;*/
}

.mainPanel .orderReview .postcode {
    /*width: 100px;
    margin: 0 10px 0 0;*/
}

.mainPanel .orderReview .textBox {
    /*width: 200px;*/
}

.mainPanel .orderReview .photo {
    /*height: auto;*/
}

.mainPanel .orderReview .price {
    /*width: 65px;
    display: inline-block;
    text-align: right;*/
}

.mainPanel .orderReview .discount {
    width: 65px;
    display: inline-block;
    /*text-align: right;*/
    font-weight: bold;
    /*font-size: 14px;*/
    color: green;
    margin: 0 0 10px 0;
}

.mainPanel .orderReview .button {
    margin-left: 20px;
}

.mainPanel .orderReview .total {
    /*width: 65px;*/
    display: inline-block;
    text-align: right;
    font-weight: bold;
    /*font-size: 16px;*/
}

.mainPanel .promoCode .errorText {
    color: red;
    border: 1px solid red;
    display: block;
    margin: 15px auto 0 auto;
    width: 90%;
    padding: 15px;
}

.mainPanel .terms {
    margin: 0 0 5px 0;
    display: block;
    width: auto;
}

    .mainPanel .terms label {
        margin: 0 0 0 10px;
    }

    .mainPanel .terms input {
        margin-bottom: 15px;
    }

    .mainPanel .marketingPrefTable {
        padding:10px;
    }

    .mainPanel .marketingPrefTable .offer_row.first {
        font-weight:bold;
    }
    .mainPanel .marketingPrefTable .offer_row {
        padding:2px;
    }
    .mainPanel .marketingPrefTable .offer_row .email, .mainPanel .marketingPrefTable .offer_row .mail {
        width:50px;
        display:inline-block;
    }
    .mainPanel .marketingPrefTable .offer_row .offer {
        display:inline-block;
    }
    .mainPanel .marketingPrefTable .offer_row legend {
        display:inline-block;
    }
   
.mainPanel .legal {
    /*margin:20px 0 20px 0;*/
    /*font-size:16px;*/
}
.mainPanel .legal li {
    margin-bottom:10px;
}
.mainPanel .legal a {
    text-decoration:underline !important;
}
.mainPanel .legal input[type=checkbox] {
    /*margin-right:10px;*/
    /*width: 13px;
  height: 13px;
  padding:0;
  margin:0;
  vertical-align: middle;
  position: relative;
  top: -1px;
  *overflow: hidden;
  padding-right:10px;*/
    position: absolute;
  left: 0;
  top: 5px;
}
.mainPanel .legal .legalLabel {
    /*display: block;
  padding-left: 30px;
  text-indent: -15px;*/
    display: inline-block;
  vertical-align: top;
  padding-left: 25px;
  position: relative;
}

    .mainPanel .successPanel {
    color: #3c763d;
    background-color: #dff0d8;
    /*background-image: url('/images/icon_tick.png');*/
    /*border: 1px solid;*/
    /*font-size: 14px;*/
    font-weight: bolder;
    margin: 30px 0;
    padding: 15px 10px 15px 50px;
    background-repeat: no-repeat;
    background-position: 15px 20px;
    line-height: 25px;
}

.mainPanel .errorPanel {
    color: #721c24;
    background-color: #f8d7da;
    background-image: url('/images/icon_cross.png');
    /*border: 1px solid;*/
    /*font-size: 14px;*/
    font-weight: bolder;
    margin: 30px 0;
    padding: 15px 10px 15px 50px;
    background-repeat: no-repeat;
    background-position: 15px 20px;
    line-height: 25px;
    border-radius:.25rem;
}

    .mainPanel .errorPanel i {
        font-weight: normal;
    }

    .mainPanel .helpText {
        margin: 0 10px 5px 10px;
    }

.mainPanel .upload {
}

.mainPanel .upload .errorText {
    color:red;
    display:block;
    margin-top:20px;
    padding:20px;
}
    

    .mainPanel .upload .uploadLabel {
        float: left;
        height: 35px;
        padding: 0;
    }

        .mainPanel .upload .uploadLabel label {
            /*display: inline-block;
            width: 215px;
            font-size: 13px;
            font-weight: bold;
            padding: 5px 0 0 10px;*/
        }

    .mainPanel .upload .uploadBrowse {
        float: left;
        clear:left;
        overflow:hidden;
        position:relative;
        height:2.5rem;
        width:10em;
        /*display: inline-block;
        height: 35px;
        width: 100px;
        padding: 5px 0 0 0;*/
    }

    .mainPanel .upload .uploadStatus {
        float: left;
        display: inline-block;
        width: 295px;
        height: 30px;
        padding: 10px 0 0 0;
        /*font-size: 14px;*/
        font-weight: bold;
    }

    .mainPanel .upload .uploadStatus .throbber {
      margin-left:1em;
    }

    .mainPanel .upload .uploadedPhoto {
        float:left;
        width:400px;
        text-align:left;
    }

    .mainPanel .upload .mobilePreview {
        /*float:left;
        width:250px;*/
        /*text-align:center;*/
    }

.col-pixel-width-400 {
    flex: 0 0 410px;
}



    .mainPanel .upload .mobileAppMock {
        position:relative;
        display:inline-block;
        
        background-size: 155px 276px;
        background-repeat:no-repeat;
        width:155px;
        height:276px;
        
    }
    .mobileNTW {
        background-image:url('/images/networkApp155.jpg');
    }
    .mobileYNG {
        background-image:url('/images/youngApp155.jpg');
    }
.mobileSTS {
    background-image: url('/images/sixteenApp155.jpg');
}
    .mobileTST {
        background-image: url('/images/twentySixApp155.jpg');
    }
    .mobileFAF {
        background-image:url('/images/familyApp155.jpg');
    }
    .mobile2TR {
        background-image:url('/images/togetherApp155.jpg');
    }

    .mobileSNR {
        background-image:url('/images/seniorApp155.jpg');
    }

.mobileVE1 {
    background-image: url('/images/vetApp155.png');
}

.mobileVE2 {
    background-image: url('/images/vetApp155.png');
}

     .mainPanel .upload .printMock {
        position:relative;
        display:inline-block;
        
        background-size: 275px 173px;
        background-repeat:no-repeat;
        width:275px;
        height:173px;
        margin-top:40px;
        
    }
    .printYNG {
        background-image:url('/images/young195.jpg');
        background-size: 195px 123px !important;
        background-repeat:no-repeat !important;
        width:195px !important;
        height:123px !important;
    }
.printSTS {
    background-image: url('/images/sixteen195.jpg');
    background-size: 195px 123px !important;
    background-repeat: no-repeat !important;
    width: 195px !important;
    height: 123px !important;
}
.printTST {
    background-image: url('/images/young195.jpg');
    background-size: 195px 123px !important;
    background-repeat: no-repeat !important;
    width: 195px !important;
    height: 123px !important;
}
    .print2TR {
        background-image:url('/images/together275.jpg');

    }

.printVE1 {
    background-image: url('/images/vet275.jpg');
    /*background-size: 195px 123px !important;
    background-repeat: no-repeat !important;
    width: 195px !important;
    height: 123px !important;*/
}

.printVE2 {
    background-image: url('/images/vet275.jpg');
}

@media (min-width: 992px) {
  
}





    

    .mainPanel .upload .mobileAppMock .previewImage {
        position:absolute;
        top:55px;
        left:44px;
    }

    .mainPanel .upload .printMock .previewImage {
        position:absolute;
        top:42px;
        left:165px;
    }

     .mainPanel .upload .printMock.printYNG .previewImage {
        position:absolute;
        top:30px;
        left:120px;
    }
.mainPanel .upload .printMock.printSTS .previewImage {
    position: absolute;
    top: 30px;
    left: 120px;
}
.mainPanel .upload .printMock.printTST .previewImage {
    position: absolute;
    top: 30px;
    left: 120px;
}

.mainPanel .upload .printMock.printVE1 .previewImage {
    position: absolute;
    top: 30px;
    left: 200px;
}

    .mainPanel .upload .printMock.print2TR .previewImage.image1 {
        position:absolute;
        top:5px;
        left:201px;
    }

    .mainPanel .upload .printMock.print2TR .previewImage.image2 {
        position:absolute;
        top:89px;
        left:201px;
    }

.mainPanel .upload .printMock.printVE2 .previewImage.image1 {
    position: absolute;
    top: 5px;
    left: 201px;
}

.mainPanel .upload .printMock.printVE2 .previewImage.image2 {
    position: absolute;
    top: 89px;
    left: 201px;
}


    .mainPanel .upload .previewImage.image1 {
         top:55px;
        left:10px;
    }

    .mainPanel .upload .previewImage.image2 {
         top:55px;
        left:82px;
    }

/*.mainPanel .upload .mobileVE1 .previewImage.image2, mainPanel .upload .mobileSTS .previewImage.image2 {
    display: none;
}

.mainPanel .upload .printVE1 .previewImage.image2, .mainPanel .upload .printSTS .previewImage.image2 {
    display: none;
}*/

/*.mainPanel .upload .mobileVE1 .previewImage.image2, mainPanel .upload .mobileSTS .previewImage.image2 {
    display: none;
}

.mainPanel .upload .printVE1 .previewImage.image2, .mainPanel .upload .printSTS .previewImage.image2 {
    display: none;
}*/

img[src=""] {
    display: none;
}


    .mainPanel .upload .croppedPhoto {
        /*margin-left:230px;*/
    }
    .mainPanel .upload .croppedPhoto .correct {
        display:block;
        width:18px;
        margin:10px auto;
    }

    .mainPanel .upload p {
        /*margin-top:10px;*/
    }

    .mainPanel .upload .croppedPhoto .mobileAppMock {
        margin-right:10px;
    }

        .mainPanel .upload .uploadedPhoto img {
            margin: 5px 0 5px 235px;
        }

        .mainPanel .upload .uploadedPhoto .correct {
            margin: 5px 0 5px 10px;
        }

    .mainPanel .upload .uploadButton {
            position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    z-index: -1;
    width:100%;
    cursor:pointer !important;
    }

.mainPanel .upload .fileUpload {
    bottom: 0;
    cursor: pointer !important;
    /* left: 0; */
    margin-left: -10em;
    opacity: 0;
    position: absolute !important;
    right: 0;
    top: 0;
    width: 100%;
}






#SavePhotoButton1, #SavePhotoButton2 {
    width:10em;

}

    .mainPanel .upload #PhotoImage, .mainPanel .upload #TwoTogetherPhotoImage {
        width: 400px;
        height: 480px;
    }

    .mainPanel .upload .mobileAppMock .croppedImage {
        width:65px;
        height:78px;
    }

    .mainPanel .upload .printMock .croppedImage {
        width:65px;
        height:auto;
    }
    /*.mainPanel .upload .printMock.printYNG .croppedImage {
        width:100px;
        height:auto;
    }*/



.mainPanel .upload .goodImage {
    /*width:116px;
        float:left;
        margin-right:20px;
        margin-bottom:20px;*/
    border: 2px solid #7ed321;
}

    .mainPanel .upload .badImages {
        /*width:100%;
        float:none;*/
    }



        .mainPanel .upload .badImages img {
            border: 2px solid #dc3545;
        }


.mainPanel .upload .goodImage {
    width: 100px;
}

@media (min-width: 576px) {
    .mainPanel .upload .goodImage {
      width:auto;
    }
}

@media (min-width: 768px) {
}

@media (min-width: 992px) {
}

@media (min-width: 1200px) {
}




    .mainPanel .upload .PhotoUploadBullet {
    list-style: disc;
    margin-top:10px;
    margin-left: 15px;
    margin-bottom: 20px;
    line-height: 22px;
}

    .mainPanel .upload .jcrop-holder>div>div>.jcrop-tracker {
        opacity: 0.8;
        background-color: transparent;
        background-image: url(/images/mask.png);
        background-size: 100%;
    }


@media (max-width: 1023px) {
    
}

.mainPanel .upload .jcrop-handle {
        height: 20px !important;
        width: 20px !important;
    }




.mainPanel #FileUploadPreview {
    width:200px;
}




.mainPanel .verify input[type=text] {
    text-transform: uppercase;
    margin-bottom: 0.5em;
}

.mainPanel .pp1 {
    width: 125px;
    margin-right:0.5em;
}

.mainPanel .pp2, .mainPanel .nic1 {
    width: 60px;
    margin-right:0.5em;
}

.mainPanel .pp3, .mainPanel .nic2, .mainPanel .nic4 {
    width: 95px;
    margin-right:0.5em;
}

.mainPanel .pp4, .mainPanel .nic3, .mainPanel .nic5 {
    width: 44px;
    margin-right:0.5em;
}

.mainPanel .pp5 {
    width: 95px;
    margin-right:0.5em;
}

.mainPanel .pp6 {
    width: 45px;
}

.mainPanel .dl1 {
    width:200px;
}


.mainPanel .img-passport, .mainPanel .img-national-identity-card, .mainPanel .img-driving-licence {
    width: 100%;
}

@media (min-width: 576px) {
    .mainPanel .img-passport {
        width: 391px;
    }
    .mainPanel .img-national-identity-card {
        width: 391px;
    }
    .mainPanel .img-driving-licence {
        width: 391px;
    }
}

@media (min-width: 768px) {
    
}

@media (min-width: 992px) {
    
}

@media (min-width: 1200px) {
}




.mainPanel .myRailcard {
    margin-bottom: 10px;
}
.mainPanel .myRailcard h2 {
    margin-top:0;
    padding-top:0;
}
.mainPanel .myRailcard a {
    text-decoration:underline;
}

.mainPanel .myRailcard .CTA {
    margin:1em 0 1em 0;
}

    .mainPanel .myRailcard .button {
    }

    .mainPanel .myRailcard .cardDetails {
        display: inline-block;
        width: 375px;
        margin: 10px 0 0 0;
    }

        .mainPanel .myRailcard .cardDetails .required {
            width: 160px;
            vertical-align:top;
        }
        .mainPanel .myRailcard .cardDetails span {
            display:inline-block;
        }

        .mainPanel .myRailcard .cardDetails li {
            height: 21px;
            padding: 5px 0 5px 0;
        }

    .mainPanel .myRailcard .cardLogo {
        float: right;
        /*width: 250px;*/
        height: 160px;
        padding-top:5px;
    }

    .mainPanel .myRailcard .cardLogo div {
        position:relative;
    }
    .mainPanel .myRailcard .cardLogo div .myRailcardPreviewImage1 {
        position:absolute;
        top:35px;
        left:30px;
        width:30px;
    }
    .mainPanel .myRailcard .cardLogo div .myRailcardTwoPreviewImage1 {
        position:absolute;
        top:35px;
        left:10px;
        width:30px;
    }
    .mainPanel .myRailcard .cardLogo div .myRailcardTwoPreviewImage2 {
        position:absolute;
        top:35px;
        right:10px;
        width:30px;
    }

    .mainPanel .myRailcard .cardHistory div {
        padding-bottom:20px;
    }

    .mainPanel .myRailcard .showHistoryLink, .mainPanel .myRailcard .hideHistoryLink {
        text-decoration:underline;
    }
    .mainPanel .myRailcard .form .deliveryAddress {
        height:120px;
        
    }
    .mainPanel .myRailcard .form .deliveryAddress span {
        display:block;
        padding-left:225px;
        
    }

    .mainPanel .myRailcard .digitalRailcard {
        margin-top:40px;
        margin-bottom:20px;
    }
    .mainPanel .myRailcard .deviceContainer {
        margin-bottom:20px;
    }
    .mainPanel .myRailcard .deviceContainer table {
        margin:20px 0;
        border-spacing: 10px;
        border-collapse: separate;
        width:100%;
        border:none;
    }
    .mainPanel .myRailcard .deviceContainer table td {
        padding: 10px;
        border:1px solid;
    }
    .mainPanel .myRailcard .deviceContainer table td:last-child, .mainPanel .myRailcard .deviceContainer table th:last-child {
        border:none;
    }
    .mainPanel .myRailcard .deviceContainer table th {
        text-align:left;
        padding:10px;
        border:1px solid;
    }

    #BuyOnBehalfEmailAddressTextBox {
        width:230px;
    }
    #BuyOnBehalfEmailAddressLabel {
        /*font-size:14px;*/
        font-weight:bold;
    }


    /*.card {
        border:none;
    }*/

    .card, .card-header, :first-child.card-header {
        border-radius:0;
    }

    .card-footer {
        background:none;
        border:none;
    }

    .Card-NTW {
        border-color:#0092ff;
    }

     .Card-YNG {
        border-color:#ed5e00;
    }

.Card-TST {
    border-color: #d63a16;
}

    .Card-FAF {
        border-color:#e6052d;
    }

    .Card-2TR {
        border-color:#763c96;
    }

    .Card-SNR {
        border-color:#283269;
    }
.Card-STS {
    border-color: #ffd200;
}

.Card-VE1, .Card-VE2 {
    border-color: #667982;
}




    .Card-NTW .card-header {
        background-color:#0092ff;
        color:white;
    }

    .Card-YNG .card-header {
        background-color:#ed5e00;
        color:white;
    }

.Card-TST .card-header {
    background-color: #d63a16;
    color: white;
}

    .Card-FAF .card-header {
        background-color:#e6052d;
        color:white;
    }

    .Card-2TR .card-header {
        background-color:#763c96;
        color:white;
    }

    .Card-SNR .card-header {
        background-color:#283269;
        color:white;
    }

.Card-STS .card-header {
    background-color: #ffe900;
    color: white;
}

.Card-VE1 .card-header, .Card-VE2 .card-header {
    background-color: #667982;
    color: white;
}


.Card-NTW .button {
        color: #ffffff;
   background-color: #283269;
}

.Card-YNG .button {
    color: #000000;
    background-color: #ffd200;
}

.Card-TST .button {
    color: #000000;
    background-color: #ff9700;
}

.Card-FAF .button {
    color: #000000;
    background-color: #ffa096;
}

.Card-SNR .button {
    color: #ffffff;
    background-color: #00a0e6;
}

.Card-2TR .button {
    color: #000000;
    background-color: #ffa0c3;
}

.Card-STS .button {
    color: white;
    background-color: #ed5e00;
}

.card .table {
    background-color:white;
    color:black;
}

.contentPages {
    
}
/*.contentPages .toTop {
    margin-top:100px;
    margin-bottom:20px;
    text-align:right;
    padding:20px;
}*/
/*.contentPages h2 {
    margin-bottom:40px;
}
.contentPages .tab {
    margin-left:40px;
}*/
/*.contentPages p {
    color:black;
    line-height:22px;
    margin-bottom:10px;
}*/
/*.contentPages ul {
    margin-left:40px;
    color:black;
    list-style-type:none;
    margin-top:-20px;
    margin-bottom:20px;
    font-size:14px;
}
.contentPages ul li {
    line-height:40px;
}*/
/*.contentPages strong {
    color:black;
}
.contentPages .italic {
    font-style:italic;
}*/

#mobileHeader, #content_layer {
    display:none;
}

.mobileNavUp {
    display:block;
}
.mobileNavDown {
    display:none;
}


/*JQUERY AUTOCOMPLETE*/

* html .ui-autocomplete {
    width: 1px;
}

.ui-autocomplete {
    border: solid 1px gray;
    background-color: white;
    color: black;
}

.ui-autocomplete {
    margin: -2px 0 0 0;
    padding: 0.2em 1.5em 0.2em 1.5em;
    cursor: pointer;
    font-weight: normal;
    /*font-size: 16px;*/
    line-height: 1.5em;
}

/*.ui-autocomplete-loading { background:url('/images/throbber.GIF') no-repeat right center }*/

.ui-menu {
    list-style: none;
    padding: 2px;
    margin: 0;
    display: block;
    float: left;
}

    .ui-menu .ui-menu {
        margin-top: -3px;
    }

    .ui-menu .ui-menu-item {
        margin: 0;
        padding: 0;
        -ms-zoom: 1;
        zoom: 1;
        float: left;
        clear: left;
        width: 100%;
    }

.ui-helper-hidden-accessible {
    display: none;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    background: #666666;
    color: white;
}

.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus {
    background: #bdbdbd;
    color: black;
    display:block;
}

.ui-state-focus {

}

.blue {
    color: white;
    background-color: #009aff;
    padding: 10px 10px;
}
.blue a {
    color:white;
}

.howToActivate {
    margin-top:40px;
}

.howToActivate .bullet {
    /*font-size:12px;*/
    color:white;
}

.howToActivate p {
    /*margin:10px 0 20px 0;*/
    margin-top:10px;
    margin-bottom:20px;
    margin-left:30px;
    text-indent: -20px;
    line-height:30px;
}
.howToActivate p span {
}

.howToActivate p img {
    margin:10px 10px 0 8px;
}

.howToActivate .bullet .fa-circle {
    color:#283269;
}

/*END JQUERY AUTOCOMPLETE*/

 /*.DateDropDownDay {
     margin-right:1px;
     width:60px;
}
.DateDropDownMonth {
    margin-right:1px;
    width:70px;
}
.DateDropDownYear {
    width:78px;
}*/





.form-step {padding: 0 0 10px 0;}
.form-step > .form-step-step {padding: 0; position: relative;}
.form-step > .form-step-step .form-step-number {color: #595959; font-size: 16px; margin-bottom: 5px;}
    .form-step > .form-step-step .form-step-info {
        color: #999;
        font-size: 14px;
        white-space: nowrap;
        /*visibility:hidden;*/
        /*overflow: hidden;*/
        display:none;
    }
.form-step > .form-step-step > .form-step-dot {position: absolute; width: 30px; height: 30px; display: block; background: #ed5e00; top: 24px; left: 50%; margin-top: -15px; margin-left: -15px; border-radius: 50%;} 
.form-step > .form-step-step > .form-step-dot:after {content: ' '; width: 14px; height: 14px; background: #ffd200; border-radius: 50px; position: absolute; top: 8px; left: 8px; } 
.form-step > .form-step-step.complete > .form-step-dot:after {content: ' '; width: 14px; height: 14px; background:#ed5e00; border-radius: 50px; position: absolute; top: 8px; left: 8px; } 
.form-step > .form-step-step > .progress {position: relative; border-radius: 0px; height: 8px; box-shadow: none; margin: 20px 0;}
/*.form-step > .form-step-step > .progress > .progress-bar {width:0px; box-shadow: none; background: #ed5e00;}*/
.form-step > .form-step-step.complete > .progress > .progress-bar {width:100%;}
.form-step > .form-step-step.active > .progress > .progress-bar {width:50%;}
.form-step > .form-step-step:first-child.active > .progress > .progress-bar {width:0%;}
.form-step > .form-step-step:last-child.active > .progress > .progress-bar {width: 100%;}
.form-step > .form-step-step.disabledStep > .form-step-dot {background-color: #f5f5f5;}
.form-step > .form-step-step.disabledStep > .form-step-dot:after {opacity: 0;}
.form-step > .form-step-step:first-child  > .progress {left: 50%; width: 50%;}
.form-step > .form-step-step:last-child  > .progress {width: 50%;}
.form-step > .form-step-step.disabledStep a.form-step-dot{ pointer-events: none; }
.form-step > .form-step-step.active > .form-step-info {font-weight:bold; color:black; visibility:visible}
.form-step > .form-step-step.active > .form-step-number {font-weight:bold; color:black;}



.form-step > .form-step-step.complete > .form-step-dot {
    background: black;
}

    .form-step > .form-step-step.complete > .form-step-dot:after {
        background: black;
    }

    .form-step > .form-step-step.active > .form-step-dot {
        background: black;
    }

    .form-step > .form-step-step.active > .form-step-dot:after {
        background: gray;
    }

    .form-step > .form-step-step > .progress > .progress-bar {
        background-color: black;
    }


    
    .form-step-step.active .form-step-info {
        display:block;
    }

@media (min-width: 576px) {
    .form-step > .form-step-step .form-step-info {
        /*visibility: visible*/
        display: block;
    }
}

/*.Railcard .form-step > .form-step-step.complete > .form-step-dot {background: #283269;} 
.Railcard .form-step > .form-step-step.complete > .form-step-dot:after {background: #283269;} 
.Railcard .form-step > .form-step-step.active > .form-step-dot {background: #283269;} 
.Railcard .form-step > .form-step-step.active > .form-step-dot:after {background: white} 
.Railcard .form-step > .form-step-step > .progress > .progress-bar {background-color: #283269;}

.Railcard-FAF .form-step > .form-step-step.complete > .form-step-dot {background: #e6052d;} 
.Railcard-FAF .form-step > .form-step-step.complete > .form-step-dot:after {background: #e6052d;} 
.Railcard-FAF .form-step > .form-step-step.active > .form-step-dot {background: #e6052d;} 
.Railcard-FAF .form-step > .form-step-step.active > .form-step-dot:after {background: #ffa096;} 
.Railcard-FAF .form-step > .form-step-step > .progress > .progress-bar {background-color: #e6052d;}

.Railcard-YNG .form-step > .form-step-step.complete > .form-step-dot {background: #ed5e00;} 
.Railcard-YNG .form-step > .form-step-step.complete > .form-step-dot:after {background: #ed5e00;} 
.Railcard-YNG .form-step > .form-step-step.active > .form-step-dot {background: #ed5e00;} 
.Railcard-YNG .form-step > .form-step-step.active > .form-step-dot:after {background: #ffd200;} 
.Railcard-YNG .form-step > .form-step-step > .progress > .progress-bar {background-color: #ed5e00;}

.Railcard-TST .form-step > .form-step-step.complete > .form-step-dot {
    background: #d63a16;
}

    .Railcard-TST .form-step > .form-step-step.complete > .form-step-dot:after {
        background: #d63a16;
    }

.Railcard-TST .form-step > .form-step-step.active > .form-step-dot {
    background: #d63a16;
}

    .Railcard-TST .form-step > .form-step-step.active > .form-step-dot:after {
        background: #ff9700;
    }

.Railcard-TST .form-step > .form-step-step > .progress > .progress-bar {
    background-color: #d63a16;
}

.Railcard-SNR .form-step > .form-step-step.complete > .form-step-dot {background: #283269;} 
.Railcard-SNR .form-step > .form-step-step.complete > .form-step-dot:after {background: #283269;} 
.Railcard-SNR .form-step > .form-step-step.active > .form-step-dot {background: #283269;} 
.Railcard-SNR .form-step > .form-step-step.active > .form-step-dot:after {background: #00a0e6;} 
.Railcard-SNR .form-step > .form-step-step > .progress > .progress-bar {background-color: #283269;}

.Railcard-2TR .form-step > .form-step-step.complete > .form-step-dot {background: #763c96;} 
.Railcard-2TR .form-step > .form-step-step.complete > .form-step-dot:after {background: #763c96;} 
.Railcard-2TR .form-step > .form-step-step.active > .form-step-dot {background: #763c96;} 
.Railcard-2TR .form-step > .form-step-step.active > .form-step-dot:after {background: #ffa0c3;} 
.Railcard-2TR .form-step > .form-step-step > .progress > .progress-bar {background-color: #763c96;}

.Railcard-NTW .form-step > .form-step-step.complete > .form-step-dot {background: #0092ff;} 
.Railcard-NTW .form-step > .form-step-step.complete > .form-step-dot:after {background: #0092ff;} 
.Railcard-NTW .form-step > .form-step-step.active > .form-step-dot {background:#0092ff;} 
.Railcard-NTW .form-step > .form-step-step.active > .form-step-dot:after {background: #283269;} 
.Railcard-NTW .form-step > .form-step-step > .progress > .progress-bar {background-color:#0092ff;}*/


/*.Railcard .form-step > .form-step-step.complete > .form-step-dot:after {content: ' '; width: 14px; height: 14px; background:#ed5e00; border-radius: 50px; position: absolute; top: 8px; left: 8px; } 
.Railcard .form-step > .form-step-step > .progress {position: relative; border-radius: 0px; height: 8px; box-shadow: none; margin: 20px 0;}
.Railcard .form-step > .form-step-step > .progress > .progress-bar {width:0px; box-shadow: none; background: #ed5e00;}*/






#termsContainer .list-group-item {
    background-color: #f2f2f2;
    color: black;
}
    #termsContainer .list-group-item.active {
        background-color: #0e69af;
        color: white;
    }


/*FAQs*/



.list-group-item.active {
    background-color: #0e69af;
}



.faq-container .list-group-item.active {
    background-color: #0e69af;
    color:white;
}




.faq-container .list-group-item {
    background-color: #f2f2f2;
    color: black;
}

.faq-container.Railcard-YNG .list-group-item.active {
    background-color: #fff0ac;
    color: #ed5e00;
}
.faq-container.Railcard-YNG .Question a {
    color: #ed5e00;
}

.faq-container.Railcard-TST .list-group-item.active {
    background-color: #ffe4c0;
    color: #d63a16;
}
.faq-container.Railcard-TST .Question a {
    color: #d63a16;
}

.faq-container.Railcard-FAF .list-group-item.active {
    background-color: #ffd0ca;
    color: #e6052d;
}
.faq-container.Railcard-FAF .Question a {
    color: #e6052d;
}

.faq-container.Railcard-SNR .list-group-item.active {
    background-color: #cce9ff;
    color: #283269;
}

.faq-container.Railcard-SNR .Question a {
    color: #283269;
}

.faq-container.Railcard-2TR .list-group-item.active {
    background-color: #ffd0e1;
    color: #763c96;
}

.faq-container.Railcard-2TR .Question a {
    color: #763c96;
}

.faq-container.Railcard-NTW .list-group-item.active {
    background-color: #cce9ff;
    color: #0092ff;
}

.faq-container.Railcard-NTW .Question a {
    color: #0092ff;
}




.fullHeightContainer {
    position: relative;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
}

.centre {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20em;
    height: 5em;
}





.cardSelector .home_railcard .home_railcard_content {
    padding: 1.5rem 1rem;
}

.cardSelector .card-title {
}

.cardSelector .card-body .card-text {
    margin-bottom: 1rem;
}

    .cardSelector .card-body .card-text:last-child {
        margin-bottom: 0;
    }

    .cardSelector .card-body .card-text div:not(.icon) {
        margin-top: 0px;
        margin-left: 40px;
    }

    .cardSelector .card-body .card-text .icon {
        color: #299729;
        float: left;
        position: relative;
        top: -5px;
    }

.cardSelector .card-body .card-link {
    /*margin-left: 35px;*/
}

.cardSelector .card-footer {
    
}













.basket {

}

    .basket .home_railcard .home_railcard_content {
        padding:1.5rem 1rem;
    }

    .basket .card-title {
    }

    .basket .card-body .card-text {
        margin-bottom: 1rem;
    }
    .basket .card-body .card-text:last-child {
        margin-bottom: 0;
    }

        .basket .card-body .card-text div:not(.icon) {
            margin-top: 0px;
            margin-left: 40px;
        }

        .basket .card-body .card-text .icon {
            color: #299729;
            float: left;
            position: relative;
            top: -5px;
        }

        .basket .card-body .card-link {
            /*margin-left: 35px;*/
        }

    .basket .card-footer {
        border-top: 1px dotted #bbb;
    }


    .basket.basket-1625 {

    }


    .basket .card-header {
        height:12px;
    }

.basket .home_railcard a {
    margin-top:0;
}

.basket .card-header {
    display:none;
}
    .basket h3 {
        color: white;
        margin-bottom:0;
    }


    .basket .basket_railcard_1625 .railcard_heading, .basket.basket-YNG .card-header {
        background-color: #ed5e00;
    }

    .basket .basket_railcard_2630 .railcard_heading, .basket.basket-TST .card-header {
        background-color: #ff751a;
    }

    .basket .basket_railcard_1617 .railcard_heading, .basket.basket-STS .card-header {
        background-color: #FFe900;
    }

    .basket .basket_railcard_1617 h3 {
        color: black;
    }

    .basket .basket_railcard_senior .railcard_heading, .basket.basket-SNR .card-header {
        background-color: #283269;
    }

    .basket .basket_railcard_family .railcard_heading, .basket.basket-FAF .card-header {
        background-color: #e6052d;
    }

    .basket .basket_railcard_together .railcard_heading, .basket.basket-2TR .card-header {
        background-color: #763c96;
    }

    .basket .basket_railcard_network .railcard_heading, .basket.basket-NTW .card-header {
        background-color: #0092ff;
    }

    .basket .basket_railcard_veterans .railcard_heading, .basket.basket-VE2 .card-header {
        background-color: #667982;
    }




@media (min-width: 576px) {
}

@media (min-width: 768px) {
    /*.basket .card-header {
        display: block;
    }*/

    /*.basket .railcard_heading {
        background-color: white !important;
    }*/

    /*.basket h3 {
        color: #313131;
        margin-bottom: 0;
    }*/

    .basket .home_railcard > a, .basket .home_railcard.open > a {
        background-image: none;
    }

}

@media (min-width: 992px) {
    
}

@media (min-width: 1200px) {
}


.login-banner {
    border-radius: .25rem;
    border:1px solid black;
    padding:.75rem .75rem 0 .75rem;
}
.login-banner p {
}

.login-banner:last-child {
    margin-bottom: 0;
}

.login-banner div:not(.icon) {
    margin-top: 0px;
    margin-left: 30px;
}

    .login-banner .icon {
        color: black;
        float: left;
        position: relative;
        font-size: .7em;
        
    }

   
   




.header {
}

@media (min-width: 576px) {
}

@media (min-width: 768px) {
}

@media (min-width: 992px) {

    .header {
        display: block;
        width: 960px;
        /*height: 120px;*/
        margin: 0 auto;
    }
}

@media (min-width: 1200px) {
}







.positiveIcon {
  color:  #299729;
}

.basket .card-body .card-text .icon, .cardSelector .card-body .card-text .icon {
    color: black !important;
}

.fa.fa-circle-thin.fa-stack-2x {
    display: none !important;
}



.DateControlContainer .error{
    padding-left:15px;
}





/*miscelanous*/
.hidden {
    display: none;
}

.center {
    text-align: center;
    margin: auto;
}

.width100per {
    width: 100%;
}

.height100per {
    height: 100%;
}
/*load dialog*/
div.loadDialog img.loadingImg {
    height: 100%;
}


/* Absolute Center Spinner */
.loading {
    position: fixed;
    z-index: 9999999;
    height: 2em;
    width: 2em;
    overflow: visible;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.loading img {
    width:24px;
}

/* Transparent Overlay */
.loading:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
    /* hide "loading..." text */
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}








    /*.loading:not(:required):after {
        content: '';
        display: block;
        font-size: 10px;
        width: 1em;
        height: 1em;
        margin-top: -0.5em;
        -webkit-animation: spinner 1500ms infinite linear;
        -moz-animation: spinner 1500ms infinite linear;
        -ms-animation: spinner 1500ms infinite linear;
        -o-animation: spinner 1500ms infinite linear;
        animation: spinner 1500ms infinite linear;
        border-radius: 0.5em;
        -webkit-box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0, rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
        box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
    }




/*Hide invalid background*/
.form-control.is-invalid, .was-validated .form-control:invalid {
    background-image:none;
    padding-right:0.75rem;
}


iframe[name=HPP] {
    width: 300px;
    min-width: 100%;
}


.lds-ring {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
    left:-32px;
    top:-32px;
}

    .lds-ring div {
        box-sizing: border-box;
        display: block;
        position: absolute;
        width: 51px;
        height: 51px;
        margin: 6px;
        border: 6px solid white;
        border-radius: 50%;
        animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        border-color: white transparent transparent transparent;
    }

        .lds-ring div:nth-child(1) {
            animation-delay: -0.45s;
        }

        .lds-ring div:nth-child(2) {
            animation-delay: -0.3s;
        }

        .lds-ring div:nth-child(3) {
            animation-delay: -0.15s;
        }

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.lds-ring-32 {
    display: inline-block;
    position: relative;
    width: 32px;
    height: 32px;
    left: 0;
    top: 10px;
}

    .lds-ring-32 div {
        box-sizing: border-box;
        display: block;
        position: absolute;
        width: 25px;
        height: 25px;
        margin: 3px;
        border: 3px solid white;
        border-radius: 50%;
        animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        border-color: white transparent transparent transparent;
    }

        .lds-ring-32 div:nth-child(1) {
            animation-delay: -0.45s;
        }

        .lds-ring-32 div:nth-child(2) {
            animation-delay: -0.3s;
        }

        .lds-ring-32 div:nth-child(3) {
            animation-delay: -0.15s;
        }





.iframe-load {
    background: url(/images/ring_throbber.gif) center center no-repeat;
   min-height:568px;
}





/**
 * Initialiazing a `footnotes` counter on the wrapper
 */
.mainPanel {
    counter-reset: footnotes;
}

/**
 * Inline footnotes references
 * 1. Increment the counter at each new reference
 * 2. Reset link styles to make it appear like regular text
 */
[aria-describedby="footnote-label"] {
    counter-increment: footnotes; /* 1 */
    text-decoration: none !important; /* 2 */
    color: inherit !important; /* 2 */
    cursor: default; /* 2 */
    outline: none; /* 2 */
}

    /**
 * Actual numbered references
 * 1. Display the current state of the counter (e.g. `[1]`)
 * 2. Align text as superscript
 * 3. Make the number smaller (since it's superscript)
 * 4. Slightly offset the number from the text
 * 5. Reset link styles on the number to show it's usable
 */
    [aria-describedby="footnote-label"]::after {
        content: '[' counter(footnotes) ']'; /* 1 */
        vertical-align: super; /* 2 */
        font-size: 0.5em; /* 3 */
        margin-left: 2px; /* 4 */
        color: blue; /* 5 */
        text-decoration: underline; /* 5 */
        cursor: pointer; /* 5 */
    }

    /**
 * Resetting the default focused styles on the number
 */
    [aria-describedby="footnote-label"]:focus::after {
        outline: thin dotted;
        outline-offset: 2px;
    }

[aria-label="Back to content"] {
    font-size: 0.8em;
}

/**
 * Highlight target note
 */
footer :target {
    background: yellow;
}






























a, .mainPanel a {
    color: black;
    text-decoration: underline;
}

h1, .h4.card-header {
    color: black !important;
}

.bg-brand-primary {
    background-color: #ffe900;
}

.bg-brand-secondary {
    background-color: #ffe900;
}

.btn-brand {
    background-color: #ffe900 !important;
    color: black !important;
}

.border-brand-primary {
    border-color: #ffe900;
}

.border-brand-secondary {
    border-color: #ffe900;
}


.form-step > .form-step-step.complete > .form-step-dot {
    background: #ffe900;
}

    .form-step > .form-step-step.complete > .form-step-dot:after {
        background: #ffe900;
    }

.form-step > .form-step-step.active > .form-step-dot {
    background: #ffe900;
}

    .form-step > .form-step-step.active > .form-step-dot:after {
        background: #ffe900;
    }

.form-step > .form-step-step > .progress > .progress-bar {
    background-color: #ffe900;
}

.button {
    background-color: black !important;
    color: white !important;
    /*font-weight:bold;*/
}

.form-control, .input-group-text {
    border: 1px solid #969696;
}

#header .headerContainer, #mobileHeader, #mobile_menu_wrapper, .Railcard #header .headerContainer {
    background-color: #ffe900 !important;
    /*background-color: rgb(255, 233, 0) !important;*/
}


#mobile_menu_account_icon {
    color: black;
}

#mobile_menu_icon div {
    background-color: black;
}
/*#from_national_rail {
    margin: 10px 0px 0px 16px;
}*/
/*#site_select {
    margin: 2px 0 0 20px;
    float: right;
    position: relative;
    width: 180px;
    z-index: 1000;
    height: 46px;
    overflow: hidden;
    border-left: 2px solid white;
}

    #site_select:hover {
        height: 305px;
        margin-bottom: -259px;
        overflow: visible;
    }

    #site_select a {
        text-align: center;
        text-decoration: none;
        display: block;
        width: 140px;
        padding: 10px 20px;
        color: #FFFFFF;
    }*/
#site_select {
    border-left: none;
}

#site_select_button {
    background-color: #ffe900;
    color: black !important;
    /*color: #FFFFFF;
    height: 24px;
    padding: 11px 20px 11px !important;*/
    /*font-family: Source Sans Pro;*/
}

#site_select a.two_together {
    background-color: #763c96;
}

#site_select a.sixteen_to_twentyfive {
    background-color: #ed5e00;
}

#site_select a.family_and_friends {
    background-color: #e6052d;
}

#site_select a.senior {
    background-color: #283269;
}

#site_select a.disabled_persons {
    background-color: #009161;
}

#site_select a.network {
    background-color: #009aff;
}

#mobile_menu_wrapper li.nav_heading {
    background: black;
}

#mobile_menu_wrapper li {
    border-bottom: 1px solid black;
}

    #mobile_menu_wrapper li a {
        color: black;
    }


ul.top_menu li a {
    color: black;
}

#top_bar {
    width: 100%;
    margin: 0;
    padding: 0;
}

    #top_bar ul, #footer_links .left, #footer_links .right {
        padding: 25px 10px;
    }

#top_bar {
    background-color: #f5f5f5;
}



#LoginContainer a, #footer_links a {
    text-decoration: underline;
}

#top_bar ul {
    float: right;
}

ul.top_menu {
    margin: 0;
    padding: 0;
    list-style: none;
    float: right;
}

    ul.top_menu li a {
        display: block;
        float: left;
        font-weight: bold;
        margin-right: 16px;
        margin-top: 3px;
        text-transform: uppercase;
        font-size: 14px;
    }

    ul.top_menu li a {
        display: block;
        float: left;
        font-weight: bold;
        margin-right: 16px;
        margin-top: 3px;
    }

a {
    color: black;
}

a {
    text-decoration: none;
}

    a:hover {
        color: black;
    }






/*Ensure mobile nav not overlaying content*/

.mainPanel {
    margin-top: 55px;
}

@media (min-width: 576px) {
}

@media (min-width: 768px) {
}

@media (min-width: 992px) {
    .mainPanel {
        margin-top: 0;
    }
}

@media (min-width: 1200px) {
}






/*FAQs and Terms*/

#termsContainer .list-group-item {
    background-color: #f2f2f2;
    color: black;
}

    #termsContainer .list-group-item.active {
        background-color: #ffe900;
        color: black;
    }






.list-group-item.active {
    background-color: #ffe900;
}



.faq-container .list-group-item.active {
    background-color: #ffe900;
    color: black;
}



.lds-ring div {
    border: 6px solid black;
    border-color: black transparent transparent transparent;
}

.lds-ring-32 div {
    border: 3px solid black;
    border-color: black transparent transparent transparent;
}



@media (min-width: 768px) {
    #card_basket.sticky-top {
        top: 75px;
    }
}
@media (min-width: 992px) {
    #card_basket.sticky-top {
        top: 15px;
    }
}

.custom-select, .custom-select.form-control.is-invalid, .custom-select.form-control.is-valid {
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3e%3cpath stroke='%231d1d1d' fill='grey' d='M6 8l-1 1l5 5l5-5l-1-1l-4 4l-4-4z'/%3e%3c/svg%3e") no-repeat right .75rem center/18px 18px;
}



#card_basket > div.card-footer.p-3 > div > div.col.pr-0 > p > small {
    display:none;
}
#basket_railcard_1617.home_railcard > a, #home_railcard_1617.home_railcard > a {
    background-image: url('/images/railcardSelector/arrow-down-black.png');
}
#basket_railcard_1617.home_railcard.open > a, #home_railcard_1617.home_railcard.open > a {
    background-image: url('/images/railcardSelector/arrow-up-black.png');
}


.railcard-by-post-warning {
    display:none;
}