html:after{
  content:"";
}

.rotatebg {
  height:100vh; /* fix for mobile browser address bar appearing disappearing */
  width: 100%;
  position:fixed; /* stretch a fixed position to the whole screen */
  top: 0px;
  z-index: -998;
  display: block;
  opacity: 0;
  -webkit-transition: opacity 2s ease-in;
  -moz-transition: opacity 2s ease-in;
  -ms-transition: opacity 2s ease-in;
  -o-transition: opacity 2s ease-in;
  transition: opacity 2s ease-in;
}

.rotatebg.show {
  opacity: 1;
}

body {
    background:#474a51;
	min-height:100%;
	-webkit-font-smoothing: antialiased;
	-webkit-overflow-scrolling: touch;;
	line-height: 1.5em;
	font-size:18px;
	font-family: 'Oswald';
	color:#fdddad;
	font-weight: normal;
	padding-top: 65px;
	padding-bottom: 50px;
}

h1 {
    font-family: 'Dudok', cursive;
    text-shadow: #fff 0.1em 0.1em 0.1em;
    font-size: 28px;
	  color:#fff;
}

h2 {
    font-family: 'Dudok', cursive;
    text-transform: none;
    font-size: 25px;
	  color:#fff;
}

h3 {
    font-family: 'Dudok', cursive;
    font-size: 23px;
	  color:#fff;
}

h4,
h5,
h6 {
    font-size: 22px;
    margin: 0 0 20px;
    font-family: 'Dudok', cursive;
    letter-spacing: 1px;
	  color:#fff;
}

/*------------------------
	Header (including MENU)
--------------------------*/
.responsive {
	display: none;
}

.header-section {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 999;
	padding: 0 40px;
    letter-spacing: 3px;
    font-family: 'Josefin Sans', cursive;
    font-size: 13px;
    color: #fff;
    background-color: #474a51;
	-webkit-transition: all 0.4s ease 0s;
	-o-transition: all 0.4s ease 0s;
	transition: all 0.4s ease 0s;
}

.header-section .logo {
	display: inline-block;
	float: left;
}

.header-section .logo img {
    background-color: #474a51;
	width: auto;
	margin-left: -35px;
	padding-right: 15px;
	-webkit-transition: all 0.4s ease 0s;
	-o-transition: all 0.4s ease 0s;
	transition: all 0.4s ease 0s;
}

.header-section .menu-list {
	list-style: none;
	float: right;
}

.header-section .menu-list li {
	display: inline;
    padding: 0 5px 0 10px;
    border-left: solid 1px #f18e00;
}

.header-section .menu-list li:first-child {
    border-left: none;
}

.header-section .menu-list li a {
	display: inline-block;
	margin-bottom: -30px;
	margin-top: 5px;
	color: #f18e00;
	position: relative;
    font-family: 'Josefin Sans', cursive;
    font-size: 13px;
	letter-spacing: 0.09em;
	text-transform: uppercase;
  	text-shadow: #000 0 0.1em 0.1em;
	-webkit-transition: all 0.2s ease 0s;
	-o-transition: all 0.2s ease 0s;
	transition: all 0.2s ease 0s;
}

.header-section .menu-list li a:hover,
.header-section .menu-list li a.active {
  text-shadow: #000 0.5em 0.5em 0.5em;
}

.header-section .menu-list li:last-child a {
	margin-right: 0;
}

.header-section .menu-list .current a:after {
	width: 10px;
	margin-left: -5px;
}

/* ===========================
	Responsive Header
==============================*/

/* Large Mobile :480px. */
@media only screen and (max-width: 767px) {
	.header-section .menu-list {
		display: none;
		width: 100%;
		float: none;
		left: 0;
		clear: both;
		margin-left: -65px;
		margin-bottom: -3px;
	}
	.header-section .menu-list li {
		display: inline;
	}

	.header-section .menu-list li a {
		margin-right: 0;
	}
	.header-section .menu-list li a:after {
		left: 0%;
	}
	.header-section .menu-list li a:hover:after {
		width: 10px;
		margin-left: 10px;
	}
	.header-section .menu-list .current a:after {
		margin-left: 10px;
	}
	.responsive {
		display: block;
    color:#f18e00;
		font-size: 30px;
		position: absolute;
		right: 10px;
		padding-top: 3px;
	}
  .img-fluid {
    max-width: 300px !important;
    height: auto !important;
  }
}

/* small mobile :320px. */
@media only screen and (max-width: 479px) {
	.header-section {
		padding: 0 20px;
	}
}

/* xs small mobile */
@media only screen and (max-width: 320px) {
	.header-section .menu-list li {
		display: block;
	}
}

/*-----------------------------------
	Universal - Containers & Sections
------------------------------------*/

.container-fluid {
  z-index: 1;
  background-color: rgba(71, 74, 81, 0.8);
  padding-top: 15px;
}

.section {
	z-index: 1;
	width: 100%;
	height:100%;
	overflow:hidden;
	padding-top:50px;
	padding-bottom:10px;
	display:none;
	top:0;
}

.fancybox-container {
    font-family: 'Josefin Sans', cursive;
	font-weight: bold;
	font-size: 18px;
}

/* Show one of sections */
#head {
	display: block;
}

.hidden {
    display: none;
}


/********************************************************/
/*                      Typography                      */
/********************************************************/
@font-face {
    font-family: 'Dudok'; /*a name to be used later*/
    src: url('../fonts/dudokb.otf'); /*URL to font*/
}

@font-face {
    font-family: 'Dudok'; /*a name to be used later*/
    src: url('../fonts/Dudok_c.ttf'); /*URL to font*/
}

@font-face {
    font-family: 'Dudok-TL'; /*a name to be used later*/
    src: url('../fonts/Dudok_ct.ttf'); /*URL to font*/
}

a { color:#f18e00; text-decoration: none; }
a:hover, a:active { color:#fff; text-decoration: none; }
.lead {
	font-weight:normal;
	font-size:2.0em;
	line-height:1.2em;
}



.title,
.subtitle {
  font-family: 'Dudok', cursive;
	text-transform: uppercase;
	font-weight:400;
	font-size:4em;
	text-shadow: grey 0.1em 0.2em 0.1em;
	z-index: 2;
	color:#fdddad;
	margin-bottom:15px;
	line-height:1em;
}
.subtitle {
	line-height:.9em;
	font-size:3.5em;
	margin-top:0;
	margin-bottom:40px;
}
/* Mobile */
@media (max-width: 767px) {
.title,
.subtitle {
	font-family: 'Dudok', Helvetica, Arial, sans-serif;
	text-transform: uppercase;
	font-weight:400;
	font-size:2em;
	text-shadow: grey 0.1em 0.2em 0.1em;
	z-index: 2;
	color: #fdddad;
	margin-bottom:15px;
	line-height:1em;
	}
}
/* Tablet */
@media (max-width: 991px) and (min-width: 768px) {
.title,
.subtitle {
	font-family: 'Dudok', Helvetica, Arial, sans-serif;
	text-transform: uppercase;
	font-weight:400;
	font-size:3em;
	text-shadow: grey 0.1em 0.2em 0.1em;
	z-index: 2;
	color: #fdddad;
	margin-bottom:15px;
	line-height:1em;
	}
}

.tagline {
	font-family: 'Dudok', Helvetica, Arial, sans-serif;
	font-size:2.0em;
	line-height:1.3em;
	font-weight:normal;
	margin-bottom:75px;
}

@media (max-width: 767px) {
	.lead {
		font-size:1.3em;
	}
}

/* Specific typography for FOOTER  */
.footer-text {
    font-family: 'Josefin Sans', cursive;
    font-weight: 400;
    font-size: 13px;
   	color: #fdddad;

}
footer {
    padding: 50px 0;
}

footer p {
    margin: 0;
}


/********************************************************/
/*                   UI - Buttons                       */
/********************************************************/
.btn{
	color:#fdddad;
	text-shadow: none;
	text-decoration: none;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	border:0 none;
}
.btn:hover {
  background: rgba(255,255,255,.2);
  border: solid 1px #f18e00;
  color:#f18e00;
 -webkit-box-shadow: -2px 2px 5px 1px #f18e00;
    -moz-box-shadow: -2px 2px 5px 1px #f18e00;
         box-shadow: -2px 2px 5px 1px #f18e00;
}
.btn-lg {
	padding:16px 30px;
	font-size:inherit;
}

.btn-link {
	color:rgba(255,255,255,.8);
}
.btn-link:hover, .btn-link:focus, .btn-link:active {
	color:#fff
}
.btn-default {
	background: rgba(255,255,255,.2);
}
.btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default.active {
	background: rgba(255,255,255,.3);
}

.btn-primary {
  background: rgba(255,255,255,.2);
  border: solid 1px #fdddad;
  color: #fdddad;
 -webkit-box-shadow: -2px 2px 5px 1px #fdddad;
    -moz-box-shadow: -2px 2px 5px 1px #fdddad;
         box-shadow: -2px 2px 5px 1px #fdddad;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary:active {
	background: rgba(255,255,255,.3);
}


/********************************************************/
/*                 UI - Thumbnails                      */
/********************************************************/

.home {
  padding-bottom: 10px;
  padding-right: 10px;
}
.border {
	background-color: rgba(255,255,255,.1);
	border: 0px none;
	padding:10px;
	-webkit-border-radius: 2px;
	   -moz-border-radius: 2px;
	        border-radius: 2px;
}
.thumbnail {
	background-color: rgba(255,255,255,.1);
	border: 0px none;
	padding:10px;
	-webkit-border-radius: 2px;
	   -moz-border-radius: 2px;
	        border-radius: 2px;
}
.thumbnail .caption {
	color: inherit;
}

/********************************************************/
/*                 UI - Owl Carousel                    */
/********************************************************/
// remove bootstrap gutter
.row.no-gutter {
  margin-left: 0;
  margin-right: 0;
}

.row.no-gutter [class*='col-']:not(:first-child),
.row.no-gutter [class*='col-']:not(:last-child) {
  padding-right: 0;
  padding-left: 0;
}

.img-featured-container {
  overflow: hidden;
  position: relative;
}

.img-featured-container img {
  width: 10%;
}

.img-featured-container .img-backdrop {
  background: linear-gradient(135deg, rgba(38, 163, 255, 0.85), rgba(83, 201, 179, 0.85));
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1;
  opacity: 0;
  transition: all 0.3s ease;
}

.img-featured-container:hover > .img-backdrop {
  opacity: 1;
}

// center text horizontally and vertically on image hover
.img-featured-container .description-container {
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
  padding: 0 30px;
  text-align: center;
  line-height: 20px;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform-style: preserve-3d;
  z-index: 2;
  opacity: 0;
  transition: all .2s ease;
}

.img-featured-container .description-container .fa-instagram {
  font-size: 40px;
}

.img-featured-container .description-container p {
  font-weight: 300;
  margin-bottom: 0;
}

.img-featured-container:hover .description-container {
  opacity: 1;
}

.img-featured-container .description-container .caption {
  display: none;
  margin-bottom: 10px;
}

.img-featured-container .description-container .likes,
.img-featured-container .description-container .comments {
  margin: 0 5px;
}

// load more button
#btn-instafeed-load {
  color: #fff;
  background: #26a3ff;
  margin: 20px auto;
  padding: 8px 12px;
  display: block;
  border: none;
}

// media queries
@media screen and (min-width:768px) {
  .img-featured-container .description-container .caption {
    display: block;
  }
}

/*-----------------------------------
	UI: Maps
------------------------------------*/
/* Map section */
#map {
    width: 100%;
    height: 500px;
    margin-top: 25px;
}

/* Large Mobile :480px. */
@media only screen and (max-width: 767px) {
    #map {
        height: 700px;
    }
}

/* small mobile :320px. */
@media only screen and (max-width: 479px) {
    #map {
        height: 700px;
    }
}
/*-----------------------------------
	UI: Ajax Modals
------------------------------------*/
/* Custom modal content styling */

.modal-container {
  max-width: 500px;
  padding: 0;
  margin: 20px 0;
  border-radius: .3em;
  box-shadow: 0 0.1em 0.4em rgba(0,0,0,.3);
}

.modal-title {
  font-weight: 700;
  padding: 1.5em;
  font-family: 'Dudok', Helvetica, Arial, sans-serif;
}

.modal-body {
  max-height: calc(100vh - 230px);
  min-height: 50px;
  padding: 0 1.5em 1.5em 1.5em;
  overflow-y: auto;
}

.modal-footer {
  padding: 1.5em;
  text-align: right;
}

p:first-child {
  margin-top: 0;
}

/********************************************************/
/*                 UI - Project Gallery                 */
/********************************************************/
.imgContainer {
  width: 100px;
  height: 100px;
  overflow: hidden;
  text-align: center;
  margin: 10px 20px 10px 0;
  float: left;
  border: solid 1px #999;
  display: block;
}
.imgContainer:hover{
  border-bottom: solid 1px #444;
  border-left: solid 1px #444;
  margin: 9px 19px 11px 1px;
 -webkit-box-shadow: -3px 3px 10px 1px #777;
    -moz-box-shadow: -3px 3px 10px 1px #777;
         box-shadow: -3px 3px 10px 1px #777;
}
#galleryTab {
  margin: 10px 5px 20px 0;
  top: 26px;
  width: 450px;
}
.galleryWrap {
  padding: 0 0 30px;
}
.filter {
  border: 1px solid #ccc;
  background-color: rgba(71, 74, 81, 0.9);
  float: left;
  font-size: 13px;
  padding: 5px 15px;
  text-align: center;
  text-decoration: none;
  text-transform: capitalize;
 -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
         border-radius: 3px;
}
.filter:hover, .filter.active {
  border-bottom: solid 1px #fdddad;
  border-left: solid 1px #fdddad;
  color: #fdddad;
 -webkit-box-shadow: -2px 2px 5px 1px #fdddad;
    -moz-box-shadow: -2px 2px 5px 1px #fdddad;
         box-shadow: -2px 2px 5px 1px #fdddad;
}

/********************************************************/
/*                 Everything else                      */
/********************************************************/

.list-social .btn {
	font-size:1.3em;
}
.list-social .btn:hover, .list-social .btn:active, .list-social .btn:focus {
	text-decoration: none;
}


/* Social buttons in the footer */
#social {
	margin-top:50px;
	margin-bottom:50px;
}
#social .wrapper {
	width:340px;
	margin:0 auto;
}

.table td, .table th{
	padding-left: 0 !important;
	padding-right: 0 !important;
}
.table-borderless {
	border-top: none !important;
	padding-top: 0 !important;
}
.table-text {
    font-family: 'Dudok', cursive;
		font-size: 12px;
}

.table-subtext {
    font-family: 'Lato', cursive;
		font-size: 11px;
}

.table-borderless {
	border-top: none !important;
	padding-top: 0 !important;
}

.table-nonfluid {
  width: auto !important;
}

/* Mobile */
@media (max-width: 767px) {
    .table-nowrap {
				table-layout:auto;
    }
}

.table-nowrap {
}

.table-nowrap td {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.table-col {
	width: 25%;
}

.center-table
{
  margin: 0 auto !important;
  float: none !important;
}

/* centered columns styles */
.row-centered {
    text-align:center;
}
.col-centered {
    display:inline-block;
    float:none;
    /* reset the text-align */
    text-align:left;
    /* inline-block space fix */
    margin-right:-4px;
}

/***********************************************************/
/*                   Theme: text shadows                   */
/***********************************************************/
.text-shadows {
	text-shadow:0 1px 2px rgba(0,0,0,.2);
}
.text-shadows .title,
.text-shadows .subtitle,
.text-shadows .tagline {
	text-shadow:0 2px 3px rgba(0,0,0,.4);
}
.text-shadows .mainmenu .dropdown-menu a {
	text-shadow:0 2px 1px rgba(0,0,0,.2);
}
.text-shadows .mainmenu .dropdown-menu a:hover {
	text-shadow:none;
}



/***********************************************************/
/*                   Inverted theme                        */
/***********************************************************/
.theme-invert {
	color:#222;
	color:rgba(0,0,0,.8);
 }
.theme-invert a {
	color:#000;
}
.theme-invert .btn {
	color:rgba(255,255,255,.8);
}
.theme-invert .btn:hover {
	color:#fff;
}
.theme-invert .btn-link {
	color:rgba(0,0,0,.8);
}
.theme-invert .btn-link:hover, .theme-invert .btn-link:focus, .theme-invert .btn-link:active {
	color:#000
}
.theme-invert .navbar-toggle {
	background: rgba(0, 0, 0, 0.12);
}
.theme-invert .navbar-toggle .icon-bar {
  background: #333;
}
.theme-invert .mainmenu .dropdown-menu a {
	color:#000;
}
.theme-invert .mainmenu .dropdown-menu a:hover {
	background:rgba(0,0,0,.1);
	color:#000;
}

.theme-invert .title,
.theme-invert .subtitle,
.theme-invert .tagline {
	color:#222222;
}

.theme-invert .btn-default {
	background: rgba(0,0,0,.4);
}
.theme-invert .btn-default:hover,
.theme-invert .btn-default:focus,
.theme-invert .btn-default:active,
.theme-invert .btn-default.active {
	background: rgba(0,0,0,.6);
	color:#fff;
}
.theme-invert .btn-primary {
	background: rgba(0,0,0,.2);
}
.theme-invert .btn-primary:hover,
.theme-invert .btn-primary:focus,
.theme-invert .btn-primary:active,
.theme-invert .btn-primary.active {
	background: rgba(0,0,0,.3);
	color:#fff;
}

.theme-invert .thumbnail {
	background-color: rgba(255,255,255,.8);
}
.thumbnail .caption {
	color: inherit;
}
