/*
	Theme Name: Calgary Legal Guidance
	Theme URI:
	Description: CLG
	Version: 1.4.3
	Author: Justin
	Author URI:
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font:300 15px/1.8 'Open Sans', Helvetica, Arial, sans-serif;
	color:#444;
	background: #fff;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color: #72b2a0;
	text-decoration: none;
}
main a {
	font-weight: bold;
}
a:hover {
	color:#72b2a0;
	text-decoration: underline;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width:1280px;
	width:95%;
	margin:0 auto;
	position:relative;
}
/* header */
.header {

}
/* logo */
.logo {

}
.logo-img {

}
/* nav */
header .nav {
	background: #181818;
}
header .nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
header .nav li {
	display: inline-block;
	font-size: 12px;
	margin-right: 10px;
	font-weight: bold;
	text-transform: uppercase;
}

.nav>li>a {
  padding: 10px 9px !important;
}

header .nav li:last-child {
	margin-right: 0;
}
header .nav li a {
	color: #fff;
}
header .nav li:last {
	margin-right: 0;
}

/** Dropdowns */
header .nav li ul li {
	display: block;
	margin:0;
}
header .nav>li>a:hover,
header .nav>li>a:focus,
header .nav .open>a, header .nav .open>a:hover,
header .nav .open>a:focus {
	background-color: #2e4651;

}
.dropdown-menu {
	min-width: 250px;
	border-radius: 0;
	border: none;
	background-color: #2e4651;
}
.dropdown-menu>li>a {
	padding: 5px 15px;
}
.dropdown-menu>li>a:hover,
.dropdown-menu>li>a:focus {
	color: #fff;
	background-color: #6fa894;

}
/* sidebar */
.sidebar {
	color: #fff;
	padding: 55px 25px;
	background: #314d5e;
}
.sidebar h3 {
	color: #fff;
	font-size: 30px;
}
/* footer */
.footer {

}

/*------------------------------------*\
    HEADER
\*------------------------------------*/
#toolbar {
	padding-top: 20px;
	text-align: right;
}
#google_translate_element {
	display: inline-block;
}
form.search {
	display: inline-block;
}
#social-icons {
	display: inline-block;
}
#social-icons ul {
	list-style: none;
}
#social-icons li {
	display: inline-block;
}
#social-icons li a {
	display: block;
}

/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}
h1,
h2,
h3,
h4,
h5 {

}

h3 {
	font-size: 30px;
}

.clg-title {
	padding: 0 0 1px 38px;
	background: url(img/icon-title.png) bottom left no-repeat;
}

/*------------------------------------*\
    BOOTSTRAP OVERRIDES
\*------------------------------------*/

@media (min-width:1200px){
	.container{width:1280px}
}

/* columns of same height styles */
.container-xs-height {
    display:table;
    padding-left:0;
    padding-right:0;
    margin-right: auto;
    margin-left: auto;
}
.row-xs-height {
    display:block;
}
.col-xs-height {
    display:block;
    float:none;
}
/* vertical alignment styles */
.col-top {
    vertical-align:top;
}
.col-middle {
    vertical-align:middle;
}
.col-bottom {
    vertical-align:bottom;
}

@media (min-width: 768px) {
    .container-xs-height {
        width: 750px;
    }
}
@media (min-width: 992px) {
    .container-xs-height {
        width: 970px;
    }
	.row-xs-height {
	    display:table-row;
	}
	.col-xs-height {
	    display:table-cell;
	}
}
@media (min-width: 1200px) {
    .container-xs-height {
        width: 1280px;
    }
}

/*------------------------------------*\
    BUTTONS / FORMS
\*------------------------------------*/
::-webkit-input-placeholder {
   color: #72b2a0;
   text-transform: uppercase;
}
:-moz-placeholder { /* Firefox 18- */
   color: #72b2a0;
   text-transform: uppercase;
}
::-moz-placeholder {  /* Firefox 19+ */
   color: #72b2a0;
   text-transform: uppercase;
}
:-ms-input-placeholder {
   color: #72b2a0;
   text-transform: uppercase;
}
input,
textarea {
	color: #72b2a0;
	font-weight: bold;
	padding: 3px;
	border: none;
	background: #e7e7e7;
}
textarea {
	width: 90%;
}
.blue-sidebar input[type="text"],
.blue-sidebar textarea {
	color: #fff;
	background: #42687f;
}
footer input {
	background: #484848;
}
input.search-input {
	color: #72b2a0;
	border: 0;
	padding: 0 5px 3px 5px;
	background: #e7e7e7;
}
button.search-submit {
	display: none;
}
.button,
input[type="submit"] {
	display: inline-block;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	text-transform: uppercase;
	border: 1px solid #fff;
	outline: 1px solid #72b2a0;
	padding: 5px 10px;
	background: #72b2a0;
}
.button:hover {
	color: #fff;
	background: #77bda9;
	border: 1px solid #fff;
	outline: 1px solid #72b2a0;
	text-decoration: none;
}
#donate .button {
	outline: 1px solid #314d5e;
	background: #314d5e;
        margin-bottom: 20px;
}
label {
	display: block;
	padding: 4px 0;
}

.gform_heading .gform_description {
	font-size: 20px;
	font-weight: bold;
}

.gform_wrapper input[type=text], .gform_wrapper input[type=url], .gform_wrapper input[type=email], .gform_wrapper input[type=tel], .gform_wrapper input[type=number], .gform_wrapper input[type=password] {
	font-size: 13px !important;
}

.gform_wrapper textarea {
	font-size: 13px !important;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

main.col-md-8 {
	padding-right: 0;
}
.wp-post-image {
	width: 100%;
}
article {
	padding-right: 15px;
}

/** Home */
#section-1 {
	background: #f6f6f6;
}
#section-2 {
	padding: 10px 0;
}
#section-3 {
	color: #fff;
	background: #314d5e;
}
#section-3 .clg-title {
	margin-bottom: 27px;
}
#section-4 {
	padding: 30px 0 50px 0;
}

/** Services */
.services {
	margin: 25px 0;
}
.services:after {
	content: "";
  	display: table;
  	clear: both;
}
.services div {
	margin-bottom: 10px;
	padding: 35px 35px 0 35px;
	border-right: 1px solid #e5e5e5;
}
.services img {
	display: block;
}
.services h5,
.services h5 a {
	color: #383737;
	font-size: 20px;
}
.services p,
.services p a {
	color: #757575;
	font-size: 14px;
	line-height: 15px;
}

/** Section 3 */
#section-3 {
	padding: 55px 0;
}

/** Community */
#section-4 h2 {
	margin-bottom: 40px;
}
#community {
	color: #000;
	border-bottom: 1px solid #eaedef;
	padding-bottom: 60px;
}
#community div {
	padding: 0 50px;
}
#community img {
	display: block;
	float: left;
	margin-right: 25px;
}
#community em {
	display: block;
	padding-top: 10px;
	font-size: 38px;
	line-height: 38px;
	font-weight: bold;
	font-style: normal;
}
#community p {
	color: #000;
	font-weight: bold;
	font-size: 20px;
	line-height: 22px;
}
#supporters {
	padding-top: 30px;
}
#supporters div {
	vertical-align: middle;
	padding: 0 50px;
}
#supporters h2 {
	margin-left: 15px;
}

/*------------------------------------*\
    VISUAL COMPOSER CLASSES
\*------------------------------------*/
.vc-img-caption {
	color: #fff;
	text-align: center;
	background-color: #244a56;
}

.vc-img-caption a {
	color: #fff;
	display: block;
	padding: 0 3px;
	font-size: 26px;
	font-weight: normal;
}

.vc-img-caption a:hover {
	text-decoration: none;
}

.vc-img-caption.small a {
	font-size: 16px;
	padding: 9px 3px;
}
/*------------------------------------*\
    WIDGETS
\*------------------------------------*/

/** Subnav */
#subnav,
.sidebar .menu {
	list-style: none;
	margin: 0;
	padding: 0;
}
#subnav li,
.sidebar .menu li {
	border-bottom: 1px solid #507388;
}
#subnav li a,
.sidebar .menu li a {
	display: block;
	color: #fff;
	padding: 2px 5px;
}
#subnav li.current_page_item a,
.sidebar .menu li.current_page_item a {
	background-color: #42687f;
}
#subnav li a:hover,
#subnav li.current_page_item a:hover,
.sidebar .menu li a:hover,
.sidebar .menu li.current_page_item a:hover {
	background-color: #72b2a0;
	text-decoration: none;
}

.widget_rfb_widget h3 a,
.simple_tweet_widget h3 a {
	display: block;
	color: #fff;
	font-size: 20px;
	padding-left: 35px;
	line-height: 30px;
	background: url(img/widget-twitter.png) bottom left no-repeat;
}
.widget_rfb_widget h3 a {
	background: url(img/widget-facebook.png) bottom left no-repeat;
}
.rfbp-post {
	border: none;
	margin-bottom: 0;
}
.rfbp-text {
	font-size: 12px;
}
.rfbp-timestamp {
	color: #72b2a0;
}

.rfbp-text p {
  margin-bottom: 0px !important;
}

h4.rfbp-heading {
  font-size: 12px;
  margin-bottom: 0px;
}

.rfbp-timestamp {
  font-size: 12px;
}

body.home .widget_ultimate_posts h4 a {
	color: #fff;
	margin: 0;
	padding: 0;
}
.upw-posts .entry-meta {
	color: #fff !important;
	margin: 0 !important;
	font-size: 12px !important;
}
body.home .widget_ultimate_posts p {
	font-size: 12px;
}
.upw-posts article {
	margin: 0 !important;
	border: none !important;
	padding-bottom: 2px !important;
}

.widget_recent_entries ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget_recent_entries ul li {
	padding: 10px 0;
	border-bottom: 1px solid #516F82;
}

/** Mailchimp */
.yks-require-description,
.yks-mailchimpFormDivRow label {
	display: none !important;
}
.yks-mailchimpFormDivRowField input,
.widget_yikes_mc_widget input,
.widget_yikes_mc_widget .yks-mailchimpFormDivRowField {
	width: auto !important;
}
.yks-mailchimpFormDivSubmit,
.yks-mailchimpFormDivRow {
	display: inline-block !important;
	width: auto !important;
	margin: 0 5px 0 0 !important;
}
#yks_form_error_message {
	color: #88bfa7;
	padding: 0 !important;
}
.yks-mailchimpFormDivRowField input[type="text"] {
	height: 31px;
}

/** Mailchimp blue sidebar */
.blue-sidebar .yks-mailchimpFormDivRowField input[type="text"] {
	color: #fff;
	height: 42px;
	width: 220px !important;
	background: #42687f;
}

/** Events */
.tribe-events-adv-list-widget ol {
	margin: 0;
	padding: 0;
}
.tribe-events-widget-link {
	padding-top: 15px;
}
.tribe-events-widget-link a {
	display: inline !important;
}
#tribe-events-gmap-0 {
	-webkit-transform: none !important;
}
.tribe-events-adv-list-widget {
	font-size: 14px;
}
.tribe-events-adv-list-widget h4 {
	margin: 0;
	padding: 0;
}
.tribe-events-adv-list-widget .duration {
	font-weight: lighter;
}
.tribe-events-adv-list-widget ol a {
	color: #333;
	font-size: 14px;
}

.tribe-events-adv-list-widget .recurringinfo {
	display: none;
}

.tribe-mini-calendar-event {
	border-bottom: none;
}

.tribe-mini-calendar-event .list-info h2 {
	margin-bottom: 5px;
}

.tribe-mini-calendar-event .list-info .vcard {
	margin-top: 5px;
}

.tribe-mini-calendar-event .list-info .duration {
	font-weight: bold;
}

/** Accordian */
li.open a {
	color: #fff;
}

li.open li.closed a {
	font-size: 12px;
}

.wpb_accordion_header h3, .wpb_accordion_header a {
  background-color: #e1e1e1;
}

.wpb_accordion_section.group {
  background-color: #f1f1f1;
}

/* Social Icons */
.social-icons ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.social-icons li {
	display: inline-block;
	margin: 0 5px 5px 0;
}

/*------------------------------------*\
    FOOTER
\*------------------------------------*/
footer.footer {
	color: #dfdfdf;
	padding: 45px 0 25px 0;
	background: #181818;
	font-weight: 600;
}
footer.footer p {
	font-size: 13px;
	line-height: 16px;
}
footer.footer a {
	color: #dfdfdf;
}
footer.footer h3 {
	font-size: 18.5px;
	margin-bottom: 1px;
}
footer.footer h3 a {
	color: #dfdfdf;
}
footer.footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
footer.footer ul li {
	font-size: 13px;
	line-height: 16px;
	margin-bottom: 5px
}
footer.footer ul li a {
	font-size: 13px;
}
footer.footer .widget_text,
footer.footer .widget_nav_menu {
	margin-bottom: 25px;
}
footer.footer h3:first-of-type {
	margin-top: 10px;
}

footer.footer .widget_sp_image:first-of-type {
	margin-top: 10px;
}

/*------------------------------------*\
    IMAGES
\*------------------------------------*/

/*------------------------------------*\
    PAGES
\*------------------------------------*/

/** Home */
.blue-sidebar {
	color: #fff;
	background: #314d5e;
}
.blue-sidebar > div {
	margin-bottom: 30px;
}
.blue-sidebar p {
	color: #fff;
	font-size: 15px;
}
.blue-sidebar p a {
	color: #fff;
}
.blue-sidebar h3,
.blue-sidebar h4 {
	color: #fff;
	margin: 0;
	padding: 0;
	font-size: 20px;
}
.blue-sidebar h3 a,
.blue-sidebar h4 a {
	color: #fff;
}
#section-1 [class*="col-"] {
	padding-top: 15px;
	min-height: 425px;
}

/** News */
body.page-template-index-php article {
	padding: 25px 0;
	border-bottom: 1px solid #e5e5e5;
}
body.page-template-index-php article h2 {
	margin: 0;
	padding: 0;
}

/*------------------------------------*\
    COMMENTS
\*------------------------------------*/

#respond {
	background-color: transparent!important;
	box-shadow: none!important;
	padding: 0px!important;
}

#respond > p, #respond p.comment-notes, p.logged-in-as {
	margin-bottom: 10px;
}

p.logged-in-as {
	padding-bottom: 0px;
}

body .comments {
	margin-bottom: 40px!important;
	margin-left: 0px;
}

.comments ul {
	margin: 0;
	padding: 0;
}

.comments li {
	list-style: none!important;
}

.comments li.comment > div, .comments li.pingback > div {
	background-color: #ffffff;
    margin: 0;
    overflow: hidden;
    padding: 25px;
    margin-top: 2em;
    position: relative;
    padding-left: 116px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.17);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.17);
    -o-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.17);
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.17);
}

.comments .children {
	margin-left: 0px!important;
	padding-left: 40px;
	border-left: 1px solid #ddd;
	background-repeat: no-repeat;
	background-position: left 20px;
}

.comments li.comment > div img.avatar, .comments li.pingback > div img.avatar {
	position: absolute;
	left: 29px;
	top: 29px;
	width: 60px;
	height: 60px;
}

.comments .reply {
	position: absolute;
	top: 29px;
	right: 29px;
}

.comments .reply a {
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset;
    color: #FFFFFF;
    cursor: pointer;
    padding: 3px 7px;
    font-size: 11px;
    transition: all 0.2s linear 0s;
    -moz-transition: all 0.2s linear 0s;
    -webkit-transition: all 0.2s linear 0s;
    -o-transition: all 0.2s linear 0s;
    width: auto;
    border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	-o-border-radius: 2px;
	background-color: #333333;
}

.comments .comment-author {
	color: #333;
}
.comments .comment-meta {
	font-size: 11px;
	line-height: 15px;
}

.comments .comment-meta a {
	color: #888;
}

.comments .comment-meta a:hover {
	color: #27CFC3;
}

.comments .reply a:hover {
	background-color: #27CFC3;
}

.comments li.comment > div p, .comments li.pingback > div p  {
	padding-bottom: 0px;
	margin-top: 10px;
}

#respond h3 .cancel-comment-reply, #respond #cancel-comment-reply-link {
	display: inline-block;
	margin-left: 10px;
	padding-left: 10px;
	position: relative;
	border-left: 1px solid #dddddd;
}

#respond h3, h3#comments {
	text-transform: none;
	letter-spacing: -0.5px;
}

.comment-author a {
	color: inherit;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:320px) {

}
@media only screen and (min-width:480px) {

}
@media only screen and (min-width:768px) {

}
@media only screen and (max-width:992px) {
	#toolbar {
		text-align: left;
		padding-bottom: 30px;
	}

	#social-icons ul {
		margin-left: 0;
		padding-left: 0;
	}

	#donate {
		display: inline-block;
	}
}
@media only screen and (min-width:1024px) {

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

.pagination a {
	display: inline-block;
	color: #fff;
	padding: 0 6px;
	background: #72b2a0;
}

.pagination span {
	display: inline-block;
	color: #fff;
	padding: 0 6px;
	background: #314d5e;
}

.wpb_content_element .wpb_tabs_nav li {
  background-color: #e2e2e2 !important;
  white-space: nowrap;
  padding: 0;
  background-image: none;
  list-style: none !important;
}

.wpb_content_element .wpb_tabs_nav li.ui-tabs-active, .wpb_content_element .wpb_tabs_nav li:hover {
  background-color: #f1f1f1 !important;
}

.wpb_content_element .wpb_accordion_wrapper .wpb_accordion_header, .wpb_content_element.wpb_tabs .wpb_tour_tabs_wrapper .wpb_tab {
  background-color: #f1f1f1 !important;
}
/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}


/*------------------------------------*\
    Homepage Revisions - May Be Temp
\*------------------------------------*/

#section-1 .blue-sidebar h2 {
 display: none;
}

#section-2 {
 display: none;
}

ul#menu-homepage-services {
 list-style: none;
 margin: 0px;
 padding: 0px;
}

#menu-homepage-services li a {
 display: block;
 color: rgb(255, 255, 255);
 padding: 2px 5px;
 border-bottom: 1px solid rgb(80, 115, 136);
}

#menu-homepage-services li a:hover{
 background-color: rgb(114, 178, 160);
 text-decoration: none;
}

.widget_recent_entries ul li {
  padding: 5px 0;
}