/*
 Theme Name:   Westmount
 Theme URI:    http://www.westmount.org
 Description:  Westmount child theme
 Author:       Thierry Lavergne
 Author URI:   http://www.kokomoweb.com
 Template:     colormag
 Version:      1.0.0
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  westmount
 */

 /*( @import url("../colormag/style.css"); */

/* Custom css
-------------------------------------------------------------- */

body {
	-webkit-overflow-scrolling: touch;
	font-family: 'Merriweather', sans-serif !important;
	font-weight: 400;
}

a {
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

a:hover {
	text-decoration: none !Important;
}

#main {
	background-color: #f4f4f4;
	padding: 0;
}

.inner-wrap {
	margin: auto;
	position: relative;
}

.content-pad {
	padding: 20px;
	box-sizing: border-box;
	background-color: #fff;
	margin-bottom: 20px;
	box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1);
}

body a#scroll-up i {
	color: #f4f4f4;
}

header .news-bar li a {
	color: #021E2F;
	text-transform: uppercase;
	font-weight: 700;
	font-family: 'Raleway', sans-serif;
}

p {
	font-family: 'Merriweather', sans-serif;
	font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Lato', sans-serif !important;
	font-weight: 400 !important;
}

h1, .type-post .entry-title, .type-page .entry-title {
	font-size: 30px;
}

h2 {
	font-size: 20px;
}

h4 {
	font-size: 17px;
	font-weight: bold;
}

h5 {
	font-size: 15px;
	font-weight: 600;
}

thead th {
	background-color: #f4f4f4;
}

.home .vc_column_container>.vc_column-inner {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.home .vc_cta3-container, .home .ubtn-ctn-left  {
	margin-bottom: 0 !important;
}


.fa {
	color: inherit;
}
.breadcrumb {
	font-size: 12px;
	padding-bottom: 15px;
	padding-top: 15px;
	text-align: right;
}

.entry-content ul, .entry-content ol {
	padding: 0;
}

.entry-content li {
	line-height: 1.9;
	list-style-type: disc;
	font-family: 'Merriweather', sans-serif;
	border-top: 1px solid #F4F4F4;
	list-style-type: none;
	font-size: 15px;
	padding-left: 20px;
}

.entry-content li:before {    
	font-family: 'FontAwesome';
	content: '\f105';
	margin:0 10px 0 -35px;
	padding: 0px 0px 0px 20px;
}

.juiz_sps_links ul .juiz_sps_item:before, .vc_slide .vc_carousel-indicators li:before {
	content: none;
}

.main-navigation li.menu-item-has-children > a:after, .main-navigation li li.menu-item-has-children > a:after, .main-navigation li.page_item_has_children > a:after, .main-navigation li li.page_item_has_children > a:after {
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    color: #ffffff;
    font-size: 13px;
    padding-left: 6px;
}

.main-navigation ul li ul {
    top: 40px;
}


.entry-content li:first-child  {
	border: none;
}

.single .featured-image img {
	width: 100%;
}

.video-container {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
	margin-bottom: 20px;
}
.video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Header */

#header-text-nav-wrap {
	padding: 20px 0px 5px;
}


header .news-bar {
	padding: 4px 0px 4px;
	font-size: 10px;
}

header .news-bar li a {
	color: #021e2f;
	text-transform: uppercase;
	font-weight: 700;
}

header .news-bar li a:hover {
	color: #7e0c00;
}

#menu-top-menu-fr, #menu-top-menu-en {
	text-align: center;
}


.social-links {
	margin-left: 10px;
	margin-top:-2px;
}
.news-bar .social-links a:hover i {
	background: #f4f4f4;
}
.news-bar .social-links i.fa-facebook, .news-bar .social-links i.fa-twitter, .news-bar .social-links i.fa-youtube, .news-bar .social-links i.fa-instagram {
	background: #021E2F;
	color: #fff;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	text-align: center;
	line-height: 15px;
	vertical-align: middle;
	padding: 15px;
	margin-left: 4px;
	
}

#masthead .social-links i.fa {
	font-size: 15px;
	padding: 5px;
}

.main-navigation a {
	font-family: 'Raleway', sans-serif;
	font-weight: 400;
	font-size: 13px;
}

.sub-menu, .sub-menu li {
	z-index: 10000 !important;
}

.popover-image {
	z-index: 100 !important;
}
.info-icon {
	z-index: 101 !important;
}

#header-text-nav-container {
	position: relative;
}

.news-bar {
	position: absolute;
	box-shadow: none;
	right: 0;
	top: 0;
	z-index: 1000;
	display: none;
}

.menu-top-menu-fr-container, .menu-top-menu-en-container {
	display: inline-block;
}

.home #header-text-nav-container .inner-wrap {
	position: relative;
}

#site-navigation {
	background-color: #021e2f;
}

.main-navigation .sub-menu, .main-navigation .children {
	background-color: #021e2f;
}

.menu-top-menu-fr-container ul li:last-child, .menu-top-menu-en-container ul li:last-child {
	display: none !important;
}

#masthead #site-navigation {
	border-top: none;
	background-color: #021e2f;
}

.lang-select { 
	position: absolute;
	right: 0;
	bottom: 0;
	background-color: #7E0E00;
	padding: 6px 18px;
}
.lang-select a {
	color: #fff;
	font-family: "Montserrat",sans-serif;
}

.main-navigation .home-icon a {
    padding: 6px 10px 5px;
}

@media screen and (min-width: 768px) {
	header .news-bar {
		padding: 8px 0px 4px;
		font-size: 13px;
		display: block;
	}
	#menu-top-menu-fr, #menu-top-menu-en {
		text-align: right;
		float:right;
	}
	
	.menu-primary-container .menu-item-language {
		float: right;
	}
	
	nav .fa.search-top {
		display: none;
	}
	.mobile-lang-select {
		display:none;
	}
}

.main-small-navigation a {
	padding: 10px;
	font-weight: bold;
}



.main-small-navigation ul ul a {
	padding-left: 30px;
	text-transform: none;
	font-weight: normal;
}

.main-small-navigation ul ul ul a {
	padding-left: 50px;
}

#menu-top-menu-fr li, #menu-top-menu-en li {
	display: inline-block;
	margin-left: 10px;
}

nav .fa.search-top {
	right: 0;
}
#header-right-section {
	margin-top: 30px;
}

#header-right-section input.s {
	height: 20px;
	
}

#header-right-section .search-wrap input.s {
	width: 490px;
}

#header-right-section button {
	line-height: 27px;
	padding: 0px 5px;
}
@media screen and (max-width:768px) {

	.news-bar {
		position:relative;
	}

	.menu-primary-container .custom-switcher {
		display: none;
	}
	.mobile-lang-select {
		display: block !important;
		text-align: left !Important;
	}
	#header-right-section {
		display:none;
	}
	.main-small-navigation li {
		background-color: transparent;
	}
	
	.main-small-navigation .mobile-lang-select {
		padding-top: 0;
	}
	
	.main-small-navigation a { 
		color: #fff;
	}
	
	.menu-menu-principal-fr .sub-menu, .menu-menu-principal-en .sub-menu {
		background-color: #273341;
	}

}

@media screen and (max-width: 600px) {
	.lang-select, #menu-top-menu-fr #menu-item-11687 {
		display: none;
	}
	
	.widget_featured_slider .slide-content .entry-title {
		font-size: 16px !Important;
	}
	
	.widget_beside_slider {
		display: none;
	}
	
	.westmount-events .following-post figure, .home .following-post figure {
		float: none !important;
		margin-right:0 !important;
		margin-bottom: 10px;
	}
	
	.home .following-post figure img {
		width: 100%;
	}
	
	.home .single-article .article-content {
		padding: 10px;
	}
	.event img {
		width: 100%;
	}
}


}

/* Blog */

.archive #content .post .article-content .entry-title {
	font-size: 22px;
}

.blog .post:nth-child(2n+1), .archive #content .post:nth-child(2n+1) {
	float: left;
	width: 48.7013%;
	clear: both;
}

.blog .post:nth-child(2n+2), .archive #content .post:nth-child(2n+2) {
	float: right;
	width: 48.7013%;
	clear:none;
}

.pagination {
	clear: both;
	text-align: center;
}
ul.page-numbers {
	list-style: none;
	display: inline-block;
}

.page-numbers:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

ul.page-numbers li {
	display: block;
	float: left;
	margin: 0 4px 4px 0;
	text-align: center;
}

.page-numbers a,
.page-numbers span {
	line-height: 1.6em;
	display: block;
	padding: 0 8px;
	height: 24px;
	line-height: 24px;
	font-size: 12px;
	text-decoration: none;
	font-weight: 400;
	cursor: pointer;
	border: 1px solid #ddd;
	color: #888;
}

.page-numbers a span { padding: 0 }

.page-numbers a:hover,
.page-numbers.current,
.page-numbers.current:hover {
	color: #fff;
	background: #7E0E00;
	text-decoration: none;
}

.page-numbers:hover { text-decoration: none }


.previous a, .next a {
	padding: 5px 0px;
	cursor: pointer;
	font-size: 14px;
}


/* Visual composer */

.wpb_single_image .vc_figure {
	display: inherit !important;
}

.vc_row h3.widget-title {
	border-bottom: 2px solid #7E0E00;
	margin-bottom: 15px !important;
	padding-bottom: 0px;
	margin-top: 0;
	font-size: inherit;
}

.widget-title span {
	background-color: #7E0E00;
	color: #FFF;
	padding: 6px 12px;
	display: inline-block;
	font-size: 16px;
}

.wpb_wrapper .wpb_content_element {
	margin-bottom: 0;
}

.wpb_wrapper .wpb_content_element .wpb_accordion_wrapper .wpb_accordion_header, .wpb_wrapper .wpb_content_element.wpb_tabs .wpb_tour_tabs_wrapper .wpb_tab, body .vc_tta-color-white.vc_tta-style-flat .vc_tta-panel .vc_tta-panel-heading, body .vc_tta-color-white.vc_tta-style-flat .vc_tta-panel.vc_active .vc_tta-panel-heading {
	background-color: #F0F0F0;
}

.wpb_wrapper .wpb_accordion .wpb_accordion_wrapper .wpb_accordion_header, h4.vc_tta-panel-title {
	font-size: 14px;
}

h3.wpb_accordion_header, h4.vc_tta-panel-title {
	margin-bottom: 0;
	padding-bottom: 0;
}

.vc_tta.vc_tta-controls-align-left .vc_tta-tabs-container, .vc_tta.vc_tta-controls-align-left .vc_tta-panel-heading {
	margin-bottom: 1px;
}

.wpb_wrapper .wpb_accordion_content, body .vc_tta.vc_general .vc_tta-panel-body {
	border-left: 1px solid #f4f4f4;
	border-right: 1px solid #f4f4f4;
	border-bottom: 1px solid #f4f4f4;
}
.ult_price_action_button  .ult_design_4 .ult_pricing_table .ult_price_body_block {
	top: 3px;
	font-size: 0;
}

.ult_price_action_button .ult_design_4 .ult_pricing_table .ult_price_body {
	font-size: 0;
	margin-bottom: 0 !important;
}

.ult-just-icon-wrapper  .aio-icon-img .img-icon  {
	margin-bottom: 0;
}

.ultimate-call-to-action .ctaction-icon-left-push {
	left: 20px;
	top: 50%;
	margin-top:-18px;
	transform:none;
}

.vc_images_carousel {
	max-width: 100%;
}

.home .wpb_video_widget .wpb_wrapper .wpb_video_wrapper {
	padding-top: 0;
}


.home .wpb_single_image .vc_single_image-wrapper, .home .wpb_single_image .vc_single_image-wrapper img {
	width: 100%;
}

.home .ult-banner-block.ult-banner-block-custom-height img {
	height: auto;
	width: 100%;
}

.page .ult_pricing_table .ult_pricing_heading h3 {
	font-size: 15px;
}

.home .ult-banner-block h3.bb-top-title {
	background-color: #373737;
}

/* Sidebar */

#secondary aside .current_page_item a {
	color: #7E0E00;	
	font-weight: bold;
}

/* Widgets */

#secondary .widget a  {
	color: #021e2f;
}

#secondary .widget a:hover {
	color: #7e0c00;
	text-decoration: none;
}
/* footer */
.tg-first-footer-widget, .tg-second-footer-widget, .tg-third-footer-widget,  .tg-fourth-footer-widget {
	width: 100%;
	float: left;
	margin: 0;
}

.widget_mc4wp_widget input[type="email"] {
	margin: 0px 0px 20px;
	font-size: 13px;
}

.widget_mc4wp_widget input[type="submit"] {
	font-size: 13px;
	padding: 5px 10px;
	
}

#colophon, #colophon p {
	margin-top: 40px;
}

.footer-widgets-wrapper {
	border-top: 1px solid #F2F2F2;
	background-color: #021e2f;
}
@media screen and (min-width:767px) {

	.tg-first-footer-widget, .tg-second-footer-widget, .tg-third-footer-widget,  .tg-fourth-footer-widget {
		width: 22%;
		float: left;
	}
	
	.tg-first-footer-widget, .tg-second-footer-widget, .tg-third-footer-widget {
		margin-right: 4%;
	}
	
	.tg-fourth-footer-widget {
		margin-right: 0;	
	}

}

@media screen and (min-width: 421px) and (max-width:768px) {
	
	.tg-first-footer-widget, .tg-second-footer-widget, .tg-third-footer-widget,  .tg-fourth-footer-widget {
		width: 48%;
		float: left;
	}
	
	.tg-fourth-footer-widget, .tg-second-footer-widget {
		margin-right: 0;	
	}
	
	.tg-third-footer-widget  {
		clear:both;
	}
	
}


/* Blog */

.blog #content .post .article-content .entry-title {
	font-size: 24px;
}

/* Pages 

.page #content {
	box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1);
}

.page .article-content, #content .post .article-content {
    padding: 25px;
}
*/

.page-featured-image {
	max-width: 1140px;
	margin: auto;
	padding: 0;
}

.page-featured-image img {
	margin: 0;
	padding: 0;
}

.page .entry-header {
	
}

.home #primary {
	width: 100%;
}

.home .breadcrumb {
	padding-top: 0;
}

.home .vc_row {
	margin-left: -5px;
	margin-right: -5px;
}

.home .vc_col-xs-1, .home .vc_col-sm-1,.home .vc_col-md-1,.home .vc_col-lg-1,.home .vc_col-xs-2,.home .vc_col-sm-2,.home .vc_col-md-2,.home .vc_col-lg-2, .home .vc_col-xs-3, .home .vc_col-sm-3,.home .vc_col-md-3,.home .vc_col-lg-3,.home .vc_col-xs-4,.home .vc_col-sm-4,.home .vc_col-md-4,.home .vc_col-lg-4,.home .vc_col-xs-5,.home .vc_col-sm-5,.home .vc_col-md-5,.home .vc_col-lg-5,.home .vc_col-xs-6,.home .vc_col-sm-6,.home .vc_col-md-6,.home .vc_col-lg-6,.home .vc_col-xs-7,.home .vc_col-sm-7,.home .vc_col-md-7,.home .vc_col-lg-7,.home .vc_col-xs-8,.home .vc_col-sm-8,.home .vc_col-md-8,.home .vc_col-lg-8,.home .vc_col-xs-9,.home .vc_col-sm-9,.home .vc_col-md-9,.home .vc_col-lg-9,.home .vc_col-xs-10,.home .vc_col-sm-10,.home .vc_col-md-10,.home .vc_col-lg-10,.home .vc_col-xs-11,.home .vc_col-sm-11,.home .vc_col-md-11,.home .vc_col-lg-11,.home .vc_col-xs-12,.home .vc_col-sm-12,.home .vc_col-md-12,.home .vc_col-lg-12 {
	padding-left: 5px;
	padding-right: 5px;
}

.home .wpb_row, .home .wpb_content_element, .home ul.wpb_thumbnails-fluid > li, .home .last_toggle_el_margin, .home .wpb_button {
	margin-bottom: 0;
}

.home .slide-content .comments, .home .slide-content .author, .home .widget_beside_slider .comments {
	display: none;
}

.home .widget_featured_slider .slide-content {
	background: transparent linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7)) repeat scroll 0% 0%;
	width: 90%;
	padding-right: 5%;
	box-sizing: content-box;
}

.home .widget_highlighted_posts .article-content .below-entry-meta .byline a:hover, .widget_highlighted_posts .article-content .below-entry-meta .comments a:hover, .home .widget_highlighted_posts .article-content .below-entry-meta .posted-on a:hover, .home .widget_highlighted_posts .article-content .entry-title a:hover, .home .widget_featured_slider  .entry-title a:hover,  .home .widget_featured_slider .posted-on a:hover  {
	color: #f4f4f4 !important;
}

.widget_highlighted_posts .article-content {
	opacity: 1;	
}

.entry-title a:hover > .widget_highlighted_posts .article-content {
	background-color: red !important;
}

.gform_body li:before {
	display: none;
}

.gform_body li {
	border: none;
}

@media screen (max-width:768px) {
	.widget_featured_slider .slide-content .entry-title a {
		font-size: 16px;
	}
}


/* Events */

.westmount-events .following-post .single-article, .home .following-post .single-article {
	margin-bottom: 15px;
}

.westmount-events .article-content .entry-title {
	padding-top: 0 !important;
}

.westmount-events .following-post img, .home .following-post img {
	margin-bottom: 0px;
}

.westmount-events .following-post figure, .home .following-post figure {
	float: left;
	margin-right: 10px;
}

.westmount-events .article-content {
	padding: 0px 15px 5px;
}

.westmount-events .following-post .article-content .entry-title, .home .following-post .article-content .entry-title {
	font-size: 18px;
}

.westmount-events .following-post .posted-on, .home .following-post .posted-on {
	padding-right: 10px;
}

.westmount-events .following-post .article-content .below-entry-meta .posted-on a, .home .following-post .article-content .below-entry-meta .posted-on a {
	font-size: 11px;
}

.westmount-events .following-post .article-content .entry-title, .home .following-post .article-content .entry-title {
	padding: 10px 0px 0px;
}

.westmount-events .single-article, .home .single-article {
	background-color: #FFF;
	box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1);
}

.westmount-events .single-article p, .home .single-article p {
	margin-bottom: 0;
}

.westmount-events .single-ait-event h1, .home .single-ait-event h1 {
	padding-bottom: 5px;
}

.ait-event .meta-time, .ait-event .meta-location, .home .meta-location, .home .meta-time {
	font-size: 13px;
}

.ait-event .meta-time i, .ait-event .meta-location i, .home .posted-on i, .home .meta-location i {
	font-size: 15px;
	padding-right: 2px;
}

.ait-event .meta-time, .home .meta-time  {
	padding-right: 10px;
}

.ait-event .event-meta {
	padding-bottom: 10px;
	margin-bottom: 20px;
	border-bottom: 1px solid #f4f4f4;
}

/* Job offers */

.job-list li {
	margin-bottom: 10px;
}

.page-template-template-careers-php  .vc_row-fluid {
	margin-bottom: 0 !important;
}

.gform_wrapper {
	background-color: #f8f7f7;
	padding: 1px 20px 10px 20px;
}

input[type="text"], input[type="email"], input[type="password"], textarea {
	padding: 1%;
	border: 1px solid #EAEAEA;
	line-height: 20px;
	width: 95%;
	margin: 0px 0px 30px;
	background-color: #fff !important;
	border-radius: 3px;
}
/* Error 404 */

.error-404 {
	text-align: left;
}

.error-404 input.s, .search .page-content input.s {
	width: 100%;
	box-sizing: border-box;
}

.not-found .search-wrap button, .search .page-content .search-wrap button {
	right: 0;
}

.error-404 .search-wrap button, .search .page-content .search-wrap button {
	line-height: 33px;
	padding: 0px 7.5px;
}

/* Schedules */



/* Search results */

.search-results #content .post {
	margin-bottom: inherit;
}
.search-results #content .post, #content .post {
	box-shadow: none;
}

.search-results #content .post .article-content {
	padding: inherit;
}

.search-results h2 {
	padding-bottom: 9px;
}

.search .post:nth-child(2n), .search .post:nth-child(2n+1) {
	width: 100%;
	float:none;
}


/* Olivier */
@media only screen and (max-width: 768px) {
	nav .menu > li.menu-expandable > a {
		position: relative;
	}

	nav .menu > li.menu-expandable > a:after {
		content: '\f107';
		width: 0;
		height: 0;
		position: absolute;
		font: normal normal normal 17px/1 FontAwesome;
		margin-top: -10px;
		top: 50%;
		right: 20px;
	}

	nav .menu > li.menu-expandable.open > a:after {
		content: '\f106';
	}

	nav .menu > li.menu-expandable > a:hover:after {
		border-top-color: #fff;
	}

	nav .menu > li.menu-expandable.open > a:after {
		border-top: 0 solid transparent;
		border-bottom: 6px solid #333;
	}

	nav .menu > li.menu-expandable.open > a:hover:after {
		border-top-color: transparent;
		border-bottom-color: #fff;
	}

	nav .menu > li.menu-expandable ul {
		max-height: 0;
		-webkit-transition: max-height: 0.25s ease-in-out;
		-moz-transition: max-height: 0.25s ease-in-out;
		-mstransition: max-height: 0.25s ease-in-out;
		-o-transition: max-height: 0.25s ease-in-out;
		transition: max-height: 0.25s ease-in-out;
		overflow: hidden;
	}

	nav .menu > li.menu-expandable.open ul {
		max-height: 2100px;
	}
}


/* fix pour menu langue mobile */
.main-small-navigation .mobile-lang-select.nav-menu {
	padding-top: 0;
}

.main-small-navigation .mobile-lang-select.nav-menu li {
	float: left;
	background: transparent;
}

.main-small-navigation .mobile-lang-select.nav-menu a {
	padding: 10px 12px;
	color: #fff;
	font-weight: 400;
}


/* fix barre de recherche */
@media only screen and (min-width: 769px) {
	#header-right-section {
		margin-top: 26px;
	}
}

/* fix gravity forms  left padding */
.gform_wrapper ul li {
	padding-left: 0px;
}

.gform_drop_instructions {
	padding-right: 10px;
}

.gform_wrapper textarea.medium {
	width: 100% !important;
	box-sizing: border-box;
}

#field_18_3, #field_12_3 {
	margin-top: 1em;
}