.calculators {
    width: 100%;
    max-width: 615px;
    background-color: #243358;
    padding: 15px;
    border-radius: 5px;
    color: #fff;
}

.calculators__heading-class {
    width: 100%;
    max-width: 350px;
    margin-right: 15px;
}

.calculators__heading-grade {
    margin-right: 15px;
}

.calculators__heading-grade,
.calculators__heading-credits {
    min-width: 40px;
    max-width: 85px;
    width: 100%;
    text-align: center;
}

.calculators__class {
    width: 100%;
    max-width: 350px;
    margin-right: 15px;
}

.calculators__result-row {
    display: none;
    -ms-flex-pack: distribute;
    justify-content: space-around;
}

.calculators__input {
    padding: 8px;
    border: none;
    width: 100%;
    outline: none;
    background-color: #243358;
}

.calculators__input::-webkit-input-placeholder {
    color: #fff;
}

.calculators__input::-moz-placeholder {
    color: #fff;
}

.calculators__input:-ms-input-placeholder {
    color: #fff;
}

.calculators__input::-ms-input-placeholder {
    color: #fff;
}

.calculators__input::placeholder {
    color: #fff;
}

.calculators__result-block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: #fff;
}

.calculators__result-block span {
    margin-right: 10px;
}

.calculators__result {
    font-size: 36px;
    font-weight: 300;
    margin: 0;
    line-height: 1;
}

.calculators__row,
.calculators__control {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-bottom: 15px;
}

.calculators__control {
    margin-bottom: 0;
}

.calculators__recalculate,
.calculators__check-another {
    min-width: auto;
    width: auto;
}

.calculators .button--secondary {
    color: #fff;
    border-color: #fff;
    -webkit-transition: -webkit-box-shadow 0.15s linear;
    transition: -webkit-box-shadow 0.15s linear;
    transition: box-shadow 0.15s linear;
    transition: box-shadow 0.15s linear, -webkit-box-shadow 0.15s linear;
}

.calculators .button--secondary:hover,
.calculators .button--secondary:focus {
    background-color: transparent;
    -webkit-box-shadow: 0 0 10px 0 #fff;
    box-shadow: 0 0 10px 0 #fff;
}

.calculators__grade {
    position: relative;
    margin-right: 15px;
    min-width: 40px;
    max-width: 85px;
    width: 100%;
}

.calculators__grade::before {
    content: '';
    position: absolute;
    top: 45%;
    right: 10px;
    width: 8px;
    height: 8px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    -webkit-transform: translateY(-50%) rotate(45deg);
    transform: translateY(-50%) rotate(45deg);
}

.calculators__select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 8px;
    outline: none;
    min-width: 40px;
    max-width: 85px;
    width: 100%;
    background-color: #243358;
    border: none;
}

.calculators__credits {
    min-width: 40px;
    max-width: 85px;
    width: 100%;
}

.calculators__credits input {
    min-width: 40px;
    max-width: 85px;
    width: 100%;
}

.calculators__block {
    position: relative;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 30px;
}

.calculators__notification {
    color: #fff;
    background: #ff3f3f;
    text-align: center;
    padding: 4px;
    border-radius: 10px;
    margin-bottom: 10px;
    display: none;
}

.calculators__heading {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 500;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.calculators__clear-all,
.calculators__add-row,
.calculators__run {
    min-width: auto;
    max-width: 180px;
    width: 100%;
}

.content {
    padding: 80px 0 !important;
}

.content--small {
    padding: 20px 0 !important;
}