* {
    margin: 0;
    padding: 0;
}

body {
    font-size: 12px;
    line-height: 22px;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background-color: #f4f8fb;
    margin: 0 auto;
}

header {
    position: relative;
    display: block;
    width: 100vw;
}

a, a:-webkit-any-link {
    text-decoration: none;
    color: #1a71a6;
    cursor: pointer;
}

.head-txt-container {
    display: table;
    width: 100vw;
    height: 100vh;
}

.header-text {
    position: static;
    z-index: 1000;
    background-image: url(/files/Bell/img/indonesian_background_2560x1080.jpg);
    background-size: 100% 100%;
    background-position: right;
    background-attachment: fixed;
    padding-top: 0em;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
}

h2.introduction {
    font-size: calc(20px + (40 - 20) * ((100vw - 300px) / (1440 - 300)));
    line-height: calc(30px + (50 - 30) * ((100vw - 300px) / (1440 - 300)));
    color: #1a71a6;
}

p {
    font-family: 'Montserrat', sans-serif;
    font-size: calc(14px + (16 - 14) * ((100vw - 300px) / (1440 - 300)));
    line-height: calc(20px + (20 - 16) * ((100vw - 300px) / (1440 - 300)));
    margin-bottom: 14px;
}

#header {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    display: block;
    z-index: 10000;
}

#container {
    max-width: 1440px;
    margin: 0 auto;
}

.menu-link { display: none; }

.spinner-master input[type=checkbox] { display: none; }

.menu {
    width: 90%;
    height: auto;
    background: #1a71a6;
    transition: all 0.3s ease;
    display: flex;
    justify-content: flex-end;
}

.menu ul {
    padding: 0px;
    margin: 0px;
    list-style: none;
    position: relative;
    display: contents;
}

.menu > li > ul.sub_menu {
    min-width: 10em;
    padding: 4px 0;
    background-color: #f4f4f4;
    border: 1px solid #fff;
}

.menu ul li { padding: 0px; }

.menu > ul > li { display: inline-block; }

.menu ul li a {
    display: block;
    text-decoration: none;
    color: #fff;
    font-size: calc(14px + (16 - 14) * ((100vw - 300px) / (1440 - 300)));
    font-weight: 600;
}

.menu ul li a:hover {
    background: #60af57;
    color: #fff!important;
}

.menu ul li.hover > a {
    background: #1a71a6;
    color: #fff;
}

.menu ul li > a { padding: 15px; }

.menu ul ul {
    display: none;
    position: absolute;
    top: 100%;
    min-width: 160px;
    background: #39484d;
    z-index: 99;
}

.menu ul li:hover > ul { display: block; }

.menu ul ul > li {
    position: relative;
    width: 90%;
    margin-left: 10%;
    display: contents;
    font-size: calc(14px + (18 - 14) * ((100vw - 300px) / (1440 - 300)));
}

.menu ul ul > li a {
    padding: 10px 30px 10px 15px;
    height: auto;
    color: #fff;
    background: #1a71a6;
    font-size: calc(14px + (16 - 14) * ((100vw - 300px) / (1440 - 300)));
}

.menu ul ul > li a:hover {
    background: #60af57;
    color: #fff;
}

.menu ul ul ul {
    position: absolute;
    left: 100%;
    top: 0;
}

img.logo, img.logo-color {
    height: 40px;
    position: absolute;
    top: 7px;
    left: 15px;
}

#search {
    float: right;
    font-size: 40px;
    padding: 2px 15px;
    line-height: 50px;
    color: #fff;
    margin: 0;
    font-weight: bold;
    -webkit-transform: rotate(181deg);
    -moz-transform: rotate(181deg);
    -ms-transform: rotate(181deg);
    -o-transform: rotate(181deg);
    transform: rotate(90deg);
}

.btn {
    color: #1a71a6;
    text-decoration: none;
    font-size: 1.5em;
    line-height: 2em;
    transition: all 0.1s ease;
    display: block;
    text-align: center;
    padding: 0 .5em;
}

.discipleship-card .btn {
    padding: 0 .5em;
    text-align: right;
}

.discipleship-card p {
    padding: 0 .5em;
}

.discipleship-card h3 {
    padding: 0 .5em;
}

.search_box.active {
    height: auto;
    padding: 15px 0;
    border-top: 3px solid #fff;
}
.search_box {
    clear: both;
    width: 100%;
    background: #124869;
    padding: 0;
    margin: 2px 0;
    height: 0;
    overflow: hidden;
    transition: all 0.1s ease-in-out;
    position: absolute;
}

.search_box input.search_icon {
    clear: both;
    width: 10%;
    height: auto;
    padding: 10px;
    margin: 0;
    margin-left: -5px;
    border: none;
    color: #fff;
    cursor: pointer;
    background: #60af57;
    opacity: 1;
    transition: all 0.1s ease;
}

.search_box input {
    width: 80%;
    font-size: 13px;
    margin: 0 0 0 4%;
    padding: 10px;
    border: none;
    background: #fff;
}

form {
    display: block;
    margin-top: 0em;
}

.nav_container {
    background-color: #1a71a6;
    position: fixed;
    top: 0;
    width: 100%;
    transition: top .5s ease-out;
    z-index: 9999999999;
}

.nav_wrapper {
    position: relative;
    top: 0;
    width: 100%;
    max-width: 1440px;
    transition: top .5s ease-out;
    background: #1a71a6;
    margin: 0 auto;
}

.nav_wrapper.scroll {
    position: relative;
}

.button-header-image {
    margin-top: .5em;
    color: white;
    background-color: #60af57;
    border: none;
    padding: .5em .75em;
    border-radius: 0.5em;
    font-size: 2em;
    cursor: pointer;
}

.header-text .button-header-image {
    margin-top: 1.5em;
    color: white;
    background-color: #60af57;
    border: none;
    padding: .5em 1.5em;
    border-radius: 0.5em;
    font-size: calc(16px + (24 - 16) * ((100vw - 300px) / (1440 - 300)));
}

.discipleship-header {
    background-color: #fff;
    text-align: center;
    padding: 2em 1em;
    margin: 2em 0;
}

/*.discipleship-header h2 {
    font-size: 2em;
    line-height: 1.25em;
    font-weight: 600;
    margin-bottom: 1em;
}*/

.discipleship-body {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 1em 0;
}

.discipleship-card, .connection-card {
    flex: 0 0 30%;
    display: inline-block;
    flex-wrap: wrap;
    justify-content: left;
    margin-bottom: 2em;
    background-color: #fff;
    border-bottom: 4px solid #1a71a6;
    padding: 0;
}

.discipleship-body :nth-child(1) { order: 1; }
.discipleship-body :nth-child(2) { order: 3; }
.discipleship-body :nth-child(3) { order: 2; }

section#connection {
    margin-bottom: 20px;
}

.connection-body {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.connection-card {
    justify-content: center;
    border-bottom: none;
    padding: 4em 1em;
    display: block;
    flex: 0 1 21%;
    border-bottom: 4px solid #1a71a6;
}

.connection-card:hover, .discipleship-card:hover {
    -webkit-box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
}

.connection-card-icon {
    text-align: center;
}

.discipleship-card img {
    width: 100%;
    max-height: 240px;
    border-top-right-radius: 1%;
    border-top-left-radius: 1%;
}

.connection-card .connection-card-icon span img {
    width: 120px;
    height: 120px;
    margin-bottom: 15px;
    text-align: center;
    line-height: 80px;
    border-radius: 50%;
    display: inline-block;
    font-size: 4em;
}

.discipleship-card h3, .connection-card h3 {
    font-size: 1.5em;
    font-weight: 700;
    line-height: 2em;
    color: #1a71a6;
}

.connection-card h3 {
    color: #333;
}

.fab {
    font-family: "Font Awesome 5 Brands";
}

.fa-envelope-open-text:before, .fa-praying-hands:before, .fa-book-open:before, .fa-facebook-f:before {
    vertical-align: -0.1em!important;
}

section#call-to-action {
    background: linear-gradient( rgba(0, 0, 0, 0.59), rgba(119, 119, 119, 0) ), url(https://a.glcdn.co/discipleship/indonesian/Indonesia_1920_800_homepage.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    min-height: 340px;
    margin-bottom: 3em;
    display: table;
    width: 100%;
}

.call-to-action-body {
    text-align: center;
    padding: 2em 1em;
    color: #ffffff;
    display: table-cell;
    vertical-align: middle;
}

.call-to-action-body h2 {
    font-size: calc(30px + (30 - 24) * ((100vw - 300px) / (1440 - 300)));
    line-height: 1.25em;
    font-weight: 600;
    margin-bottom: 1em;
}

.call-to-action-body p {
    font-size: calc(20px + (20 - 16) * ((100vw - 300px) / (1440 - 300)));
    line-height: calc(24px + (24 - 16) * ((100vw - 300px) / (1440 - 300)));
}

footer {
    width: 100%;
    background-color: #1a71a6;
    border-top: double 4px #fff;
    text-align: center;
    text-align: -webkit-center;
    text-align: -moz-center;
}

section.footer-menu {
    padding: 20px;
    background-color: #1a71a6;
    color: #ffffff;
    display: flex;
    flex-wrap: wrap;
    flex-flow: row;
    justify-content: space-between;
    max-width: 1440px;
    text-align: left;
}

ul.footer-sub-menu {
    margin-top: 2em;
}

ul.footer-sub-menu:before {
    content:attr(footer-data-header);
    font-size: 1.5em;
    font-weight: bold;
    color: #ffffff;
    line-height: 2em;
}

.footer-menu .footer-sub-menu li a::before {
    content: "-";
    padding-right: 8px;
    color: #ffffff;
}

.footer-menu .footer-sub-menu li {
    list-style: none;
}

footer a:link, footer a:visited, footer a:hover {
    text-decoration: none;
    color: #ffffff;
    font-size: 1.25em;
    line-height: 2.25em;
}

section.copyright {
    background-color: #124869;
    color: #ffffff;
    text-align: center;
    font-size: 1em;
    line-height: 1.5em;
    padding: 1em 0;
    border-top: double 4px #fff;
}

@media (max-width: 1024px) {
    .connection-card {
        flex: 1 0 40%;
        justify-content: center;
        border-bottom: none;
        padding: 4em 1em;
        margin: 1em 1em;
    }
}

@media all and (max-width: 768px) {

    .spinner-master * {
        transition: all 0.3s;
        box-sizing: border-box;
    }

    .spinner-master {
        position: relative;
        margin: 15px;
        height: 30px;
        width: 30px;
        float: left;
    }

    .spinner-master label {
        cursor: pointer;
        position: absolute;
        z-index: 99;
        height: 100%;
        width: 100%;
        top: 5px;
        left: 0;
    }

    .spinner-master .spinner {
        position: absolute;
        height: 4px;
        width: 100%;
        padding: 0;
        background-color: #fff;
    }

    .spinner-master .diagonal.part-1 {
        position: relative;
        float: left;
    }

    .spinner-master .horizontal {
        position: relative;
        float: left;
        margin-top: 4px;
    }

    .spinner-master .diagonal.part-2 {
        position: relative;
        float: left;
        margin-top: 4px;
    }

    .spinner-master input[type=checkbox]:checked ~ .spinner-spin > .horizontal { opacity: 0; }

    .spinner-master input[type=checkbox]:checked ~ .spinner-spin > .diagonal.part-1 {
        transform: rotate(135deg);
        -webkit-transform: rotate(135deg);
        margin-top: 10px;
    }

    .spinner-master input[type=checkbox]:checked ~ .spinner-spin > .diagonal.part-2 {
        transform: rotate(-135deg);
        -webkit-transform: rotate(-135deg);
        margin-top: -12px;
    }

    a.menu-link {
        display: block;
        color: #fff;
        float: left;
        text-decoration: none;
        padding: 10px 16px;
        font-size: 1.5em;
    }

    img.logo, img.logo-color {
        height: 40px;
        position: absolute;
        top: 10px;
        left: 42%;
    }

    img.logo {
        display: block;
    }

    img.logo-color {
        display: none;
    }

    .header-text {
        position: static;
        z-index: 1000;
        background-image: url(/files/Bell/img/indonesian_background_414x332.jpg);
        background-size: cover;
        background-position: right;
        height: 40vh;
        padding-top: 3em;
        margin-top: 5em;
        text-align: center;
    }

    h2.introduction {
        font-size: 5vw;
        line-height: 6vw;
        color: #116da6;
        text-align: center;
        margin-bottom: 1em;
    }

    .nav_wrapper {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        transition: top .5s ease-out;
        background: #1a71a6;
    }

    .menu {
        width: 100%;
        height: auto;
        background: #1a71a6;
        transition: all 0.3s ease;
        display: block;
        justify-content: flex-end;
    }
    a.menu-link:hover { color: #60af57; }

    a.menu-link:after {
        content: "\2630";
        font-weight: normal;
    }

    a.menu-link.active:after { content: "\2715"; }

    .menu {
        clear: both;
        min-width: inherit;
        float: none;
    }

    .menu,
    .menu > ul ul {
        overflow: hidden;
        max-height: 0;
        background-color: #1a71a6;
    }

    .menu > li > ul.sub-menu {
        padding: 0px;
        border: none;
    }

    .menu.active,
    .menu > ul ul.active {
        max-height: 55em;
    }

    .menu.active {
        border-top: 3px solid #ffffff;
    }

    .menu ul { display: inline; }

    .menu li,
    .menu > ul > li { display: block; border-top: 1px solid #fff;}

    .menu li:first-child {
        border-top: none;
    }

    a.active {
        border-bottom: solid 1px #fff;
    }

    .menu > ul > li:last-of-type a { border: none; }

    .menu ul li > a {
        padding: 15px 0;
        margin: 0 0 0 15px;
    }

    .menu li a {
        color: #fff;
        display: block;
        padding: 0.8em;
        position: relative;
    }

    .menu li.has-submenu > a:after {
        content: '+';
        position: absolute;
        top: 0;
        right: 0;
        display: block;
        font-size: 1.5em;
        padding: 0.55em 0.5em;
    }

    .menu li.has-submenu > a.active:after { content: "-"; }

    .menu ul ul > li {
        display: block;
    }

    .menu ul ul > li a {
        background-color: #1a71a6;
        margin: 0;
        padding: 15px 0;
    }

    .menu ul li a:hover {
        background: #4b5f65;
        color: #fff;
    }

    .menu ul li.hover > a {
        background: #1a71a6;
        color: #fff;
    }

    .menu ul ul,
    .menu ul ul ul {
        display: inherit;
        position: relative;
        left: auto;
        top: auto;
        border: none;
    }

    .search_box {
        margin: 0;
    }

    .search_box input {
        width: 70%;
    }

    .search_box input.search_icon {
        width: 17%;
    }

    .connection-body {
        display: flex;
        flex-wrap: wrap;
        margin: 1em;
    }

    .connection-card {
        flex: 1 0 40%;
        justify-content: center;
        border-bottom: none;
        padding: 4em 1em;
        margin: 1em 1em;
    }

    .discipleship-body {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin: 1em;
    }

    .discipleship-card {
        flex: 0 0 49%;
    }

    section#call-to-action {
        background: linear-gradient( rgba(0, 0, 0, 0.59), rgba(119, 119, 119, 0) ), url(https://a.glcdn.co/discipleship/indonesian/Indonesia_1920_800_homepage.jpg);
        min-height: 340px;
    }

    section.footer-menu {
        padding: 20px;
        background-color: #1a71a6;
        color: #ffffff;
        display: flex;
        flex-flow: row;
        justify-content: space-between;
    }

    ul.footer-sub-menu {
        margin-top: 2em;
    }

    ul.footer-sub-menu:before {
        content:attr(footer-data-header);
        font-size: 1.5em;
        font-weight: bold;
        color: #ffffff;
        line-height: 2em;
    }

    .footer-menu .footer-sub-menu li a::before {
        content: "-";
        padding-right: 8px;
        color: #ffffff;
    }

    .footer-menu .footer-sub-menu li {
        list-style: none;
    }

    footer a:link, footer a:visited, footer a:hover {
        text-decoration: none;
        color: #ffffff;
        font-size: 1.25em;
        line-height: 2.25em;
    }

    section.copyright {
        background-color: #124869;
        color: #ffffff;
        text-align: center;
        font-size: 1em;
        line-height: 1.5em;
        padding: 1em 0;
    }
}

@media all and (max-width: 414px) {
    .header-text {
        position: static;
        z-index: 1000;
        background-image: url(/files/Bell/img/indonesian_background_414x332.jpg);
        background-size: cover;
        background-position: right;
        background-attachment: initial;
        height: 55vh;
        padding-top: 3em;
        margin-top: 5em;
        text-align: center;
    }
    h2.introduction {
        font-size: 6.5vw;
        line-height: 8vw;
        color: #116da6;
        text-align: center;
        margin-bottom: 1em;
    }

    .head-txt-container {
        height: 55vh;
    }

    .button-header-image {
        font-size: 1.5em;
    }
    img.logo {
        height: 40px;
        position: absolute;
        top: 10px;
        left: 42%;
    }
    .discipleship-header, .discipleship-body, .call-to-action-body, .connection-body {
        padding: 2em 1em;
    }
    .discipleship-header {
        background-color: #fff;
        text-align: center;
    }

    .call-to-action-body {
        color: #fff;
    }
    .discipleship-header h2, .call-to-action-body h2 {
        font-size: 2em;
        line-height: 1.25em;
        font-weight: 600;
        margin-bottom: 1em;
    }
    .discipleship-body {
        margin: 0em;
    }
    .discipleship-card {
        flex: 0 1 100%;
    }
    section.footer-menu {
        padding: 20px;
        background-color: #1a71a6;
        color: #ffffff;
        display: flex;
        flex-flow: column;
    }
    .connection-card {
        flex: 1 0 45%;
        justify-content: center;
        border-bottom: none;
        padding: 4em 2em;
        margin: 1em 0;
    }
}

/*
Content Style
*/

.content-wrapper {
    margin: 10em 1em;
}
.card-deck .card-block-rm .nobtn {
    color: #007fc7;
    text-align: right;
    display: block;
    background-color: #fff;
    margin-right: 5px;
    font-size: calc(14px + (16 - 14) * ((100vw - 300px) / (1440 - 300)));
    line-height: calc(20px + (20 - 16) * ((100vw - 300px) / (1440 - 300)));    margin-top: 12px;
    text-decoration: none;
}

/*
Pagination
 */

.text-center {
    text-align: center!important;
}
ul.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 22px 0;
    border-radius: 4px;
    list-style: none;
}
.pagination>li {
    display: inline;
}
.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
    z-index: 3;
    color: #fff;
    background-color: #007fc7;
    border-color: #007fc7;
    cursor: default;
}
.pagination>li>a, .pagination>li>span {
    position: relative;
    float: left;
    font-size: 1.5em;
    padding: 4px 12px;
    line-height: 1.5;
    text-decoration: none;
    color: #007fc7;
    background-color: #fff;
    border: 1px solid #ddd;
    margin-left: -1px;
}

@media (min-width: 768px) {

    #search, .menu ul li a {
        color: #1a71a6;
    }

    #other #search, #other .menu ul li a {
        color: #fff;
    }

    #home .menu, #home .nav_wrapper, #home .nav_container {
        background: transparent;
    }

    #home .transparent {
        background: #1a71a6;
    }

    #other img.logo {
        display: block;
    }

    #other img.logo-color {
        display: none;
    }

}