/* 
Theme Name: Candy Picture
Theme URI: https://candythemes.com/themes/picture/
Version: 2.0
Description: A Free Divi child theme.
Author: Candy Themes
Author URI: https://candythemes.com
Template: Divi
*/


/* Add more spacing to .welcome p tag */

.welcome p {margin-bottom:3%;}

/* Add short lines */

hr.short-line {
    border: 0;
    height: 2px;
    background-color: #999;
    width: 50px;
	margin-top: 25px;
	}

/* Add hover filter to images */

#work img {
    opacity: 0.9;
    filter: alpha(opacity=40); /* For IE8 and earlier */
}

#work img:hover {
    opacity: 1.0;
    filter: alpha(opacity=100); /* For IE8 and earlier */
} 

/* Add a border to comment form */

#commentform textarea, #commentform input[type="text"], #commentform input[type="email"], #commentform input[type="url"] {
    background-color: #fff;
    border: 1px #111 solid;
}

/* Remove sidebar divider bar  */	

#main-content .container:before {width: 0;}
.container::before { display:none; } .et_pb_widget_area_right { border-left:0; }

/* Style Blog Post */	
	
.et_pb_image_container, .et_pb_blog_grid .et_main_video_container, .et_pb_blog_grid .et_audio_content, .et_pb_blog_grid .et_pb_post .et_pb_slider {
    margin: 0 !important;
}

.et_pb_blog_grid .et_pb_post {
    background-color: #fff;
    border: none !important;
    padding: 0;
}

.et_pb_blog_grid .et_pb_post  a img{
   margin-bottom: 8%;
}

/* Blog Small Featured Images */
 
.et_pb_post  a img {
    max-width: 35% !important;
    float: left !important;
    padding-right: 4% !important;}

.et_pb_post  a img { margin-bottom: 35px;}
.et_pb_post  .entry-title { text-transform: uppercase; font-size:13px;}

#page-container .et_pb_post  {
	clear: both !important;
	float: none !important;
	margin: 0 !important;
}
 
@media only screen and (max-width: 980px) {
.et_pb_post   a img{
float:none !important;
max-width: 100%!important;}}


/* Swap Logo on Scroll */
 
#logo-dark { display: none !important; }
.et-fixed-header #logo { display:none !important; }
.et-fixed-header #logo-dark { display:inline !important; vertical-align:middle; max-height: 51%; }

/* Sidebar Widget Titles */
 
.sidebarstyle .widgettitle {
    background: #fff!important;
    color: #111;
    font-size: 14px;
    text-transform: uppercase;
    height: 33px;
    line-height: 33px;
    padding: 0 10px;
    width: 100%;
    border: 1px #111 solid;
    margin-bottom: 14px;
	}
 
/* sidebar search bar */

.sidebarstyle .widget_search #searchsubmit { background-color: #111 !important; border:1px #111 solid !important; }
.sidebarstyle .widget_search input#searchsubmit { color: #fff !important; }
.sidebarstyle .widget_search input#s {border: 1px solid #111 !important; }

.et_right_sidebar #sidebar { padding-left: 0; }

/* Some people seems to have trouble loading the 100vh slider on the homepage */

.homeslider.et_pb_slider .et_pb_slide {
    height: 100vh !important;
}
/* Smartphones (landscape)  */
@media only screen
and (min-width : 321px) {
.et_pb_fullwidth_slider_0 .et_pb_slide_description {
    padding-top: 20% !important;
}
}

/* Set some WooCommerce styles  */

.woocommerce-page #main-content .container { 
	padding-top:5vh !important; 
}  

.woocommerce-page #sidebar { 
	display: none !important; 
} 

ul.products li.product .price, .woocommerce-Price-amount {
	font-size: 1em !important;
}

ul.products li.product h3 {
       text-transform: uppercase  !important; 
}

ul.products li.product .onsale, .woocommerce-page span.onsale {
	background-color: #111 !important;
	font-size:13px;
}

ul.products li.product .et_overlay {
    background-color: rgba(255, 255, 255, 0) !important;
    border-color: rgba(255, 255, 255, 0) !important;
}

.home-product .woocommerce-tabs, .home-product .related, .home-product .thumbnails { 
	display: none !important; 
}

.product .related .products h2 {
    padding-bottom: 16px;
    font-size: 1em !important;
}

.woocommerce ul.product_list_widget li img {
    box-shadow: none;
    float: right;
    height: auto;
    margin-left: 4px;
    width: 60px !important;
}


.woocommerce nav.woocommerce-pagination ul li a:focus, .woocommerce nav.woocommerce-pagination ul li a:hover, .woocommerce nav.woocommerce-pagination ul li span.current {
    background: #111 none repeat scroll 0 0;
    color: #fff;
}

.orderby, .woocommerce div.product form.cart .variations td select {
	border: 1px solid #eee;
	background:none;
	border-radius:0;
}

.orderby option, .woocommerce div.product form.cart .variations td select option {
   padding: 5px;
}

.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content {
    background-color: #111;
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
    background-color: #999;
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
    background-color: #999;
}

.single-product .product .single_add_to_cart_button.button{
	line-height:37px !important;
}

.products  li{text-align:center;}

.star-rating {display:none !important;}

/* Style Opening Hours Widget */

.op-overview-table  th.op-overview-title, 
 .op-holidays-table tr.op-holiday th , .op-special-openings-table td.op-special-opening-name  {padding: 10px !important;}

.op-overview-set, .op-special-opening-time { white-space: nowrap !important;}

.op-overview-row  { border-bottom: 1px solid #eee !important;}

/* Edit Footer - Customize > Footer > Layout */
	
.hidden { display: none !important;}

#footer-bottom { padding: 10vh 0; }

.footer-bottom {text-align:center;}

/* Back To Top */

.et_pb_scroll_top.et-pb-icon { background: rgba(0, 0, 0, 0.9) none repeat scroll 0 0!important; }

/*Contact Button*/
body #page-container .et_pb_contact_form_0.et_pb_contact_form_container.et_pb_module button.et_pb_button, 
body #page-container .et_pb_contact_form_0.et_pb_contact_form_container.et_pb_module button.et_pb_button:hover{
	padding: 15px 30px !important;
}
