/*
Theme Name: Candy Photography
Theme URI: https://candythemes.com/themes/photography/
Version: 1.0
Description: A Divi child theme.
Author: Candy Themes
Author URI: https://candythemes.com
Template: Divi
*/

/*- Candy Photography Divi child theme styles -*/


/*------------------------------------------------*/
/*--------------------[HEADER]-------------------*/
/*------------------------------------------------*/

.header-cart {
    background-color:#222222;
    border-radius: 4px;
    color: #fff;
    display: inline-block;
    padding: 20px;
    position: absolute;
    right: 0;
    text-decoration: none;
    top: 25px;
    transition: all 0.2s ease 0s;
}

.header-cart .fa{
    margin-right:10px;
}

/*------------------------------------------------*/
/*------------[CAROUSEL HOVER]-----------*/
/*------------------------------------------------*/

.et_pb_carousel_group .et_overlay {
    background: rgba(0, 0, 0, 0.6) none repeat scroll 0 0;
}

/*------------------------------------------------*/
/*-----------------[SLIDER STYLE]-----------------*/
/*------------------------------------------------*/

.et_pb_slide_description h2 {
	padding: 15px 15px 25px 15px;
}

.et_pb_slide_content {
	padding: 15px 15px 25px 15px;
}


/*------------------------------------------------*/
/*------[Shadow Diagonal Lines - Quiroz.co]-------*/
/*------------------------------------------------*/
 
    #et-main-area { overflow: hidden;} /* Hides all the items that float over the right margin */
 
    .diagonal-shadow-black::before,
    .diagonal-shadow-black::after {
        position: absolute;
        content: '';
        pointer-events: none;}
 
    .diagonal-shadow-black {
        z-index: 1;
        padding-top: 6em;
        background: #000;}
 
    .diagonal-shadow-black::before, 
        .diagonal-shadow-black::after {
        top: 0;
        left: -25%;
        z-index: -1;
        width: 150%;
        height: 75%;
        background: inherit;
        -webkit-transform: rotate(-2deg);
        transform: rotate(-2deg);
        -webkit-transform-origin: 0 0;
        transform-origin: 0 0;}
 
    .diagonal-shadow-black::before {
        height: 50%;
        background: #000;
        -webkit-transform: rotate(-3deg);
        transform: rotate(-3deg);
        -webkit-transform-origin: 3% 0;
        transform-origin: 3% 0;}

/*------------------------------------------------*/
/*---------------[EDD STYLES]---------------*/
/*------------------------------------------------*/

.edd_download_excerpt {margin-bottom:15px;}

.downloads-about #edd_download_pagination {
display: none;
}

.edd_download {margin-bottom:25px;}

@media only screen and (min-width: 420px) and (max-width: 719px) { .edd_downloads_list .edd_download { width: 50% !important; } } @media only screen and (min-width: 320px) and (max-width: 420px) { .edd_downloads_list .edd_download { width: 100% !important; } } 


/*------------------------------------------------*/
/*----------[PROJECT CATEGORY OVERLAY]------------*/
/*------------------------------------------------*/

.view {
    width: 100%;
    height: 100%;
    margin: 0;
    float: left;
    border: 0;
    overflow: hidden;
    position: relative;
    text-align: center;
    cursor: default;
    background-color: #000;
}
.view .mask, .view .content {
    width: 100%;
    height: 98.1%;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0
}
.view img {
    display: block;
    position: relative;

}
.view h2 {
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    position: relative;
    font-size: 35px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.8);
    margin: 20px 0 0 0
}
.view p {
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 12px;
    position: relative;
    color: #fff;
    padding: 10px 20px 20px;
    text-align: center
}

.view-sixth img { 
	transition: all 0.4s ease-in-out 0.5s; 
}
.view-sixth .mask{ 
	background-color: rgba(40,32,30,0.5);
	opacity:1;
	transition: all 0.3s ease-in 0.4s;
}
.view-sixth h2{
	opacity:0;
 
    background: transparent;
    margin: 25% 40px 0px 40px;
    transform: scale(10);
    transition: all 0.3s ease-in-out 0.1s;
}
.view-sixth p { 
	opacity:1;
    transform: scale(10);
	transition: all 0.3s ease-in-out 0.2s;
}


.view-sixth:hover .mask {  
	opacity:1; 
	transition-delay: 0s;
}																			 
.view-sixth:hover img { 
	transition-delay: 0s; 
}
.view-sixth:hover h2 { 
	opacity: 1;
    transform: scale(1);
	transition-delay: 0.1s;
}
.view-sixth:hover p { 
	opacity:1; 
    transform: scale(1);
	transition-delay: 0.2s;
}

@media screen and (max-width:900px)
{
.view h2 {

    font-size: 35px;
    padding: 10px;
   
    margin: 20px 0 0 0
}
.view p {
 
    font-size: 12px;
   
    padding: 10px 20px 20px;
 
}

}

@media screen and (max-width:479px)
{
.view h2 {

    font-size: 25px;
    padding: 10px;
   
    margin: 10px 0 0 0
}
.view p {
 
    font-size: 12px;
   
    padding: 10px 20px 20px;
 
}

}


/*------------------------------------------------*/
/*-----------------[BASIC STYLES]------------------*/
/*------------------------------------------------*/

.hidden { display: none !important; }
.sitemap-pages li a{color:#111 !important;}

/*------------------------------------------------*/
/*-------------[BLOG SMALL IMAGES]----------------*/
/*------------------------------------------------*/
/*feature thumbnails alongside post titles on blog page*/
 
   .blog_small_image .et_pb_posts .et_pb_post a img {
            max-width: 400px!important;
            float: left !important;
            padding-right: 20px !important;
			margin-bottom: 50px !important;}
 
    @media only screen and (max-width: 980px) {
        .blog_small_image .et_pb_posts .et_pb_post a img{
            float:none !important;
            max-width: 100%!important;}}

	.blog_small_image  .et_pb_posts .et_pb_post { margin-bottom: 50px;}
	
	.blog_small_image_no_sidebar .et_pb_posts .et_pb_post {clear:both; margin-bottom: 50px !important;}
	
	   .blog_small_image_no_sidebar .et_pb_posts .et_pb_post a img {
            max-width:250px!important;
            float: left !important;
            padding-right: 20px !important;
			margin-bottom: 50px !important;}
 
    @media only screen and (max-width: 980px) {
        .blog_small_image_no_sidebar .et_pb_posts .et_pb_post a img{
            float:none !important;
            max-width: 100%!important;}}

	.blog_small_image .et_pb_posts .et_pb_post { margin-bottom: 10%;}

	
 /*------------------------------------------------*/
/*--------------------[SIDEBAR]-------------------*/
/*------------------------------------------------*/

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

.container::before { display:none; } .et_pb_widget_area_right { border-left:0; }

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

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

/** App Style header and Drop Down Menu **/

@media (max-width: 980px) {
 .container.et_menu_container { 
 width: calc( 100% - 60px);
 }

}

.et_mobile_menu {
 margin-left: -30px;
 padding: 5%;
 width: calc( 100% + 60px);
}

.mobile_nav.opened .mobile_menu_bar:before {
 content: "\4d";
}

@media screen and (max-width:900px)
{
.et_pb_fullwidth_slider_0 .et_pb_slide {
background-size: contain!important;
height: 250px !important;

}

}

@media screen and (max-width:479px)
{
.et_pb_fullwidth_slider_0 .et_pb_slide {
background-size: contain!important;
height: 100px !important;

}

}


@media all and ( max-width: 860px ) {
.header-cart {
		position: static;
		margin-bottom: 30px;
	}
}

/*-------------------[480px]------------------*/
@media only screen and ( max-width: 767px ) {

.header-cart {
		padding: 15px 30px;
	}

}

