/*
Theme Name: Professional
Author: Rohit Tripathi
Author URI: http://inkhive.com
Theme URI: http://inkhive.com/product/professional/
Description: Professional is one of the most impressive themes best suitable for business, events, magazine or any other kind of blog. Basically, you can optimize this blog to use with any of your website. It features a powerful and well designed slider, a showcase area, some stunning animations throughout the site, cross browser compatibility, multiple navigation menus, full width page layouts, footer widget area. This theme is 100% responsive and will work flawlessly on all devices. This theme is 100% Translation ready, so now you can view it in your own language. Professional has been already translated into Spanish, French & German(Deutsche).
Version: 1.0.2.1
License: GNU General Public License
License URI: license.txt
Text Domain: professional
Domain Path: /languages/
Tags: white, light, custom-background, two-columns, right-sidebar, responsive-layout, custom-menu, sticky-post, theme-options, threaded-comments, translation-ready, featured-images, photoblogging, full-width-template, brown


This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Professional is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 - Reset
2.0 - Typography
3.0 - Elements
4.0 - Forms
5.0 - Navigation
                        </ul>
	5.1 - Links
	5.2 - Menus
6.0 - Accessibility
7.0 - Alignments
8.0 - Clearings
9.0 - Widgets
10.0 - Content
	10.1 - Posts and pages
	10.2 - Asides
	10.3 - Comments
11.0 - Infinite scroll
12.0 - Media
--------------------------------------------------------------*/

/*--------------------------------------------------------------
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, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centered in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust:     100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}
*,
*:before,
*:after { /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
	-webkit-box-sizing: border-box; /* Not needed for modern webkit but still used by Blackberry Browser 7.0; see http://caniuse.com/#search=box-sizing */
	-moz-box-sizing:    border-box; /* Still needed for Firefox 28; see http://caniuse.com/#search=box-sizing */
	box-sizing:         border-box;
}
body {
	background: #fff;
        -webkit-font-smoothing: antialiased;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
	display: block;
}
ol, ul {
	list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a:focus {
	outline: thin dotted;
}
a:hover,
a:active {
	outline: 0;
}
a img {
	border: 0;
}

/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: sans-serif;
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 {
	clear: both;
}
p {
	margin-bottom: 1.5em;
        font-size: 1.1em;
        line-height: 1.8;
}
b, strong {
	font-weight: bold;
}
dfn, cite, em, i {
	font-style: italic;
}
blockquote {
	margin: 0 1.5em;
}
address {
	margin: 0 0 1.5em;
}
pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}
code, kbd, tt, var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small {
	font-size: 75%;
}
big {
	font-size: 125%;
}

/*--------------------------------------------------------------
3.0 Elements
--------------------------------------------------------------*/
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}
ul, ol {
	margin: 0 0 1.5em 3em;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}
li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}
figure {
	margin: 0;
}
table {
	margin: 0 0 1.5em;
	width: 100%;
}
th {
	font-weight: bold;
}
.sub-top_4 ul,
.sub-top_6 ul{
    margin: 0px;
}
/*--------------------------------------------------------------
4.0 Forms
--------------------------------------------------------------*/
button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
	*vertical-align: middle; /* Improves appearance and consistency in IE6/IE7 */
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid #ccc;
	border-color: #ccc #ccc #bbb #ccc;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa #bbb;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}
input[type="checkbox"],
input[type="radio"] {
	padding: 0; /* Addresses excess padding in IE8/9 */
}
input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	-moz-box-sizing:    content-box;
	box-sizing:         content-box;
}
input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
	border: 0;
	padding: 0;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 3px;
}
textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding-left: 3px;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 98%;
}

/*--------------------------------------------------------------
5.0 Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
5.1 Links
--------------------------------------------------------------*/
a {
	color: royalblue;
}
a:visited {
	//color: purple;
}
a:hover,
a:focus,
a:active {
	color: midnightblue;
}

/*--------------------------------------------------------------
5.2 Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}
.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
.main-navigation li {
	float: left;
	position: relative;
}
.main-navigation a {
	display: block;
	text-decoration: none;
}
.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	display: none;
	float: left;
	left: 0;
	position: absolute;
	top: 1.5em;
	z-index: 99999;
}
.main-navigation ul ul ul {
	left: 100%;
	top: 0;
}
.main-navigation ul ul a {
	width: 200px;
}
.main-navigation ul ul li {
}
.main-navigation li:hover > a {
}
.main-navigation ul ul :hover > a {
}
.main-navigation ul ul a:hover {
}
.main-navigation ul li:hover > ul {
	display: block;
}
.main-navigation .current_page_item a,
.main-navigation .current-menu-item a {
}
/* Small menu */
.menu-toggle {
	cursor: pointer;
	display: none;
}


/*カスタマイズ
===============================================*/

.top1{
   // background: #f8f7f5; 
    width: 100%; 
    height: 260px;
}
.top1_content,
.top2_content{
    max-width: 960px; 
    margin: 0 auto; 
    height: 100%; 
}
.top2_content{
    padding: 1em 0;
}
.top_list li{
    list-style: none;
    width: 240px;
    height: auto;
}
.top1_content img,
.top2_content h2,
.top1_content div,
.top_list{
    float: left;
}

.top_list img{
    display: table-cell;
    width: 240px;
}
.top1_content img{
    margin-left: -3em;
    width: 41%;
}
.top1_content div{
    width: 59%;
    margin-left: 1em;
}
.top1_content div h2{
    margin-top: 1.6em;
    line-height: 1.3;
}



.sub-top_1{
    background-color: #b3afa4;
    height: 350px;
}

.sub-top_2{
    margin:0 auto;
    width: 960px;
    min-height: 350px;
}

.sub-top_22 {
    margin:0 auto;
    width: 960px;
}

.sub-top_21{
    margin:0 auto;
    width: 960px;
    height: 700px;
}

.sub-top_3{
        margin-top: 150px;
        color: #fff;
}
    
.sub-top_4 li {
    display: inline;
    background-color: #fff;
    background-size: auto;
    list-style-type: none;
    margin: 15px 10px 0px 0px;
    padding: 5px 15px;
    text-align: center;
    font-size: 1.3em;
}

.sub-top_0 li {
    float: left;
    background-color: #fff;
    background-size: auto;
    margin: 15px 14px 0px 0px;
    list-style-type: none;
    padding: 5px 15px;
    text-align: center;
    font-size: 1.3em;
}

.sub-top_5 {
    background-color: #eeeeee;
    max-height: 380px;
    margin-bottom: 5em;
}

.sub-top_6 {
    clear: left;
    
}

.sub-top_7 th {
    background-color: #eeeeee;
    color: #808080;
    font-weight: normal;
    font-size: x-large;
    width: 60px;
    padding: 22px 0px;
    text-align: center;
    border-collapse: collapse;
    border:5px solid #fff;
}

.sub-top_7 td{
    vertical-align: middle;
    text-align: center;
    border-collapse: collapse;
    border:5px solid #fff;
    background-color: #f7f8f5;
    height: 80px;
    font-size: 18px;
}

.sub-top_8{
    float: right;
}

.sub-top_9{
    float: left;
    margin-top: 2%;
    margin-left: 1%;
}

video {
    max-height: 350px;
    margin: 1em 5em;
}

.textsize-1{
    font-size: large;
    margin-bottom: 0px;
    font-size: x-large
}

.textsize-2 h2 {
    float: left;
    text-align: center;
    font-size: 18px;
    color: #fff;
    background-color: #595752;
    padding: 5px;
    margin: 2% 0 1% 1%;
    width: 110px;
    height: 30px;
}

.textsize-3 {
    font-size: 80%;
}

.text-1{
    text-align: left;
    width: 100%;
    padding: 0px 0px 5px 0px;
    border-bottom: 2px solid #fff;
    margin-top: 0px;
    font-family: courler new;
    font-size: 3.3em;
}

.text-2{
    border-bottom-color: #fff;
}

.text-3{
    float: left;
    margin-left: 5%;
    width: 80%;
    
}
.text-3 h3{
    font-weight: bolder;
    font-size: 1.8em;
}
.text-3 p{
    width: 90%;
    margin-left: 2em;
    font-size: 1.4em;
    padding-bottom: 1.5em;

}

.text-4{
    padding: 0px 40px;
    font-size: large;
    width: 530px;
}

.text-5{
    padding: 0px 40px;
    font-size: large;
    width: 570px;
}
.home-main_5 a:hover{
    opacity: 0.6;
}
.wpcf7{
    padding: 20px !important;
    background-color: #f3f3f2;
}
@media screen and (max-width: 800px){
.sub-top_2{
    margin:0 auto;
    max-width: 100%;
    max-height: 100%;
}

.sub-top_21{
    margin:0 auto;
    width: 120%;
    height: 100%;
}

.sub-top_3{
        margin-top: 10px;
        color: #fff;
        clear: left;
        padding: 68px 0px 0px 5px;
}
    
.sub-top_4 li {
    float: left;
    background-color: #fff;
    background-size: auto;
    list-style-type: none;
    margin: 8px 0px 0px 5px;
    padding: 3px 5px;
    text-align: center;
}

.sub-top_0 li {
    background-color: #fff;
    background-size: auto;
    margin: 8px 0px 0px 5px;
    list-style-type: none;
    padding: 3px 5px;
    text-align: center;
}

.sub-top_6 {
    clear: none;
}

.sub-top_7{
    margin-left: 5px;
    clear: left;
    width: 80%;
    height: 30%;
}

.sub-top_9{
    float: none;
}

.textsize-1{
    font-size: large;
    margin: 15px 0px 0px;
}

.textsize-2 h2 {
    margin: 25px 0px 5px 10px;
    width: 110px;
    height: 30px;
}


.text-1{
    font-family: courler new;
    clear: none;
    width: 200px;
}

}

@media screen and (max-width: 600px){
	.menu-toggle,
	.main-navigation.toggled .nav-menu {
		display: block;
	}

	.main-navigation ul {
		display: none;
                
	}
        .sub-top_2{
    margin:0 auto;
    max-width: 100%;
    max-height: 100%;
}

.sub-top_21{
    margin:0 auto;
    width: 100%;
    height: 100%;
}

.sub-top_3{
        padding-top: 10px;
        color: #b3afa4;
}
    
.sub-top_4 li {
    float: left;
    background-color: #b3afa4;
    background-size: auto;
    list-style-type: none;
    margin: 15px 0px 0px 0px;
    padding: 3px 5px;
    margin-right: 5px;
    text-align: center;
    color: #fff;
}

.sub-top_0 li {
    float: left;
    background-color: #b3afa4;
    background-size: auto;
    margin: 5px 0px 0px 0px;
    list-style-type: none;
    margin-right: 5px;
    padding: 3px 5px;
    text-align: center;
    color: #fff;
}

.sub-top_7{
    clear: left;
    width: 98%;
    height: 30%;
    margin: 0px 5px;
}

.sub-top_7 th {
    font-size: large;
}

.sub-top_7 td{
    font-size: 100%;
}

.sub-top_8 {
    float: none;
    margin-left: 50px;
    margin-bottom: 20px;
}

.sub-top_9{
    float: left;
    margin-left: 5px;
    margin-top: 0px;
}


.textsize-1{
    font-size: large;
    margin-bottom: 0px;
}

.textsize-2 h2 {
    float: left;
    text-align: center;
    font-size: 18px;
    color: #fff;
    background-color: #595752;
    padding: 5px;
    margin: 40px 0px 0px 10px;
    width: 110px;
    height: 30px;
}

.text-1{
    text-align: left;
    width: 300px;
    padding: 0px 0px 5px 0px;
    border-bottom: 2px solid #b3afa4;
    margin-top: 0px;
    font-family: courler new;
}

.text-2{
    border-bottom-color: #fff;
}

.text-3{
    float: left;
    margin: 0px 0px 0px 20px; 
}

.text-3 h3 {
        font-size: 20px;
    }

.text-4{
    padding: 0px 40px;
    font-size: large;
}

.text-4 br{
    display: none;
}

.textsize-3 {
    font-size: 80%;
}

}

@media screen and (max-width: 480px){
    .sub-top_1{
    background-color: #fff;
    height: 390px;
}

.sub-top_2{
    margin:0 auto;
    width: 960px;
    height: 100%;
}

.sub-top_21{
    margin:0 auto;
    width: 100%;
    height: 100%;
}

.sub-top_3{
        padding-top: 10px;
        color: #b3afa4;
}
    
.sub-top_4 li {
    float: left;
    background-color: #b3afa4;
    background-size: auto;
    list-style-type: none;
    margin: 15px 0px 0px 0px;
    padding: 3px 5px;
    margin-right: 5px;
    text-align: center;
    color: #fff;
}

.sub-top_0 li {
    float: left;
    background-color: #b3afa4;
    background-size: auto;
    margin: 5px 0px 0px 0px;
    list-style-type: none;
    margin-right: 5px;
    padding: 3px 5px;
    text-align: center;
    color: #fff;
}

.sub-top_7 {
    clear: left;
    width: 98%;
    height: 30%;
    margin: 0px 5px;
}

.sub-top_7 th {
    font-size: large;
}

.sub-top_7 td{
    font-size: 100%;
}

.sub-top_8 {
    margin-left: 0px;
}

.sub-top_9{
    float: left;
    margin-left: 5px;
}

.textsize-1{
    font-size: large;
    margin-bottom: 0px;
}

.textsize-2 h2 {
    float: left;
    text-align: center;
    font-size: 18px;
    color: #fff;
    background-color: #595752;
    padding: 5px;
    margin: 40px 0px 0px 10px;
    width: 110px;
    height: 30px;
}

.text-1{
    text-align: left;
    width: 300px;
    padding: 0px 0px 5px 0px;
    border-bottom: 2px solid #b3afa4;
    margin-top: 0px;
    font-family: courler new
}

.text-2{
    border-bottom-color: #fff;
}

.text-3{
    float: left;
    margin: 0px 0px 0px 20px; 
}

.text-3 h3 {
        font-size: 20px;
    }

.text-4{
    padding: 0px 40px;
    font-size: large;
}

.text-4 br{
    display: none;
}

.textsize-3 {
    font-size: 80%;
}

}

@media screen and (max-width: 320px){
    .textsize-2 h2 {
        margin: 40px 0px 10px 0px;
        width: 320px;
    }
    
    .sub-top_9 {
        width: 327px;
    }
    
}


.pagetop-1 {
    width: 960px;
    height: 1250px;
    margin: 0px auto;
}

.pagetext-1{
    margin-left: 8px; 
}

.pagetext-1 h2,
.pagetext-1 h1{
    text-align: center;
    font-size: 20px;
    color: #fff;
    background-color: #595752;
    padding: 5px;
    width: 160px;
    height: 35px;
}

.pagetext-2 {
    border-left-style: none;
}

.pagetext-2 th {
    border-left-style: none;
    background-color: #eeeeee;
    color: #808080;
    font-weight: normal;
    font-size: large;
    width: 200px;
    text-align: center;
    vertical-align: middle;
    border-collapse: collapse;
    border:8px solid #fff;
}

.pagetext-2 td{
    vertical-align: middle;
    text-align: left;
    padding-left: 20px;
    border-collapse: collapse;
    border:8px solid #fff;
    background-color: #f7f8f5;
    height: 80px;
    font-size: 18px;
}

.pagetop-2{
    width: 960px;
    height: 650px;
    margin: 0px auto;
}

.pagetext-3{
    border: 0px;
}

.pagetext-3 th {
    border-left-style: none;
    background-color: #eeeeee;
    color: #808080;
    font-weight: normal;
    font-size: large;
    width: 200px;
    text-align: center;
    vertical-align: middle;
    border-collapse: collapse;
    border:8px solid #fff;
}

.pagetext-3 td{
    vertical-align: middle;
    text-align: left;
    padding-left: 20px;
    border-collapse: collapse;
    border:8px solid #fff;
    background-color: #fdfff9;
    height: 80px;
    font-size: 18px;
}

.table-text {
    height: 500px;
    vertical-align: baseline;
}
.infodata{
    width: 100%;
    min-height: 55px;
    border-bottom: 1px dotted #595752;
}
.infodata h2{
    font-size: 24px;
}
.infodata h2 span{
    font-size: 14px;
}
#custom-post-type-recent-posts-2 ul{
    margin-left: 0px !important;
}
#custom-post-type-recent-posts-2 li{
    list-style: none;
    font-size: 16px;
    height: 55px;
    border-bottom: 1px dotted #595752;
    margin: 10px 0;
}
#custom-post-type-recent-posts-2 h1{
    background-image: none !important;
    font-size: 20px;
    color: #fff;
    background-color: #595752;
    text-align: center;
}
@media screen and (max-width: 800px){
    .pagetop-1 {
        width: 100%;
    }
    
    .pagetop-2 {
        width: 100%;
    }
    
}

@media screen and (max-width: 600px){
    .pagetext-2 th {
        width: 120px;
    }
    
    .pagetext-3 th {
        width: 140px;
    }
}

@media screen and (max-width: 480px){
    .pagetop-1 {
        height: 1000px;
    }
    
    .pagetext-2 th {
        width: 110px;
    }
    
    .pagetext-3 th {
        width: 140px;
    }
    
    .map-1 {
        height: 200px;
    }
    
    iframe {
        max-height: 100%
    }
    
}

@media screen and (max-width: 320px){
    .pagetop-1 {
        height: 1050px;
    }
    
    .pagetop-2 {
        height: 100%;
    }
    
    .pagetext-2 th {
        width: 40px;
    }
    
    .pagetext-3 th {
        width: 40px;
    }
    
    .pagetext-1 {
        margin-left: 0px;
    }
    
    .pagetext-1 h2 {
        width: 320px;
        margin-bottom: 20px;
    }
    
    
    
    
}

.footer-bottom_1 {
    width: 100%;
}

.home-main_1 {
    background: #f8f7f5;
    min-height: 350px;
}

.home-main_2 {
    max-width: 960px; 
    margin: 0 auto; 
    height: 100%;
}

.home-main_3 {
    float: left;
    margin-top: 1em;
}

.home-main_3,
.home-top_2 h2 {
    width: 160px;
}

.home-main_4 {
    float: left;
    margin: 2.4em 0em 0em 0em;
    width: 80%;
}

.home-main_5 {
    float: left;
    width: 220px;
    margin-bottom: 2em;
    margin-left: 2em;
    height: 120px;
}



.home-top_1 {
    min-height: 250px;
    max-width: 960px;
    margin: 0 auto;
}

.home-top_2 {
    float: left;
    margin-top: 2em;
}

.home-top_3 {
    float: left;
    margin: 3em 0em 0em 2em;
    width: 76%;
}

.home-sub {
    float: left;
    margin-right: 2em;
    border-bottom: 1px solid;
    margin-bottom: 1.5em;
    width: 24em;
}

.home-sub p {
    margin-bottom: 0px;
}

.home-sub h4 {
    margin-top: 0px;
}

.home-hed_1 {
    width: 100%; 
    height: 260px;
}

.home-hed_2 {
     
    height: 100%;
}

.home-hed_2 img {
    width: 100%;
}
.home-hed_5{
    width: 960px;
    margin: 0 auto;
}
.home-hed_3{
    float: left;
    width: 40%;
    margin-top: 100px;
    margin-left: 30px;
}
.home-hed_4{
    float: right;
    margin: 0px 70px 0px 0;
}
.home-hed_4 img{
    width: 260px;
}
.home-hed_3 h2,
.home-hed_3 h3{
    font-family: serif;
    margin: 0 auto;
}
.home-hed_3 h2{
    font-size: 27px;
}
.block {
        font-family: serif;
}
.contactform{
    margin: 30px 0;
    border-bottom: 1px solid;
    padding: 20px 0;
}
.contactform strong{
    font-size: 24px;
}

@media screen and (max-width: 800px){
    .home-main_2{
        width: 100%;
    }
    .block {
        font-family: serif;
    }
    
    .home-hed_3{
        margin: -166px 0px 0px 2%;
    }
    
    .home-hed_4 {
        margin: -161px auto 0;
        width: 590px;
        text-align: right;
    }
    
    .top1{
    background: #fff;
    width: 100%; 
    height: 100%;
    }

    .top1_content{
    width: 100%; 
    margin: 0 auto; 
    height: 100%; 
    }
    
    .top1_content div p {
        margin: 0;
    }
    
    .top1_content img {
        width: 40%;
        height: auto !important;
    }
    
    .top1_content div {
        width: 60%
    }

    .top1_content div h2 {
    margin-top: 5px;
    line-height: 1.3;
    }
    
    .home-main_3,
    .home-top_2 h2 {
        width: 160px;
    }

    .home-main_4 {
    float: left;
    margin: 2.4em 0em 0em 0em;
    width: 70%;
    }

    .home-top_3 {
        width: 70%;
        margin: 0px;
        float: left;
        padding: 3em;
    }

    .home-main_5 {
        width: 47%;
        max-width: 220px;
        margin: 0 3% 5% 3%;
    } 
    
    .home-main_4 {
        width: 75%;
    }

}

@media screen and (max-width: 600px){
    .home-main_3,
    .home-top_2 h2 {
        width: 160px;
    }
    .home-main_3,
    .home-top_2,
    .home-top_2 h2,
    .home-hed_5,
    .sub-top_22{
        width: 100%;
    }
    .top1{
    background: #fff; 
    width: 100%; 
    min-height: 220px;
    }
    
    .top1_content{
    width: 100%; 
    margin: 0 auto; 
    height: 100%; 
    }
    
    .top1_content img {
        display: none;
    }

    .top1_content div {
        width: 90%;
        margin: 5%;
    }
    
    .block {
        display: block;
        font-family: serif;
    }    
    
    .home-hed_3 {
        margin: -199px 0px 0px 2%;
     }
    
    .home-hed_3 h3 {
        margin-left: 0em;
        font-family: serif;
    }

    .home-hed_4 {
        //margin: -162px auto 0;
        width: 300px;
    }
    
    .home-main_3 {
        float: none;
        margin-top: 1em;
    }
    
    .home-main_4 {
        float: left;
        margin: 1em 0em 0em 2.4em;
        width: 100%;
    }
    
    .home-top_2 {
        float: none;
        margin-top: 2em;
    }
    
    .home-hed_3 {
        width: 80%;
        margin: 8% 0 0 2%;
    }
    .sub-top_1{background-color: #fff;}
    
    .textsize-2 h2{margin: 0px 0px 0px 0px; width: 100%; height: 40px;}
    .sub-top_2{width: 100%; min-height: 250px;}
    .sub-top_5,.sub-top_2{margin-top: 50px;}
    .sub-top_1{height: auto;}
    .sub-top_22 video{height: auto; width: 95%; margin: 10px;}
    
}

@media screen and (max-width: 480px){
    .home-hed_3,.home-hed_4{float: none;}
    .home-hed_3 h2{width: 100%;}
    .home-hed_3{margin: -250px 0px 0px 2%;}
    .home-hed_4{width: 300px;}
    .home-hed_4 img{width: 200px;}
    .home-hed_3,.home-hed_4{margin: 20px !important;}
    .home-hed_3 h2,.top1_content div h2{font-size: 20px;}
    .home-hed_3 h3,.text-3 h3{font-size: 16px;}
    .top1_content div p{font-size: 13px;}
    .home-main_4,.home-top_3{float: none; margin: 0px;}
    .home-main_5{width: 44%;}
}

@media screen and (max-width: 320px){
}

/*--------------------------------------------------------------
6.0 Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}

/*--------------------------------------------------------------
7.0 Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1em;
	margin-top: 0.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-bottom: 1em;
	margin-top: 0.5em;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 1.5em auto;
}

/*--------------------------------------------------------------
8.0 Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: '';
	display: table;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
9.0 Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}

/* Search widget */
.widget_search .search-submit {
	display: none;
}

/*--------------------------------------------------------------
10.0 Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
10.1 Posts and pages
--------------------------------------------------------------*/
.sticky {
}
.hentry {
	margin: 0 0 1.5em;
}
.byline,
.updated {
	display: none;
}
.single .byline,
.group-blog .byline {
	display: inline;
}
.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
10.2 Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
10.3 Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}
.bypostauthor {
}
p.form-allowed-tags, .form-allowed-tags {
	display: none;
}
/*--------------------------------------------------------------
11.0 Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .paging-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}
/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
12.0 Media
--------------------------------------------------------------*/
.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
/*--------------------------------------------------------------
12.1 Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0 auto;
}

.wp-caption-text {
	text-align: center;
	font-size: 12px;
	padding: 5px;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

/*--------------------------------------------------------------
12.2 Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
	margin-bottom: 25px;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}
/*
@media print {
    #top-bar,header,#top-nav,.sub-top_5,#footer-sidebar, #colophon{display: none !important;}
    body,.sub-top_2{width: 760px; height: 1080px;}
    .sub-top_8 img{width: 300px !important;}
    .sub-top_3{margin-top: 50px;}
    .sub-top_4 li,.sub-top_6{padding: 0px;}
    .sub-top_1,.sub-top_2{height: 200px;}
    .text-3 h3{font-size: 1.1em;}
    .text-3 p{font-size: 9px;}
    .sub-top_7 td,.sub-top_7 th{min-height: 5px; font-size: 70%;padding: 0px;}
    .sub-top_7{width: 70%;}
    .textsize-2 h2{width: 15px; font-size:14px;}
    
}
*/