/*
Theme Name: cargoworld
Author: Vaibhav
Description: Theme of cargoworld
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  cargoworld
Tags: cargoworld, Prime apps

Lorem to the longer descriptionum.
*/

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body{
    color: brown;
     font-family: "Diatype Variable",sans-serif;
}
section.cargo_world_section {
    min-height: 810px;
}
.custom_nav .logo-text a{
    text-decoration: none;
}
.custom_nav h1.logo-text{
    text-transform: uppercase;
    font-weight: 500;
    color: black;
    font-size: 1.6rem;
}
.custom_nav h1.logo-text:active{
    color:  rgba(0, 0, 0, 0.75);
} 
.custom_nav .logo-text img{
    width: 250px !important;
    height: 40px !important;
}

.custom_nav{
    display: flex;
    justify-content:space-between;
   
    padding: 20px 10px;
}

.custom-nav-links .links a{
    display: inline;
    text-align: center;
    text-decoration: none;
    color: rgba(0, 0, 0, 0.75);
}

.custom-insta-link .link a{
    text-align: center;
    text-decoration: none;
    color: rgba(0, 0, 0, 0.75) ;

}
.custom-insta-link .link a:hover,.custom-nav-links .links a:hover{
    color: black;
}

.custom-nav-links .links .menu-main-menu-container ul{
    display: flex;
    gap:10px;
}

.custom-nav-links .links .menu-main-menu-container ul li{
    list-style: none;
}

.custom-social-link .link .menu-social-menu-container ul li{
    list-style: none;
}
.custom-social-link .link .menu-social-menu-container ul li a{
    text-decoration: none;
    color:  rgba(0, 0, 0, 0.75);
}

.custom-social-link .link .menu-social-menu-container ul li a:hover{
    color: black;
}

/* Footer Style */

footer div.custom-footer{
    display: flex;
    justify-content:flex-start;
    padding: 20px 10px;
    color: gray;
    font-size: Small;
}


footer div.custom-footer .custom-footer-text,footer div.custom-footer .custom-footer-copyright{
    width: 50%;
}

	

section.cargo_world_section .cargo_flex_list {display: flex;justify-content: space-between;}

section.cargo_world_section .cargo_flex_list .cargo_box {
    width: 25%;
    margin-right: 15px;
}
section.cargo_world_section .cargo_flex_list .cargo_box:last-child {
    margin: 0;
}
section.cargo_world_section .cargo_flex_list .cargo_box .cargo_gallry_wrap {
    display: flex;
    flex-wrap: wrap;
    row-gap: 15px;
    gap: 10px;
}
section.cargo_world_section .cargo_flex_list .cargo_box .cargo_gallry_wrap .cargo_img {
    width: 23%;
}

section.cargo_world_section {
    padding: 20px 10px;
}
.custom_nav {
    align-items: center;
}
.custom_nav #menu-header,
.custom_nav ul#menu-primary{
    display: flex;
}
.custom_nav ul#menu-primary li,
.custom_nav #menu-header li {
    list-style: none;
    padding: 0px 8px;
    margin: 0px 8px;
}
.custom_nav ul#menu-primary li a,
.cargo_world_section .cargo_wrap a{
    color: rgba(0, 0, 0, 0.75);
    text-decoration: none;
}
.cargo_world_section .cargo-categories-list {
    text-align: center;
    margin-bottom: 20px;
}
.cargo_world_section .cargo-categories-list h3 {
    display: inline-block;
    color: rgba(0, 0, 0, 0.4);
    margin: 0;
}
section.cargo_world_section .cargo_flex_list{
    padding: 15px 0px;
    border-top: 1px solid rgba(0,0,0,0.75);
    border-left: 0px;
}
.cargo_world_section .cargo-categories-list a {
    color: rgba(0, 0, 0, 0.4);
    text-decoration: none;
    margin: 0px 8px;
}
.cargo_world_section .cargo_wrap span.caption,.cargo_world_section .cargo_wrap span.caption a {
    color: rgba(0, 0, 0, 0.4);
}
section.cargo_world_section .cargo_flex_list .cargo_box p {
    margin: 0px;
    color: rgba(0, 0, 0, 0.75);
}
section.cargo_world_section .cargo_flex_list .cargo_box b {
    color: rgba(0, 0, 0, 0.75);
}
section.cargo_world_section .cargo_flex_list .cargo_box .cargo_gallry_wrap .cargo_img img {
    height: auto;
}
section.cargo_world_section .cargo_flex_list .cargo_box .cargo_gallry_wrap .cargo_img a {
    display: block;
}
section.cargo_world_section .cargo_gallry_wrap {
    justify-content: space-between;
}
section.cargo_world_section .cargo_flex_list .cargo_box .cargo_gallry_wrap {
    display: grid;
    gap: 8px;
    justify-content: space-between;
    grid-template-columns: auto auto auto auto;
}

section.cargo_world_section .cargo_flex_list .cargo_box .cargo_gallry_wrap .cargo_img {
    width: 100%;
}
@media only screen and (max-width: 1280px){
    section.cargo_world_section .cargo_flex_list .cargo_box .cargo_gallry_wrap{
        grid-template-columns: auto auto auto auto;
    }
    section.cargo_world_section .cargo_flex_list{
    flex-wrap: wrap;
    gap: 10px;
}
    section.cargo_world_section .cargo_flex_list .cargo_box{
        width: calc(50% - 5px);
        margin: 0px;
    }    
}
@media only screen and (max-width: 767px){
    .cargo_world_section .cargo-categories-list{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        row-gap: 8px;
    }
    .cargo_world_section .cargo-categories-list a{
        margin: 0px
    }
    .cargo_world_section .cargo-categories-list h3{
        font-size: 16px;
        text-transform: capitalize;
    }
    section.cargo_world_section .cargo_flex_list .cargo_box{
        width: 100%;
        margin-top: 8px;
    }
    section.cargo_world_section .cargo_flex_list .cargo_box:last-child{
        margin-top: 8px;
    }
    section.cargo_world_section .cargo_flex_list .cargo_box .cargo_gallry_wrap {
	    grid-template-columns: auto auto;
	}

}
/*zoom-image popup*/
.image-source-link {
	color: #98C3D1;
}

.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
	opacity: 0;
	-webkit-backface-visibility: hidden;
	/ ideally, transition speed should match zoom duration /
	-webkit-transition: all 0.3s ease-out; 
	-moz-transition: all 0.3s ease-out; 
	-o-transition: all 0.3s ease-out; 
	transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
		opacity: 1;
}
.mfp-with-zoom.mfp-ready.mfp-bg {
		opacity: 0.8;
}

.mfp-with-zoom.mfp-removing .mfp-container, 
.mfp-with-zoom.mfp-removing.mfp-bg {
	opacity: 0;
}



.mfp-container .mfp-arrow-right:before, 
.mfp-container .mfp-arrow-right:after, .mfp-container .mfp-arrow-left:before, 
.mfp-container .mfp-arrow-left:after {
    border: none !important;
}
.mfp-container .mfp-arrow-right:after {
    font-family: 'Font Awesome 5' ;
    content: url(/wp-content/themes/cargoworld/assets/images/right-arrow.png);
    color: #fff;
    background-color: rgba(87, 87, 87, 0.35);
    width: 30px;
    height: 27px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    right: 30px !important;
    padding: 3px 0 0;
}
.mfp-container .mfp-arrow-left:after {
    font-family: 'Font Awesome 5' ;
    content: url(/wp-content/themes/cargoworld/assets/images/left-arrow.png);
    color: #fff;
    background-color: rgba(87, 87, 87, 0.35);
    width: 30px;
    height: 27px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    right: 30px !important;
    padding: 3px 0 0;
}
.mfp-with-zoom.mfp-ready .mfp-container + button.mfp-close {
    background: rgba(87, 87, 87, 0.35) !important;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    right: 30px;
    top: 30px;
}

.mfp-container .mfp-arrow-right {
    right: 20px !important;
}

.mfp-with-zoom.mfp-ready .mfp-container {
    background: #fff;
}

.arroe_rotate {
    transform: rotate(45deg);
    margin-left: 5px;
}
@media only screen and (max-width: 900px) {
	.mfp-container .mfp-arrow-right {
    		right: 15px !important; 
	}
	.mfp-container .mfp-arrow {
		transform: unset;
	}
}
@media only screen and (max-width:767px){
	.mfp-with-zoom.mfp-ready .mfp-container + button.mfp-close {
	    width: 30px;
	    height: 30px;
	    top: 15px;
	    right: 15px;
	}
	.custom_nav {
	    display: block;
	    border-bottom: 1px solid rgba(0, 0, 0, 0.75);
	    margin: 0 10px;
	    padding: 10px 0;
	}
	    
	.custom_nav #menu-header, .custom_nav ul#menu-primary {
	    display: block;
	}

	.custom_nav #menu-header li {
	    margin-left: 0;
	    padding-left: 0;
	    margin-bottom: 5px;
	}

	.custom_nav #menu-header li a {
	    font-size: 16px;
	}

	.custom_nav .logo {
	    margin-bottom: 20px;
	}

	footer div.custom-footer {
	    display: block;
	    font-size: 16px;
	}

	footer div.custom-footer .custom-footer-copyright {
	    margin-bottom: 15px;
	}
}


