/*---- modal ----*/

.modal-popup {
    display: inline;
}

#modal-timeout {
    height: 18.5em;
    width: 35em;
}

#simplemodal-overlay {
    background-color: #000;
    cursor: wait;
}

#simplemodal-container {
    background: #fff;
    color: #333;
    padding: 0.25em;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-box-shadow: 0 2px 10px #333;
    -webkit-box-shadow: 0 2px 10px #333;
    box-shadow: 0 2px 10px #333;
}

/*@media (min-width: 40.0625em) {
    #simplemodal-container {
        border-radius: 5px;
    }
}*/

#simplemodal-container .simplemodal-data {
    padding: 8px;
}

#simplemodal-container a.modalCloseImg {
    /*background:url(global/images/x.png) no-repeat;*/
    cursor: pointer;
    display: inline;
    height: 29px;
    position: absolute;
    right: -16px;
    top: -15px;
    width: 25px;
    z-index: 3200;
}

#simplemodal-container h3, p.modal_heading {
    background-color: #fff;
    color: #232323;
    margin-top: 0;
    padding: 0.25em;
}

#simplemodal-container p {
    padding: 0 0.25em;
}

a.modal-primary,
a.modal-primary:visited {
    background-color: #2d89c9;
    margin-right: 1em;
}

a.modal-primary:hover {
    background-color: #63b0e6;
}

a.modal-secondary,
a.modal-secondary:visited {
    background-color: #FFFFFF;
    border: 2px solid #2d89c9;
    color: #2d89c9;
    margin-right: 1em;
}

a.modal-secondary:hover {
    background-color: #FFFFFF;
    border: 2px solid #63b0e6;
    color: #63b0e6;
}

#timeout_popup p {
    margin-bottom: 0;
}

/* I need to remove the <p> tag that wraps the message in the popup */

/*--- captcha ---*/

.captcha {
    width: 100%;
    background: #fff;
    margin: 0.5em 0 1em;
    padding: 0em;
}

audio:focus {
    outline: none;
    cursor: pointer;
}

audio:hover {
    outline: none;
    cursor: pointer;
}

input.secondary.play {
    font-family: GDS Transport, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 24px;
    margin-left: 10px;
    margin-bottom: 15px;
    font-weight: 400;
    font-size: 16px;
    padding: 3px 0 3px 2em;
    background: transparent url(global/images/play-audio.png) no-repeat scroll 0 50%;
    color: #2E3191;
    text-decoration: underline;
    border: 0px white;
    border: none white;
    clear: left;
    box-shadow: 0px 0px 0px 0px;
}

input.secondary.play:focus {
    background-color: #fd0;
    box-shadow: 0 -2px #fd0, 0 4px #0b0c0c;
    text-decoration: none;
    outline: none;
    cursor: pointer;
}

input.secondary.play:hover {
    outline: none;
    cursor: pointer;
    color: #2E8ACA;
}

.refresh {

    font-family: GDS Transport, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: url(global/images/refresh.png) no-repeat scroll 0 50%;
    height: 27px;
    display: inline-block;
    padding: 4px 0 2px 2em;
    font-weight: 400;
    font-size: 16px;
    clear: left;
    margin-bottom: 10px;
    margin-left: 0.5em;
}

.refresh:hover {
    /*background-color: #fd0;
    box-shadow: 0 -2px #fd0, 0 4px #0b0c0c;
    text-decoration: none*/
    color: #2E8ACA;
}

.captcha img {
    background: #fff;
    border: 1px solid #fff;
    margin: 0 1em 0 0;
    float: left;
    padding-left: 0.25em;
    padding-right: 0.75em;
    padding-bottom: 0.75em;
    padding-top: 0.75em;
    height: 50px;
}

/*
		.captcha div:nth-of-type(2) {
			width: 100%;
			float: left; }

		input.secondary.play { margin-top: 1em; }

		.refresh {
			margin-bottom: 0.75em; }

		form .captcha input { margin-top: 1em;}
*/

#captchaModalPopup h3 {
    font-size: 1.3em;
}

.pwrd-twice {
    border: 0 solid #5B7CBC;
    padding: 0;
}

/*--- online T&Cs ---*/

#simplemodal-container {
    padding: 0.75em 0.75em 1.5em;
}

/*-- These modal-tc classes can be removed once dig:termsAndConditions is deprecated */
#modal-tc {
    width: 45em;
}

#modal-tc h3 {
    background: #fff;
    color: #232323;
    margin-bottom: 0.5em;
    padding: 0.5em 0.5em 0.5em 0.2em;
}

/*-- dig:modalPopup modal-dialog classes  */
.modal-dialog { width: 45em;}

/*.modal-dialog h3 {
	background: #fff;
	color: #232323;
	margin-bottom: 0.5em;
	padding: 0.5em 0.5em 0.5em 0.2em;}		*/

#simplemodal-container .modal-dialog h2 {
    background: #fff;
    color: #232323;
    margin: 0 0 0.5em;
    padding: 0.25em 0.5em 0.25em 0.2em;
    font-size: 1.5em;
    font-weight: 600;
    line-height: 1.25em;
}

.modal-iframe {
    height: 362px;
    overflow: auto;
    border: 1px solid #b2b2b2;
    padding: 1.25em;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: inset 0px 1px 4px 0px #cccccc;
    box-shadow: inset 0px 1px 4px 0px #cccccc;
}

#simplemodal-container .modal-iframe h3 {
    padding: 0;
    margin-top: 2em;
}

#simplemodal-container .modal-iframe h3:first-child {
    margin-top: 0;
}

#simplemodal-container .modal-iframe h4 {
    background: #fff;
    color: #338DCC;
    font-weight: 600;
    margin-bottom: 0.25em;
    margin-top: 1.5em;
    padding-bottom: 0.25em;
    border-bottom: 1px dotted #a5cde9
}

#simplemodal-container p {
    padding: 0;
}

#simplemodal-container .simplemodal-data {
    padding: 0px; /* don't need this, overwrites line 1002*/
}

#simplemodal-container a.modalCloseImg {
    width: 85px;
    height: 38px;
    background: url(global/images/close-modal.png) no-repeat;
    right: 12px;
    top: 15px;
}

#modal-close {
    display: none;
}

.modal_heading {
    margin: 0 3em 0.5em 0;
    font-size: 1.5em;
    font-weight: 700;
}

.modal-content {
    min-height: 362px;
    overflow: auto;
}

.modal-content .half-box {
    min-height: 0;
}

.modal-content .desc {
    display: block;
}

.modal-content input[type="submit"] {
    margin-top: 15px;
}

a.modal-primary:hover {
    background-color: #63b0e6;
}

a.modal-primary:visited {
    background-color: #2d89c9;
    margin-right: 1em;
}

a.modal-secondary:hover {
    background-color: #FFFFFF;
    border: 2px solid #63b0e6;
    color: #63b0e6;
}

a.modal-secondary:visited {
    background-color: #FFFFFF;
    border: 2px solid #2d89c9;
    color: #2d89c9;
    margin-right: 1em;
}

.welcome-modal {
    width: 770px !important;
}

.welcome-modal .modal-content {
    overflow: visible;
    padding-top: 0;
}

#modal-timeout {
    height: 18.5em;
    width: 35em;
}

#simplemodal-overlay {
    background-color: #000;
}

#simplemodal-container {
    background: #fff;
    color: #333;
    padding: 0.25em;
    -webkit-box-shadow: 0 2px 10px #333;
    box-shadow: 0 2px 10px #333;
    padding: 1.5em 1em;
    width: 50% !important;
    margin: auto !important;
    top: 100px !important;
    height: auto !important;
    /*

     .modal-iframe h4 {
       background: none repeat scroll 0 0 #FFFFFF;
       border-bottom: none;
       color: #232323;
       font-weight: 600;
       margin-bottom: 0.25em;
       margin-top: 1.5em;
       padding-bottom: 0.25em;
     }

     */
}
/*@media only screen and (max-device-width: 568px) {
  #simplemodal-container {
    width: 95% !important;
    top: 10px !important;
    box-sizing: border-box;
  }
}*/

@media (max-device-width: 425px) {
    #simplemodal-container {
        width: 70% !important;
        top: 10px !important;
        box-sizing: border-box;
    }
}

#simplemodal-container a.modalCloseImg {
    background-repeat: no-repeat;
    cursor: pointer;
    display: inline;
    height: 38px;
    position: absolute;
    right: 12px;
    top: 9px;
    width: 85px;
    z-index: 3200;
}

#simplemodal-container a.modalCloseImg:focus {
    border: 2px solid #ffcc00;
    border-radius: 20px;
    margin: 0;
}

#simplemodal-container h2 {
    background: none repeat scroll 0 0 #FFFFFF;
    color: #232323;
    font-size: 1.5em;
    font-weight: 700;
    line-height: 1.25em;
    margin: 0 0 0.5em;
}

#simplemodal-container h3,
#simplemodal-container p.modal_heading {
    background-color: #fff;
    color: #232323;
    font-size: 1.2em;
    font-weight: bold;
    line-height: 1.25em;
    margin-bottom: 0.5em;
    margin-top: 0;
    padding: 20px 0 5px 0;
}

#simplemodal-container p {
    font-size: 1em;
    margin-bottom: 1em;
    padding: 0;
}

#timeout_popup p {
    margin-bottom: 0;
}

#modal-timeout {
    height: auto;
}

.alert-wrap {
    background: #fffaee;
    padding: 5px 16px;
    border: 1px solid #9a9a9a;
    box-sizing: border-box;
    margin: 1em auto 0 auto;
    position: relative;
    -moz-border-radius: 0.2em;
    -webkit-border-radius: 0.2em;
    border-radius: 0.2em;
}

.alert-wrap .alert-msg {
    margin: 0 auto;
    padding: 0;
    position: relative;
    overflow: hidden;
    height: 25px;
}

.alert-wrap a.expand-link {
    position: absolute;
    top: 0px;
    right: 0px;
    margin: 0;
    padding: 0;
}

.alert-wrap .alert-msg .msg-content {
    float: left;
    width: 100%;
    padding: 0;
}

.alert-msg {
    margin: 0 auto;
    padding: 0;
    position: relative;
    height: 30px;
}

.bigger {
    overflow: visible;
    height: 100%;
}

.alert-msg p {
    margin-bottom: 0.5em;
    width: 770px; }

.alert-msg a {
    position: absolute;
    top: 0px;
    right: 0px;
    margin:0;
    padding:0; }

.alert-msg p.truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    margin-bottom: 0em;  /* fixes scrollbar in ie9 */
    color: #232323; }


.alert-wrap .alert-msg .msg-content a {
    position: relative;
    display: inline-block;
}

.alert-wrap .alert-msg p {
    margin-top: 0.2em;
    display: block;
}

.alert-wrap .alert-msg p.truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    margin-top: 0.2em;
    /* fixes scrollbar in ie9 */
    color: #232323;
}

.alert-wrap .alert-msg p,
.alert-wrap .alert-msg p:nth-child(2) {
    min-width: 650px;
    width: calc(100% - 95px);
}

.alert-wrap .alert-msg p:nth-child(3),
.alert-wrap .alert-msg p:nth-child(4),
.alert-wrap .alert-msg p:nth-child(5),
.alert-wrap .alert-msg p:nth-child(6),
.alert-wrap .alert-msg p:nth-child(7),
.alert-wrap .alert-msg p:nth-child(8),
.alert-wrap .alert-msg p:nth-child(9),
.alert-wrap .alert-msg p:nth-child(10) {
    width: 100%;
}

.alert-wrap .alert-msg.bigger {
    height: 100%;
}

.alert-wrap span {
    color: #d33783;
    font-weight: 700;
    margin-right: 0.25em;
}