/*   
Theme Name: Website
Theme URI: 
Description: Custom theme
Author: 
Author URI: 
Version: 1.0
Tags: 
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
@import url('reset.css');
@import url('grid.css');
/* Default font settings. */
html {	font-size:100.01%;}
body {
	font-size: 14px;
	color: #636466;
	background: #fff;
	font-weight: 300;
	font-family: 'Raleway', sans-serif;
	letter-spacing: 0.1em;
}
/* Headings */
h1, h2, h3, h4, h5, h6 {
	font-weight: 300;
	color: #636466;
}
h1 {
	font-size: 20px;
	color: #821e70;
	font-weight: bold;
	margin-bottom: 10px;
}
h2 {
	font-size: 20px;
	margin-bottom: 20px;}
h3 {
	font-weight: bold;
	font-size: 18px;
	margin-bottom: 15px;
}
h4 {	font-size: 16px; line-height: 18px; color: #13b5ea;	margin-bottom: 8px;}
h5 {	font-size: 14px;	margin-bottom: 8px;}
h6 {	font-size: 12px;	margin-bottom: 8px;}
h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {
	margin: 0;
}
/* Text elements */::-moz-selection{ background: #06F; color:#fff; text-shadow: none; }::selection { background:#06F; color:#fff; text-shadow: none; }
p {
	margin: 0 0 15px;
	font-size: 14px;
}
p img.left {
	float: left;
	margin: 15px 15px 15px 0;
	padding: 0;
}
p img.right {
	float: right;
	margin: 15px 0 15px 15px;
}
blockquote {
	margin: 15px;
	color: #666;
	font-style: italic;
}
strong {
	font-weight: bold;
}
em, dfn {
	font-style: italic;
}
dfn {
	font-weight: bold;
}
sup, sub {
	line-height: 0;
}
abbr, acronym {
	border-bottom: 1px dotted #ccc;
}
address {
	margin: 0 0 15px;
	font-style: italic;
}
del {
	color:#ccc;
}
pre {
	margin: 15px 0;
	white-space: pre;
}
pre, code, tt {
	font: 14px 'andale mono', 'lucida console', monospace;
	line-height: 20px;
}
hr {
	border-style: none;
	border-bottom: 1px solid #cccccc;
	margin-top: 20px;
	margin-bottom: 20px;
}
hr.foot {
	margin-top: 30px;
	margin-bottom: 30px;
}
/* Lists */
ol #commentlist {
    margin: 0px 0px 10px 0px;
}
#commentlist li {
    margin: 0px 0px 10px 0px;
    padding: 0px 0px 10px 0px;
	border-bottom: 1px dotted #ccc;
}
li ul, li ol {
	margin: 0;
}
ul, ol {
	margin: 0 15px 15px 0;
	padding-left: 20px;
}
nav ul, #sidebar ul {
	list-style-type: none;
    padding: 0px;
    margin: 0px 0px 10px 0px;
}
nav ul li {
	float: left;
}	
#sidebar li {
	list-style-type: none;
    padding: 0px;
    margin: 0px;
}
ul {
	list-style-type: disc;
}
ol {
	list-style-type: decimal;
}
dl {
	margin: 0 0 15px 0;
}
dl dt {
	font-weight: bold;
}
dd {
	margin-left: 20px;
}
/* Tables */
table {
	margin-bottom: 20px;
	width:100%;
}
th {
	font-weight: bold;
}
thead th {
	background: #c3d9ff;
}
th, td, caption {
	padding: 4px 10px 4px 5px;
}
tr.even td {
	background: #e5ecf9;
}
tfoot {
	font-style: italic;
}
caption {
	background: #eee;
}
/* Misc classes */
.small {
	font-size: 10px;
	margin-bottom: 8px;
	line-height: 18px;
}
.large {
	font-size: 19px;
	line-height: 19px;
	margin-bottom: 20px;
}
.hide {
	display: none;
}
.quiet {
	color: #888;
}
.loud {
	color: #000;
}
.highlight {
	background:#ff0;
}
.added {
	background:#060;
	color: #fff;
}
.removed {
	background:#900;
	color: #fff;
}
.first {
	margin-left:0;
	padding-left:0;}
.last {
	margin-right:0;
	padding-right:0;
}
.top {
	margin-top:0;
	padding-top:0;
}
.bottom {
	margin-bottom:0;
	padding-bottom:0;
}
.postmetadata {
      margin: 0px 0px 0px 0px;
      padding: 0px 0px 30px 0px;
}
.meta {
      font-size: 10px;
}
/* --------------------------------------------------------------
   forms
   * Sets up some default styling for forms
   * Gives you classes to enhance your forms
   Usage:
   * For text fields, use class .title or .text
   * For inline forms, use .inline (even when using columns)
-------------------------------------------------------------- */
label {
	font-weight: bold;
}
fieldset {
	padding:22px;
	margin: 0 0 24px 0;
	border: 1px solid #ccc;
}
legend {
	font-weight: bold;
	font-size:19px;
}
/* Form fields */
input[type=text], input[type=password], input.text, input.title, textarea, select {
	background-color:#fff;
	border:1px solid #ccc;
	padding: 5px;
}
input[type=text]:focus, input[type=password]:focus, input.text:focus, input.title:focus, textarea:focus, select:focus {
	border-color:#777;
}
input[type=text], input[type=password], input.text, input.title, textarea, select {
	margin:8px 0;
}
input.text, input.title {
	max-width: 300px;
	width: 80%;
	padding:5px;
}
input.title {
	font-size:24px;
}
textarea {
	width: 600px;
	max-width: 90%;
	height: 150px;
	padding:5px;
}
input[type=checkbox], input[type=radio], input.checkbox, input.radio {
	position:relative;
	top:4px;
}
form.inline {
	line-height:3;
}
form.inline p {
	margin-bottom:0;
}
/* Success, notice and error boxes */
.error, .notice, .success {
	padding: 12px;
	margin-bottom: 16px;
	border: 2px solid #ddd;
}
.error {
	background: #FBE3E4;
	color: #8a1f11;
	border-color: #FBC2C4;
}
.notice {
	background: #FFF6BF;
	color: #514721;
	border-color: #FFD324;
}
.success {
	background: #E6EFC2;
	color: #264409;
	border-color: #C6D880;
}
.error a {
	color: #8a1f11;
}
.notice a {
	color: #514721;
}
.success a {
	color: #264409;
}
/* links */ 
a {
	color: #999999;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
/* Misc */
.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}
.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}
.wp-caption-dd {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
.wp-caption-text {
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignleft {
	float: left;
	margin-right: 40px;
}
.alignright {
	float: right;
	margin-left: 40px;
}
.gallery-caption {
}
/* post */
.meta {
	word-wrap: break-word;
}
.sticky {
}
.bypostauthor {
}
/* Comments */#commentlist p {        margin: 0px;        font-size: 11px;}
#comments {
        margin:20px 0px 10px 0px;
        padding:20px 0px 10px 0px;
        border-top: solid 1px #ccc;
}
#postcomment {
        margin:20px 0px 10px 0px;
        padding:20px 0px 10px 0px;
        border-top: solid 1px #ccc;
}
/* --------------------------------------------------------------   
User Styles below here
-------------------------------------------------------------- 
*/

header {
	padding-top: 20px;
}

header .logo img {
	width: 100%;
	height: auto;
}

header .icons {
	width: 100%;
	text-align: right;
	height: 24px;
	padding-bottom: 20px;
}

header .icons a {
	color: #636466;
	padding-left: 30px;
	display: inline-block;
	line-height: 24px;
	font-size: 11px;
}

header .icons a.phone {
	background: url('images/ico-phone.png') left center no-repeat;
	background-size: 24px 24px;
	padding-right: 20px;
}

header .icons a.email {
	background: url('images/ico-email.png') left center no-repeat;
	background-size: 24px 24px;
}

header nav {
	width: 100%;
	height: 50px;
	position: relative;
	z-index: 250;
}

header nav ul {
	height: 50px;
	float: right;
	margin: 0px;
	padding: 0px;
	background-color: #821e70;
}

header nav ul li {
	display: inline-block;
	padding: 10px 0;
	height: 30px;
	margin: 0px;
}

header nav ul li a {
	display: block;
	color: #FFFFFF;
	font-size: 17px;
	line-height: 30px;
	border-left: 1px solid #FFFFFF;
	padding: 0 20px;
	text-transform: uppercase;
}

header nav ul li a:hover {
	text-decoration: none;
}

header nav ul li.current_page_item a {
	font-weight: bold;
}

header nav ul li:first-child a {
	border-left: 0px;
}

.pageheader {
	padding: 0  0 20px 0;
	background-color: #f3f3f4;
	border-bottom: 13px solid #821e70;
	margin-top: -10px;
	margin-bottom: 40px;
}

.pageheader .slideshow {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
	min-height: 294px;
}

.pageheader .slideshow img {
	width: 100%;
	height: auto;
	display: block;
}

.pageheader .slideshow #prev {
	position: absolute;
	z-index: 200;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 100px;
	background: url(images/ico-prev.png) center center no-repeat;
	background-size: 50px 58px;
}

.pageheader .slideshow #next {
	position: absolute;
	z-index: 200;
	top: 0px;
	right: 0px;
	height: 100%;
	width: 100px;
	background: url(images/ico-next.png) center center no-repeat;
	background-size: 50px 58px;
}

.pageheader .pagetitle {
	text-align: center;
}

.pageheader .pagetitle h1 {
	text-transform: uppercase;
	padding-top: 20px;
}

.pageheader .pagetitle h3 {
	font-weight: normal;
}

.heading {
	width: 100%;
	height: 30px;
	line-height: 30px;
	background: url(images/heading-bg.png) center center repeat-x;
	margin: 0 0 20px 0;
}

.heading span {
	background-color: #FFFFFF;
	padding-right: 40px;
	display: inline-block;
	line-height: 30px;
	font-size: 20px;
	font-weight: bold;
	text-transform: uppercase;
	color: #821e70;
}

.sign {
	border-bottom: 13px solid #939598;
	margin-bottom: 20px;
	transition: border-bottom 0.5s ease;
}

.sign .image {
	background: url(images/ico-mag.png) center center no-repeat #939598;
	background-size: 70px 70px;
	overflow: hidden;
	position: relative;
	height: 178px;
	width: 300px;
	transition: background-color 0.5s ease;
	cursor: pointer;
}

.sign.home:hover .image {
	background-color: #821e70;
}

.sign.home .image img {
	transition: top 0.5s ease;
	position: absolute;
	top: 0px;
	left: 0px;
}

.sign.home:hover .image img {
	top: 178px;
}

.sign.open .image img {
	top: 0px;
}

.sign:hover, .sign.open, .sign.opened  {
	border-bottom: 13px solid #821e70;
}

.sign .text {
	text-align: center;
	background-color: #f3f3f4;
	padding: 10px 0;
}

.sign .text .more {
	opacity: 1;
	transition: opacity .5s ease;
	cursor: pointer;
}

.sign.open .text .more {
	opacity: 0;
}

.sign .text .desc {
	height: 0px;
	max-height: 0px;
	transition: max-height,padding 0.5s ease;
	position: relative;
	overflow: hidden;
	padding-bottom: 0px;
	background: url(images/ico-close.png) right bottom no-repeat;
	background-size: 25px 25px;
	margin: 0 20px;
	position: relative;
}

.sign.open .text .desc {
	max-height: 200px;
	padding-bottom: 80px;
	height: auto;
}

.sign.open .text .desc .close {
	position: absolute;
	bottom: 0px;
	right: 0px;
	width: 25px;
	height: 25px;
	cursor: pointer;
	display: block;
}

.content p {
	font-size: 18px;
}

#map {
	max-width: 1200px;
	width: 100%;
	height: 600px;
	margin: 0 auto;
	margin-top: -10px;
	margin-bottom: -30px;
}

.gm-style-iw {
	min-height: 150px;
	width: 500px;
	color: #821e70;
	font-size: 15px;
}

.gm-style-iw p {
	color: #821e70;
}

.gm-style-iw h3 {
	color: #821e70;
	font-size: 15px;
	margin-bottom: 5px;
}

.gm-style-iw .attachment-thumbnail {
	float: left;
	margin-right: 10px;
}

.content.services {
	position:relative;
}

.content.services .tab {
	position: relative;
	display: none;
}

.content.services .tab.showtab {
	display: block;
}

.content.services h2 {
	font-weight: 600;
	font-size: 18px;
	line-height: 25px;
}

.content.services .tab > div > h2 {
	padding-left: 40px;
	background: url(images/ico-pm.png) left 0px no-repeat;
	cursor: pointer;
}

.content.services .tab > div.opened > h2 {
	background-position: left -25px;
}	

.content.services .tab > div > div {
	height: 0px;
	max-height: 0px;
	overflow: hidden;
	transition: max-height 0.5s ease;
}

.content.services .tab > div.opened > div {
	height: auto;
	max-height: 1000px;
}

.serviceside .opened .more {
	opacity: 0;
}

footer {
	padding: 20px 0;
	background-color: #f3f3f4;
	border-bottom: 13px solid #821e70;
	margin-top: 30px;
}

footer h3 {
	font-weight: bold;
	font-size: 14px;
	text-transform: uppercase;
	margin-bottom: 20px;
}

footer a.icon  {
	color: #636466;
	padding-left: 30px;
	display: block;
	line-height: 24px;
	font-size: 14px;
	margin-bottom: 5px;
}

footer a.icon.phone {
	background: url('images/ico-phone.png') left center no-repeat;
	background-size: 24px 24px;
	padding-right: 20px;
}

footer a.icon.mobile {
	background: url('images/ico-mobile.png') left center no-repeat;
	background-size: 24px 24px;
	padding-right: 20px;
}

footer a.icon.email {
	background: url('images/ico-email.png') left center no-repeat;
	background-size: 24px 24px;
}

footer .logo img  {
	width: 100%;
	height: auto;
	margin-bottom: 20px;
}