.category-head {
    background-image: url('../jpg/head.jpg');
    background-size: cover;
    text-align: center;
    padding: 80px 15px;
}

.category-head h1 {
    font-size: 38px;
    color: #fff;
}
.category-head .subtitle {
    font-size: 24px;
    color: #fff;
}

.level-categories-wrapper {
    padding-top: 50px;
}

.level-categories-container {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    max-width: 1360px;
    margin: auto;
    text-align: center;
}

.level-category {
    padding: 0 15px;
    width: 20%;
    margin-bottom: 30px;

}

.level-category--inner {
    box-shadow: 0 5px 19px 0 rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 15px 25px;
}

.level-categories-nav {
    padding-top: 45px;
    padding-bottom: 120px;
    background: #f8fafc;
}

.level-categories-pag {
    padding: 0 15px;
    width: 50%;
    text-align: left;
}

.level-categories-pag.next {
    text-align: right;
}

.level-categories-pag a {
    display: inline-block;
    max-width: 420px;
    padding: 20px 15px;
    background: #fff;
    border-radius: 36px;
    text-transform: uppercase;
    text-align: center;
    color: #36a6f3;
    width: 100%;
    border: 2px solid #d1d2d3;
    font-size: 15px;
    font-weight: 600;
    position: relative;

}

.single-level .level-categories-pag.prev a {
    padding-left: 10% !important;

}
.single-level .level-categories-pag.next a {
    padding-right: 10% !important;

}

.rating {
    display: inline-block;
    position: relative;
    height: 20px;
    line-height: 20px;
    font-size: 50px;
}

.rating label {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    cursor: pointer;
}

.rating label:last-child {
    position: static;
}

.rating label:nth-child(1) {
    z-index: 5;
}

.rating label:nth-child(2) {
    z-index: 4;
}

.rating label:nth-child(3) {
    z-index: 3;
}

.rating label:nth-child(4) {
    z-index: 2;
}

.rating label:nth-child(5) {
    z-index: 1;
}

.rating label input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.rating label .icon {
    float: left;
    color: transparent;
    font-size: 24px;
    margin-right: 5px;
}

.rating label:last-child .icon {
    color: #ffc433;
}

.rating:not(:hover) label input:checked ~ .icon,
.rating:hover label:hover input ~ .icon {
    color: transparent;
}

.rating label .icon:before {
    content: '★';
    position: absolute;
    display: none;
    color: #ffc433;
}

.rating:not(:hover) label input:checked ~ .icon:before, .rating:hover label:hover input ~ .icon:before {
    display: block;
}

.single-level-page .half {
    width: 50%;
    padding: 0 40px;
    margin-top: 1em;
}
.single-level-page .half .rating {
    color: #ffc433;
    display: block;
    font-size: 20px;
    text-align: left;
    margin-bottom: 1em;
}

.single-level-page .half img {
    opacity: 0.75;
}

.single-level-page .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -40px;
}

.level-category--inner > p {
    margin-bottom: 10px;
}

.level-category--inner li a {
    display: block;
    padding: 10px;
}

.level-category--inner li {
    border-radius: 30px;
    margin-bottom: 10px;
    border: 1px solid #d1d2d3;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 18px;
}
.level-category--inner li span {
    font-size: 14px;
}
body.tax-level_category .level-category {
    width: 40%;
    margin-left: auto;
    margin-right: auto;
}


.level-categories-pag.prev a:before, .level-categories-pag.next a:before {
    display: block;
    content: '';
    width: 0;
    height: 0;
    padding: 5px;
    border: 2px solid transparent;
    border-left-color: #09f;
    border-bottom-color: #09f;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
}

.level-categories-pag.back a:before{
    display: block;
    content: '';
    width: 16px;
    height: 2px;
    background: #09f;
    position: absolute;
    left: 10%;
    top: 23px;
}

.level-categories-pag.back a:after {
    display: block;
    content: '';
    width: 16px;
    height: 5px;
    border: 2px solid #09f;
    border-left: 0;
    border-right: 0;
    position: absolute;
    left: 10%;
    bottom: 24px;
}

.level-categories-pag.prev a:before {
    left: 10%;
    transform: rotate(45deg);
}

.level-categories-pag.next a:before {
    transform: rotate(-135deg);
    right: 10%;
}


body.tax-level_category .level-categories-pag {
    width: 33.3333567%;
}

body.tax-level_category .level-categories-nav.top, .single-level .level-categories-nav.top {
    padding-bottom: 45px;
}

.fancybox-container {
    z-index: 99999999;
}

.single-level-page-content {
    font-size: 18px;
    padding-top: 100px;
    padding-bottom: 0;
    color: #000;
    line-height: 1.7;
}

.single-level-page-content p {
    margin-bottom: 1em;
}
p.form-title {
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0;
    font-size: 140%;
}
input[type="submit"] {
    background: rgb(64,252,254);
    background: linear-gradient(180deg, rgba(64,252,254,1) 0%, rgba(34,188,237,1) 100%);
    border: 2px solid #d1d2d3;
    height: 60px;
    max-width: 310px;
    border-radius: 100px;
    color: #fff;
    font-size: 24px;
    text-transform: uppercase;
    width: 100%;
    margin-top: 1em;
    line-height: 1;
    cursor: pointer;
}

input[type="submit"]:hover {
    background: linear-gradient(180deg, rgba(34,188,237,1) 0%, rgba(64,252,254,1) 100%);
}

p.field-title {
    color: #999;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 16px;
}

p.field-title .required {
    color: #24c0ee;
}

.banner img {
    max-width: 100%;
    height: auto;
    width: 100%;
}

.banner {
    margin-top: 0em;
    position: relative;
    height: auto;
}

.definitions-inner {
    padding: 80px 0;
    color: #000;
}

div#review-response {
    font-size: 14px;
    margin-top: 2em;
    color: green;
    font-weight: 600;
}

div#review-response.error {
    color: red;
}

.definitions-inner .a2a_default_style {
    margin-top: 2em;
}

.bottom-links {
    position: absolute;
    bottom: 4%;
    width: 100%;
    z-index: 2;
}

.banner .container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    height: 100%;
}

.bottom-links a {
    display: inline-block;
    margin-right: 1em;
}

.links {
    position: absolute;
    right: 0;
    display: flex;
    flex-direction: column;
    top: 10%;
}

.links a {
    margin-bottom: 3em;
}
.a2a_default_style a {
    margin: 0 10px 10px 0px;
}

section.definition {
    margin-top: -10px;
    font-size: 18px;
}

section.definition .level-categories-container {
    justify-content: center;
}

section.definition .level-categories-container h2 {
    font-size: 37px;
}

.single-level .level-categories-pag a span {
    font-size: 26px;
}

@media (max-width: 1200px) {
    .level-category {
        width: 33.33333567%;
    }
}

@media (max-width: 992px) {
    .level-category {
        width: 50%;
    }
    body.tax-level_category .level-category {
        width: 60%;
    }

    .single-level .level-categories-pag.prev a {
        padding-left: 20% !important;

    }
    .single-level .level-categories-pag.next a {
        padding-right: 20% !important;
    }

    .banner {
        margin-bottom: 1em;
    }
    .banner img {
        display: none;
    }

    .banner .container, .bottom-links, .links {
        position: static;
    }
    .links a {
        max-width: 300px;
        margin: 0 auto 10px;
    }
    .links a svg {
        height: auto;
        max-width: 100%;
    }
}
@media (max-width: 768px) {
    .single-level-page .half {
        width: 100%;
        text-align: center;
    }
    .a2a_default_style {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .a2a_default_style a{
        margin-right: 0;
    }

}
@media (max-width: 576px) {
    .category-head {
        padding: 20px 15px;
    }
    .level-categories-wrapper, .single-level-page-content {
        padding-top: 20px;
    }
    .level-categories-nav, body.tax-level_category .level-categories-nav.top, .single-level .level-categories-nav.top {
        padding-top: 20px;
        padding-bottom: 10px;
    }
    .definitions-inner {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .level-categories-pag.back a:before {
        top: 28px;
    }
    .level-categories-pag.back a:after {
        bottom: 20px;
    }
    .level-category, body.tax-level_category .level-category, .level-categories-pag {
        width: 100%;
        text-align: center !important;
    }
    body.tax-level_category .level-categories-pag, .level-categories-pag {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    .level-categories-pag a {
        padding: 10px 15px;
        max-width: 290px;
    }
    section.definition .level-categories-container h2 {
        font-size: 24px;
    }

    .single-level-page-content, section.definition {
        margin-top: 0;
        font-size: 16px;
    }
}