/*
	Theme Name: V1 Child
	Template:V1
*/

#header:not(.scrolled) .logo-holder {position:absolute;height:223px;z-index:100;background-color:#fff;padding:20px;}
#header:not(.scrolled) .logo-holder img {padding:0;}

#header.scrolled .menu li a:hover {color:#2879bd;}

.fancy-box {display:block;background-size:cover;background-position:center;position:relative;padding-bottom:50%;}
.fancy-box:before {content:'';position:absolute;top:0;left:0;right:0;bottom:0;background-color:black;opacity:0.25;transition:all 500ms;}
.fancy-box .banner {background-color:currentColor;position:absolute;top:50%;left:0;transform:translate(-10px,-50%);padding:20px 30px;}
.fancy-box .banner h3 {color:#fff;line-height:40px;}
.fancy-box:hover:before {background-color:currentColor;opacity:0.4;}

.jawn_button {position:relative;transform:perspective(1px) translateZ(0);}
.jawn_button:before {content:"";position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;transform:scaleX(0);transform-origin:0 50%;transition:transform 500ms ease-out;}
.jawn_button:hover:before {transform:scaleX(1);transition-timing-function:cubic-bezier(0.52,1.64,0.37,0.66);}

.jawn_button.button_style_1 {background-color:#c0b630;color:#fff;}
.jawn_button.button_style_1:before {background-color:#2879bd;}

#content .jawn_row.row_full,
#footer {padding:0 50px;}

.socials li {display:inline-block;margin:0 5px;}
.socials li a {font-size:30px;}

.event {background-color:#ededed;padding:50px;}
.event:hover {background-color:#c0202f;}
.event h5 {font-weight:bold;margin:0 auto 10px;max-width:275px;transition:color 500ms;}
.event:hover h5 {color:#fff;}
.event p {color:#c0202f;transition:color 500ms;}
.event:hover p {color:#f5bb21;}

.hover-box {background-size:cover;background-position:center;padding-bottom:100%;position:relative;margin-bottom:30px;}
.hover-inner {position:absolute;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,0.35);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px;transition:background-color 500ms;}
.hover-inner:hover {background-color:rgba(0,0,0,0.75);}
.hover-box h4 {color:#fff; font-weight: 600;}
.hover-content {display:none;}
.hover-content .sep {height:2px;width:100%;background-color:#fff;margin:10px auto;}
.hover-content p {color:#fff;}

body.single-post .title-area h1 {display:none;}
.single-post .post-image img {max-width:700px;}

.publication-grid .text {flex: 50%; padding: 35px 25px;}
.publication-grid .publication > .publication-image {flex: 50%; display: flex; align-items: center;}
.publication-grid .image {position: relative;display: inline-block;}
.publication-grid .image:before {position: absolute; content: ''; top: 0; left: 0; width: 100%; height: 100%; background: rgb(40,121,189, .5); opacity: 0; transition: .5s;}
.publication-grid .publication-image a:hover:before {opacity: 1;}
.publication-grid .publication {display: flex;}
.publication-grid .publication:not(:last-child) {margin-bottom: 40px; border-bottom: 1px solid #e4e4e4; padding-bottom: 40px;}
.publication-grid h2 {font-size: 22px; line-height: 32px; font-weight: 700; color: #464646;}
.publication-grid p {color: #464646;}
.publication-grid a:hover h2 {color: #2879bd;}
.publication .text p {margin-bottom: 5px !important;}
.publication-grid .author:not(:last-child) {margin-right: 10px;}
.publication-grid .author:not(:last-child):after {content: ',';}
.publication-grid .category, .publication-grid .authors, .publication-grid .publication-date {font-size: 16px !important;}
.publication-grid p:last-child {margin-top: 15px;}

p.publication-category {margin-bottom: 7px !important;}
.publication-category a:hover {color: #c0b630 !important;}

.tax-publication-category .publication-grid h2 {color: #2879bd; font-size: 20px; line-height: 24px; transition: .5s;}
.tax-publication-category a {transition: .5s;}
.tax-publication-category .publication-grid h2:hover, .tax-publication-category .publication-grid a:hover {opacity: .7;}
.tax-publication-category .blog-holder-outer {padding: 100px 0;}

@media only screen and (max-width:1560px){
	.logo-holder {height:120px!important;padding:25px!important;}
	header .menu > li > a{font-size:16px;}
	.header-standard.sticky.scrolled .logo-holder img {padding:0px 0;}
	.header-standard.sticky.scrolled .menu > li > a {line-height:120px!important;}
}
@media only screen and (max-width:1300px){
	#header:not(.scrolled) .menu > li > a{padding-left:7px;padding-right:7px;font-size:14px;}
	.header-standard.sticky.scrolled .menu > li > a {padding-left:6px;padding-right:6px;font-size:14px; }
	#header:not(.scrolled) .logo-holder {height:100px!important;}
	
	.title-area-inner h1 {font-size:80px;}
}
@media only screen and (max-width:1023px){
	#header:not(.scrolled) span.hamburger-box {margin-top:110px;}
	header .menu > li > a{color:black!important;}
	header .menu .sub-menu a {color:black!important;font-size:14px;}
	.header-standard.sticky.scrolled .menu > li > a {line-height:33px!important;}
	#mobile-header .menu-item span:hover{color:rgba(40,121,189,1);}
	
	.title-area-inner h1 {margin-top:69px;font-size:60px;line-height: 70px;}
	
	.footer-top-inner {display:flex;justify-content:center;}
	.footer-top-inner > div {width:90%;}
	.footer-top li {font-size:11px;}
	
}

@media (max-width: 768px) {
	.tax-publication-category .title-area {height: 300px !important;}
}

@media only screen and (max-width:767px){
	#header:not(.scrolled) .logo-holder {height:80px!important;padding:15px!important;}
	#header:not(.scrolled) span.hamburger-box {margin-top:80px;}
	.title-area-inner h1 {font-size:38px;line-height:45px;}
	.title-area.type-image {height:250px!important;}
	.blog-holder-outer h4.blog-title a {font-size:20px;}
	.blog-holder-outer span.post-date {font-size:20px;}
	.single-post .post-image img {max-width:80vw;}
	.single-post h2.post-title {font-size:40px}
	
	.publication-grid .publication {flex-wrap: wrap;}
	.publication-grid .publication > .publication-image, .publication-grid .text {flex: 100%;}
	.publication-grid .text {padding: 20px 0 0 0;}
	
	#footer {padding:0px;}
}
