@import url('https://fonts.googleapis.com/css?family=Lato');

.type-select {
    list-style: none;
    margin: 0;
    padding: 0;
    /* overflow: auto; */
    display: flex;
}

.type-select-col {
    flex-direction: column;
}

.type-select li {
    /* color: #AAAAAA; */
    display: block;
    position: relative;
    float: left;
    width: 100%;
    /* height: 100px; */
}

.type-select-col li:not(:last-child) {
    margin-bottom: 20px;
}

.type-select li input[type=radio] {
    position: absolute;
    visibility: hidden;
}

.type-select li label {
    /* display: block; */
    display: flex;
    align-items: center;
    position: relative;
    /* font-weight: 300;
  font-size: 1.35em; */
    /* padding: 0px 50px 0px 0px; */
    padding-right: 40px;
    margin-bottom: 0;
    /* margin: 10px auto; */
    min-height: 24px;
    z-index: 9;
    cursor: pointer;
    transition: all 0.25s linear;
    -webkit-transition: all 0.25s linear;
}

.type-select li:hover label {
    color: rgba(255, 255, 255, 0.5);
}

.type-select li .check {
    display: block;
    position: absolute;
    border: 2px solid rgb(255, 255, 255);
    color: rgb(255, 255, 255);
    border-radius: 100%;
    height: 20px;
    width: 20px;
    top: calc(50% - 10px);
    /* right: 10px; */
    z-index: 5;
    transition: border .25s linear;
    -webkit-transition: border .25s linear;
}

.type-select li:hover .check {
    border: 4px solid rgba(255, 255, 255, 0.5);
}

.type-select li .check::before {
    display: block;
    position: absolute;
    content: '';
    border-radius: 100%;
    height: 10px;
    width: 10px;
    top: 3px;
    left: 3px;
    margin: auto;
    transition: background 0.25s linear;
    -webkit-transition: background 0.25s linear;

}

input[type=radio]:checked~.check {
    border: 2px solid var(--main-yellow);
}

input[type=radio]:checked~.check::before {
    background: #fff;
}

input[type=radio]:checked~label {
    color: var(--main-yellow);
}

/* .body-home-posts .type-select li:hover label {
    color: #0070ba;
}

.body-home-posts .type-select li:hover .check {
    border: 4px solid #0070ba;
} */

.body-home-posts .type-select li:hover input:not(:checked) ~ label {
  color: #0070ba;
}

.body-home-posts .type-select li:hover input:not(:checked) ~ .check {
  border: 4px solid #0070ba;
}
