/*
Theme Name:     Gridlove Child
Theme URI:      http://mekshq.com
Description:    Child theme for Gridlove theme
Author:         meks
Author URI:     http://mekshq.com
Template:       gridlove
Version:        0.1.0
*/


/**header font weight**/
h1, h2, h3, h4, h5 {
	font-weight:700 !important;
}

/** Menu changes to make things fit better**/

.gridlove-main-nav li>a{
 padding: 0 10px;
}


.gridlove-txt-logo .site-title{
    font-size:48px !important;
}



/**Changes to layout**/

#breadcrumbs{
    /* text-align: center; */
    font-family: 'Amatic SC';
    font-size: 20px;
    padding-left: 50px;
}

p {
    margin: 0 0 12px;
}

.entry-overlay-wrapper .entry-image:after, .gridlove-post-d .entry-image a:after {
    background: rgba(0,0,0,0);
}

.overlay-vh-center {
  
    top: 10%;
    left: 10%;
    -webkit-transform: translate(-10%,-10%);
    -ms-transform: translate(-10%,-10%);
    transform: translate(-10%,-10%);
    
}

/** homepage newsletter signup -HBN **/
#mlb2-1142260.ml-form-embedContainer {
    
    box-shadow: 2px 2px 5px;
    margin-top: 30px !important;
    margin-bottom: 30px !important;
    border-radius: 20px;
    background: url("https://worldoftravelswithkids.com/wp-content/uploads/2019/08/newsletter-img-2.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 300px !important;
    
}

#mlb2-1142260.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody {
    padding: 50px 20px 0 20px !important;

}

/**Homepage removed category for simple post display - HBN**/
.home .gridlove-post-a .entry-category {
    display: none;
}

.gridlove-post-a .entry-image:hover {
    position: relative;
    transform: scale(1.05);
    transition: transform .5s ease;/* Animation */
}

/**Post Overlay opacity - HBN**/
.gridlove-cover-overlay-soft-dark .gridlove-cover-2 .gridlove-hidden-overlay {
    background: rgba(0,0,0,0);
}

/**Overlay shadow width - HBN**/
.gridlove-cover-overlay-soft-dark .gridlove-cover-1 .gridlove-cover-bg .gridlove-cover:after {
    width: 15%;
}

.gridlove-cover-overlay-soft-dark .gridlove-cover-1 .gridlove-cover-bg .gridlove-cover:before {
    width: 15%;
}

/**Post cover image no hover - HBN**/
.gridlove-cover-overlay-soft-dark .gridlove-cover-2:hover .gridlove-hidden-overlay {
    background: rgba(0,0,0,0) !important; 
}

.gridlove-header-responsive+.gridlove-cover-area {
    margin-top: 0px;
}

.gridlove-site-header {
    margin-bottom: 0px;
}

/**centering module headers - HBN**/
.module-title h2, .module-title .h2 {
    margin: 0 auto;
    text-transform: uppercase;
}

/** more module header spacing - HBN**/
.module-header {
    margin-bottom: 35px;
    margin-top: 10px;
}

.category .module-header {
    margin-bottom: 35px;
    margin-top: 50px;
}

/**feathers left and right of module headers - HBN**/
.module-title h2:before {
    content: "";
    display: block;
    background: url("https://worldoftravelswithkids.com/wp-content/uploads/2019/08/feather-left-30x80-8.png") no-repeat;
    width: 80px;
    height: 30px;
    float: left;
    margin-right: 10px;
}

.module-title h2:after {
    content: "";
    display: block;
    background: url("https://worldoftravelswithkids.com/wp-content/uploads/2019/08/feather-right-30x80-8.png") no-repeat;
    width: 80px;
    height: 30px;
    float: right;
    margin-left: 10px;
}

.category .module-title h1:before {
    content: "";
    display: block;
    background: url("https://worldoftravelswithkids.com/wp-content/uploads/2019/08/feather-left-30x80-8.png") no-repeat;
    width: 80px;
    height: 30px;
    float: left;
    margin-right: 10px;
}

.category .module-title h1:after {
    content: "";
    display: block;
    background: url("https://worldoftravelswithkids.com/wp-content/uploads/2019/08/feather-right-30x80-8.png") no-repeat;
    width: 80px;
    height: 30px;
    float: right;
    margin-left: 10px;
}


/**Nav sub-menu to open to right -HBN**/
.gridlove-site-header .gridlove-main-nav li .sub-menu .gridlove-rev {
    left: 100%;
    right: auto;
}

/** Highlight widgets centered text **/
.gridlove-highlight {
    text-align: center;
}

/**Home page layouts**/
span.homepageText {
    width: 58%;
    display: inline-block;
    vertical-align: middle;
    padding-right: 1%;
    padding-left: 1%;
}

img.homepageImg {
    width: 20%;
}

#mlb2-1142260.ml-form-embedContainer .ml-form-embedWrapper.embedForm {
    max-width: 100%;
}

.homepage-banner{
    font-size: 76px;
    line-height: 1.6;
    margin-bottom: 0px
}

@media (max-width: 579px)
{
.gridlove-header-responsive .gridlove-txt-logo .site-title.h1 {
    font-size: 22px!important;
}

#breadcrumbs{
   
    padding-left: 20px;
}
/**remove feathers left and right of module headers - HBN**/
.module-title h2:before {
    content: "";
    display: none;
    background: none;
    width: 0px;
    height: 0px;
    float: right;
    margin-left: 0px;
}

.module-title h2:after {
    content: "";
    display: none;
    background: none;
    width: 0px;
    height: 0px;
    float: right;
    margin-left: 0px;
}

}

@media (max-width: 1023px)
{
span.homepageText {
    width: 100%;
   
}

img.homepageImg {
    width: 100%;
}

.homepage-banner{
    font-size: 56px;
    text-align:center;
}

}