/*
Theme Name:  Jenann Ismeal
Template: 	 twentyseventeen
Theme URI:	 https://wordpress.org/themes/twentyseventeen/
Author:		 ChildThemeWP
Author URI:	 https://childthemewp.com
Version:	 1.0.0
License:	 GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags:    	 opensource
Text Domain: twentyseventeenchild
*/


body {
    font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
}

.edit-link {
    display: none !important;
}

body,
.site-content,
.site-content-contain {
    background: #000;
    background: #fff;
    color: #fff;
    color: #222;
}

h1, h2, h3, h4, h5, h6, h7, h8, p, label, ul, ol, div {
    color: #fff;
    color: #222;
}

strong {
    font-weight: 600;
}

h1 {
    font-size: 38px;
    font-size: 2.375rem;
    letter-spacing: .2em;
    font-weight: 600;
}

h2 {
    font-size: 28px;
    font-size: 1.75rem;
    font-weight: 600;
}

h3 {
    font-size: 22px;
    font-size: 1.375rem;
    font-weight: 500;
}

h4 {
    font-size: 18px;
    font-size: 1.125rem;
    font-weight: 500;
}

ul {
    padding-left: 1.5em;
    padding-right: 1.5em;
}

label {
    font-weight: 500;
}

.page .panel-content .entry-title,
.page-title,
body.page:not(.twentyseventeen-front-page) .entry-title {
    color: #fff;
    color: #222;
    color: inherit;
    text-align: center;

    text-transform: uppercase;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 38px;
    letter-spacing: 15px;
    line-height: 1.9;
    margin: 20px 0;

    font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 2.375rem;
    letter-spacing: .2em;
    line-height: 1.9;
    margin: 1.25rem 0 1.75rem 0;
}

article .panel-content .wrap {
    padding-top: 0;
}

article header.entry-header {
    margin-bottom: 0 !important;
}

body #content.site-content {
    padding-top: 40px;
    padding-bottom: 40px;
}

#main .site-content > .wrap,
#main .panel-content > .wrap {
    padding-bottom: 0;
}

.navigation-top {
    bottom: auto;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    border: none;
    transition: background-color .4s;
}

.navigation-top.site-navigation-fixed {
    background-color: rgba(0, 0, 0, .9);
}

.navigation-top .main-navigation a {
    color: #fff;
}

.site-navigation-fixed .navigation-top {
    background: rgba(255, 255, 255, .75);
}

.site-navigation-fixed .navigation-top .main-navigation a {
    color: #222;
}

.admin-bar .site-navigation-fixed.navigation-top,
.admin-bar .navigation-top {
    top: 32px;
}

.navigation-top .menu-scroll-down {
    display: none !important;
}

.custom-header {
    margin: 0 ! important;
}

.custom-header-media::before {
    display: none !important;
}

.ji-headerImage {
    position: relative;
    width: 100%;
    top: -150px;
    top: -20vh !important;
    height: 0;
        padding-bottom: calc(32px + 35.55%);
        padding-bottom: 35.55%;
    padding-bottom: 37.3%;
    background: #000 url("images/header-mobile.jpg") top center no-repeat;
    background-size: cover;
}

.ji-headerImage {
    position: relative;
    width: 100%;
        height: 0;
    top: 0 !important;
    top: -150px !important;
    padding-bottom: 75%;
    background: #000 url("images/header-mobile.jpg") top center no-repeat;
    background-size: cover;
    background-position-x: -28vw;
}

@media screen and (min-width: 48em) {

    .ji-headerImage {
        position: relative;
        width: 100%;
        height: 0;
        top: -150px;
        top: -20vh !important;
            padding-bottom: calc(32px + 35.55%);
            padding-bottom: 35.55%;
        padding-bottom: 37.3%;
        background: #000 url("images/header.jpg") top center no-repeat;
        background-size: cover;
    }
}

#masthead {
    margin-bottom: -150px;
    margin-bottom: -20vh;
}

#masthead .wrap {
    transition: all .4s;
}

.custom-header {
    height: 150px !important;
    height: 20vh !important;
}

.custom-header .custom-header-media {
    height: 150px !important;
    height: 20vh !important;
}

#masthead .ji-header-logo {
    position: fixed;
    z-index: 9999;
    transition: all .4s;
}

#masthead .ji-header-logo:before {
    position: absolute;
    top: -3px;
    left: -3px;
    width: 100%;
    height: 100%;
    padding: 0 6px 6px 0;
    box-sizing: content-box;
    content: '';
}

#masthead .ji-header-logo:hover,
#masthead .ji-header-logo:focus {
    opacity: .5;
}

.admin-bar #masthead .ji-header-logo {
    margin-top: 32px;
}

#masthead .ji-header-logo img {
    width: 100%;
    height: auto;
}

.site-footer {
    border-top: none;
    background: #111;
    color: #eee;
    color: #fff;
}

body footer * {
    color: #eee;
    color: #fff;
}

@media screen and (min-width: 48em) {

    .navigation-top .menu-main-menu-container,
    .navigation-top .menu-main-menu-container .menu {
        text-align: right;
        text-transform: uppercase;
    }

    .main-navigation ul ul {
        background: #111;
        border: 1px solid #000;
    }

    .main-navigation li li a {
        font-weight: 400;
        font-size: .95em;
        font-size: .85rem;
        width: 100%;
    }

    .main-navigation ul ul a {
        padding: 0.75em 1.25em;
        width: 23em;
        width: 21.5em;
    }

    .main-navigation .menu > li > ul.sub-menu > li > a {
        width: 12em;
    }

    .main-navigation ul li:hover > ul,
    .main-navigation ul li.focus > ul {
        left: -1.5em;
    }

    .main-navigation ul li.menu-item-has-children::after,
    .main-navigation ul li.page_item_has_children::after {
        border-color: transparent transparent #000;
    }

    .main-navigation ul li.menu-item-has-children::before,
    .main-navigation ul li.page_item_has_children::before {
        border-color: transparent transparent #000;
    }

    .main-navigation li li:hover,
    .main-navigation li li.focus {
        background: #222;
    }

    .main-navigation .menu-item-has-children > a > .icon,
    .main-navigation .page_item_has_children > a > .icon {
        display: none;
    }

    .custom-header-media::before {
        display: none;
    }

/**** V1 *****
    #masthead .ji-header-logo {
        position: fixed;
        top: 1.8vw;
        top: 1.5vw;
        left: 6vw;
        width: 14.5vw;
        height: auto;
    }
/*************/

    #masthead .ji-header-logo {
        position: fixed;
        top: 1.925vw;
        left: 5.5vw;
        width: 15vw;
        height: auto;
        line-height: 0;
    }
}


@media screen and (min-width: 48em) {

    .navigation-top .wrap {
        width: 91%;
        max-width: 91%;
        padding: 1.7vw .75vw;
    }

    .navigation-top {
        font-size: .925vw;
    }

    .navigation-top .menu > li a {
        padding: 1em 1.95em;
    }

    .navigation-top .menu > li .sub-menu li a {
        padding: .85em 1.5em;
    }

    .navigation-top .menu > li > a {
        letter-spacing: .125em;
    }

    .navigation-top .sub-menu > li > a {
        letter-spacing: .025em;
        letter-spacing: unset;
    }
/***
    .js .main-navigation ul li ul {
        opacity: 0;
        transition: opacity 1s;
        display: block;
    }

    .js .main-navigation ul li:hover ul {
        opacity: 1;
    }

    .js .main-navigation ul,
    .js .main-navigation ul ul,
    .js .main-navigation > div > ul {
        display: block;
    }
/***/
    .main-navigation ul li.menu-item-has-children::before,
    .main-navigation ul li.menu-item-has-children::after,
    .main-navigation ul li.page_item_has_children::before,
    .main-navigation ul li.page_item_has_children::after {
        right: auto;
        left: 50%;
        margin-left: -6px;
    }

    .main-navigation ul ul li:hover > ul,
    .main-navigation ul ul li.focus > ul {
        left: auto;
        right: 100%;
    }
}

@media screen and (min-width: 67em) {

    .navigation-top .wrap {
        padding: 1.7vw .75vw;
    }

    #masthead .navigation-top.site-navigation-fixed .wrap {
        padding: 1.2vw .75vw;
            padding: .9vw .75vw;
    }

    #masthead .navigation-top.site-navigation-fixed ~ .custom-header .ji-header-logo {
        top: 1.625vw;
            top: 1.25vw;
        width: 13vw;
    }
}

@media screen and (max-width: 48em) {

    #masthead .ji-header-logo {
        position: fixed;
        top: 10px;
            top: 16px;
        margin-top: .25em;
            margin-top: 0;
        left: 16px;
        left: 4vw;
            left: 4.75vw;
        width: 130px;
        width: 36vw;
            width: 160px;
            width: 32vw;
        max-width: 160px;
        height: auto;
        line-height: 0;
        transition: all .4s;
    }

    #masthead .site-navigation-fixed ~ .custom-header .ji-header-logo {
        width: 130px;
            width: 160px;
            width: 32vw;
        max-width: 160px;
    }

    .main-navigation {
        position: relative;
        top: 0;
        width: 100%;
        left: 0;
    }

    .navigation-top:not(.site-navigation-fixed) .main-navigation.toggled-on:before,
    .navigation-top .main-navigation.toggled-on:before {
        position: absolute;
        top: -10px;
        height: 60px;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 1);
        content: "";
    }

    .main-navigation.toggled-on {

    }

    .main-navigation .menu,
    .main-navigation > div > ul {
        border-top: 1px solid #333;
        border: none;
        padding: 0.75em 1.695em;
        background: #000;
    }

    .main-navigation ul.menu {
        box-shadow: 0 0 25px rgba(0,0,0,.5),0 0 35px rgba(0,0,0,.5);
    }

    .main-navigation ul {
        background: #000;
    }

    .main-navigation li {
        border-bottom: 1px solid #333;
        position: relative;
    }

    .main-navigation li:last-child {
        border-bottom: none;
    }

    .dropdown-toggle {
        color: #fff;
        line-height: 1;
        font-size: 20px;
        padding: 0.25em;
    }

    button.dropdown-toggle:hover,
    button.dropdown-toggle:focus {
        background-color: #222;
        outline: none;
    }

    .main-navigation ul ul {
        padding: 0 0 1em 1.5em;
    }

    .main-navigation ul.menu > li > a {
        color: #fff;
        font-weight: 600;
        letter-spacing: .125em;
        text-transform: uppercase;
    }

    .navigation-top .main-navigation ul ul a {
        color: #fff;
        font-weight: 500;
    }

    .main-navigation ul.menu > li.current-menu-item > a {

    }

    .menu-toggle {
        font-size: 24px;
        margin: 8px 10px auto auto;
            margin: 4px 10px 2px auto;
        padding: .25em .5em;
        text-shadow: none;
        text-align: center;
        background: none !important;
        color: #fff !important;
        outline: none !important;
        border: none !important;
    }

    .menu-toggle .icon {
        margin: auto;
        outline: none !important;
        border: none !important;
    }

    #masthead {
        margin-bottom: 0 !important;
        margin-bottom: -150px !important;
    }

    .custom-header,
    .custom-header .custom-header-media {
        height: 0 !important;
        height: 150px !important;
    }

    .page .panel-content .entry-title,
    .page-title,
    body.page:not(.twentyseventeen-front-page) .entry-title {
        color: #fff;
        color: #222;
        font-size: 25px;
        margin: .8em 0;
        line-height: 1.75;
        letter-spacing: .12em;
    }
}

@media screen and (min-width: 77em) {

    .main-navigation ul ul li:hover > ul,
    .main-navigation ul ul li.focus > ul {
        left: 100%;
        right: auto;
    }
}

@media screen and (max-width: 48em) {

    .main-navigation button.dropdown-toggle {
        background: none !important;
    }

    .main-navigation a[href="#"] ~ button.dropdown-toggle {
        width: calc(100% + 1em);
        text-align: right;
        background: none !important;
    }
}


/***
@media screen and (max-width: 48em) and (orientation:landscape) {

    #masthead .custom-header .ji-header-logo {
        width: 130px;
            width: 160px;
    }
}
/***/

@media screen and (max-width: 34em) {

    .main-navigation .menu {
        font-size: .85rem;
    }

    .main-navigation ul ul a {
        letter-spacing: 0;
        padding: 0.35em 0;
        font-size: .8rem;
        font-size: .85rem;
    }
}

@media screen and (min-width: 30em) and (max-width: 48em) {
    body, button, input, select, textarea {
        font-size: 16px;
        font-size: 1rem;
    }
}


/**
 * Links: Pages.
 */
#main a,
#main a:visited,
#main a:active,
#main a:hover {
    text-decoration: none;
    text-decoration: underline 1px dotted;
    color: #579ad5;
    color: #a78ae4;
    color: #b7a380;

    color: #bb9524;
    color: #3389d5;
    color: #1470c2;
}

#main a:hover,
#main a:focus {
    text-decoration: underline 1px solid;
}



/**
 * Links: Homepage.
 */
.home #main a,
.home #main a:visited,
.home #main a:active,
.home #main a:hover {
    text-decoration: underline 1px dotted;
    color: #fff;
    color: #222;
}

.home #main a:hover,
.home #main a:focus {
    text-decoration: underline 1px solid;
}


blockquote,
blockquote p {
    color: #bfbfbf;
    color: #57554b;
    font-size: 18px;
    font-size: .9375rem;
    font-style: italic;
    line-height: 1.7;
    margin: 0;
    text-align: left;
    padding: 0;
}

blockquote cite {
    position: relative;
    text-align: right;
}

blockquote cite:before {
    content: "– ";
}


/**
 * Papers List: Papers Page.
 */
.ji-papers {
    text-align: left;
}

.page-papers h2,
.page-papers h3 {
    text-align: center;
    letter-spacing: .2em;
}

html body.page.page-papers #primary.content-area {
    max-width: 840px;
}

@media screen and (min-width: 840px) {

    .page-papers .entry-content > p {
        margin-left: auto;
        margin-right: auto;
        max-width: 740px;
    }
}

.ji_pagePapersList,
.ji_pagePapersList * {
    text-align: left;
}

.ji_pagePapersList {
    padding-left: 1.5em;
    padding-right: 1.5em;
}

.ji_pagePapersList > li::marker {

}

.ji_pagePapersList li {
    font-size: .84375rem;
    margin-bottom: 1em;
    margin-bottom: .75em;
}

.ji_pagePapersList li p:first-child a {
    font-size: .975rem;
    font-weight: 500;
}

.ji_pagePapersList li p {
    margin: 0 0 .1875em 0;
    padding: 0;
}

.ji_pagePapersList li p ~ p {

}

.ji_pagePapersList li p:last-child {
    margin-bottom: 0;
}

.ji_bgLineBehind {
    position: relative;
}

.ji_bgLineBehind span {
    position: relative;
    display: inline-block;
    padding: 0 .5em 0 .8em;
    background: #000;
    background: #fff;
}

.ji_bgLineBehind:before {
    position: absolute;
    bottom: .6em;
    left: 0;
    width: 100%;
    height: 0;
    border-bottom: 1px dashed #555;
    border-bottom: 1px dashed #bbb;
    content: "";
}


/**
 * Papers List: Topics Taxonomy Pages.
 */
.ji_taxPapersList,
.ji_taxPapersList * {
    text-align: left;
}

.tax-topics .ji_taxPapersList li p ~ p {
    text-align: justify;
}

.ji_taxPapersList {
    list-style-type: none;
    margin-left: auto;
    padding-left: 0;
}

.ji_taxPapersList li {
    position: relative;
    margin-left: auto;
    margin-top: 0rem;
    padding-top: 2rem;
    margin-bottom: 1rem;
    padding-left: 0;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #555;
    border-bottom: 1px dashed #bbb;
}

.ji_topicIntro + .ji_taxPapersList li:first-child {
    padding-top: 3rem;
    border-top: 1px dashed #555;
    border-top: 1px dashed #bbb;
}

.ji_taxPapersList li:last-child {
    border-bottom: none;
}

.ji_taxPapersList h3 {
    font-weight: 600;
    margin-bottom: 1.5em;
}


/**
 * Topics Taxonomy Page.
 */
.ji_topicIntro {
    position: relative;
    margin-bottom: 5rem;
    text-align: center;
}

.ji_topicIntro *:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

XXX.ji_topicIntro {
    position: relative;
    margin-top: 2rem;
    padding-top: 2rem;
    padding-bottom: 3.5rem;
    text-align: center;
}

XXX.ji_topicIntro:before {
    position: absolute;
    top: 0;
    left: 50%;
    top: auto;
    bottom: 0;
    margin-left: -100px;
    width: 200px;
    height: 0px;
    border-bottom: 1px dashed #555;
    content: "";
}

XXX.ji_topicIntro:before {
    position: absolute;
    top: -50px;
    left: 50%;
    top: auto;
    margin-left: -50px;
    width: 100px;
    height: 0px;
    border-top: 1px solid #fff;
    content: "";
}

.ji_paperReturn {
    text-align: center ! important;
    margin: 3em 0 0 0;
}

a.ji_button_1 {
    display: inline-block;
    padding: 12px 20px;
    background: #f9f9f9;
    border: 1px solid #ccc !important;
    color: #000 !important;
    text-align: center;
    text-decoration: none !important;
    transition: all .3s;
}

a.ji_button_1:hover,
a.ji_button_1:focus {
    background: #222;
    border: 1px solid #000 !important;
    color: #fff !important;
}

.ji_editLinkWrap {
    margin: 0 !important;
    padding: 10px 0 0 0 !important;
    text-align: right !important;
    font-size: 14px !important;
    color: #bb9524;
}

.ji_pagePapersList .ji_editLinkWrap {
    padding: 0 !important;
}

.tax-topics p + .ji_editLinkWrap {
    padding-top: 0 !important;
    padding-bottom: 10px !important;
}

.ji_editLinkWrap a.ji_editLink {
    font-weight: normal !important;
    color: #bb9524 !important;
}


/**
 * Forms.
 */
body .gform_wrapper {
    margin-top: 4.5rem;
}

body .gform_wrapper.gform_validation_error div.validation_error {
  background: #420707;
}

body .gform_wrapper li.gfield.gfield_error,
body .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
    background-color: transparent;
    border-color: #ff3e3e;
}

body .gform_wrapper div.validation_message,
body .gform_wrapper div.validation_error,
body .gform_legacy_markup_wrapper .gform_validation_errors > h2 {
    border-color: #ff3e3e;
    color: #ff3e3e;
    font-weight: 600;
}

body .gform_wrapper li.gfield_error div.ginput_complex.ginput_container label,
body .gform_wrapper li.gfield_error ul.gfield_checkbox,
body .gform_wrapper li.gfield_error ul.gfield_radio,
body .gform_wrapper li.gfield.gfield_error label {
    color: #ff3e3e;
}

body .gform_wrapper label.gfield_label {
    font-weight: 600;
}

body .gform_wrapper button:hover,
body .gform_wrapper button:focus,
body .gform_wrapper input[type="button"]:hover,
body .gform_wrapper input[type="button"]:focus,
body .gform_wrapper input[type="submit"]:hover,
body .gform_wrapper input[type="submit"]:focus {
    background: #414141;
    background: #5a2193;
}

body .gform_confirmation_wrapper .gform_confirmation_message {
    color: #fff;
    color: #222;
    text-align: center;
    padding: 20px 0;
    font-size: 1.5rem;
}


/**
 * Books Page.
 */
.page-books h2 + h3 {
    margin-top: -.75em;
    padding-top: 0;
    padding-bottom: 1em;
    font-weight: 300;
}

.page-books .wp-block-media-text {
    grid-template-columns: 30% 1fr;
}

.page-books .wp-block-media-text + .wp-block-heading,
.page-books .entry-content > h2.wp-block-heading {
    margin-top: 1.75em;
    border-top: 1px dashed #555;
    border-top: 1px dashed #ccc;
}

.page-books .wp-block-media-text__content h3:first-child ~ p {
    text-align: justify;
}

.page-books blockquote p {

}

.page-books blockquote p {

}

@media screen and (min-width: 600px) {

    .page-books .wp-block-media-text__content {
        padding-right: 0;
    }
}

@media screen and (max-width: 600px) {

    .page-books .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
        margin-top: 3rem;
    }

    .page-books .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media {
        text-align: center;
    }

    .page-books .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media img {
        margin: auto;
        width: 380px;
        max-width: 100%;
    }
}


/**
 * Homepage Fade In.
 */
.home:not(.admin-bar) .navigation-top,
.home:not(.admin-bar) .ji-header-logo {
    animation: fadeInAnimation ease 3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
    0% {
        margin-top: -100px;
        opacity: 0;
    }
    25% {
        margin-top: -100px;
        opacity: 0;
    }
    100% {
        margin-top: 0;
        opacity: 1;
     }
}

.home:not(.admin-bar) .ji-headerImage {
    animation: fadeInAnimation2 ease 4s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes fadeInAnimation2 {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
     }
}

/******
.navigation-top.site-navigation-fixed {
    background: rgba(255, 255, 255, .85);
}

.navigation-top .menu > li > a {
    transition: color .4s;
}

.navigation-top.site-navigation-fixed .menu > li > a {
    color: #222;
}
/******/