﻿/*
COLOR PRESETS
@main: #222222;
@background: #DDE0E3;
@white: #FFFFFF;
@grey: #CCCCCC;
@lightgrey: #D8D8D8;
@offwhite: #F3F3F3;
*/

/* FLEX VARIABLES */
.flex { display: flex; }
#sso-ta-iata-search-container, .flex-wrapped {
	display: flex;
	flex-wrap: wrap;
}
.flex100 { flex:1 100%; }
.flex90 { flex:1 90%; }
.flex80 { flex:1 80%; }
.flex75 { flex:1 75%; }
.flex65 { flex:1 65%; }
.flex60 { flex:1 60%; }
.flex55 { flex:1 55%; }
.flex50 { flex:1 50%; }
.flex45 { flex:1 45%; }
.flex40 { flex:1 40%; }
.flex35 { flex:1 35%; }
.flex30 { flex:1 30%; }
.flex25 { flex:1 25%; }
.flex20 { flex:1 20%; }
.flex10 { flex:1 10%; }
.flex1 { flex:1; }
.flex2 { flex:1; }

* {
	box-sizing: border-box;
	font-family: 'Roboto', Arial, Helvetica, sans-serif !important;
}
html, body {
	font-size: 12px;
	line-height: 1.5;
	font-weight: 400;
	color: #333;
	/*text-align: center;*/
	background-color: #DDE0E3;
	font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
h1, h2, h3, h4, h5, h6 {
	text-transform: uppercase;
	font-weight: 700;
	text-align: center;
	font-size: 1.3rem;
}
p { color: #666666; }
a { text-decoration: none; }

.sso-title-bar {
  width: 100%;
  height: 60px;
  margin-top: 30px;
  text-align: center
}

.main-logo {
    display: block;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 0;
    margin: auto;
    justify-self: center;
}

.sso-form {
	width: 100%;
	max-width: 480px;
	margin: 30px auto;
	background-color: #FFFFFF;
	text-align: center;
	position: relative;
	box-shadow: 0 0 30px rgba(0,0,0,0.3);
	border-radius: 5px;
}

.sso-form-nav {
	font-size: 1.2rem;
	font-weight: 800;
	text-transform: uppercase;
	display: flex;
}

.nav-child {
	flex: 1;
	color: #999;
	letter-spacing: 0.2rem;
	padding: 15px 0;
	border-bottom: 3px solid #999;
}

.nav-child:hover {
	color: #4A98FF;
	border-color: #4A98FF;
	text-decoration: none;
}

.nav-child.active {
	color: #222222;
	border-color: #222222;
}

#signInForm {
	display: none;
}

#signInForm p {
    text-align: center
}

#signInForm.active {
	display: block !important;
}

#registerForm {
	display: none;
}

#registerForm #sso-ta-details-form label {
	display: block;
}

#registerForm #sso-ta-details-form select, input {
	width: 100%;
}

#registerForm #sso-ta-details-form input {
	width: 100%;
}

#sso-ta-register-phone-number-container {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
}

#sso-ta-register-phone-number-container label {
    flex: 1 100%;
}

.sso-ta-country-code-container, .sso-ta-area-code-container, .sso-ta-base-phone-number-container {
    flex: 1;
}

.sso-ta-country-code-container, .sso-ta-area-code-container {
    margin-right: 10px;
}

.sso-ta-country-code-container {
    margin-top: -3px;
}

.sso-ta-country-dropdown {
    padding: 0.9em 0.1em;
}

#sso-ta-button-submit-agent-form {
    margin: 20px auto;
    width: 50%;
}

#registerForm.active {
	display: block !important;
}

.sso-form-inner {
	padding:30px 40px 40px 40px;
	position: relative;
    text-align: center;
}

.field { padding: 10px 0; }

.buttons { margin: 5px 0 0 0; }

#sso-ta-iata-search-container, .field label {
	flex:1 100%;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 0.2rem;
}

#sso-ta-iata-search-container label {
    margin: 5px auto;
}

#sso-ta-iata-search-container input {
    margin-bottom: 15px !important;
}

#sso-ta-toggle-search-title {
    color: #000;
    font-weight: 700;
}

#sso-ta-search-input-country-code-hidden, input, .field input {
	flex:1 100%;
	border-radius: 3px;
	padding: 10px;
	border:1px solid #ccc;
	margin: 5px 0;
	text-align: center;
	font-size: 1rem;
}

#sso-ta-toggle-search-container label {
    background-color: #999;
    
}

#sso-ta-toggle-search-container label:hover {
    cursor: pointer;
    background: #000;
    color: #fff;
}

#sso-ta-toggle-search-container input:checked + label {
    background-color: #000;
}

input, #sso-ta-iata-search-container input, .field input:focus {
	border-color: #222222;
	outline: none;
}

select, .field select {
	flex: 1 100%;
	border-radius: 3px;
	padding: 10px;
	border:1px solid #ccc;
	margin: 5px 0;
	text-align: center;
	font-size: 1rem;
}

.field input.phone {
	width: 150px;
}

#agencySearch .field {
	margin: auto;
	margin-left: 35px;
	margin-right: -23px;
}

#agencySearchResult {
	width: 100%;
	padding: 10px;
}

#agencySearchResult ul {
	width: 90%;
}

#agencySearchResult li {
	text-align: left;
	border-bottom: 1px solid #000;
	list-style-type: none;
	padding: 5px 0;
}

::placeholder { color: #CCCCCC; }

.error-state {
	flex:1 100%;
	display: none;
}
.error-state.fail {
	color: #ff0000;
	display: block;
}

.button.default, button.btn{
	background-color: #222222;
	border: 2px solid #222222;
	border-radius: 3px;
	font-weight: 700;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.2rem;
	height:40px;
	line-height: 38px;
	padding: 0;
	margin: auto;
	font-size: 1rem;
	width:300px;
}

button.btn{
	padding: 0 5px;
    margin-right: 10px;
	width:auto;
}

.button.default.find {
	width: 100px !important;
}
.button.default.consent {
    width: 180px !important;
}
.button.inline {
	/* background-color: #222222; */
	border-bottom: 2px solid #222222;
	border-radius: 3px;
	font-weight: 700;
	color: #999;
	text-transform: uppercase;
	letter-spacing: 0.2rem;
	height:40px;
	line-height: 38px;
	padding: 0;
	margin: auto;
	font-size: 1rem;
}

.button.simple {
    background-color: #ffffff; 
    border-bottom: 2px solid #4a4a4a;
    border-radius: 3px;
    font-weight: 700;
    color: #4a4a4a;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    height:40px;
    line-height: 38px;
    padding: 0;
    margin: auto;
    font-size: 1rem;
    width: 180px;
}

.sso-help { padding: 20px 0 0 0; }

.sso-help a {
    color: #999;
	text-transform: uppercase;
	font-weight: 700;
	text-align: center;
	padding: 0;
	/* border-bottom: 2px solid transparent; */
}
.sso-help a:hover {
	color: #222222;
	text-decoration: none;
	border-bottom: 2px solid #222222;
}

.sso-help a:first-child { margin: 0 10px 0 0; }
.sso-help a:last-child { margin: 0 0 0 10px; }

.sso-sub {
	padding: 40px;
	border-top:1px solid #ccc;
}

.sso-sub-dark {
	padding: 40px;
	/*border-top:1px solid #ccc;*/
	background-color: #F3F3F3;
}


.logos {
	display: flex;
	flex-wrap: wrap;
	margin: 20px 0 0 0;
}

.brand {
	flex:1 25%;
	height: 60px;
	position: relative;
	display: flex;
}

.brand img {
	width: 100%;
	margin: auto;
	justify-self: center;
}

#sso-ta-toggle-search-container  {
    flex: 1 50% !important;
}

.sso-ta-agencies-list-agency-link {
	width: 300px;
    height: 22px;
    text-align: left;
    list-style-type: none;
    border-bottom: 2px solid #999;
}

.sso-ta-agencies-list-agency-link a {
	width: 100%;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #999;
}

.sso-ta-agencies-list-agency-link a:hover {
	text-decoration: none;
    color: black;
}

.sso-ta-agencies-list-agency-link:hover {
	border-bottom: 2px solid black;
    color: black;
}

#sso-ta-agencies-and-back-button {
    margin: 25px 0 !important;
}

#sso-ta-main-div ul {
    color: #000;
    padding-left: 0;
}

#sso-ta-agency-data, #sso-ta-agents-div {
    list-style-type: none;
    text-align: left;
}

hr {
    background-color: #000;
}

p {
    text-align: left;
}

#sso-agent-filter {
    width: 100%;
}

.consent-icon {
    width: 16px;
    height: 16px; 
    color: #4a4a4a;
}

.consent-help {
    text-decoration: none;
    color: #4a4a4a;
}

/* styles for validation helpers */
.field-validation-error {
    color: #e80c4d;
    font-weight: bold;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #e80c4d;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #e80c4d;
    font-weight: bold;
    font-size: 1.1em;
}

.validation-summary-valid {
    display: none;
}