/*
Theme Name: CPPA
Author: Web Wizards
Description: Another quality web design by Web Wizards
Author URI: http://www.webwizards.com.au
Version: 1.0
*/

/* =Reset
-------------------------------------------------------------- */
/*
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
}
body {
	line-height: 1;
}
*/
ol,
ul {
	list-style: none;
	margin:0;
	padding:0 0 15px;
}
blockquote,
q {
	quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption,
th,
td {
	font-weight: normal;
	text-align: left;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}
html {
	overflow-y: scroll;
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
a:focus {
	outline: thin dotted;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}
audio,
canvas,
video {
	display: inline-block;
}
audio:not([controls]) {
	display: none;
}
del {
	color: #333;
}
ins {
	background: #fff9c0;
	text-decoration: none;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin: 24px;
	margin-bottom: 1.714285714rem;
}
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	top: -0.5em;
}
sub {
	bottom: -0.25em;
}
small {
	font-size: smaller;
}
img {
	border: 0;
	-ms-interpolation-mode: bicubic;
}

/* Clearing floats */
.clear:after,
.wrapper:after,
.format-status .entry-header:after {
	clear: both;
}
.clear:before,
.clear:after,
.wrapper:before,
.wrapper:after,
.format-status .entry-header:before,
.format-status .entry-header:after {
	display: table;
	content: "";
}
.single img {
    float: left;
    padding-right: 20px;
}

@font-face {
	font-family: 'Duffyscript';
	src: url('fonts/duffyscript.eot');
	src: local('☺'), url('fonts/duffyscript.woff') format('woff'), url('fonts/duffyscript.ttf') format('truetype'), url('fonts/duffyscript.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Delicious Roman';
	src: url('fonts/Delicious-Roman.eot');
	src: local('☺'), url('fonts/Delicious-Roman.woff') format('woff'), url('fonts/Delicious-Roman.ttf') format('truetype'), url('fonts/Delicious-Roman.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Delicious Heavy';
	src: url('fonts/Delicious-Heavy.eot');
	src: local('☺'), url('fonts/Delicious-Heavy.woff') format('woff'), url('fonts/Delicious-Heavy.ttf') format('truetype'), url('fonts/Delicious-Heavy.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}
/*=============================================Base===========================================*/
html, body{color:#8a5d3b; font-size:16px; line-height:18px; background:url(images/page-bg.jpg) repeat; font-size-adjust:inherit; font-stretch:normal; font-variant:normal; font-style:normal; margin:0; padding:0;}


.news-video article.news {
        margin: 0 auto;
    width: 632px !important;
    float: none;
}


*{font-family: 'Delicious Roman', sans-serif;}
*:focus{outline:none}
a {color:#fd4f00; text-decoration:none;}
a:hover{color:#092f57; text-decoration:none;}
a:active{border:none;}
a img{border:none;}
form{margin:0; padding:0;}
.fll{float:left;}
.flr{float:right;}
.fln{float:none;}
.clb{clear:both;}
.txtB{font-weight:bold;}
.txtN{font-weight:normal;}
.txtL{text-align:left;}
.txtR{text-align:right;}
.txtC{text-align:center;}
.txtJ{text-align:justify}
.txtI{font-style:italic}
.txtT{text-transform:uppercase}
.txtU{text-decoration:underline}
.txt0{text-transform:none; text-decoration:none}
.txtOrg{color:#fd4f00}
.txtBlue{color:#092f57}
.fontw300{font-weight:300}
.fontw700{font-weight:700}
.w100{width:100%;}
.dpn{display:none;}
.dpib{display:inline-block}
.dpb{display:block}
.uln ul{list-style:none; margin:0; padding:0;}
.split{padding:0 5px;}
.br0{border:none!important;}
.bg0{background:none!important;}
.ovh{overflow:hidden}
.radius3{-moz-border-radius: 3px; -webkit-border-radius: 3px; -khtml-border-radius: 3px; border-radius: 3px;}
.radius5{-moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px;}
.radius10{-moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; border-radius: 10px;}
.posR{position:relative}
.posA{position:absolute}
.fw100{
	float:left;
	width:100%
}
.box-full{
	clear:both;
	overflow:hidden;
	position:relative;
}
.box-full ul{
	list-style:none;
	margin:0;
	padding:0;
}
.fonts, .fonts *{font-family:'Duffyscript',arial}

.page-id-242 div.half h6:nth-child(odd) {
    display: inline-block;
    width: 130px;
    height: 120px;
    border-radius: 100px;
    overflow: hidden;
}
.page-id-242 h6 img {
    width: 100%;
}


p{
	margin:0; 
	padding:0 0 15px;
}
h1, h2, h3, h4, h5, h6{
	margin:0; 
	padding:0 0 15px;
	font-family:'Delicious Heavy',arial;
	clear:none;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a{
	font-family:'Delicious Heavy',arial;
}
h1{
	font-size:48px;
	line-height:52px;
}
h2{
	font-size:36px;
	line-height:40px;
}
h3{
	font-size:28px;
	line-height:32px;
}
h4{
	font-size:24px;
	line-height:28px;
}
h5{
	font-size:18px;
	line-height:22px;
}
h6{
	font-size:14px;
	line-height:18px;
}
.fr  input[type="text"], .fr  input[type="password"],.fr  input[type="email"],
.fr select, .fr textarea{
	border:none; background:#f8f8f8; color:#666;  font-size:14px;
	margin:0; padding:8px 20px; overflow:visible; 
	-moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; border-radius: 10px;
}
.fr input[type="button"], .fr input[type="submit"], .fr input[type="reset"], .btn{
	background: #ee3124;
	border:none; color:#fff; font-size:16px; font-weight:bold; text-transform:uppercase;
	margin:0; padding:8px 50px; overflow:visible; cursor:pointer;
	-moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; border-radius: 10px;
}
.fr input[type="button"]:hover, .fr input[type="submit"]:hover, .fr input[type="reset"]:hover{color:#fff; background:#b80804}

a.btn{display:inline-block; font-size:18px; padding:10px 20px; background:#c5281c;}
a.btn.gray{background:#dedede}
a.btn:hover{color:#fff; background:#ee3124}


article, aside, canvas, figure, figure img, figcaption, hgroup,
footer, header, nav, section, audio, video {
	display: block;
}

.innerWrap, .innerSide {
      width: 49%;
      display: inline-block;
      vertical-align: top;
}

.mainpage{width:980px; margin:0 auto;}
.mobile{background:#fff url(images/mobileNav.png) no-repeat; height:20px; width:24px}
.phone-m{background:#fff url(images/phone-m.png) no-repeat; height:28px; width:28px}
.readmore{
	background:#8a5d3b;
	color:#fff;
	font-size:15px;
	display:inline-block;
	line-height:35px;
	padding:0 45px 0 15px;
	white-space:nowrap;
	-moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; border-radius: 10px;
}
.blogpage {
    display: inline-block;
    width: 725px;
    vertical-align: top;
}
.blogSidebar {
    display: inline-block;
    width: 250px;
    vertical-align: top;
}
.blogSidebar span {
    font-size: 21px;
    line-height: 19px;
    padding-bottom: 6px;
    display: inline-block;
}
.blog .entry-content img, .archive .entry-content img {
    float: left;
    padding-right: 27px;
    width: 200px;
}
.readmore.plus {
    display: block;
    position: absolute !important;
    bottom: -11px !important;
    left: 384px !important;
}
.readmore:hover{
	background:#f56211;
	color:#fff;
}

/* Header */
header.site-header{
	text-align:center;
	background:#fff;
	box-shadow:0 3px 3px #d6ccbf;
	height:75px;
	z-index:5;
}
header.site-header .site-title{
	padding:0;
	display:inline-block;
	position:absolute;
	top:0;
	left:50%;
	margin-left:-95px;
}
header.site-header aside{
	float:right;
	margin:35px 0 0;
}
header.site-header aside .social{
	background:url('images/social.png') no-repeat 0 0;
	display:inline-block;
	height:32px;
	width:0;
	overflow:hidden;
	padding-left:32px;
	margin-left:10px;
}
header.site-header aside .social.gg{
	background-position:-44px 0;
}
header.site-header aside .social.in{
	background-position:-89px 0;
}
header.site-header aside .social.pr{
	background-position:-132px 0;
}

/* Menu */
nav.main-navigation{
	background:#f56211;
	box-shadow:0 0px 10px #747474;
	z-index:10;
	position:relative;
	margin-bottom: 25px;
}
nav.main-navigation .mainpage{
	width:1016px;
}
nav.main-navigation ul li{
	float:left;
	position: relative;
}
nav.main-navigation ul li:hover,
nav.main-navigation ul li.current_page_item {
    background: #8a5d3b;
}
nav.main-navigation ul li + li a{
	border-left:1px solid #e17e48;
}
nav.main-navigation ul li a{
  display: inline-block;
  font-size: 18px;
  color: #fff;
  text-transform: uppercase;
  padding: 0 15px;
  line-height: 58px;
}
nav.main-navigation ul li ul.sub-menu {
    display: none;
    position: absolute;
    width: 245px;
    background: #8a5d3b;
    box-shadow: 0 0 8px rgba(0,0,0,0.8);
}
nav.main-navigation ul li ul.sub-menu li {
    display: block;
    float: none !important;
}
nav.main-navigation ul li:hover ul.sub-menu {
    display: block;
}

/* Banner */
.banner{
	z-index:0;
	background:url('images/banner-bg.jpg') no-repeat top center;
	padding:25px 0 15px;
	text-shadow:1px 1px 2px #615734;
}
.banner .mainpage{
	box-shadow:5px 5px 7px #a79d91;
}

/* Content */
.content-box{
	background:#fff;
	padding:35px 0 60px;
}
.content-box img{
		max-width:100%;
		height:auto;
	}
.our-principles{
	text-align:center;
	background:#fff;
	padding:35px 0 40px;
	font-size:18px;
	z-index:0;
}
.our-principles h3{
	font-family: 'Duffyscript';
	color:#f56211;
	font-size:60px;
	padding-bottom:20px;
	letter-spacing:5px;  
}
.our-principles ul{
	padding-top:20px;
}
.our-principles ul li{
	float:left;
	width:22%;
	margin: 0 1%;
	font-size:15px;
}
.our-principles ul li h5 a{
	color:#8a5d3b;
	text-transform:uppercase;
}
.our-principles ul li p{
	padding:20px 0 0;
}
.about-us{
	background:#906545;
	font-size:15px;
	line-height:21px;
	color:#fff;
	padding:25px 0 50px;
	box-shadow:inset 0 20px 30px #665347;
}
.about-us  aside{
	width:220px;
	height:220px;
	overflow:hidden;
	text-align:center;
	float:left;
	margin:45px 60px 0 70px;
	-moz-border-radius: 100%; -webkit-border-radius: 100%; -khtml-border-radius: 100%; border-radius: 100%;
}
.about-us h3{
	font-family: 'Duffyscript';
	font-size:60px;
	padding:10px 0 25px 55px;
	letter-spacing:5px;
}
.about-us h3.m-title{
	display:none;
}
.about-us  p{padding-right:70px}
.news-video{
	padding:45px 0 80px;
	text-align:center;
}
.news-video h3{
	font-family: 'Duffyscript';
	color:#f56211;
	font-size:48px;
	padding-bottom:40px;
	letter-spacing:5px;
}
.news-video article.news, .news-video article.video{
	width:50%;
}
.news-video article img{
	 width: 345px !important;
    height: 160px !important;
	max-width:100%;
	-moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; border-radius: 10px;
}
.news-video article.news aside{
	position:absolute;
	text-align:left;
	top:85px;
	left:20px;
	background:#8a5d3b;
	color:#fff;
	font-size:13px;
	line-height:15px;
	padding:14px;
	width:170px;
	-moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; border-radius: 10px;
}
.news-video article.news aside h5{
	font-size:16px;
	padding-bottom:5px;
	font-weight:normal;
}
.news-video article.news aside h5 a{
	color:#fff;
	font-family: 'Delicious Roman';
}
.news-video article.news aside .date{
	display:block;
	padding-bottom:12px;
}
.news-video article.news .readmore{
	position:absolute;
	left:20px;
	bottom:-22px;
}

/* Footer */
.bottom-box{
	background:#fff;
	box-shadow:0 0 20px #d4d4d4;
	position:relative;
	z-index:5;
	color:#f56211;
	font-size:16px;
}
.bottom-box h3{
	font-size:16px;
	color:#f56211;
	padding-bottom:20px;
	text-transform:uppercase;
}
.bottom-box .pages{
	width:490px;
	padding:35px 0 60px;
	margin-right:40px;
	border-right:1px solid #c2c2c2;
	height:150px;
}
.bottom-box .pages h3{
	text-align:center;
}
.bottom-box .pages ul li{
	float:left;
	width:145px;
	margin-left:70px;
}
.bottom-box  .cppa-address{
	padding:35px 0 60px;
	width:170px;
}
.bottom-box  .cppa-address p{
	padding:0 0 0 20px;
}
.bottom-box  .info{
	padding:35px 0 60px 70px;
	width:170px;
	height:150px;
	border-left:1px solid #c2c2c2;
}
.bottom-box  .info ul li{
	padding-left:15px;
}
footer.main{
	padding:10px 0;
	color:#f56211;
}
footer.main .copyright{
	padding-top:15px;
}
footer.main img{
	vertical-align:top;
}

/* Media Queries */
@media screen and (max-width: 979px) {
    .mainpage, nav.main-navigation .mainpage{
		width:100%;
	}
	header.site-header aside{
		display:none;
	}
	.mobile, .phone-m{
		display:inline-block;
	}
	.mobile{
		margin:30px 100px 0 0;
	}
	.phone-m{
		margin:30px 0 0 100px;
	}
	.banner{
		padding:0;
		border-bottom:4px solid #f56211;
	}
	.banner .mainpage{
		box-shadow:none;
	}
	nav.main-navigation ul.nav-menu{
		display:none;
		position:absolute;
		top:0;
		left:0;
		width:100%;
		z-index:9999;
		background:#f56211;
		text-align:center;
	}
	nav.main-navigation ul li{
		float:none;
	}
	nav.main-navigation ul li a{
		display:block;
		line-height:42px;
	}
	nav.main-navigation ul li + li a{
		border-left:none;
		border-top: 1px solid #e17e48;
	}
	.our-principles{
		padding:25px 0 15px;
	}
	.our-principles ul li{
		width:48%;
	}
	.our-principles ul li:nth-child(1), .our-principles ul li:nth-child(2){
		margin-bottom:40px;
	}
	.about-us{
		text-align:center;
	}
	.about-us h3{
		display:none;
	}
	.about-us h3.m-title{
		display:block;
		padding:5px 0 15px;
	}
	.about-us aside{
		float:none;
		margin:0 auto 15px;
	}
	.about-us p{
		padding:0 20px;
	}
	.news-video{
		padding:25px 0 15px;
	}
	.news-video h3{
		padding-bottom:20px;
	}
	.news-video article.news, .news-video article.video{
		width:374px;
		float:none;
		margin:0 auto;
	}
	.news-video article.news{
		margin-bottom:85px;
	}
	.news-video article.news aside{
		left:0;
		top:100px;
	}
	.news-video article.news .readmore{
		left:0;
		bottom:-55px;
	}
	.bottom-box h3{
		padding-bottom:7px;
		text-align:center;
	}
	.bottom-box .cppa-address{
		margin:0 auto;
		float:none;
		padding:20px 0 35px;
	}
	.bottom-box .pages{
		border:none;
		padding:0;
		margin:0 auto 20px;
		float:none;
		width:310px;
	}
	.bottom-box .pages ul li{
		margin:0;
	}
	.bottom-box .pages ul li.li-odd{
		border-right:2px solid #c2c2c2;
		width:150px;
	}
	.bottom-box .pages ul li.li-even{
		width:100px;
		margin-left:40px;
	}
	.bottom-box .info{
		padding:0;
		border:none;
		float:none;
		margin:0 auto;
	}
	.bottom-box .info ul li{
		padding-left:55px;
	}
	footer.main{
		padding:15px 20px;
		text-align:center
	}
	footer.main .copyright{
		float:none;
		padding:0 0 15px;
	}
	footer.main .wwlogo{
		float:none;
	}
}
@media screen and (max-width: 767px) {
	.our-principles ul li{
		width:98%;
		margin:0 0 20px!important;
	}
}
@media screen and (max-width: 374px) {
	.news-video article.news, .news-video article.video{
		width:98%;
	}
}

.wpcf7-form input, .wpcf7-form textarea {
    border: 1px solid #f56211;
    border-radius: 6px;
    padding: 10px;
    width: 255px;
}

.wpcf7-form input[type=submit] {
    border: 1px solid #AFAFAF;
    cursor: pointer;
    width: 60px !important;
}

.wpcf7-form {
    margin-left: 4%;
}

.half {
    display: inline-block;
    vertical-align: top;
    width: 49%;
}
