
@import url('https://fonts.googleapis.com/css?family=Roboto');
@import url('https://fonts.googleapis.com/css?family=Exo:400,700');

.ms-cl *, ::after, ::before {
    box-sizing: border-box;
}
.ms-cl .container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    font-family: 'Roboto', sans-serif;
}

.ms-cl h1, .ms-cl h2 {
    font-family: 'Exo', sans-serif;
    font-weight: 700;
}

.ms-cl a {
    color: #333;
}

.ms-cl .single-calculator {
    padding: 25px 25px 10px;
    border: 1px solid #aaa;
    box-shadow: 0 4px 8px rgba(0,0,0,.3);
    margin: 30px 0 40px;
}

.ms-cl .inputs {
    display: flex;
    flex-flow: row;
    width: 100%;
}

.ms-cl .basic-select {
    width: 100%;
    font-size: 15px;
    padding: 3px 5px;
    border-radius: 4px;
    border: 1px solid #aaa;
}

.ms-cl .input-cont {
    margin-right: 20px;
}

.ms-cl label {
    text-transform: uppercase;
    font-size: 11px;
    display: block;
    margin-bottom: 5px;
}

.ms-cl input[type="text"], .ms-cl input[type="number"] {
    border-radius: 4px;
    padding: 4px 6px;
    border: 1px solid #aaa;
    font-size: 15px;
    vertical-align: top;
}

.ms-cl #warning p {
    margin-top: 20px;
    padding: 5px;
    background: #f2d2c5;
    font-size: 13px;
}

.ms-cl .outputs {
    margin: 20px 0;
    border: 1px solid #aaa;
    border-radius: 4px;
}

.ms-cl .tableName {
    font-size: 15px;
    text-align: center;
    background: #eee;
    border-radius: 4px 4px 0 0;
    padding: 10px 20px;
    font-weight: bold;
}

.ms-cl .table {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 0 0 4px 4px;
}

.ms-cl .scrollTable {
    overflow-x: scroll;
    background: white;
    border-radius: 0 0 4px 4px;
}

.ms-cl .scrollTable table {
    width: 100%;
}

.ms-cl .table > div {
    display: flex;
    flex-direction: row;
}

.ms-cl .table > div > div {
    flex: 1;
    padding: 10px;
    text-align: center;
}

.ms-cl .table strong {
    font-size: 15px;
}

.calc-ads {
    text-align: center;
}

@media (max-width: 575px) {
    .ms-cl .single-calculator {
        padding: 15px 15px 10px;
    }
    .ms-cl .inputs {
        flex-direction: column;
    }
    .ms-cl .inputs > div {
        margin: 0 0 10px;
    }
    .ms-cl .inputs > div input {
        width: 100%;
    }
    .ms-cl #temperatureNum {
        width: 75px !important;
    }
    .ms-cl #tempDiv {
        flex-basis: auto !important;
    }
    .ms-cl .table > div > div {
        padding: 7px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .ms-cl .table strong {
        font-size: 13px;
    }
}

.inputs > div {
    flex: 1;
}

.inputs > div input {
    width: calc(100% - 20px);
}

@media (max-width: 575px) {
    .cal-form .inputs {
        flex-direction: row !important;
        flex-wrap: wrap !important;
    }
    .cal-form .inputs > div {
        flex-basis: 49% !important;
    }
    .cal-form .inputs > div:nth-child(odd) {
        padding-right: 20px;
    }
    .cal-form .inputs > div input {
        width: 100% !important;
    }
}
@media (min-width: 576px){
    .ms-cl .container {
        max-width: 540px;
    }
}
@media (min-width: 768px){
    .ms-cl .container {
        max-width: 720px;
    }
}
@media (min-width: 992px){
    .ms-cl .container {
        max-width: 960px;
    }
}
@media (min-width: 1200px) {
    .ms-cl .container {
        max-width: 1140px;
    }
}