/*

Responsive mode for mobile phones and other small devices

*/

body {
    overflow: hidden;
    overflow-y: auto;
}

.home-page,.hero {
    width: 100%;
}


.page-section-inner {
    padding: 0;
    width: calc(100% - 32px);
}

.header-wrapper {
    position: static;
    margin: 0;
}

.home-page h1
{
font-size:40px;padding:0;text-align: center;
}
.home-page h2
    {
    font-size:30px;margin-right:0 !important;
    }
.home-page p
    {
    margin-right:0 !important;
    }
.home-page .primary-content {padding:10px 0 0 0;}
.home-page .primary-content-header
    {
    max-width:100%;text-align: center;
    }
.home-page .actionbuttons
    {
    margin:0;text-align: center;
    }
.home-page video {display:none;}
.header-wrapper {
    min-width: 100%;
}

.hero,body,.slide,.slide-image,.slide-inner {
    width: 100%;
}

.grid-wrap {
    margin: 0;
}

.col-1,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-10,.col-11,.col-12 {
    width: 100%;
}

.home-page .col-4 {
    width: 80%;
}

.logo {
    background-image: url(../img/RS_solid_white.svg);
    width: 250px;
    margin-left: 10px;
    }

.grid-col {
/* Centre feature boxes */
    margin-left: auto;
    margin-right: auto;
    float: inherit;
}

.slide,.testimonials-nav-wrapper {
/* Hide the video */
    display: none;
}

.main-nav ul {
    margin: 0;
}

.home-page .hero .page-section-inner
    {
    height: auto;
    }

.home-page .hero    
    {
    background-position: 30% 40%;
    }


.main-nav li {
    display: block;
    float: left;
    clear: left;
    margin-left: 0;
    padding: 8px 0;
    border-top: 1px solid #555;
    width: 100%;
}

.main-nav li a {
    padding-left: 15px;
    font-size: 20px;
    color: white;
}

.main-nav {
    width: 100%;
}

.page-header {
    padding: 0;
}

.page-header img {
    padding: 15px 0 15px 15px;
}

.page-header-right {
    float: left;
    clear: left;
    width: 100%;
    background: none;
    padding: 0;
}

.footer-meta-copyright {
    width: 100%;
}

.footer-nav {
    display: none;
}

.footer-wrapper {
    padding: 30px 0;
}
.footer-wrapper img 
    {
    padding:20px;
    }

.primary-content img {
    max-width: 100%;height:auto;
}

.hero {
    padding-top: 20px;
}

h1 {
    font-size: 40px;
}

.responsive-menu-icon {
    display: block;
    border: 1px solid #fff;
    border-radius: 4px;
    width: 38px;
    height: 38px;
    background-image: url(../img/menu.png);
    background-repeat: no-repeat;
    background-position: 3px 3px;
    float: right;
    margin: 18px 25px 10px 0;
}

.main-nav {
    display: none;
}

.trialform {
    width: 90%;
    margin-bottom: 30px;
}

.primary-content {
    padding: 20px 0 0;
}

.feature {
    padding: 15px;
}

.feature-image {
    float: none;
    margin: 20px auto;
}

.feature-inner {
    display: block;
    clear: both;
}

.testimonial,.testimonials-page-footer .testimonial {
    padding: 0 0 0 2.2rem;
}

.testimonial-logo,.testimonials-page-footer .testimonial-logo {
    margin: 20px auto 10px;
    float: inherit;
}

.testimonial blockquote {
    clear: both;
}

.testimonials-page-footer .testimonial-wrapper:first-child .testimonial:before {
    background: none;
}

.secondary-nav .active a:before {
    background: none;
}

.secondary-nav .active a:after {
    background: none;
}

.secondary-nav-wrapper {
    padding: 10px;
}

.secondary-nav li {
    margin: 0;border-radius:5px;margin:5px;
}

.secondary-nav {text-align: center;}

.secondary-nav a {
    font-size: 17px;
    xborder: 1px solid #888;
    padding: 4px 10px;
    xborder-radius: 4px;
    margin: 3px;
}

.navsearch input[type="search"] {
    height: 35px;
    margin: 3px;
    background-position: 5px 5px;
    width: 100%;
}

.navsearch {
    float: inherit;
}

.home-page .slide,.home-page .hero {
    height: 338px;
}

.hero-feature {
    display: none;
}

.home-page .slide {
    min-width: 0;
}

.slide img {
    margin-left: -500px;
}

.home-page .hero .page-section-inner,.slide-inner {
    width: 90%;
}

.home-page .hero-details {
margin:30px 0 0 0;
}

.slide-inner p {
    margin-top: 15px;
    font-size: 24px;
}

.footer-meta-translate {
    clear: both;
    float: inherit;
    padding-top: 10px;
}

.pricing-page .hero {
    padding-left: 20px;
}

.pricing-options {
    overflow: scroll;
}

.pricing-options .product-enquiry, .pricing-options .storage,.pricing-options__getintouch {
    xdisplay: none !important;
}

.pricing-options__getintouch
    {
    margin-bottom: 30px;
    }

.page-cta {
    margin: 10px 0;
    padding: 10px;
}

.download-info {
    margin-left: 0;
    margin-bottom: 15px;
}

.products-wrapper {
    margin-left: 0;
    margin-right: 0;
}

.product-options-responsive {
    display: block;
}

.product-options-responsive p {
    font-size: 18px;
    padding: 5px;
}

.pricing-responsive-colour-3 {
    xbackground: #D6F2FF !important;
}

.pricing-responsive-colour-4 {
    xbackground: #BFEBFF !important;
}

.pricing-responsive-colour-5 {
    xbackground: #9BE1FF !important;
}

.pricing-responsive-colour-6 {
    xbackground: #FFD5A5 !important;
}

.responsive-price {
    text-align: right;
}

.pricing-options__prices {
    font-size: 34px;
}

.pricing-page .hero {
 display: none;
}
.pricing-page .primary-content-header {
    margin: 0;
}
.testimonials-page-footer header .btn {
    display: block;
    float: inherit;
    clear: left;
    margin: 0;
    text-align: center;
}

hr {
    margin: 15px 0 30px;
}

.side-nav {
    width: 80%;
}

.video-js
  {
  width: 300px !important;
  height: 150px !important;
  }
video   {max-width:100%;}

.header-wrapper .page-header
  {
  width: 100%;
  }
  
.page-header
  {
  background: #191E32 !important;
  }

.footer-logo
	{
	display:none;
	}
.footer-meta-translate
	{
	float:left;text-align:left;
	}
.home-page .products-wrapper
	{
	display:none;
	}

.bookwrap
	{
	margin-left: auto !important;
	margin-right: auto !important;
	}

.home-page .hero-details h2 {font-size:32px;}

.sector-page .hero-details h1 {margin-top: 85px;text-shadow: 0 0 10px #000; }



.sector-page .hero {
  height: auto;
  padding-top: 0;
  background: #555 url(../img/content/sectors/product-hero.jpg) no-repeat 80% 0; 
  background-size: cover; 
}
.sector-page .hero-details {
  height:auto;
}
.sector-page .hero-details h2 {
  margin-top:0;
}
.sector-link, .sector-link:visited, .sector-link:hover
  {
  background-position: center center;
  }
  
.userlistbox {margin:0;padding:0;}

.cloudpremselect {display: none;}

.landing-page .userlistbox
  {
  width:57px;height:60px;
  }
  
.landing-page .grid-wrap
	{
	display: flex;
	flex-direction: column-reverse;
	}
  
.kb_qa_popup
	{
	display:none;
	}

.noresponsive {display:none !important;}

#pricing-onprem {display:block !important;}

.product-currencies-nav {zoom: 0.9;float: none;margin-top:5px;}
.products-wrapper {text-align:center;}
.products-wrapper .grid-col {text-align:left;margin-bottom: 65px;}
.userlistbox {float: inherit;}

.pricing-options__prices:before,.pricing-options__prices:before, 
.pricing-options th:before, .pricing-options th:after 
  {
  content: none;
  }

  /* No dropdown top bar links on responsive */
  .dropdown:hover .dropdown-content {display: none;}
  

/* All pricing pages to have minimal size in td (no spacers) */
.pricing-page .summary td:before {height: 53px !important;}
.pricing-page .feature td:before {height: 53px !important;}
.pricing-page .feature .fa {margin-bottom: 18px;}

.bcorp
 	{
	 padding: 40px 0 0 0;
 	}


.userlistbox
	{
	width:70px !important;height: 40px !important;padding:10px;margin:10px;
	}

.home-page .btn {line-height:100px;}

.btn {line-height:130%;}

.home-page .primary-content-header
    {
    font-size:26px;float: none;
    }

.about-page .testimonial
  {
  padding-left: 36px;
  }
.about-page  .testimonial-logo,  .about-page .testimonials-page-footer .testimonial-logo {
    margin: 20px auto 10px;
    float: inherit;
}

.sideimage
    {
    float: inherit;
    margin:0 auto 40px auto;
    display: block;
    }

#overlay-fade
    {
    width:100px;
    }

.team-image:hover .hover-img
  {
  visibility: hidden;
  }
.team-image:hover .base-img
  {
  visibility: visible;
  }

.BlogArticle h2, .BlogArticle .blog-article-date {float: left;}
.feed .blog-article-date {margin:0 0 10px 0;}

.warrant, .deck {display:none;}

    
.home-page .col-3 {margin: 0 !important;}

.slant {background-color: rgb(61, 65, 107);margin-left:15px;}

/* No right floats on responsive */
.right {float:left !important;}

.featureanimouter {display: none;}



/* @LB media queries */

@media screen and (max-width: 1199px) {

    h2.primary-content-header {
        max-width: 100%;
        line-height: 115%;
        font-size: 1.75rem;
        margin: 0 0 30px;
    }

    .secondary-nav-wrapper {
        padding: 0;
    }

    .feature h3{
        margin-bottom: 16px;
        line-height: 120%;
        font-size: 24px !important;
        clear: both;
    }

    .feature ul.icon-list li{
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .feature ul.icon-list li .feature-image{
        margin-top: 0;
    }

    .feature-image{
        display: inline-block;
        margin: 0 15px 5px 0;
    }

    h3.accordion-item-heading{
        font-size: 1.25rem;
    }

    .page-cta.well{
        margin: 20px 0 0;
        padding: 20px; 
    }

}


@media screen and (max-width: 768px) {

    body{
        font-size: 1.125rem;
    }

    h1{
        margin-bottom: 1rem;
        font-size: 2rem;
    }

    h2{
        font-size: 1.75rem;
    }

    h3{
        font-size: 1.5rem;
    }

    .home-page .accordion-item-heading, .pricing-page .accordion-item-heading {
        font-size: 1.25rem;
    }

    .btn-large {
        font-size: 20px;
        padding: 15px;
    }

    /* Home Page */

	.home-page h1 {
        margin: 10px 0 20px;
    }

    .home-page .bannerimage {
        height: 25vh;
        background-position: center;
    }

    .home-page .actionbuttons {
        display: block;
        margin: 20px 0;
        padding: 0;
    }

    body.home-page .btn{
        display: block;
        width: calc(100% - 32px);
        line-height: 1;
    }

    body.home-page .btn.slant{
        width: calc(100% - 50px);
        margin-left: 0;
        margin-bottom: 15px;
        padding: 15px 25px;
        clip-path: none;
    }

    .stat_block{
        width: 100%;
        margin: 0 0 30px;
    }

    .stat_block h2 {
        font-size: 1.5rem;
    }

    .feature .btn.slant{
        width: calc(100% - 50px);
        margin-left: 0;
        margin-bottom: 15px;
        padding: 15px 25px;
        clip-path: none;
    }

    .feature .btn.slant:last-child{
        margin-bottom: 0;
    }

    .page-cta a,.testimonials-page-footer btn {
        display: block;
        margin: 20px;
    }

}

@media screen and (min-width: 280px) and (max-width: 499px) {

    /* Footer */

    .footer-wrapper ul.social-icons{
        padding-left: 0;
    }

    .footer-wrapper ul.social-icons li{
        margin-left: 0;
        margin-right: 16px;
    }

    footer.page-footer .grid-wrap {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 20px;
        align-items: center;
    }

    footer.page-footer .footer-partner-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }

    footer.page-footer .footer-partner-logo img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
        padding: 0;
    }

    /* Individual logo sizing */
    
    footer.page-footer .footer-logo-employee-owned img {
        max-width: 140px;
        max-height: 70px;
    }

    footer.page-footer .footer-logo-b-corp img {
        max-width: 120px;
        max-height: 140px;
    }

    footer.page-footer .footer-logo-iso-certified img {
        max-width: 100px;
        max-height: 100px;
    }
    
    footer.page-footer .footer-logo-crown-commercial img {
        max-width: 120px;
        max-height: 160px;
    }

    footer.page-footer .footer-logo-ecologi-profile img {
        margin-top: 20px;
        max-width: 140px;
        max-height: 80px;
    } 

    /* Center the 5th item across both columns */
    footer.page-footer .footer-logo-ecologi-profile {
        grid-column: 1 / -1; /* Span across all columns */
        justify-self: center; /* Center within the spanned area */
    }

}
