/*
 Theme Name:   Recipes For Our Daily Bread
 Theme URI:    http://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Thomas Usborne
 Author URI:   http://edge22.com
 Template:     generatepress
 Version:      0.1
 Tags: two-columns, three-columns, one-column, right-sidebar, left-sidebar, fluid-layout, responsive-layout, custom-header, custom-background, custom-menu, custom-colors, sticky-post, threaded-comments, translation-ready, featured-images, theme-options, light, white, dark, black, blue, brown, gray, green, orange, pink, purple, red, silver, tan, yellow
*/

/* MEGA MENU */
nav .main-nav .mega-menu {
	position: static;
}
nav .main-nav .mega-menu > ul {
	position: absolute;
	width: 100%;
}
nav .main-nav .mega-menu > ul > li > a {
	font-weight: bold;
}
nav .main-nav .mega-menu>ul>li {
	display: inline-block;
	width: 33.3333%;
	vertical-align: top;
}
nav .main-nav .mega-menu.mega-menu-col-2>ul>li {
	width: 50%;
}
nav .main-nav .mega-menu.mega-menu-col-3>ul>li {
	width: 33.3333%;
}
nav .main-nav .mega-menu.mega-menu-col-5>ul>li {
	width: 20%;
}
nav .main-nav .mega-menu > ul > li > a:hover,
nav .main-nav .mega-menu > ul > li > a:focus,
nav .main-nav .mega-menu > ul > li[class*="current-"] > a,
nav .main-nav .mega-menu ul ul {
	background-color: transparent !important;
}
nav .main-nav .mega-menu ul .sub-menu {
	position: static;
	display: block !important;
	opacity: 1 !important;
	width: 100%;
	box-shadow: 0 0 0;
}
nav .main-nav .mega-menu .sub-menu .menu-item-has-children .dropdown-menu-toggle {
	display: none;
}
.main-navigation .main-nav ul ul li.mega-menu-title a {
    color: #ffffff;
    cursor: default;
}
.main-navigation .main-nav ul ul ul.sub-menu li a {
    color: #333333;
    text-transform: none;
}
.main-navigation .main-nav ul ul ul.sub-menu li a:hover {
    color: #ffffff;
}
.main-navigation .main-nav ul li a:hover {
    cursor: pointer;
}
.main-navigation .main-nav ul li ul li a {
    text-transform: none;
}
@media (max-width: 768px) {
	nav .mega-menu>ul>li {
		display: block;
		width: 100% !important;
	}
        nav .main-nav .mega-menu > ul {
                position: relative;
        }
}
@media (min-width: 768px) {
	.main-navigation .main-nav ul ul {
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	padding: 6px 0;
	background-color:rgba(77, 172, 233, 0.93)
	}
}
/* END MEGA MENU */

/* START CONVERT KIT */
  .header_ck_form .ck_form_container {
       background-color: #00aeef;
       max-width: 1100px;
       margin: 20px auto 0px auto;
       padding: 30px 0;
  }
  #convertkit-headline {
    float: left;	
	margin-right: 1%;
	color: #fff;
	}
  #ck_subscribe_form {
        clear: none !important;
  }
  .ck_form.ck_naked {
  /* divider image */
	background: transparent;
	line-height: 1.5em;
	overflow: hidden;
	color: #666;
	font-size: 16px;
	border: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	clear: both;
	margin: 0px auto;
	text-align: center;
	max-width: 940px;
	padding: 0 20px;
}
.ck_form.ck_naked p {
	padding: 0px;
}
.ck_form, .ck_form * {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.ck_form.ck_naked .ck_form_fields {
	width: 100%;
	/*float: left;*/
	padding: 0%;
}
/* Form fields */
.ck_errorArea {
	display: none; /* temporary */
}
#ck_success_msg {
	padding: 10px 10px 0px;
	border: solid 1px #ddd;
	background: #eee;
}
.ck_form.ck_naked input[type="text"], .ck_form.ck_naked input[type="email"] {
	font-size: 14px;
	padding: 3px 8px;
	width: 170px;
	border: 1px solid #d6d6d6; /* stroke */
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	border-radius: 0px; /* border radius */
	background-color: #fff; /* layer fill content */
	margin-bottom: 5px;
	height: auto;
	float: left;
	margin: 0px;
	margin-right: 1%;
	height: 24px;
}
.ck_form input[type="text"]:focus, .ck_form input[type="email"]:focus {
	outline: none;
	border-color: #aaa;
}
.ck_form.ck_naked .ck_subscribe_button {
    width: 100%;
    color: #fff;
    margin: 0px;
    padding:  0px;
    font-size: 14px;
	font-weight: bold;
    background: #cb2027;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius: 0px; /* border radius */
    cursor: pointer;
    border: none;
    text-shadow: none;
    width: 170px;
    float: left;
    height: 24px;
	line-height: 14px;
  }
.ck_converted_content {
  display: none;
	padding: 5%;
	background: #fff;
}
/* max width 500 */
	.ck_form.ck_naked.width500 .ck_subscribe_button {
		width: 100%;
		float: none;
		margin-top: 5px;
	}
	.header_ck_form .ck_form.ck_vertical {
	    background: #00aeef !important;
	}
	.ck_form.ck_naked.width500 input[type="text"], .ck_form.ck_naked.width500 input[type="email"] {
		width: 49%;
	}
	.ck_form.ck_naked.width500 input[type="email"] {
		margin-right: 0px;
		width: 50%;
	}
/* max width 400 */
	.ck_form.ck_naked.width400 .ck_subscribe_button, .ck_form.ck_naked.width400 input[type="text"], .ck_form.ck_naked.width400 input[type="email"] {
		width: 100%;
		float: none;
		margin-top: 5px;
	}
.ck_slide_up, .ck_modal, .ck_slide_up .ck_naked, .ck_modal .ck_naked  {
	min-width: 400px;
}
/*.page .ck_form.ck_naked {
	margin: 50px auto;
	max-width: 700px;
}*/
/* v6 */
.ck_slide_up.ck_form_v6, .ck_modal.ck_form_v6, .ck_slide_up.ck_form_v6 .ck_naked, .ck_modal.ck_form_v6 .ck_naked {
  min-width: 0 !important;
}
.ck_form_v6 #ck_success_msg {
	padding: 0px 10px;
}
@media all and (max-width: 403px) {
  .ck_form_v6.ck_modal .ck_naked {
    padding-top: 30px;
  }
}
@media all and (max-width: 499px) {
  .ck_form_v6.ck_modal .ck_naked + .ck_close_link {
    color: #fff;
    top: 10px;
  }
}
.ck_form_v6.ck_slide_up .ck_naked + .ck_close_link {
  right: 10px;
  top: -5px;
}
@media all and (min-width: 600px) {
  .ck_form_v6.ck_slide_up .ck_naked + .ck_close_link {
    right: 35px;
  }
}
/* END CONVERT KIT */

h3 {
    color: #000000;
}
.top-bar-align-right {
    text-align: center;
}
.header-widget a.social-icon {
    background: #00aeef;
    -moz-border-radius: 70px; 
    -webkit-border-radius: 70px; 
    border-radius: 70px;
    color: #ffffff;
    height: 30px;
    width: 30px;
    display: inline-block;
    text-align: center;
    font-size: 17px;
}
.header-widget a.social-icon i {
    display: block;
    padding-top: 6px;
}
.site-logo {
    float: left;
}
.main-navigation .main-nav ul li:last-child a {
    padding-right: 0px;
}
.widget-title {
    margin-bottom: 10px;
}
h2.entry-title {
    text-transform: uppercase;
}
.category h1.page-title::before {
    content: "Category: ";
}
.sidebar .widget .widget-title {
    background-image: url(/wp-content/uploads/2015/08/recipes-for-our-daily-bread-logo-white-100x100.png);
    background-color: #00aeef;
    background-position: left 10px center;
    background-repeat: no-repeat;
    background-size: 32px;
    border-bottom: 5px solid #1177a6;
    color: #fff;
    font-weight: 700;
    line-height: 50px;
    padding: 20px 0 20px 50px;
    clear: left;
    font-size: 13px;
    line-height: 15px;
    text-transform: uppercase;
    padding-right: 10px;
}
.cat-button-left {
    float: left;
    width: 45%;
    margin: 0 0 10px 0;
    padding: 5px;
    color: #ffffff;
    background: #1177a6;
    text-align: center;
    text-transform: uppercase;
    font-size: 14px;
}
.cat-button-right {
    float: right;
    width: 45%;
    margin: 0 0 10px 0;
    padding: 5px;
    color: #ffffff;
    background: #1177a6;
    text-align: center;
    text-transform: uppercase; 
    font-size: 14px;
}
a.cat-button-right:visited, a.cat-button-left:visited {
    color:#ffffff;
}
.entry-header h2, .entry-summary p {
    text-align: center;
}
a.read-more {
    display: block;
    width: 150px;
    margin: 10px auto 0 auto;
    padding: 5px 10px;
    color: #ffffff;
    background: #1177a6;
    text-align: center;
    text-transform: uppercase; 
}
a.cat-button-left:hover, a.cat-button-right:hover, a.read-more:hover {
    color: #0fc;
}
.ck_description h2 {
    font-size: 16px;
}
section#blog {
    padding: 20px 20px 10px 20px;
    background-image: url(images/sayagata-400px.png);
    border-top: 1px solid #dedede;
    border-bottom: 1px solid #dedede;
}
.carousel-container {
    margin: 0 auto;
    max-width: 1100px;
}
.owl-carousel .owl-stage {
    margin-bottom: 20px;
}
.owl-item .item-overlay a h4.post-title {
    font-size: 18px;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    text-align: center;
    background-color: rgba(255,255,255,.7);
    z-index: 1000;
    margin: 0;
    -webkit-transition: opacity .3s ease-in-out;
    -moz-transition: opacity .3s ease-in-out;
    -ms-transition: opacity .3s ease-in-out;
    -o-transition: opacity .3s ease-in-out;
    transition: opacity .3s ease-in-out;
    opacity: 0;
    filter: alpha(opacity=0);
    overflow: auto;
}
.owl-item .item-overlay a:hover h4.post-title {
    opacity:1.0;
    filter:alpha(opacity=100);
}
.owl-item .item-overlay a h4.post-title{
    color: #5e5d5e;
    text-transform: uppercase;
    font-size: 20px;
    line-height: 1.1;
}
.owl-item .item-overlay a h4.post-title span {
    position:relative;
    padding: 15px;
    top:50%;
    display:block;
    height:auto;
    -webkit-transform:translateY(-50%);
    -ms-transform:translateY(-50%);
    transform:translateY(-50%);
}
.owl-prev {
    font-family: "FontAwesome";
    position: absolute;
    left: -25px;
    top: 50%;
    margin-top: -30px;
    font-size: 24px;
    color: #aeaeae;
}
.owl-next {
    font-family: "FontAwesome";
    position: absolute;
    right: -25px;
    top: 50%;
    margin-top: -30px;
    font-size: 24px;
    color: #aeaeae;
}
.owl-carousel .owl-dots {
    text-align:center;
}
.owl-carousel .owl-dot {
    background-color: #999999;
    height: 15px;
    width: 15px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    display: inline-block;
    margin: 0 5px;
}
.owl-carousel .owl-dot.active {
    background-color: #1177a6;
}
.page-numbers, .page-numbers:visited {
    padding: 4px 8px;
    color: #555555;
}
.page-numbers.current {
    border: 1px solid #444444;
    background: #888888;
    color: #ffffff;
}
.page-numbers.dots {
    border: 1px solid #eeeeee;
}
#home_feature_container {
    max-width: 1100px;
    margin: 0 auto 30px auto;
}
#home_feature_row {
    max-width: 750px;
    background: #ffffff;
}
.home .entry-summary, .category .entry-summary, p.post-ad-disclaimer {
    font-size: 14px;
}
.home-category-grid {
    padding: 0;
    margin: 0;
    list-style: none;
    -ms-box-orient: horizontal;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -moz-flex;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;  
}
ul.home-category-grid li {
    background: #ffffff;
    padding: 15px;
    color: white;
    font-weight: bold;
    font-size: 2em;
    text-align: center;
    flex: 1;
}
#home_feature_container p {
    margin-bottom: 0px;
}
#home_feature_container p a {
    padding: 15px 15px 0 15px;
    display: block;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 16px;
    color: #3a3a3a;
}
#home_feature_container h4.post-title {
    padding: 0px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 16px;    
}
.footer-widgets .widget, .sidebar .widget {
    overflow: auto;
    font-size: 14px;
}
.footer-widgets h4 {
    color: #ffffff;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.55em;
}
.footer-widgets h4.widget-title {
    background-image: url(/wp-content/uploads/2015/08/recipes-for-our-daily-bread-logo-white-100x100.png);
    background-position: left 10px center;
    background-repeat: no-repeat;
    background-size: 42px;   
    line-height: 50px;
    margin: 0 0 10px 0;
    padding: 0 0 0 60px;    
}



@media (max-width: 768px) {
	.home-category-grid {
	 	display: inline;
	}
}