/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
*,
*:before,
*:after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	-webkit-font-smoothing: antialiased;
}

article,
footer,
header,
main,
menu,
nav,
section {
	display: block;
}

strong {
	font-weight: bold;
}

img,
.wp-caption {
	max-width: 100%;
	height: auto;
	border: 0;
}

ul,
ol,
li > ul,
li > ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

ul,
ol {
	margin-left: 20px;
	margin-bottom: 20px;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 0;
}

a {
	background-color: transparent;
	-webkit-text-decoration-skip: objects;
}

a:active,
a:hover {
	outline-width: 0;
}

.site-content {
	overflow: hidden;
}

:root {
	--e-global-color-primary: #183870;
}
/*--------------------------------------------------------------
# Sailings form and results
--------------------------------------------------------------*/
#sailings-search__form {
	display: flex;
    align-items: self-end;
    gap: 3rem;
}

.sailings-search__origin,
.sailings-search__dest {
	width: 300px;
}

#sailings-search__form input {
    cursor: pointer;
    font-size: 14px;
    color: #fff;
    background: var(--e-global-color-primary);
    border-radius: 5px;
    padding: 8px 40px;
    border: none;
	outline: 0;
}

#sailings-search__form input:hover {
	outline: 0;
}

#sailings-search__form select {
	padding: 10px;
}

#sailings-search__results {
    margin-top: 5rem;
    margin-bottom: 4rem;
}

#sailings-search__results table {
	border-collapse: collapse;
	width: 100%;
	border: 1px solid #ddd;
	table-layout: fixed;
}

#sailings-search__results thead th {
	font-size: 13px;
    padding: 15px 5px !important;
    color: #fff;
    text-transform: capitalize;
    vertical-align: middle;
    background-color: var(--e-global-color-primary);
}

#sailings-search__results table>tbody>tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}

#sailings-search__results table>tbody>tr:nth-of-type(even) {
    background: #ffffff;
}

#sailings-search__results table td {
	padding: 15px 5px;
	font-size: 13px;
	color: #000;
	vertical-align: middle;
	text-align: center;
}

#sailings-search__results table td img {
	width: 20px;
    height: auto;
}

.sailings-results__comments {
	margin-bottom: 2rem;
}

.sailings-search__notes {
	margin-top: 2rem;
}

@media screen and (max-width: 700px) {
	#sailings-search__form {
		flex-direction: column;
		align-items: baseline;
		gap: 2rem;
	}

	#sailings-search__form select {
		width: 100%;
	}

	#sailings-search__results .sailings-search__origin {
		margin-bottom: 1rem;
	}

	#sailings-search__results .sailings-search__dest {
		margin-bottom: 2rem;
	}

	#sailings-search__results table {
	  border: 0;
	}
  
	#sailings-search__results table thead {
	  border: none;
	  clip: rect(0 0 0 0);
	  height: 1px;
	  margin: -1px;
	  overflow: hidden;
	  padding: 0;
	  position: absolute;
	  width: 1px;
	}
	
	#sailings-search__results table tr {
	  border-bottom: 3px solid #ddd;
	  display: block;
	  margin-bottom: .625em;
	}
	
	#sailings-search__results table td {
		padding: 6px 10px;
	  	border-bottom: 1px solid #ddd;
	  	display: block;
	  	text-align: right;
	}
	
	#sailings-search__results table td::before {
	  content: attr(data-label);
	  float: left;
	  font-weight: bold;
	  text-transform: uppercase;
	}
	
	#sailings-search__results table td:last-child {
	  border-bottom: 0;
	}
  }