﻿/*main break points
    1200+ desktop centered
    980 -> 1199 desktop
    480 -> 979 tablet
    -> 479 phones
*/

html, body, form{
    margin: 0;
    font-family: "Source Sans Pro", sans-serif;
}
body{
    overflow-y: scroll;
}

#headerBG{
    background-color: rgba(0, 0, 0, 0.7);
    height: 100px; /*same as #header*/
    width: 100%;
    position: absolute;
    z-index:1;
}

#header
{
    height: 100px; /*same as #headerBG*/
    background: url(/assets/images/newLogo.png) no-repeat scroll 30px 10px / 265px 90px;
    position: relative;
    color: white;
    z-index: 4;
}

#homeLink{
    background-color: rgba(0, 0, 0, 0);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 290px;
}

.submitButton, .primaryButton{
    background-color: #2d94c1;
    border: 0;
    color: #fff;
    padding: 5px 20px;
    -webkit-appearance: none;
    border-radius: 0;
    cursor: pointer;
}


.login
{
    padding-left: 15px;
    padding-right: 60px;
    position: relative;
}
.partner{
    padding-right: 15px;
}
.headerLinks{
    color: #fbfcf3;
    display: inline;
    cursor: pointer;
    float: right;
    line-height: 100px;
}
.headerLinks span{
    font-size: 0.8em;
    font-weight: 700;
}
.headerMenu{
    display: none;
    position: absolute;
    background-color: #fff;
    color: #000;
    padding: 12px 12px 0 12px;
    border: 1px solid #000;
    border-radius: 10px;
    line-height: normal;
    top: 80px;
    cursor: default;
}
#partnerPnl{
    right: 30px;
    padding-bottom: 10px;
}
#loginPnl{
    right: 10px;
    font-size: 0.8em;
}
#loginPnl h3{
    margin-top: 5px;
    font-size: 1.6em;
    font-weight: 600;
    padding-top: 0;
}
#loginPnl span{
    color: red;
    background-color: rgba(255,0,0,0.1);
    padding: 10px;
    clear: both;
    margin: 0 auto 20px;
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 5px;
    border: 1px solid red;
    box-sizing: border-box;
    float: left;
}
#loginPnl #checking{
    display: none;
    border-color: rgba(31,94,235,0.5);
    color: rgba(31,94,235,1);
    background: url(/assets/images/applicationhtml/loadingsmall.gif) no-repeat 10px center;
}
#loginPnl input[type="email"], #loginPnl input[type="password"]{
    display: block;
    line-height: 1.4em;
    font-size: 1.5em;
    padding: 5px;
    height: 20px;
    width: 241px;
    margin-bottom: 20px;
    background-color: #eee;
    border-radius:5px;
    font-weight: 400;
    transition: box-shadow ease-in-out .2s,border-color ease-in-out .2s,background-color ease-in-out .15s;
}
#loginPnl input[type="email"]:focus, #loginPnl input[type="password"]:focus{
    background-color:#fff;
}
#loginPnl .checkbox{
    margin-bottom: 15px;
}
#loginPnl input[type="checkbox"]{
    margin: 0 10px 0 0;
    vertical-align: middle;
    cursor: pointer;
    /* bigger Checkboxes */
    -ms-transform: scale(1.3); /* IE */
    -moz-transform: scale(1.3); /* FF */
    -webkit-transform: scale(1.3); /* Safari and Chrome */
    -o-transform: scale(1.3); /* Opera */
    transform: scale(1.3);
}
#loginPnl label{
    font-weight: 600;
    cursor: pointer;
}
#loginPnl input[type="submit"]{
    -webkit-appearance: none;
    border-radius: 0;
    background-color: #1f5eeb;
    color: #f4fdff;
    font-size: 1.3em;
    font-weight: 600;
    height: 40px;
    line-height: 40px;
    padding: 0 20px;
    margin-bottom: 20px;
    border: 0;
    cursor: pointer;
}
#loginPnl a{
    display: inline-block;
    width: 120px;
    text-decoration: none;
    color: #888;
    font-weight: 600;
    margin-top: 0px;
    margin-left: 20px;
    vertical-align: top;
}
#loginPnl .callout{
    position: absolute;
    top:-20px;
    right: 20%;
    width: 20px;
    height: 20px;
    background-color: #fff;
}

#partnerPnl a{
    background-color: #1f5eeb;
    color: #f4fdff;
    display: block;
    font-size: 1.3em;
    font-weight: 600;
    height: 40px;
    line-height: 40px;
    padding: 0 20px;
    text-align: center;
    margin: 10px 0;
    text-decoration: none;
    border: 0;
    cursor: pointer;
}
#partnerPnl .callout{
    position: absolute;
    top:-20px;
    right: 50%;
    width: 20px;
    height: 20px;
    background-color: #fff;
}



@media (max-width: 600px)
{
    #menu{
        cursor: pointer;
        box-sizing: border-box;
        padding-top: 120px;
        height: 120px;
    }
    #menu.menuClosed{
        background: url(/Assets/images/menu-open.png) no-repeat 95% center;
    }
    #menu.menuOpen{
        background: url(/Assets/images/menu-close.png) no-repeat 95% center;
    }
    #menu .headerLinks{
        transition: height .2s ease-in-out;
        line-height: 1em;
        color: #000;
        background-color: rgba(255,255,255, 0.95);
        display: block;
        line-height: 50px;
        float: none;
        overflow: hidden;
        padding: 0 10px;
        color: #9c9c9c;
    }
    #menu.menuClosed::before{
        content: 'MENU';
        position: absolute;
        top: 75px;
        right: 5%;
        font-size: 0.66em;
    }
    #menu.menuClosed .headerLinks{
        height: 0px;
    }
    #menu.menuOpen .headerLinks{
        border-bottom: 3px solid #cecece;
        /*height: 50px;*/
    }
    #menu .headerLinks span{
        font-size: 1.8em;
        font-weight: 500;
    }

    #menu .headerMenu{
        position: static;
        border: none;
        background-color: transparent;
    }

    #loginPnl h3{
        display: none;
    }
    #loginPnl input[type="email"], #loginPnl input[type="password"]{
        margin: 0 auto 20px auto;
        max-width: 90%;
        width: 90%;
    }
    #loginPnl a{
        width: auto;
    }


}

@media(max-width: 480px)
{
    #menu{
        height: 100px;
        padding-top: 100px;
    }
    #menu.menuClosed::before{
        content: 'MENU';
        position: absolute;
        top: 67px;
        right: 5%;
        font-size: 0.66em;
    }
}




#top
{
    height: 700px; /*height of image*/
    margin-top: -100px; /*minus height of #header*/
    margin-bottom: -240px; /*minus the height of the #why panel*/
    background-image: url(/Assets/images/home-bg-1.jpg);
    background-repeat: no-repeat;
    background-position: right top;
    background-position-x: 100%;
    position: relative;
}
#topStart{
    background-color: rgba(0, 0, 0, 0.7);
    position: absolute;

    height: 270px; /*same as #header*/
    width: 300px;

    top: 130px;
    right: 60px;
    
    padding: 20px;
    color: #fbfbf9;
}
#topStart h2{
    margin:0;
    font-size: 2.3em;
    line-height: 1em;
    font-weight: 600;
}
#topStart span{
    margin: 20px 0;
    display: inline-block;
    font-style: italic;
    font-size: 1em;
    color: #f1f2ed;
}
#topStart a{
    text-align: center;
    display: block;
    text-decoration: none;
    color: #f4fdff;
    background-color: #1f5eeb;
    font-size: 1.3em;
    font-weight: 600;
    width: 50%;
    height: 40px;
    line-height: 40px;
}
#topJump
{
    display: none;
    background: url(/Assets/images/dtsa-caret-white.png) no-repeat;
}



#why{
    height: 240px;
    background-color: rgba(255,255,255,0.9);
    text-align: center;
    padding: 30px;
    box-sizing: border-box;
    z-index: 3;
    position: relative;
}
#why h2{
    margin-top:0;
    font-size: 2em;
    font-weight: 800;
}

#why div{
    display: inline-block;
    width: 33%;
    vertical-align: top;
    padding: 0 10px;
    box-sizing: border-box;
    background-repeat: no-repeat;
    background-position: center top;
}
#why h3
{
    padding-top: 30px;
}
#quality
{
    background-image: url(/Assets/images/quality-icon.png);
}
#flexibility
{
    background-image: url(/Assets/images/flexibility-icon.png);
}
#support
{
    background-image: url(/Assets/images/support-icon.png);
}








#start{
    padding: 30px;
    color: #fdfefe;
    background-image: url(/Assets/images/home-bg-2.jpg);
    text-align: center;
    box-sizing: border-box;
    position: relative;
}
#start h2{
    margin-top: 0;
    font-size: 2em;
    font-weight: 800;
}

#start .category{
    background-color: #1f5eeb;
    display: inline-block;
    vertical-align: top;
    position: relative;
    overflow: hidden;
}

#start ul{
    text-align: left;
    font-size: 0.9em;
}
#start a{
    display: block;
    text-decoration: none;
    color: #f4fdff;
    background-color: #143b96;
    width: 70%;
    margin: 0 15%;
    cursor: pointer;
    position: absolute;
    bottom: 70px;
}
#start .learnMore{
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    cursor: pointer;
}

.category.car h3{
    background-image: url(/Assets/images/car.png);
}
.category.bike h3{
    background-image: url(/Assets/images/motorbike.png);
}
.category.lgv h3{
    background-image: url(/Assets/images/small-lorry.png);
}
.category.adi h3{
    background-image: url(/Assets/images/ADI.png);
}


#pcvlgvChoice{
    position: absolute;
    top: 0;
    height: 100%;
    left: 0;
    width: 100%;
    background: #003fcc;
    margin-left: 100%;
    color: #000;
    transition: margin 0.3s ease-in-out;
}
#pcvlgvChoice.pcvlgvChoiceShow{
    margin-left: 0%;
}

#choiceHint {
    color: #fdfefe;
    font-size: 1.5em;
    font-weight: 600;
    margin: 40px 0 20px 0;
    padding: 0 20px;
}
#choicePCV, #choiceLGV {
    height: 40px;
    line-height: 40px;
    font-size: 1.3em;
    font-weight: 600;
    color: #f4fdff;
    background-color: #1f5eeb;
    cursor: pointer;
    width: 90%;
    margin: 20px auto 10px auto;
    padding-top: 80px;
}
#choiceLGV {
    background: #1f5eeb url(/Assets/images/Menu-LGV-white.png) no-repeat center top;
}
#choicePCV {
    background: #1f5eeb url(/Assets/images/Menu-PCV-white.png) no-repeat center top;
}
#choiceClose {
    background: url(/assets/images/DTSA-menu-icon-logout.png) no-repeat;
    background-size: 30px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
}


#comments{
    background-color: #121212;
    color: #fefefe;
    margin: 20px 0;
    position: relative;
    padding: 30px;
    box-sizing: border-box;
    overflow: hidden;
}
#comments::before, #comments::after{
    content: '';
    height: 154px;
    width: 186px;
    position: absolute;
    background-image: url(/Assets/images/dtsa-doublequote-mark.png);
    background-repeat: no-repeat;
    z-index: 1;
    pointer-events: none;
}
#comments::before
{
    top: 0px;
    left: 5%;
    transform: rotateY(180deg);
}
#comments::after{
    bottom: -10px;
    right: 5%;
}
#comments h2{
    margin-top: 0;
    text-align: center;
    position: relative;
    z-index: 1;
    font-size: 2em;
    font-weight: 800;
}
#commentScrollBox{
    margin: 50px auto 10px auto;
    width: 90%;
    height: 220px;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    z-index: 1;
}

#comments #scrollLeft, #comments #scrollRight{
    position: absolute;
    width: 30px;
    top: 80px;
    bottom: 30px;
    background-image: url(/Assets/images/dtsa-caret-white.png);
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}
#comments #scrollLeft:hover::after, #comments #scrollRight:hover::after
{
    opacity: 0.6;
}
#comments #scrollLeft::after, #comments #scrollRight::after{
    content:'';
    transition: opacity 0.3s ease-in-out;
    position: absolute;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 3px 2px #fefefe;
    opacity: 0;
    border-radius: 5px;
}
#comments #scrollLeft{
    left: 20px;
    background-image: url(/Assets/images/dtsa-caret-white.png);
    transform: rotateZ(180deg);
}
#comments #scrollRight
{
    right: 20px;
}
#comments .comment{
    text-indent: 0;
    display: inline-block;
    width: 33.3%;
    position: absolute;
    box-sizing: border-box;
    padding: 0 20px;
    text-align: left;
    margin: 0;
    white-space: normal;
    vertical-align: top;
}
#comments .commentText{
    overflow: hidden;
    line-height: 31px;
    font-size: 22px;
    max-height: 186px;
    display: inline-block;
    position: relative;
}
#comments .author{
    display: block;
    font-size: 0.9em;
    margin-left: 10px;
    opacity: 0.8;
}
#comments .readMore{
    color: #fff;
    text-decoration: underline;
    font-size:1em;
    display: none;
    position: absolute;
    top: 155px;
    right: 0;
    cursor: pointer;
    text-align:right;
    width: 170px;
    background: rgba(18,18,18,0);
    background: -moz-linear-gradient(left, rgba(18,18,18,0) 0%, rgba(18,18,18,0.03) 1%, rgba(18,18,18,1) 33%, rgba(18,18,18,1) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(18,18,18,0)), color-stop(1%, rgba(18,18,18,0.03)), color-stop(33%, rgba(18,18,18,1)), color-stop(100%, rgba(18,18,18,1)));
    background: -webkit-linear-gradient(left, rgba(18,18,18,0) 0%, rgba(18,18,18,0.03) 1%, rgba(18,18,18,1) 33%, rgba(18,18,18,1) 100%);
    background: -o-linear-gradient(left, rgba(18,18,18,0) 0%, rgba(18,18,18,0.03) 1%, rgba(18,18,18,1) 33%, rgba(18,18,18,1) 100%);
    background: -ms-linear-gradient(left, rgba(18,18,18,0) 0%, rgba(18,18,18,0.03) 1%, rgba(18,18,18,1) 33%, rgba(18,18,18,1) 100%);
    background: linear-gradient(to right, rgba(18,18,18,0) 0%, rgba(18,18,18,0.03) 1%, rgba(18,18,18,1) 33%, rgba(18,18,18,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#121212', endColorstr='#121212', GradientType=1 );
}
#comments .long .readMore{
    display: inline-block;
    font-size: 22px;
}
#expandedComment {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 60%;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    padding: 20px 0 20px 20px;
    background-color: white;
    z-index: 999;
    border-radius: 10px;
}
#expandedComment div{
    max-height: 80vh;
    overflow-y: auto;
    padding: 0 20px 0 0;
}
#expandedCommentBlock{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index:998;
    background-color: rgba(255, 255, 255, 0.5);
}
#expandedComment .closeComment {
    background-image: url(/Assets/images/applicationHTML/close.png);
    position: absolute;
    top: -10px;
    right: -10px;
    height: 32px;
    width: 32px;
    cursor: pointer;
}


#footer {
    background-color: #1f5eeb;
    text-align: center;
    color: #fef9fd;
    padding: 30px;
    box-sizing: border-box;
}
#footer h2{
    margin-top:0;
    font-size: 2em;
    font-weight: 800;
}


#copyright{
    background-color: #1f5eeb;
    font-size: 0.8em;
    text-align: center;
    color: #fef9fd;
    padding: 0 30px 30px 30px;
    box-sizing: border-box;
}
#copyright a{
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}
#copyright a.cookiesDisabled {
    color: red;
}
#copyright a.cookiesDisabled::after {
    content: ' are disabled';
}








/*center the panels and fix at 1200px if wider than 1200px*/
@media (min-width: 1200px)
{
    #header, #why, #start, #footer, #copyright{
        max-width: 1200px;
        width: 100%;
        margin: 0 auto;
    }
    #top, #comments
    {
        max-width: 1200px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}


@media (min-width: 980px)
{
    #start .categorySplit
    {
        display: inline-block;
        width: 50%;
    }
    #start .category
    {
        height: 400px;
        margin: 0 2% 0 2%;
        width: 45%;
    }
    #start .category:first-child
    {
        margin: 0 2% 0 4%;
    }
    #start .categorySplit + .categorySplit .category
    {
        margin: 0 4% 0 2%;
    }
    #start .categorySplit + .categorySplit .category:first-child
    {
        margin: 0 2% 0 2%;
    }
    #start a
    {
        height: 40px;
        line-height: 40px;
        font-size: 1.3em;
        font-weight: 600;
    }

    .category h3
    {
        padding-top: 100px;
        background-size: 150px;
        background-repeat: no-repeat;
        background-position: center top;
        font-size: 1.4em;
    }
    .category span {
        display: block;
        font-size: 0.7em;
        margin-top: 5px;
    }
}

@media (min-width: 480px) and (max-width: 979px)
{
    #headerBG, #header{
        height: 120px;
    }
    #header{
        background-size: 318px 108px;
    }
    #homeLink{
        width: 340px;
    }
    #top{
        margin-top: -120px;
        height: 815px;
    }
    #topStart{
        height: 360px;
        width: 80%;
        max-width: 400px;
        top: 160px;
        right: 30px;
    }
    #topStart h2{
        font-size: 2.5em;
        line-height: 1.3em;
    }
    #topStart span{
        font-size: 1.3em;
        line-height: 1.5em;
        margin-top: 30px;
    }
    #topStart a{
        height: 60px;
        line-height: 60px;
        font-size: 1.6em;
        font-weight: 600;
        margin-top: 20px;
    }
    #why{
        height:230px;
    }
    #why h2{
        font-size: 1.8em;
    }
    #start h2{
        font-size: 1.8em;
    }
    
    #start ul{
        display: none;
    }
    #start a
    {
        height: 60px;
        line-height: 60px;
        font-size: 1.6em;
        font-weight: 600;
    }
    .category h3
    {
        padding-top: 100px;
        background-size: 150px;
        background-repeat: no-repeat;
        background-position: center top;
        margin-bottom: 3px;
        font-size: 1.7em;
        font-weight: 600;
        display: inline-block;
        width: 100%
    }

    

    #commentScrollBox{
        height:320px;
    }
     #comments .comment{
        width: 50%;
    }
    #comments .commentText{
        max-height: 279px;
    }
    #comments .readMore
    {
        top: 248px;
    }
}



@media (max-width: 979px)
{
    #top{
        margin-bottom: -230px;
        background-position-x: 50%;
        
    }
    #why{
        height: auto;
    }
    #why span{
        display: none;
    }
}

@media (max-width: 740px)
{
    #top{
        background-position-x: -260px;
    }
}

@media (max-width: 680px)
{
    #top
    {
        margin-bottom: 0;
        background-position-x: left -50px;
    }

    #topStart
    {
        width: unset;
        height: unset;
        top: initial;
        bottom: 65px;
        left: 30px;
    }
    #topStart h2{
        font-size: 1.8em;
        line-height: 1.3em;
    }
    #topStart a{
        min-width: 150px;
    }
}

@media (max-width: 479px)
{
    #header
    {
        background-color: #000;
        background-position: 10px 10px;
    }
    #homeLink{
        width: 270px;
    }
    /*.headerLinks{
        display: none;
    }*/

    
    
    #topJump
    {
        display: block;
    }
    #why{
        padding: 30px 0;
    }
    #why h2{
        font-size: 1.3em;
        font-weight: 700;
        margin: 0 30px 30px 30px;
    }
    #start h2{
        font-size: 1.3em;
    }
    #start .category
    {
        width: 100%;
        margin-top: 15px;
        text-align: left;
        box-sizing: border-box;
    }
    #start .category:first-child
    {
        margin-top: 0;
    }
    #start .categorySplit + .categorySplit .category:first-child{
        margin-top: 15px;
    }
    #start ul, #start a, #start .learnMore, #start h4
    {
        display: none;
    }
    #start h3{
        background-position:left center;
        background-size: 100px;
        background-repeat: no-repeat;
        padding: 29px 0 29px 110px;
        margin: 0 0 0 10px;
    }
    #start .category.car h3, #start .category.bike h3{
        background-position-y: 6px;
    }
    #start h3 span{
        display: none;
    }

    #choicePCV, #choiceLGV {
        background-image: none;
        background-position: left center;
        padding: 0 !important;
    }
    
    #comments h2, #footer h2 {
        font-size: 1.3em;
    }
    #commentScrollBox{
        margin-top: 30px;
    }
    #comments .comment
    {
        width: 100%;
    }
    #comments #scrollLeft
    {
        left: 5px;
    }
    #comments #scrollRight{
        right: 5px;
    }


}

@media (max-width: 979px) and (min-width: 780px)
{
    #start .categorySplit + .categorySplit{
        margin-top: 20px;
    }
    #start .category
    {
        width: 44%;
        height: 310px;
        margin: 0 4% 0 2%;
    }
    #start .category:first-child{
        margin: 0 2% 0 4%;
    }

    #choiceHint {
        margin: 40px 0 40px 0;
    }

    #choicePCV, #choiceLGV {
        display: inline-block;
        width: 40%;
        margin: 0 10px;
        height: 60px;
        line-height: 60px;
        font-size: 1.6em;
    }

    #choiceClose {
        position: absolute;
        top: 0;
        right: 0;
    }
}

@media (max-width:779px)
{
    #start .category
    {
        background: #1f5eeb url(/Assets/images/dtsa-arrow-white.png) no-repeat 96% center;
        width: 100%;
        margin-top: 15px;
        text-align: left;
        box-sizing: border-box;
        cursor: pointer;
    }
    #start .category:first-child
    {
        margin-top: 0;
    }
    #start .categorySplit + .categorySplit .category:first-child{
        margin-top: 15px;
    }
    #start ul, #start a, #start .learnMore, #start h4
    {
        display: none;
    }
    #start h3{
        background-position:left center;
        background-size: 100px;
        background-repeat: no-repeat;
        padding: 29px 30px 29px 110px;
        margin: 0 0 0 10px;
        box-sizing: border-box;
    }
    #start h3 span{
        display: none;
    }
    #start .category.car h3, #start .category.bike h3{
        background-position-y: 6px;
    }

    #choiceHint{
        display: none;
    }
    #choicePCV, #choiceLGV {
        width: 40%;
        display: inline-block;
        
        box-sizing:border-box;
        margin: 0px 2.5%;
        padding: 0 0 0 110px;
        text-align: center;
        vertical-align: middle;
        height: 70%;
        line-height:unset;
        
        background-position: 10px center;
    }
    #choiceClose {
        background-position-y: center;
        height: 100%;
        vertical-align: middle;
        display: inline-block;
        position: absolute;
        
    }
    #choicePCV::before, #choiceLGV::before, #prop {
        height: 100%;
        vertical-align: middle;
        display: inline-block;
        content: '';
    }
    #comments::before, #comments::after {
        background-image: none;
    }
}







.callout
{
    overflow: hidden;
}
.callout-left-cover, .callout-right-cover, .callout-tilt-left-cover, .callout-tilt-right-cover
{
    display: inline-block;
    position: absolute;
    bottom: 0;
}
.callout-left-cover
{
    left: 0;
}
.callout-right-cover
{
    right: 0;
}
.callout-tilt-left-cover
{
    transform-origin: bottom right;
    right: 50%;
}
.callout-tilt-right-cover
{
    left: 50%;
    transform-origin: bottom left;
}

.callout.rotate
{
    transform: rotate(180deg);
}

@media (max-width: 479px)
{
    .callout-part{
        display: none;
    }
}