/*
CAchange - this is our custom CSS file for the theme
*/

/*
Remove the ability for a user to set a password (create account) during checkout
First the "create an account" info. before the password field
Then, the password field itself
*/
p:has(+ .field-password-policy) {
  border:2px solid red;
  display:none;
}
.field-password-policy {
  border:2px solid red;
  display:none;
}

/*
Keep the order confirmation page clean by getting rid of featured products there
*/
#order-confirmation .featured-products {
  display:none;
}

/*
The hidden iframe which attempts the SSO process every time a page loads for a non-logged-in user, 
creating them a shop session if they're logged into SSO
*/
.ssoautoiframe {
border:0;
width:1px;
height:1px;
}

#wrapper {
    background: #edf9ff;
}

@font-face {
    font-family: "Fustat";
    src: url("/themes/classic/assets/fonts/Fustat-ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Inter";
    src: url("/themes/classic/assets/fonts/Inter_18pt-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Inter";
    src: url("/themes/classic/assets/fonts/Inter_18pt-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Inter";
    src: url("/themes/classic/assets/fonts/Inter_18pt-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap
}

h1, h2, h3, h4, h5  {
    font-family: Fustat;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: Fustat;
}

p, li   {
    font-family: Inter:
}

.carousel .carousel-item .caption {
    max-width: 540px;
}

.carousel .carousel-item .caption .display-1 {
    font-size: 2rem;
}
/* need to add media queries for <992px and others to override the ones in theme.css so that the sliders display the text in the main part of the slider, not below*/

@media (max-width: 991px) {

    .carousel .carousel-item .caption .display-1 {
        font-size: 1.5rem;
        font-weight: 500;
        color: #ffffff;
    }
    .carousel .carousel-item .caption p {
        font-size: .5rem;
        font-weight: 400;
        color: #ffffff;
    }

    .carousel .carousel-item .caption {
        max-width: 400px;
    }

    .carousel-indicators li {
        display: none;
     }
}

@media (max-width: 767px) {
    .carousel .carousel-item .caption .display-1 {
        font-size: 1.5rem;
        font-weight: 500;
        color: #ffffff;
    }
    
    .carousel .carousel-item .caption p {
        display: none;
    }
    .carousel .carousel-item .caption {
        max-width: 280px;
    }

     .carousel-indicators li {
        display: none;
     }
}

@media (max-width: 576px) {
    .carousel .carousel-item .caption .display-1 {
        font-size: 1rem;
        font-weight: 500;
        color: #ffffff;
    }
    
    .carousel .carousel-item .caption p {
        display: none;
    }
    .carousel .carousel-item .caption {
        max-width: 250px;
    }

     .carousel-indicators li {
        display: none;
     }
}
.block-social ul li {
	background-color: #1b458f;
}

/* Lose header block off shop home category page */
.category-shop-home #js-product-list-header {
  display:none;
}

/* Sort out button links */
.btn a {
  text-decroation:none;
  color:#ffffff;
}
