/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */

/* Special class on .container surrounding .navbar, used for positioning it into place. */

.navbar-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
}

/* Flip around the padding for proper display in narrow viewports */
.navbar-wrapper > .container {
  padding-right: 0;
  padding-left: 0;
}
.navbar-wrapper .navbar {
  padding-right: 15px;
  padding-left: 15px;
}
.navbar-wrapper .navbar .container {
  width: auto;
}

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 600px) {
  /* Navbar positioning foo */
  .navbar-wrapper {
    margin-top: 20px;
  }
  .navbar-wrapper .container {
    padding-right: 15px;
    padding-left: 15px;
  }
  .navbar-wrapper .navbar {
    padding-right: 0;
    padding-left: 0;
  }

  /* The navbar becomes detached from the top, so we round the corners */
  .navbar-wrapper .navbar {
    /* border-radius: 4px; */
  }

}

/*Terramara edits
==============================================================*/

/*Fonts
---------------------------------------------------*/
/*now done through a script*/

/*Global
---------------------------------------------------*/

html{
  overflow-x:hidden;
}
body {
  background: #88bcea; /* Old browsers */
  background: linear-gradient(to bottom, #88bcea 0%,#f2f9ff 100%); /* W3C */
  background-attachment:fixed;
  overflow-x:hidden;
}

@media (max-width:768px) {
  /*disables gradient background on small browsers as it's broken on Android anyway*/
    body {
    background: #88bcea; /* Old browsers */
  }
}


h1, h2, .h1, .h2 {
  font-family: 'Calligraffitti', Palatino,"Palatino Linotype","Palatino LT STD","Book Antiqua",Georgia,serif;
  font-size:200%;
}

h1,.h1 {
  font-size:250%;
}

h1::before {
  content:"~"
}
h1::after {
  content:"~"
}
h1::before, h1::after {
  font-size:60%;
  padding-left:1em;
  padding-right:1em;
  font-weight:bold;
}

b, strong, p a {
  font-weight:500;
}

p a {
  text-shadow:0px 0px 3px rgba(255,255,255,0.5);
}

p, nav {
  font-weight:300;
  /*-webkit-text-stroke: 0.15px inherit;*/
  -webkit-text-stroke-width:0.15px;
}
h3, h4, .h3, .h4 {
  font-size:150%;
  /* font-size: 38px; */
  font-weight:900;
  color:#334C80;
  -webkit-text-stroke-width: 0.2px;
  /* -webkit-text-stroke-color: inherit; */
}

.panel {
  box-shadow:0 2px 4px rgba(0,0,0,0.3);
}

.navbar-wrapper .navbar{
  border-radius:0;
  background-color:#fff !important;
  box-shadow:0 3px 6px rgba(0,0,0,0.3)
}
.page-header {
  border:none;
  text-align:center;
  text-shadow:0px 0px 5px rgba(255,255,255,1);
  
}

.text-hide {
text-indent: 100%;
white-space: nowrap;
overflow: hidden;
}

.tpad {
  padding-top:30px;
}
.bpad {
  padding-bottom:30px;
}

body > .container, .container-fluid {
  margin-bottom:30px;
  margin-top:30px;
}

.polaroid {
  border-color:white;
  border-style:solid;
  border-width: 10px 10px 30px 10px;
  display:inline-block;
  background:white;

  box-shadow:0px 3px 2px rgba(0,0,0,0.5);
  -webkit-transition-duration: .5s; /* Safari */
    transition-duration: .5s;

  margin:5px;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  /* margin-left: auto; */
  /* margin-right: auto; */
}

.polaroid:hover {
-ms-transform: rotate(2deg) scale(1.03); /* IE 9 */
    -webkit-transform: rotate(2deg) scale(1.03); /* Chrome, Safari, Opera */
    transform: rotate(2deg) scale(1.03);
    -webkit-transition-duration: .5s; /* Safari */
    
    transition-duration: .5s;
 box-shadow:1px 5px 4px rgba(0,0,0,0.6);
}
.polaroid:focus, .polaroid a:focus{
  outline:none;
}
.polaroid img {
  border-radius: 7px;
}

@media (max-width: 991px) {
    .polaroid {
    border-width: 5px 5px 15px 5px;    
  }
  .inline-on-small-media {
    display:inline;
    padding-left:0;
    padding-right:0;
    }
   .block-on-small-media {
     display:block;
   }
}
@media (max-width: 768px) {
  .polaroid-thumbnail img{
    width:120px;
  }
}

/*TITLE - This is the jumbotron at the top
------------------------------------------------------------*/

#titlebanner {
  padding-top:100px;
  background-image: url("../images/title/1-1800.jpg");
  background-repeat:no-repeat;
  background-size:cover;
  height:500px;
  background-position:bottom;
  color:white;
  transition:height 1s;
  position: relative; /* this allows the social badges to float to the bottom*/
}


#titlebanner .container {
  background-image:url("../images/title/Terramara-Rooms.png");
  background-repeat:no-repeat;
  height:200px;
  width:400px;
  float:left;
  margin-left:65px;
}

@media (max-width: 600px) {

  #titlebanner .container {
    width:100%;
    margin-left:auto;
    background-size:contain;
  }
}


#titlebanner p{
  margin-top:-20px;
  margin-left:50px;
  letter-spacing:0.5em;
}

#title-social{
  position:absolute;
  right:50px;
  bottom: 10px;
  transition-duration:1s;
}
#title-social>div{
  padding:4px;
}
@media(max-height:680px){
  div#titlebanner {
    height:350px;
  }
  #title-social{
  top: 300px;
}
}
/*NAVBAR
------------------------------------------------------------*/

.navbar {
  border:0;
  z-index:100;
}

.navbar .nav, .navbar .nav > li {
    float:none;
    display:inline-block;
    *display:inline;
    /* ie7 fix */
    *zoom:1;
    /* hasLayout ie7 trigger */
    vertical-align: top;
}
.navbar-inner {
    text-align:center;
}

#navbar-label, button.navbar-toggle {
  display:inline-block;
  float:initial;
}

#navbar-label{
    position: absolute;
    top: 16px;
    right: 100px;
}
#navbar-logo{
    position: absolute;
    height:40px;
    width:87px;
    top: 4px;
    left:20px;
    background-image:url("../images/navbar/Terramara-Rooms.gif");
    display:none;
}

.navbar-header {
  text-align:right;
}
@media (min-width: 768px){
  #navbar-label, .navbar-toggle, #navbar-logo {
    display:none !important;
  }
}

.nav>li>a{
  font-size:90%;
  padding:15px 8px;
}

.goToTop {
  position: fixed;
  top: 0;
  height: 70px;
  z-index: 1;
}

.navbar li {
  box-shadow: inset 0px 0px 0px #CCE2FF;
  transition-duration:0.3s;
}

.navbar li a:hover{
  box-shadow: inset 0px -5px 0px #CCE2FF;
  transition-duration:0.3s;
}

.navbar li.active a{
  box-shadow: inset 0px -5px 0px #94C2FF;
  transition-duration:0.3s;
  background-color:#eee !important;
}

/*INTRO
------------------------------------------------------------*/
/*allow it to be smaller on small devices*/

@media (max-width: 768px) {
  div.ma-polaroid-thumbnail img {
    width:100px;
    border-width: 5px 5px 15px 5px;
  }
  div.ma-column {
    display:inline-block;
    float:left;
    margin-bottom:10px;
  }
}
 
 .handwriting {

     font-family: 'Calligraffitti', Palatino,"Palatino Linotype","Palatino LT STD","Book Antiqua",Georgia,serif;
     -ms-transform: rotate(-3deg); /* IE 9 */
    -webkit-transform: rotate(-3deg); /* Chrome, Safari, Opera */
    transform: rotate(-3deg);
  font-size:200%;
  color:#334C80;
 }

 .bottom-divider {
   padding-bottom:4px;
   border-bottom:1px solid #93A1BD;
   border-bottom:1px solid rgba(51,76,128,0.1);
 }

 #facilities-container {
   background:#CCE6FF;
   background:rgba(255,255,255,0.3);
 }

 /*PHOTO ALBUM
------------------------------------------------------------*/
/*allow it to be smaller on small devices*/

#photoalbum-container {
  background-color: #64794D;
  border:none;
}

#photoalbum-container h1 {
  color:white;
  text-shadow:0px 0px 5px black;
}

.widSSP{
  width: 100% !important;
}
.widSSPH11 {
  font-size: 13px !important;
}

@media (min-width: 768px) {
  div.widSSPBranding{
    margin-top:15px !important;
    padding-bottom:17px !important;
    text-align:center;
    padding-left:10%;
  }
}

div.theme-tripadvisor, div.theme-facebook{
  color:white;
  font-size:14px;
  border:1px white solid;
}

 /*SOCIAL
------------------------------------------------------------*/
/*Facebook stuff*/
.fb-like-box, .fb-like-box span, .fb-like-box span iframe[style] { width: 100% !important; }


div.theme-facebook{
  background:#3b5998;
  color:white;
  font-family:helvetica,"helvetica", "Arial", arial, sans-serif;
  font-weight:bold;
  text-shadow: -1px -1px #283a6d;
}

div.theme-tripadvisor {
  background: #307A24;
  font-family:Tahoma, "Tahoma","helvetica", "Arial", arial, sans-serif;
}

@media (min-width: 992px){ /* greater than 992*/
  #social-container {
  width: 800px;
}
}


@media (max-width: 768px) { /*greater than 768 */
  #social-container {
    max-width: 470px;
  }
}



 /*MAP
------------------------------------------------------------*/

#map-container {
  padding-left:0;
  padding-right:0;
}
#map{
  border-radius:4px;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.5);
}
#map-shadow-container{
  padding:4px 3px 2px 3px;
  background-color:#eee;
  border-radius:4px;
  box-shadow: inset 0 2px 2px rgba(0,0,0,.5);
  webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
  moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
}

#static-map-placeholder-floating-box{
  background-image:url("https://maps.googleapis.com/maps/api/staticmap?center=35.5061,23.7144&format=png&zoom=13&size=600x400&markers=color:blue|35.5061,23.7344&maptype=terrain");
  background-size:cover;
  background-position: center;
  border:0;
}

@media (max-width:768px){
  #static-map-placeholder{
    display:block !important;
  }
  #map-shadow-container{
    display:none;
  }
}


/*CONTACT
------------------------------------------------------------*/

span.contact-form-verification-image {
  padding:0;
}
input.contact-form-verification-text {
  height:52px !important;
}
.large-send-button button {
  width:100%;
  height:50px;
}
#contact-container button {
  transition-duration:0.3s;
}
label small {
  font-weight:300;
}
.control-label abbr{
  border:0;
  text-size:80%;
  text-align:text-top;
  color:#aaa
}
.control-label abbr:hover{
  color:#337ab7;
}

/*FOOTER
------------------------------------------------------------*/
div.footer{
  text-align:center
}
.footer li {
  list-style:none;
  display:inline-block;
  margin:0 15px;
  text-transform:uppercase;
  color:#bbb;
  font-weight:500;
  text-shadow: 1px 1px rgba(255,255,255,0.2),-1px -1px rgba(0,0,0,0.2);
}
.footer a{
  color:#bbb;
}
@media(max-width:768px){
  .footer li {
    color:#eee;
  }
  .footer a{
    color:#eee;
  }
  div.footer{
    padding-bottom:0;
    padding-top:0;
  }
}

/*LIGHTBOX
------------------------------------------------------------*/
.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
  opacity: 0;
  -webkit-backface-visibility: hidden;
  /* ideally, transition speed should match zoom duration */
  -webkit-transition: all 0.3s ease-out; 
  -moz-transition: all 0.3s ease-out; 
  -o-transition: all 0.3s ease-out; 
  transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
    opacity: 1;
}
.mfp-with-zoom.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.mfp-with-zoom.mfp-removing .mfp-container, 
.mfp-with-zoom.mfp-removing.mfp-bg {
  opacity: 0;
}

div#tourist-token {
    font-variant-numeric: lining-nums;
    background: #0009;
    font-size: 80%;
    width:89px;
    margin:4px;
    text-align:center;
}
div#ta-title{
width: 89px;
    text-align: center;
    font-size: 90%;
    background: #0757;
    margin: 4px;
    margin-bottom: -5px;
    }
