﻿@blue: #00AEDE;
@red: #EF3F23;
@dark-red: #CC3300;
@gray: #666;
@answerbgcolor: #d9f3fa;
/*!!!!!!*/

.site-content .section.profile > h2 + .candidate-item {
    padding:20px;
    background-color:@primary-profile-30-fallback;
    background-color:@primary-profile-30;
    overflow: auto;
}
.profile
{

    .boxed > h2, .boxed-image > h2, .boxed > h3, .boxed-image > h3, .boxed > h4, .boxed-image > h4, .boxed > h5, .boxed-image > h5, .boxed > h6, .boxed-image > h6
    {
        border-bottom: 1px solid @primary-30-fallback;
        border-bottom: 1px solid @primary-30;
    }

    .dr-site-share-horizontal
    {
        background-image: none !important;
    }

    .top-profile
    {
        position: relative;

        .image-wrap
        {
            width: 140px !important;
            padding-right: 0 !important;

            ~ *
            {
                margin-left: 140px !important;
            }
        }

        .subheadline
        {
            margin-bottom: 0px;
            font-size: 18px;

            &.rerun
            {
                font-size:11px;
            }

            &.top
            {
                font-size: 18px;
                margin-bottom: 0;
            }
        }

        .call-to-action-links a
        {
            text-transform: none;
            font: 14px "gibsonSemibold", "Arial Black", sans-serif;
            text-decoration: none;
        }

        .elected-icon
        {
            margin-top: 0;

            span
            {
                //display: block;
                display: inline-block;
                padding: 0 10px;
                background: @secondary-nature;
                color: #FFF;
                font: 12px/17px "gibsonSemiBold","Arial Black",sans-serif;
                text-transform: uppercase;
                text-align: center;
                /*width: 52px;*/
                height: 17px;
            }
        }

        .call-to-action-links
        {
            + .candidate-agreement
            {
                top: 26px;
            }
        }

        .candidate-personal-votes + .candidate-agreement
        {
            top: 63px;
        }

        .candidate-personal-votes.elected + .candidate-agreement
        {
            top: 55px;
        }

        .subheadline.rerun + .candidate-personal-votes + .candidate-agreement
        {
            top: 48px;
        }

        .candidate-agreement
        {
            //margin-top: 10px;
            position: relative;
            top: 78px;

            > div
            {
                background-color: #BBCAD3;

                .bar
                {
                    background-color: #4B5667;
                    height: 6px;
                }
            }
        }

        .candidate-pct
        {
            display: inline-block;
            float: right;

            a, img
            {
                display: block;
            }

            button
            {
                &:hover
                {
                    background: @primary-hover;
                }

                background: @primary;
                color: #FFF;
                margin-top: 13px;
            }

            .pct-num
            {
                color: @secondary;
                font: 60px/60px "gibsonLight", "Arial", sans-serif;
            }

            span
            {
                font: 12px "gibsonRegular", "Arial", sans-serif;
                text-transform: uppercase;
                display: block;
                color: @secondary;
                text-align: center;
                margin-top: 0px;
            }

            .profile-spot
            {
                background-color: #000;
                width: 240px;

                *
                {
                    font: 14px/16px "gibsonSemiBold","Arial Black",sans-serif;
                }

                a
                {
                    div
                    {
                        color: #FFF;
                        font-size: 22px;
                        line-height: 24px;
                    }

                    p
                    {
                        padding-top: 3px;
                        color: #CCC;
                    }

                    + p
                    {
                        padding-bottom: 0;
                    }
                }

                p
                {
                    a
                    {
                        color: #FFF;
                    }
                }
            }
        }
    }

    .header
    {
        border-top: 6px solid #000;
        border-bottom: none;
        padding-top: 25px;
        font: 14px "gibsonSemiBold", "Arial Black", sans-serif;
        line-height: 14px;
        background: url(http://www.dr.dk/assets/img/border.svg) repeat-x -2px 100%;
        padding-bottom: 20px;

        span.image-wrap.profile
        {
            width: 125px;
            float: left;
            margin-right: 20px;

            img
            {
                float: left;
                margin-right: 20px;
                padding: 0;
            }
        }

        .municipality
        {
            color: @blue;
            text-transform: uppercase;
            font-family: "gibsonRegular", "Arial", sans-serif !important;
            font-size: 18px;
            margin-bottom: 4px;
        }

        .party
        {
            color: #4d4d4d;
        }
    }

    .dr-site-share-horizontal
    {
        margin: 0 0 20px 0;
        padding: 10px 0 10px;
        background: @primary-profile-30-fallback;
        background: @primary-profile-30;

        &:before
        {
            background: none;
        }

        .share
        {
            margin-left: 15px;
        }

        > span
        {
            display: none;
        }

        li
        {
            a
            {
                color: @primary;
            }
        }
    }

    .personal-votes
    {
        background:@dark-blue url("../images/personal-votes-box-bg.png") no-repeat right top;
        //background-color: @grey-20;
        margin-bottom:20px;

        &:after
        {
            clear: both;
            content: ".";
            height: 0;
            line-height: 0;
            display: block;
            visibility: hidden;
        }

        h2,
        p,
        span,
        div
        {
            color: #fff;
        }

        .votes
        {
            padding: 20px 0;
            background: @light-blue;
            text-align: center;
            font: 14px/16px "gibsonRegular", "Arial", sans-serif;

            span
            {
                display: block;
            }

            .pv-votes-count-candidate-page
            {
                padding-top: 10px;
                display: block;
                font: 60px/46px "gibsonLight", "Arial", sans-serif;
            }

            .pv-votes-count-candidate-page-not-running
            {
                padding-top: 10px;
                display: block;
                font: 50px/46px "gibsonLight", "Arial", sans-serif;
            }
        }
    }

    * + .key-issues
    {
        margin-top: 10px;
    }

    .key-issues
    {

        h2,
        p,
        ul li,
        .case,
        .stand-point
        {
            color: #000;
        }

        ul li
        {
            margin: 0 10px 10px 0;
            font: 14px "gibsonRegular", "Arial", sans-serif;
            line-height: 18px;

            &:last-child
            {
                margin-bottom: 0;
            }
        }

        .stand-point
        {
            margin-top: 5px;
            font-size: 14px;
            line-height: 16px;
        }

        .showmore > a
        {
            text-transform: uppercase;
            color: #000;
            text-decoration: underline;
        }

        .no-content-box
        {
            color: @gray !important;
        }
    }


    .responsive-youtube
    {
        position: relative;
        padding-bottom: 56.25%;
        padding-top: 30px;
        height: 0;
        overflow: hidden;

        iframe, object, embed
        {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
    }

    .agree-test
    {
        margin-top: 20px;
        background-color: @red;
        text-transform: none;

        &:hover
        {
            background-color: @dark-red;
        }
    }

    .question-result
    {
        margin-top: 20px;

        &.full .bullets .match-bar-container
        {
            height: 110px;
        }

        .bullets
        {
            font: 14px "gibsonRegular", "Arial", sans-serif;
            line-height: 14px;
            margin-top: 20px;
            list-style-type: none;
            counter-reset: li;



            > li
            {
                background: url(http://www.dr.dk/assets/img/border.svg) repeat-x -2px 100%;
                margin-bottom: 10px;
                padding-bottom: 10px;


                .user-input
                {
                    display: none;
                }

                &:first-child .header
                {
                    border-top: none;
                }

                &:last-child
                {
                    background-image: none;
                }

                .title
                {
                    font-size: 14px;
                    text-transform: uppercase;
                    color: #000;
                }

                .top
                {
                    /*border-top:1px solid #b2b2b2;*/
                    .quest
                    {
                        min-height: 80px;
                        padding-left: 60px;
                        font-size: 24px;
                        line-height: 26px;
                        margin-bottom: 10px;

                        .type
                        {
                            font-size: 18px;
                            color: #717e8d;
                            text-transform: uppercase;
                            padding-bottom: 10px;
                        }

                        .icon
                        {
                            display: inline-block;
                            margin-left: 10px;
                            overflow: hidden;
                            float: right;
                            width: 120px; //133px
                            height: 94px;
                            background-image: url("../images/fv15-question-icons.png");

                            &.icon-1
                            {
                                background-position: -265px -3454px;
                            }

                            &.icon-2
                            {
                                background-position: -265px -3281px;
                            }

                            &.icon-3
                            {
                                background-position: -265px -3104px;
                            }

                            &.icon-4
                            {
                                background-position: -265px -2928px;
                            }

                            &.icon-5
                            {
                                background-position: -265px -2752px;
                            }

                            &.icon-6
                            {
                                background-position: -265px -2575px;
                            }

                            &.icon-7
                            {
                                background-position: -265px -2399px;
                            }

                            &.icon-8
                            {
                                background-position: -265px -2217px;
                            }

                            &.icon-9
                            {
                                background-position: -265px -2044px;
                            }

                            &.icon-10
                            {
                                background-position: -265px -1867px;
                            }

                            &.icon-11
                            {
                                background-position: -265px -1690px;
                            }

                            &.icon-12
                            {
                                background-position: -265px -1510px;
                            }

                            &.icon-13
                            {
                                background-position: -265px -1338px;
                            }

                            &.icon-14
                            {
                                background-position: -265px -1160px;
                            }

                            &.icon-15
                            {
                                background-position: -265px -984px;
                            }

                            &.icon-16
                            {
                                background-position: -265px -802px;
                            }

                            &.icon-17
                            {
                                background-position: -265px -632px;
                            }

                            &.icon-18
                            {
                                background-position: -265px -450px;
                            }

                            &.icon-19
                            {
                                background-position: -265px -276px;
                            }

                            &.icon-20
                            {
                                background-position: -265px -100px;
                            }
                        }
                    }

                    &:before
                    {
                        font: 24px/40px "gibsonLight", "Arial", sans-serif;
                        background-color: #333;
                        /*
                        margin-left: -60px;
                            */
                        margin-top: -14px;
                        width: 40px;
                        height: 40px;
                        float: left;
                        border-radius: 20px;
                        /* behavior: url(../behavior/corner.inc); */
                        color: #fff;
                        text-align: center;
                        padding: 0;
                        content: counter(li); /* Use the counter as content */
                        counter-increment: li; /* Increment the counter by 1 */
                    }
                }
            }



            .match-bar-container
            {
                padding-top: 20px;
                height: 60px;
                position: relative;
                margin-left: 60px;
                //background:transparent url("http://www.dr.dk/assets/img/border.svg") repeat-x ;
                /*
                &.first .match-bar-text, .user-input.first .match-bar-text {left: 8%;}
                &.second .match-bar-text, .user-input.second .match-bar-text {left: 28%;}
                &.third .match-bar-text, .user-input.third .match-bar-text {left: 48%;}
                &.fourth .match-bar-text, .user-input.fourth .match-bar-text {left: 68%;}
                &.fifth .match-bar-text, .user-input.fifth .match-bar-text {left: 84%;}

                &.first .match-bar-arrow, .user-input.first .match-bar-arrow {left: 8%;}
                &.second .match-bar-arrow,.user-input.second .match-bar-arrow {left: 28%;}
                &.third .match-bar-arrow, .user-input.third .match-bar-arrow  {left: 48%;}
                &.fourth .match-bar-arrow, .user-input.fourth .match-bar-arrow {left: 68%;}
                &.fifth .match-bar-arrow, .user-input.fifth .match-bar-arrow{left: 88%;}*/
                &.first .match-bar-text, .user-input.first .match-bar-text
                {
                    left: 14px;
                }

                &.second .match-bar-text, .user-input.second .match-bar-text
                {
                    left: 116px;
                }

                &.third .match-bar-text, .user-input.third .match-bar-text
                {
                    left: 190px;
                }

                &.fourth .match-bar-text, .user-input.fourth .match-bar-text
                {
                    left: 328px;
                }

                &.fifth .match-bar-text, .user-input.fifth .match-bar-text
                {
                    left: 443px;
                }

                &.first .match-bar-arrow, .user-input.first .match-bar-arrow
                {
                    left: 40px;
                }

                &.second .match-bar-arrow, .user-input.second .match-bar-arrow
                {
                    left: 145px;
                }

                &.third .match-bar-arrow, .user-input.third .match-bar-arrow
                {
                    left: 249px;
                }

                &.fourth .match-bar-arrow, .user-input.fourth .match-bar-arrow
                {
                    left: 356px;
                }

                &.fifth .match-bar-arrow, .user-input.fifth .match-bar-arrow
                {
                    left: 458px;
                }


                .match-bar-text
                {
                    position: absolute;
                    text-align: center;
                    //bottom: 96px;
                    top: 20px;

                    .regular
                    {
                        font-weight: normal;
                        line-height: 18px;
                    }
                }

                .match-bar-arrow
                {
                    position: absolute;
                    top: 40px;
                    background: transparent url('../images/compare.gif') no-repeat;
                    background-position: 0 -20px;
                    height: 20px;
                    width: 20px;
                }

                .match-bar-background
                {
                    background: transparent url('../images/compare.gif') no-repeat;
                    position: absolute;
                    top: 60px;
                    height: 6px;
                    width: 100%;
                    background-size: 100%;
                }

                .user-input
                {
                    position: relative;

                    .match-bar-arrow
                    {
                        background-position: -32px -20px;
                        top: 54px;
                    }

                    .match-bar-text
                    {
                        top: 74px;
                    }
                }
            }
        }

        .agree-test
        {
            margin-bottom: 20px;
        }

        .no-content-box
        {
            color: @gray;
        }

        .answers
        {
            background: url(http://www.dr.dk/assets/img/border.svg) repeat-x -2px 0;
            padding: 14px 10px 10px 0;
            color: @secondary;
            margin: 10px 0 0px 60px;
            font: 14px/16px "gibsonRegular", "Arial", sans-serif;

            > p
            {
                text-transform: uppercase;
                padding: 0px;
                font: 14px "gibsonSemibold", "Arial Black", sans-serif;
            }
        }
    }


    .factsheet
    {
        background-color: @dark-blue;
        color: #FFF;

        &.boxed
        {
            /*background-color: @primary-profile-30-fallback;
            background-color: @primary-profile-30;*/
        }

        p, a
        {
            color: #FFF;
        }

        .facts
        {
            &.boxed
            {
                background-color: @primary-30-fallback;
                background-color: @primary-30;
            }

            margin-top: 20px;
            margin-bottom: 20px;
            font: 14px "gibsonRegular", "Arial", sans-serif;
            line-height: 18px;

            .fact-item
            {
                margin-bottom: 8px;

                .fact-item-name
                {
                    font: 14px "gibsonSemiBold", "Arial Black", sans-serif;
                }

                .fact-item-text
                {
                    /*color: #000;*/
                }
            }
        }

        .cv-heading
        {
            font: 14px "gibsonSemiBold", "Arial Black", sans-serif;
            line-height: 18px;
        }

        .cv-content
        {
            font: 14px "gibsonRegular", "Arial", sans-serif;
            line-height: 18px;

            a
            {
                text-decoration: underline;
                /*color: @blue-font;*/
            }
        }

        .no-content-box
        {
            margin: 20px 0 10px 0;
        }
    }

    .social
    {
        &.boxed
        {
            background-color: @primary-profile-30-fallback;
            background-color: @primary-profile-30;
        }

        ul li
        {
            a
            {
                font: 18px "gibsonSemiBold", "Arial Black", sans-serif;
                line-height: 18px;
            }
        }
    }

    .no-content-box
    {
        color: @gray;
        font: 14px "gibsonRegular", "Arial", sans-serif;
        line-height: 18px;
        border: 3px solid @red;
        padding: 10px;
        margin: 10px 0 20px;
        background-color: #fff;
    }
}

@media only screen and (max-width:550px) {
    .profile .top-profile {

        .image-wrap {
            width:33.957% !important;
            padding-right: 0 !important;

            ~ * {
                margin-left: 36.957% !important;
            }
        }
        .candidate-personal-votes.elected + .candidate-agreement
        {
            top:85px;
        }
    }
}
@media only screen and (max-width:400px) {
    .profile .top-profile {
        .subheadline {
            font-size: 11px;
        }
        [class*="heading-"] {
            font-size: 14px;
            line-height: 16px;
        }
        .candidate-agreement {
            top: 5px;
        }
    }
     .section.profile > h2 + .candidate-item {
        padding: 10px !important;
    } 

    .profile .question-result {
        .answers {
            margin: 10px 0 0px 0px;
        }
        &.full .bullets .match-bar-container {
            height: 120px;
            padding-top: 10px;
            margin-left: 0;
            margin-top: -10px;
        }
        .bullets > li  {
            border-top: #cdcdcd 1px solid;
            padding: 30px 20px 0;
            background: none transparent;
            margin: 0 -10px;
            &:first-child {
                padding: 10px 20px 0;
                border-top: none; 
                .top:before {
                    top: 5px;
               }
            }
            .top:before {
                display: block;
                position: absolute;
                top: 25px;
                border-radius: 15px;
                background-color: #000;
                width: 30px;
                height: 30px;
                font: 14px/30px "gibsonRegular", "Arial", sans-serif;
                text-align: center;
            }
        }
        .bullets > li .top {
            .heading-small {
                font: 18px/20px "gibsonSemiBold","Arial Black",sans-serif;
                color: #000;
            }
            .quest{
                padding-left: 0;
                .type {
                    margin-top: 20px;
                    margin-bottom: 0;
                    font-size: 14px;
                }
                .icon {
                    margin: -30px -5px 0 -10px;
                    width:102px;
                    height:80px;
                    background-image: url("../images/fv15-question-icons.png");

                    &.icon-1  {background-position: -460px -3454px;}
                    &.icon-2  {background-position: -460px -3281px;}
                    &.icon-3  {background-position: -460px -3104px;}
                    &.icon-4  {background-position: -460px -2928px;}
                    &.icon-5  {background-position: -460px -2752px;}
                    &.icon-6  {background-position: -460px -2575px;}
                    &.icon-7  {background-position: -460px -2399px;}
                    &.icon-8  {background-position: -460px -2217px;}
                    &.icon-9  {background-position: -460px -2044px;}
                    &.icon-10 {background-position: -460px -1867px;}
                    &.icon-11 {background-position: -460px -1690px;}
                    &.icon-12 {background-position: -460px -1510px;}
                    &.icon-13 {background-position: -460px -1338px;}
                    &.icon-14 {background-position: -460px -1160px;}
                    &.icon-15 {background-position: -460px -984px;}
                    &.icon-16 {background-position: -460px -802px;}
                    &.icon-17 {background-position: -460px -632px;}
                    &.icon-18 {background-position: -460px -450px;}
                    &.icon-19 {background-position: -460px -276px;}
                    &.icon-20 {background-position: -460px -100px;}
                }
            }
        }
    }
}
@media only screen and (max-width: 760px)
{
    .top-profile .heading-large
    {
        font-size:20px;
    }
}
@media only screen and (max-width: 700px) {

    .profile
    {

        .top-profile
        {
            //padding-bottom: 130px;
            .candidate-pct
            {
                float: none;
                display: block;
                margin-bottom: 10px;

                a,
                button
                {
                    display: block;
                    width: 100%;
                }

                a
                {
                    background-color: @primary;
                    color: #FFF;
                    font: normal 14px/30px "gibsonRegular", "Arial", sans-serif;
                    text-transform: uppercase;
                    padding: 0 20px;
                    height: 30px;
                    text-align: center;
                    border-radius: 2px;
                    -webkit-box-sizing: border-box;
                    -moz-box-sizing: border-box;
                    -ms-box-sizing: border-box;
                    -o-box-sizing: border-box;
                    box-sizing: border-box;

                    &:before
                    {
                        content: "Prøv kandidat-testen";
                    }

                    img
                    {
                        display: none;
                    }
                }

                
                /*
                position: absolute;
                bottom: 0;
                left: 0;
                */
            }
            .candidate-personal-votes.elected + .candidate-agreement
            {
                top:59px;
            }
        }
    }
}


@media (max-width: 950px){
    .profile {
        .question-result {
            .bullets {
                .match-bar-container {
                    &.first [class*="match-bar"], 
                    .user-input.first [class*="match-bar"] {
                        left: 10%;
                    }
                    &.second [class*="match-bar"], 
                    .user-input.second [class*="match-bar"] {
                        left: 30%;
                    }
                    &.third [class*="match-bar"], 
                    .user-input.third [class*="match-bar"] {
                        left: 50%;
                    }
                    &.fourth [class*="match-bar"], 
                    .user-input.fourth [class*="match-bar"] {
                        left: 70%;
                    }
                    &.fifth [class*="match-bar"], 
                    .user-input.fifth [class*="match-bar"] {
                        left: 90%;
                    }
                    .match-bar-arrow,
                    .user-input .match-bar-arrow {
                        margin-left: -10px;
                    }
                    &.first .match-bar-text, 
                    .user-input.first .match-bar-text {
                        margin-left: -33px;
                    }
                    &.second .match-bar-text, 
                    .user-input.second .match-bar-text {
                        margin-left: -42px;
                    }
                    &.third .match-bar-text, 
                    .user-input.third .match-bar-text {
                        margin-left: -79px;
                    }
                    &.fourth .match-bar-text, 
                    .user-input.fourth .match-bar-text {
                        margin-left: -39px;
                    }
                    &.fifth .match-bar-text, 
                    .user-input.fifth .match-bar-text {
                        margin-left: -35px;
                    }                   
                    .match-bar-background {
                        left: 0 !important;
                    }                   
                }
            }
        }
    }   
}
