/*
Theme Name: USMB Services
Theme URI: https://www.univ-smb.fr/
Description: Made by Neticpro
Version: 2018
Author: Aurélien Denis
Author URI: https://neticpro.fr/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: usmb
*/


/*--------------------------------------------------------------
	Basics
-------------------------------------------------------------- */


/* HTML */
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-family: 'arimo', sans-serif;
	padding-top: 160px;
}
a:hover, a:focus {
	text-decoration: none;
}
p {
	margin-bottom: 15px;
}
h1, .h1, h2, .h2, h3, .h3 {
	font-weight: 700;
	margin: 0 0 0.8em;
}
ul, ol { 
	padding-left: 0;
}
ul li {
	list-style: none;
}
blockquote {
	background: #f2f2f2;
	border-left: 15px solid #1a3e78;
	border-right: 2px solid #1a3e78;
	color: #111111;
	font-size: 16px;
	margin: 0 0 15px;
	padding: 15px 30px 15px 45px;
	position: relative;
}
blockquote::before{
	content: '\201c';
	font-size: 50px;
	font-weight: 700;
	color: #999;
	position: absolute;
	left: 10px;
	top:5px;
}


/* Alignements */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.625em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.625em;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}


/* Bootstrap */
.navbar-fixed-top.affix-top {
	position: absolute;
}
.navbar-logo a {
	display: inline-block;
}
.navbar-default {
	margin-bottom: 0;
}
.navbar-logo {
	display: inline-block;
}
.navbar-toggle {
	margin: 30px 10px 0 0px;
}
.navbar-toggle .icon-bar {
	border-radius: 4px;
	height: 3px;
	width: 32px;
}
.icon-bar {
	transition: all 200ms;
	width: 22px;
}
#top-bar {
	transform: rotate(45deg);
	transform-origin: 10% 10%;
}
#middle-bar {
	opacity: 0;
}
#bottom-bar {
	transform: rotate(-45deg);
	transform-origin: 10% 90%;
}
.collapsed #top-bar {
	transform: rotate(0);
}
.collapsed #middle-bar {
	opacity: 1;
}
.collapsed #bottom-bar {
	transform: rotate(0);
}
.form-control, .panel {
	box-shadow: none;
}
.form-control:-moz-placeholder, .form-control:-ms-input-placeholder, .form-control:-webkit-input-placeholder {
	color:#fff;
}


/* Top Navigation */
#top-navigation .navbar-toggle {
	margin: 10px 5px 10px;
	padding-right: 0;
}
#header-navigation .icon-bar {
	background-color: #fff;
}
#top-navigation {
	background-color: #1a3e78;
	font-size: 12px;
}
#top-navigation li a {
	padding: 10px 8px;
}


/* Quick Links */
#quick-links {
	display: inline-block;
}
#language-switcher + #quick-links {
	margin-left: 15px;
}
#quick-links button {
	background-color: rgba(255,255,255,.1);
	border: 0;
	color: #fff;
	margin: 6px 0;
	padding: 6px 12px;
}
#quick-links li a, .country-selector li a {
	font-size: 12px;
	padding: 6px 10px;
}
.country-selector.weglot-dropdown {
	background-color: transparent;
	color: #fff;
}
.country-selector.weglot-dropdown .wgcurrent {
	background-color: rgba(255,255,255,.1);
	border: 0;
	color: #fff;
}
#top-right-navigation a {
	color: #fff;
	font-size: 12px;
}
#top-right-navigation a:hover, #top-right-navigation a:focus, #social-links li a:hover, #social-links li a:focus, #language-switcher li a:hover, #language-switcher li a:focus {
	background-color: #275ac0;
}
#top-header {
	margin: 15px auto;
}
#top-header .icon-bar {
	background-color: #333;
}
#social-links li a {
	color: #fff;
}


/* Search Form */
#top-navigation .search-form {
	margin: 0 15px 0 5px;
	padding-bottom: 7px;
	padding-top: 7px;
}
#top-navigation .search-form input {
	background: rgba(255,255,255,.1);
	border-color: transparent;
	color: #fff;
	font-size: 12px;
	font-style: italic;
	height: auto;
	padding: 4px 8px;
}
#top-navigation .search-form input:focus {
	box-shadow: none;
}
#top-navigation .search-form input, #top-navigation .search-form .btn {
	border-color: transparent;
	color: #fff;
}
#top-navigation .search-form .btn {
	background: rgba(255,255,255,.2);
	margin: 0;
	padding: 2px 8px;
}


/* Language Switcher */
#language-switcher {
	display: inline-block;
	margin-bottom: 0;
}
#language-switcher.navbar-nav {
	margin: 0 -15px;
}
#language-switcher img {
	height: 18px;
	width: 24px;
}
#language-switcher li {
	display: inline-block;
}


/* Main Navigation */
#main-menu {
	margin-top: 45px;
}


/*--------------------------------------------------------------
	Home
-------------------------------------------------------------- */


/* Slider */
#hero .slides li:before {
	background-color: rgba(0, 0, 0, 0.2);
	content: '';
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 2;
}
#hero .slides li, #hero .container {
	position: relative;
}
#hero .slide-inner {
	letter-spacing: 0.1em;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	z-index: 5;
}
#hero img {
	margin: auto;
	position: relative;
	z-index: 1;
}
#hero .btn {
	color: #333;
	letter-spacing: 0.1em;
	padding: 8px 30px;
}
#hero h2 {
	color: #fff;
	font-size: 30px;
	font-weight: 300;
	margin: 0.8em 0 1.6em;
}
#hero .cat-item {
	color: #b2d7ec;
	font-size: 20px;
	font-weight: 700;
}
#hero .cat-item + .cat-item:before {
	content: '> ';
}


/* Accordion */
#accordion .panel-heading {
	background-color: #1a3e78;
	color: #fff;
}
#accordion.panel-group button {
	color: #fff;
}
#accordion.panel-group .panel-title {
	color: #fff;
}


/*--------------------------------------------------------------
	Archive
-------------------------------------------------------------- */


.blog article + article, .archive article + article, .archive .more-post article + article, .search article + article, .blog .more-post article, .archive .more-post article, .search .more-post article {
	border-top: 1px solid #e1e1e1;
	margin-top: 15px;
}
.blog h2.entry-title, .archive h2.entry-title {
	font-size: 24px;
}


/* Agenda */
.usmb-map {
	height: 500px;
	margin-bottom: 30px;
	width: 100%;
}


/* Search */
.topic-label {
	border-radius: 6px;
	color: #fff;
	font-size: 13px;
	padding: 2px 8px;
}
.hot {
	background-color: #c08b14;
}


/*--------------------------------------------------------------
	Singular
-------------------------------------------------------------- */


/* Post */
.single-post .entry-header img {
	margin-bottom: 15px;
}
.entry-content h2 {
	color: #1a3e78;
	font-size: 18px;
	margin: 0.8em 0 0.4em;
	text-transform: uppercase;
}
.entry-content h3, .entry-content h4 {
	font-size: 17px;
	margin: 2em 0 0.4em;
}
.entry-content h4 {
	color: #9e9d9d;
	
}
.entry-publication {
	color: #9e9d9d;
	
}
.entry-content ul, .entry-content ol {
	padding-left: 30px;
}
.entry-content ul li {
	list-style: disc;
}
.entry-content img:hover {
	opacity: 0.9;
}
.entry-content .form-inline {
	margin-bottom: 15px;
}
.single h2.entry-title {
	margin-bottom: 15px;
}
.media-object, .wp-post-image {
	border-radius: 6px;
}
.load-more {
	display: block;
	margin: 35px auto 0;
	padding: 6px 24px;
	position: relative;
	-webkit-transition: all .5s;
	-o-transition: all .5s;
	transition: all .5s;
}
.with-spinner {
	padding-right: 48px;
}
.with-spinner .spinner {
	display: inline-block;
}
.spinner {
	animation: sk-scaleout 1.0s infinite ease-in-out;
	background-color: #fff;
	border-radius: 100%;
	height: 30px;
	position: absolute;
	right: 10px;
	width: 30px;
	top: 2px;
	-webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
	display: none;
}
@-webkit-keyframes sk-scaleout {
	0% {
		-webkit-transform: scale(0)
	}
	100% {
		-webkit-transform: scale(1.0);
		opacity: 0;
	}
}
@keyframes sk-scaleout {
	0% { 
		-webkit-transform: scale(0);
		transform: scale(0);
	} 100% {
		-webkit-transform: scale(1.0);
		transform: scale(1.0);
		opacity: 0;
	}
}
#accordion-content .panel-body, .tab-content {
	padding: 15px;
}
.grid {
	display: flex;
	flex-wrap: wrap;
}
.grid h3 {
	font-size: 19px;
	margin: 1em 0 0.8em;
}
.grid ul {
	padding-left: 0;
}
.grid ul li {
	list-style: none;
}


/* Post Navigation */
.post-navigation {
	background-color: #fff;
	border-bottom: 1px solid #eaeaea;
	border-top: 1px solid #eaeaea;
	font-weight: 700;
	margin: 45px 0;
}
.post-navigation a {
	color: #3f3f3e;
	display: block;
	padding: 3.8461% 0;
}
.post-navigation a:hover, .post-navigation a:focus {
	opacity: 0.8;
	text-decoration: none;
}
.post-navigation span {
	display: block;
}
.post-navigation .meta-nav {
	color: #666;
	text-transform: uppercase;
}
.post-navigation .post-title {
	color: #999;
	font-size: 12px;
}
.post-navigation .nav-next,
.post-navigation .nav-previous {
	background-position: center;
	background-size: cover;
	display: inline-block;
	position: relative;
	vertical-align: text-top;
	width: 49%;
}
.post-navigation .nav-next {
	text-align: right;
}
.post-navigation a:before {
	content: '';
	display: block;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1;
}
.post-navigation a:hover:before,
.post-navigation a:focus:before {
	opacity: 0.5;
}
.post-navigation .nav-previous .meta-nav:before, .post-navigation .nav-next .meta-nav:after {
	color: #3f3f3e;
	font-family: usmb;
}
.post-navigation .nav-next .meta-nav:after {
	content: '\e907';
	margin-left: 5px;
}
.post-navigation .nav-previous .meta-nav:before {
	content: '\e908';
	margin-right: 5px;
}
.post-navigation .meta-nav {
	font-size: 13px;
}


/* Comments */
#comments {
	background-color: #f1f2f3;
	clear: both;
	margin-top: 30px;
	padding: 45px 30px 15px;
}
#comments li {
	border-bottom: 2px solid #dedfdf;
	margin-bottom: 30px;
	list-style: none;
	padding-bottom: 30px;
}
#comments label {
	display: block;
	font-size: 13px;
	font-weight: lighter;
}
h2.comments-title {
	color: #333;
	font-size: 24px;
	margin: 0 0 45px;
	text-transform: uppercase;
}
ol.comment-list {
	padding-left: 0;
}
h4.comment-author {
	font-size: 14px; 
	margin: 0 0 10px;
	text-transform: uppercase;
}
h4.comment-author a {
	color: #3f3f3e;
	font-weight: 600;
}
cite.fn {
	font-style: normal;
}
cite.fn .label {
	color: #b7b7b7;
}
.comment-meta a {
	color: #b7b7b7;
	font-family: 'Montserrat', sans-serif;
	font-size: 11px;
	text-transform: uppercase;
}
.reply {
	font-family: 'Montserrat', sans-serif;
	text-align: right;
	text-transform: uppercase;
}
a.comment-reply-link {
	font-size: 12px;
}
h3#reply-title {
	color: #333;
	font-size: 30px;
	margin-top: 0;
}
p.comment-form-author, p.comment-form-email, p.comment-form-url {
	float: left;
	margin-right: 2%;
	width: 49%;
}
p.comment-form-email {
	clear: both;
}
p.comment-form-url {
	margin-right: 0;
}
p.comment-form-comment {
	clear: both;
}
input#author, input#email, input#url {
	width: 100%;
}
textarea#comment {
	resize: vertical;
	width: 100%;
}
p.comment-notes {
	font-size: 12px;
}
#commentform {
	margin-bottom: 30px;
}


/* Page */
h1.entry-title {
	font-size: 20px;
	margin: 30px 0 15px;
}
h2.entry-title {
	margin: 30px 0 15px;
}
.panel-group button.collapsed:before {
	content: '\e906';
}
.panel-group button:before, .panel-group button {
	height: 42px;
	line-height: 42px;
	margin-right: 10px;
	width: 40px;
}
.panel-group button:before {
	content: '\e905';
	font-family: usmb;
	left: 0;
	font-size: 14px;
	font-weight: 700;
	position: absolute;
	top: 0;
}
.panel-group button {
	background: transparent;
	border: 0;
	border-right: 1px solid rgba(255, 255, 255, 0.5);
	color: #1a3e78;
	display: block;
	float: left;
	font-size: 24px;
	padding: 0;
	position: relative;
}
.panel-group .panel-heading {
	padding: 0;
}
.panel-group .panel-heading:hover {
	background-color: #e9e9e9;
}
.panel-group .panel-title {
	display: block;
	font-size: 14px;
	padding: 10px 45px;
}
.panel-group .panel-body > a {
	color: #7f7f7f;
	display: block;
	padding: 6px 9px 6px 45px;
}
.panel-group .panel-body > a:hover, .panel-group .panel-body > a:focus {
	background-color: #e9e9e9;
}


/* Event */
.google-map {
	height: 500px;
	width: 100%;
}


/*--------------------------------------------------------------
	Widgets
-------------------------------------------------------------- */


.widget {
	position: relative;
}
.sidebar .widget + .widget {
	margin-top: 30px;
}
.widget-title {
	border-bottom: 1px solid #e1e1e1;
	color: #7f7f7f;
	font-size: 18px;
	font-weight: 400;
	margin: 0 0 15px;
	padding-bottom: 15px;
	position: relative;
}
.widget-title:before {
	background: #1e1e1e;
	bottom: 0;
	content: '';
	display: block;
	height: 1px;
	position: absolute;
	width: 40px;
}
.widget .btn {
	position: absolute;
	right: 15px;
	top: 0;
}
.widget .btn:after {
	content: '\e900';
	font-family: usmb;
}
.widget_text a {
	display: block;
}
.widget_text img {
	margin-bottom: 5px;
}


/* Navigation Menu */
.sidebar .widget_nav_menu li + li, #sub-hero .widget_nav_menu li + li {
	border-top: 1px solid #e1e1e1;
}
.sidebar .widget_nav_menu li:hover, #sub-hero .widget_nav_menu li:hover {
	background-color: #f5f5f5;
}
.sidebar .widget_nav_menu li a, #sub-hero .widget_nav_menu li a {
	display: block;
	padding: 5px;
}
#sub-hero .widget_nav_menu li {
	padding: 5px;
}


/* Key Figures */
.widget.key_figures li {
	background-color: #1a3e78;
	color: #fff;
	padding: 15px;
}
.widget.key_figures li + li {
	margin-top: 5px;
}
.widget.agenda h4 {
	font-size: 16px;
}


/* Recent Posts */
.widget_recent_entries a {
	display: block;
}
.widget_recent_entries li + li {
	margin-top: 15px;
}


/* oEmbed */
#video-embed:before {
	color: #fff;
	content: '\e912';
	font-family: usmb;
	font-size: 90px;
	left: calc(50% - 38px);
	position: absolute;
	top: calc(50% - 64px);
	z-index: 1;
}
#video-embed:hover img, #video-embed:focus img {
	opacity: 0.8;
}


/* Marketing */
#bloc-main-content .btn {
	right: 0;
	top: -10px;
}
#bloc-main-content h4 {
	font-size: 18px;
}


/*--------------------------------------------------------------
	Footer
-------------------------------------------------------------- */


#footer {
	color: #7f7f7f;
	margin-top: 60px;
}
#footer-widgets {
	background-color: #f2f2f2;
	padding: 60px 0;
}
#footer-widgets .widget-title {
	border-bottom: 0;
}
#footer-widgets .widget_nav_menu a {
	color: #7f7f7f;
}
#legal {
	margin: 15px 0;
}


/*--------------------------------------------------------------
	Misc
-------------------------------------------------------------- */


.screen-reader-text {
	left: -1000em;
	position: absolute;
}
.updated:not(.published) {
	display: none;
}
img.gform_ajax_spinner {
	height: auto;
	margin-top: 45px;
	width: 32px;
}
.flex-center {
	align-items: center;
	display: flex;
	justify-content: center;
}
.vertical-center {
	align-items: center;
	display: flex;
	justify-content: center;
}
.vertical-bottom {
	align-self: flex-end;
}
.sep {
	margin: 60px 0;
}
.line-divider {
	border-bottom: 1px solid #e1e1e1;
}
#breadcrumb {
	background-color: #f2f2f2;
	font-size: 12px;
	margin-bottom: 30px;
	padding: 15px;
}
#jp-relatedposts {
	padding-top: 0;
}


/* Icons */
@font-face {
	font-family: 'usmb';
	src:
	url('assets/fonts/usmb.ttf?weiowt') format('truetype'),
	url('assets/fonts/usmb.woff?weiowt') format('woff'),
	url('assets/fonts/usmb.svg?weiowt#usmb') format('svg');
	font-weight: normal;
	font-style: normal;
}
[class^='icon-'], [class*=' icon-'] {
	font-family: 'usmb' !important;
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
}
.icon-arrow-forward:before {
	content: '\e900';
}
.icon-zoom:before {
	content: '\e901';
}
.icon-arrow-up:before {
	content: '\e902';
}
.icon-minus:before {
	content: '\e905';
}
.icon-plus:before {
	content: '\e906';
}
.icon-chevron-thin-right:before {
	content: '\e907';
}
.icon-chevron-thin-left:before {
	content: '\e908';
}
.icon-facebook2:before {
	content: '\ea91';
}
.icon-twitter:before {
	content: '\ea96';
}
.icon-youtube2:before {
	content: '\ea9e';
}
.icon-play:before {
	content: '\e912';
}


/* Cookies */
.widget_eu_cookie_law_widget.widget {
	bottom: 1em;
	display: none;
	left: 1em;
	margin: 0;
	padding: 0;
	position: fixed;
	right: 1em;
	width: auto;
	z-index: 100;
}
#eu-cookie-law {
	background-color: #fff;
	border: 1px solid #f6f1ee;
	overflow: hidden;
	padding: 6px 6px 6px;
}
#eu-cookie-law a,
#eu-cookie-law a:active,
#eu-cookie-law a:visited {
	color: inherit;
	cursor: inherit;
	text-decoration: underline;
}
#eu-cookie-law a:hover {
	cursor: pointer;
	text-decoration: none;
}
#eu-cookie-law.negative {
	background-color: #000;
	border: none;
	color: #fff;
}
#eu-cookie-law input,
#eu-cookie-law input:hover,
#eu-cookie-law input:focus {
	float: right;
	position: static;
}


/*--------------------------------------------------------------
	Media Queries
-------------------------------------------------------------- */


@media (max-width: 768px) {
	.navbar-header {
		margin-bottom: 15px;
	}
	#footer {
		margin-top: 15px;
	}
	.sep {
		margin: 30px 0;
	}
	#main-navigation > li > a {
		padding-bottom: 0;
		padding-top: 0;
	}
}
@media (min-width: 992px) {
	.grid div {
		margin: 0 1.905% 30px;
		width: 29.52%;
	}
}
@media (max-width: 1200px) {
	.flex-direction-nav {
		display: none;
	}
	#hero img {
		min-height: 240px;
	}
	#hero h2 {
		font-size: 18px;
		margin: 0.4em 0 0.8em;
	}
	#hero .btn {
		padding: 4px 20px;
		font-size: 12px;
	}
}