/*
 Theme Name:   Ohlala.ca
 Description: Ohlala.ca custom theme based off JustWrite
 Author: Francois Biron
 Version: 1.0
 Template:     justwrite
*/
@import url("../justwrite/style.css");

/* =Theme customization starts here
-------------------------------------------------------------- */

body{
	color: #444;
	font-family: 'Cabin', sans-serif;
	background-color: #A0A1A3;
}

/*
	for some reason, iframes are given margins in the parent theme
	which creates spacing on the bottom of the pages
	due to ad iframes below the footer
	*/
iframe{
	margin:0;
}

a, a:visited {
	color: #ee312f;
	text-decoration: none;
	-webkit-transition: color 0.15s ease-in-out;
	-o-transition: color 0.15s ease-in-out;
	-moz-transition: color 0.15s ease-in-out;
	transition: color 0.15s ease-in-out;
}
a:hover {
	color: #444;
	text-decoration: none;
}

.clear{clear:both;}

.top, .menu-wrap, .container, .footer-wrap {
	max-width: 3000px;
}

.top.mini-disabled,
.menu-wrap.mini-disabled,
.container.mini-disabled,
.footer-wrap.mini-disabled {
	max-width: 3000px;
}

.wrap,
.header-wrap{
	max-width: 65em;
	margin:0 auto;
	padding: 0;
	background-color: #fff;
}

.header-wrap{
	height: 299px!important;
}

.container{
	margin:0 auto;
	border-bottom: 0;
}

.wrap-template-1 {
	margin-left: 0;
}
.wrap-template-1 > div.metaslider{
	display: inline-block;
	margin: 20px 10px 0 10px;
}

.header-wrap { height: 250px; border-bottom: none; }
.header-wrap .top { height: 200px; padding: 0 10px; }


ul#site_tabs{
	background-color: #3e3e3e;
	height: 49px;
	padding-left: 15px;
}
ul#site_tabs li{
	list-style: none;
	display: inline-block;
	height: 49px;
	padding:10px;
	cursor: pointer;
}
ul#site_tabs li.selected{
	background-color: #fff;
	cursor: default;
}
ul#site_tabs li.ohlala {
	padding-top: 5px;
}


.logo{
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%); /* fix for iOS */
}

.logo-image,
.logo-image img{
	display: inline-block;
	max-width: none;
}

ul#site_tabs li.header-inner-language{
	float: right;
	padding: 0!important;
}
ul#site_tabs li.header-inner-language a {
	display: inline-block;
	width: 42px;
	height: 49px;
	padding-top: 10px;
	background-color: #ec2e32;
	color: #fff;
	font-size: 18px;
	text-decoration: none;
	text-align: center;
}
.advertising728 {
	margin-top: 65px;
}


#undermenu-ad {
	margin: 0 auto!important;
	text-align: center!important;
}
#undermenu-ad > div{
	margin:0px auto!important;
	text-align: center!important;
}

#browse-more {
	display: none;
}
.header-social-icons{
	display: none!important;
}
.menu-right-container{
	margin-top: -43px;
	height: 43px;
}
/*.menu-right-container > a > img{*/
	/*margin-top: 0px;*/
/*}*/
.search-button{
	background-color: #444;
	width: 65px;
}
.search-button img{
	margin: 10px auto 0;
}
.menu-divine-logo{
	float: right;
	margin: 10px 15px 0 0;
}
.menu-main > li {
	text-transform: lowercase;
	font-size: 17px;
	font-weight: normal;
	font-family: 'Cabin', sans-serif;
	padding: 0 3px;
	cursor: pointer;
}
.menu-main .sub-menu > li{
	font-family: 'Cabin', sans-serif;
	font-size: 15px;
	font-weight: normal;
}





.post-thumbnail {
	width: 50%;
}

.post-content {
	width: 50%;
}

/* listing titles */
.home .post-content h2.title,
.category .post-content h2.title,
.archive .post-content h2.title,
.tag .post-content h2.title{
	font-family: 'Cabin', sans-serif;
	font-size: 36px;
	font-weight: bold;
	color:#444;
}
/* article titles */
.single-post .post-content h2.title{
	font-family: 'Cabin', sans-serif;
	font-size: 48px;
	font-weight: bold;
	color:#444;
}

.post-content{
	font-family: 'Cabin', sans-serif;
	font-size: 18px;
	color:#444;
}
.single-content{
	font-family: 'Cabin', sans-serif;
	font-size: 16px;
	color:#444;
	text-align: left !important;

}

.comment-content img[height],
.single-content img,
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto!important;
}

.single-content h1,
.single-content h2,
.single-content h3,
.single-content h4,
.single-content h5,
.single-content h6{
	margin: 0;
}

.single-template-1 h2 {
	font-size: 28px;
}

.single-content h3{
	font-size: 28px;
	margin-bottom:10px!important;
	font-weight: bold;
}

.single-content h4,
.single-content h5,
.single-content h6,
.single-content ol{
	font-size: 25px;
	margin-bottom:10px!important;
	font-weight: bold;
}

article.post img{
	padding-top: 15px;
	padding-bottom: 15px;
}

#related_posts_thumbnails img{
	width: 300px;
	/*height: auto!important;*/
	min-height: 0!important;
}

.sidebar-social,
.author_widget_title{
	font-size: 30px;
	text-align: center;
}
.author_widget_title img{
	margin: 10px auto 30px auto;
}
.sidebar-social a{
	margin: 20px 0 25px 0;
}
.social-footer{
	margin-left: 25px;
	display: inline-block;
}
.social-icon{
	background: url('http://uploads.ohlala.ca/2015/01/keep-in-touch.jpg') no-repeat;
	display: inline-block;
}
.social-facebook{
	background-position: 0 0;
	width: 23px;
	height: 30px;
}
.social-twitter{
	background-position: -23px;
	width: 50px;
	height: 30px;
}
.social-instagram{
	background-position: -75px 0;
	width: 40px;
	height: 30px;
}

.advertising300 {
	max-width: 300px;
	overflow: visible;
	margin: 10px auto;
	text-align: center;
}
.advertising300 > a > img{
	margin:0 auto;
}
.advertising300 div{
	margin-left: auto!important;
	margin-right: auto!important;
}
.spotify-widget{
	text-align: center;
}


.header-wrap {
	background-color: #fff;
}
.menu-main {
    position: relative;
    float: left;
    list-style: none;
    font-size: 14px;
    border-right-width: 0;

    padding: 0 0 0 5px ;
}
.menu-main a {
    display: block;
    padding: 0 9px;
    line-height: 68px;
}

.back-to-top {
	border-color: #ea164d;
	height: 80px;
	width: 80px;
	padding-top:10px;
}
.back-to-top i{
	color:#000;
}

/* responsive youtube videos */
.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px; height: 0; overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* right side widgets */
.menu-main,  .browse-more, .sidebar-heading, .tabs-widget-navigation, .post-template-1 .title, .single-template-1 .title, .sidebar .social-btn, .ac-popular-posts .position, .ac-popular-posts .title, .ac-featured-posts .thumbnail .details .title, .ac-ad-title-300px, .posts-pagination .paging-wrap, .page-links-wrap .page-links, .comments-pagination .paging-wrap, .footer-credits .copyright, .browse-by-title, #wp-calendar tbody td, #wp-calendar thead th, #wp-calendar #prev, #wp-calendar #next, .single-content h1, .single-content h2, .single-content h3, .single-content h4, .single-content h5, .single-content h6, .comment-text h1, .comment-text h2, .comment-text h3, .comment-text h4, .comment-text h5, .comment-text h6, .ac-recent-posts .title, .sidebar #recentcomments li a, .slider .title, .about-share .title, .comments-title, .comment-main .vcard .fn, .comment-reply-title, .form-submit input[type=submit], .page-404 h1, .main-page-title, .menu-wrap .search-field, .menu-wrap .search-submit, .banner-small-title, .post-thumbnail .sticky-badge, .no-comments, .content-wrap #review-statistics .review-wrap-up .review-wu-right h2, .content-wrap #review-statistics h1, .content-wrap #review-statistics h2, .content-wrap #review-statistics h3, .content-wrap #review-statistics h4, .content-wrap #review-statistics h5, .content-wrap #review-statistics h6, .content-wrap  #review-statistics .cwp-review-percentage span, .content-wrap .cwp-item-price, .content-wrap .affiliate-button a span{
	color: #444;
	font-family: 'Cabin', sans-serif;
}


.content-wrap{
	width:65%;
	padding: 40px 10px 0 10px;
}
.sidebar{
	width:35%;
	padding: 40px 10px 0 10px;
}

.wpcf7-captchac{
	padding: 0!important;
}


#footer {
	background-color: #fff;
	margin: 0;
	padding: 0;
	border-top: 6px solid #ec2e32;
	color: #7D7D7D;
	font-family: "PT Sans";
}

#footer a{
	text-decoration: none;
	color: #7D7D7D;
}

.footer-inner {
	margin: 5px 0;
	max-width: 100%;
	border-top: 1px solid #000;
	padding:0.938em 0;
	font-size:90%;
}
.footer-inner .footcreditleft{
	float:left;
	margin-right:0.625em;
}
.footer-inner-container {
	width: 65em;
	margin: auto;
	padding-top: 25px;
}

#footer-inner-logo {
	text-align: center;
}
#footer-inner-logo a{
	display: inline-block;
}

#footer-inner-social {
	float: right;
	margin-top: -2.5em;
}

#footer-inner-social a {
	text-decoration: none;
}

#footer-inner-social span {
	background: url('http://rebirth-uploads.divine.ca/2014/11/social-media-footer.jpg') no-repeat;
	display: inline-block;
}

#footer-inner-social span.footer_social_icons_pinterest {
	background-position: -53px 0;
	width: 34px;
	height: 26px;
}

#footer-inner-social span.footer_social_icons_twitter {
	background-position: -19px 0;
	width: 34px;
	height: 26px;
}

#footer-inner-social span.footer_social_icons_fb {
	background-position: 0 0;
	width: 19px;
	height: 26px;
}

#footer-inner-social span.footer_social_icons_instagram {
	background-position: -87px 0;
	width: 34px;
	height: 26px;
}

#footer-inner-hr {
	margin: 35px 0;
}

.footer-inner-column {
	width: 14em;
	float: left;
	margin-bottom: 80px;
	margin-left: 1.25em;
	list-style: none;

}

.footer-inner-column-partners {
	float: right;
}

.footer-inner-column .partner-image {
	margin-top: 10px;
	margin-bottom: 10px;
}



/* FIX FOR ARTICLES IMPORTED FROM DIVINE.CA WITH BROKEN ARTICLES */
.single-content div {
	margin-bottom:15px;
	font-size: 18px;
	text-align: left !important;
}

.single-content div span strong,
.single-content div p span strong,
.single-content div b span,
.single-content div strong span
{
	display: block;
	font-size: 25px;
	margin-top: 30px;
}
.single-content div b{
	display: inline-block;
	font-size: 18px;
}
.single-content div span{
	display: block;
}
.posts-wrap {
	padding: 0;
}

.shiftnav-toggle-container {
	display: none;
}



/* FIX FOR OUR WORDPRESS THEME BEING AFFECTED BY THE PREVIOUS FIX! */
.post-tags-wrap span{
	display: inline-block !important;
}



@media screen and (max-width: 1160px) {
	.post-template-1 .details .index-post-author, .browse-window-opened:after, .logo .description, .gallery-caption, #undermenu-ad  {
		/* Elements with Display None */
		display: none;
	}

	.logo{
		top: 33%;
	}
	.advertising728{
		display: block;
		margin: 135px auto 0 auto;
		width: 100%;
		height: auto;
		text-align: center;
	}

	.sidebar .sidebar-heading:after, .header-social-icons {
		/* Elements with Display Block */
		display: block;
	}

	a, a:visited, .menu-wrap, .social-btn, .ac-twitter-tweet-time i, .back-to-top, .close-browse-by, .tagcloud a, .slider .com, .slider .date, .slider .category, .slide-btn, .slider-pagination a, .slider-pagination a:before, .slider li, .slider .details, .about-the-author .links a, .menu-wrap .search-submit, textarea, input, .select, .post-content .details .post-format-icon {
		/* Disable Animations */
		-webkit-transition: none;
		-moz-transition: none;
		-o-transition: none;
		-ms-transition: none;
		transition: none;
	}

	/* ------ */
	.logo {
		left: 50%;
	}

	.header-social-icons {
		padding: 0;
		margin-right: 30px;
	}

	.content-wrap {
		width: 100%;
		border-right: none;
	}

	.browse-window-opened .side-box.larger {
		width: 100%;
		padding-top: 0;
	}

	.browse-window-opened .side-box {
		width: 33.3333%;
		padding-top: 30px;
		margin-bottom: 30px;
	}

	.page-full-width {
		padding: 0;
	}

	.sidebar {
		width: 100%;
		border-width: 1px;
		border-style: solid;
		border-top-width: 5px;
		border-bottom: none;
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
	}

	.sidebar .sb-content {
		padding: 0 5px;
	}

	.slider-wrap {
		padding: 0;
	}

	.slider .title, .slider .info {
		width: 80%;
	}

	.slider .details {
		margin-top: -70px;
	}

	.ac-social-buttons-widget ul li {
		width: 32%;
	}

	.ac-social-buttons-widget .alignleft, .ac-social-buttons-widget .alignright {
		float: left;
		margin-left: 1%;
	}

	.sb-content .ac-featured-posts > li {
		width: 50%;
		float: left;
		margin-bottom: 0;
	}

	.ac-popular-posts .title, .ac-recent-posts .title, .sidebar #recentcomments a {
		font-size: 26px;
	}

	.sb-content .ac-popular-posts li {
		margin-bottom: 25px;
	}

	.ac-featured-posts .thumbnail .details {
		padding: 30px 30px 0 30px;
	}

	.posts-wrap {
		padding: 0;
	}

	.posts-pagination, .comments-pagination, .page-links-wrap {
		padding-right: 0;
	}

	.single-style-template-1, .about-share, .comments-area, #disqus_thread {
		padding: 0;
	}

	.search-wrap, .menu-wrap .search-field {
		height: 100px;
		font-size: 30px;
	}

	.menu-wrap .field-wrap {
		margin-right: 220px;
	}

	.menu-wrap .search-submit {
		width: 180px;
		height: 60px;
		margin: 20px 30px 0 0;
		font-size: 20px;
	}

	.menu-wrap .search-submit:active {
		margin-top: 25px;
	}

	/* Mobile Menu */
	.menu-main {
		display: none !important;
	}

	.mobile-menu .sub-menu, .mobile-menu .sub-menu ul {
		display: none !important;
		position: relative;
		visibility: inherit !important;
		top: 10px;
		width: 100%;
		border: none;
		-webkit-box-shadow: none !important;
		-moz-box-shadow: none !important;
		box-shadow: none;
	}

	.mobile-menu li:hover .sub-menu .sub-menu, .mobile-menu.visible .menu-main li:hover .sub-menu .sub-menu {
		width: 100%;
		top: 0;
		left: 0;
	}

	.menu-wrap.visible .mobile-menu {
		top: 70px;
	}

	.mobile-menu {
		display: block;
		position: absolute;
		top: 69px;
		left: -1px;
		width: 50%;
		min-width: 280px;
		height: auto;
		z-index: 98;
		border-width: 1px;
		border-style: solid;
		border-top: none;
		padding: 15px 30px;
	}

	.mobile-menu, .search-wrap {
		-webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
		-moz-box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
		box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
	}

	.mobile-menu a, .mobile-menu .sub-menu a {
		display: block;
		padding: 0;
		line-height: 24px;
		border: none;
		z-index: 2;
		position: relative;
	}

	.mobile-menu .sub-menu li {
		padding: 10px 0;
		position: relative;
	}

	.mobile-menu .sub-menu ul li:before {
		content: "";
		position: absolute;
		top: 22px;
		left: 0;
		height: 2px;
		width: 100%;
		z-index: 1;
	}

	.mobile-menu .sub-menu li:last-child, .mobile-menu .sub-menu:last-child {
		padding-bottom: 0;
	}

	.mobile-menu .sf-sub-indicator {
		display: inline-block;
		float: right;
		margin-right:20px;
		margin-top: -5px;
		border-width: 2px;
		border-style: solid;
		line-height:30px;
		width:34px;
		text-align: center;
		font-size:18px;
		-webkit-border-radius: 40px;
		-moz-border-radius: 40px;
		border-radius: 40px;
		border-color: #ea164d;
	}

	.mobile-menu > li {
		width: 100%;
		clear: both;
		float: none;
		padding: 15px 0;
		border-bottom-width: 1px;
		border-bottom-style: solid;
	}

	.mobile-menu > li:before {
		display: none;
	}

	.mobile-menu > li:last-child {
		border: none;
	}

	.mobile-menu-button {
		display: block;
	}

	.menu-visible, .mobile-drop-down > .sub-menu, .mobile-drop-down > .sub-menu > .mobile-drop-down > .sub-menu {
		display: block !important;
	}

	.mobile-menu li:hover .sub-menu, .menu-wrap.visible .menu-main li:hover .sub-menu .sub-menu, .menu-wrap.visible .menu-main li:hover .sub-menu {
		top: 10px;
		left: 0;
	}

	.mobile-menu .sub-menu ul li a, .mobile-menu .sub-menu li li {
		padding-left: 10px;
	}

	.shiftnav-toggle-container {
		display: block;
	}

	.shiftnav-toggle-button {
		display: inline-block;
		padding: 10px 15px;
		background: #ffffff;
		color: #444444;
	}

	.shiftnav-toggle-button:hover{
		display:inline-block;
		padding:10px 15px;
		background:#ffffff;
		color:#666666;
	}

	.shiftnav-nav a{
		color:#000000 !important;
	}

	.shiftnav-nav a:hover{
		color:#ffffff !important;
		background-color: #ec2e32;
	}

	.shiftnav-nav{
		border-bottom: solid #ec2e32;
	}

	.menu-right-container{
		padding-top: 3px;
		height: 46px;
	}

	.search-button{
		bottom:0px;
	}

	.single-content h1 {
		font-size: 32px;
	}


	.advertising300{
		display: inline-block;
		margin:10px 0 10px 60px;
	}


	.footer-inner-container {
		width: 100%;
	}


}
@media screen and (max-width: 900px) {
	.advertising300{
		margin:0 5px;
	}
}

@media screen and (max-width: 750px){

	#footer-inner-social {
		display: none;
	}
	.footer-inner-column-partners {
		float: none;
	}

}

@media screen and (max-width: 700px) {

	.advertising300{
		display: block;
		margin:10px auto;
	}

}
@media screen and (max-width: 650px) {
	.search-button img{
		margin-top: 12px;
	}
}

@media screen and (max-width: 500px) {

	.post-thumbnail {
		width: 100%;
	}

	.post-content {
		width: 90%;
	}

}

/* related posts */
#related_posts_thumbnails {
	list-style-type: none;
	list-style-position: inside;
	padding: 0pt;
	margin: 0px 0px 10px 0px;


}


#related_posts_thumbnails li {
	float: left;
	margin: 2pt;
	padding: 0px;
	display: block;
	background-color: #FFFFFF;
	/*width: 350px !important;*/
	text-align: center;
	/*height: 340px;*/
}


#related_posts_thumbnails li a {
	border: 0pt none;
	line-height: normal;
	font-size-adjust: none;
	font-stretch: normal;
}

#related_posts_thumbnails li a+a {
	display: block;
	float: left !important;
	overflow: hidden;
	color: #333333;
	text-decoration: none;
	width: 90% !important;
	text-align: left !important;
	padding:0px 8px;
	padding-top: 15px;

}

#related_posts_thumbnails li a+a span {
	font-weight: bold !important;
	font-size: 15px;

}

#related_posts_thumbnails img {
	padding: 0px;
	margin: 0px;
	border: 1px solid #EEEEEE !important;
	/*height: auto !important;*/
	width: 100%;
	min-height: 300px;


}

@media screen and (max-width: 667px) {
	#related_posts_thumbnails{
		width: 100%;
	}
    #related_posts_thumbnails img {
		width: 100% !important;
		height: auto !important;
		border:none !important;

	}

	#related_posts_thumbnails li a {
		width: 100%;
	}

	#related_posts_thumbnails li a + a span{
		padding-left: 5px;
		font-size: 16px;
		width: 90%;
	}

	#related_posts_thumbnails li{
		padding-left: 0px !important;
		width: 100% !important;
		height: auto !important;
		border:none !important;

	}

}

@media screen and (min-width: 668px) and (max-width: 1699px) {
	#related_posts_thumbnails li {
		width: 50% !important;
		height: auto !important;
	}
}

@media screen and (min-width: 1700px) {
	#related_posts_thumbnails li {
		width: 320px !important;
		height: auto !important;
	}
}





