
/* Add standard site style changes here
-------------------------------------------------------------- */
/* Canadian Press adjustment styles */

body.page-template-template-page-canadianpress div.single div.section p {
line-height: 1em;
margin: 0 0 1em; 
}
div.cpheadline{
	float: right;
	width:80%;
}
div.cpthumb{
float: left;
width:18%;	
max-height: 110px;
margin-bottom:15px;	
}
td.cplandingimage{
	width: 18%;
}
td.cplandingheadline{
	width: 80%;
}
td.cplandingheadline h4{
	font-size: 2em;
    line-height: 1.2em;
}
img.cpthumbmain{
float: left;
max-height: 110px;

}

/* JW Player volume slider positioning fix  */

.jw-slider-vertical{
	bottom:-3px;
}

/* Homecoming: The Casualties of War - Post ID 2474*/
button.homecoming:focus, button.homecoming:hover{ box-shadow: 0px 0px 7px rgb(121, 194, 85); }
.topButton{ clear:both; float:right; }

/* located in loop-highlight-content.php */
div.highlight-archive-item {
	border-bottom:rgb(153, 153, 153) 1px solid; padding-bottom:10px;
}
a.show_hide{
	cursor:pointer !important;
}

/* regular posts featured images */
div.post-featured{
	margin-bottom:20px;
}

.pdf-document-link{
	clear:both;
	margin-top:20px;
	padding-left:20px;
	background: url(http://www.cpac.ca/wp-content/themes/cpac/_resources/_images/structure/pdficon_small.png) no-repeat transparent;
}

.m-header-nav li.user-account.menu-item {
    position: relative;
    z-index: 501;
}


/* Add Bootstrap style changes here
-------------------------------------------------------------- */

li.btn-cpac a, li.btn-cpac a:hover{
	color:rgb(25,25,25);
}
li.btn-cpac {
	padding: 4px 8px;
}
.aboutLinks{
	margin: 0px !important;
	padding-left: 0px !important;
	padding-top: 20px !important;
	padding-bottom: 30px !important;
}




/* Add Visual Form Builder style changes here
-------------------------------------------------------------- */
p#form_success{color:rgb(255,255,255) !important;}

/* English Contact Form */
div#vfb-form-1 fieldset{background:none; border:none;}
div#vfb-form-1 fieldset label, div#vfb-form-1 fieldset label.vfb-desc{color:rgb(153, 153, 153);font-weight:normal;}
div#vfb-form-1 fieldset input, div#vfb-form-1 fieldset textarea{width:95%; height:auto; padding:3px 0;}
div#vfb-form-1 fieldset input.vfb-submit{width:20%;}


/* French Contact Form */
div#vfb-form-2 fieldset{background:none; border:none;}
div#vfb-form-2 fieldset label, div#vfb-form-2 fieldset label.vfb-desc{color:rgb(153, 153, 153);font-weight:normal;}
div#vfb-form-2 fieldset ul li input{width:95%; background: none repeat scroll 0px 0px rgb(192, 192, 192) !important; border:none; border-radius:0px;}
div#vfb-form-2 fieldset textarea{width:95%;}
div#vfb-form-2 fieldset input.vfb-submit{width:20%;}

/* English Video Help Form */
div#vfb-form-3 fieldset{background:none; border:none;}
div#vfb-form-3 fieldset label, div#vfb-form-3 fieldset label.vfb-desc{color:rgb(153, 153, 153);font-weight:normal;}
div#vfb-form-3 fieldset input{width:95%; background: none repeat scroll 0px 0px rgb(192, 192, 192) !important; border:none; border-radius:0px;}
div#vfb-form-3 fieldset ul li div textarea{width:95%; background: none repeat scroll 0px 0px rgb(192, 192, 192) !important; border:none; border-radius:none;}
div#vfb-form-3 fieldset ul li select{background: none repeat scroll 0px 0px rgb(192, 192, 192) !important; border:none; border-radius:0px;}
div#vfb-form-3 fieldset input.vfb-submit{width:20%;}

.question { margin-bottom:10px; padding-bottom:5px; }

/* French Video Help Form */
div#vfb-form-4 fieldset{background:none; border:none;}
div#vfb-form-4 fieldset label, div#vfb-form-4 fieldset label.vfb-desc{color:rgb(153, 153, 153);font-weight:normal;}
div#vfb-form-4 fieldset input{width:95%; background: none repeat scroll 0px 0px rgb(192, 192, 192) !important; border:none; border-radius:0px;}
div#vfb-form-4 fieldset ul li div textarea{width:95%; background: none repeat scroll 0px 0px rgb(192, 192, 192) !important; border:none; border-radius:none;} div#vfb-form-4 fieldset ul li select{background: none repeat scroll 0px 0px rgb(192, 192, 192) !important; border:none; border-radius:0px;}
div#vfb-form-4 fieldset input.vfb-submit{width:20%;}

/* English PM Poster Offer Form */
div#vfb-form-5 fieldset{background:none; border:none;}
div#vfb-form-5 fieldset label, div#vfb-form-5 fieldset label.vfb-desc{color:rgb(153, 153, 153);font-weight:normal;}
div#vfb-form-5 fieldset input{width:95%; background: none repeat scroll 0px 0px rgb(192, 192, 192) !important; border:none; border-radius:0px;}
div#vfb-form-5 fieldset ul li div textarea{width:95%; background: none repeat scroll 0px 0px rgb(192, 192, 192) !important; border:none; border-radius:none;} div#vfb-form-5 fieldset ul li select{background: none repeat scroll 0px 0px rgb(192, 192, 192) !important; border:none; border-radius:0px;}
div#vfb-form-5 fieldset input.vfb-submit{width:20%;}

/* French PM Poster Offer Form */
div#vfb-form-6 fieldset{background:none; border:none;}
div#vfb-form-6 fieldset label, div#vfb-form-6 fieldset label.vfb-desc{color:rgb(153, 153, 153);font-weight:normal;}
div#vfb-form-6 fieldset input{width:95%; background: none repeat scroll 0px 0px rgb(192, 192, 192) !important; border:none; border-radius:0px;}
div#vfb-form-6 fieldset ul li div textarea{width:95%; background: none repeat scroll 0px 0px rgb(192, 192, 192) !important; border:none; border-radius:none;} div#vfb-form-6 fieldset ul li select{background: none repeat scroll 0px 0px rgb(192, 192, 192) !important; border:none; border-radius:0px;}
div#vfb-form-6 fieldset input.vfb-submit{width:20%;}
/*
div.highlight-item div.juiz_sps_links, div.l-bio-wrap-inner div.section div.juiz_sps_links ul.juiz_sps_links_list, div.vid-block div.juiz_sps_links{
	display:none !important;
}
*/

#youtube-link{
	width:16px !important;
	height:16px !important;
	background: url('http://www.cpac.ca/wp-content/themes/cpac/_resources/_images/structure/social_media_sprite.png') -42px 0 no-repeat !important;
	display:inline-block;
	margin-right: 5px;
}
#twitter-link{
	width:16px !important;
	height:16px !important;
	background: url('http://www.cpac.ca/wp-content/themes/cpac/_resources/_images/structure/social_media_sprite.png') -22px 0 no-repeat !important;
	display:inline-block;
	margin-right: 5px;
}
#facebook-link{
	width:16px !important;
	height:16px !important;
	background: url('http://www.cpac.ca/wp-content/themes/cpac/_resources/_images/structure/social_media_sprite.png') -2px 0 no-repeat !important;
	display:inline-block;
	margin-right: 5px;
}
#google-link{
	width:16px !important;
	height:16px !important;
	background: url('http://www.cpac.ca/wp-content/themes/cpac/_resources/_images/structure/social_media_sprite.png') -82px 0 no-repeat !important;
	display:inline-block;
	margin-right: 5px;
}
#linkedin-link{
	width:16px !important;
	height:16px !important;
	background: url('http://www.cpac.ca/wp-content/themes/cpac/_resources/_images/structure/social_media_sprite.png') -62px 0 no-repeat !important;
	display:inline-block;
	margin-right: 5px;
}
#instagram-link{
	width:16px !important;
	height:16px !important;
	background: url('http://www.cpac.ca/wp-content/themes/cpac/_resources/_images/structure/social_media_sprite.png') -102px 0 no-repeat !important;
	display:inline-block;
	margin-right: 5px;
}
#scribble{
	height:550px;
}
#scribblePop{
	height:530px;
}
#scribbleModal{
	left:50%;
	width:90%;
	margin-left:-45%;
	height:650px;
}
.modal-body{
	max-height:550px;
}
#scribbleModal h4{
	color:rgb(25,25,25);
}
#detachScribblelive{
	
}
.scrbbl-stickies{
	height:500px !important;
}
#scrbbl-content-scrollable{
	height: 460px;
}
/* Add mobile styling changes here
-------------------------------------------------------------- */

@media (max-width: 1180px) {
		.widget.media_preview {
			width:300px;
		}
}
@media (max-width: 1076px) {
		div.cpheadline h2{
			font-size:25px;
			line-height: 1.2em;
		}
}
@media (max-width: 979px) and (min-width: 768px) {
	.l-search-main.media_player{
		width:720px !important;
	}
	
	#scribble{
		height:400px;
	}
	
	#scribbleModal {
		height: 500px;
	}
	.modal-body {
  		max-height: 400px;
	}
	.modal-body iframe#scribblePop {
  		height: 375px;
	}
}

@media (max-width: 843px){
	div.cpheadline, td.cplandingheadline{
	width:73%;
	}
	div.cpthumb, td.cplandingimage{
	width:25%;	
	}
	td.cplandingheadline h4{
	font-size: 1.5em;
    line-height: 1em;
	}
	img.cpthumbmain{
	max-height: 90px;
	}
}
@media (max-width: 767px) {
                .c-home-feature .home-feature-thumb img{
                /*display:none !important;*/
                }
                .c-home-feature .home-feature-headline, .c-home-feature .home-feature-headline:hover, .c-home-feature .home-feature-headline:focus {
                                font-size: 16px;
                                line-height: 19px;
                }
				#scribble{
				height:350px;
				}
				#scribbleModal {
					max-height: 400px;
				}
				.modal-body {
					max-height: 300px;
				}
				.modal-body iframe#scribblePop {
					height: 275px;
				}
				div.cpheadline h2{
					font-size:15px;
					line-height: 1em;
			}
}



@media (max-width: 480px) {
                div.post-featured{
                display:none;
                }
                .c-home-feature .home-feature-thumb img{
                /*display:none !important;*/
                }
                .c-home-feature .home-feature-headline, .c-home-feature .home-feature-headline:hover, .c-home-feature .home-feature-headline:focus {
                                font-size: 14px;
                                line-height: 19px;
                }
                .c-home-feature .home-feature-thumb-td{
                    height: 75px !important;
                    width: 70px !important;
                    vertical-align: middle !important;
                }
                .c-home-feature .home-feature-thumb {
                    height: auto;
                    width: 60px;
                }
                .c-home-feature .home-feature-thumb img {
                    height: inherit;
                }
				#scribble{
				height:300px;
				}
				#scribbleModal{
				max-height:450px;	
				}
				.modal-body {
					max-height: 350px;
				}
				.modal-body iframe#scribblePop {
					height: 250px;
				}
				div.cpheadline, td.cplandingheadline{
				width:63%;
				}
				div.cpthumb, td.cplandingimage{
				width:35%;	
				}
				td.cplandingheadline h4{
				font-size: 1.2em;
				line-height: 1.2em;
				}
}

@media (max-width: 320px) {
                div.post-featured{
                display:none;
                }
                .c-home-feature .home-feature-thumb img{
                /*display:none !important;*/
                }
                .c-home-feature .home-feature-headline, .c-home-feature .home-feature-headline:hover, .c-home-feature .home-feature-headline:focus {
                                font-size: 12px;
                                line-height: 19px;
                }
                .c-home-feature .home-feature-thumb-td{
                    height: 75px !important;
                    width: 60px !important;
                    vertical-align: middle !important;
                }
                .c-home-feature .home-feature-thumb {
                    height: auto;
                    width: 50px;
                }
                .c-home-feature .home-feature-thumb img {
                    height: inherit;
                }
}



#wpmem_login .div_text .noinput,
#wpmem_reg .div_text .noinput, .req-text {
  color: #CCC!important; }
.l-user-main .l-page-cont .wpmem_msg {
  color: #bd3500!important; padding: 10px!important; }

/* Home css fix
-------------------------------------------------------------- */

@media (max-width: 767px) {
                .home .l-content .l-vid-desc {
                                margin: 0;
                                min-height: 0;
                }
				
}
/* media preview css fix
-------------------------------------------------------------- */

.widget.media_preview {
	background: rgba(25, 25, 25, 0.8);
	padding: 5px 0 5px 5px;
	margin: 10px 0 0 25px;
}
.widget.media_preview p, .widget.media_preview h4 {
	padding: 10px 5px;
}

#wpmem_login .div_text input[type="password"],#wpmem_login .div_text input[type="password"]:focus{
	color:#fff!important;
}

/**/

/* ELECTIONS */
.page-template-template-portal-elections-php .l-portal-main .l-sectTitle.portal {
  background: url("../_images/structure/vote2015-portal-graphic.png") no-repeat 15px 0; }

body.fr.page-template-template-portal-elections-php .l-portal-main .l-sectTitle.portal {
  background: url("../_images/structure/vote2015-portal-graphic.png") no-repeat 15px 0; }

.page-template-template-portal-elections-php .vid-title,
.page-template-template-portal-elections-php .vid-title:hover,
.page-template-template-portal-elections-php .vid-title:focus {
  background: url("../_images/structure/vote2015-portal-icon.png") no-repeat left center; }
/* BUDGET */
.page-template-template-portal-budget-php .l-portal-main .l-sectTitle.portal {
	padding: 15px 15px 15px 15px!important;
}
.page-template-template-portal-budget-php .l-content .l-scroll-vids .vid-scroller {
	top: 10px!important;
}
.page-template-template-portal-budget-php .vid-title {
	    background: none!important;
		padding: 0!important;
}