@font-face {
    font-family: "Harabara Bold";
    src: url("css/fonts/Roboto-Regular.woff") format("woff"),
        url("css/fonts/Roboto-Light.woff") format("woff"),
        url("css/fonts/Roboto-Bold.woff") format("woff"),
        url("css/fonts/Roboto-Thin.woff") format("woff");
}

body {
    margin: 0px;
    padding: 0px;
    font-family: "Roboto", sans-serif !important;
}

.topBar {
    display: block;
    width: 100%;
    padding: 20px;
    background: #f6f6f6;
    border-bottom: 1px solid #e0e0e0;
    box-sizing: border-box;
}

/*nav*/
.nav {
    display: inline-block;
    background: transparent !important;
    float: right;
}

.nav ul {
    list-style: none;
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 0;
    z-index: 99999;
}

.nav {
    width: 650px;
    margin: 0 auto;
    background: #1e8449;
    color: #f0f0f0;
}
.nav a {
    display: block;
    padding: 0 16px;
    line-height: inherit;
    cursor: pointer;
    color: #252525 !important;
    text-decoration: none;
    font-size: 13px;
}
.nav__menu {
    line-height: 35px;
    font-weight: 700;
    text-transform: uppercase;
}
.nav__menu-item {
    display: inline-block;
    position: relative;
    border: 1px solid transparent;
}
.nav__menu-item:hover {
    background-color: #f6f6f6;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
}
.nav__menu-item:hover .nav__submenu {
    display: block;
}
.nav__submenu {
    font-weight: 300;
    text-transform: none;
    display: none;
    position: absolute;
    width: 220px;
    background-color: #f6f6f6;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
}
.nav__submenu-item:hover {
    background: rgba(0, 0, 0, 0.1);
}

/*search container*/
.searchContainer {
    text-align: center;
    padding: 50px 0px;
}

.logoSearch {
    display: inline-block;
    width: 120px;
    vertical-align: middle;
    padding-right: 30px;
}

#search-box {
    position: relative;
    width: 600px;
    margin: 0;
    display: inline-block;
    vertical-align: middle;
    background-color: #fff;
    position: relative;
    display: inline-block;
    border-radius: 2px;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08);
    transition: box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

#search-form {
    height: 60px;

    border-radius: 5px;
    background-color: #fff;
    overflow: hidden;
}
#search-text {
    font-size: 14px;
    color: #ddd;
    border-width: 0;
    background: transparent;
}
#search-box input[type="text"] {
    width: 90%;
    padding: 16px 0 12px 1em;
    color: #333;
    outline: none;
    float: left;
    font-size: 20px;
}

#search-button {
    position: absolute;
    top: 0;
    right: 0;
    height: 60px;
    width: 80px;
    font-size: 14px;
    color: #fff;
    text-align: center;
    border-width: 0;
    background-color: #4d90fe;
    -webkit-border-radius: 0px 5px 5px 0px;
    -moz-border-radius: 0px 5px 5px 0px;
    border-radius: 0px 5px 5px 0px;
    cursor: pointer;
}

/*convertor*/
.convertor {
    display: block;
    width: 100%;
    padding: 80px 0px;
    background: #f6f6f6;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.convertor h1 {
    text-align: center;
    font-weight: normal;
}

.gridContainer {
    text-align: center;
    width: 100%;
    margin: 0 auto;
    max-width: 900px;
}

.gridContainer a {
    display: inline-block;
    width: 160px;
    height: 160px;
    overflow: hidden;
    border-radius: 50%;
    text-decoration: none;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.gridContainer a:hover {
    -webkit-transform: scale(1.08);
    transform: scale(1.08);
    -webkit-box-shadow: 0 30px 40px rgba(0, 0, 0, 0.19),
        0 6px 6px rgba(0, 0, 0, 0.23);
    box-shadow: 0 30px 40px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    text-decoration: none;
}

.grid {
    display: block;
    width: 160px;
    height: 160px;
    text-align: center;
    color: #fff;
    position: relative;
    border-radius: 0;
    cursor: pointer;
    margin-right: 10px;
    margin-bottom: 10px;
}

.grid img {
    width: 55%;
    padding-top: 30px;
}

.ftitle {
    font-size: 22px;
    color: #000 !important;
    padding-bottom: 80px;
    text-align: center;
}

.ftitle img {
    display: inline-block;
    width: 120px;
    padding-left: 10px;
}

/*card*/
.mk-card {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: inline-block;
    background-color: #fff;
    border-radius: 4px;
    padding: 40px;
    -webkit-box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.07);
    box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    margin-bottom: 15px;
    min-height: 340px;
    width: 350px;
    border-radius: 10px;
    border: 1px solid #cdcdcd;
    margin-right: 30px;
    min-height: 370px;
}

.mk-card h1 {
    font-size: 24px;
    font-weight: normal;
}

i {
    width: 80px;
    color: #4d90fe;
    font-size: 80px !important;
}

.mkContainer {
    display: block;
    padding: 80px 0px;
    text-align: center;
}

/*footer*/
hr {
    border: 0;
    border-top: 1px solid #eee;
}
.footer-container {
    text-align: center;
    padding: 10px 0px;
}
.footer-container a {
    padding: 0px 10px;
    color: #333333 !important;
}

/*first run*/
.firstrun {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: transparent;
    z-index: 4;
}

.step-a {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
}

.a-card {
    width: 350px;
    height: 200px;
    position: absolute;
    top: 120px;
    right: 80px;
    background: #fff;
    border: 1px solid #cdcdcd;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    text-align: center;
    padding: 110px 30px 20px 30px;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 5px;
}

.a-card h1 {
    font-size: 20px;
    padding: 0px;
    margin: 0px;
}

.a-up {
    display: block;
    position: absolute;
    right: 80px;
    top: 10px;
}

.a-card .a-bar {
    display: block;
    width: 361px;
    position: absolute;
    top: -5px;
    right: 0px;
}

.a-card .ok {
    display: block;
    font-size: 26px;
    font-weight: lighter;
    padding: 10px 20px;
    width: 150px;
    margin: 0 auto;
    background: #4d90fe;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}

.step-b {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: transparent;
}

.b-card {
    width: 100%;
    height: 220px;
    display: none;
    top: 120px;
    margin: 0 auto;
    background: #dbdbdb;
    border: 1px solid #dbdbdb;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    text-align: center;
    padding: 30px;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 5px;
}

.b-card h1 {
    font-size: 30px;
    padding: 0px;
    margin: 0px;
    font-weight: normal;
}

.b-down {
    display: block;
    position: relative;
    width: 100%;
    width: 600px;
    margin: 0 auto;
}

.b-down img {
    display: block;
    width: 20%;
    margin: 0 auto;
}

.bounce {
    animation-iteration-count: infinite;
    animation-duration: 3s;
    animation: bounce 2s ease infinite;
    transform-origin: 50% 50%;
}

#mt-arrowpop {
    position: fixed !important;
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }
    5.55556% {
        transform: translateY(0);
    }
    11.11111% {
        transform: translateY(0);
    }
    22.22222% {
        transform: translateY(-15px);
    }
    27.77778% {
        transform: translateY(0);
    }
    33.33333% {
        transform: translateY(-15px);
    }
    44.44444% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(0);
    }
}
