/*
Theme Name: cornishthemefornewbuilds
Theme URI: 
Description: Cornish-generated theme
Version: 1.0
Author: Cornish Hosting
Author URI: www.cornishhostingcompany.co.uk
Tags: fixed-layout, responsive-layout, valid XHTML, widgets
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Created by Cornish Hosting */

#cornish-main
{
   background: #FFFFFF;
   margin:0 auto;
   font-size: 13px;
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
   position: relative;
   width: 100%;
   min-height: 100%;
   left: 0;
   top: 0;
   cursor:default;
   overflow:hidden;
}
table, ul.cornish-hmenu
{
   font-size: 13px;
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
}

h1, h2, h3, h4, h5, h6, p, a, ul, ol, li
{
   margin: 0;
   padding: 0;
}

/* Reset buttons border. It's important for input and button tags. 
 * border-collapse should be separate for shadow in IE. 
 */
.cornish-button
{
   border: 0;
   border-collapse: separate;
   -webkit-background-origin: border !important;
   -moz-background-origin: border !important;
   background-origin: border-box !important;
   background: #E0E0E0;
   background: -webkit-linear-gradient(top, #F7F7F7 0, #CCCCCC 100%) no-repeat;
   background: -moz-linear-gradient(top, #F7F7F7 0, #CCCCCC 100%) no-repeat;
   background: -o-linear-gradient(top, #F7F7F7 0, #CCCCCC 100%) no-repeat;
   background: -ms-linear-gradient(top, #F7F7F7 0, #CCCCCC 100%) no-repeat;
   -svg-background: linear-gradient(top, #F7F7F7 0, #CCCCCC 100%) no-repeat;
   background: linear-gradient(to bottom, #F7F7F7 0, #CCCCCC 100%) no-repeat;
   -webkit-border-radius:4px;
   -moz-border-radius:4px;
   border-radius:4px;
   -webkit-box-shadow:0 0 2px 1px rgba(0, 0, 0, 0.2);
   -moz-box-shadow:0 0 2px 1px rgba(0, 0, 0, 0.2);
   box-shadow:0 0 2px 1px rgba(0, 0, 0, 0.2);
   border-width: 0;
   padding:0 20px;
   margin:0 auto;
   height:30px;
}

.cornish-postcontent,
.cornish-postheadericons,
.cornish-postfootericons,
.cornish-blockcontent,
ul.cornish-vmenu a 
{
   text-align: left;
}

.cornish-postcontent,
.cornish-postcontent li,
.cornish-postcontent table,
.cornish-postcontent a,
.cornish-postcontent a:link,
.cornish-postcontent a:visited,
.cornish-postcontent a.visited,
.cornish-postcontent a:hover,
.cornish-postcontent a.hovered
{
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
}

.cornish-postcontent p
{
   margin: 10px 0;
}

.cornish-postcontent h1, .cornish-postcontent h1 a, .cornish-postcontent h1 a:link, .cornish-postcontent h1 a:visited, .cornish-postcontent h1 a:hover,
.cornish-postcontent h2, .cornish-postcontent h2 a, .cornish-postcontent h2 a:link, .cornish-postcontent h2 a:visited, .cornish-postcontent h2 a:hover,
.cornish-postcontent h3, .cornish-postcontent h3 a, .cornish-postcontent h3 a:link, .cornish-postcontent h3 a:visited, .cornish-postcontent h3 a:hover,
.cornish-postcontent h4, .cornish-postcontent h4 a, .cornish-postcontent h4 a:link, .cornish-postcontent h4 a:visited, .cornish-postcontent h4 a:hover,
.cornish-postcontent h5, .cornish-postcontent h5 a, .cornish-postcontent h5 a:link, .cornish-postcontent h5 a:visited, .cornish-postcontent h5 a:hover,
.cornish-postcontent h6, .cornish-postcontent h6 a, .cornish-postcontent h6 a:link, .cornish-postcontent h6 a:visited, .cornish-postcontent h6 a:hover,
.cornish-blockheader .t, .cornish-blockheader .t a, .cornish-blockheader .t a:link, .cornish-blockheader .t a:visited, .cornish-blockheader .t a:hover,
.cornish-vmenublockheader .t, .cornish-vmenublockheader .t a, .cornish-vmenublockheader .t a:link, .cornish-vmenublockheader .t a:visited, .cornish-vmenublockheader .t a:hover,
.cornish-headline, .cornish-headline a, .cornish-headline a:link, .cornish-headline a:visited, .cornish-headline a:hover,
.cornish-slogan, .cornish-slogan a, .cornish-slogan a:link, .cornish-slogan a:visited, .cornish-slogan a:hover,
.cornish-postheader, .cornish-postheader a, .cornish-postheader a:link, .cornish-postheader a:visited, .cornish-postheader a:hover
{
   font-size: 32px;
   font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: bold;
   font-style: normal;
   text-decoration: none;
}

.cornish-postcontent a, .cornish-postcontent a:link
{
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   text-decoration: none;
   color: #2D88D2;
}

.cornish-postcontent a:visited, .cornish-postcontent a.visited
{
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   text-decoration: none;
   color: #2D88D2;
}

.cornish-postcontent  a:hover, .cornish-postcontent a.hover
{
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   text-decoration: underline;
   color: #2D88D2;
}

.cornish-postcontent h1
{
   color: #A6A6A6;
   margin: 20px 0 10px;
   font-size: 36px;
   font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
}

.cornish-blockcontent h1
{
   margin: 20px 0 10px;
   font-size: 36px;
   font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
}

.cornish-postcontent h1 a, .cornish-postcontent h1 a:link, .cornish-postcontent h1 a:hover, .cornish-postcontent h1 a:visited, .cornish-blockcontent h1 a, .cornish-blockcontent h1 a:link, .cornish-blockcontent h1 a:hover, .cornish-blockcontent h1 a:visited 
{
   font-size: 36px;
   font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
}

.cornish-postcontent h2
{
   color: #808080;
   margin-top: 19px;
   margin-bottom: 19px;
   font-size: 24px;
   font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.cornish-blockcontent h2
{
   margin-top: 19px;
   margin-bottom: 19px;
   font-size: 24px;
   font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.cornish-postcontent h2 a, .cornish-postcontent h2 a:link, .cornish-postcontent h2 a:hover, .cornish-postcontent h2 a:visited, .cornish-blockcontent h2 a, .cornish-blockcontent h2 a:link, .cornish-blockcontent h2 a:hover, .cornish-blockcontent h2 a:visited 
{
   font-size: 24px;
   font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.cornish-postcontent h3
{
   color: #9C9C9C;
   margin: 19px 0;
   font-size: 24px;
   font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
}

.cornish-blockcontent h3
{
   margin: 19px 0;
   font-size: 24px;
   font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
}

.cornish-postcontent h3 a, .cornish-postcontent h3 a:link, .cornish-postcontent h3 a:hover, .cornish-postcontent h3 a:visited, .cornish-blockcontent h3 a, .cornish-blockcontent h3 a:link, .cornish-blockcontent h3 a:hover, .cornish-blockcontent h3 a:visited 
{
   font-size: 24px;
   font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
}

.cornish-postcontent h4
{
   color: #2D88D2;
   margin: 10px 0 -10px;
   font-size: 16px;
   font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
}

.cornish-blockcontent h4
{
   margin: 10px 0 -10px;
   font-size: 16px;
   font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
}

.cornish-postcontent h4 a, .cornish-postcontent h4 a:link, .cornish-postcontent h4 a:hover, .cornish-postcontent h4 a:visited, .cornish-blockcontent h4 a, .cornish-blockcontent h4 a:link, .cornish-blockcontent h4 a:hover, .cornish-blockcontent h4 a:visited 
{
   font-size: 16px;
   font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
}

.cornish-postcontent h5
{
   color: #292929;
   margin-top: 26px;
   margin-bottom: 26px;
   font-size: 13px;
   font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.cornish-blockcontent h5
{
   margin-top: 26px;
   margin-bottom: 26px;
   font-size: 13px;
   font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.cornish-postcontent h5 a, .cornish-postcontent h5 a:link, .cornish-postcontent h5 a:hover, .cornish-postcontent h5 a:visited, .cornish-blockcontent h5 a, .cornish-blockcontent h5 a:link, .cornish-blockcontent h5 a:hover, .cornish-blockcontent h5 a:visited 
{
   font-size: 13px;
   font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.cornish-postcontent h6
{
   color: #616161;
   margin-top: 35px;
   margin-bottom: 35px;
   font-size: 11px;
   font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.cornish-blockcontent h6
{
   margin-top: 35px;
   margin-bottom: 35px;
   font-size: 11px;
   font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.cornish-postcontent h6 a, .cornish-postcontent h6 a:link, .cornish-postcontent h6 a:hover, .cornish-postcontent h6 a:visited, .cornish-blockcontent h6 a, .cornish-blockcontent h6 a:link, .cornish-blockcontent h6 a:hover, .cornish-blockcontent h6 a:visited 
{
   font-size: 11px;
   font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

header, footer, article, nav, #cornish-hmenu-bg, .cornish-sheet, .cornish-hmenu a, .cornish-vmenu a, .cornish-slidenavigator > a, .cornish-checkbox:before, .cornish-radiobutton:before
{
   -webkit-background-origin: border !important;
   -moz-background-origin: border !important;
   background-origin: border-box !important;
}

header, footer, article, nav, #cornish-hmenu-bg, .cornish-sheet, .cornish-slidenavigator > a, .cornish-checkbox:before, .cornish-radiobutton:before
{
   display: block;
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
}

ul
{
   list-style-type: none;
}

ol
{
   list-style-position: inside;
}

html, body
{
   height: 100%;
}

/**
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 * https://github.com/necolas/normalize.css
 */

html {
   -ms-text-size-adjust: 100%;
   /* 2 */
    -webkit-text-size-adjust: 100%;
/* 2 */}

body
{
   padding: 0;
   margin:0;
   min-width: 1000px;
   color: #696969;
}

.cornish-header:before, 
#cornish-header-bg:before, 
.cornish-layout-cell:before, 
.cornish-layout-wrapper:before, 
.cornish-footer:before, 
.cornish-nav:before, 
#cornish-hmenu-bg:before, 
.cornish-sheet:before 
{
   width: 100%;
   content: " ";
   display: table;
   border-collapse: collapse;
   border-spacing: 0;
}

.cornish-header:after, 
#cornish-header-bg:after, 
.cornish-layout-cell:after, 
.cornish-layout-wrapper:after, 
.cornish-footer:after, 
.cornish-nav:after, 
#cornish-hmenu-bg:after, 
.cornish-sheet:after,
.cleared, .clearfix:after 
{
   clear: both;
   font: 0/0 serif;
   display: block;
   content: " ";
}

form
{
   padding: 0;
   margin: 0;
}

table.position
{
   position: relative;
   width: 100%;
   table-layout: fixed;
}

li h1, .cornish-postcontent li h1, .cornish-blockcontent li h1 
{
   margin:1px;
} 
li h2, .cornish-postcontent li h2, .cornish-blockcontent li h2 
{
   margin:1px;
} 
li h3, .cornish-postcontent li h3, .cornish-blockcontent li h3 
{
   margin:1px;
} 
li h4, .cornish-postcontent li h4, .cornish-blockcontent li h4 
{
   margin:1px;
} 
li h5, .cornish-postcontent li h5, .cornish-blockcontent li h5 
{
   margin:1px;
} 
li h6, .cornish-postcontent li h6, .cornish-blockcontent li h6 
{
   margin:1px;
} 
li p, .cornish-postcontent li p, .cornish-blockcontent li p 
{
   margin:1px;
}


.cornish-shapes
{
   position: absolute;
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
   overflow: hidden;
   z-index: 0;
}

.cornish-slider-inner {
   position: relative;
   overflow: hidden;
   width: 100%;
   height: 100%;
}

.cornish-slidenavigator > a {
   display: inline-block;
   vertical-align: middle;
   outline-style: none;
   font-size: 1px;
}

.cornish-slidenavigator > a:last-child {
   margin-right: 0 !important;
}





.cornish-footer .layout-item-0 { padding: 20px;  }
.ie7 .cornish-post .cornish-layout-cell {border:none !important; padding:0 !important; }
.ie6 .cornish-post .cornish-layout-cell {border:none !important; padding:0 !important; }

.cornish-nav
{
   background: #FFFFFF url('images/nav.png') scroll;
   background: transparent url('images/nav.png') scroll;
   border-bottom:1px solid #E0E0E0;
   padding:8px 0 0;
   margin:30px auto 0;
   position: relative;
   z-index: 499;
}

ul.cornish-hmenu a, ul.cornish-hmenu a:link, ul.cornish-hmenu a:visited, ul.cornish-hmenu a:hover 
{
   outline: none;
   position: relative;
   z-index: 11;
}

ul.cornish-hmenu, ul.cornish-hmenu ul
{
   display: block;
   margin: 0;
   padding: 0;
   border: 0;
   list-style-type: none;
}

ul.cornish-hmenu li
{
   position: relative;
   z-index: 5;
   display: block;
   float: left;
   background: none;
   margin: 0;
   padding: 0;
   border: 0;
}

ul.cornish-hmenu li:hover
{
   z-index: 10000;
   white-space: normal;
}

ul.cornish-hmenu:after, ul.cornish-hmenu ul:after
{
   content: ".";
   height: 0;
   display: block;
   visibility: hidden;
   overflow: hidden;
   clear: both;
}

ul.cornish-hmenu, ul.cornish-hmenu ul 
{
   min-height: 0;
}

ul.cornish-hmenu 
{
   display: inline-block;
   vertical-align: bottom;
   padding-left: 0;
   padding-right: 0;
}

.cornish-nav-inner:before 
{
   content:' ';
}

.cornish-nav-inner{
   text-align: right;
   margin:0 auto;
}

.desktop  .cornish-nav-inner{
   width: 1000px;
   padding-left: 0;
   padding-right: 0;
}

.desktop .cornish-nav
{
   padding-left: 0;
   padding-right: 0;
}

.cornish-hmenu-extra1
{
   position: relative;
   display: block;
   float: left;
   width: auto;
   height: auto;
   background-position: center;
}

.cornish-hmenu-extra2
{
   position: relative;
   display: block;
   float: right;
   width: auto;
   height: auto;
   background-position: center;
}

.cornish-hmenu
{
   float: right;
}

.cornish-menuitemcontainer
{
   margin:0 auto;
}
ul.cornish-hmenu>li {
   margin-left: 20px;
}
ul.cornish-hmenu>li:first-child {
   margin-left: 10px;
}
ul.cornish-hmenu>li:last-child, ul.cornish-hmenu>li.last-child {
   margin-right: 10px;
}

ul.cornish-hmenu>li>a
{
   margin:0 auto;
   position: relative;
   display: block;
   height: 40px;
   cursor: pointer;
   text-decoration: none;
   color: #A6A6A6;
   line-height: 40px;
   text-align: center;
}

.cornish-hmenu>li>a, 
.cornish-hmenu>li>a:link, 
.cornish-hmenu>li>a:visited, 
.cornish-hmenu>li>a.active, 
.cornish-hmenu>li>a:hover
{
   font-size: 22px;
   font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
   text-decoration: none;
   text-align: left;
}

ul.cornish-hmenu>li>a.active
{
   background: #3D91D6 url('images/menuactiveitem.png') scroll;
   background: transparent url('images/menuactiveitem.png') scroll;
   margin:0 auto;
   color: #2A80C6;
   padding-bottom: 1px;
   margin-bottom: -1px;
   text-decoration: none;
}

ul.cornish-hmenu>li>a:visited, 
ul.cornish-hmenu>li>a:hover, 
ul.cornish-hmenu>li:hover>a {
   text-decoration: none;
}

ul.cornish-hmenu>li>a:hover, .desktop ul.cornish-hmenu>li:hover>a
{
   background: #6CACE0 url('images/menuhovereditem.png') scroll;
   background: transparent url('images/menuhovereditem.png') scroll;
   margin:0 auto;
}
ul.cornish-hmenu>li>a:hover, 
.desktop ul.cornish-hmenu>li:hover>a {
   color: #000000;
   text-decoration: none;
}
ul.cornish-hmenu>li>a.active:hover {
   padding-bottom: 0;
   margin-bottom: 0;
}

ul.cornish-hmenu li li a
{
   background: #9EC8EA;
   border:1px solid #6CACE0;
   padding:0 17px;
   margin:0 auto;
}
ul.cornish-hmenu li li 
{
   float: none;
   width: auto;
   margin-top: 0;
   margin-bottom: 0;
}

.desktop ul.cornish-hmenu li li ul>li:first-child 
{
   margin-top: 0;
}

ul.cornish-hmenu li li ul>li:last-child 
{
   margin-bottom: 0;
}

.cornish-hmenu ul a
{
   display: block;
   white-space: nowrap;
   height: 26px;
   min-width: 7em;
   border: 1px solid transparent;
   text-align: left;
   line-height: 26px;
   color: #292929;
   font-size: 12px;
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   text-decoration: none;
   margin:0;
}

.cornish-hmenu li li a 
{
   border-top-width: 0 !important;
}
.cornish-hmenu li li:hover>a 
{
   border-top-width: 1px !important;
}
.cornish-hmenu ul>li:first-child>a 
{
   border-top-width: 1px !important;
}

.cornish-hmenu ul a:link, 
.cornish-hmenu ul a:visited, 
.cornish-hmenu ul a.active, 
.cornish-hmenu ul a:hover
{
   text-align: left;
   line-height: 26px;
   color: #292929;
   font-size: 12px;
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   text-decoration: none;
   margin:0;
}

ul.cornish-hmenu ul li a:hover, .desktop ul.cornish-hmenu ul li:hover>a
{
   background: #9EC8EA;
   border:1px solid #6CACE0;
   margin:0 auto;
}
.cornish-hmenu ul a:hover
{
   color: #000000;
}

.cornish-hmenu ul li a.cornish-hmenu-before-hovered 
{
   border-bottom-width: 0 !important;
}

.desktop .cornish-hmenu ul li:hover>a
{
   color: #000000;
}

ul.cornish-hmenu ul:before
{
   background: #3D91D6;
   margin:0 auto;
   display: block;
   position: absolute;
   content: ' ';
   z-index: 1;
}
.desktop ul.cornish-hmenu li:hover>ul {
   visibility: visible;
   top: 100%;
}
.desktop ul.cornish-hmenu li li:hover>ul {
   top: 0;
   left: 100%;
}

ul.cornish-hmenu ul
{
   visibility: hidden;
   position: absolute;
   z-index: 10;
   left: 0;
   top: 0;
   background-image: url('images/spacer.gif');
}

.desktop ul.cornish-hmenu>li>ul
{
   padding: 10px 30px 30px 30px;
   margin: -10px 0 0 -30px;
}

.desktop ul.cornish-hmenu ul ul
{
   padding: 30px 30px 30px 10px;
   margin: -30px 0 0 -10px;
}

.desktop ul.cornish-hmenu ul.cornish-hmenu-left-to-right 
{
   right: auto;
   left: 0;
   margin: -10px 0 0 -30px;
}

.desktop ul.cornish-hmenu ul.cornish-hmenu-right-to-left 
{
   left: auto;
   right: 0;
   margin: -10px -30px 0 0;
}

.desktop ul.cornish-hmenu li li:hover>ul.cornish-hmenu-left-to-right {
   right: auto;
   left: 100%;
}
.desktop ul.cornish-hmenu li li:hover>ul.cornish-hmenu-right-to-left {
   left: auto;
   right: 100%;
}

.desktop ul.cornish-hmenu ul ul.cornish-hmenu-left-to-right
{
   right: auto;
   left: 0;
   padding: 30px 30px 30px 10px;
   margin: -30px 0 0 -10px;
}

.desktop ul.cornish-hmenu ul ul.cornish-hmenu-right-to-left
{
   left: auto;
   right: 0;
   padding: 30px 10px 30px 30px;
   margin: -30px -10px 0 0;
}

.desktop ul.cornish-hmenu li ul>li:first-child {
   margin-top: 0;
}
.desktop ul.cornish-hmenu li ul>li:last-child {
   margin-bottom: 0;
}

.desktop ul.cornish-hmenu ul ul:before
{
   border-radius: 0;
   top: 30px;
   bottom: 30px;
   right: 30px;
   left: 10px;
}

.desktop ul.cornish-hmenu>li>ul:before
{
   top: 10px;
   right: 30px;
   bottom: 30px;
   left: 30px;
}

.desktop ul.cornish-hmenu>li>ul.cornish-hmenu-left-to-right:before {
   right: 30px;
   left: 30px;
}
.desktop ul.cornish-hmenu>li>ul.cornish-hmenu-right-to-left:before {
   right: 30px;
   left: 30px;
}
.desktop ul.cornish-hmenu ul ul.cornish-hmenu-left-to-right:before {
   right: 30px;
   left: 10px;
}
.desktop ul.cornish-hmenu ul ul.cornish-hmenu-right-to-left:before {
   right: 10px;
   left: 30px;
}

.cornish-sheet
{
   margin:0 auto;
   position:relative;
   cursor:auto;
   width: 1000px;
   z-index: auto !important;
}

.cornish-layout-wrapper
{
   position: relative;
   margin: 0 auto 0 auto;
   z-index: auto !important;
}

.cornish-content-layout
{
   display: table;
   width: 100%;
   table-layout: fixed;
}

.cornish-content-layout-row 
{
   display: table-row;
}

.cornish-layout-cell
{
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
   display: table-cell;
   vertical-align: top;
}

/* need only for content layout in post content */ 
.cornish-postcontent .cornish-content-layout
{
   border-collapse: collapse;
}

.cornish-block
{
   margin:10px;
}
div.cornish-block img
{
   border: none;
   margin: 7px;
}

.cornish-blockheader
{
   background: #3D91D6 url('images/blockheader.png') scroll;
   border:1px solid #1B517E;
   padding:12px 3px;
   margin:0 auto 2px;
}
.cornish-blockheader .t,
.cornish-blockheader .t a,
.cornish-blockheader .t a:link,
.cornish-blockheader .t a:visited, 
.cornish-blockheader .t a:hover
{
   color: #000000;
   font-size: 13px;
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   margin-left: 10px;
   margin-right: 10px;
}

.cornish-blockcontent
{
   padding:3px;
   margin:0 auto;
   color: #0E2B43;
   font-size: 13px;
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
}
.cornish-blockcontent table,
.cornish-blockcontent li, 
.cornish-blockcontent a,
.cornish-blockcontent a:link,
.cornish-blockcontent a:visited,
.cornish-blockcontent a:hover
{
   color: #0E2B43;
   font-size: 13px;
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
}

.cornish-blockcontent p
{
   margin: 6px 0;
}

.cornish-blockcontent a, .cornish-blockcontent a:link
{
   color: #808080;
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   text-decoration: underline;
}

.cornish-blockcontent a:visited, .cornish-blockcontent a.visited
{
   color: #89BCE6;
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   text-decoration: none;
}

.cornish-blockcontent a:hover, .cornish-blockcontent a.hover
{
   color: #9C9C9C;
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   text-decoration: none;
}
.cornish-block ul>li:before
{
   content:url('images/blockbullets.png');
   margin-right:6px;
   bottom: 2px;
   position:relative;
   display:inline-block;
   vertical-align:middle;
   font-size:0;
   line-height:0;
   margin-left: -12px;
}
.opera .cornish-block ul>li:before
{
   /* Vertical-align:middle in Opera doesn't need additional offset */
    bottom: 0;
}

.cornish-block li
{
   font-size: 13px;
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   line-height: 125%;
   color: #1D5A8B;
}

.cornish-block ul>li, .cornish-block ol
{
   padding: 0;
}

.cornish-block ul>li
{
   padding-left: 12px;
}

.cornish-breadcrumbs
{
   margin:0 auto;
}

a.cornish-button,
a.cornish-button:link,
a:link.cornish-button:link,
body a.cornish-button:link,
a.cornish-button:visited,
body a.cornish-button:visited,
input.cornish-button,
button.cornish-button
{
   text-decoration: none;
   font-size: 12px;
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
   text-transform: uppercase;
   position:relative;
   display: inline-block;
   vertical-align: middle;
   white-space: nowrap;
   text-align: center;
   color: #737373;
   margin: 0 5px 0 0 !important;
   overflow: visible;
   cursor: pointer;
   text-indent: 0;
   line-height: 30px;
   -webkit-box-sizing: content-box;
   -moz-box-sizing: content-box;
   box-sizing: content-box;
}

.cornish-button img
{
   margin: 0;
   vertical-align: middle;
}

.firefox2 .cornish-button
{
   display: block;
   float: left;
}

input, select, textarea, a.cornish-search-button span
{
   vertical-align: middle;
   font-size: 12px;
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
   text-transform: uppercase;
}

.cornish-block select 
{
   width:96%;
}

input.cornish-button
{
   float: none !important;
   -webkit-appearance: none;
}

.cornish-button.active, .cornish-button.active:hover
{
   background: #6CACE0;
   background: -webkit-linear-gradient(top, #8DBFE7 0, #4E9BDA 100%) no-repeat;
   background: -moz-linear-gradient(top, #8DBFE7 0, #4E9BDA 100%) no-repeat;
   background: -o-linear-gradient(top, #8DBFE7 0, #4E9BDA 100%) no-repeat;
   background: -ms-linear-gradient(top, #8DBFE7 0, #4E9BDA 100%) no-repeat;
   -svg-background: linear-gradient(top, #8DBFE7 0, #4E9BDA 100%) no-repeat;
   background: linear-gradient(to bottom, #8DBFE7 0, #4E9BDA 100%) no-repeat;
   -webkit-border-radius:4px;
   -moz-border-radius:4px;
   border-radius:4px;
   -webkit-box-shadow:0 0 2px 1px rgba(0, 0, 0, 0.2);
   -moz-box-shadow:0 0 2px 1px rgba(0, 0, 0, 0.2);
   box-shadow:0 0 2px 1px rgba(0, 0, 0, 0.2);
   border-width: 0;
   padding:0 20px;
   margin:0 auto;
}
.cornish-button.active, .cornish-button.active:hover {
   color: #FFFFFF !important;
}

.cornish-button.hover, .cornish-button:hover
{
   background: #DDECF8;
   background: -webkit-linear-gradient(top, #FFFFFF 0, #B3D4EF 100%) no-repeat;
   background: -moz-linear-gradient(top, #FFFFFF 0, #B3D4EF 100%) no-repeat;
   background: -o-linear-gradient(top, #FFFFFF 0, #B3D4EF 100%) no-repeat;
   background: -ms-linear-gradient(top, #FFFFFF 0, #B3D4EF 100%) no-repeat;
   -svg-background: linear-gradient(top, #FFFFFF 0, #B3D4EF 100%) no-repeat;
   background: linear-gradient(to bottom, #FFFFFF 0, #B3D4EF 100%) no-repeat;
   -webkit-border-radius:4px;
   -moz-border-radius:4px;
   border-radius:4px;
   -webkit-box-shadow:0 0 2px 1px rgba(0, 0, 0, 0.2);
   -moz-box-shadow:0 0 2px 1px rgba(0, 0, 0, 0.2);
   box-shadow:0 0 2px 1px rgba(0, 0, 0, 0.2);
   border-width: 0;
   padding:0 20px;
   margin:0 auto;
}
.cornish-button.hover, .cornish-button:hover {
   color: #297DC2 !important;
}

input[type="text"], input[type="password"], input[type="email"], input[type="url"], input[type="color"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="number"], input[type="range"], input[type="tel"], input[type="time"], input[type="week"], textarea
{
   background: #F9FAFB;
   border:1px solid rgba(108, 172, 224, 0.2);
   margin:0 auto;
}
input[type="text"], input[type="password"], input[type="email"], input[type="url"], input[type="color"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="number"], input[type="range"], input[type="tel"], input[type="time"], input[type="week"], textarea
{
   width: auto;
   padding: 8px 0;
   color: #154165 !important;
   font-size: 13px;
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
   text-shadow: none;
}
input.cornish-error, textarea.cornish-error
{
   background: #F9FAFB;
   border:1px solid #2D88D2;
   margin:0 auto;
}
input.cornish-error, textarea.cornish-error {
   color: #154165 !important;
   font-size: 13px;
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
}
form.cornish-search input[type="text"]
{
   background: #F9FAFB;
   border-radius: 0;
   border:1px solid #CCD6E0;
   margin:0 auto;
   width: 100%;
   padding: 0 0;
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
   color: #154165 !important;
   font-size: 13px;
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
}
form.cornish-search 
{
   background-image: none;
   border: 0;
   display:block;
   position:relative;
   top:0;
   padding:0;
   margin:5px;
   left:0;
   line-height: 0;
}

form.cornish-search input, a.cornish-search-button
{
   -webkit-appearance: none;
   top:0;
   right:0;
}

form.cornish-search>input, a.cornish-search-button{
   bottom:0;
   left:0;
   vertical-align: middle;
}

form.cornish-search input[type="submit"], input.cornish-search-button, a.cornish-search-button
{
   background: #9EC8EA;
   border-radius: 0;
   margin:0 auto;
}
form.cornish-search input[type="submit"], input.cornish-search-button, a.cornish-search-button {
   position:absolute;
   left:auto;
   display:block;
   border: 0;
   top: 1px;
   bottom: 1px;
   right: 	1px;
   padding:0 6px;
   color: #1F5F93 !important;
   font-size: 13px;
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
   cursor: pointer;
}

a.cornish-search-button span.cornish-search-button-text, a.cornish-search-button:after {
   vertical-align:middle;
}

a.cornish-search-button:after {
   display:inline-block;
   content:' ';
   height: 100%;
}

a.cornish-search-button, a.cornish-search-button span,
a.cornish-search-button:visited, a.cornish-search-button.visited,
a.cornish-search-button:hover, a.cornish-search-button.hover 
{
   text-decoration: none;
   font-size: 13px;
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
}

a.cornish-search-button 
{
   line-height: 100% !important;
}

label.cornish-checkbox:before
{
   background: #F9FAFB;
   -webkit-border-radius:1px;
   -moz-border-radius:1px;
   border-radius:1px;
   border-width: 0;
   margin:0 auto;
   width:16px;
   height:16px;
}
label.cornish-checkbox
{
   cursor: pointer;
   font-size: 13px;
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
   line-height: 16px;
   display: inline-block;
   color: #164469 !important;
}

.cornish-checkbox>input[type="checkbox"]
{
   margin: 0 5px 0 0;
}

label.cornish-checkbox.active:before
{
   background: #C7C7C7;
   -webkit-border-radius:1px;
   -moz-border-radius:1px;
   border-radius:1px;
   border-width: 0;
   margin:0 auto;
   width:16px;
   height:16px;
   display: inline-block;
}

label.cornish-checkbox.hovered:before
{
   background: #E0E0E0;
   -webkit-border-radius:1px;
   -moz-border-radius:1px;
   border-radius:1px;
   border-width: 0;
   margin:0 auto;
   width:16px;
   height:16px;
   display: inline-block;
}

label.cornish-radiobutton:before
{
   background: #F9FAFB;
   -webkit-border-radius:3px;
   -moz-border-radius:3px;
   border-radius:3px;
   border-width: 0;
   margin:0 auto;
   width:12px;
   height:12px;
}
label.cornish-radiobutton
{
   cursor: pointer;
   font-size: 13px;
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
   line-height: 12px;
   display: inline-block;
   color: #164469 !important;
}

.cornish-radiobutton>input[type="radio"]
{
   vertical-align: baseline;
   margin: 0 5px 0 0;
}

label.cornish-radiobutton.active:before
{
   background: #C7C7C7;
   -webkit-border-radius:3px;
   -moz-border-radius:3px;
   border-radius:3px;
   border-width: 0;
   margin:0 auto;
   width:12px;
   height:12px;
   display: inline-block;
}

label.cornish-radiobutton.hovered:before
{
   background: #E0E0E0;
   -webkit-border-radius:3px;
   -moz-border-radius:3px;
   border-radius:3px;
   border-width: 0;
   margin:0 auto;
   width:12px;
   height:12px;
   display: inline-block;
}

.cornish-comments
{
   border-top:1px dotted #B5B5B5;
   margin:0 auto;
   margin-top: 25px;
}

.cornish-comments h2
{
   color: #292929;
}

.cornish-comment-inner
{
   background: #E2E8EE;
   background: transparent;
   -webkit-border-radius:2px;
   -moz-border-radius:2px;
   border-radius:2px;
   padding:5px;
   margin:0 auto;
   margin-left: 94px;
}
.cornish-comment-avatar 
{
   float:left;
   width:80px;
   height:80px;
   padding:1px;
   background:#fff;
   border:1px solid #E2E8EE;
}

.cornish-comment-avatar>img
{
   margin:0 !important;
   border:none !important;
}

.cornish-comment-content
{
   padding:10px 0;
   color: #164469;
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
}

.cornish-comment
{
   margin-top: 6px;
}

#comment-list>li:first-child>.cornish-comment
{
   margin-top: 0;
}

.cornish-comment-header
{
   color: #292929;
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   line-height: 100%;
}

.cornish-comment-header a, 
.cornish-comment-header a:link, 
.cornish-comment-header a:visited,
.cornish-comment-header a.visited,
.cornish-comment-header a:hover,
.cornish-comment-header a.hovered
{
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   line-height: 100%;
}

.cornish-comment-header a, .cornish-comment-header a:link
{
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   color: #878787;
}

.cornish-comment-header a:visited, .cornish-comment-header a.visited
{
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   color: #878787;
}

.cornish-comment-header a:hover,  .cornish-comment-header a.hovered
{
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   color: #878787;
}

.cornish-comment-content a, 
.cornish-comment-content a:link, 
.cornish-comment-content a:visited,
.cornish-comment-content a.visited,
.cornish-comment-content a:hover,
.cornish-comment-content a.hovered
{
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
}

.cornish-comment-content a, .cornish-comment-content a:link
{
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   color: #256FAD;
}

.cornish-comment-content a:visited, .cornish-comment-content a.visited
{
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   color: #1D5A8B;
}

.cornish-comment-content a:hover,  .cornish-comment-content a.hovered
{
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   color: #256FAD;
}

.cornish-pager
{
   background: #EFF2F5;
   background: -webkit-linear-gradient(top, #FFFFFF 0, #93A8BE 100%) no-repeat;
   background: -moz-linear-gradient(top, #FFFFFF 0, #93A8BE 100%) no-repeat;
   background: -o-linear-gradient(top, #FFFFFF 0, #93A8BE 100%) no-repeat;
   background: -ms-linear-gradient(top, #FFFFFF 0, #93A8BE 100%) no-repeat;
   -svg-background: linear-gradient(top, #FFFFFF 0, #93A8BE 100%) no-repeat;
   background: linear-gradient(to bottom, #FFFFFF 0, #93A8BE 100%) no-repeat;
   -webkit-border-radius:2px;
   -moz-border-radius:2px;
   border-radius:2px;
   border:1px solid #B5B5B5;
   padding:5px;
}

.cornish-pager>*:last-child
{
   margin-right:0 !important;
}

.cornish-pager>span {
   cursor:default;
}

.cornish-pager>*
{
   background: #E0E0E0;
   background: -webkit-linear-gradient(top, #FFFFFF 0, #ABABAB 100%) no-repeat;
   background: -moz-linear-gradient(top, #FFFFFF 0, #ABABAB 100%) no-repeat;
   background: -o-linear-gradient(top, #FFFFFF 0, #ABABAB 100%) no-repeat;
   background: -ms-linear-gradient(top, #FFFFFF 0, #ABABAB 100%) no-repeat;
   -svg-background: linear-gradient(top, #FFFFFF 0, #ABABAB 100%) no-repeat;
   background: linear-gradient(to bottom, #FFFFFF 0, #ABABAB 100%) no-repeat;
   -webkit-border-radius:2px;
   -moz-border-radius:2px;
   border-radius:2px;
   border:1px solid #E0E0E0;
   padding:7px;
   margin:0 4px 0 auto;
   line-height: normal;
   position:relative;
   display:inline-block;
   margin-left: 0;
}

.cornish-pager a:link,
.cornish-pager a:visited,
.cornish-pager .active
{
   line-height: normal;
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   text-decoration: none;
   color: #212121
;
}

.cornish-pager .active
{
   background: #B6BFC9;
   background: -webkit-linear-gradient(top, #E5E8EB 0, #8796A6 100%) no-repeat;
   background: -moz-linear-gradient(top, #E5E8EB 0, #8796A6 100%) no-repeat;
   background: -o-linear-gradient(top, #E5E8EB 0, #8796A6 100%) no-repeat;
   background: -ms-linear-gradient(top, #E5E8EB 0, #8796A6 100%) no-repeat;
   -svg-background: linear-gradient(top, #E5E8EB 0, #8796A6 100%) no-repeat;
   background: linear-gradient(to bottom, #E5E8EB 0, #8796A6 100%) no-repeat;
   border:1px solid #E0E0E0;
   padding:7px;
   margin:0 4px 0 auto;
   color: #FFFFFF
;
}

.cornish-pager .more
{
   background: #E0E0E0;
   background: -webkit-linear-gradient(top, #FFFFFF 0, #ABABAB 100%) no-repeat;
   background: -moz-linear-gradient(top, #FFFFFF 0, #ABABAB 100%) no-repeat;
   background: -o-linear-gradient(top, #FFFFFF 0, #ABABAB 100%) no-repeat;
   background: -ms-linear-gradient(top, #FFFFFF 0, #ABABAB 100%) no-repeat;
   -svg-background: linear-gradient(top, #FFFFFF 0, #ABABAB 100%) no-repeat;
   background: linear-gradient(to bottom, #FFFFFF 0, #ABABAB 100%) no-repeat;
   border:1px solid #E0E0E0;
   margin:0 4px 0 auto;
}
.cornish-pager a.more:link,
.cornish-pager a.more:visited
{
   color: #0C2337
;
}
.cornish-pager a:hover
{
   background: #C7C7C7;
   background: -webkit-linear-gradient(top, #F0F0F0 0, #9E9E9E 100%) no-repeat;
   background: -moz-linear-gradient(top, #F0F0F0 0, #9E9E9E 100%) no-repeat;
   background: -o-linear-gradient(top, #F0F0F0 0, #9E9E9E 100%) no-repeat;
   background: -ms-linear-gradient(top, #F0F0F0 0, #9E9E9E 100%) no-repeat;
   -svg-background: linear-gradient(top, #F0F0F0 0, #9E9E9E 100%) no-repeat;
   background: linear-gradient(to bottom, #F0F0F0 0, #9E9E9E 100%) no-repeat;
   border:1px solid #E0E0E0;
   padding:7px;
   margin:0 4px 0 auto;
}
.cornish-pager  a:hover,
.cornish-pager  a.more:hover
{
   color: #292929
;
}
.cornish-pager>*:after
{
   margin:0 0 0 auto;
   display:inline-block;
   position:absolute;
   content: ' ';
   top:0;
   width:0;
   height:100%;
   right: 0;
   text-decoration:none;
}

.cornish-pager>*:last-child:after{
   display:none;
}

.cornish-commentsform
{
   background: #E2E8EE;
   background: transparent;
   padding:10px;
   margin:0 auto;
   margin-top:25px;
   color: #292929;
}

.cornish-commentsform h2{
   padding-bottom:10px;
   margin: 0;
   color: #292929;
}

.cornish-commentsform label {
   display: inline-block;
   line-height: 25px;
}

.cornish-commentsform input:not([type=submit]), .cornish-commentsform textarea {
   box-sizing: border-box;
   -moz-box-sizing: border-box;
   -webkit-box-sizing: border-box;
   width:100%;
   max-width:100%;
}

.cornish-commentsform .form-submit
{
   margin-top: 10px;
}

a img
{
   border: 0;
}

.cornish-article img, img.cornish-article, .cornish-block img, .cornish-footer-text img
{
   margin: 0 0 0 0;
}

.cornish-metadata-icons img
{
   border: none;
   vertical-align: middle;
   margin: 2px;
}

.cornish-article table, table.cornish-article
{
   border-collapse: collapse;
   margin: 1px;
}

.cornish-post .cornish-content-layout-br
{
   height: 0;
}

.cornish-article th, .cornish-article td
{
   padding: 2px;
   border: solid 1px #9EC8EA;
   vertical-align: top;
   text-align: left;
}

.cornish-article th
{
   text-align: center;
   vertical-align: middle;
   padding: 7px;
}

pre
{
   overflow: auto;
   padding: 0.1em;
}

.preview-cms-logo
{
   border: 0;
   margin: 1em 1em 0 0;
   float: left;
}

.image-caption-wrapper
{
   padding: 0 0 0 0;
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
}

.image-caption-wrapper img
{
   margin: 0 !important;
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
}

.image-caption-wrapper div.cornish-collage
{
   margin: 0 !important;
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
}

.image-caption-wrapper p
{
   font-size: 80%;
   text-align: right;
   margin: 0;
}

.cornish-postheader
{
   color: #A6A6A6;
   margin: 40px 0 10px;
   font-size: 36px;
   font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
}

.cornish-postheader a, 
.cornish-postheader a:link, 
.cornish-postheader a:visited,
.cornish-postheader a.visited,
.cornish-postheader a:hover,
.cornish-postheader a.hovered
{
   font-size: 36px;
   font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
}

.cornish-postheader a, .cornish-postheader a:link
{
   font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: none;
   text-align: left;
   color: #8C8C8C;
}

.cornish-postheader a:visited, .cornish-postheader a.visited
{
   font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: none;
   text-align: left;
   color: #4294D7;
}

.cornish-postheader a:hover,  .cornish-postheader a.hovered
{
   font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: none;
   text-align: left;
   color: #808080;
}

.cornish-postheadericons,
.cornish-postheadericons a,
.cornish-postheadericons a:link,
.cornish-postheadericons a:visited,
.cornish-postheadericons a:hover
{
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   color: #164469;
}

.cornish-postheadericons
{
   padding: 1px;
}

.cornish-postheadericons a, .cornish-postheadericons a:link
{
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   text-decoration: none;
   color: #595959;
}

.cornish-postheadericons a:visited, .cornish-postheadericons a.visited
{
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: italic;
   text-decoration: none;
   color: #595959;
}

.cornish-postheadericons a:hover, .cornish-postheadericons a.hover
{
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: italic;
   text-decoration: underline;
   color: #0079DB;
}

.cornish-postpdficon:before
{
   content:url('images/postpdficon.png');
   margin-right:6px;
   position:relative;
   display:inline-block;
   vertical-align:middle;
   font-size:0;
   line-height:0;
   bottom: auto;
}
.opera .cornish-postpdficon:before
{
   /* Vertical-align:middle in Opera doesn't need additional offset */
    bottom: 0;
}

.cornish-postprinticon:before
{
   content:url('images/postprinticon.png');
   margin-right:6px;
   bottom: 2px;
   position:relative;
   display:inline-block;
   vertical-align:middle;
   font-size:0;
   line-height:0;
}
.opera .cornish-postprinticon:before
{
   /* Vertical-align:middle in Opera doesn't need additional offset */
    bottom: 0;
}

.cornish-postemailicon:before
{
   content:url('images/postemailicon.png');
   margin-right:6px;
   position:relative;
   display:inline-block;
   vertical-align:middle;
   font-size:0;
   line-height:0;
   bottom: auto;
}
.opera .cornish-postemailicon:before
{
   /* Vertical-align:middle in Opera doesn't need additional offset */
    bottom: 0;
}

.cornish-postcontent ul>li:before,  .cornish-post ul>li:before,  .cornish-textblock ul>li:before
{
   content:url('images/postbullets.png');
   margin-right:15px;
   bottom: 2px;
   position:relative;
   display:inline-block;
   vertical-align:middle;
   font-size:0;
   line-height:0;
}
.opera .cornish-postcontent ul>li:before, .opera   .cornish-post ul>li:before, .opera   .cornish-textblock ul>li:before
{
   /* Vertical-align:middle in Opera doesn't need additional offset */
    bottom: 0;
}

.cornish-postcontent li, .cornish-post li, .cornish-textblock li
{
   font-size: 13px;
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   color: #696969;
   margin: 12px 0 12px 6px;
}

.cornish-postcontent ul>li, .cornish-post ul>li, .cornish-textblock ul>li, .cornish-postcontent ol, .cornish-post ol, .cornish-textblock ol
{
   padding: 0;
}

.cornish-postcontent ul>li, .cornish-post ul>li, .cornish-textblock ul>li
{
   padding-left: 22px;
}

.cornish-postcontent ul>li:before,  .cornish-post ul>li:before,  .cornish-textblock ul>li:before
{
   margin-left: -22px;
}

.cornish-postcontent ol, .cornish-post ol, .cornish-textblock ol, .cornish-postcontent ul, .cornish-post ul, .cornish-textblock ul
{
   margin: 1em 0 1em 6px;
}

.cornish-postcontent li ol, .cornish-post li ol, .cornish-textblock li ol, .cornish-postcontent li ul, .cornish-post li ul, .cornish-textblock li ul
{
   margin: 0.5em 0 0.5em 6px;
}

.cornish-postcontent li, .cornish-post li, .cornish-textblock li
{
   margin: 12px 0 12px 0;
}

.cornish-postcontent ol>li, .cornish-post ol>li, .cornish-textblock ol>li
{
   /* overrides overflow for "ul li" and sets the default value */
  overflow: visible;
}

.cornish-postcontent ul>li, .cornish-post ul>li, .cornish-textblock ul>li
{
   /* makes "ul li" not to align behind the image if they are in the same line */
  overflow-x: visible;
   overflow-y: hidden;
}

blockquote
{
   background: #DDECF8 url('images/postquote.png') no-repeat scroll;
   padding:2px 2px 2px 25px;
   margin:10px 10px 10px 50px;
   color: #133958;
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   /* makes block not to align behind the image if they are in the same line */
  overflow: auto;
   clear:both;
}
blockquote a, .cornish-postcontent blockquote a, .cornish-blockcontent blockquote a, .cornish-footer-text blockquote a,
blockquote a:link, .cornish-postcontent blockquote a:link, .cornish-blockcontent blockquote a:link, .cornish-footer-text blockquote a:link,
blockquote a:visited, .cornish-postcontent blockquote a:visited, .cornish-blockcontent blockquote a:visited, .cornish-footer-text blockquote a:visited,
blockquote a:hover, .cornish-postcontent blockquote a:hover, .cornish-blockcontent blockquote a:hover, .cornish-footer-text blockquote a:hover
{
   color: #133958;
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
}

/* Override native 'p' margins*/
blockquote p,
.cornish-postcontent blockquote p,
.cornish-blockcontent blockquote p,
.cornish-footer-text blockquote p
{
   margin: 0;
   margin:3px;
}

.cornish-postfootericons,
.cornish-postfootericons a,
.cornish-postfootericons a:link,
.cornish-postfootericons a:visited,
.cornish-postfootericons a:hover
{
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   color: #164469;
}

.cornish-postfootericons
{
   padding: 1px;
}

.cornish-postfootericons a, .cornish-postfootericons a:link
{
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   text-decoration: none;
   color: #595959;
}

.cornish-postfootericons a:visited, .cornish-postfootericons a.visited
{
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   text-decoration: none;
   color: #595959;
}

.cornish-postfootericons a:hover, .cornish-postfootericons a.hover
{
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   text-decoration: none;
   color: #757575;
}

.cornish-footer
{
   background: #E0E0E0;
   background: rgba(224, 224, 224, 0.4);
   margin:20px auto 0;
   position: relative;
   color: #7D7D7D;
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   text-align: left;
   padding: 0;
}

.cornish-footer-text a,
.cornish-footer-text a:link,
.cornish-footer-text a:visited,
.cornish-footer-text a:hover,
.cornish-footer-text td, 
.cornish-footer-text th,
.cornish-footer-text caption
{
   color: #7D7D7D;
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
}

.cornish-footer-text p 
{
   padding:0;
   text-align: left;
}

.cornish-footer-text a,
.cornish-footer-text a:link
{
   color: #2B82CA;
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   text-decoration: none;
}

.cornish-footer-text a:visited
{
   color: #2B82CA;
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   text-decoration: underline;
}

.cornish-footer-text a:hover
{
   color: #2B82CA;
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   text-decoration: underline;
}

.cornish-footer-text h1
{
   color: #A6A6A6;
   font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.cornish-footer-text h2
{
   color: #B5B5B5;
   font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.cornish-footer-text h3
{
   color: #6CACE0;
   font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.cornish-footer-text h4
{
   color: #9EC8EA;
   font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.cornish-footer-text h5
{
   color: #9EC8EA;
   font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.cornish-footer-text h6
{
   color: #9EC8EA;
   font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.cornish-footer-text img
{
   border: none;
   margin: 10px;
}

.cornish-footer-inner
{
   margin: 0 auto;
   width:1000px;
   padding:15px;
   padding-right: 15px;
   padding-left: 15px;
}

.cornish-rss-tag-icon
{
   background:  url('images/footerrssicon.png') no-repeat scroll;
   margin:0 auto;
   min-height:32px;
   min-width:32px;
   display: inline-block;
   text-indent: 35px;
   background-position: left center;
   vertical-align: middle;
}

.cornish-rss-tag-icon:empty
{
   vertical-align: middle;
}

.cornish-facebook-tag-icon
{
   background:  url('images/footerfacebookicon.png') no-repeat scroll;
   margin:0 auto;
   min-height:32px;
   min-width:32px;
   display: inline-block;
   text-indent: 35px;
   background-position: left center;
   vertical-align: middle;
}

.cornish-facebook-tag-icon:empty
{
   vertical-align: middle;
}

.cornish-twitter-tag-icon
{
   background:  url('images/footertwittericon.png') no-repeat scroll;
   margin:0 auto;
   min-height:32px;
   min-width:32px;
   display: inline-block;
   text-indent: 35px;
   background-position: left center;
   vertical-align: middle;
}

.cornish-twitter-tag-icon:empty
{
   vertical-align: middle;
}

.cornish-tumblr-tag-icon
{
   background:  url('images/tumblricon.png') no-repeat scroll;
   margin:0 auto;
   min-height:32px;
   min-width:32px;
   display: inline-block;
   text-indent: 35px;
   background-position: left center;
   vertical-align: middle;
}

.cornish-tumblr-tag-icon:empty
{
   vertical-align: middle;
}

.cornish-pinterest-tag-icon
{
   background:  url('images/pinteresticon.png') no-repeat scroll;
   margin:0 auto;
   min-height:32px;
   min-width:32px;
   display: inline-block;
   text-indent: 35px;
   background-position: left center;
   vertical-align: middle;
}

.cornish-pinterest-tag-icon:empty
{
   vertical-align: middle;
}

.cornish-vimeo-tag-icon
{
   background:  url('images/vimeoicon.png') no-repeat scroll;
   margin:0 auto;
   min-height:33px;
   min-width:32px;
   display: inline-block;
   text-indent: 35px;
   background-position: left center;
   vertical-align: middle;
}

.cornish-vimeo-tag-icon:empty
{
   vertical-align: middle;
}

.cornish-youtube-tag-icon
{
   background:  url('images/youtubeicon.png') no-repeat scroll;
   margin:0 auto;
   min-height:32px;
   min-width:32px;
   display: inline-block;
   text-indent: 35px;
   background-position: left center;
   vertical-align: middle;
}

.cornish-youtube-tag-icon:empty
{
   vertical-align: middle;
}

.cornish-linkedin-tag-icon
{
   background:  url('images/linkedinicon.png') no-repeat scroll;
   margin:0 auto;
   min-height:32px;
   min-width:32px;
   display: inline-block;
   text-indent: 35px;
   background-position: left center;
   vertical-align: middle;
}

.cornish-linkedin-tag-icon:empty
{
   vertical-align: middle;
}

.cornish-footer-text li
{
   font-size: 13px;
   font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
   line-height: 125%;
   color: #1B517E;
}

.cornish-page-footer, 
.cornish-page-footer a,
.cornish-page-footer a:link,
.cornish-page-footer a:visited,
.cornish-page-footer a:hover
{
   font-family: Arial;
   font-size: 10px;
   letter-spacing: normal;
   word-spacing: normal;
   font-style: normal;
   font-weight: normal;
   text-decoration: underline;
   color: #707070;
}

.cornish-page-footer
{
   position: relative;
   z-index: auto !important;
   padding: 1em;
   text-align: center !important;
   text-decoration: none;
   color: #8C8C8C;
}

.cornish-lightbox-wrapper 
{
   background: #333;
   background: rgba(0, 0, 0, .8);
   bottom: 0;
   left: 0;
   padding: 0 100px;
   position: fixed;
   right: 0;
   text-align: center;
   top: 0;
   z-index: 1000000;
}

.cornish-lightbox,
.cornish-lightbox-wrapper .cornish-lightbox-image
{
   cursor: pointer;
}

.cornish-lightbox-wrapper .cornish-lightbox-image
{
   border: 6px solid #fff;
   border-radius: 3px;
   display: none;
   max-width: 100%;
   vertical-align: middle;
}

.cornish-lightbox-wrapper .cornish-lightbox-image.active
{
   display: inline-block;
}

.cornish-lightbox-wrapper .lightbox-error
{
   background: #fff;
   border: 1px solid #b4b4b4;
   border-radius: 10px;
   box-shadow: 0 2px 5px #333;
   height: 80px;
   opacity: .95;
   padding: 20px;
   position: fixed;
   width: 300px;
   z-index: 100;
}

.cornish-lightbox-wrapper .loading
{
   background: #fff url('images/preloader-01.gif') center center no-repeat;
   border: 1px solid #b4b4b4;
   border-radius: 10px;
   box-shadow: 0 2px 5px #333;
   height: 32px;
   opacity: .5;
   padding: 10px;
   position: fixed;
   width: 32px;
   z-index: 10100;
}

.cornish-lightbox-wrapper .arrow
{
   cursor: pointer;
   height: 100px;
   opacity: .5;
   filter: alpha(opacity=50);
   position: fixed;
   width: 82px;
   z-index: 10003;
}

.cornish-lightbox-wrapper .arrow.left
{
   left: 9px;
}

.cornish-lightbox-wrapper .arrow.right
{
   right: 9px;
}

.cornish-lightbox-wrapper .arrow:hover
{
   opacity: 1;
   filter: alpha(opacity=100);
}

.cornish-lightbox-wrapper .arrow.disabled 
{
   display: none;
}

.cornish-lightbox-wrapper .arrow-t, 
.cornish-lightbox-wrapper .arrow-b
{
   background-color: #fff;
   border-radius: 3px;
   height: 6px;
   left: 26px;
   position: relative;
   width: 30px;
}

.cornish-lightbox-wrapper .arrow-t
{
   top: 38px;
}

.cornish-lightbox-wrapper .arrow-b
{
   top: 50px;
}

.cornish-lightbox-wrapper .close
{
   cursor: pointer;
   height: 22px;
   opacity: .5;
   filter: alpha(opacity=50);
   position: fixed;
   right: 39px;
   top: 30px;
   width: 22px;
   z-index: 10003;
}

.cornish-lightbox-wrapper .close:hover 
{
   opacity: 1;
   filter: alpha(opacity=100);
}

.cornish-lightbox-wrapper .close .cw, 
.cornish-lightbox-wrapper .close .ccw
{
   background-color: #fff;
   border-radius: 3px;
   height: 6px;
   position: absolute;
   left: -4px;
   top: 8px;
   width: 30px;
}

.cornish-lightbox-wrapper .cw
{
   transform: rotate(45deg);
   -ms-transform: rotate(45deg);
   /* IE 9 */
    -webkit-transform: rotate(45deg);
   /* Safari and Chrome */
    -o-transform: rotate(45deg);
   /* Opera */
    -moz-transform: rotate(45deg);
/* Firefox */}

.cornish-lightbox-wrapper .ccw
{
   transform: rotate(-45deg);
   -ms-transform: rotate(-45deg);
   /* IE 9 */
    -webkit-transform: rotate(-45deg);
   /* Safari and Chrome */
    -o-transform: rotate(-45deg);
   /* Opera */
    -moz-transform: rotate(-45deg);
/* Firefox */}

.cornish-lightbox-wrapper .close-alt, 
.cornish-lightbox-wrapper .arrow-right-alt, 
.cornish-lightbox-wrapper .arrow-left-alt 
{
   color: #fff;
   display: none;
   font-size: 2.5em;
   line-height: 100%;
}

.ie8 .cornish-lightbox-wrapper .close-alt, 
.ie8 .cornish-lightbox-wrapper .arrow-right-alt, 
.ie8 .cornish-lightbox-wrapper .arrow-left-alt 
{
   display: block;
}

.ie8 .cornish-lightbox-wrapper .cw, 
.ie8 .cornish-lightbox-wrapper .ccw 
{
   display: none;
}

.cornish-content-layout .cornish-content
{
   margin:0 auto;
}



#comment
{
    width:99%;
}

#comments-list, #comments-list .comment 
{
  background: none;
  padding:0;
  margin:0;
  overflow: visible;
}

#comments-list .comment:before, #comments-list .comment:after
{
  display:none;
}

#comments-list .comment .comment 
{
  margin-left: 20px;
}

span.page-navi-outer, span.page-navi-inner 
{
    position:relative;
    display:block;
    float:left;
    margin:0;
    padding:0;
}

span.page-navi-outer
{
  margin: 1px;
  border: 1px solid #aaa;
}

span.page-navi-inner 
{
  padding: 1px;
  min-width:14px;
  line-height:18px;
  text-align:center;
  border: 2px solid #fff;
  font-weight:bold;
}

a span.page-navi-inner, span.page-navi-caption span.page-navi-inner 
{
    border-width:1px;
    font-weight:normal;
}

a span.page-navi-outer, span.page-navi-caption
{
    margin:2px 1px;
}

ul#comments-list li cite
{
  font-size: 1.2em;
}

#commentform textarea
{
  width: 100%;
}

#commentform
{
  text-align:left;
}

.rtl #commentform
{
  text-align:right;
}

img.wp-smiley
{
  border: none;
  margin: 1px;
  vertical-align:middle;
  padding: 0;
}

.navigation
{
  display: block;
  text-align: center;
}

/* Recommended by http://codex.wordpress.org/CSS */
/* Begin */
.aligncenter, div.aligncenter, .cornish-article .aligncenter img, .aligncenter img.cornish-article, .aligncenter img, img.aligncenter
{
  display: block;
  margin-left: auto;
  margin-right: auto;
}

p.aligncenter , p.center 
{
   text-align: center; 
}

.alignleft
{
  float: left;
}

.alignright
{
  float: right;
}

.sticky 
{
}

.bypostauthor  
{
}

.wp-caption
{
  border: 1px solid #ddd;
  background-color: #f3f3f3;
  padding-top: 4px;
  margin: 10px;
}

.wp-caption img
{
  margin: 0;
  padding: 0;
  border: 0 none;
}

.wp-caption p.wp-caption-text
{
  font-size: 11px;
  line-height: 17px;
  padding: 0 4px 5px;
  margin: 0;
}

.wp-caption, .wp-caption p
{
    text-align: center;
}

.gallery {
	margin: 0 auto 18px;
    clear:both;
    overflow:hidden;
}

.gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
.gallery img {
	border: 2px solid #cfcfcf;
}

.gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
}

.gallery dl {
	margin: 0;
}

.gallery img {
	border: 10px solid #f1f1f1;
}

.gallery br+br {
	display: none;
}
/* End */


.hidden
{
  display: none;
}

/* Calendar */
#wp-calendar {
  empty-cells: show;
  margin: 10px auto 0;
  width: 155px;
}

#wp-calendar #next a {
  padding-right: 10px;
  text-align: right;
}

#wp-calendar #prev a {
  padding-left: 10px;
  text-align: left;
}

#wp-calendar a {
  display: block;
}

#wp-calendar caption {
  text-align: center;
  width: 100%;
}

#wp-calendar td {
  padding: 3px 0;
  text-align: center;
}

.gallery {
  letter-spacing: normal;
}

.cornish-content {
  position: relative;
  z-index: 1;   
}

#todays-events{
  position: relative;
  z-index: 11;    
}

#upcoming-events{
  position: relative;
  z-index: 10;    
}

img.wp-post-image 
{
    margin:0 5px 5px 0 !important;
}

ul#comments-list li
{
    list-style-image: none;
    background:none;
    list-style-type:none;
    
}

div.cornish-footer div.cornish-content-layout
{
    margin:0 auto;
    width:100%;
}

div.cornish-layout-cell-size1 
{
    width:100%;
}

div.cornish-layout-cell-size2 
{
    width:50%;
}
div.cornish-layout-cell-size3 
{
    width:33%;
}

div.cornish-layout-cell-size4
{
    width:25%;
}

.cornish-widget-title
{
    padding:0 0 0 24px;
    margin-bottom:0;
}

div.cornish-center-wrapper
{
  position: relative;
  float: right;
  right: 50%;

}

div.cornish-center-inner
{
  position: relative;
  float: left;
  left: 50%;
}

.firefox2 div.cornish-center-inner
{
  float: none;
}

.cornish-hmenu-extra1, .cornish-hmenu-extra2 {
 font-size:12px;
}

div.breadcrumbs h4, 
div.breadcrumbs p, 
li.pingback p, 
#respond p,
h3#reply-title, 
h4#comments, 
h4.box-title
{
    margin:0;
}

#respond .comment-notes {
	margin-bottom: 1em;
}

.form-allowed-tags {
	line-height: 1em;
}

#comments-list #respond {
	/*margin-left: NaNpx !important; TODO NodeJS*/
}

#cancel-comment-reply-link {
	font-size: 12px;
	font-weight: normal;
	line-height: 18px;
}

#respond .required {
	color: #ff4b33;
	font-weight: bold;
}

#respond label {
	font-size: 12px;
}

#respond input {
	margin: 0 0 9px;
	width: 98%;
}

#respond textarea {
	width: 98%;
}

#respond .form-allowed-tags {
	font-size: 12px;
	line-height: 18px;
}

#respond .form-allowed-tags code {
	font-size: 11px;
}

#respond .form-submit {
	margin: 12px 0;
}

#respond .form-submit input {
	width: auto;
}

.cornish-footer .cornish-widget-title 
{
    font-size:1.2em;
    padding: 0;
}

.cornish-footer .cornish-widget,
.cornish-footer .cornish-widget a,
.cornish-footer .cornish-widget a:link,
.cornish-footer .cornish-widget a:visited,
.cornish-footer .cornish-widget a:hover
{
    text-align: left;
}

DIV[id^="GMPmap"] IMG 
{
    margin: 0px;
}

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

/* Begin Additional CSS Styles */
.cornish-blockheader .t, .cornish-vmenublockheader .t {white-space: nowrap;}
/* End Additional CSS Styles */

