* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}
  
html, body {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    text-align: center;
    line-height: 24px;
    color: #3A3B3D;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1 {
    font-size: 48px;
    font-weight: 300;
    line-height: 56px;
}

h2, h3, h4, h5 {
    font-family: 'Merriweather',sans-serif;
    font-variant-numeric: lining-nums;
}

h2 {
	font-size: 36px;
	font-style: normal;
	font-weight: 400;
	line-height: 48px;
}

h4 {
    font-size: 20px;     /* --sgi-font-heading-xl */
    line-height: 32px;
    font-weight: 700;     /* --sgi-fontWeights-bold */
}

h5 {
    font-size: 18px;
    line-height: 28px;
	font-weight: 700;    
}
  
ul {
    list-style-type: none;
    margin: 0;
}

a,
a:visited {
    color: #007480;
    text-decoration: underline;text-decoration-color: #007480;
    font-weight: bold;
}

a:hover { 
	color: #005D66;
	text-decoration-color: #005D66;
}

a:active {
    color: #00464D;
	text-decoration-color: #00464D;
}

a:focus, button:focus {
	outline: 3px solid #99C7CC;
}

a:focus:not(:focus-visible), button:focus:not(:focus-visible) {
  outline: none;
}

.body-wrapper {
	display: flex;
    flex: 1;
    flex-direction: column;
    padding: 40px 40px 100px 40px;
}

.body-wrapper.image-screen {
	flex-direction: row;
	padding: 0;
	gap: 0;
}

.image-screen.not-fullscreen {
	height: calc(100vh - 95px);
	min-height: 700px;
    max-height: 890px;
	flex: unset;
}

/*header styles START*/

header {
    height: 60px;
    border-bottom: 1px solid #D3D4D6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
}

header .logo-container {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.toggle-container {
    display: flex;
    border-radius: 8px;
    background-color: #002E33;
}

a.toggle-btn, a.toggle-btn:visited {
    padding: 0px 40px;
    background-color: #002E33;
    border-radius: 8px;
    height: 28px;
    line-height: 28px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    text-decoration: none;
}

a.toggle-btn:focus {
	outline-offset: 0;
}

a.toggle-btn:hover {
	color: #E6F1F2;
}


a.toggle-btn:active {
	color: #99C7CC;
}

a.toggle-btn.active {
	color: white;
    background: linear-gradient(94deg, #339099 -7.12%, #007480 100%);
}

a.toggle-btn.active:hover {
	background: #005d66;
}

a.toggle-btn.active:active {
	background: #00464d;
}

/*header styles END */

h1#welcome {
	margin-bottom: 25px;
}

#banner {
	max-height: 100%; max-width: 100%;
}

#banner-container {
	height: 125px; 
	display: none; 
	align-items: center; 
	justify-content: center;
}

.content-wrapper {
    display: flex;
    width: 100%;
	min-height: 500px;
    overflow: hidden;
}

section.content {
	width: 100%;
    display: flex;
	padding: 40px;
	border-radius: 8px;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 40px;
	align-self: stretch;
	background-color: #F2F8F9;
}

.cards-container {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	width: 100%;
}

.card h4 {
	font-family: "Open Sans", sans-serif;
} 

.adaptive-frame {
    padding: 60px 40px;
	min-width: 468px;
    max-width: 482px;
	box-sizing: content-box;
	z-index: 1;
}

.login-form {
    width: 60%;
    height: 100%;
    box-sizing: content-box;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: stretch;
	text-align: left;
}

.login-form form {
    display: flex;
    flex-direction: column;
}

form {
    display: flex;
    flex-direction: column;
    text-align: left;
}

form label.required::after {
	content: "*";
	color: #007480;
	font-weight: bold;
	margin-left: 3px;
}

select {
	font-size: 16px;
	line-height: 24px;
	height: 2.5rem;
	width: 100%;
	margin: 0.5rem 0;
	border: 1px solid transparent;
	border-color: #D3D4D6;
	border-radius: 8px;
	padding: 0 2rem 0 1rem;
	font-family: "Open Sans", sans-serif;
	transition-property: border-color, box-shadow;
	transition-duration: 200ms;
	appearance: none;
	outline: none;
	display: inline-block;
}

select option {
	zoom: 1.25;
}

select:hover {
	border-color: #BDBFC1;
}

select:focus {
	border: 2px solid #007480;
	box-shadow: 0 0 0 3px #99c7cc
}

#selectArrow { position: relative;}

#selectArrow::after {
   content: "";
   background: url(/images/chevron-down.svg) no-repeat center;
   position:absolute;
   pointer-events:none;
   height: 100%;
   width: 1.5rem;
   right: 0.5rem;
}

 button.primary-btn, a.primary-btn {
    width: 100%;
    height: 48px;
    text-align: center;
	text-decoration: none;
    border-radius: 8px;
    background-color: #007480;
    color: #FFF;
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
    cursor: pointer;
    margin-top: 32px;
}

a.primary-btn, a.secondary-btn {
	display: flex;
	justify-content: center;
    align-items: center;
}

 button.primary-btn:hover, a.primary-btn:hover {
    background-color: #005d66;
}

 button.primary-btn:active, a.primary-btn:active {
    background-color: #00464d;
}

button.secondary-btn, a.secondary-btn {
  padding: 10px 16px;
  display: flex;
  height: 40px;
  align-items: center;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  cursor: pointer;
  background-color: transparent;
  color: #007480;
  font-weight: bold;
  border: 1px solid #007480;
  gap: 8px;
}

button.secondary-btn:active, a.secondary-btn:hover {
  color: #005D66;
  border-color: #005D66;
  background-color: #E6F1F2;
}

button.secondary-btn:active, a.secondary-btn:active { 
  color: #00464D;
  border-color: #00464D;
  background-color: #99C7CC;
}

.icon {
  width:16px;
  height: 16px;
}

p#register {
    text-align: center;
    position: relative;
    margin-top: 32px;
    z-index: 0;
}

#register-link {
    color: #007480;
    text-decoration: underline;
    font-weight: bold;
	border: none;
	background: none;
	font-size: 16px;
	display: inline;
	cursor: pointer;
}

#register-link:hover{ 
	color: #005D66;
	text-decoration-color: #005D66; 
}
#register-link:active {
     color: #00464D;
	 text-decoration-color: #00464D;
}

.banner {
    width: 40%;
    height: 100%;
    background-image: url(/images/mainbanner.jpg);
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: center;
    background-size: cover;
    z-index: -1;
    position: relative;
}

.personal.vectors {
	display: none;
	position: absolute;
    background-image: url(/images/Blinkers-customer-desktop.svg);
    height: 40%;
    width: 95vw; 
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position-x: right;
    background-position-y: 80%;
    background-repeat: no-repeat;
}

.vectors-wrapper {
    z-index: -1;
    position: relative;
}

.card {
	display: flex;
	padding: 32px 29px;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	text-align: left;
	gap: 16px;
	flex: 1 0 0;
	border-radius: 8px;
/*	border: 1px solid #D3D4D6;*/
	background: #FFF;
}


@media only screen and (max-width: 1135px) {
	
	#banner-container {
		height: 50px; 
    }
	
	.body-wrapper.image-screen {
    	min-height: auto;
		height: auto;
		max-height: none;
		flex: 1;
	}
	
	header {
   	 	justify-content: space-between;
	}
    
    .banner {
        width: 100%;
        background-position-y: center;
		height: 0;
        padding-top: calc(200 / 393* 100%);
        background-size: 110%;
        background-position-y: 70%;
        background-repeat: no-repeat;
        position: relative;
    }
	
	.personal.banner {
		background-size: 135%;
		background-position-y: 35%;
	}
	
	.personal.vectors {
		display: block;
		background-image:  url("/images/Blinker-customer-mobile.svg");
		height: 0;
		width: 100%;
		top: 80%;
		left: auto;
    	padding-top: calc(120 / 393 * 100%);
    	background-position-y: 24%;
		background-position-x: 36%;
    	background-repeat: no-repeat;
		position: absolute;
        padding-right: 0;
	}
	
	.vectors-wrapper {
   		display: none;
	}
	
    .content-wrapper {
        flex-direction: column-reverse;
        justify-content: flex-end;
		min-height: auto;
    }
	
    .login-form {
        width: 100%;
		align-items: flex-start;
        height: auto;
    }

    .login-form div {
        min-width: 60%;
    }

	select option {
		zoom: 1.1;
	}
}

@media only screen and (max-width: 855px) {
	.cards-container {
		grid-template-columns: 1fr;
	}
	
}

@media only screen and (max-width: 767px) {
	.body-wrapper {
		padding: 0 16px 40px 16px;
	}
	
	.adaptive-frame {
    	padding: 64px 16px 40px 16px;
	}
	
	section.content {
		padding: 23px 16px;
		gap: 8px;
	}
	
	form label {
        padding-top: 16px;
    }
	
	label, p, select, a {
		font-size: 14px;
		line-height: 24px;
	}
	
	.login-form div {
        min-width: 70%;
    }

    h1 {
        font-size: 36px;
        line-height: 44px;
		text-align: left;
    }
	
	h2 {
		font-size: 28px;
		line-height: 40px; 
	}
	
	h4 {
		font-size: 16px;     
		line-height: 24px;
		font-weight: 700;
	}
	
	h1#welcome {
		margin-bottom: 0;
	}
	
	p#register {
		margin-top: 0;
		font-size: 12px;
	}
	
	#register-link {
		font-size: 14px;
	}
	
	.card {
		padding: 16px;
	}
    	
	button.primary-btn, button.secondary-btn {
        margin-bottom: 16px;
    }
    
	button.primary-btn, a.primary-btn {
		font-size: 14px;
		line-height: 24px;
		height: 44px;
	}
	
	button.secondary-btn, a.secondary-btn {
		font-size: 14px;
		line-height: 24px;
		height: 32px;
	}
}

@media only screen and (max-width: 660px) {

    header {
        flex-direction: column;
        gap: 15px;
        height: initial;
        padding: 16px;
    }

    a.toggle-btn, a.toggle-btn:visited {
        height: 40px;
        line-height: 40px;
		font-size: 16px;
        padding: 0 35px;
    }
	
	.login-form div {
        min-width: 80%;
    }
}

@media only screen and (max-width: 470px) {
	
	.adaptive-frame {
		width: 100%;
	}
}

@media only screen and (max-width: 390px) {
    .toggle-container {
        width: 100%;
        justify-content: space-between;
    }
	
	#banner-container {
    height: initial;
    }

    a.toggle-btn {
        flex: 3;
        padding: initial;
    }

    a.toggle-btn.active {
        flex: 2;
        padding: initial;
    }
	
}