#advice {
    position:fixed;
    top: 55px;
    left: 0;
    width: 1px;
    z-index:80;
}

.advice_content {
    position: fixed;
    width: 600px;
    height: 100%;
    background-color:#FFF;
    color: #428bca;
    display:none;
    overflow: auto;
    color: black;
    font-size: 15px;
}

.advice_content p{
    text-align: justify;
}

.advice_content p:after{
    display: inline-block;
}

.advice_content li{
    padding-top: 5px;
    font-size: 15px;
}

.spacing{
    margin: 0 10px 80px 15px;
}

.vertical {
writing-mode:vertical-lr;
    -webkit-writing-mode:vertical-lr;
    -webkit-transform:rotate(180deg);
    -moz-transform:rotate(-90deg);
    -o-transform: rotate(180deg);
    -ms-transform:rotate(180deg);
//transform:rotate(180deg);
    white-space:nowrap;
}

.advice_flap {
    /*
    position: relative;
    */
    position: fixed;
    top:100px;
    left:0px;
    color: #FFF;
    width: 50px;
    height: 120px;
    font-size: 20px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.advice_flap p{
    margin-left: 5px;
    /*
    text-indent: -60px;
    */
    text-indent: 20px\0;		//\0 make the attribute only work on IE8, IE9, IE10, IE11
}

.advice_flap .open{
    text-indent: 0px;
    color:white;
    margin: 0px 0px 0px 5px;
    font-size:12px;
}


div#advice_flap[class*="arrow"]:after  {
    content: url("/images/icons/tour-arrow-left-yellow-200.png");
    display: inline-block;
    width: 200px;
    height: 122px;
    position: absolute;
    pointer-events: none;
    left: 60px;
    top: 0px;
}
/*
.advice_flap {
    background-color: #01AEF0;
}
.advice_flap .close {
    background-color: #E8E8E8;
}
*/
.advice_link {
    cursor: pointer;
    /*	background-color:rgba(255,255,0,0.25); */
}
/*
.highlight {
    background: url(../images/icons/info-flag.png) no-repeat;
    background-position: 12px 15px;
    text-align: justify;
    padding: 10px 15px 10px 55px;
    border:solid 1px #666;
    border-radius: 8px;
}
*/
/*
.highlight {
    background: url(../images/icons/info-flag.png) no-repeat;
    background-position: 20px 22px;
    text-align: justify;
    padding: 18px 30px 10px 75px;
    border: solid 1px #666;
    border-radius: 8px;
    margin-top: 28px;
    margin-bottom: 20px;
    min-height: 80px;
}
*/

.highlight {
    background: url(../images/icons/Icon-advice-click.png) no-repeat;
    background-position: 0px 12px;
    text-align: justify;
    padding: 18px 30px 10px 115px;
    border: solid 1px #666;
    border-radius: 8px;
    margin-top: 28px;
    margin-bottom: 20px;
    min-height: 90px;
    background-color: #FFE075;
}


.highlight h3 {
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 0px;
    padding-bottom: 5px;
}

.highlight p {
    font-size: 1.2em;
}

.helper, .helptool{
    cursor: pointer;
    display: inline-block;
    background: url(../images/svg/button-see-advice.svg) no-repeat;
    background-size: contain;
    width: 75px;
    height: 25px;
    padding: 0px;
    border: 0px;
    vertical-align: text-top;
    margin-right: 30px;
}

/*
.helper, .helptool{
    cursor: pointer;
    display: inline-block;
    background: url(../images/icons/info-context-32.png) no-repeat;
    background-size: contain;
    width: 16px;
    height: 16px;
    padding: 0px;
    border: 0px;
    vertical-align: text-top;
    margin-right: 30px;
}

.helptool::after{
    display: block;
    margin-left: 18px;
    margin-right: 30px;
    height: 16px;
    content: 'Get Advice';
    white-space: nowrap;
    font-family: 'Open Sans', 'Fira Sans', sans-serif;
    font-size: 12px;
    font-style: italic;
}
*/

#advice .advice_content h1 {
    font-size: 24px;
}

#advice .advice_content h2 {
    margin-bottom: 0px;
    margin-top: 10px;
    line-height: 1.5;
}
#advice .advice_content h2.ui-accordion-header-active {
    font-weight: bold;
}

/* number the accordion list */
#advice .advice_content h2,
#advice .advice_content div.ui-accordion-content {
    padding-left: 30px;
    margin-right: 15px;
}
#advice .advice_content div.ui-accordion-content p {
    margin-bottom: 8px;
}
#advice .advice_content {
    background-color: #e3e3e3;
    counter-reset: advice-counter;
}
#advice .advice_content h2:before {
/*    content: counter(advice-counter);
    counter-increment: advice-counter; */
    display: inline-block;
    width: 15px;
    font-size: 16px;
    color: #428BCA;
    padding-right: 10px;
    margin-right: 10px;
    margin-left: -25px;
    text-align: center;
}
#advice .advice_content h2.ui-accordion-header-active:before {
    font-weight: bold;
    color: #2A6496;
}


#advice .advice-table {
    max-width: 470px;
}

#advice .advice_content .advice-table td {
    padding: 4px;
    vertical-align: top;
}
#advice .advice_content .advice-table td p {
    text-align: left;
}

@media (min-width: 550px) and (max-width: 650px) {
    .advice_content {
        width: 500px;
    }
}

@media (min-width: 480px) and (max-width: 549px) {
    .advice_content {
        width: 430px;
    }
}

@media (min-width: 421px) and (max-width: 479px) {
    .advice_content {
        width: 370px;
    }
}

@media (min-width: 371px) and (max-width: 420px) {
    .advice_content {
        width: 320px;
    }
}

@media (min-width: 340px) and (max-width: 370px) {
    .advice_content {
        width: 280px;
    }
}

@media (min-width: 300px) and (max-width: 339px) {
    .advice_content {
        width: 240px;
    }
}

@media (max-width: 395px) {
    .highlight {
        background: none;
        text-align: left;
        padding: 18px 25px 10px 25px;
    }
}