/* Fixing original template
 * Trying to override OJS style for article detail page
 */

/* full width for right and left bar*/
article.obj_article_details > div.row > div.main_entry {
    width: 100%;
    float: none;
}
article.obj_article_details > div.row > div.entry_details {
    width: 100%;
    float: none;
}

@media (min-width: 992px) {
    article.obj_article_details > div.row > div.main_entry {
        width: 100%;
        float: none;
    }
    article.obj_article_details > div.row > div.entry_details {
        width: 100%;
        float: none;
    }
}

@media (min-width: 1200px) {
    article.obj_article_details > div.row > div.main_entry {
        width: 100%;
        float: none;
    }
    article.obj_article_details > div.row > div.entry_details {
        width: 100%;
        float: none;
    }
}
@media (min-width: 768px) {
    article.obj_article_details > div.row > div.main_entry {
        width: 100%;
        float: none;
    }
    article.obj_article_details > div.row > div.entry_details {
        width: 100%;
        float: none;
    }
}

/* correct headdings margins */
h2.title.panel-title.collapsed {
    margin: 0;
color: white;
line-height: normal;
    padding: initial;

}
@media (max-width: 991px) {
    .container-fluid {
        margin-bottom: 0;
    }
}


/* remove right block */

div.pkp_structure_sidebar.left {
    display: none;
}

/* remove borders */
div.pkp_structure_main:before, div.pkp_structure_main:after {
    width: 0;
}
.obj_article_details .main_entry {
    border-right: 0;
}

/* popovers */
h3.popover-title {
    margin: 0;
    font-size: inherit;
}

/* Authors */
article.obj_article_details > ul.item.authors {
    padding-left: 0;
}
@media (min-width: 992px) {
    div.obj_article_details > ul.item {
        padding: 0;
    }
}

/* body color */
body {
    background-color: #e6e6e6;
}
div.page.page_article {
    background-color: white;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 40px 5px rgba(0,0,0,0.5);
}

/* fixing shadow */
div.page.page_article:after {
    background-color: #fff;
    height: 43px;
    content: "";
    position: absolute;
    bottom: 52px;
    left: 0;
    right: 15px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}
@media (max-width: 992px) {
    div.page.page_article {
        background-color: white;
        border-radius: 5px;
        padding: 20px;
        box-shadow: 0 40px 5px rgba(0,0,0,0.5);
    }

    div.page.page_article:after {
        background-color: #fff;
        height: 83px;
        content: "";
        position: absolute;
        bottom: -15px;
        left: 0;
        right: 0;
        border-bottom-right-radius: 5px;
        border-bottom-left-radius: 5px;
    }
    div#pkp_content_footer {
        margin-top: 50px;
background-color: 5a5a5a;
min-width: 100%;
    }
    div.pkp_structure_content.has_sidebar {
        padding-left: 0;
        padding-right: 0;
    }
}

div.fornav {
    background-color: white;
    border-radius: 5px;
    border-top-left-radius: 0;
    padding: 20px;
    margin-top: 34px;
 box-shadow: 0 0 5px rgb(193, 193, 193);
background: linear-gradient(#f6f6f6, white, white, white, white, white, white, white, white, white, white, white, white, white, white, white, white, white, white, white, white, white, white, white);
z-index: 0;
}


@media (min-width: 992px) {
    .obj_article_details .row {
        margin-left: 0;
        margin-right: 0;
    }
}
@media (min-width: 768px) {
    .obj_article_details .row {
        margin-left: 0;
        margin-right: 0;
    }
}



/* overriding OJS breadcrumbs on article page */
nav.cmp_breadcrumbs {
    display: block;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    margin-bottom: 20px;
}

nav.cmp_breadcrumbs > ol {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    nav.cmp_breadcrumbs {
        margin-top: 30px;
        margin-bottom: 0;
    }
    nav.cmp_breadcrumbs > ol {

    }
}

/* remove padding from pkp content main */
div#pkp_content_main {
    padding-left: 0;
}

@media (max-width: 991px) {
    div#pkp_content_main {
        padding-right: 0;
    }
}

/* overriding title block */
article.obj_article_details > div.row {
    border-top: 0;
    margin-top: 0;
}
div.page.page_article {
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
}

/* download galleys list */
div.item.galleys li.list-group-item {
    padding: 0;
}

/* back links to citation in-text inside references */
li.ref button.tocite {
    background-image: none;
    margin-top: 0px;
    color: rgba(77, 89, 102, 0.8);
}


.affix  {
      top: 0;
      position: top;
      background: #5a5a5a;
      background-color: rgba(255,255,255,.15);
      color: white;
      width: relative;
      text-align: left;
      left: auto;
right: auto;
      padding: 1;
      border: none;
      text-align: left;
width: 48%;
  }

.affix + .container-fluid {
     
background: #5a5a5a;
color: #5a5a5a;
text-align: center;

  }








.obj_article_details .abstract {
    text-align: justify;
}

#main {
    background-color: white;
background: white;
 
    }

 #header {
      position: fixed;
    }
    
    #content {
      margin-top: 100px;
    }

.pkp_structure_footer_wrapper{
  background: #5a5a5a;
  border-bottom: #5a5a5a;
min-width: 100%;
}

body.pkp_page_article.pkp_op_view {
    background: #ffffff;
    text-align: justify;
}

div.row > ul.ui-tabs-nav.ui-corner-all.ui-helper-reset.ui-helper-clearfix.ui-widget-header {
    background-color: #fff;
}

body.pkp_page_article.pkp_op_view div.pkp_structure_content.has_sidebar {
    background-color: #fff;
    text-align: justify;
}

div.page.page_article {
    background-color: white;
    border-radius: 5px;
    padding: 0px;
    box-shadow: 0 40px 5px rgb(193, 193, 193);
}


  div.fornav {
    background-color: white;
    border-radius: 5px;
    border-top-left-radius: 0;
    padding: 20px;
    margin-top: 34px;
    box-shadow: 0 0 5px rgb(193, 193, 193);
}

    background-image: linear-gradient(to bottom,#f6f6f6 0,#f6f6f6 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
    background-repeat: repeat-x;
}

.cmp_manuscript_button, .block_make_submission a, .obj_galley_link {
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    background: #f8f8f8;
    color: #5a5a5a;
    border: #5a5a5a;
}

nav.bs-docs-sidebar.affix {
    margin-top: 0;
    margin-left: 0;
    top: 0;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 0px;
    padding-right: 5px;
    background-color: rgba(255,255,255,.15);
    width: 100%;
    color: #5a5a5a;
    right: 60px;
    z-index: 2;
    overflow-y: auto;
    border-radius: 5px;
    box-shadow: 0 0 5px rgb(255, 255, 255);
    max-width: 346;
}

.affix-bottom {
    position: relative;
    bottom: 1px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
    padding-right: 5px;
    background-color: rgba(255,255,255,.15);
    width: 105.2%;
    border-radius: 5px;
    box-shadow: 0 0 5px rgb(255, 255, 255);
    color: #5a5a5a;
}

ol.article-list li {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 40px;
    border-radius: 3px;
    box-shadow: 0 0 3px rgba(0,0,0,0.3);
    width: 100%;
    color: #5a5a5a;
    padding-left: 0;
    padding-right: 0;
    background: linear-gradient(white, white, white, white, #e5e6e6);
}

body {
    background: #f6f6f6;
    text-align: justify;
}

.carousel-control.right {
    right: 0;
    left: auto;
    background-image: -webkit-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);
    background-image: -o-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);
    background-image: -webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));
    background-image: linear-gradient(to right,rgba(0,0,0,.0001) 0,rgb(246, 246, 246) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
    background-repeat: repeat-x;
}

.carousel-control.left {
    background-image: -webkit-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);
    background-image: -o-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);
    background-image: -webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,.0001)));
    background-image: linear-gradient(to right,rgb(246, 246, 246) 0,rgba(0,0,0,.0001) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
    background-repeat: repeat-x;
}

a {
    color: #333333;
    text-decoration: none;
}

.pkp_structure_page {
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 0;
}

h1.pkp_site_name, ul#navigationUser, .pkp_navigation_primary_wrapper, .pkp_structure_footer  {
    min-width: 100%;
}