/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

/** Force Full Width Layout on Mobile **/
@media (max-width: 1200px) {
    .et_boxed_layout #page-container,
    .et_fixed_nav.et_boxed_layout #page-container #top-header,
    .et_fixed_nav.et_boxed_layout #page-container #main-header{
        width:100%;
    }
   }

/** Cart Page Remove Elements and Adjust Margins**/
.woocommerce table.cart td:nth-of-type(5), .woocommerce table.cart th:nth-of-type(5) { display: none; }
.woocommerce table.cart td:nth-of-type(6), .woocommerce table.cart th:nth-of-type(6) { display: none; }
button[name='update_cart'] { display: none !important;}
.cart_totals h2 { display: none !important; }
td.actions { display: none !important; }
p.return-to-shop { margin-left: 41%; margin-top: 30px; margin-bottom: 50px; }
p.cart-empty.woocommerce-info { text-align: center; }
div.cart_totals.calculated_shipping { width: 35% !important;}

@media (max-device-width: 480px) { p.return-to-shop { margin-left: 25%; } }

/** Checkout Page Remove Elements **/
.woocommerce-additional-fields { display: none;}
.col-1 {width: 100% !important;}
.col-2 {width: 0px !important;}
.cart-subtotal { display: none !important;}
.product-quantity { display: none !important;}
.woocommerce .col2-set, .woocommerce-page .col2-set { margin-bottom: 30px; }

/** Search Result Count Font Size **/
p.woocommerce-result-count { font-size: 17px; }

/** Woocommerce Error Message Remove Lower Margin **/
.woocommerce-error, .woocommerce-info, .woocommerce-message { margin-bottom: 0px; }
.woocommerce-notices-wrapper { background-color: #DAB86B; }
a, .et-db #et-boc .et-l a { color: #666; }

/** Single Product Page View Cart Button **/
.button.wc-forward { background-color: #310059 !important; }

/** Cart Thumbnail Square **/
.woocommerce-cart table.cart img {
width: auto;
min-width: 75px;
max-width: 75px;
min-height: 75px;
max-height: 75px;
object-fit: cover;
}
@media(max-width:768px) {
/** Show thumbnail row in cart on mobile **/
.woocommerce-page table.cart .product-thumbnail {
display: inline-block !important;
}
/** hide colon above thumbnail for mobile **/
.woocommerce-page table.cart .product-thumbnail:before {
display: none;
}
}

/** Newest Photos**/
.wrapper1-photos{min-height:300px;position:relative}isko add kar doType a message
.wrapper1-photos{ min-height: 300px;
position: relative;}
.protrait-col-new{
width: calc(50% - 5px);
display: inline-block;
vertical-align: top;
position: absolute;
left: 0;
top: 40px;
height: calc(100% - 40px);
}
.protrait-col-new a{
position: absolute;
width: 100%;
height: 100%;
overflow: hidden;
}
.protrait-col-new a img{
object-fit: cover;
min-width: 100%;
min-height: 100%;
width: auto;
}
.landscape-col-new{
width: calc(50% - 5px);
display: inline-block;
vertical-align: top;
position: absolute;
right: 0;
top: 40px;
height: calc(100% - 40px);
}

.landscape-image{
height: calc(50% - 5px);
margin-bottom: 5px;
position:relative;
}
.landscape-image a{ position: absolute;
height: 100%;
overflow: hidden;}

.landscape-image a img{
min-width: 100%;
min-height: 100%;
width: auto;
}
.wrapper1-photos .landscape-image:last-child{height: calc(50% - 5px);top:5px; margin-bottom: 0px;}

/** Free Photos**/

.wrapper2-photos{min-height:300px;position:relative}isko add kar doType a message
.wrapper2-photos{ min-height: 300px;
position: relative;}
.protrait-col-free{
width: calc(50% - 5px);
display: inline-block;
vertical-align: top;
position: absolute;
left: 0;
top: 40px;
height: calc(100% - 40px);
}
.protrait-col-free a{
position: absolute;
width: 100%;
height: 100%;
overflow: hidden;
}
.protrait-col-free a img{
object-fit: cover;
min-width: 100%;
min-height: 100%;
width: auto;
}
.landscape-col-free{
width: calc(50% - 5px);
display: inline-block;
vertical-align: top;
position: absolute;
right: 0;
top: 40px;
height: calc(100% - 40px);
}

.landscape-image2{
height: calc(50% - 5px);
margin-bottom: 5px;
position:relative;
}
.landscape-image2 a{ position: absolute;
height: 100%;
overflow: hidden;}

.landscape-image2 a img{
min-width: 100%;
min-height: 100%;
width: auto;
}
.wrapper2-photos .landscape-image2:last-child{height: calc(50% - 5px);top:5px; margin-bottom: 0px;}