/*
Theme Name: Defymed
Theme URI: http://defymed.com/
Description: Wordpress test theme
Author: Thomas Eschemann
Version: 1.0

License:
License URI:

General comments (optional).
*/

/* Debug css */

/* body { background: url(http://griddle.it/960-16-20) repeat-y center top; } */


/* CSS normalize by HTML5Boilerplate */
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }
html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body { margin: 0; }
body, button, input, select, textarea { font-family: sans-serif; color: #222; }
::-moz-selection { background: #ccc; color: #fff; text-shadow: none; }
::selection { background: #ccc; color: #fff; text-shadow: none; }
a { color: #00e; }
a:hover, a:active { outline: 0; }
abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }
form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; *overflow: visible; }
table button, table input { *overflow: auto; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }
table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }
iframe{border:none;}
p{text-align:justify;}
/* Global classes */

.right{position:relative;float:right;}
.left{position:relative;float:left;}
.column{padding-left:25px;padding-right:25px;padding-top:45px;}
.section_name{width:150px;height:44px;background:url('img/page_title.png') no-repeat;padding-left:15px;padding-top:8px;text-transform:uppercase;display:block;}
.page_content{text-align:justify;}
.small_article{width:255px;margin-right:25px;}
.last{margin-right:0;};
.last_news{width:365px;background:#FFF;}
.dgreen{color:#13793A;}
.lgrey{color:#888888;}
.bold{font-weight:bold;}
.clear{clear:both;}
.section_name{font-family:"Diablo";color:#15632c;letter-spacing:-1px;font-size:16px;}
.hilite { font-weight:bold;color:#4C4C4C; }
.hilitetilte{color:#4C4C4C;}

/* Global structure and properties */
@font-face {
	font-family: Diablo;
	src: url('fonts/Diavlo_BOLD_II.eot');
}
@font-face {
	font-family: "Diablo Medium";
	src: url('http://defymed.com/wp-content/themes/Defymed/fonts/Diavlo_Medium_II.eot');
}
@font-face {
	font-family: Diablo;
	src: url('fonts/Diavlo_BOLD_II.otf');
}
@font-face {
	font-family: "Diablo Medium";
	src: url('http://defymed.com/wp-content/themes/Defymed/fonts/Diavlo_Medium_II.otf');
}
section img, section .wp-caption{
-moz-box-shadow: 0 0 5px #AAA;
-webkit-box-shadow: 0 0 5px#AAA;
box-shadow: 0 0 5px #AAA;
border:5px solid #FFFFFF;
}
section .wp-caption{
margin:10px;
margin-bottom:20px
}
.page_heading{
	position:relative;
	top:-10px;
	font-weight:bold;
	font-style:italic;
	font-family:Arial;
	font-size:13px;
	text-align:justify;
}
h1,h2,h3{
	font-family:"Diablo";
	color:#15632c;
	letter-spacing:-1px;
        margin-top:0px;
}
h2{
	font-size:15px;
}
.section_name{
	color:#15632c;
}
.section_name:visited{
	color:#15632c;
}
a{
	text-decoration:none;
	color:#71b33d;
}

.readmore_home{
	text-decoration:underline;
	color:#13793a;
	text-align:center;
	display:block;
}
body{
	width:960px;
	margin:0 auto;
	background:url('img/bg.png') #71b33d repeat-x;
	color:#4c4c4c;
	font-size:12px;
	line-height:18px;
}
header{
	width:100%;
	height:106px;
	background:url('img/header_bg.png') #FFF;

}

header form{
	position:relative;
	top:15px;
	right:35px;
	float:right;
}
header form fieldset{
	background:white;
	border:1px solid lightgrey;
	padding-left:5px;
}
header form fieldset input{
	border:transparent;
	width:170px;
	height:25px;
}
header form #searchsubmit{
	margin-left:10px;
	top:1px;
}
header #logo img{
	margin-top:20px;
	margin-left:25px;
}
nav{
	width:100%;
	height:36px;
	background:url('img/nav_bg.jpg') #ebebeb;
}
nav li{
	float:left;
	display:inline;
}
nav li a{;
	font-size:16px;
	font-family: "Diablo";
	color:black;
	float:left;
	margin-left:25px;
	display:inline;
	color:#787878;
}

nav li a .main_gradient{
	border-radius: 10px 10px 0 0;
	padding-left:5px;
	padding-right:5px;
	height:31px;
	position:relative;
	top:10px;
}

nav .current_page_parent a{
	color:#73b23d;
}
nav li a:hover{
	color:#73b23d;
}
nav .current_page_parent .main_gradient{
	background:url('img/nav_bg.png') repeat-x;
	height:28px;
	position:relative;
	padding-top:8px;
	top:0px;
	padding-left:10px;
	padding-right:10px;
}

nav .current_page_item a{
	color:#73b23d;
}
nav .current_page_item .main_gradient{
	
	background:url('img/nav_bg.png') repeat-x;
	height:28px;
	position:relative;
	padding-top:8px;
	top:1px;
	padding-left:10px;
	padding-right:10px;
}


#slideshow{
	width:100%;
	height:250px;
	background:white;
	border-top:1px solid #e9e9e9;
	border-bottom:1px solid #e9e9e9;
}
#slideshow_shadow{
	z-index:10;
	position:relative;
	margin:0 auto;
	width:800px;
	height:20px;
	background:url('img/slideshow_shadow.png');
}
section{
	background:url('img/body_bg.jpg') #FFF;
	width:960px;
}
section #right-column{
	background:#f5f5f5;
	width:314px;
	padding-left:0!important;
}
section #left-column{
	width:546px;
}
section #section-end-rounded{
	position:relative;
	float : left;
	width:960px;
	height:10px;
	top:10px;
	background:url('img/body_end_rounded.png');
}
section #introduction{
	margin-bottom:25px;
}
section #introduction .featured_image{
	width:535px;
	height:120px;
}
section .small_article .featured_image_small{
	width:100%;
	height:130px;
}
section #latest_news ul{
	list-style-type:none;
	margin:0;
	padding:0;
	margin-bottom:5px;
}
.small_article{
	font-size:11px;
	line-height:15px;
	color:#888;
}
section #latest_news li{
	padding-left:10px;
	background:white;
	width:304px;
	border-top:1px dashed #e6e6e6;
}
section #latest_news .post_date{
	width:71px;
	height:15px;
	background:url('img/post_date_container.png');
	line-height:14px;
	position:relative;
	top:-13px;
	left:10px;
	text-align:center;
	font-size:10px;
}
section #latest_news .post_text{
	width:330px;
}
section #latest_news p{
	position:relative;
	top:-10px;
}
.last_post_info{
	width:295px;
}
.last_post_arrow{
	align:center;
	box-shadow:none;
}

footer{
	width:100%;
	background:url('img/footer_bg.png');
}
#end_footer{
	position:relative;
	width:100%;
	height:10px;
	background:url('img/footer_rounded.png') no-repeat;
}
#copyright{
	width:100%;
	background:white;
	padding-bottom:10px;
	position:relative;
	text-align:center;
}
#texture_wrap{
	position:fixed;
	z-index:-100;
	width:1280px;
	height:100%;
	margin-left:-160px;
}
#header_texture{
	position:relative;
	left:-80px;
	width:1387px;
	height:551px;
	margin:0 auto;
	background:url('img/header.png');
}

footer ul{	
	margin:0;
	padding:0;
	list-style-type:none;
}
footer #parent li{
	margin-left:50px;
	float:left;
	text-transform:uppercase;
	font-weight:bold;

}
footer #parent li a{
	color:#0a4420;
}
footer #parent .children li{
	text-transform:none;
	font-weight:normal;
	margin-left:0;
	display:block;
	float:none;
}

footer{
	padding-top:25px;
	padding-bottom:15px;
}
#video{
	margin-top:40px;
	width:314px;
	overflow:hidden;
}
#video iframe{
	width:314px;
}
#footer_texture{
	position:fixed;
	width:1280px;
	height:168px;
	bottom:0;
	background:url('img/footer_texture.png');
}

    img.centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
    }

    img.alignright {
    margin: 0 0 2px 7px;
    display: inline;
    }

    img.alignleft {
    margin: 0 7px 2px 0;
    display: inline;
    }

    .alignright {
    float: right;
    }

    .alignleft {
    float: left;
    }
#page_section{
	background:url('img/pages_bg.png') white;
}
#page_section h2{
	font-size:18px;
	margin-bottom:20px;
}
#page_section #pages_right_content li{
	padding:0;
	margin:0;
}
#page-end-rounded{
	position:relative;
	float : left;
	width:960px;
	height:10px;
	top:10px;
	background:url('img/pages_end_rounded.png');
}
#pages_left_sidebar{
	margin-top:50px;
	float:left;
	width:220px;
}
#pages_right_content{
	margin-top:50px;
	margin-left:40px;
	float:left;
	width:640px;
	padding-bottom:50px;
	text-align:justify;
}
#pages_left_sidebar li{
	width:185px;
	height:36px;
	background:url('img/notcurrent_page.png');
	padding-left:35px;
	padding-top:18px;
	font-size:14px;
	font-family:Diablo;
}
#pages_left_sidebar li a{
	color:#4b4b4b;
}

#pages_left_sidebar ul{
	margin:0;
	padding:0;
	list-style-type:none;
}
#pages_left_sidebar ul .current_page_item{
	background:url('img/current_page.png');
	width:150px;
	padding-left:70px;
}
#pages_left_sidebar ul .current_page_item a{
	color:#15622c;
}
.featured_image_pages{
	width:100%;
	height:250px;

}
#page_featured_image{
	width:100%;
	height:245px;
	background:white;
}

.wpcf7-validation-errors{
	display:none;
}

#contact_form{
	margin-top:50px;
	margin-left:25px;
	width:280px;
}
#contact_form .wpcf7-text{
	border:1px solid lightgrey;
	font-size:1.2em;
	-webkit-box-shadow: inset 1px 1px 10px 1px #DDDDDD;
	-moz-box-shadow: inset 1px 1px 10px 1px #DDDDDD;
	box-shadow: inset 1px 1px 10px 1px #DDDDDD; 
}
.your-message textarea{
	width:100%;
	height:200px;
	border:1px solid lightgrey;
	-webkit-box-shadow: inset 1px 1px 10px 1px #DDDDDD;
	-moz-box-shadow: inset 1px 1px 10px 1px #DDDDDD;
	box-shadow: inset 1px 1px 10px 1px #DDDDDD; 
}
#contact_map{
	margin-top:50px;
	margin-left:57px;
}
.wpcf7-submit{
	position:relative;
	margin-top:18px;
}
textarea {
    resize: none;
}
#news_sidebar{
	width:190px;
	margin-left:25px;
	margin-top:50px;
}
#news_content{
	margin-left:50px;
	width:670px;
	margin-top:50px;

}
#contact-section{
	background:url('img/body_bg.png');
}
#contact-section #section-end-rounded{
	background:url('img/contact_session_round.png');
}
#wp-calendar{
	width:87%;
	margin-bottom:35px;
}
#archives{
	position:relative;
	left:-22px;
	margin-top:2px;
}
#news_content article h2{
	margin:0;
	padding:0;
}
.post_title{
	font-size:18px;
}
.post_date{
	display:block;
	margin-top:5px;
	color:#8C8C8C;
	font-size:11px;
}
 #news_content p{
	padding:0;
	margin:0;
	margin-top:10px;
}
.the_article{
	margin-bottom:20px;
}
.the_article img{
	width:215px;
	height:140px;
}

#flag{
	position:relative;
	top:5px;
	margin-bottom:15px;
}
#flag_link{
	color:#555;
	position:relative;
	top:5px;
}
.nobg{
	background:white!important;
}
#nosidebar_content{
	padding:50px;
}
.nobg #page-end-rounded{
	background: url('img/footer_rounded_white.png');
}
.post_image{
	margin-left:20px;
	float:left;
}
.article_content{
	width:400px;
}
.single article h2{
	margin:0;
	padding:0;
}
.single article{
	margin-top:50px;
	width:670px;
	margin-left:50px;
}
.search article{
	width:100%;
}
.search .article_content{
	width:100%;
}
.search #search_query{
	font-size:20px;
	display:block;
	margin-bottom:20px;
}