/****** Overriding styles for hero asset pages ******/

body.modal-open { overflow: hidden; }
.body-collapse{ top:0; }

.main-container {
    background: #ffffff;
    width: 100%;
    overflow-x: hidden;
}

h1, h2, h3, h4, p {
    padding:0;
    margin:0;
}

h1 {
    font-size: 60px;
    font-weight: bold;
    color: #75787b;
    line-height: 1;
    padding-bottom: 30px;
}

h2 {
    font-size: 38px;
    color: #75787b;
    line-height: 1.2;
    padding-bottom: 30px;
    font-weight: normal;
}

h3 {
    font-size: 28px;
    font-weight: normal;
    color: #75787b;
    padding-bottom: 50px;
}

h4 {
    font-size: 22px;
    font-weight: normal;
    color: #75787b;
}

p{
    color: #75787b;
    padding-bottom: 10px;
    font-size: 16px;
}

li {
    color: #75787b;
    padding-bottom: 5px;
}

p.quote{
    color: #250e62;
    font-size: 20px;
    position: relative;
}

p.quote > span{ margin-left: -.4em; }

p.quote_source {
    color: #ce0058;
    font-weight: bold;
    margin-top: 5px;
}

p.larger {
    font-size: 20px;
    line-height: 1.1;
    padding: 10px 30px;
}

a {
    outline: 0 !important;
}

.cta_pink {
    display: inline-block;
    padding: 15px 40px 15px 15px;
    color: #ffffff;
    font-size: 18px;
    line-height:1;
    /* ATTN - url should be amended */
    background: url('../images/a_chevron.svg') no-repeat center right 9px #4A851F;
    background-size: 13px 30px;
    transition: .2s all;
    outline: none;
    border:0;
}

.cta_pink:hover, .cta_pink:focus, .cta_pink:active {
    text-decoration: none;
    background-position: center right 5px;
    color: #ffffff;
}

.light-grey-color-bg { background-color: #f5f5f5; }

.teal-color-bg { background-color: #177286; }

.mid-grey-color-bg { background-color: #a7a8aa; }

.dark-blue-color-bg { background-color: #003349; }

.text-white { color: #ffffff; }

.text-blue { color: #003349; }

.text-green { color: #00dc00; }

.text-centred { text-align: center; }

/*  Accordion Styles  START  */

.panel-group{ border-bottom: 2px solid #62645c; }

.panel-group .panel{
    border: 0 solid;
    border-radius: 0;
    box-shadow: none;
    padding-left: 10px;
    padding-right: 10px;
}

.panel-group .panel .panel-heading{
    background: transparent;
    border-top: 2px solid #62645c;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.panel-group .panel .panel-heading h3 { margin-bottom:0; }

.panel-body{
    border-top: 0 solid !important;
    padding: 0;
}

.panel-title>a {
    display:block;
    padding: 30px 0;
    text-decoration: none !important;
    padding-right: 50px;
    position: relative;
}

.panel-title>a:after {
    /* ATTN - url should be amended */
    background: url('../images/green_arrow_up.svg') no-repeat center right transparent;
    background-size: contain;
    height: 28px;
    width: 28px;
    content: "";
    position: absolute;
    top: 37px;
    transition: .2s all;
    right: 0;
}

.panel-title>a.collapsed:after { transform: rotate(-180deg); }

.panel-title h3 { padding: 0; }

/*  Accordion Styles  END  */

.image_style_1 {
    max-height: 200px;
    margin-bottom: 25px;
}

.image_style_2 {
    max-height: 120px;
}

.image_style_3 {
    max-height: 300px;
    max-width: 90%;
}

.image_style_4 {
    height: 250px;
    margin: 0;
}

/*  Slants START  */

.slant {
    position: relative;
    overflow: hidden;
}

.slant:before{
    position: absolute;
    content: "";
    top: 0;
    transform: skewX(-20deg);
    width: 200%;
    height:100%;
}

.grey_slant:before{
    right: 50%;
    background: #97999b;
}

.blue_slant:before{
    right: 72%;
    background: #92d0ec;
}

.wide_blue_slant:before{
    right: 50%;
    background: #92d0ec;
}

.wide_purple_slant:before{
    left: 55%;
    background: #8778f3;
}

.pink_slant:before{
    right: 69%;
    background: #f4abd0;
}

.white_slant:before{
    right: 63%;
    background: #ffffff;
}

.white_slant_2:before{
    right: 68%;
    background: #ffffff;
}

.slim_white_slant:before{
    right: 70%;
    background: #ffffff;
}

.trans_slant:before{
    right: 90%;
    background: #ffffff;
    opacity: .56;
}

.modal_blue_slant:before{
    right: 28%;
    background: #92d0ec;
}

.modal_grey_slant:before{
    right: 30%;
    background: #f5f5f5;
}

/*  Slants END  */

.bullet_tick {
    /* ATTN - url should be amended */
    background: url("../images/blue-2-tick.png") no-repeat center left transparent;
    /* background-image: url("/sites/all/themes/sagepay_bootstrap/images/blue-2-tick.png"); */
    background-size: 35px 35px;
    padding-left: 50px;
    list-style: none;
    min-height: 35px;
    padding-bottom: 0;
    padding-top: 6px;
    align-items: center;
}

.absolute_col_img{
    position: absolute;
    width: 50%;
    height: 100%;
    top: 0;
    right: 0;
}

.absolute_col_img.left{
    right: auto;
    left: 0;
}

.bg-cover {
    background: no-repeat center center transparent;
    background-size: cover;
}

.bg-top-center { background-position: top center; }
.bg-bottom-center { background-position: bottom center; }

.bg-top-left { background-position: top left; }
.bg-center-left { background-position: center left; }
.bg-bottom-left { background-position: bottom left; }

.bg-top-right { background-position: top right; }
.bg-center-right { background-position: center right; }
.bg-bottom-right { background-position: bottom right; }

/* ATTN - urls should be amended */
.retail-hero-asset-1{	background-image: url('../images/retail1.jpg'); }
.retail-hero-asset-2{	background-image: url('../images/retail2.jpg'); }

.midmarket-home-asset-1 {	background-image: url('../images/midmarket1.jpg'); }
.midmarket-home-asset-3 {	background-image: url('../images/midmarket2.png'); background-color: #8ab7c2; }
.midmarket-home-asset-2 {	background-image: url('../images/midmarket3.jpg'); }

.midmarket-retail-asset-1 {	background-image: url('../images/midmarketretail1.jpg'); }
.midmarket-retail-asset-2 {	background-image: url('../images/midmarketretail2.jpg'); }
.midmarket-retail-asset-3 {	background-image: url('../images/midmarketretail-3.jpg'); }
.midmarket-retail-asset-4 {	background-image: url('../images/midmarketretail4.jpg'); }

.contact-us-asset-1 {	background-image: url('../images/retail1.jpg'); }

.sway-asset-1 {	background-image: url('../images/sway1.jpg'); }

.next_arrow, .next-arrow{
    position: absolute;
    width: 35px;
    height: 18px;
    /* ATTN - url should be amended */
    background: url('../images/white_arrow_down.svg') no-repeat top center transparent;
    background-size: contain;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
}

.next_arrow.shallow{ bottom: 30px; }

.col-md-fifth {
    float:left;
    width: 20%;
    padding:0;
}

.col-md-fifth h4{	padding: 0 35px; }

.asset_row {
    display: flex;
    height: 450px;
    align-items: center;
}

.giant_modal .asset_row{
    height: 100vh;
    overflow: hidden;
}

.asset_row.rev { flex-direction: row-reverse; }

.image_holder {
    position: relative;
    height: 200px;
    margin-bottom: 20px;
}

.image_holder img{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 250px;
}

/* Modal Styles START */

.giant_modal .modal-dialog{
    width: 100%;
    margin:0;
    padding:0;
}

.giant_modal .modal-content{
    height: 100%;
    border-radius: 0;
    border: 0;
}

.giant_modal .modal_close{
    /* ATTN - url should be amended */
    background: url('../images/modalclose.svg') no-repeat 0 0 transparent !important;
    background-size: cover;
    width: 40px;
    height: 40px;
    opacity: 1;
    top: 50px;
    right: 50px;
    position: absolute;
    cursor: pointer;
    z-index: 9999;
}

.giant_modal#modal3 .col-md-4 {	max-width: 480px; }

.giant_modal .modal-body {	padding:0; }

.giant_modal .modal_image_style{
    max-height: 300px;
    margin-bottom: 25px;
}

.giant_modal .modal_2_sources{
    position: absolute;
    bottom: 0px;
    left: 0px;
    padding: 20px;
    color: #250e62;
    font-size: 14px;
}

.giant_modal .modal_3_image_style{
    height: 135px;
    margin-top: 100px;
    margin-bottom: 20px;
}

.giant_modal .modal_3_header{
    font-size: 38px;
    line-height: 1;
    padding-bottom: 20px;
    height: 125px;
}

.giant_modal .modal_3_equals{
    height: 70px;
    padding-bottom: 20px;
}

.giant_modal .modal_3_p{
    font-size: 30px;
    padding-bottom: 40px;
    line-height: 1.1;
}


.sage_form label {
    font-family: 'Roboto', "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #4D4F53;
    width: 100%;
    font-weight: normal;
}

.contact_form {
    max-width: 400px;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 55px;
}


.contact_form .form-group{
    position: relative;
}

.contact_form button{
    font-size: 18px;
    width: 100%;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    -ms-border-radius: 0px;
    border-radius: 0px;
    background: #41a940;
    font-family: 'Roboto', "Helvetica Neue", Helvetica, Arial, sans-serif;
    border-color: #41a940;
    padding: 10px 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=" 100 ")";
    filter: alpha(opacity=100);
    -moz-opacity: 1;
    -khtml-opacity: 1;
    opacity: 1;
}

.contact_form button:hover {
    background: #41a940;
    border-color: #41a940;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=" 60 ")";
    filter: alpha(opacity=60);
    -moz-opacity: 0.6;
    -khtml-opacity: 0.6;
    opacity: 0.6;
    -webkit-transition-property: all;
    -ms-transition-property: all;
    transition-property: all;
    -webkit-transition-duration: 0.5s;
    -ms-transition-duration: 0.5s;
    transition-duration: 0.5s;
}

.contact_form label:first-child {
    position: absolute;
    left: -106%;
    text-align: right;
    top: 11px;
}

.sage_form label.error {
    color: #b94a48;
}

.sage_form .form-control{
    background-color: #fff;
    background-image: none;
    border: 1px solid #DFDFDF;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    -ms-border-radius: 0px;
    border-radius: 0px;
    box-shadow: none;
    color: #4D4F53;
    display: block;
    font-size: 14px;
    height: 42px;
    line-height: 1.42857;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s,box-shadow 0.15s ease-in-out 0s;
    vertical-align: middle;
    width: 100%;
}

.sage_form label .form-required {
    color: #41a940;
}

.sage_form .select-wrapper{
    width: 100%;
    height: 42px;
    line-height: 26px;
    float: none;
    display: inline-block;
    border: 1px solid #DFDFDF;
    background: url('https://www.sagepay.co.uk/sites/all/themes/sagepay_bootstrap/images/select-dropdown.jpg') no-repeat right 0 transparent;
    cursor: pointer;
}

.sage_form .select-wrapper:hover{
    border: 1px solid #41a940;
}

.sage_form .select-wrapper select {
    margin: 0;
    position: relative;
    z-index: 2;
    cursor: pointer;
    outline: none;
    opacity: 0;
    _noFocusLine: expression(this.hideFocus=true);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    -khtml-opacity: 0;
    -moz-opacity: 0;
}

.sage_form .select-wrapper .holder {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
    z-index: 1;
    position: absolute;
    height: 42px;
    padding: 6px 12px;
    line-height: 2;
}

/* Modal Styles END */

/* Image reveal styles START */

.reveal{
    transform: translateX(-100px);
    opacity: 0;
    transition: .4s all;
}

.reveal.right{ transform: translateX(100px); }

.reveal.revealed{
    opacity: 1;
    transform: translateX(0);
}

/* Image reveal styles END */

/* Carousel Styles START */

.carousel_inner{
    height: 175px;
    display:flex;
    align-items: center;
}

.carousel_control{
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    left: 0;
    height: 13px;
    width: 25px;
    /* ATTN - url should be amended */
    background: url('../images/pink_arrow_up.svg') no-repeat center right transparent;
    background-size: contain;
}

.carousel_control.right {
    left: auto;
    right: 0;
    transform: translateY(-50%) rotate(90deg);
}

.carousel-inner>.item { padding: 0 100px; }

/* Carousel Styles END */


.proProfile, #clearlink{
    display:none;
}

.contact_clearlink{
    max-width: 400px;
    margin: 0 auto;
}

@media (max-width: 991px) {

    .carousel-inner>.item { padding: 0 40px; }

    .absolute_col_img{
        display:block;
        position: static;
        width: 100%;
        height: 450px;
    }

    #modal3 .col-md-4 {	max-width: none; }

    .slant:before {
        right: 0;
        left:0;
        top: auto;
        transform: skewY(-5deg);
        transform-origin: top right;
    }

    .wide_blue_slant:before,
    .wide_purple_slant:before { bottom: 65%; }

    .grey_slant:before{ bottom: 70%; }

    .pink_slant:before,
    .blue_slant:before{ top: 50%; }

    .white_slant:before,
    .slim_white_slant:before,
    .white_slant_2:before { bottom: 80%; }

    .trans_slant:before { bottom: 90%; }

    .modal_blue_slant:before,
    .modal_grey_slant:before  { bottom: 50%; }

    .asset_row {
        display: block;
        padding-top: 50px;
        padding-bottom: 50px;
        height: auto;
    }

    .giant_modal .asset_row {
        height: auto;
    }

    .asset_row > div {
        padding-top: 30px;
        padding-bottom: 30px;
        float: none !important;
    }

    .grid_row {
        display: block;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .grid_row > div {
        border: 0px solid;
        padding-top: 70px;
        padding-bottom: 20px;
        float: none !important;
        border-top: 2px solid #cbcbc9;
    }

    .col-md-fifth {
        float:left;
        width: 100%;
    }

    .image-2-bg{ text-align: center; }

    .remove_max {	max-width: none !important;	}

    .image_style_3 {
        display: block;
        margin: 0 auto 40px;
    }

    .sm-text-centred{ text-align: center; }

    .grid-border-left { border-right: 0 none; }

    .grid-border-right { border-right: 0 none; }

    .modal_3_header{
        height: auto;
    }

    .giant_modal .modal_3_header{
        height: auto;
    }

    .contact_form {
        width: 100%;
    }

    .contact_form label:first-child {
        position: relative;
        left: auto;
        text-align: left;
        top: auto;
    }

    .or-call-block, .regulation{
        padding: 0 15px;
    }

}

/***** UPDATE - 20/06/17 - START *****/

/* ATTN - urls should be amended */
.midmarket-home-asset-4 {	background-image: url('../images/midmarket4.jpg'); }

.hospitality-hero-asset-1{	background-image: url('../images/hospitality1.jpg'); }
.hospitality-hero-asset-2{	background-image: url('../images/hospitality2.jpg'); }

.midmarket-hospitality-asset-1 {	background-image: url('../images/midmarkethospitality1.jpg'); }
.midmarket-hospitality-asset-2 {	background-image: url('../images/midmarkethospitality2.jpg'); }
.midmarket-hospitality-asset-3 {	background-image: url('../images/midmarkethospitality3.jpg'); }
.midmarket-hospitality-asset-4 {	background-image: url('../images/midmarkethospitality4.jpg'); }

.midmarket-retail-asset-5 {	background-image: url('../images/midmarketretail5.jpg'); }
.midmarket-retail-asset-6 {	background-image: url('../images/midmarketretail6.jpg'); }

.sway-asset-2 {	background-image: url('../images/sway2.jpg'); }

.image_style_5 {
    max-height: 255px;
    max-width: 80%;
    margin-bottom: 40px;
}

/***** UPDATE - 20/06/17 - END *****/

/***** UPDATE - 11/12/17 - START *****/

.midmarket-retail-asset-7 {	background-image: url('../images/midmarketretail7.jpg'); }
.midmarket-hospitality-asset-5 { background-image: url('../images/midmarkethospitality5.jpg'); }

/* Embed */
.embed-responsive {
    position: relative;
    display: block;
    height: 0;
    padding: 0;
    overflow: hidden;
}
.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.embed-responsive-16by9 {
    padding-bottom: 56.25%;
}

.embed-responsive-210by297 {
    padding-bottom: 141.42%;
}

/* Customer field */
#elqForm .existing-customer input[type="checkbox"] {
    margin-top: 8px;
}
#elqForm .existing-customer .checkbox label {
    color: #4D4F53;
    font-size: 20px;
}
.contact_form .existing-customer label {
    top:auto;
}


/***** UPDATE - 11/12/17 - END *****/
