/**
 * Theme Name: korfiati-site
 * Theme URI:
 * Author: slavadvent
 * Author URI:
 * Description:
 * Version: 0.0.1
 * Name: style
 */

html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, code, em, img, sub, sup, ol, ul, li,
form, label, legend, table, caption, tbody, article, aside, footer, header, menu, nav {
    /* color: rgb(105, 105, 105); */
    color: rgb(74, 74, 74);
    margin: 0;
    padding: 0;
    border: 0;
    font-family: "Open Sans", Arial, sans-serif;
    font-weight: 100;
	/*font-size: 16px;*/
    font-size: 100%;
    vertical-align: baseline;
}

body {
	padding-top: 50px;
    background-color: #ffffff;
    color: #333;
    line-height: 1.9rem;
}

.col-3cm {
    overflow-x: hidden;
}

::selection {
    background: rgb(59, 141, 189);
    color: rgb(255, 255, 255);
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

.blog .post, .single .post, .archive .post, .search .post, .search .page {
    margin-bottom: 3rem;
}

h1, h2, h3, h4, h5, h6, h5 span, h6 span{
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    margin-bottom: 0.9rem;
    font-weight: 400;
}

h1, h2, h3 {
    font-size: 1.5rem;
    line-height: 3rem;
}

h4, h5, h6, h5 span, h6 span{
    font-size: 1.2rem;
    line-height: 2rem;

}

h1, h3, h5, h1 a, h3 a, h5 a, h5 span {
    color: rgb(0, 115, 165);
}

h2, h4, h6, h2 a, h4 a, h6 a, h6 span {
    color: rgb(171, 35, 84);;
}

a {
    color: rgb(0, 110, 190);
    font-weight: 400;
    text-decoration: none;
    outline: 0;
}

a, a:before, a:after {
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

a:hover {
    color: rgb(0, 146, 246);
}

a img {
    -webkit-transition: opacity 0.2s ease;
    -moz-transition: opacity 0.2s ease;
    -o-transition: opacity 0.2s ease;
    transition: opacity 0.2s ease;
}

.left,.alignleft {
    float: left;
}

.right,.alignright {
    float: right;
}

.aligncenter {
    margin: 0 auto;
    clear: both;
    display: block;
}

em {
    font-style: italic;
}

strong {
    font-weight: 600;
}

ol, ul {
    list-style: none;
}

img {
    height: auto;
    -webkit-border-radius: .7rem;
    border-radius: .7rem;
    max-width: 100%;
}

.group:after {
    clear: both;
}

.group:before, .group:after {
    content: "";
    display: table;
}

.pad {
    padding: 1.9rem 1.6rem;
}

.main .pad.group {
    padding: .7rem 1.6rem;
}
.group_error {
    height: 4000px;
}

/* Навигационная панель и заголовок */

#wrapper {
    /*min-width: 1024px;*/
    height: 100%;
}

#header {
    background: #fff;
    position: relative;
    /*padding-top: 50px;*/
}

#nav-topbar{
    position: fixed;
    top: 0;
    left: 0;
    height: 50px;
    width: 100%;
    line-height: 2rem;
}

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

.nav-container {
    background: rgb(246, 247, 248);
    z-index: 1000;
}

.nav-toggle {
    color: #fff;
    display: none;
    cursor: pointer;
    float: right;
    width: 30px;
    padding: 0.3rem;
    color: rgba(171, 35, 84, .6);
}

.nav-logo {
    display: none;
}

.fa {
    display: inline-block;
    /*font: normal normal normal 14px/1 My Awesome;*/
    font-family: 'My Awesome';
    font-style: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: pointer;
}

.fa-bars:before {
    content: "\f0c9";
    font-size: 2rem;
}

.toggle-search {
    color: #444;
    font-size: 18px;
    line-height: 24px;
    cursor: pointer;
    margin: 7px 20px;
    position: absolute;
    right: 0;
    width: 250px;
    z-index: 1800;
    transition: all .5s ease;
    -webkit-transition: all .5s ease;

}

.toggle-search:hover, .toggle-search.active {
    width: 400px;
}

.sub-menu{
    display: none;
    /*height: 0;*/
    /*transition: all .2s ease-out;*/
    /*opacity: 0;*/
}

.nav li {
    font-size: .95rem;
    display: inline-block;
    position: relative;
    padding: .4rem .9rem;
}

/*.nav li:hover > ul.sub-menu {*/
    /*!*opacity: 1;*!*/
    /*!*height: auto;*!*/
    /*display: block;*/
/*}*/

.nav li:hover > .sub-menu {
    /*opacity: 1;*/
    /*height: auto;*/
    display: block;
}


.nav li:hover>a {
    color: rgb(117, 30, 65);
    }

.nav li:hover {
    background: rgb(236, 239, 239);
}

.nav li a {
    display: block;
    color: rgba(38, 68, 95, 1);
}

.nav>li>a:after {
    content: "";
    float: none;
    margin-left: 6px;
    border-top: 7px solid rgba(38, 68, 95, 0.4);
    border-bottom: 0px;
    border-left: 4px solid rgba(0, 0, 0, 0);
    border-right: 4px solid rgba(0, 0, 0, 0);
    font-size: 0px;
}

.sub-menu li>a:after {
    content: "";
    float: right;
    margin-top: 15px;
    border-left: 7px solid rgba(38, 68, 95, 0.4);
    border-right: 0px;
    border-top: 4px solid rgba(0, 0, 0, 0);
    border-bottom: 4px solid rgba(0, 0, 0, 0);
    font-size: 0px;
}

.nav li>a:only-child:after {
    content: "";
    border: 0px;
}

.nav ul {
    /*background: #ddd;*/
    background: rgb(243, 245, 247);
    position: absolute;
    left: 0;
    /*top: 50px;*/
    width: 190px;
    padding: 10px 0;
    box-shadow: 0 2px 2px rgba(0,0,0,.15);
}

.nav ul ul {
    position: absolute;
    top: -10px;
    left: 190px;
}

.nav ul li {
    position: relative;
    display: block;
    padding: 0;
    box-shadow: 0 1px 0 rgba(200, 200, 200, .6);
    -webkit-box-shadow: 0 1px 0 rgba(200, 200, 200, .6);
}

.nav ul li:last-of-type {
    box-shadow: 0 0 0 rgba(200,200,200,.6);
    -webkit-box-shadow: 0 0 0 rgba(200,200,200,.6);
}

.nav ul li a {
    padding: 0.5rem 15px;
    line-height: 1.5rem;
}

.container {
    padding: 0 2rem;
}

#header .pad {
    background: url(/images/madeira-new-min.png) no-repeat 100% rgb(255, 255, 255);
    background-size: 19vw;
    background-position-y: 0;
}

.site-title {
    position: relative;
    float: none;
    line-height: 10px;
    padding: 0.9rem 0;
    margin: 0;
}

.front-post-title {
    font-size: 2.3rem;
    color: rgb(0, 101, 158);
}

.site-title a {
    display: block;
    color: rgb(171, 35, 85);
    font-size: 2.4rem;
    max-width: 100%;
}

.site-description {
    font-size: 1.7rem;
    color: rgb(171, 35, 85);
    float: none;
    line-height: 1.9rem;
    padding: 0.9rem 0;
    letter-spacing: .05rem;
}


/* Основной container сайта */

#page {
    /*padding-bottom: 60px;*/
}

.main {
    background-color: rgb(255, 255, 255)!important;
    position: relative;
}

.main-inner {
    position: relative;
    min-height: 600px;
}

.col-3cm .main-inner {
    background: rgb(248 249 250);
    padding-left: 340px;
    padding-right: 280px;
}

.content {
    width: 100%;
    position: relative;
}

.col-3cm .content {
    background: rgb(255, 255, 255);
    float: right;
}

.page-title {
    text-transform: none;
    padding-top: 1rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid rgb(238, 238, 238);
}

.page-title h1 {
    font-size: 2.4rem;
    font-weight: 400;
    letter-spacing: -1px;
    line-height: 2.5rem;
}

.entry {
    font-size: 1.3rem;
    line-height: 2.2rem;
}

.entry h2 {
    font-size: 2rem;
    letter-spacing: -.7px;
}

.entry h3 {
    font-size: 1.7rem;
    letter-spacing: -.5px;
    line-height: 2.5rem;
}

.entry h4 {
    font-size: 1.6rem;
    letter-spacing: -.3px;
}

.notebox h2, .notebox h3 {
    font-size: 1.9rem;
    line-height: 2.5rem;
}

.entry ol, .entry ul {
    margin: 0 0 1rem 2rem;
}

.entry ol li, .entry ol ul ol li {
    list-style: decimal;
}

.entry ul li, .entry ol ul li {
    list-style: initial;
}

.entry .wp-caption {
    max-width: 100%;
    margin: 1.3rem auto;
    text-align: center;
}

.entry .wp-caption-text {
    font-style: italic;
    font-size: 80%;
    padding: .3rem;
    text-align: center;
}

.gallery-caption {
    display: none;
}

.wp-caption.alignnone {
    display: inline-block;
    width: 45.5%!important;
    margin: 0 2%;
}

.entry blockquote {
    position: relative;
    margin: 0 0 2rem 0;
    padding-left: 3rem;
    font-style: italic;
}

.entry blockquote:before {
    content: "\275B\275B";
    color: rgba(119, 119, 119, 0.8);
    font-size: 3rem;
    font-style: normal;
    text-align: center;
    position: absolute;
    left: 0;
    top: 0;
}

.entry blockquote p {
    margin-bottom: .5rem;
}

blockquote em{
    color: rgba(119, 119, 119, 1);
    font-weight: 600;
}

blockquote strong{
    color: rgba(119, 119, 119, 1);
}

.dropcap {
    color: rgb(110, 110, 110);
    display: block;
    float: left;
    font-size: 6rem;
    line-height: .9em;
    font-weight: 600;
    margin: 0 10px 0 0;
}

.entry p {
    margin-bottom: 1rem;
	font-size: 1.4rem;
}

.pullquote-right {
    color: rgb(110, 110, 110);
    border-right: 6px solid rgb(110, 110, 110);
    float: right;
    margin: .5rem 0 .5rem .8rem;
    padding: 0 1rem;
    font-weight: 600;
    width: 30%;
}

.entry img.size-large, .entry img.size-medium {
    height: auto;
}

.entry img.aligncenter {
    margin: 1.3rem auto;
}

.entry img.alignnone.size-thumbnail {
    margin: 0 4%;
    width: 42%;
}


/* saidbar's */

.sidebar {
    padding-bottom: 20px;
    position: relative;
    z-index: 50;
}

.s1 {
    width: 340px;
}

.s2 {
    width: 280px;
}

.col-3cm .s1 {
    float: left;
    margin: 0 0 1700px -340px;
    position: sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    top: 0;
}

.widget {
    color: rgba(119, 119, 119, 1);
    font-size: 1rem;
    overflow: hidden;
}

.sidebar .widget {
    padding: 1rem;
}

#tab-popular li {
    margin: .5rem 0;
}

.widget>h3 {
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: .4rem;
}

.tab-item-thumbnail {
    display: inline-block;
    width: 30%;
}

.tab-item-inner.group {
    display: inline-block;
    width: 68%;
    font-size: .9rem;
    word-wrap: break-word;
    vertical-align: top;
    line-height: 1.5rem;
}

.tab-item-title a {
    color: rgb(68, 68, 68);
}

.col-3cm .s2 {
    margin-right: -280px;
    right: -100%;
	float: right;
	/*display: inline-block;*/
	position: relative;
}


.fa-angle-up:before {
    content: "\005E";
    line-height: 3rem;
    font-family: cursive;
}

.grid {
    display: inline-grid;
    position: relative;
}

.one-half {
    width: 47%;
    float: left;
    margin-left: 1%;
}

.one-last {
    width: 47%;
    float: right;
    margin-right: 1%;
    text-align: right;
}

.last {
    clear: right;
    margin-right: 0!important;
}

.one-third {
    width: 32%;
}

.one-third .wp-caption.alignnone {
    display: block;
    width: 100%!important;
    margin: 0 2%;
}

.one-half .wp-caption.alignnone {
    display: block;
    width: 100%!important;
    margin: 0 2%;
}

.clear {
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
}

.page-title span, .page-title a{
    color: rgb(105, 105, 105);
    font-weight: 400;
}

.page-title a:hover {
    color: rgb(68, 68, 68);
}

span.breadcrumb_last {
    font-weight: 600;
}

.notebox {
    background: rgba(234, 234, 234, 0.8);
    position: relative;
    padding: 1rem 1.1rem;
    color: rgba(68, 68, 68, 1);
    margin-bottom: 2rem;
}

.notebox:before {
    content: '';
    display: inline-block;
    border-left: 8px solid rgba(0, 0, 0, 0);
    border-right: 8px solid rgba(0, 0, 0, 0);
    border-bottom: 8px solid rgba(234, 234, 234, 1);
    position: absolute;
    top: -8px;
    left: 13px;
}

.notebox p{
    line-height: 2.2rem;
	font-size: 1.4rem;
}

.post-list .post-row {
    float: left;
    width: 100%;
    border-bottom: 1px solid rgba(234, 234, 234, 1);
    margin-bottom: 2.5rem;
    position: relative;
}

.post-list .post, .post-list .page {
    width: 50%;
    float: left;
}

.content .post, .content .page {
    position: relative;
    overflow: hidden;
}

.post-list .post-inner {
    margin: 0 3%;
}

.post-thumbnail {
    position: relative;
    margin-bottom: 1em;
    width: 100%;
    transition: all 1s ease;
    -webkit-transition: all 1s ease;
}

.post-thumbnail img {
    display: block;
    height: auto;
    margin: auto;
}

.post-comments {
    background: rgba(59, 141, 189, 1);
    font-size: 12px;
    line-height: 20px;
    display: block;
    position: absolute;
    top: 10px;
    right: 0;
    -webkit-box-shadow: inset -1px 0 1px rgba(0,0,0,.2);
    box-shadow: inset -1px 0 1px rgba(0,0,0,.2);
}

.post-comments>span {
    display: block;
    position: relative;
    color: rgba(255, 255, 255, 1);
    padding: 2px 7px;
}

.post-comments>span:before {
    content: '';
    display: inline-block;
    border-left: 9px solid rgba(0, 0, 0, 0);
    border-right: 9px solid rgba(59, 141, 189, 1);
    border-top: 9px solid rgba(0, 0, 0, 0);
    border-bottom: 9px solid rgba(0, 0, 0, 0);
    position: absolute;
    top: 3px;
    left: -16px;
}

.post-comments i {
    margin-right: 3px;
}

.fa-comments-o:before {
    content: "\f0e6";
}

.post-meta {
    text-transform: uppercase;
    font-size: .8rem;
    font-weight: 400;
    margin-bottom: .3em;
}

.post-inner.group {
    font-size: 1.3rem;
    line-height: 2.2rem;
    padding: 0 1rem;
}

.post-category a {
    color: rgba(53, 97, 135, 1);
}

.post-date {
    display: none;
}

.post-title {
    margin-bottom: 1rem;
    font-size: 2.0rem;
    font-weight: 400;
    line-height: 3rem;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}

.post-title a {
    /*color: rgb(68, 68, 68);*/
}

.entry.excerpt {
    line-height: 2.1rem;
}

.entry.excerpt p {
    margin-bottom: 0;
}

.post-list .post-row:last-child {
    border: none;
    margin-bottom: 0;
}







@media only screen and (max-width: 1359px) {
    .col-3cm .s2{
        /*display: none;*/
        /*margin-right: 0;*/
    }

    .col-3cm .main-inner {
        padding-left: 280px;
    }

    .col-3cm .main-inner {
        /*padding-right: 0;*/
    }
}

@media only screen and (max-width: 1279px) {

    .nav li {
        padding: .4rem .6rem;
        font-size: .9rem;
    }

    .col-3cm .s2{
        display: none;
        margin-right: 0;
    }

    .col-3cm .main-inner {
        padding-left: 340px;
    }

    .col-3cm .main-inner {
        padding-right: 0;
    }
}

@media only screen and (max-width: 1092px) {

    .nav li {
        padding: .4rem .4rem;
        letter-spacing: -.02rem;
    }

    .container {
        padding: 0 .5rem;
    }

    .col-3cm .s1{
        /*display: none;*/
        /*margin-left: 0;*/
    }

    .col-3cm .main-inner {
        padding-left: 280px;
    }

    .col-3cm .main-inner {
        /*padding-left: 0;*/
    }
}

@media only screen and (max-width: 1023px){

    .container {
        padding: 0 1.2rem;
    }

    .toggle-search {
        margin: 7px 4rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav-logo {
        display: inline-block;
        background: url(./img/korfiati-logo-small.png) no-repeat;
        float: left;
        background-size: 100%;
        width: 40px;
        margin: 5px 10px;
        height: 40px;
        z-index: 1500;
    }

    .nav-wrap{
        position: absolute;
        /*float: left;*/
        width: 350px;
        height: 0;
        top: 50px;
        overflow-y: auto;
        overflow-x: hidden;
        background-color: rgba(233, 233, 233, 1);
    }

    .nav-wrap::-webkit-scrollbar {
        width: 10px;
    }

    .nav-wrap.transition {
        -webkit-transition: height 0.35s ease;
        -moz-transition: height 0.35s ease;
        -o-transition: height 0.35s ease;
        transition: height 0.35s ease;
    }

    .nav li { display: block; line-height: 1.4rem; }
    .nav li a { display: block; padding: 8px 20px; }
    .nav li li a { padding-left: 15px; padding-right: 15px; }
    .sub-menu {display: block;}
    .nav li li::before { content: none; }
    /* Убираем стрелки */
    .nav li > a:after { content: none; }
    .nav > li > a:after { content: none; }
    .nav li > a:only-child:after { content: none; }
    /* level 1 */
    .nav li > a:hover,
    .nav li.current_page_item > a,
    .nav li.current-menu-item > a,
    .nav li.current-post-parent > a { background: rgba(0,0,0,0.15); color: #fff; }
    /* level 2 & 3 */
    .nav ul { background-color: rgba(233, 233, 233, 1); box-shadow: unset; -webkit-box-shadow: unset; margin-left: 40px; position: relative; width: 300px; top: 0; }
    .nav ul li { font-size: .8rem; font-weight: 300; box-shadow: unset; -webkit-box-shadow: unset;}
    .nav ul li a { line-height: 1.4rem; padding-top: 6px; padding-bottom: 6px; }
    .nav ul ul { position: relative; top: 0px; left: 0px; }

    .site-title a {
        font-size: 3.8vw;
    }

    .site-description {
        font-size: 2.7vw;
    }

    .one-half {
        width: 70%;
    }

}

@media only screen and (max-width: 959px) {
    .col-3cm .s1{
        display: none;
        margin-left: 0;
    }


    .col-3cm .main-inner {
        padding-left: 0;
    }
}

@media only screen and (max-width: 767px){

    .site-title a {
        font-size: 4vw;
        padding: .3rem 0;
    }

    .site-description {
        font-size: 2.8vw;
        padding: .3rem 0;
    }

    .pad {
        padding: .5rem 1rem;
    }

    .nav-wrap {
        width: 320px;
        padding: 0;
    }

    .nav ul {
        padding: .2rem 0;
    }

    .nav li {
        font-size: .8rem;
    }

    .nav li a {
        line-height: .8rem;
    }

    .nav ul li {
        font-size: .7rem;
    }

    .nav ul li a {
        line-height: 1.1rem;
    }

    .nav li li a {
        padding-left: 5px;
    }

    /*.page-title span, .page-title a {*/
        /*line-height: 1.7rem;*/
    /*}*/

    .page-title h1 {
        font-size: 1.9rem;
    }

    .entry {
        font-size: 1.25rem;
        line-height: 1.9rem;
    }

    .entry h2, .entry h3 {
        font-size: 1.6rem;
        line-height: 2.3rem;
    }

    .single .post-title {
        font-size: 1.9rem;
        line-height: 2.5rem;
    }

    .post-list .post, .post-list .page {
        width: 100%;
    }

    .entry img.alignnone.size-thumbnail {
        margin: 0 3%;
        width: 44%;
    }

    .notebox h2, .notebox h3 {
        font-size: 1.4rem;
        line-height: 2.3rem;
    }

    .one-half {
        width: 100%;
    }

}


@media only screen and (max-width: 599px){

	body {
		padding-top: 0px;
	}
	
    .container {
        padding: 0 .8rem;
    }

    #header {
        padding-top: 40px;
    }

    #nav-topbar, #nav-header {
        /* height: 40px; */
    }

    .toggle-search {
        margin: 4px 3rem;
        line-height: 20px;
    }

    .nav-logo {
        width: 30px;
        height: 30px;
        margin: 5px 10px;
    }

    .fa-bars:before {
        font-size: 1.7rem;
    }

    .nav-toggle {
        padding: 0.1rem;
    }

    #header .pad {
        padding: 1.5rem .7rem;
    }

    .site-title {
        padding: .7rem 0;
    }

    .site-title a {
        font-size: 4.5vw;
        padding: 1rem 0 0 0;
    }

    .site-description {
        font-size: 3.5vw;
    }

    .nav-wrap {
        top: 40px;
        width: 300px;
    }

    .nav ul {
        padding: .2rem 0;
        margin-left: 30px;
    }

    .nav li {
        font-size: .7rem;
    }

    .nav li a {
        line-height: .7rem;
    }

    .nav ul li {
        font-size: .65rem;
    }

    .nav ul li a {
        line-height: 1.2rem;
		font-size: .9rem;
    }

    .page-title span, .page-title a {
        font-size: .9rem;
    }

    .post-title {
        font-size: 1.3rem;
		line-height: 2.1rem;
    }

    .page-title h1 {
        font-size: 1.6rem;
        letter-spacing: 0;
    }

    .post-meta {
        font-size: .7rem;
        line-height: 1.2rem;
    }

    .entry {
        font-size: 1.2rem;
    }
	
	.entry p {
    font-size: 1.2rem;
	}

    .entry h2, .entry h3 {
        font-size: 1.6rem;
        line-height: 2.2rem;
    }

    .entry h4 {
        font-size: 1.4rem;
        line-height: 2.2rem;
    }

    .single .post-title {
        font-size: 1.8rem;
        line-height: 2.4rem;
    }

    .notebox h2, .notebox h3 {
        font-size: 1.4rem;
        line-height: 2.1rem;
    }

    .entry img.alignnone.size-thumbnail {
        margin: 0 1%;
        width: 48%;
    }

    .wp-caption.alignnone {
        display: block;
        width: 100%!important;
        margin: 0 auto;
    }

}

@media only screen and (max-width: 423px) {

    .container {
        padding: 0 .3rem;
    }

    #header {
        /* padding-top: 30px;*/
    }

    .toggle-search {
        margin: -3px 2.5rem;
        width: 70%;
    }

    .toggle-search:hover, .toggle-search.active {
        margin: -3px 0;
        width: 100%;
    }

    .nav-logo {
        width: 22px;
        height: 22px;
        margin: 4px 8px;
    }

    #nav-topbar, #nav-header {
        height: 30px;
    }

    .fa-bars:before {
        font-size: 1.3rem;
    }

    #header .pad {
        padding: .5rem;
        background-size: 29vw;
    }

    .site-title {
        width: 75%;
        line-height: 1.8rem;
    }

    .site-title a {
        font-size: 1.3rem;
        padding: 0;
    }

    .site-description {
        /*font-size: 3.4vw;*/
        /*padding: 0;*/
        display: none;
    }

    .nav-wrap {
        top: 30px;
        width: 290px;
    }

    .nav ul {
        padding: .1rem 0;
    }

    .nav li {
        /*font-size: .6rem;*/
    }

    .nav li a {
        line-height: .9rem;
		font-size: .9rem;
    }

    .nav ul li {
        /*font-size: .5rem;*/
    }

    .nav ul li a {
		line-height: .9rem;
		font-size: .8rem;
    }
	
	.main .pad.group {
    	padding: .2rem .5rem;
	}

	.post-inner.group {
    	padding: 0 .3rem;
	}
	
	.front-post-title {
    	font-size: 1.35rem;
		line-height: 2rem;
	}

    .entry h2, .entry h3, .entry h2 a, .entry h3 a {
        font-size: 1.3rem;
        line-height: 1.9rem;
    }

    .entry h4, .entry h5 {
        font-size: 1.2rem;
        line-height: 1.8rem;
    }
	
	blockquote strong {
    	font-size: .9rem;
	}
	
	.dropcap {
	    font-size: 3rem;
	}
	
	.grid {
    	display: block;
	}
	
	.one-third {
    	width: 100%;
	}
	
	.entry p {
    	line-height: 1.9rem;
	}
	
	.entry ol, .entry ul {
 	   	margin: 0 0 .7rem 1.5rem;
    	font-size: .9rem;
    	line-height: 1.3rem;
	}

    .single .post-title {
        font-size: 7vw;
        line-height: 2.3rem;
    }

    .page-title .meta-single li {
        float: left;
        margin-right: .5rem;
        line-height: 1.2rem;
    }

    .page-title span, .page-title a {
        font-size: .8rem;
    }

    .page-title h1 {
        font-size: 1.3rem;
        /*padding: 1rem 0;*/
        /*line-height: 2.1rem;*/
    }

    .notebox h2, .notebox h3 {
        font-size: 1.4rem;
        line-height: 2.1rem;
    }
	
	.notebox p {
    	line-height: 1.9rem;
    	font-size: 1.1rem;
	}

    .entry img.alignnone.size-thumbnail {
        margin: 0 2%;
        width: 98%;
    }
	
	.entry blockquote p {
    	line-height: 1.5rem;
	}
	
    .pullquote-right {
        margin: 4%;
        padding: 2%;
        width: 90%;
		font-size: .9rem;
		line-height: 1.5rem;
    }

}

table.table-base {
  border-collapse:collapse;
  margin:25px 0;
}
td.table-base {
  border:solid 1px #6f6f6f;
  padding: 3px;
  vertical-align:top;
}
p.table-base-small {
  font-size:1.3rem;
  line-height:1.2;
  margin:0 2px;
  orphans:1;
}
td.CellOverride-1 {
  background-color:lightgray;
}
td.CellOverride-2 {
  vertical-align:middle;
}
p.ParaOverride-1 {
  margin-left:0px;
  margin-right:0px;
}
span.CharOverride-1 {
  font-style:normal;
  font-weight:bold;
}
td.CellOverride-0 {
  vertical-align: middle;
  text-align: center;
  background-color: whitesmoke;
  padding-bottom: 20px;
  padding-top: 20px;
}
@media (max-width: 1625px) {
  p.table-base-small {
    font-size:1.05rem;
  }
  td.CellOverride-0 {
	writing-mode: vertical-lr;
    text-orientation: upright;
  }
}
@media (max-width: 680px) {
  p.table-base-small {
    font-size:0.56rem;
  }
}


.ny-pantone-l {
    width: 100px;
    z-index: 300;
    position: absolute;
    top: -17px;
    left: -40px
}

@media only screen and (max-width: 767px) {
    #header .pad {
        padding: 1.9rem 1.6rem;
    }
}

@media only screen and (max-width: 599px) {
    .ny-pantone-l {
        width: 65px;
        top: 3px;
        left: -22px
    }

}

@media only screen and (max-width: 423px) {
    .ny-pantone-l {
        width: 50px;
        left: -17px
    }

}


ins.adsbygoogle[data-ad-status="unfilled"] {
    display: none !important;
}

header .google-auto-placed,
#wrapper > .google-auto-placed,
.container > .google-auto-placed, 
.container-inner > .google-auto-placed,
.main > .google-auto-placed,
.main-inner > .google-auto-placed {
    display: none !important;
}