/* BUSH STYLES
 ADD CLASS 'inner-pages' to the primary container div
 <div id="frontiers" class="container inner-pages">
*/

/********OVERRIDES********/
.navbar {
    display:block;
}
.tagline {
    max-width: 1400px;
    margin:auto;
    margin-top:-5px;
    margin-bottom:5px;
    padding-left:34px;
    color:#1c1a19;
    font-size:14px;
    font-style:italic;
}
a {
    color:var(--wcet-main-blue);
}
.navbar.sample-nav {
    background:var(--wcet-main-blue);
}
.inner-pages h2:not(.section-heading):before {
    background:#ce6d15;
}

#frontiers.inner-pages a:not(.btn), #frontiers.inner-pages a:not(.btn):hover {
	text-decoration: none;
}

#frontiers.inner-pages a:not(.btn):hover {
    color: var(--wcet-main-blue) !important;
}

#frontiers.inner-pages .widget .wiche_tagcloud a:focus:focus-visible {
    color: #0F2548 !important;
    background: #a5b99c;
}


/********BLOG********/

article.featured,article.post_detail_head {
    padding: 20px;
    margin: 20px 0;
    background-color: #fff;
}
article.featured {
    box-shadow: 2px 2px 8px 0px #858585;
    transition: box-shadow 1s, background-color 1s;
}
article.featured:hover {
    background-color: #EEE;
    box-shadow: 2px 2px 12px 0px #858585;
}
article.featured h1,article.post_detail_head h1 {
    color:#212529;
    font-size:300% !important;
    border-bottom:none !important;
    margin:0px;
    padding-left:25px;
}
article.featured p,article.post_detail_head p {
    color:#212529;
    padding-left:30px;
    margin-bottom: 5px;
}

article.list {
    margin-bottom:4%;
}
article.list img {
    width:100%;
}
article.list h2 {
    padding-left:0px !important;
    color:#212529;
}
article.list h2:hover {
    text-decoration: none;
}
article.list h2:before {
    content:none !important;
}
article.list div.col-md-3 p {
    display:none;
}
article.list div.col-md-9 p:first-of-type, article.featured div.col-md-10 p:first-of-type {
    color:rgba(0,0,0,.5);
    border-bottom:solid 1px #ccc;
    padding-bottom:5px;
}


#frontiers .pagination .page-numbers {
    position: relative;
    padding: .5rem .75rem;
    margin-left: -6px;
    display: inline-block;
    line-height: 1.25;
    background-color: #fff;
    border: 1px solid #dee2e6;
}
#frontiers .pagination a.page-numbers:hover {
    z-index: 2;
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6;
}
#frontiers .pagination .page-numbers:first-child {
    margin-left: 0;
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
}
#frontiers .pagination .page-numbers:last-child  {
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem;
}
#frontiers .pagination .page-numbers.current  {
    background-color: rgba(139, 163, 212, 0.8);
    border-color: rgba(139, 163, 212, 0.8);
    z-index: 3;
    color: #fff
}
#frontiers .pagination {
    text-align: center;
    display:block;
    font-size:20px;
    margin-bottom: 30px;
}
#frontiers .pagination a {
    padding:0px 5px;
}

#frontiers_sponsors {
    padding:40px;
}

.widget {
    padding-bottom:50px;
    background-color:#f2f2f2;
    padding:25px;
}
.widget_blog_subscription {
    background-color:var(--wcet-main-blue);
    margin-top:-100px;
    margin-right:-1px;
}
.widget_blog_subscription h2 {
    padding-left:0px !important;
    font-weight: bold;
    color:#fff;
}
.widget_blog_subscription h2:before {
    content:none !important;
}
.widget_blog_subscription p {
    color:#fff;
}
.widget_blog_subscription input {
    border:none;
    width:100%;
    padding:5px 10px;
}
.widget_blog_subscription button {
    background-color:#a5b99c;
    border:none;
    color:#212529;
    font-weight: bold;
    text-transform: uppercase;
    padding:10px 20px;
}

.widget_blog_subscription .error a {
    color: white !important;
}

.widget_categories ul {
    list-style-type: square;
    padding-left:40px;
    display:flex;
    flex-wrap: wrap;
}
.widget_categories ul > li {
    margin-bottom:10px;
    font-size:18px;
    padding-right:30px;
}

.tagcloud {
    text-align: center;
}
.tagcloud a {
    color:#212529;
    display:inline-block;
    padding:1px 6px;
}
.tagcloud a:hover {
    color:var(--wcet-main-blue);
}

.widget_archive select {
    padding:10px;
    width:calc(100% - 20px);
}

.widget_twitter_timeline iframe {
    width:calc(100% - 12px) !important;
    margin-left:12px;
    height:800px !important;
}

.widget .tagcloud a, .wp-block-tag-cloud a {
	display: inline-block;
	border: 1px solid #CCC;
	padding: 3px;
	margin: 3px;
	background: #FFF;
}
.widget .tagcloud a:hover, .wp-block-tag-cloud a:hover {
	background: #a5b99c;
}

/* Fix extra white space due to headings being moved to individual blocks (due to new WP widget blocks), Ticket T20211130.0006  */
#frontiers .widget_archive, #frontiers .widget_tag_cloud { margin-top: -40px; }

@media screen and (max-width: 768px) {
    article.featured {
        margin-top:110px;
    }
    article.featured h1 {
        font-size:100% !important;
    }
    article.list img, article.featured img {
        width:100%;
        height:200px;
        object-fit: cover;
        margin-bottom:20px;
    }
    .widget_blog_subscription {
        margin-top:20px;
    }
}
/* BLOG DETAIL */

div.wp-block-media-text {
    background-color:#8ba3d4;
    margin:50px 0px;
}
div.wp-block-media-text p {
    color:#fff;
}
div.wp-block-media-text .wp-block-media-text__content {
    padding:0 25px;
}
div.prev-next {
    margin:25px 0px;
}
div.prev-next p {
    color:#ce6d15;
    border-bottom:solid 4px #ce6d15;
}
div.prev-next h3 {
    font-size:1.25em;
}

@media screen and (max-width: 768px) {
    article.featured h1 {
        font-size:100% !important;
    }
    article.list img {
        width:100%;
        height:200px;
        object-fit: cover;
        margin-bottom:20px;
    }
    .widget_blog_subscription {
        margin-top:20px;
    }
}

#frontiers .pagination .page-numbers {
    position: relative;
    padding: .5rem .75rem;
    margin-left: -6px;
    display: inline-block;
    line-height: 1.25;
    background-color: #fff;
    border: 1px solid #dee2e6;
}
#frontiers .pagination a.page-numbers:hover {
    z-index: 2;
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6;
}
#frontiers .pagination .page-numbers:first-child {
    margin-left: 0;
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
}
#frontiers .pagination .page-numbers:last-child  {
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem;
}
#frontiers .pagination .page-numbers.current  {
    background-color: rgba(196, 216, 255, 0.3);
    border-color: rgba(139, 163, 212, 0.8);
    z-index: 3;
	color: #000 !important;
}
#frontiers .pagination {
    text-align: center;
    display:block;
    font-size:20px;
    margin-bottom: 30px;
}
#frontiers .pagination a {
    padding:0px 5px;
}

#frontiers_sponsors {
    padding:40px;
}

#frontiers.inner-pages .widget .wiche_tagcloud a:not(.btn):hover {
    color:#000 !important;
}

#frontiers ul.pagination {
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: .25rem;
  }
  #frontiers ul.pagination .page-item a.page-link {
    padding: .5rem .75rem;
  }

#frontiers.inner-pages a:not(.btn) {
    text-decoration: underline;
    color: var(--wcet-main-blue);
}
#frontiers.inner-pages a:not(.btn):hover {
    color: var(--wcet-main-blue);
    text-decoration: none;
}

#frontiers.inner-pages a:not(.btn):hover h1, #frontiers.inner-pages a:not(.btn):hover h2 {
    text-decoration: none;
}

#frontiers article .container a {
    display: inline-block;
}