html, body{
    margin:0;
    padding:0;
    font-family: Lato;
}
h1{
    font-size: 2em;
}
input[type=text], input[type=password], select{
    font-size: 17px;
    padding: 7px;
    border: 2px solid #2ba;
    color: #434343;
    margin-bottom: 10px;
    width: 400px;
}
.error{
    color: red;
}
a.link {
    color: #2ba;
    text-decoration: none;
}
a.link:hover{
    text-decoration: underline;
}
.pageviews {
    margin-top: 2px;
    background: infobackground;
    padding: 5px;
    color: gray;
}
.btn-green{
    width: 200px;
    padding: 10px 30px;
    background: #3fbca9;
    color: white;
    font-size: 24px;
}
.btn-white {
    width: 200px;
    background: white;
    padding: 10px 30px;
    color: #33b8a4;
    font-size: 24px;
}
.btn-green, .btn-white{
    font-family: Lato;
    text-decoration: none;
    text-align: center;
}
.btn{
    border: 0;
    display: inline-block;
    margin-top: 20px;
}
.btn:hover{
    background: silver;
    cursor: pointer;
    color: white;
}
.bc {
    background: #2ba;
    padding: 10px;
    color: white;
    padding-top: 50px;
}
.bc a {
    text-decoration: none;
    color: white;
}
.bc a:hover {
    text-decoration: underline;
}
.header .btn {
    margin-top: 0;
}
.clear{
    clear: both;
}

.header{
    height: 50px;
    padding: 0 10px;
    border-bottom: 7px solid #2ba;
}
.header .logo {
    display: block;
    height: 50px;
    background: url(/static/gfx/logo/helsesmart/logo.gif) no-repeat;
    background-size: auto 40px;
    background-position: left 5px;
}
.header form{
    margin-top: 10px;
    border: 1px solid #2ba;
    float: right;
    width: 100%;
    height: 40px;
    overflow: hidden;
    background: white;
}
.header input[type=text]{
    display: block;
    font-size: 15px;
    border: 0;
    width: 75%;
    float: left;
    padding: 12px 0 10px 10px;
}
.header button{
    display: block;
    background: silver;
    width: 50px;
    float: right;
    font-size: 25px;
    padding: 5px;
    color: white;
    font-family: Lato, serif;
    border:0;
}
.header button:hover{
    color: white;
}
.header input:focus, .header button:focus{
    outline: 0;
}
.refundable-star{
    color: #2ba; 
    cursor: default;
}
ul.ui-autocomplete{
    display: inline-block;
    width: 85%;
    list-style: none outside none;
    background: white;
    padding: 0;
    margin: 0;
    max-height: 575px;
    overflow: auto;
    padding: 10px 0;
    font-family: lato;
    border: 2px solid silver;
    z-index: 999;
}
.ui-autocomplete>li {
    border-bottom: 1px solid #eee;
    padding-left: 10px;
    line-height: 50px;
    overflow: hidden;
    height: 50px;
}
.ui-autocomplete>li>img {
    vertical-align: middle;
    max-width: 40px;
    max-height: 40px;
    margin-right: 20px;
    border-radius: 3px;
}
.ui-autocomplete>li:last-child{
    border: 0;
}
.ui-autocomplete>li:hover{
    background: #3fbca9;
    color: white;
    cursor: pointer;
}
li.ui-autocomplete-category {
    font-weight: bold;
    padding: 10px 5px;
    line-height: 20px;
    height: 20px;
}
li.ui-autocomplete-category:hover{
    background: white;
    color: black;
    cursor: default;
}
.ui-helper-hidden-accessible{
    display: none;
}
.footer{
    border-top: 3px solid #2ba;
    font-family: Lato;
    color: gray;
}
.footer nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer nav ul li {
    display: block;
    border-bottom: 1px solid #eee;
}
.footer nav ul li a:hover{
    background: #f5f5f5;
}
.footer nav ul li.separator {
    border-top: 1px solid #eee;
    height: 1px;
    padding: 0;
}
.footer nav ul li a{
    display: block;
    text-align: center;
    text-decoration: none;
    color: #546e7a;
    font-size: 12px;
    line-height: 5em;
    font-family: Lato;
}
.footer nav ul li:last-child {
    color: #2ba;
}
.footer nav ul li:last-child span{
    display: inline-block;
    height: 40px;
    width: 40px;
    border-radius: 3px;
    padding: 0;
    margin: 0 auto;
    margin-top: 25px;
    background: #2ba;
    line-height: 38px;
    color: white;
    font-size: 25px;
}
.footer nav ul li:last-child span i {
    margin-left: 10px;
    font-size: 35px;
    margin-top: 10px;
}

.footer .logo{
    display: none;
    height: 30px;
    background-image: url(/static/gfx/logo/helsesmart/logo.gif);
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 30px;
    margin-top: 20px;
}
.footer .credits{
    font-family: PT Sans, sans-serif;
    color: #546e7a;
    font-size: 11px;
    font-style: italic;
    text-align: center;
    margin: 10px;
}
img.service{
    border-radius: 5px;
}
.stars {
    display: inline-block;
    width: 70px;
    height: 16px;
    background: url(/static/gfx/_common/stars0.png) no-repeat;
    text-align: left;
    background-size: 100%;
}
.stars span{
    display: inline-block;
    height: 16px;
    background: url(/static/gfx/_common/stars.png) no-repeat;
    background-size: 70px;
}
.unknown {
    color: silver;
}
@media (min-width:640px) {
    .header{
        padding-left: 20px;
        padding-right: 20px;
    }
    .header, .header .logo {
        background-color: white;
        height: 60px;
    }
    .header .logo{
        width: 200px;
        float: left;
        background-size: auto 45px;
        background-position: left 7px;
    }
    .header form {
        width: 65%;
        height: 40px;
        margin-top: 9px;
    }
    .header form input[type=text]{
        padding: 10px 0;
        padding-left: 10px;
        text-align: left;
        width: 80%;
        font-size: 17px;
    }
    .header form button {
        padding: 5px;
        background: #2ba;
    }
    ul.ui-autocomplete{
        width: 50%;
        max-width: 600px;
    }
    .bc {
        padding-top: 0;
    }
}

@media (min-width:768px) {

    .header .logo {
        background-size: auto 40px;
        background-position: left 10px;
        width: 180px;
    }
    .header form {
        margin-right: 0;
        width: 70%;
        height: 40px;
    }
    .header form input[type=text]{
        width: 82%;
        font-size: 23px;
        padding: 5px 10px;
    }
    .header form button{
        height: 40px;
        width: 60px;
    }
    .footer {
        padding: 10px;
    }
    .footer nav ul {
        float: right;
        text-align: center;
        margin-top: 15px;
        margin-right: 60px;
        position: relative;
    }
    .footer nav ul li {
        display: inline-block;
        height: 30px;
        padding: 0 5px;
        border: 0;
        border-left: 1px solid silver;
    }
    .footer nav ul li a {
        font-size: 11px;
        line-height: 30px;
    }
    .footer nav ul li:first-child {
        border: 0;
    }
    .footer nav ul li a {
        line-height: 30px;
        padding: 0;
    }
    .footer nav ul li a:hover {
        text-decoration: underline;
        background: white;
    }
    .footer nav ul li:last-child {
        position: absolute;
        border:0;
        top:0;
        right: -50px;
    }
    .footer nav ul li:last-child span {
        height: 25px;
        width: 25px;
        margin: 0;
        line-height: 12px;
        font-size: 12px;
        background: silver;
        border-radius: 3px;
    }
    .footer nav ul li:last-child:hover span {
        background: #2ba;
    }
    .footer nav ul li:last-child span i {
        margin:0;
        font-size: 25px;
        margin-top: 5px;
        margin-left: 5px;
    }
    .footer .logo{
        display: block;
        float: left;
        height: 30px;
        width: 135px;
        margin-top: 15px;
        background-size: auto 30px;
        background-position: left top;
    }
    .footer .credits{
        text-align: left;
        margin: 10px 0;
    }
    .footer .copy {
        margin-bottom: 0;
    }
    .footer .login {
        margin-right: 100px;
    }
    .footer .contact {
        border-left: 0;
    }
}
@media (min-width:1024px) {

    .footer {
        padding: 0;
    }
    .header, .footer {
        padding-left: 100px;
        padding-right: 100px;
    }
    .stars {
        width: 100px;
    }
    .stars span{
        background-size: 100px;
    }
    .footer nav ul li {
        padding: 0 7px;
    }
    .footer nav ul li a {
        font-size: 12px;
    }

}
@media (min-width:1200px) {

    body>*{
        max-width: 1000px;
        margin: 0 auto;
    }
    .header, .header .logo {
        height: 80px;
    }
    .header .logo{
        background-size: auto 50px;
        background-position: left 14px;
        width: 220px;
    }
    .header form{
        margin-top: 20px;
    }
    .bc {
        padding: 0 100px 10px 100px;
    }
    .footer nav ul {
        margin-right: 100px;
    }
    .footer nav ul li {
        padding: 0 15px;
    }
    .footer nav ul li:last-child {
        right: -90px;
    }
    .footer nav ul li a {
        font-size: 13px;
    }
}

@media (min-width:1400px) {

    body>*{
        max-width: 1200px;
        margin: 0 auto;
    }
    .header, .header .logo {
        height: 100px;
    }
    .header .logo{
        background-size: auto 65px;
        background-position: left 15px;
        width: 285px;
    }
    .header form{
        margin-top: 30px;
    }
    ul.ui-autocomplete{
        max-width: 750px;
    }
    .footer nav ul {
        margin-right: 40px;
    }
    .footer nav ul li {
        padding: 0 15px;
    }
    .footer nav ul li:last-child {
        right: -50px;
    }
    .footer nav ul li a {
        font-size: 15px;
    }
    .footer .credits {
        margin-top: 10px;
    }

}

