/*!
Theme Name: swantravel
Theme URI: https://cornerstonedm.co.uk/
Author: Cornerstone
Author URI: https://cornerstonedm.co.uk/
Description: Swan Travel
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: swan-travel
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

swantravel is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/


/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
   line-height: 1.15;
   -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
   font-family: ITCstd;
   margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
   display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
   font-size: 2em;
   margin: 0.67em 0;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
   box-sizing: inherit;
}

html {
   box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */

@font-face {
   font-family: ITCstd;
   src: url("/wp-content/themes/swan-travel/assets/fonts/ITCAvantGardeStd-Bk.otf");
}

@font-face {
   font-family: ITCxlt;
   src: url("/wp-content/themes/swan-travel/assets/fonts/ITCAvantGardeStd-XLt.otf");
}

@font-face {
   font-family: ITCdemi;
   src: url("/wp-content/themes/swan-travel/assets/fonts/ITCAvantGardeStd-Demi.otf");
}


/* Elements
--------------------------------------------- */
strong{
	font-family: ITCdemi;
}

.wp-block {
   max-width: 1024px;
}

embed,
iframe,
object {
   max-width: 100%;
}

img {
   max-width: 100%;
}

hr {
   border: none;
   background: #b69757;
   display: inline-block;
   height: 10px;
   margin: 30px 0;
   width: 50px;
}

hr.dark-gold {
	 border: none;
	 background: #6e5625;
	 display: inline-block;
	 height: 10px;
	 margin: 30px 0;
	 width: 50px;
}

/* Heading text styles inside a gutenberg cover block */
.wp-block-cover .has-huge-font-size {
 font-family: ITCxlt;
 font-size: 58px;
 letter-spacing: 2px;
}
 
.wp-block-cover .has-huge-font-size strong {
 font-family: ITCstd;
}
 
@media only screen and (max-width: 768px) {
 .wp-block-cover .has-huge-font-size {
 font-size: 42px;
 }
}

@media only screen and (max-width: 576px) {
 .wp-block-cover {
 min-height: 450px !important;
 }
}

/* Centralise the hr inside a gutenberg cover block */
.wp-block-cover {
   flex-direction: column;
	
}

/* Links
--------------------------------------------- */
a {
   color: #000000;
   text-decoration: none;
}

/* Forms
--------------------------------------------- */

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */

header {
   align-items: center;
   display: flex;
   justify-content: space-between;
   padding: 40px 15px;
}

header img {
   width: 150px;
}

.mobile-nav-ctas {
	display: none;
}

.mobile-nav {
	display: none;	
}

.mobile-trigger {
   cursor: pointer;
}

.mobile-trigger .bar1,
.mobile-trigger .bar2,
.mobile-trigger .bar3 {
   width: 35px;
   height: 5px;
   background-color: #897349;
   margin: 6px 0;
   transition: 0.4s;
}

.mobile-trigger.active .bar1 {
   -webkit-transform: rotate(-45deg) translate(-9px, 6px);
   transform: rotate(-45deg) translate(-9px, 6px);
}

.mobile-trigger.active .bar2 {
   opacity: 0;
}

.mobile-trigger.active .bar3 {
   -webkit-transform: rotate(45deg) translate(-8px, -8px);
   transform: rotate(45deg) translate(-8px, -8px);
}

nav {
   z-index: 99;
}

nav span {
   display: none;
}

.menu-top-navigation-container .top-nav li a:hover{
   color: #b69757;
}

.menu-top-navigation-container .top-nav li.button:hover{
   border: #b69757 1px solid;
   color: #b69757;
}

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

	.mobile-nav-ctas {
	  display: block;
		margin: 15px 15px 0 0;
		text-align:right;
	}
	
	.mobile-nav-ctas a {
		border: 1px solid #7a7a7a;
    padding: 13px 10px 10px 10px;	
	}
	
   nav {
      background: #b69757;
      color: #ffffff;
      height: 100%;
      overflow: scroll;
      padding: 20px 0;
      position: fixed;
      left: -250px;
      top: 0;
      transition: left 0.5s;
      width: 250px;
   }

   nav ul {
      margin: 0;
      padding: 0 0 0 15px;
   }

   nav ul li {
      list-style-type: none;
      position: relative;
   }

   nav ul li span {
      display: block;
      cursor: pointer;
      position: absolute;
      padding: 12px 20px;
      right: 10px;
      transition: transform 0.5s;
      top: 0;
   }

   nav ul li span img {
      width: 20px;
   }

   nav ul li span.active {
      transform: rotate(180deg);
   }

   nav ul a {
      color: #ffffff;
      display: block;
      padding: 12px 0;
      transition: color 0.5s;
      width: 100%;
   }

   nav ul a:hover {
      color: #000000;
   }

   nav ul .sub-menu .sub-menu {
      display: none;
   }

   nav.active {
      left: 0;
   }
	
   .desktop-nav {
	display: none;   
  }
	
  .mobile-nav {
	display: block;  
  }
}

@media only screen and (min-width: 960px) {

   .mobile-trigger {
      display: none;
   }

   nav .sub-menu .sub-menu {
      display: block !important;
   }

   header {
      align-items: flex-end;
      margin: 0 auto;
      padding: 60px 15px;
      max-width: 95%;
      width: 1730px;
   }

   header img {
      width: 225px;
   }

   .top-nav {
      align-items: center;
      display: flex;
      justify-content: flex-end;
      margin-bottom: 50px;
   }

   .top-nav li {
      display: inline-block;
      font-size: 14px;
      margin-left: 20px;
   }

   .top-nav li.border {
      border-right: 1px solid #7a7a7a;
      padding-top: 2px;
	  padding-right: 20px;  
   }

   .top-nav li.user-icon:before {
      content: url("/wp-content/themes/swan-travel/assets/images/icons/user-icon.png");
      position: relative;
      right: 5px;
      top: 2px;
   }

   .top-nav li.button {
      border: 1px solid #7a7a7a;
      padding: 13px 10px 10px 10px;
   }

   .top-nav a {
      color: #7a7a7a;
      transition: color 0.5s;
   }

   .top-nav a:hover {
      color: #897349;
   }

   .main-nav {
      border-bottom: 1px solid #999;
      display: flex;
      list-style-type: none;
      margin-bottom: 0;
      padding: 0;
   }

   .main-nav>li {
      border-bottom: 5px solid #fff;
      display: inline-block;
      font-size: 22px;
      margin-left: 70px;
      opacity: 1;
      position: relative;
      padding-bottom: 10px;
      text-transform: uppercase;
      transition: border 0.5s, opacity 0.5s;
   }

   .main-nav>li:before {
      content: url("/wp-content/themes/swan-travel/assets/images/icons/navigation-arrow-right.png");
      position: relative;
      right: 5px;
      top: 2px;
   }

   .main-nav>li:hover {
      border-bottom: 5px solid #897349;
   }

   .main-nav>li:hover .sub-menu {
      opacity: 1;
      visibility: visible;
   }

   .main-nav>li>a {
      color: #000000;
      padding-bottom: 60px;
      text-decoration: none;
   }

   .main-nav>li>.sub-menu {
      background: #fff;
      border: 5px solid;
      border-image-slice: 1;
      border-image-source: linear-gradient(to right, #6e5625, #897349, #8a7242, #b69757, #897349);
      border-radius: 4px;
      display: flex;
      justify-content: space-between;
      top: 60px;
      left: -450px;
      opacity: 0;
      list-style-type: none;
      padding: 40px;
      position: absolute;
      visibility: hidden;
      transition: visibility 0.5s, opacity 0.5s;
      width: 900px;
   }

   .main-nav>li>.sub-menu>li {
      text-transform: initial;
      font-size: 21px;
   }

   .main-nav>li>.sub-menu>li>a {
      color: #000000;
      display: block;
      margin: 0 0 15px 0;
      text-decoration: none;
   }

   .main-nav>li>.sub-menu>li>a:hover {
      color: #897349;
   }

   .main-nav>li>.sub-menu>li>a:after {
      background: #b69757;
      content: "";
      display: block;
      height: 8px;
      margin-top: 10px;
      width: 38px;
   }

   .main-nav>li>.sub-menu .sub-menu {
      flex-direction: column;
      list-style-type: none;
      margin: 35px 0 0 0;
      padding: 0;
   }

   .main-nav>li>.sub-menu .sub-menu li {
      font-size: 16px;
   }

   .main-nav>li>.sub-menu .sub-menu li a {
      color: #000000;
      display: block;
      margin: 15px 0;
   }

   .main-nav>li>.sub-menu .sub-menu li a:hover {
      color: #897349;
      text-decoration: none;
   }

   .main-nav:hover>li {
      opacity: 0.5;
      transition: opacity 0.5s;
   }

   .main-nav:hover>li:hover {
      opacity: 1;
   }
}

@media only screen and (min-width: 960px) and (max-width: 1280px) {
   .main-nav>li>.sub-menu {
      left: -300px;
      width: 600px;
   }
}

/* Footer Mobile
--------------------------------------------- */
.footer-mobile{
   padding: 220px 20px 50px;
   display:none;
}

.footer-mobile .footer-top{
   display: flex;
   flex-direction: row;
   border-bottom:#b69757 2px solid;
   padding:25px 0;
}

.footer-mobile .footer-middle{
   border-bottom:#b69757 2px solid;
   padding:25px 0;
}
.footer-mobile .footer-bottom{
   padding:25px 0;
}

.footer-mobile .footer-secondary-nav{
   display: flex;
   flex-wrap: wrap;
}

.footer-mobile .menu-footer-secondary-container ul li a{
      margin-right: 25px;
      border-right: 1px white solid;
      padding-right: 25px;
}

.footer-mobile .menu-footer-secondary-container ul li:last-child a{
   border-right:none;
}

.footer-mobile .company-name-text{
   padding: 0 15px;
}

.footer-mobile .company-name-text p{
   margin: 5px 0;
}

.footer-mobile .footer-ctas-inner .footer-cta{
   display:flex
}

.footer-mobile .footer-ctas-inner .footer-cta img{
   margin-right:20px
}

.footer-mobile .footer-ctas-inner .footer-cta {
   margin-bottom: 20px;
}

.footer-mobile .footer-cta-buttons .button{
   width:100%
}
.footer-mobile .footer-cta-buttons {
   display:block;
   justify-content:none;
}
.footer-mobile .footer-cta-buttons.button {
   text-align:center;
}

.footer-mobile .footer-cta-buttons a {
   margin: 20px 0px 0px 0px!important;
}

.footer-mobile .footer-main-logo > a > img{
   width:100%;
}

/* Footer
--------------------------------------------- */
.footer-desktop{
	flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    display: flex;
	padding: 270px 0 180px 0;
}

footer {
   background: #000000;
   color: #ffffff;
   
}

footer .row {
   flex-direction: column;
   justify-content: space-between;
}

footer ul {
   margin: 0;
   padding: 0;
}

footer ul li {
   list-style-type: none;
   margin-bottom: 16px;
}

footer ul li a {
   color: #ffffff;
   transition: color 0.5s;
}

footer ul li a:hover {
   color: #897349;
}

.footer-icons {
   padding: 0 55px;
}

.footer-icons .footer-social-logos {
   display: flex;
   margin-top: 20px;
   justify-content: space-between;
}

.footer-primary-menu {
   margin-top: 20px;
   padding: 0 55px;
	font-family: 'ITCxlt';
}

.footer-primary-menu p {
 	font-weight: bold;
 	margin-top: 0;
}

.footer-secondary-menu {
   margin-top: 20px;
   padding: 0 20px;
   font-family: 'ITCxlt';
}

.footer-secondary-menu p {
 	font-weight: bold;
	margin-top: 0;
}

.footer-ctas-inner {
   display: flex;
   flex-wrap: wrap;
}

.footer-ctas-inner .footer-cta {
   font-size: 14px;
   padding: 0 15px;
   text-align: center;
   width: 25%;
}

.footer-cta-buttons{
	display: flex;
	justify-content: flex-end;
}

.footer-cta-buttons a {
   margin: 20px 20px 0 15px;
   min-width: 140px;
   padding: 15px 20px;
   text-align: center;
}

/* Contact Form Styling */

      .contact .container{
         border:black 2px solid;
         padding:20px;
         margin: 20px auto;
      }

      .contact .container .row{
         display:flex;
         flex-direction:column;  
         width:100%;
      }

      .contact .contact-header{
         margin:0px;

      }
      .contact .contact-info{
         display:flex;

      }
      .contact .contact-content{
         background:green;
         color:white;
         font-size:12px;
         padding:10px;     
      }
      .contact .contact-content img{
         width:20px;
      }
/* End Contact Form Styling */

@media (max-width: 576px) {
	.footer-desktop{
		display:none;
	}
	.footer-mobile{
		display:block;
	}
	
	.footer-ctas-inner{
		flex-wrap: wrap;
	}
	
	.footer-ctas-inner .footer-cta{
		width: 50%;
	}
	
	.footer-mobile .footer-primary-menu {
		padding: 0 5px;
		margin-top: 0px;
	}

	.footer-mobile .footer-secondary-menu {
		padding: 0 16px;
	}
}

@media only screen and (min-width: 768px) {
	
	
   footer .row {
      flex-direction: row;
   }

   .footer-primary-menu {
      margin-top: 0;
   }

   .footer-secondary-menu {
      margin-top: 0;
   }
	.footer-icons {
   		padding: 0 0px;
	}
}

@media only screen and (min-width: 1024px) {
   .footer-ctas-inner {
      flex-wrap: nowrap;
   }
}


/* Buttons
--------------------------------------------- */

.button {
   background: none;
   display: inline-block;
   /*padding: 10px 30px;*/
	 padding: 17px 50px;
   transition: border 0.5s, color 0.5s;
   line-height:1;
}

.button.white {
   border: 1px solid #ffffff;
   color: #ffffff;
}

.button.black {
   border: 1px solid #000000;
}

.button:hover {
   border: 1px solid #897349;
   color: #897349;
}

/* Comments
--------------------------------------------- */

/* Widgets
--------------------------------------------- */

/* Media
--------------------------------------------- */

/* Captions
--------------------------------------------- */

/* Galleries
--------------------------------------------- */

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Alignments
--------------------------------------------- */