﻿body {
    font-family: Ubuntu, sans-serif;
    font: 16px/1.5 sans-serif;
    color: #fff;
    background-color: #FF5C43;
    text-align: center;
}

.main {
    font-family: Ubuntu, sans-serif;
    padding-bottom: 58px;
}

h1 {
    font-size: 26px;
    margin: 12px 12px 12px 12px;
    font-weight: bold;
}

h2 {
    font-family: Ubuntu, sans-serif;
    margin: 24px 24px 24px 24px;
    font-size: 18px;
    font-style: italic;
    border-bottom: solid 2px #fff;
    padding-bottom: 18px;
}

h3 {
    font-size: 14px;
    font-weight: bold;
}

.header-link {
    color: #fff;
    text-decoration: none;
}

    .header-link:hover {
        color: #fff;
        text-decoration: none;
    }

#ctype {
    margin: 12px 48px 12px 48px;
}

.cunits-from {
    margin: 12px 48px 12px 48px;
}

.cunits-to {
    margin: 12px 48px 12px 48px;
}

.pill-container {
    display: inline-block;
    position: relative;
    margin-bottom: 18px;
}

p {
    margin-bottom: 2rem;
}

.pill {
    margin: 0 0.5rem 0.4rem 0;
    padding: 0.3rem 1.4rem;
    background: #fff;
    color: #FF5C43;
    border-radius: 100px;
    text-decoration: none;
}

    .pill:hover {
        text-decoration: none;
        color: #FF5C43;
    }

.pill-close {
    transition: all 0.5s ease;
    position: absolute;
    background-color: #ff5c43;
    padding: 0px 6px;
    right: 0;
    margin-top: -9px;
    border-radius: 50%;
    border: 2px solid #fff;
    color: white;
    -webkit-box-shadow: -4px -2px 6px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: -4px -2px 6px 0px rgba(0,0,0,0.1);
    box-shadow: -3px 1px 6px 0px rgba(0,0,0,0.1);
    text-decoration: none;
}

    .pill-close:hover {
        background-color: tomato;
        color: #fff;
        text-decoration: none;
    }

.btn-convert {
    border-radius: 45px;
    color: #fff;
    background-color: #ff5c43;
    height: 42px;
    width: 88px;
    border: solid 2px #fff;
}

    .btn-convert:hover {
        color: #ff5c43;
        background-color: #fff;
        border: solid 2px #fff;
    }

.convert-quantity {
    border-radius: 45px;
    border: 4px solid #ff6699;
    padding: 20px;
    width: 200px;
    height: 2px;
}

.hide {
    display: none;
}

.show {
    display: inline-block;
}

.close-hide {
    display: none;
}

.close-show {
    display: block;
}

.convert-quantity {
    border-radius: 45px;
    border: 4px solid #ff6699;
    padding: 20px;
    width: 200px;
    height: 2px;
}

.poutput {
    font-weight: bold;
    font-size: 24px;
    margin-top: 36px;
    margin-bottom: 48px;
}

.unitdesc {
    font-size: 14px;
    margin: 12px 48px 12px 48px;
}

.clearfix {
    clear: both;
}

.nav {
    margin-bottom: 24px;
}

.nav-link-in {
    display: inline;
    padding: .5rem 0rem .5rem 0rem;
    color: #fff;
    text-decoration: none;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out
}
.nav-link-in:hover {
    color: #fff
}

footer {
    position: fixed;
    width: 100%;
    left: 0;
    bottom: 0;
    background-color: #FF5C43;
}

.inner-footer {

    padding-top: 12px;
    border-top: solid 2px #fff;
    margin: 24px 24px 0 24px;
}

ul {
    padding-left: 0;
}

.footer-links {
    list-style-type: none;
    font-size: 14px;
}

    .footer-links a {
        color: #fff;
    }

@media {
    .footer-links li {
        display: inline;
        padding: 0 12px 0 12px;
    }
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    .footer-links li {
        padding: 0 20px 0 20px;
    }
}
