@import 'https://fonts.googleapis.com/css?family=Prata|Source+Sans+Pro';
@import 'flickity.css';
@import 'dist/jquery.fancybox.css';

body {
	background-color: #fff;
	margin: 0px;
	padding: 0px;
	font-family: 'Source Sans Pro', sans-serif, sans;
}
img {
	border: 0;
	max-width: 100%;
	height: auto;
}
input, textarea, select {
	font-family:"Open Sans", Calibri, "Trebuchet MS", Arial, Helvetica, sans-serif, Sans;
	font-size: 15px;
	border-radius: 5px;
	padding: 7px;
	border: 2px solid #ccc;
	background-color: #1F4567;
	max-width: 80vw;
	color: #fff;
} 
a[href^="mailto:"]
{
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-all;
  word-break: break-word;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}
table {
	color: inherit;
}
 h1{
    font-weight: 400;
    letter-spacing: 8px;
    font-size: 30px;
    text-transform: uppercase;
    line-height: 30px;
    position: relative;
    padding: 0; 
}
.title{
    font-family: Prata;
    color: #ddd;
    background-color: #333;
    text-align: right;
    padding: 30px 30px 0 30px; 
}
.title h1{
    margin: 10px auto 0 auto;
    font-weight: 400;
    letter-spacing: 8px;
    max-width: 800px;
    font-size: 20px;
    text-transform: uppercase;
    line-height: 30px;
    position: relative;
    padding: 0; 
}
.title h1::first-letter {
    font-size: 300%;
    vertical-align: top;
    letter-spacing: 0px;
    top: 30px;
    position: absolute;
    display: inline-block;
    margin-top: 10px;
}
.title a{
	color: #ddd;
	text-decoration: none; 
}
.layer .title{
    background-color: transparent;
}
.layer .title h1{
    font-size: 50px;
    line-height: 60px; 
    color: #fff;
    text-shadow: 1px 1px rgba(0,0,0,0.5);
}
.layer .title p{
    letter-spacing: 2px;
}
.nav {
	margin: auto;

}
.navigation{
	height: 60px;
	background-color: #1672AC;
	text-align: center;

}
.clearfix::after
{
	content: '';
	display: table;
	clear: both;
}
#nav
{
	width: 60em; /* 1000 */
	font-weight: 400;
	width: 100%;
	position: relative;
	margin: -16px 0 0 0;
	z-index: 1000;
}

#nav > a
{
	display: none;
}
#nav > ul {
    flex-flow: row wrap; 
    display: flex;
    justify-content: center;
    margin: 15px auto; 
    padding-left: 0; 
    max-width: 1200px;
    padding: 0 20px;
}

nav{
    background-color: #333;
}
nav ul{
    display: flex;
    list-style: none;
    margin: auto;
    max-width: 800px;
    text-transform: uppercase;
    font-size: 14px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
}
nav li{
    flex: 1 1 auto;
    padding: 0 3px; 
    position: relative;
}
nav li a{
    color: #ddd;
    text-decoration: none;
    display: block;
    text-align: center;
    line-height: 60px;
    font-weight: 600;
    letter-spacing: 2px;
    transition: 0.3s;
    border-bottom: 0 !important; 
    position: relative;
}
nav li a:hover{
    color: #fff;
    border-bottom: 0 !important; 
}


.bigpicture {
	background-size: cover;
	background-position: center center;
    height: 100%;

}
.grid {
	grid-template-columns: 1fr 1fr 1fr 1fr;
	grid-template-rows: 500px 200px;
	height: 700px;
}
.galleryheading {
	background-color: rgba(132, 176, 64,0.7);
	padding: 30px;
	text-align: right;
	font-size: 30px;
	color: #fff;
	position: absolute;
	bottom: 0;
	top: 0;
	right: 0;
	width: 300px;
	backdrop-filter: blur(7px);
	max-width: 50vw;
}
.page{
	background-position:center center;
	background-size: cover;
	background-repeat: no-repeat;
	position:relative; 
	height: calc(100vh  - 150px);
    width: 100%;
    max-height: 700px; 
}
.gallery-cell {
	width: 100%;
	height: calc(100vh  - 150px);
	margin-right: 10px; 
    max-height: 700px; 
  }
.grey{
    background-color: #444;
}
.maintext{
    color: #eee;
    line-height: 180%;
    max-width: 900px;
    padding: 3vw;
    margin: auto;
}
.maintext a{
    color: #fff;
    text-decoration: none;
    border-bottom: 1px dashed #ccc;
}
.maintext a:hover{
    color: #fff;
    border-bottom: 1px solid #fff;
}
.slidercontainer .layer{
    display: flex;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: center;
    align-items: center;
}
.slidercontainer .layer div{
    z-index: 1;
    width: 400px; 
    text-align: right;
}
.slidercontainer .layer div p, .slidercontainer .layer div h1{
    text-align: right;
}
.slidercontainer{
    position: relative;
}
footer {
    background-color: #333;
    padding: 2vw;
}
footer > div {
    max-width: 1000px;
    line-height: 180%;
    max-width: 900px;
    padding: 1vw;
    margin: auto;
    color: #fff;
}
footer a{
    color: #fff;
    text-decoration: none;
}
footer a:hover{
    text-decoration: underline;
}
.social{
    text-align: center;
}
.social img{
    width: 50px;
    margin: 10px; 
}
.iw {
	font-size: 10px;
	padding: 10px 5vw;
	text-align: right;
	background-color: #333;

} 
.iw a{
	color: #777;
	text-decoration: none;

}
.flexpics, .flexpics2 { 
  font-size: 0;
  display: -ms-flexbox;
  -ms-flex-wrap: wrap;
  -ms-flex-direction: column;
  -webkit-flex-flow: row wrap; 
  flex-flow: row wrap; 
  display: -webkit-box;
  display: flex;
  justify-content: center;
	background-color: #8298A9; 
}
.flexpics a{
	color: #fff;
	text-decoration: none; 

}
.flexpics h2{
	font-weight: normal;	
}
.flexpics > div { 
 flex: 1 1 30%;
  position:relative;
  
}
.flexpics{
	border: 10px solid #8298A9; 
}
.flexpics > div {
  max-width: 50%; 
	border: 10px solid #8298A9; 
	border-radius: 10px;
	position: relative;  	
}
.flexpics > div img { 
  width: 100%; 
  height: 300px; 
  object-fit: cover;
	border-radius: 10px; 
}
.flexpics > div > div{
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
	height: 100%;
	opacity: 1;
}
.flexpics > div > div > div > div > h2 a{
	display: block; 
}
.flexpics > div > div > div > div > h2 {
	line-height: 80px;
	margin: 0; 
}
.flexpics > div > div > div > div {
	padding: 10px;
	background-color: rgba(255,255,255,0.6); 
	border-radius: 10px; 

}
.flexpics > div > div > div {
	color: #333;
	font-size: 16px;
	text-align: center;
	opacity: 0;
	transition: 0.3s;
	z-index: 1;
	position: relative; 
}
.flexpics > div:hover > div > div {
	opacity: 1;
}
.flexpics a{
	position: relative;
	border-bottom: 0 !important; 
	color: #333;
}
.flexpics a:hover{
	border-bottom: 0 !important; 
}
.floors {
	background-color: #6e8393;
}
.floors h2{
	max-width: 900px;
	padding: 0.5vw 3vw;
	margin: auto;
	color: #fff;
    font-weight: 400;
    letter-spacing: 4px;
    font-size: 20px;
    text-transform: uppercase;
    line-height: 30px;
}
#map{
	height: 500px; 
}
.tb-widget{
    min-height: 76px; 
}

/*desktop only*/

  @media only screen and ( min-width: 1200px ) {
    .container{
        padding: 50px;
/*	max-width: 1400px; */
	margin: auto; 
    }
    nav li a::after{
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 2px;
        background: #fff;
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 300ms ease-in;	
        color: #fff;
    }
    nav li  a:hover::after{
        transform: scaleX(1);
        transform-origin: left;
    }

}
  @media only screen and ( min-width: 800px ) {
    .flexrooms.flexpics{
        display: grid;
        grid-template-columns: repeat(auto-fill,minmax(calc(250px + 10vw), 1fr));
        justify-items: center;
    }
    .flexrooms.flexpics.flexpics > div{
        max-width: none;
        flex: unset; 
    }
    .flexpics > div > div{
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
	height: 100%;
	opacity: 1;
	display: flex;
	justify-content: center;
	align-items: center;
}

  }

  /* mobile only */

  @media only screen and ( max-width: 640px ), (max-height: 500px) {
    .slidercontainer .layer{
        display: none;
    }
  }








  @media only screen and ( max-width: 1200px )
		
{
nav li{
    padding: 0;
}	
.nav {
	margin: 0;
	width: auto;
}
.navigation{
	height: auto;
	background-color: rgba(50,50,50,1);

}

#nav > ul {
    background-color: rgba(50,50,50,0.9) !important;
    margin: 0;
}		
		
		
#nav
{
	position: relative;
	top: auto;
	left: auto;
	margin: 0 0 0 0;
}
#nav > a
{
    width: 4em; /* 50 */
    height: 4em; /* 50 */
    text-align: left;
    text-indent: -9999px;
    position: relative;
    /* background-color: rgba(0,0,0,0.9); */
    margin: 0px; 
    }
#nav > a:before,
#nav > a:after
{
    position: absolute;
    border-top: 4px solid #fff;
    top: 29%;
    left: 45%;
    right: 45%;
    content: '';
}
#nav > a:after
{
    top: 45%;
    border-top: 4px solid #fff;		
    border-bottom: 4px solid #fff;
    height: 7px; 
    }
                    
#nav:not( :target ) > a:first-of-type,
#nav:target > a:last-of-type
{
    display: block;
}


/* first level */

#nav > ul
{
    height: auto;
    display: none;
    position: absolute;
    left: 0;
    right: 0;

}
#nav:target > ul
{
    display: block;
}
#nav > ul > li
{
    width: 100%;
    float: none;
}
#nav > ul > li > a, #nav > ul > li.nolink
{
    height: auto;
    text-align: left;
    padding:  0.833em; /* 20 (24) */
    line-height: 20px;
    font-size: 16px; 
}
#nav > ul > li:not( :last-child ) > a
{
    border-right: none;
    border-bottom: 0;
}
.flexpics > div { 
 flex: 1 1 45%;
	max-width: 50%; 
  
}
}



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

.flexpics > div { 
 flex: 1 1 90%;
	max-width: 100%; 
  
}


.flexpics > div > div > div {
	opacity: 1;
	padding: 0; 
	
}
.flexpics > div > div > div > div {
	padding: 0; 
}
*{
	border-radius: 0 !important; 
}
/*.flexrooms div:first-child{
	display: none;
}
*/
.flexpics > div > div > div > div > a:last-of-type, .flexpics > div > div > div > div > a:first-of-type{
	display: none; 
}
.page {
	display: none; 
}
.maintext {
	font-size: 20px; 
}
}






/* * {
    border: 1px solid pink;
} */