/*  ######################################################
    CSS Taken from the old website

    Purple - #6a105a
    Yellow/Gold - #feed01
#######################################################  */

ul#company-list {
    text-align: left;
    margin:0;
    padding:0;
}
ul#company-list li {
    list-style:none;
    margin:0;
}
ul#company-list li a.no-results {
    background: #91004e;
    color: #fff;
    display: block;
    font-size: 1em;
    padding: 0.5em 0.8em;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

ul#company-list li.nominate-name {
    margin:0.8em 0 0;
}



/* Shortlisted */
ul#company-list li.shortlisted {
    display:block;
    position: relative;
    background:#eee;
    color:#91004e;
    font-size:25px;
    padding: 0.5em 0.8em;
    line-height:40px;
    margin:2px 0px 0px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    overflow: hidden;
}
ul#company-list li.shortlisted img { 
    float: right;
    width: 55%;
    margin: 0px 0px 0px 10px;
    padding: 0 0 0 105px;
    background: url(/images/a-regional-finalist.png) no-repeat 10px 15px transparent;
    background-size: 27%;
}
ul#company-list li.shortlisted a,
ul#company-list li.shortlisted a:link,
ul#company-list li.shortlisted a:visited {
    float: right;
    color:#91004e;
    text-decoration:none;
}
ul#company-list li.shortlisted a:hover,
ul#company-list li.shortlisted a:active {
    text-decoration:underline;
}
ul#company-list li.shortlisted a.title {
    width: calc(100% - 515px);
    font-size: 25px;
    font-weight: 600;
    padding: 0;
}

/* Non Shortlisted but Shortlisted Newcomers */
ul#company-list li.shortlisted.shortlisted-newcomer img {
    background:none; padding:0;
}

/* Best Website Version */
ul#company-list li.shortlisted.best-web img {
    background: url("/images/maxx/winners/shortlist/bw_badge.png") no-repeat scroll 0 2px transparent;
    float:right;
    margin:0 0 0 10px;
    padding:0 0 0 105px;
}

/* Best Newcomers Version */
ul#company-list li.shortlisted.bestnewcomer img {
/*    background: url("/images/maxx/winners/shortlist/label-1.png") no-repeat scroll 0 2px transparent;*/
    float:right;
    margin:0 0 0 10px;
    padding:0 0 0 105px;
}



/* Regional */
ul#company-list li.regional {
    display:block;
    position: relative;
    background:#eee;
    color:#91004e;
    font-size:25px;
    padding: 0.5em 0.8em;
    line-height:40px;
    margin:2px 0px 0px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    overflow: hidden;
}
ul#company-list li.regional img {
    float:right;
    width: 55%;
    margin:0px 0px 0px 10px;
    padding:0 0 0 105px;
    background: url("/images/a-regional-winner.png") no-repeat scroll 10px 15px transparent;
    background-size: 27%;
}
ul#company-list li.regional a,
ul#company-list li.regional a:link,
ul#company-list li.regional a:visited {
    float: right;
    color:#91004e;
    text-decoration:none;
}
ul#company-list li.regional a:hover,
ul#company-list li.regional a:active {
    text-decoration:underline;
}
ul#company-list li.regional a.title {
    width: calc(100% - 515px);
    font-size:25px;
    font-weight: 600;
    padding: 0;
}



/* Joint Regional Winner */
ul#company-list li.regional-joint {
    display:block;
    background:url('/images/maxx/winners/shortlist/pink.gif') repeat-x 0 bottom #992d75;
    border:2px solid #701b4a;
    color:#ebd7e3;
    font-size:16px;
    padding:10px;
    line-height:25px;
    margin:2px 0px 0px;
}
ul#company-list li.regional-joint img {
    background: url("/images/maxx/winners/shortlist/label-4.png") no-repeat scroll 0 14px transparent;
    float:right;
    margin:0px 0px 0px 10px;
    padding:0 0 0 105px;
}
ul#company-list li.regional-joint a, 
ul#company-list li.regional-joint a:link,
ul#company-list li.regional-joint a:visited {
    color:#fff;
    text-decoration:none;
}
ul#company-list li.regional-joint a:hover,
ul#company-list li.regional-joint a:active {
    text-decoration:underline;
}
ul#company-list li.regional-joint a.title {
    font-size:18px;
}



/* National */
ul#company-list li.national {
    display:block;
    position: relative;
    background:#eee;
    color:#91004e;
    font-size:25px;
    padding: 0.5em 0.8em;
    line-height:40px;
    margin:2px 0px 0px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    overflow: hidden;
}
ul#company-list li.national img {
    float: right;
    width: 55%;
    margin:0px 0px 0px 10px;
    padding:0 0 0 105px;
    background: url("/images/a-national-winner.png") no-repeat 10px 15px transparent;
    background-size: 27%;
}
ul#company-list li.national.cat25 img {
    background: url("/images/maxx/winners/shortlist/national-winner.png") no-repeat scroll 0 14px transparent;
}
ul#company-list li.national a,
ul#company-list li.national a:link,
ul#company-list li.national a:visited {
    float: right;
    color:#91004e;
    text-decoration:none;
}
ul#company-list li.national a:hover,
ul#company-list li.national a:active {
    text-decoration:underline;
}
ul#company-list li.national a.title {
    width: calc(100% - 515px);
    font-size:25px;
    font-weight: 600;
    padding: 0;
}



/* Best Website Version */
ul#company-list li.national.best-web img {
    background: url("/images/maxx/winners/shortlist/bw_badge_gold.png") no-repeat scroll 0 14px transparent;
    float:right;
    margin:0px 0px 0px 10px;
    padding:0 0 0 105px;
}



/* Highly Commended */
ul#company-list li.highlycommended,
ul#company-list li.highlycommended-joint {
    display:block;
    position: relative;
    /* Original Silver BG #### background:url('/images/maxx/winners/shortlist/silver.jpg') repeat-x 0 bottom #a1a1a1; */
    background: #eee;
    color:#91004e;
    font-size:25px;
    padding:10px;
    line-height:40px;
    margin:2px 0px 0px;
    overflow: hidden;
}
ul#company-list li.highlycommended img { 
    /*background:url("/images/maxx/winners/shortlist/label-7.png") no-repeat scroll 0 14px transparent;*/
    float:right;
    margin:0px 0px 0px 10px;
    padding:0 0 0 10px;
    width: 50%;
}
ul#company-list li.highlycommended-joint img { 
    /*background:url("/images/maxx/winners/shortlist/label-8.png") no-repeat scroll 0 14px transparent;*/
    float:right;
    margin:0px 0px 0px 10px;
    padding:0 0 0 10px;
    width: 50%;
}
ul#company-list li.highlycommended-joint a,
ul#company-list li.highlycommended-joint a:link,
ul#company-list li.highlycommended-joint a:visited,
ul#company-list li.highlycommended a,
ul#company-list li.highlycommended a:link,
ul#company-list li.highlycommended a:visited {
    float: right;
    color:#91004e;
    text-decoration:none;
}
ul#company-list li.highlycommended-joint a:hover,
ul#company-list li.highlycommended-joint a:active,
ul#company-list li.highlycommended a:hover,
ul#company-list li.highlycommended a:active {
    text-decoration:underline;
}
ul#company-list li.highlycommended a.title,
ul#company-list li.highlycommended-joint a.title {
    font-size:25px;
    width: calc(100% - 420px);
}

/* Highly Commended Badge */
ul#company-list li a.highly-commended, #company-profile a.highly-commended {
    position: absolute;
    right: 418px;
    background: url("/images/a-regional-highly-commended.png") no-repeat scroll 0 0 transparent;
    background-size: cover;
    display: block;
    float: right;
    height: 124px;
    margin: 15px 0 0; /* make 48px to push to the bottom, 25px to sit in the middle */
    overflow: hidden;
    text-indent: -3000px;
    width: 76px;
}

#company-profile a.highly-commended {
    margin: 25px 20px 0 0;
}

ul#company-list li a.highly-commended.national,
#company-profile a.highly-commended.national {
    position: absolute;
    right: 418px;
    height: 124px;
    margin-top: 15px;
    background: url("/images/a-national-highly-commended.png") no-repeat scroll 0 0 transparent;
    background-size: cover;
}

/* Best Newcomer Badge */
ul#company-list li a.best-newcomer, #company-profile a.best-newcomer {
    position: absolute;
    right: 318px;
    background: url("/images/a-regional-best-newcomer.png") no-repeat scroll 0 0 transparent;
    background-size: cover;
    display: block;
    float: right;
    height: 124px;
    margin: 15px 0 0; /* make 48px to push to the bottom, 25px to sit in the middle */
    overflow: hidden;
    text-indent: -3000px;
    width: 76px;
}

#company-profile a.best-newcomer {
    margin: 25px 20px 0 0; 
}

ul#company-list li a.best-newcomer.national,
#company-profile a.best-newcomer.national {
    position: absolute;
    right: 318px;
    height: 124px;
    margin: 15px 0 0 0;
    background: url("/images/a-national-best-newcomer.png") no-repeat scroll 0 0 transparent;
    background-size: cover;
}
ul#company-list li a.best-newcomer.shortlisted,
#company-profile a.best-newcomer.shortlisted {
/*    background: url("/images/maxx/winners/shortlist/bn_badge_bronze.png") no-repeat scroll 0 0 transparent;*/
}
ul#company-list li.shortlisted a.best-newcomer.shortlisted {
margin:13px 0 0;
} /* Reduced to 13px when using the smaller, pinky display to get it sitting centrally

/* Best Website Badge */
ul#company-list li a.best-website, #company-profile a.best-website {
    background: url("/images/maxx/winners/shortlist/bw_badge.png") no-repeat scroll 0 0 transparent;
    display: block;
    float: right;
    height: 77px;
    margin: 25px 0 0; /* make 48px to push to the bottom, 25px to sit in the middle */
    overflow: hidden;
    text-indent: -3000px;
    width: 76px;
}

#company-profile a.best-website { 
    margin: 25px 20px 0 0;
}

ul#company-list li a.best-website.national,
#company-profile a.best-website.national {
    background: url("/images/maxx/winners/shortlist/bw_badge_gold.png") no-repeat scroll 0 0 transparent;
}


/* Lastyear Link Override */
#lastyear ul#company-list li.regional a.title,
#lastyear ul#company-list li.regional a.title:link,
#lastyear ul#company-list li.regional a.title:visited,
#lastyear ul#company-list li.national a.title,
#lastyear ul#company-list li.national a.title:link,
#lastyear ul#company-list li.national a.title:visited,
#lastyear ul#company-list li.shortlisted a.title,
#lastyear ul#company-list li.shortlisted a.title:link,
#lastyear ul#company-list li.shortlisted a.title:visited,
#lastyear ul#company-list li.highlycommended a.title,
#lastyear ul#company-list li.highlycommended a.title:link,
#lastyear ul#company-list li.highlycommended a.title:visited {
    text-decoration:none;
    cursor:default;
}


/* Signup - company.blade.php - TWIA2019 Category Layout */
.form-horizontal .radio.companysignup {
    min-height:50px;
    width:32.33%; 
    float:left; 
    text-align:left; 
    padding:5px; 
    border: #ddd solid 1px; 
    margin:0.5%;
}
.companysignup button {
    float:right;
    width:10%;
    text-align:center;
    padding:6px 0;
}
.companysignup label {
    width:88%;
    margin:0 2% 0 0;
}
.companysignup:nth-child(3n+1){
    clear: both;
}





@media all and (max-width: 1000px) {
    ul#company-list li.national img,
    ul#company-list li.regional img,
    ul#company-list li.shortlisted.bestnewcomer img {
        min-height: 114px;
        margin-right: -135px;
    }
    ul#company-list li.highlycommended img,
    ul#company-list li.highlycommended-joint img {
        height: 114px;
        margin-right: -140px;
    }
    ul#company-list li.national a.title,
    ul#company-list li.regional a.title,
    ul#company-list li.shortlisted a.title {
        width: calc(100% - 380px);
    }
    ul#company-list li.highlycommended a.title,
    ul#company-list li.highlycommended-joint a.title {
        width: calc(100% - 280px);
    }
    ul#company-list li a.best-newcomer,
    #company-profile a.best-newcomer {
        right: 104px;
        width: 55px;
        height: 92px;
        margin-top: 15px;
    }
    ul#company-list li a.highly-commended,
    #company-profile a.highly-commended,
    ul#company-list li a.highly-commended.national,
    #company-profile a.highly-commended.national {
        right: 180px;
        width: 55px;
        height: 92px;
    }
    .form-horizontal .radio.companysignup {
        width:49%;
        min-height:0px;
    }
    .companysignup:nth-child(3n+1){
        clear:none;
    }
    .companysignup:nth-child(2n+1){
        clear:both;
    }
}





@media all and (max-width: 767px) {
    ul#company-list li.national img,
    ul#company-list li.regional img,
    ul#company-list li.shortlisted.bestnewcomer img {
        display: none;
    }
    ul#company-list li.national a.title,
    ul#company-list li.regional a.title,
    ul#company-list li.shortlisted a.title,
    ul#company-list li.highlycommended a.title,
    ul#company-list li.highlycommended-joint a.title,
    ul#company-list li.shortlisted {
        width: 100%;
        font-size: 18px; 
        line-height: 24px;
        padding-bottom: 10px;
    }
    ul#company-list li.national,
    ul#company-list li.regional {
        font-size: 18px; 
        line-height: 24px;
    }
    ul#company-list li a.best-newcomer,
    #company-profile a.best-newcomer,
    ul#company-list li a.highly-commended,
    #company-profile a.highly-commended,
    ul#company-list li a.highly-commended.national,
    #company-profile a.highly-commended.national,
    ul#company-list li a.best-newcomer.shortlisted,
    #company-profile a.best-newcomer.shortlisted,
    ul#company-list li.highlycommended img,
    ul#company-list li.highlycommended-joint img  {
        display: none;
    }

    .form-horizontal .radio.companysignup {
        width:100%;
        margin:0 0 0.5em;
        min-height:0px;
    }
    .companysignup:nth-child(3n+1){
        clear:none;
    }
}