/*
Theme Name: Webseller Marketing Child Theme
Theme URI: https://www.bizboomr.com/themes/ws-marketing/
Author: Bizboomr
Author URI: https://www.bizboomr.com/
Description: Child theme for the Webseller Marketing Theme.
Requires at least: 2.8
Requires PHP: 7
Version: 1.0.0.R71
License: GPLv2
License URI: https://www.gnu.org/licenses/gpl.html
Template: ws-marketing-theme
Text Domain: wsmc
Tags: bizboomr, webseller, marketing.
*/

/*
-----------------
TABLE OF CONTENTS
-----------------
- General
    > Positioning
    > Cards
    > Header
    > Body
- Pages
    > Home
    > Single Pages
- Updates
    > Updates by Raj on Feb 20, 2025
*/

/*------------------------------------------------------------------------------
- General
------------------------------------------------------------------------------*/

/* Positioning */
@media (min-width: 768px){
	.position-md-absolute{
		position: absolute !important;
	}
}

@media (min-width: 1400px){
    .d-xxl-none{
        display: none !important;
    }
}

/* Cards */
.single-card{
    min-height: 15.625rem;
    border-radius: 0.5rem;
    padding: 4rem 1rem;
}

.single-card .title,
.single-card .image,
.single-card .separator{
    margin-bottom: 3rem;
}

.single-card .title{
    text-transform: uppercase;
    font-weight: 800 !important;
}

.single-card .logo{
    height: 7rem;
    width: auto;
}

/* Header */
.page-header .hello-bar{
    overflow: hidden;
    background-color: var(--bb-header-bg-color);
}

.page-header .agi-brand img{
    max-width: 140px;
    max-height: 40px;
}

@media (min-width: 576px){
    .page-header .hello-bar .agi-brand img{
        max-width: 150px;
        max-height: 50px;
    }
}

@media (min-width: 768px){
    .page-header .hello-bar .agi-brand img{
        max-width: 220px;
        max-height: 80px;
    }
}

/* Body */
body{
    background-color: var(--bb-body-bg-color);
}

/*------------------------------------------------------------------------------
- Pages
------------------------------------------------------------------------------*/

/* Home */
.home-layout #cards{
    visibility: hidden;
}

.home-layout #cards.loaded{
    visibility: visible;
}

.home-layout .single-card{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.home-layout .single-card .separator{
    height: 1px;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    background: #4976a0;
}

@media (min-width: 992px){
    .home-layout #cards .single-card{
        min-height: calc(100vh - 136px - 16px - 16px); /* ViewportHeight - HeaderSize - HeaderMarginBottom - CardColumnMarginBottom */
    }

    body.admin-bar .home-layout #cards .single-card{
        min-height: calc(100vh - 136px - 16px - 16px - 32px); /* ViewportHeight - HeaderSize - HeaderMarginBottom - CardColumnMarginBottom - AdminBarHeight */
    }
}

@media (min-width: 1400px){
    .home-layout .single-card .title{
        font-size: 2.5rem !important;
    }
    
    .home-layout .single-card .logo{
        height: 10rem;
    }
}

/* Single Pages */
.page-layout .single-card{
    border: 1px solid #00417e;
    height: 100%;
}

.page-layout .single-card .separator{
    display: none;
}

.back-btn{
    color: var(--bb-header-color) !important;
    background-color: var(--bb-header-bg-color);
}

.back-btn:hover{
    text-decoration: none;
    opacity: 0.75;
}

/*------------------------------------------------------------------------------
- Updates
------------------------------------------------------------------------------*/

/* Updates by Raj on Feb 20, 2025 */
.page-id-3748 .single-card .logo{
	height:3rem !important;
}

.page-id-3748 .single-card{
	padding:	3rem 1rem !important;
}

.back-btn{
	border-radius:0.5rem !important;
    padding:	0.5rem 1rem !important
}