﻿HTML {
    font-size: 100%; /* IE hack */
}

* {
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
}

* {
    box-sizing: border-box;
}

    *[aria-hidden="true"] {
        display: none;
    }

* {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    -webkit-tap-highlight-color: transparent;
}

a, a:link {
    text-decoration: none;
}

ul {
    list-style: none;
}

BODY {
    max-width: 1240px;
    height: 600px;
    padding: 0;
    font-weight: 300;
    font-family: 'NarkissBlock', Arial, Helvetica, sans-serif;
}

input, select, textarea {
    font-family: 'NarkissBlock', Arial, Helvetica, sans-serif;
    font-weight: 300;
    color: #000;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
}

.encyclopedia_Container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.encyclopedia_rightSection {
    max-width: 30%;
    margin-left: 40px;
}

    .encyclopedia_rightSection > div {
        margin: 20px 0;
    }

    .encyclopedia_rightSection .logo img {
        display: block;
        margin: 0 auto;
    }

    .encyclopedia_rightSection .join a {
        height: 204px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        justify-content: space-around;
        border: 1px solid #0092b6;
    }

    .encyclopedia_rightSection .join img {
        width: 120px;
    }

    .encyclopedia_rightSection .join .title {
        font-weight: 700;
        max-width: 120px;
        text-align: center;
    }

    .encyclopedia_rightSection .join .button {
        background-color: #0092b6;
        color: #fff;
        font-weight: 700;
        border-radius: 5px;
        padding: 10px 20px;
    }

    .encyclopedia_rightSection .encyclopedia_section {
        font-weight: 700;
    }

        .encyclopedia_rightSection .encyclopedia_section .item {
            height: 50px;
            line-height: 50px;
            border-bottom: 1px solid #e7e7e7;
        }

            .encyclopedia_rightSection .encyclopedia_section .item a {
                display: inline-block;
                width: 100%;
            }

        .encyclopedia_rightSection .encyclopedia_section .title {
            display: block;
            color: #fff;
            background-color: #0092b6;
            text-align: center;
        }

        .encyclopedia_rightSection .encyclopedia_section img {
            width: 25px;
            vertical-align: middle;
            margin: 0 10px 5px 10px;
        }

        .encyclopedia_rightSection .encyclopedia_section.calculators img {
            width: 20px;
        }

.encyclopedia_leftSection {
    max-width: 70%;
}

.filters {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.homeActions_list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
}

    .homeActions_list .homeActions_item {
        width: 33%;
    }

.homeActions_item a {
    background-color: #fff;
    border: 1px solid #0092b6;
    margin: 15px 0;
}

    .homeActions_item a img {
        height: 88px;
    }

    .homeActions_item a span {
        font-weight: 700;
    }

.homeCalculators_list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}

.homeCalculators_item {
    padding: 0 0 0 5px;
}

.homeCalculators_itemTop {
    padding: 0px 0px 34px;
}

.navigation.external {
    text-align: center;
    margin: 10px 0;
    font-size: 22px;
}

    .navigation.external .next,
    .navigation.external .prev {
        margin: 0 15px;
    }

    .navigation.external .currentPage {
        color: #0092b6;
        font-weight: bold;
    }

@media screen and (max-width: 768px) {
    BODY {
        max-width: 100%;
    }

    .encyclopedia_leftSection {
        max-width: 100%;
        width: 100%;
        margin: 3px;
    }

    .encyclopedia_rightSection {
        display: none;
    }

    .filters {
        display: block;
        grid-template-columns: 1fr;
        position: inherit;
    }

    .searchResultsContainer {
        grid-template-columns: 1fr;
    }

    .homeActions_list .homeActions_item {
        width: 50%;
    }
}
