/* Import the font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

/* Apply the font to the entire widget */
body, body * {
    font-family: 'Montserrat', sans-serif !important;
}
.header.headerPro, .header.headerPro.asleep {
    display: flex !important;
}
/* Define CSS custom properties */
:root { 
   --shadow: 0 10px 20px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
   --shadow2: 0 3px 10px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,0);
   --radius: 30px;
   --red-color: #d43900;
}
/* Header logo width adjustment */
.header a.publicLogo {
    width: 110px !important;
}
.logo-custom{
    width: 120px!important;
}
/* Header background style */
.header:not(.standard) {
    background: url("https://www.bswift.com/wp-content/uploads/2023/08/Curve.png")!important;
    background-size: cover !important;
    background-position: top !important;
    background-repeat: no-repeat !important;
    filter: brightness(0.93);
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
}

/* Feature content with Read More adjustment */
.feature.hasReadMore .featureContent {
    max-height: 600px !important;
}

/* Reveal animation for stream features */
.stream .feature {
    opacity: 0;
    transform: translateY(100%);
    animation: reveal 1.5s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

/* Keyframes for reveal animation */
@keyframes reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Clear header background before sleeping */
.header:not(.solid):before,
.modeTab.widgetMode:not(.solid):before {
    background: none;
}

/* Clear standard header background */
.header.standard:not(.asleep) {
    background: none !important;
}

/* Adjust cover image and shadow for news */
.news > .cover {
    border-radius: 0 0px 100px 100px;
    box-shadow: var(--shadow) !important;
}

/* Adjust header title and subtitle */
.headerTitle,
.headerSubtitle {
    margin-top: -10px;
}

/* Adjust stream content features */
.streamContent > .feature {
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow) !important;
}

/* Adjust category styling within feature date */
.featureDate > .category {
    font-size: 14px;
    padding: 5px 25px;
    border-radius: 40px;
    box-shadow: var(--shadow2) !important;
}

/* Adjust feature controls position */
.featureControls {
    top: 21px !important;
}

/* Apply border-radius to binded elements */
.binded {
    border-radius: var(--radius) !important;
}

/* Adjust read more button style */
.featureContent > .readmoreButton {
    color: #fff !important;
    text-decoration: none;
    background: var(--red-color) !important;
}

/* Adjust feature title link color */
.featureTitle a {
    text-decoration-color: var(--red-color);
}

/* Adjust search input style */
.streamSearchInput {
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow) !important;
}

/* Correct way to comment out a rule */
/* .streamNav li.catItem a.catItemLink:hover {
    background: rgba(150,150,150,.1);
    background: #007496;
    color: #ffffff;
    text-decoration: none;
} */


/* Custom checkbox styles */
.catItemName{
    text-transform:uppercase;
    font-size:12px;
}
.catItemCheck {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ccc;
    outline: none;
    cursor: pointer;
}

.catItemCheck:checked {
    background-color: #007496;
    border-color: #fff;
}

/* Adjust category name in catItem */
/*.streamNav li.catItem .catItemName {
    vertical-align: baseline;
}*/

/* Adjust header title for different screen sizes */
.headerTitle,
.dark .headerTitle::before {
    margin: -8px auto 0px auto !important;
    padding: 24px 0 0 !important;
}

/* Adjust header logo width */
.header a.publicLogo {
    width: 61px !important;
}

/* Media query adjustments */
@media screen and (max-width: 641px) {
    .header:not(.standard) {
        background: none !important;
    }
    /* Adjust category styling within feature date */
.featureDate > .category {
    font-size: 10px;}
.logo-custom{width: 5.4rem!important;
}
.headerPro .headerProActions .headerProAction a {
	font-size:0.7rem!important;
}
.headerPro .headerProHeading .headerProTitle {
	font-size:0.9rem!important;
}
}

@media screen and (max-width: 1024px) {
    .headerTitle,
    .dark .headerTitle {
        margin-top: -14px !important;
    }
    .asleep .headerTitle,
    .asleep.dark .headerTitle {
        max-width: calc(100% - 50px) !important;
        margin-top: -13px !important;
    }
}

@media screen and (min-width: 1025px) {
    /* Adjust feature date */
    .feature > .featureDate {
        padding-right: 30px;
        justify-content: flex-end;
    }
    /* Adjust header title */
    
    .headerTitle a {
        font-size: 28px!important;
        margin-top: -15px!important;
    }
    .asleep > .headerTitle a {
        font-size: 25px !important;
        margin-top: -9px !important;
        transition: font-size 1s;
    }
    /* Adjust header logo width */
    .header a.publicLogo {
        width: 110px !important;
    }
}

 /* custom logo */
.headerPro {padding: 10px 25px !important; display: flex !important; align-items: center; height: 60px !important;}

.layoutPro #firstResults {margin-top: -160px !important;}
.layoutPro .cover {height: 180px !important;}
.layoutPro .streamNav, .sticky-wrapper {padding-top: 0 !important;}

.headerPro .headerProHeading {display: inline-block; height: 40px;}

.headerPro .headerProHeading .headerProLogo, .headerPro .headerProHeading .headerProTitle {
    display: inline-block; vertical-align: middle;
}

.headerPro .headerProHeading .headerProLogo svg {height: 100%;}

.headerPro .headerProHeading .headerProTitle {margin: 0 0 0 12px; padding: 0px 0 0 12px; font-size: 20px; position: relative;}

.headerPro .headerProHeading  .headerProTitle:before {
    content: "";
    display: inline-block;
    position: absolute;
    left: 0;
    height: 30px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 1px solid;
  
}
.headerPro .headerProHeading:hover,.headerPro .headerProHeading:active{text-decoration:none; background:inherit!important;}
.headerPro .headerProActions {display: inline-block; vertical-align: middle; flex-grow: 1; text-align: right;}

.headerPro .headerProActions .headerProAction {display: inline-block; vertical-align: middle;}

.headerPro .headerProActions .headerProAction a {
    padding: 0 0 0 10px;
    background: transparent !important;
    transition: all .25s ease;
}

.headerPro .headerProActions .headerProAction a:hover, .headerPro .headerProActions .headerProAction a:focus,
.headerPro .headerProActions .headerProAction a:active {color: #fff !important; text-decoration: underline;}

.headerPro .headerProActions .headerProAction a .headerProIcon {
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    margin: -4px 2px 0 0;
}
.headerPro .headerProActions .headerProAction a .headerProIcon svg {height: 100%; fill: #fff;}