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

}

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

}

/* bariol */

@font-face {
    font-family: 'Bariol';
    src: url('../fonts/Bariol_Regular.otf');
    font-weight: 400;
}

@font-face {
    font-family: 'Bariol';
    src: url('../fonts/Bariol_Bold.otf');
    font-weight: 700;
}

@font-face {
    font-family: 'Bariol';
    src: url('../fonts/Bariol_Light.otf');
    font-weight: 300;
}

/* body */

.blog {
    background: #ffffff;
}

/* blog-head */

.blog .main-nav a:not(.cta-button) {
    color: #303030;
}

.blog-head-content {
    padding-top: 100px;
    text-align: center;
}

.blog-head h1 {
    font-size: 72px;
    line-height: 48px;
    font-weight: 600;
}

.blog-head h1 span {
    font-size: 36px;
}


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

    .blog-head h1 {
        font-size: 48px;
    }

    .blog-head h1 span {
        font-size: 28px;
    }
    .blog.nav-visible .main-nav a{
        color: white;
    }
}

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

    .blog-head h1 {
        font-size: 34px;
        line-height: 26px;
    }

    .blog-head h1 span {
        font-size: 20px;
    }
}

/* blog-content */

.blog-content {
    background: #f2f2f2;
    box-sizing: border-box;
    padding-bottom: 50px;
}

.blog-content-wrap {
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
}

/* search */

.blog-search {
    padding: 20px 0 50px;

}

.blog-search * {
    box-sizing: border-box;
}

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

    .blog-search {
        padding: 20px 0;
        max-width: 660px;
        margin: 0 auto;
    }

}

.btn {
    height: 50px;
    padding: 0 20px;
    line-height: 50px;
    display: block;
    background: #f8f8f8;
    color: #a2a2a2;
    font-weight: 600;
}

.results-text{
    float: left;
    padding: 0 20px;
    line-height: 50px;
    color: #f30c16;
    font-size: 22px;
    text-transform: uppercase;
    font-weight: 400;
}

.btn.close:after {
    content: url('../images/cancel.png');
    vertical-align: -webkit-baseline-middle;
    margin-left: 10px;
}

/*
@media screen and (max-width: 580px) {
    .btn {
        height: 30px;
        line-height: 30px;
    }
}
*/
.btn.active {
    color: #979797;
    background: white;
}

.blog-search .buttons > .btn {
    float: left;
    margin-right: 10px;
}

.blog-search input, .searchfield input, .input-blog {
    height: 50px;
    padding: 0 20px;
    outline: none;
    margin: 0;
    border: none;
    font-family: "DIN Next";
    font-size: 18px;
    font-weight: 400;
}

.blog-search .searchfield {
    transition: width 0.3s;
    transition-delay: 0.3s;
    width: 315px;
}

.blog-search .searchfield input {
    transition-delay: 1s;
    transition: width 0.5s;
    width: 100%;
}
@media screen and (max-width: 800px) {
    .blog-search .searchfield input::-webkit-input-placeholder {
        color: #ffffff;
    }

    .blog-search .searchfield input:-moz-placeholder {
        color: #ffffff;
    }

    .blog-search .searchfield input::-moz-placeholder {
        color: #ffffff;
    }

    .blog-search .searchfield input:-ms-input-placeholder {
        color: #ffffff;
    }

    .blog-search.expanded .searchfield input::-webkit-input-placeholder {
        color: #c3c3c3;
    }

    .blog-search.expanded .searchfield input:-moz-placeholder {
        color: #c3c3c3;
    }

    .blog-search.expanded .searchfield input::-moz-placeholder {
        color: #c3c3c3;
    }

    .blog-search.expanded .searchfield input:-ms-input-placeholder {
        color: #c3c3c3;
    }


}
.blog-search .buttons {
    transition: transform 0.5s;
    float: left;
}
@media screen and (max-width: 800px) {
    .blog-search .searchfield input, .blog-search .searchfield{
        width: 56px;
        cursor: default;
    }

    .blog-search .buttons {
        width: calc(100% - 60px);
    }

    .blog-search .buttons .btn{
        line-height: 30px;
        height: 30px;
        margin-top: 10px;
    }

    .blog-search.expanded .searchfield {
        width: 100%;
    }

    .blog-search.expanded .buttons{
        display: none;
    }

    .blog-search.expanded .searchfield i {
        margin-top: 18px;
    }

    .blog-search.expanded input {
        width: 100%;
        float: right;
    }

    .blog-search.expanded .buttons {
        transform: translateX(-100%);
        height: 0;
    }
    .sidebar-container .searchfield{
        display: none;
    }
}

.blog-search input:before {
    font-family: "FontAwesome";
    content: "\f002";
    display: block;
    width: 20px;
    height: 20px;
}

.searchfield {
    position: relative;
}

.blog-search .searchfield {
    float: right;
}

.searchfield i {
    color: #c3c3c3;
    position: absolute;
    right: 0;
    right: 20px;
    margin-top: -32px;
}

/* posts-list */

.list-post {
    width: 49.25%;
    margin-right: 1.5%;
    margin-bottom: 20px;
    overflow: hidden;
    text-align: center;
    display: inline-block;
    position: relative;
    float: left;
}

.list-post * {
    box-sizing: border-box;
}

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

    .list-post {
        width: 100%;
        max-width: 660px;
        margin: 0 auto 20px;
        float: none;
        display: block;
    }

    .blog-posts .list-post:nth-child(2n) {
        margin-right: auto !important;
    }

}

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

}

.list-post:nth-child(2n) {
    margin-right: 0;
}

.list-post:after {
    padding-top: calc(100% *2 / 3);
    display: block;
    content: '';
    background-color: black;
    opacity: 0.4;
    z-index: 200;
}

.list-post.author:after{
    opacity: 1;
    background-color: white;
    color: black;
}

.list-post-content {
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    position: absolute;
    color: white;
}

.list-post.author img{
    height: auto;
    width: 50%;
    float: left;
}

.author .bio{
    float: left;
    width: 50%;
    height: 100%;
    display: table;
    color: black;
    text-align: left;
}

.author .bio h2 {
    color: #f30c16;
    padding-left: 0;
}

.author .bio:before{
    content: url('../images/3gon.png');
    position: absolute;
    margin-left: -13px;
    top: calc(50% - 18px);
}

.author .bio .bio-inner{
    display: table-cell;
    vertical-align: middle;
    padding-left: 20px;
    padding-right: 20px;
}

.list-post img {
    display: block;
    height: 100%;
    width: auto;
}

.list-post .overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 150;
    display: table-cell;
    vertical-align: middle;
}

.list-post .overlay a{
    color: #ffffff;
}

.list-post .overlay h2{
    text-transform: none;
    font-size: 32px;
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
}

.list-post .overlay > div {
    position: absolute;
    width: 100%;
    padding: 0 5%;
}

.list-post .overlay > div p{
    font-weight: 400;
}

.list-post .overlay > div p span{
    font-weight: 300;
    padding: 0 10px;
}

.list-post .overlay p {
    margin-bottom: 0;
}

.list-post .hoveroverlay {
    z-index: 300;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0);
    -webkit-transition: background-color 0.35s;
    -moz-transition: background-color 0.35s;
    -o-transition: background-color 0.35s;
    -ms-transition: background-color 0.35s;
    transition: background-color 0.35s;
}

@media screen and (max-width: 800px) {
    .list-post .hoveroverlay {
        display: none;
    }
}

.list-post:hover .hoveroverlay {
    background-color: rgba(33, 33, 33, 0.5);
}

.list-post .hoveroverlay .left {
    background-color: #2D2D2D;
    float: left;
    height: 100%;
    width: 50%;
    display: table;
    vertical-align: middle;
    -webkit-transition: transform 0.35s;
    -moz-transition: transform 0.35s;
    -o-transition: transform 0.35s;
    -ms-transition: transform 0.35s;
    transition: transform 0.35s;
    transform: translate3d(-100%, 0, 0);
    -webkit-transition-delay: 0.1s;
}

.list-post .hoveroverlay .left > div {
    display: table-cell;
    height: 100%;
    vertical-align: middle;
}

.list-post .hoveroverlay .left p {
    margin-top: 0;
    padding: 0 5%;
    line-height: 1.7;
}

@media screen and (max-width: 1200px) {
    .list-post .hoveroverlay .left p {
        font-size: 2vw!important;
        line-height: 2.5vw!important;
        margin-bottom: 1vw!important;
    }
    .list-post .hoveroverlay .left span{
        font-size: 2.5vw!important;
        line-height: 2.5vw!important;
    }
}

.list-post .hoveroverlay .left span {
    text-transform: uppercase;
    font-weight: 400;
    font-size: 22px;
    font-family: "Bariol", sans-serif;
    letter-spacing: 1px;
}

.list-post .hoveroverlay p{
    font-family: 'Bariol', sans-serif;
    font-size: 18px;
}

.list-post .hoveroverlay .left p,
.list-post .hoveroverlay .left a {
    opacity: 0;
    color: #ffffff;
    font-size: 18px;
    -webkit-transition: opacity 0.35s;
    -moz-transition: opacity 0.35s;
    -o-transition: opacity 0.35s;
    -ms-transition: opacity 0.35s;
    transition: opacity 0.35s;
    -webkit-transition-delay: 0.1s;
    -moz-transition-delay: 0.1s;
    -o-transition-delay: 0.1s;
    -ms-transition-delay: 0.1s;
    transition-delay: 0.1s;
}

.list-post:hover .hoveroverlay .left {
    transform: translate3d(0, 0, 0);
    -webkit-transition: transform 0.35s;
}

.list-post:hover .hoveroverlay .left p,
.list-post:hover .hoveroverlay .left a {
    opacity: 1;
}

.list-post h2 {
    color: #ffffff;
}

.loadmore {
    text-align: center;
    padding: 75px 0 75px
}

.loadmore button {
    width: 200px;
    padding: 16px 0 16px;
    font-size: 20px;
}

/* related posts,
extends .list-post */

.related-posts {
    max-width: 1160px;
    /*padding: 0 20px 0 60px;*/
    margin: 0 auto;
}

.related {
    width: 60.7%;
    padding-bottom: 40px;
}

.yarpp-related-none{
    display: none;
}

@media screen and (max-width: 800px) {
    .loadmore{
        padding: 30px 0;
    }

    .related {
        width: 100%;
    }

    .related-posts {
        max-width: 1160px;
        /*padding: 0 40px;*/
        margin: 0 auto;
    }

    .related .list-post {
        float: left;
        display: block;
    }

    .related .list-post {
        width: 28%;
        margin-right: 8%;
    }

    .related .list-post:nth-child(2n) {
        margin-right: 8%;
    }

    .related .list-post:nth-child(4n) {
        margin-right: 0;
    }
}

@media screen and (max-width: 580px) {
    .related .list-post {
        width: 46% !important;
        margin-right: 6%;
    }

    .related .list-post:nth-child(3n) {
        margin-right: 0% !important;
    }


    .related .list-post:last-child {
        display: none;
    }
}

.related .list-post {
    width: 28%;
    margin-right: 8%;
}

.related .list-post:nth-child(2n) {
    margin-right: 8%;
}

.related .list-post:nth-child(4n) {
    margin-right: 0;
}

.related .list-post .hoveroverlay {
    background-color: transparent;
}

.related .list-post .hoveroverlay .left {
    width: calc(100% + 1px);
    background-color: rgba(222, 14, 23, 0.9);
}

.related .list-post:after {
    background-color: transparent;
    padding-top: calc(100% + 1px);
}

.related .overlay, .related .hoveroverlay, .related .list-post-content {
    overflow: hidden;
}

.related .list-post-content{
    background-color: #a2a2a2;
}

.related > a {
    display: block;
    font-size: 24px;
    text-transform: uppercase;
    overflow: visible;
}

.related .related-post-name {
    position: absolute;
    background-color: white;
    margin-top: 100%;
    font-size: 14px;
    z-index: 300;
    text-transform: none;
    padding: 10px;
    color: #898989;
    text-align: left;
    width: 100%;
}

/* pre footer */

.pre-foot-content {
    max-width: 1120px;
    padding: 0 20px;
    margin: 0 auto;
}

.post-lower + #pre-foot .pre-foot-content, .archive + #pre-foot .pre-foot-content{
    padding: 0 20px 0 60px;
    max-width: 1080px;
}

.anything img {
    width: 50%;
}

@media screen and (max-width: 800px) {
    .post-lower + #pre-foot .pre-foot-content, .archive + #pre-foot .pre-foot-content {
        padding: 0 40px;
    }
}

@media screen and (max-width: 580px) {
    .post-lower + #pre-foot .pre-foot-content, .archive + #pre-foot .pre-foot-content {
        padding: 0 20px;
    }
}
.pre-foot-content * {
    box-sizing: border-box;
}

#pre-foot {
    padding: 40px 0;
    background: url('../images/bg-light.png');
}

.popular, .anything {
    float: right;
    width: 48%;
}

.popular h2, .popular ul {
    margin: 0;
}

.popular ul li{
    padding: 13px 0!important;
}

.anything {
    margin-right: 4%;
    
}

@media screen and (max-width: 800px) {
    .popular, .anything {
        float: none;
        width: 100%;
        margin: 0 auto 40px;
    }
    .post-lower + #pre-foot .pre-foot-content{
        padding: 0 40px;
    }
    .archive .post-lower + #pre-foot .pre-foot-content{
        padding: 0 10px;
    }
}

@media screen and (max-width: 580px) {
    .popular, .anything {
        width: 100%;
    }
    .post-lower + #pre-foot .pre-foot-content{
        padding: 0 20px;
    }
}

.anything img {
    width: 50%;
}

.popular {
    background-color: #ffffff;
    padding: 19px 20px;
}

.popular h2 {
    font-weight: 600;
    font-size: 48px;
    padding: 0;
}

.tptn_posts_daily > h3 {
    display: none;
}

.p-item, .popular ul li {
    position: relative;
    padding: 13px 0 16px;
    -webkit-box-shadow: 0px 36px 0px -34px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 36px 0px -34px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 22px 0px -21px rgba(0, 0, 0, 0.1);
}

.p-item:last-child, .popular ul li:last-child {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.p-item:before {
    width: 400px;
    height: 1px;
    border: 1px solid black;
    display: block;
}

.p-item .tptn_title, .tptn_link {
    color: #494949 !important;
}

.tptn_list_count {
    display: none;
}

.popular ul {
    list-style: none;
    padding: 0;
}

.popular ul li {
    display: block;
}

.p-item .p-date, .popular .tptn_date {
    display: block;
    color: #b6b6b6;
    font-size: 12px;
    line-height: 0.8;
}

/* single */

.post-upper * {
    box-sizing: border-box;
}

.post-upper {
    background-color: #fff;
    padding-top: 140px;
}
@media screen and (max-width: 580px) {
	.post-upper {
		padding-top: 100px;
	}
}

.rel-posts,
.post-upper-container,
.post-upper #wp-subscribe.wp-subscribe,
#comments {
    max-width: 702px;
    padding: 0;
    margin: 0 auto;
}

@media screen and (max-width: 482px) {
	.rel-posts,
	.post-upper-container,
	.post-upper #wp-subscribe.wp-subscribe,
	#comments {
		width: auto !important;
		padding: 0 !important;
		margin: 0 16px;
	}
}
.post-author {
    display: table;
    margin-left: 20px;
    margin-bottom: 16px;
}

.post-author > img {
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    margin-right: 12px;
}


.post-container > img {
    width: 100%;
}


.post-content dl{
    max-width: 100%;
}

.post-content h2{
    padding-left: 0;
    font-size: 24px;
    margin: 24px 0;
}

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

    .post-upper-container {
        padding: 0 40px;
    }

    section:not(.archive) .post-container {
        background: transparent;
    }

    .post-container {
        width: 100%;
    }
}

@media screen and (max-width: 580px) {
    section:not(.archive) .post-content {
        padding: 0;
    }
    .post-upper-container{
        padding: 0 20px;
    }
}

.post-container > h1 {
    font-size: 40px;
    font-weight: 400;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    color: #494949;
    padding: 0 20px;
    line-height: 1.4;
    text-transform: none;
    margin: 10px 0;
}

.post-container img {
    max-width: 100%;
    height: auto;
}

.post-content img{
    max-width: 100% !important;
    height: auto !important;
}

.post-content > p:first-child > a > img, .post-content > p:first-child > img{
    display: none;
}

/* page */

.page-container {
    width: 100%;
}

.page-upper .post-upper-container {
    padding: 0 20px;
}

/* sidebar-right */

.sidebar-container {
    float: right;
    width: 36%;
}

@media screen and (max-width: 800px) {
    .sidebar-container {
        width: 100%;
        margin-top: 20px;
    }

    .page-container {
        background: #f2f2f2;
    }

}

.sidebar-container .searchfield input {
    width: 100%;
    -webkit-border-radius: 0;
}

.newsletter, .wp-subscribe {
    background-image: url('../images/pricing-bg.jpg')!important;
    padding: 30px 30px;
    color: #ffffff;
    text-align: center;
    /*margin-top: 20px;*/
}



.newsletter h3 , .wp-subscribe h4.title{
    text-transform: uppercase;
    font-family: 'DIN Next', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1;
}

.newsletter h3 span, .wp-subscribe h4 span{
    font-size: 40px;
    font-weight: 400!important;
    margin-top: 0!important;
    line-height: 1.5;
}

.newsletter p , .wp-subscribe p.text{
    font-size: 15px;
    color: #faf9f9;
}

.newsletter .small {
    font-size: 12px;
}

.newsletter form, .wp-subscribe form{
    max-width: 260px;
    margin: 0 auto;
    padding-top: 38px;
}

.newsletter input, .newsletter button, .wp-subscribe input{
    width: 100%;
    -webkit-border-radius: 0!important;
}

.newsletter button {
    height: 50px;
    font-size: 20px;
    margin-top: 14px;
}

.input-blog-dark, .wp-subscribe input[type="text"]{
     background-color: #4e4c4d!important;
     color: #bcbcbc!important;
    outline: none;
    text-align: left!important;
    font-family: 'DIN Next', sans-serif!important;
    padding-left: 20px!important;
    font-size: 16px;
    font-weight: 100;
 }

.wp-subscribe input[name="submit"]{
    color: white!important;
    background: #f30c16!important;
    font-size: 20px!important;
}

.wp-subscribe input[name="submit"]{
    content: url('../images/cta-button-arrow-white.svg?1') !important;
    display: block;
    width: 16px;
    height: 14px ;
}

.wp-subscribe>p{
    display: none;
}

/* latest tweets */

.latest-tweets{
    background-color: #ffffff;
    padding: 20px 0;
    margin-top: 40px;
}

.latest-tweets:first-child{
    margin-top: 0;
}

@media screen and (max-width: 800px) {
    .latest-tweets{
        display: none;
    }
}

.latest-tweets ul{
    list-style: none;
    padding: 0 40px;
}

.latest-tweets ul li{
    display: block;
    text-align: center;
}

.latest-tweets ul li a{
    color: #55ACEE;
}

.latest-tweets p{
    margin: 10px 0;
    line-height: 1;
}

.latest-tweets ul li:after{
    display: block;
    width: 1px;
    background: #e3e3e3;
    height: 18px;
    margin: 0 auto;
    content: ' ';
}

.latest-tweets ul li:last-child:after{
    display: none;
}

.lt-head{
    text-align: center;
}

.lt-head h3{
    text-transform: uppercase;
    font-size: 24px;
    margin-top: 0;
}

.lt-logo{
    width: 30px;
    height: auto;
    margin: 0 auto;
}


/* sidebar-social */

.social-sidebar, #socialButtonOnPage, .a2a_kit {
    width: 60px;
    position: absolute;
    top: 0;
    left: -60px;
}

.a2a_kit {
    text-align: right;
    padding: 10px;
}

.a2a_count {
    background-color: #f30c16 !important;
    color: white !important;
    height: 15px !important;
    width: 15px !important;
    font-size: 10px !important;
    border: none !important;
    line-height: 15px !important;
    margin-top: -15px !important;
    margin-left: 23px !important;
    border-radius: 50%!important;
    position: absolute!important;
}

.a2a_count:after, .a2a_count:before {
    display: none !important;
}

.a2a_kit > a > span {
    margin-bottom: 5px !important;
}

.sharethis-arrow {
    display: none;
}

.a2a_kit.addtoany_list.a2a_target img{
    display: none;
}

.a2a_kit > a{
    display: block;
    width: 40px;
    height: 40px;
    background-color: #f8f8f8;
    border-radius: 50%;
    margin-bottom: 10px;
    line-height: 40px;
    text-align: center;
    font-size: 16px;
    font-family: "FontAwesome";
    padding-left: 2px;
}

.a2a_button_facebook:before{
    content: '';
    color: #3b5998;
}

.a2a_button_twitter:before{
    content: "";
    color: #55ACEE;
}

.a2a_button_google_plus:before{
    content: "";
    color: #d34836;
}

@media screen and (max-width: 800px) {
    .social-sidebar, #socialButtonOnPage, .a2a_kit {
        position: relative;
        left: 0;
        display: block;
        width: auto;
        text-align: right;
    }
    .a2a_kit a{
        float: left;
        margin-right: 20px;
    }

    .a2a_kit:before{
        content: 'Share: ';
        float: left;
        line-height: 40px;
        padding-right: 20px;
    }

    #socialButtonOnPage .sbutton-post {
        float: left;
    }
}

/* post-lower */

.post-lower {
    background-color: #f2f2f2;
}

.post-lower-container * {
    box-sizing: border-box;
}

.post-lower-container {
    max-width: 1160px;
    padding: 0 20px 60px 60px;
    margin: 0 auto;
    box-sizing: border-box;
}



@media screen and (max-width: 800px) {
    .post-lower-container {
        padding: 0 40px;
    }
}
@media screen and (max-width: 580px) {
    .post-lower-container {
        padding: 0 20px;
    }
}

/* comments */

.comments > h2 {
    margin: 0;
    padding: 12px 0 20px;
    font-size: 32px;
}


.comment.toggl-team{
    background-color: #f8f8f8;
    padding: 10px 20px;
    margin-bottom: 10px;
}

.comment.toggl-team .comment-author{
    padding-left: 20px;
}

.comment.toggl-team .comment-author:before{
    content: url('../images/share-img/favicon-16x16.png');
    padding-right: 5px;
    position: absolute;
    margin-top: 3px;
    margin-left: -20px;
}

.comment .comment-author {
    font-weight: 600;
    margin-bottom: 0;
}

.comment .comment-author span {
    font-size: 12px;
    font-weight: 400;
    color: #898989;
    padding-left: 15px;
}

.comments-inner {
    background-color: white;
    padding: 30px;
    width: 61%;
}

.comments-inner > div.reply:only-child h3{
    margin-top: 0;
    line-height: 1;
}

#commentform .cta-button{
    -webkit-appearance: none;
}

#commentform input, #commentform textarea, #searchform input{
    -webkit-border-radius: 0!important;
}

@media screen and (max-width: 800px) {
    .comments-inner {
        width: 100%;
    }
}

.comment {
    border-bottom: 1px solid #f2f2f2;
}

/* comment form */

.wp-social-login-provider-list > a{
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #f8f8f8;
    border-radius: 50%;
    text-align: center;
    font-family: "FontAwesome";
    padding-left: 2px;
    line-height: 0;
    font-size: 0;
    color: transparent;
}

.wp-social-login-provider-list{
    padding: 0!important;
}

.wp-social-login-provider-list > a:before{
    line-height: 40px;
    font-size: 16px;
}

.wp-social-login-provider-facebook:before{
    content: '';
    color: #3b5998;
}
.wp-social-login-provider-google:before{
    content: "";
    color: #d34836;
}

.wp-social-login-widget .wp-social-login-provider-list a {
    margin-left: 10px;
}

.wp-social-login-widget .wp-social-login-connect-with, .wp-social-login-provider-list {
    float: left;
    padding: 0;
    line-height: 79px;
}

#reply-title {
    font-size: 32px;
    text-align: center;
    color: #f30c16;
    text-transform: uppercase;
}

#respond {
    width: 61%;
    margin: 0 auto;
    min-width: 400px;
}

@media screen and (max-width: 580px) {
    #respond {
        min-width: 0;
        width: 90%;
    }

    #respond .cta-button {
        width: 100%;
    }
}

#respond input:not([type="submit"]), #respond textarea {
    width: 100%;
    padding: 10px;
    font-family: 'DIN Next', sans-serif;
    font-size: 16px;
    background-color: #f8f8f8;
    border: none;
}

#respond .cta-button {
    background-color: #ffffff;
}

#respond .cta-button:hover {
    background-color: #f30c16;
}

#respond .form-submit {
    text-align: center;
}

/* archive */

.archive-table{
    width: 100%;
}

.archive .post-content{
    padding: 0;
}

.archive-table a {
    color: black;
    font-weight: 600;
}

.archive-table td:first-child {
    padding: 0 10px 0 20px;
}

.subh {
    font-size: 24px;
    color: #f30c16;
    line-height: 3;
}

@media screen and (max-width: 800px) {
    .archive-table tr:not(.subh) {
        display: none;
    }
    .archive-table tr:not(.subh).expanded{
        display: block;
    }
    .archive .subh td{
        border-bottom: 1px solid #f2f2f2;
        cursor: pointer;
    }
    .archive .subh td:after{
        content: url('../images/ic-down.png');
        float: right;
        margin-right: 15px;
        transition: transform 0.2s;
        -ms-transform: rotate(180deg);
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }
    .archive .subh.expanded td:after{
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}

@media screen and (max-width: 580px) {
    .archive-table tr:not(.subh).expanded td{
        display: block;
        padding: 0 10px 0 20px;
    }

    .archive-table tr.subh + tr{
        margin-top: 10px;
    }

    .archive-table tr:not(.subh).expanded td:first-child{
        font-size: 14px;
        line-height: 1;
    }
    .archive-table tr:not(.subh).expanded td:last-child{
        margin-bottom: 10px;
    }
}

/* logos */

.single-logo {
    max-width: 262px;
    float: left;
    margin-right: 20px;
    width: calc(33.333333% - 20px);
    margin-bottom: 20px;
}

@media screen and (max-width: 800px) {
    .single-logo {
        max-width: 542px;
        margin: 0 auto 20px;
        float: none;
        width: 100%;
    }

    .logo-upper {
        width: 48%;
        float: left;
    }

    .logo-lower {
        width: 48%;
        float: right;
    }

    .single-logo .logo-lower ul {
        float: none;
        padding-left: 0;
        margin-top: 10px;
    }

    .single-logo .logo-lower ul li {
        float: left;
        width: 35px;
        clear: both;
        background: white;
        margin-bottom: 3px;
    }

    .single-logo .logo-name {
        float: none;
    }
}

@media screen and (max-width: 580px) {
    .single-logo {
        max-width: 260px;
        margin-bottom: 20px;
    }

    .logo-lower, .logo-upper {
        width: 100%;
        text-align: center;
    }

    .logo-lower ul {
        margin: 0 auto;
        width: auto;
        text-align: center;
        word-spacing: 7px;
    }

    .logo-lower ul li {
        display: inline-block;
        float: none !important;
        clear: none !important;
    }

    .logo-lower ul li a {
        padding: 0 15px;
    }
}

.single-logo img {
    width: auto;
    max-height: 100px;
}

.logo-upper {
    border: 1px solid #f2f2f2;
    text-align: center;
    line-height: 0;
}

.logo-name {
    float: left;
}

.logo-lower {
    padding-top: 7px;
    font-size: 14px;
}

.logo-lower ul {
    float: right;
    margin: 0;
}

.logo-lower ul li {
    display: inline-block;
    background-color: #f4f4f4;
}

.logo-lower ul li a {
    color: black;
    font-size: 11px;
    padding: 0 5px;
}

/* swipers */

.swiper-container {
    width: calc(66% - 46px);
    height: auto;
    float: left;
    margin-left: 46px;
    margin-bottom: 20px;
}

.swiper-slide > img{
    width: 100%;
    height: auto;
}

.thumbs{
    width: calc(34% - 46px);
    float: right;
    margin-right: 46px;
    padding: 0 20px;
}

.swiper-pagination{
    display: none;
}

.swiper-pagination-bullet{
    background-color: white;
    opacity: 0.5;
    width: 12px;
    height: 12px;
}

.swiper-pagination-bullet-active{
    background-color: #4dd965;
    opacity: 1;
}

@media screen and (max-width: 800px) {
    .swiper-container {
        width: calc(100% - 92px);
    }
    .thumbs{
        display: none;
    }
    .swiper-pagination{
        display: block;
    }
}

@media screen and (max-width: 580px) {
    .swiper-container {
        width: 100%;
        margin-left: 0;
    }
}

.swiper-thumb{
    width: 45%;
    float: left;
    margin-right: 10%;
    background: black;
    margin-bottom: 20px;
    cursor: pointer;
}

.swiper-thumb > img{
    opacity:0.7;
    background-color: black;
    display: block;
}

.swiper-thumb:nth-child(2n){
    margin-right: 0;
}

.swiper-thumb.active > img{
    opacity: 1;
}

/* nav mobile fix */
@media screen and (max-width: 800px) {
    body:not(.nav-visible) .main-nav {
        display: none;
    }
    body.nav-visible .list-post .overlay {
        opacity: 0;
    }
}
body:not(.nav-visible) .list-post .overlay{
    transition: opacity 0.3s;
}

/* landscape ipad fix */

@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape) {
    .hoveroverlay, .left, .left > div{
        display: none!important;
    }
}


#comments .commentlist {
	width: auto;
	background: transparent;
	padding: 0;
}
.size-large {
	width: 100%;
	height: auto;
}
.size-medium {
	display: block;
	width: 1024px;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}
.post-upper-container h1,
.post-upper-container h2,
.post-upper-container h3 {
	font-family: 'Roboto', sans-serif;
	font-size: 55px;
	font-weight: bold;
	font-style: normal;
	text-align: center;
	color: #000000;
	text-transform: none;
	line-height: 1.2;
	margin: 0 0 0.5em;
}
.post-content h1,
.post-upper-container h2 {
	font-size: 32px;
	text-align: left;
	margin-top: 56px;
	font-weight: normal;
}
.post-upper-container h3 {
	margin-top: 48px;
	font-size: 26px;
	text-align: left;
	font-weight: normal;
}
@media screen and (max-width: 482px) {
	.post-upper-container h1 {
		font-size: 32px;
	}
	.post-content h1,
	.post-upper-container h2 {
		font-size: 22px;
	}
	.post-upper-container h3 {
		font-size: 18px;
	}
}

.author-img{
	width: 48px;
	height: 48px;
    background-size: cover;
    border-radius: 50%;
    margin: 0 auto 10px;
}
.post-author {
	margin: 0 0 3.5em;
	text-align: center;
}
.post-author, .post-author * {
	font-family: 'Roboto', sans-serif;
	font-size: 14px !important;
	font-style: italic;
	line-height: 1.43;
	color: #000000;
}

.post-content {
	font-family: 'PT Serif', serif;
	font-size: 19px;
	line-height: 1.68421;
	color: #000000;
}
.post-content p {
	margin-top: 0px;
}

@media screen and (max-width: 482px) {
	.post-author, .post-author * {
		font-size: 12px !important;
	}
	.post-author time {
		display: inline !important;
	}
	.post-content {
		font-size: 15px;
		line-height: 1.73333;
	}
}


#crestashareicon {
    margin-left: -100px;
    padding-top: 20px;
    visibility: hidden;
}
#crestashareicon:before {
    content: 'Share';
	font-family: 'Roboto', sans-serif;
	font-size: 12px;
	text-transform: uppercase;
	position: absolute;
	top: 0;
	left: 0;
	color: #33425b;
}
#crestashareicon.cresta-share-icon i.c-icon-cresta-gplus, 
#crestashareicon.cresta-share-icon i.c-icon-cresta-facebook, 
#crestashareicon.cresta-share-icon i.c-icon-cresta-twitter, 
#crestashareicon.cresta-share-icon i.c-icon-cresta-linkedin {
    color: #33425b !important;
    opacity: 0.85;
}
#crestashareicon.cresta-share-icon i.c-icon-cresta-facebook:before, 
#crestashareicon.cresta-share-icon i.c-icon-cresta-twitter:before, 
#crestashareicon.cresta-share-icon i.c-icon-cresta-linkedin:before {
   font-size: 20px;
}
#crestashareicon.cresta-share-icon i.c-icon-cresta-gplus:before {
   font-size: 26px;
}
#crestashareicon.cresta-share-icon.second_style i, 
#crestashareicon.cresta-share-icon .sbutton.crestaShadow a i::after {
    background-color: #fff !important;
}
@media screen and (max-width: 960px) {
}

#crestashareicon.cresta-share-icon.second_style .cresta-the-count {
    top: -4px !important;
    left: 26px !important;
    background: #33425b !important;
    opacity: 0.6;
    display: none;
}

@media screen and (max-width: 960px) {
	body #crestashareicon.cresta-share-icon {
		padding-top: 0px;
		display: block !important;
		position: fixed  !important;
		top: auto  !important;
		bottom: 0px  !important;
		left: 0px  !important;
		height: 48px  !important;
		width: 100%  !important;
		margin: 0px  !important;
		background: #e8e8e8;
		float: none;
		height: 40px  !important;
	}
	#crestashareicon:before {
		position: static;
		display: inline-block;
		vertical-align: top;
		line-height: 40px;
		padding-left: 16px;
	}
	body #crestashareicon.cresta-share-icon div {
		bottom: 0px !important;
		top: 0px !important;
		display: inline-block !important;
		position: relative !important;
		float: none !important;
		margin: 0 !important;
	}
	body #crestashareicon.cresta-share-icon div#googleplus-cresta a i.c-icon-cresta-gplus {
		position: relative;
		top: -3px;
	}
	body #crestashareicon.cresta-share-icon div#linkedin-cresta a i.c-icon-cresta-linkedin {
		position: relative;
		top: -1px;
	}
	#crestashareicon.cresta-share-icon.second_style i, 
	#crestashareicon.cresta-share-icon .sbutton.crestaShadow a i::after {
		background-color: transparent !important;
	}
	#crestashareicon.cresta-share-icon.second_style .cresta-the-count {
		top: 10px !important;
		background: transparent !important; 
		color: #33425b;
		font-size: 12px !important; 
	}
}

.take-control {
	display: block;
	width: 1024px;
	max-width: 100%;
	margin: 4em auto 3em;
}
@media screen and (max-width: 482px) {
	.take-control {
		display: none;
	}
}

.take-control img {
	width: 100%;
}

.hr,
.hr:before,
.hr:after {
	position: relative;
	width: 4px;
	height: 4px;
	background-color: #c8c9ca;
	margin: 56px auto;
	border-radius: 2px;
}
.hr:before,
.hr:after {
	content: '';
	position: absolute;
	top: 0px;
	left: -16px;
	margin: 0;
}
.hr:after {
	left: 16px;
}
.hr.t36 {
	margin-top: 20px;
}
/*
hr {
	border : 0;
	height : 12px;
	background : url(../images/hr.png) 50% 0 no-repeat;
	margin : 48px 0;
}
@media screen and (max-width: 482px) {
	hr {
		margin : 1em 0;
	}
}
*/
.rel-posts h3 {
	font-family: 'Roboto', sans-serif;
	font-size: 21px;
	font-weight: normal;
	line-height: 1.52;
	text-align: center;
	color: #000000;
	margin-top: 0px;
}
.rel-posts .zem_rp_content {
    width: 100%;
}
.rel-posts ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.rel-posts ul li {
    width: 330px;
    float: left;
}
@media screen and (max-width: 767px) {
	.rel-posts ul li {
		width: 48%;
	}
}
@media screen and (max-width: 482px) {
	.rel-posts ul li {
		width: auto;
		float: none;
	}
}

.rel-posts ul li .zem_rp_thumbnail {
	display: block;
    width: 330px;
    height: 220px;
    overflow: hidden;
}
.rel-posts ul li img {
    min-width: 330px;
    min-height: 220px;
}
.rel-posts ul li:nth-child(even) {
    float: right;
}
.rel-posts ul li:nth-child(odd) {
    clear: both;
}
.zem_rp_footer {
	clear: both;
}
.rel-posts ul.related_post li a.zem_rp_title {
	font-family: 'Roboto', sans-serif;
	font-size: 16px !important;
	line-height: 2;
	text-align: center;
	color: #000000 !important;
	display: block;
	margin: 1em 0 2em;
	font-weight: normal;
}
@media screen and (max-width: 482px) {
	.rel-posts ul.related_post li a.zem_rp_title {
		margin: 0.5em 0 1em;
	}
}

.post-upper #wp-subscribe.wp-subscribe {
	background: transparent !important;
	margin-bottom: 104px;
}
.post-upper #wp-subscribe.wp-subscribe h4.title {
    text-transform: none;
	font-family: 'PT Serif', serif;
	font-size: 36px;
	text-align: center;
	color: #000000;
	line-height: 1.5;
	font-weight: normal;
	margin: 0;
}
@media screen and (max-width: 482px) {
	.post-upper #wp-subscribe.wp-subscribe h4.title {
		font-size: 24px;
	}
}

.post-upper #wp-subscribe.wp-subscribe form {
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden;
}
.post-upper #wp-subscribe.wp-subscribe input.email-field,
.post-upper #wp-subscribe.wp-subscribe input.email {
	font-family: 'Roboto', sans-serif;
    color: #000 !important;
    background: #fff  !important;
    border: solid 1px #33425b;
    border-right: 0;
    float: left;
    width: 50%;
    box-sizing: border-box;
    font-size: 19px;
    padding-left: 5px;
    height: 62px !important;
}
.epm-message {
    color: #000;
    margin-top: -28px;
}
.epm-form-field {
    float: left;
    width: 50%;
}
.epm-form-field label {
    display: none;
}
.post-upper #wp-subscribe.wp-subscribe input.email {
    width: 100%;
}

.post-upper #wp-subscribe.wp-subscribe input.submit,
.post-upper #wp-subscribe.wp-subscribe input.epm-submit-chimp {
	font-family: 'Roboto', sans-serif;
    margin-top: 0px;
    float: left;
    width: 50%;
    cursor: pointer;
    box-sizing: border-box;
    font-size: 19px;
    height: 62px !important;
}
.post-upper #wp-subscribe.wp-subscribe input.epm-submit-chimp {
	color: white!important;
    background: #f30c16!important;
    font-size: 20px!important;
	display: block;
	text-transform: uppercase;
    font-weight: 500;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
    border: none;
    text-align: center;
    padding: 10px 0;
    margin: 0;
}
textarea, input { outline: none; }
@media screen and (max-width: 482px) {
	.post-upper #wp-subscribe.wp-subscribe input.email-field {
		border: solid 1px #33425b;
		border-bottom: 0;
		float: none;
		width: 100%;
	}
	.post-upper #wp-subscribe.wp-subscribe input.submit {
		margin-top: 0px;
		float: none;
		width: 100%;
	}
}

#comments {
	padding: 54px 0 104px;
	font-family: 'PT Serif', serif;
}
@media screen and (max-width: 482px) {
	#comments {
		padding: 25px 0 64px !important;
	}
}

#comments h3 {
	font-family: 'Roboto', sans-serif;
	font-size: 21px;
	line-height: 1.52;
	text-align: center;
	color: #000000;
	text-transform: none;
	font-weight: normal;
}
#comments #respond {
    background: transparent !important;
    width: 100% !important;
}
#comments  #commentform.comment-form {
    width: 100% !important;
}
.wp-social-login-widget {
	text-align: center;
}
.wp-social-login-connect-with {
	display: none;
}
.wp-social-login-provider-list {
	float: none;
	line-height: 55px;
}
#comments .wp-social-login-provider-list > a {
	margin: 0 4px;
	padding-right: 16px;
    display: inline-block;
    width: auto;
    background-color: #3b5998;
    border-radius: 0;
    text-align: center;
    line-height: 1;
	font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: white;
    white-space: nowrap;
    position: relative;
}
#comments .wp-social-login-provider-list > a.wp-social-login-provider-google {
    background-color: #e3323a;
}
#comments .wp-social-login-provider-list > a:before {
	content: "Log in with";
	color: white;
	padding-left: 35px;
	display: inline-block;
}
#comments .wp-social-login-provider-list > a:after {
	content: '\e803';
	font-family: 'csscfont' !important;
    font-style: normal !important;
    font-weight: normal !important;
    speak: none !important;
    display: inline-block !important;
    text-decoration: inherit !important;
    text-align: center !important;
    line-height: 1em !important;
    position: absolute;
    left: 16px;
    top: 12px;
}
#comments .wp-social-login-provider-list > a.wp-social-login-provider-google:after {
    content: '\e801';
    font-size: 24px;
    top: 8px;
    left: 12px;
}
#comments .comment-form p.comment-form-comment {
	margin-bottom: 0;
}
#comments .form-submit {
	margin-top: 0px;
    background: white;
    text-align: left;
    padding: 8px 16px 24px;
	-webkit-border-bottom-left-radius: 2px;
	-webkit-border-bottom-right-radius: 2px;
	-moz-border-radius-bottomleft: 2px;
	-moz-border-radius-bottomright: 2px;
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;	
}

#comments #respond input {
	font-family: 'PT Serif', serif;
	font-size: 18px;
	line-height: 1.78;
	color: #000000;
	line-height: 80px;
	border-radius: 2px;
	background-color: #ffffff;
	padding:  0 16px;
	margin: 0;
	display: block;
}
#comments #respond textarea {
	font-family: 'PT Serif', serif;
	font-size: 18px;
	height: 96px;
	color: #000000;
	-webkit-border-top-left-radius: 2px;
	-webkit-border-top-right-radius: 2px;
	-moz-border-radius-topleft: 2px;
	-moz-border-radius-topright: 2px;
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;	
	background-color: #ffffff;
	padding:  16px;
	margin: 0;
	display: block;
}
#comments #respond .form-submit input {
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: normal;
	font-style: normal;
	font-stretch: normal;
	text-align: center;
	color: #f30c16;
	height: 42px;
	white-space: nowrap;
	line-height: 42px;
	border-radius: 29px !important;
	background-color: #ffffff;
	padding: 0 30px;
	border: solid 1px #f30c16;
	text-transform: capitalize;
	width: auto;
}

#comments article.comment {
    border-bottom: 0;
	border-radius: 2px;
	background-color: #ffffff;
	padding: 20px 16px 10px;
}
#comments li.comment {
    margin-bottom: 24px;
}
#comments .comment-content {
    border-bottom: 0;
}
#comments #comment-author-admin, #comments .bypostauthor, #comments .byadmin {
    background-color: transparent !important;
    padding: 10px 0 10px 24px !important;
}
#comments article.comment header {
	font-family: 'Roboto', sans-serif;
	line-height: 1.3;
}
#comments article.comment header time {
	font-size: 14px;
	color: #000000;
	opacity: 0.5;
}
#comments .bypostauthor header {
    margin-left: 0px;
}

#comments b {
    font-weight: normal;
}

blockquote,
blockquote * {
	font-size: 32px;
	font-weight: normal;
	font-style: normal;
	font-stretch: normal;
	line-height: 1.5;
	text-align: center;
	color: #666;
}
.tweet-box p:before,
blockquote:before {
	content: '“';
	color: #666;
}
.tweet-box p:after,
blockquote:after {
	content: '”';
	color: #666;
}
.tweet-box p,
blockquote p {
	display: inline;
}


@media only screen and (max-width: 580px) {
	.post-lower .post-lower-container, .rel-post {
		padding: 0 !important;
	}
}

.comment .avatar, .grav-hashed.grav-hijack, .form-allowed-tags, .comment-form-comment > label, .comment-author span {
    display: inline-block !important;
}
.comment-author .author-img {
	float: left;
	margin: -5px 12px 0 0;
	
}
.comment-author cite {
	margin-right: 15px;
}

.post-upper>img.size-large {
	margin-bottom: 29px;
}
.page .post-content .tweet-box {
	border: 0 !important;
	padding: 0 !important;
	margin: 56px 0 48px !important;
	box-shadow: none !important;
	background: transparent !important;
	display: block !important;
	text-align: center !important;
}
.page .post-content .tweet-box,
.page .post-content .tweet-box * {
	font-family: 'PT Serif', serif !important;
	font-size: 32px !important;
	font-weight: normal !important;
	font-style: normal !important;
	font-stretch: normal !important;
	line-height: 1.5 !important;
	text-align: center !important;
	color: #33425b !important;
}
.page .post-content .tweet-box p {
	display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}
.page .post-content .tweet-box:hover p {
    background-color: transparent !important;
    color: inherit !important;
    text-decoration: none !important;
}
.tweet-box a,
.tweet-box a:hover,
.tweet-box *:hover,
.tweet-box:hover * {
	text-decoration: none !important;
	border: 0 !important;
}
.tweet-box .click-to-tweet {
	background: transparent !important;
	display: block !important;
	margin: 0 !important;
	border: 0 !important;
	padding: 0 !important;
	float: none !important;
    opacity: 1 !important;
    width: auto !important;
}
.tweet-box .click-to-tweet * {
    display: none !important;
}
.tweet-box .click-to-tweet:before {
    display: block !important;
    color: #33425b !important;
    content: '\e808' !important;
    font-family: 'csscfont' !important;
    font-style: normal !important;
    font-weight: normal !important;
    speak: none !important;
    display: inline-block !important;
    text-decoration: inherit !important;
    text-align: center !important;
    line-height: 1em !important;
    position: static !important;
    left: auto !important;
    bottom: auto  !important;
    border: 0 !important;
}
