/* ------------------------------------------------------------------- 
	Support showing/hiding of items on small screens
   ------------------------------------------------------------------- */

@media screen and (max-width: 800px) {
	.not-on-mobile {
		display: none;
	}
}


/* ------------------------------------------------------------------- 
	Fonts, typography and colours
   ------------------------------------------------------------------- */

body{
    margin: 0;
	font-family: "Proxima Nova Regular", Arial Narrow, Arial, sans-serif;
	font-size: 17px;
	color: #555;
}
a {
	color: #555;
}
a:hover {
	color: #eb9636;
}

h2.space-above {
	margin-top: 50px;
}

@font-face {
    font-family: "Proxima Nova Regular";
    src: url("/static/fonts/Proxima-Nova-Regular.ttf") format('truetype');
}
@font-face {
    font-family: "Proxima Nova Light";
    src: url("/static/fonts/Proxima-Nova-Light.otf");
}
@font-face {
    font-family: "Proxima Nova Bold";
    src: url("/static/fonts/Proxima-Nova-Bold.ttf") format('truetype');
}
@font-face {
    font-family: "Proxima Nova Semi Bold";
    src: url("/static/fonts/Proxima-Nova-Semi-Bold.ttf") format('truetype');
}

.roboto {
        font-family: "Roboto Condensed", Arial Narrow, Arial, sans-serif;
    }

.proxima_regular {
        font-family: "Proxima Nova Regular";
    }

.proxima_light {
        font-family: "Proxima Nova Light";

    }

.proxima_bold {
        font-family: "Proxima Nova Bold";
    }

.proxima_semi_bold {
        font-family: "Proxima Nova Semi Bold";
}


.light-blue {
    background-color:#6cc7dc
}
.blue {
    background-color:#228eae
}
.orange {
    background-color:#eb9636;
}
.white {
    background-color:#ffffff
}
.green {
	background-color:#048eab;
}




/* ------------------------------------------------------------------
      images, buttons, etc.
   ------------------------------------------------------------------ */

img {
	max-width: 100%;
}

.rr-button {
    border: 2px solid #048eab;
    border-radius: 10px;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    background: #048eab;
    display: inline-block;
}
.rr-button.inverse {
	border-color: #fff;
	background: none;
}
.rr-button.inverse:hover {
	background: #fff;
}
.rr-button.space-left {
	margin-left: 20px;
}



/* ------------------------------------------------------------------
      some specific styles - not sure if/where these are used now 
   ------------------------------------------------------------------ */

#proxima_light1 {
    padding-top:31px;
    padding-left:41px;
    color: #2d2d2d;
    position:relative;
    z-index:1;
    padding-right:320px;
    padding-bottom:15px;
}
.proxima_bold_right {
    font-family: "Proxima Nova Bold";
    padding-top:22px;
    padding-left:60px;
    padding-right:60px;
    color: #575756;
    position:relative;
    z-index:1;
    padding-left:320px;
}

#proxima_light2 {
    padding-top:22px;
    padding-left:60px;
    padding-right:60px;
    color: #575756;
    position:relative;
    z-index:1;
    padding-left:320px;
}
#proxima_light3 {
    padding-top:25px;
    padding-right:300px;
    padding-left:41px;
    padding-bottom:15px;
    color: #312c2e;
    position:relative;
    z-index:1;
}
#proxima_light4 {
    padding-top:32px;
    padding-left:41px;
    padding-right:60px;
    color: #575756;
    position:relative;
    z-index:1;
    padding-left:320px;
}
#proxima_light5 {
    padding-top:85px;
    padding-left:41px;
    color: #ffffff;
    position:relative;
    z-index:1;
    padding-right:0;
    margin-top: 50px;
    margin-bottom: 100px;
    }
#proxima_light6 {
    position:absolute;
    right:0;
    margin-top:22px;
    margin-right:20px;
    color: white;
    display:inline-block;
    font-size: 10pt;
}
#proxima_light7 {
    position:absolute;
    right:0;
    margin-top:22px;
    margin-right:20px;
    color: white;
    display:inline-block;
    font-size: 10pt;
}
#proxima_light8 {
    /*position:absolute;*/
    right:0;
    margin-top:22px;
    margin-left:2%;
    margin-right:2%;
    color: white;
    display:inline-block;
    font-size: 20pt;
}
/* ------------------------------------------------------------------
      /end of specific styles - not sure if/where these are used now 
   ------------------------------------------------------------------ */




.container {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 30px;
    position:relative;
    /* display: flex;*/
    align-items: center;
}
.wrap{
    /*width: 100%;*/
}

.wrap p {
	font-size: 17px;
	line-height: 120%;
}


#header-hero-container {			/* ensures header and hero together take up 100% of viewport height, with min and max size for hero image below */
	display: flex;
	flex-direction: column;
	height: 100vh;
	min-height: 500px;
	max-height: 1000px;
	width: 100%;
}
#header-hero-container.innerpage {
	height: auto;
	min-height: unset;
	max-height: unset;
}

#site-header {
    background-color: #048eab;
    height: auto;
	border-bottom: 5px solid #eb9636;
}
#site-header .wrap{
	max-width: 1140px;
	margin: 0 auto;
    padding: 5px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#site-header .wrap span {
    display: flex;
}

.wrap #img1 {
    margin-left: 10px;				/* same spacing as menu right, adjusted for image size */
	width: 175px;
    position: relative !important;
}
.rr-top-menu {
	margin-right: 15px;
	color: #fff;
	font-family: Arial, sans-serif;
	font-size: 16px;
}
.rr-top-menu .langsel {
	margin-right: 30px;
}

@media screen and (max-width: 800px) {			
	.rr-top-menu .langsel {					/* on small screens reduce the gap between langsel and menu so it fits on one row */
		margin-right: 10px;
	}
}
.rr-top-menu .menu-label, .rr-top-menu .langsel-label {
	padding-right: 5px;
}
.rr-top-menu .menu-icon, .rr-top-menu .langsel-icon {
	font-size: 20px;
	display: inline-block;
	margin-top: -2px;
	
}


.dropbtn {
  background-color: #a0bede;
  color: #000000;
  padding: 7px;
  font-size: 14px;
  border: none;
  cursor: pointer;
    border-radius: 4px;
    width: 75px;
    height: 30px;
    margin-left: 10px;
}

.dropdown {
  position: relative;
  display: inline-block;
}

/* position menu to be centred under the menu icon, subject to width of viewport */
.dropdown-content-main {
	right: calc( 579px - 50vw );
}
@media screen and ( max-width: 1158px ) {
	.dropdown-content-main {
		right: 0;
	}
}
@media screen and ( min-width: 1338px ) {
	.dropdown-content-main {
		right: -87px;
	}
}


.dropdown-content {
  display: none;
  position: absolute;
  background-color: #048eab;
  min-width: 230px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  padding: 10px 0;
  text-align: center;
}

.dropdown-content-langsel {
	min-width: 130px;
	padding-top: 20px;
}

.dropdown-content a {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	color: #fff;
	padding: 9px 16px 4px 25px;
	text-decoration: none;
	display: block;
}
.dropdown-content-langsel a {
	padding-right: 25px;
}

@media screen and (max-width: 800px) {
	.dropdown-content a {
		padding-top: 15px;					/* give more padding around menu items on mobile screens */
		padding-bottom: 9px;
	}
}

.dropdown-content a:hover {
	color: #ffa500;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  background-color: orange;
}

.dropdown-content .menu-subtitle {
	color: #555;
    font-size: 15px;
	font-weight: 600;
    margin: 10px 10px 0 10px;
    border-top: 2px solid #ffffff15;
    padding-top: 10px;
}

.dropdown-content .menu-subtitle:first-child {
	border-top: none;
}

.dropdown-content .login-submenu {
	margin-top: 15px;
	border-top: 2px solid #ffffff15;
	padding-bottom: 5px;
	padding-top: 5px;
}
.dropdown-content .login-submenu a {
	font-size: 13px;
}

#hero {
    background: url('/static/images/homepage-hero-5.jpg');
	background-size: cover;
	background-position: center;
	flex-grow: 1;
	position: relative;			/* provides fixing point for headline, etc. */
	border-bottom: 5px solid #eb9636;
}
#hero.innerpage {
	height: 400px;
}
#hero.contact {
	background-image: url('/static/images/contact-hero-2.jpg');
}
#hero.audit {
	background-image: url('/static/images/audit-hero-4.jpg');
}
#hero.audit .image-cover {
	background: #00000070;
}
#hero.integration  {
	background-image: url('/static/images/autocorrect-hero.jpg');
}
#hero.integration .image-cover {
	background: #00000020;
}
#hero.rules {
	background-image: url('/static/images/rules-hero.jpg');
}
#hero.rules .image-cover {
	background: #00000070;
}
#hero.about {
	background-image: url('/static/images/about-hero-1.jpg');
}


#hero .image-cover {
	width: 100%;
	height: 100%;
	position: absolute;
	background: #00000050;
}

#hero .wrap {
    max-width: 1140px;
    margin: 0 auto;
	position: relative;
	height: 100%;
}
#hero .headline-container {
	margin-top: clamp(50px,25vh,300px);
	margin-left: 30px;
	margin-right: 30px;
	color: #fff;
	max-width: 750px;
}
#hero.innerpage .headline-container {
	margin-top: 100px;
}

#hero .hero-headline {
	font-family: "Proxima Nova Bold";
	font-size: clamp(40px, 11vw, 70px);
}
#hero .hero-headline:lang(es), #hero .hero-headline:lang(pt), #hero .hero-headline:lang(sv) {
	font-size: clamp(40px, 8vw, 56px);
}

#hero .hero-subtitle {
	font-family: "Proxima Nova Light";
	font-size: clamp(20px,5vw,25px);
	line-height: 120%;
}
#hero .hero-subtitle:lang(es), #hero .hero-subtitle:lang(pt), #hero .hero-subtitle:lang(sv) {
	font-size: clamp(20px, 4vw, 22px);
}


.home-intro, .secondary-intro {
	margin-top: 50px;
	margin-bottom: 50px;
}
.home-intro p, .secondary-intro p {
	font-size: 18px;
}

.explainer-panel {
	margin-top: 50px;
	margin-bottom: 100px;
}

.home-intro .wrap,
.secondary-intro .wrap,
.explainer-panel .wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	flex-direction: row-reverse;
	gap: 60px;
}
.alternate .wrap {
	flex-direction: row;
}

.container .wrap {
	margin-top: 90px;
	margin-bottom: 90px;
}

.container.contact-intro .wrap {
	margin-bottom: 0;
}
.container.contact-details .wrap {
	margin-top: 30px;
	margin-bottom: 0;
    background: url('/static/images/labrador-looking-over-shoulder.jpg') no-repeat bottom right;
	background-size: 220px;
    background-position: right 160px bottom;
}

@media screen and (max-width: 800px) {
	.container.contact-details .wrap {
		background-position: right bottom;
		padding-bottom: 125px;
	}
}


.container.callout .wrap,
.inner-callout {
	background: #048eab;
	padding: 22px 36px;
	text-align: center;
	border-radius: 5px;
}
.container.callout .wrap p, .container.callout .wrap a,
.inner-callout p, .inner-callout a {
	font-size: 18px;
	color: #fff;
}
.inner-callout p, .inner-callout a {
	flex: 1 1 150px;
	font-size: 24px;
}
.container.callout .wrap a:hover {
	color: #eb9636;
}

.inner-callout {
	flex: 1 1 150px;
}
.home-intro .inner-text,
.secondary-intro .inner-text,
.explainer-panel .inner-text {
	flex: 1 1 70%;
}
.home-intro.has-screenshot .inner-text,
.secondary-intro.has-screenshot .inner-text,
.explainer-panel.has-screenshot .inner-text,
.home-intro.has-big-image .inner-text,
.secondary-intro.has-big-image .inner-text,
.explainer-panel.has-big-image .inner-text {
	flex: 1 1 50%;
}

.home-intro .inner-graphic,
.secondary-intro .inner-graphic,
.explainer-panel .inner-graphic {
	flex: 1 1 150px;
}
.explainer-panel .inner-graphic.screenshot {
	flex-basis: 250px;
	margin-top: 30px;
}
.inner-graphic {
	text-align: center;
}
.screenshot img {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.document-list li {
	padding-bottom: 10px;
}

.full-width-divider {
	width: 100%;
	height: 5px;
}

.contact-panel, .statutory-info-panel {
	background: #048eab;
	border-top: 5px solid #eb9636;
	padding-top: 70px;
	padding-bottom: 90px;
	min-height: 120px;
}
.statutory-info-panel {
	padding-bottom: 50px;
	min-height: unset;
}
.contact-panel .rr-button {
	margin-top: 20px;
}
.contact-inner .wrap, .statutory-info-inner .wrap {
	margin: 0 30px;
}


.container.contact-details .wrap {
display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    justify-content: space-between;
    gap: 0 100px;
}
.contact-details .inner-text {
	margin-bottom: 75px;
	flex-grow: 1;
	flex-shrink: 1;
	width: 250px;
}
.contact-details .inner-form {
	width: 500px;
	flex-grow: 1;
}


.contact-details a {
	text-decoration: none;
}
.contact-details i {
	padding-right: 5px;
}

.contact-details .emphasise a {
	text-decoration: underline;
}

.inner-form form {
	margin-top: 30px;
}
.inner-form input, .inner-form textarea {
    width: 100%;
    margin-top: 4px;
    margin-bottom: 12px;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    color: #555;
}
.inner-form textarea {
	height: 100px;
}
.inner-form #submit input {
	width: 150px;
	cursor: pointer;
}

.inner-form .privacy-notice {
	margin: 30px 0 75px;
	font-size: 15px;
}



.contact-inner, .statutory-info-inner {
	max-width: 1140px;
	margin: 0 auto;
	color: #fff;
}
.statutory-info-panel p {
	font-size: 14px;
}




.footer {
    background-color:#000000;
    min-height:60px;
    position:relative;
	padding-top: 20px;
}
.footer-inner {
	max-width: 1140px;
	margin: 0 auto;
}
.footer .wrap {
	margin: 0 30px;
	justify-content: space-around;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
}
.footer-logo {
	padding-top: 8px;
	width: 120px;
}
.footer-copyright, .footer-legal a {
	font-size: 14px;
	font-family: "Proxima Nova Light";
	color: #ccc;
	text-decoration: none;
}
.footer-legal a:hover {
	color: #eb9636;
}

.footer-divider::after {
	color: #ccc;
	content: "|";
	padding: 0 5px;
}

/*

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

    .footer {
        display: flex;
        flex-direction: column;

    }

    .wrap .proxima_light{
        padding-left: 0!important;
        padding-right: 0!important;
        position: static!important;
        margin-left: 0!important;
        margin-right: 0!important;
        margin-bottom: 30%;
    }

    .left {
        padding-left:320px;
    }
    .right {
        padding-right:320px;
    }


    .wrap #span1 {
        width: 70%;
    }
    .wrap #login_buttons {
        margin-right: 30% !important;
        display: flex;
        align-content: center;
        margin-top: 15px;
    }
    #copyright {
        font-size: 10pt;
    }
}

@media (max-width : 392px){
    .wrap #login_buttons {
        margin-right: 40% !important;

    }
}
@media (max-width : 350px){
    .wrap #login_buttons {
        margin-right: 50% !important;

    }
}

@media screen and (max-width: 900px) {
    #span1 {
        margin: 0 15% !important;
    }
}
@media screen and (max-width: 1080px) {
    #span1 {
        margin: 0 15% !important;
    }
}
@media (min-width : 801px){
    p {
        font-size:18pt;
        line-height: 120%;
    }
}
@media (max-width : 800px){
    p {
        font-size:15pt;
        line-height: 120%;
    }
    #site-header .wrap{
        display: flex;
        flex-direction: column;
    }
    .wrap #login_buttons {
        margin-right: 20%;
        margin-top: 15px;
    }

    #span1 {
        width: 60% !important;
    }
}
@media (max-width : 600px){
    p {
        font-size:14pt;
        line-height: 120%;
    }
    #image11 {
        position: relative !important;
        top:0px;
        right: -30px;
    }
    .blue.container {
        height: 300px;
    }

}


*/