/*
Theme Name: Gridlove
Theme URI: http://mekshq.com/theme/gridlove
Text Domain: gridlove
Author: meks
Author URI: http://mekshq.com
Description: WordPress blog magazine theme with grid inspired design.
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Helpers */
.entry-category a,
.gridlove-action-link,
.gridlove-pill,
.small{
    font-size: 11px;
}
.truncate{
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.center{
    text-align: center;
}
.shadow{
    box-shadow: 0 3px 5px 0 rgba(0,1,1,.1);
}
.box{
    padding: 20px;
    position: relative;
}
.grey_bg{
    background-color: #e6e6e6;
}
.pink_bg{
    background-color: #f50057;
}
.purple_bg{
    background-color: #4d1f4f;
}
.white_text,
.entry-content .mks_button{
    color: #FFFFFF;
}
.pink_text{
    color: #f50057;
}

/* Content */
main .module-header{
    margin-top: 6px;
}
.module-desc{
    font-size: 18px;
    margin-top: 10px;
    max-width: 75%;
}
    /* Single Posts */
.entry-content h2 a,
.entry-content h3 a,
.entry-content h4 a,
.productform h2 a{
    border-bottom: 1px solid;
}
.entry-content ul a, .entry-content ol a{
    border-bottom: 1px solid;
    border-color: rgba(237,109,132,0.8);
    color: #ed6d84;
    transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}
.entry-content ul a:hover, .entry-content ol a:hover{
    border-bottom: 0px solid transparent;
}
    /* Curated Posts */
.curated .mks_button,
.entry-content .mks_button{
    background-color: rgba(231,26,72,0.8);
}
.postReferences{
    font-size: 10pt;
    padding-bottom: 12px;
}
.postReferences p{
    margin: 0 0 12px;
}

/* Category */
.module-desc{
    max-width: 80%;
}

/* LEAD FORMS */
.contentform .gridlove-box,
.productform .gridlove-box{
    height: auto !important;
    /* box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12); */
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.4), 0 2px 10px 0 rgba(0, 0, 0, .25);
}
iframe{
    border: 0;
}
iframe:not(.embed-responsive-item){
    width: 100%;
}
.contentform iframe[src^="https://go.pardot.com"]{
    min-height: 330px;
}
.productform iframe[src^="https://go.pardot.com"]{
    min-height: 442px;
}
.contentform h2,
.productform h2{
    margin-left: auto;
    margin-right: auto;
    max-width: 85%;
}
.contentform p,
.productform p{
    margin: 0;
}
.grey_text,
.contentform p,
.productform p{
    color: #8e939a;
}
.contentform h2 a:hover,
.productform h2 a:hover{
    border-color: transparent;
}
.contentform img,
.productform img{
    max-height: 225px;
    margin-top: 12px;
}

/* Cover -  hide author & override to full width (and opacity)  */
.gridlove-cover-content .entry-meta{
    display: none;
    visibility: hidden;
    height: 0;
}
.gridlove-hidden-overlay,
.gridlove-menu-posts article:hover .entry-image>a:after, .gridlove-post-a .entry-image:hover>a:after, .gridlove-post-b .entry-image:hover a:after, .gridlove-posts-widget article:hover .entry-image>a:after,
.gridlove-post-d:hover .entry-image a:after{
    background: rgba(244, 98, 182, 0.2);
}
.widget img:hover,
.gridlove-ad img:hover{
    opacity: 0.85;
}
.gridlove-cover,
.gridlove-cover-area .gridlove-cover-bg img{
    width: 100% !important;
}
.gridlove-cover-1 .gridlove-cover-bg .gridlove-cover:before,
.gridlove-cover-bg .gridlove-cover:before{
    width: 0%;  /* 70 */
}
.gridlove-cover-1 .gridlove-cover-bg .gridlove-cover:after,
.gridlove-cover-bg .gridlove-cover:after{
    width: 0%; /* 40 */
}
.gridlove-hidden-overlay{
    opacity: 0.2;
}
.gridlove-cover-content .entry-header{
    background: rgba(1,1,1,0.7);
    padding: 20px;
}
.Blog-iframe {
width:63%;
margin:0 auto;

}
/* Footer */
footer .gridlove_category_widget .widget-title{
    padding: 0 !important;
}
footer .gridlove_category_widget .gridlove-count-color{
    padding: 10px 0 0 10px;
}
footer .gridlove_category_widget .gridlove-count-color li a{
    text-transform: uppercase;
}
footer label{
    padding-top: 10px;
}
footer label span{
    padding-left: 10px;
    cursor: pointer;
}
footer label input{
    display: inline-block;
    float: left;
    height: 22px;
}
footer.gridlove-footer a{
    color: #f9b218;
    border-color: #df9b26;
}

/* Adverts */
footer #mks_ads_widget-4 .widget-title{
    font-size: 20px !important;
    margin: 0 0 20px !important;
}

/* Error */
.error404 #content{
    background: url(/wp-content/images/2017/06/404-not-found.jpg) no-repeat;
    background-size: contain;
}

/* Email subscribers */
#es_msg{
    color: green !important;
}
input.es_submit_button,.newbtn{
    background-color: rgba(231,26,72,0.8);
    border: none;
    border-radius: 2px;
    color: #FFF;
    display: inline-block;
    text-decoration: none;
    position: relative;
    margin: 0 10px 10px 0;
    text-decoration: none;
    font-size: 12px;
    padding: 14px 20px;
    text-transform: uppercase;
    text-align: center;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2);
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    width: auto;
}
input.es_submit_button:hover,
.newbtn:hover{
    -webkit-box-shadow: 0 5px 10px 0 rgba(0,0,0,.3), inset 0 0 230px rgba(0,0,0,.1);
    box-shadow: 0 5px 10px 0 rgba(0,0,0,.3), inset 0 0 230px rgba(0,0,0,.1);
}
input.es_submit_button:focus,
.newbtn:focus{
    -webkit-box-shadow: 0 3px 5px 0 rgba(0,0,0,.1), inset 0 0 230px rgba(0,0,0,.5);
    box-shadow: 0 3px 5px 0 rgba(0,0,0,.1), inset 0 0 230px rgba(0,0,0,.5);
}

@media (min-width: 1600px){
    /* Wider page */
    .container, .gridlove-cover-content:not(.gridlove-not-found){
        max-width: 1430px !important;
    } /*  from 1230; or can edit template and use container-fluid */
    .gridlove-cover-content{
        width: inherit;
    }
    .gridlove-content{
        max-width: 970px !important;
    }
    /* account for progressive field */
    .contentform iframe[src^="https://go.pardot.com"]{
        min-height: 325px;
        height: 325px !important;
    }
}
@media (max-width: 696px){
    .productform iframe[src^="https://go.pardot.com"]{
        min-height: 673px;
        height: 673px !important;
    }
}
@media (max-width: 1500px){
    .contentform iframe[src^="https://go.pardot.com"]{
        min-height: 556px; /* 631px */
        height: 556px !important;
    }
}

/* Logo */
@media only screen and (min-width: 200px) and (max-width: 670px){
    .gridlove-site-branding img{
        max-height: 50px;
    }
}
@media only screen and (min-width: 769px) and (max-width: 1023px){
    .gridlove-site-branding img{
        max-height: 70px;
    }
}
@media (min-width: 1024px) and (max-width: 1250px){
    .gridlove-site-branding img{
        max-width: 157px;
    }
    .gridlove-main-navigation{
        font-size: 14px;
    }
}
@media (min-width: 1251px){
    .gridlove-site-branding img{
        max-height: 100px;
        max-width: 316px;
    }
}
@media (min-width: 697px) and (max-width: 1500px){
    .box-inner-p {
    padding: 30px 15px;
    }
}