/*
 * Theme Name: ZEGG Appartments
 * Theme URI: http://www.bluestonedesign.de
 * Theme Description: Wordpress Theme for ZEGG Appartments
 * Author: BlueStoneDesign
 * Author URI: http://www.bluestonedesign.de
 * Version: 1.0
*/



/* Apply bootstrap styles */
@import url('bootstrap/css/bootstrap.min.css');

/* forum-regular - latin */
@font-face {
  font-family: 'Forum';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/forum-v9-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Forum'),
       url('fonts/forum-v9-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/forum-v9-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/forum-v9-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/forum-v9-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/forum-v9-latin-regular.svg#Forum') format('svg'); /* Legacy iOS */
}
/* questrial-regular - latin */
@font-face {
  font-family: 'Questrial';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/questrial-v8-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Questrial'), local('Questrial-Regular'),
       url('fonts/questrial-v8-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/questrial-v8-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/questrial-v8-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/questrial-v8-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/questrial-v8-latin-regular.svg#Questrial') format('svg'); /* Legacy iOS */
}



/* styles for shortcodes  */

.divider {
    margin-bottom: 25px;
    padding-top: 25px;
    clear: both;
    display: block;
    margin-bottom: 15px;
    padding-top: 15px;
    width: 100%;
}


/* Styling of standard gallery shortcode */

.gallery {
    margin: auto;
}

.gallery-item {
    float: left;
    margin-top: 10px;
    text-align: center;
    width: 25%;
}

.gallery img {
    border: 2px solid #cfcfcf;
}

.gallery-caption {
    margin-left: 0;
}
/** .widget_media_gallery[data-index='2'] .gallery-item{
  width: 50%;
} **/





/*Styles for Plugins*/

/* Pagenavi */

.wp-pagenavi{
    margin-bottom: 25px;
    text-align: center;
}


/* CF7 */

label {
	display: block;
}
input, select, textarea {
	min-width: 300px;
	 padding: 5px 10px;
	border: 1px solid #333;
	border-radius: 3px;
}
input[type="radio"], input[type="checkbox"] {
	min-width: unset;
}

.wpcf7-form input,
.wpcf7-form select,
.wpcf7-form textarea{
 
  width: 100%;
}

/* very basic styles for layout */


/*Body*/

html, body {
    border: 0 none;
    font-size: 100%;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}

body {
	font-family: 'Questrial';
	color: #38362f;
	background-color: #FFF;
}

h1, h2, h3, h4, h5, legend {
	font-family: 'Forum', Arial, sans-serif;
	font-weight: normal;
	color: #c18655;
	margin: 0 0 10px;
}
.panel-grid-cell .widget-title {
	margin-top: 0;
	text-align: center;
}
a, a:hover, a:active, a:visited{
  color: #c18655;
}
.footer a,.footer a:hover,.footer a:active,.footer a:visited{
  color: #FFF;
}
a.btn-primary {
	-ms-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	width: 40%;
	max-width: 100%;
	font-size: 1em;
	padding: 0.5em 1em;
	background: #c18655;
	color: #ffffff !important;
	border: 1px solid #c18655;
	border-width: 1px 0;
	-webkit-border-radius: 0em;
	-moz-border-radius: 0em;
	border-radius: 0em;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}


div#main h1 {
	position: relative;
	float: left;
	font-size: 22px;
	padding: 6px 0;
	border-top: 1px solid #c18655;
	border-bottom: 1px solid #c18655;
	text-align: center;
	text-transform: uppercase;
	width: 100%;
	margin: 0 6px 16px;
}
.content h2 {
	background: url(img/homeLine.png) no-repeat center bottom;
	padding: 0 0 25px;
	margin: 0 0 15px;
	line-height: 1.2em;
  text-align: center;
}


.inline {	display: inline;}
.relative {	position: relative;	float: left;}

/* Top Header */
div#logo {
	width: 100%;
	text-align: center;
	padding: 5px 0 0;
}
div#header {
	position:fixed;
	width:100%;
	left:0;
	top:0;
	height:192px;
	background:url(img/headerBG.png) repeat-x center bottom;
}
div#header {
	z-index: 10000;
}
div#headerCenter, div#footerCenter {
	position:relative;
	margin:0 auto;
	width:80%;
  height:192px;
}
div#headerCenter {
	background:url(img/headerMain.png) no-repeat center top;
}
div#main {
	/** margin-top: 130px; **/
}
div#main.nospace {
	margin-top: 0px;
}
.post-img {
	max-height: 400px;
	overflow: hidden;
  margin-top: 85px;
  margin-bottom: 25px;
}
.post-img img {
	object-fit: cover;
	width: 100%;
}
#navMain {
	display: block !important;
}
#navMain {
	background-color: transparent;
	border: 0px none;
  width: 100%;
  margin: -50px 0 0;
  font-family: 'Sanford';
  font-size: 20px;
  text-shadow: 0 0 5px rgba(0,0,0,0.75);
  text-align: center;
}
#navMain ul li a {
	display:block;
	color:#fff;
	transition:color .3s ease, margin .3s ease, text-shadow .3s ease;
  background-color: unset;
}
#navMain ul li.active a, #navMain ul li a:hover {
	text-shadow:0 0 3px #000000, -1px -1px 10px rgba(255, 255, 255, 0.5), 1px -1px 10px rgba(255, 255, 255, 0.5), -1px 1px 10px rgba(255, 255, 255, 0.5), 1px 1px 10px rgba(255, 255, 255, 0.5);
}



/* Brand */

.brand{
    margin-top: 15px;
    margin-bottom: 15px;
}


#site-title{
    font-size: 2rem;
}

/*Header Menu */

.header-menu{
    list-style: none outside none;
    display: inline-block;
}

.header-menu  li {
    display: inline;
    padding-right: 10px;
    padding-left: 5px;
}




/*Main Menu*/
#navbar ul a {
	display: block;
	letter-spacing: 0.15em;
	color: #453d1a;
	text-decoration: none;
	padding: 0.2em 0.4em;
	border-bottom: 1px dotted #f7f8f6;
}

.navbar-toggled-title{
    float: left;
    display: inline;
    margin: 15px;
}


/*Breadcrumbs*/

.breadcrumb{
    background-color: transparent;
    border-radius: 0;
    padding-left: 10px;
}


/* post image */

.wp-post-image{
    float: left;
    margin-right: 15px;
}



/*Read More Links*/

.read-more{
    background-color: #428BCA;
    border-color: #428BCA;
    color: #FFFFFF;
    border-radius: 4px;
    font-size: 1.2rem;
    line-height: 1.5;
    padding: 6px 12px;
    border: 1px solid rgba(0, 0, 0, 0);
    cursor: pointer;
    display: inline-block;
    font-weight: normal;
    margin-bottom: 0;
    margin-top: 10px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.read-more:hover {
    background-color: #3276B1;
    border-color: #3276B1;
    color: #FFFFFF;
    text-decoration: none;
}


/* meta data */

.meta{
    font-size: 0.9rem;
}

.cats{
    margin-left: 5px;
    margin-right: 10px;
}

.tags{
    margin-left: 5px;
    margin-right: 10px;
}



/* Sidebar */

.sidebar-wrapper{
    padding-top: 0px;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-left: 1px solid transparent;
    border-color: #dcdcdc;
}

.sidebar-wrapper ul {
    padding-left: 25px;
}

.sidebar-wrapper p {
    padding-left: 10px;
}

.sidebar-posts .textwidget, .sidebar-page .textwidget{
    padding-left: 15px;

}


/* Widgets */

.widget{
    margin-bottom: 40px;
}

.header-widget{
    display: none;
}


/* code in comments*/

code {
    white-space: normal;
}


/* Footer */

footer {
	width: 100%;
  margin-top: 100px;
	background: url(img/footerBG.png) repeat-x center top;
}

footer {
	text-shadow: 0 0 5px rgba(0,0,0,0.75);
	font-size: 12px;
	letter-spacing: 0.03em;
  color: #FFF;
  text-align: center;
}
footer h4 {
	color: #fff;
	font-size: 16px;
}

.footer-wrapper{
    width: 100%;
    max-height: 210px;
    top: 0px;
    left: 0;
    padding: 0 15px;
    background: url(img/footerMain.png) no-repeat center top;
    overflow: hidden;
}

.footer{
    padding-top: 25px;
    padding-bottom: 20px;
}

.footer h3, .footer h4, .footer h5, .footer h6 {
    margin-bottom: 20px;
    text-transform: none;
    font-weight: bold;
}

.footer-menu {
    list-style: none outside none;
    display: inline-block;

}

.footer-menu-wrapper ul, ol{
    margin-left: 0px;
    padding-left: 0px;
}

.footer-menu  li {
    display: inline;
    padding-right: 10px;
    padding-left: 5px;
}
footer ul.cristal li {
	display:inline-block;
	width:154px;
	height:60px;
	margin:0 3px;
	border-top:1px solid white;
	border-bottom:1px solid white;
	background:url(../images/black60.png) repeat;
	background:rgba(0,0,0,0.4);
	transition:background .3s ease;
}
footer ul.cristal li:hover {
	background:rgba(0,0,0,0.6);
}
footer ul.cristal li a { display:block; }
footer ul.cristal li h4, footer ul.cristal li h5 { color:white; }
footer ul.cristal li h4 {
	font-size:30px;
	line-height:30px;
	text-transform:uppercase;
	margin:8px 0 0;
}
footer ul.cristal li h5 {
	font-size:13px;
	line-height:13px;
	margin:-2px 0 0;
}
footer ul.social { display:none; }
#social_service h3, div#address h3 {	margin:0 0 30px; }
#location h3 { margin:0 0 5px; }
footer ul.service { margin:35px 0 0; }


footer ul.social {
	margin:0 auto;
	position:relative;
	width:120px;
}
footer ul.social li {
	position:relative;
	float:left;
	width:100%;
	margin:0 0 10px;
}
footer ul.social li a {
	display:block;
}
footer ul.social li a span {
	display:block;
	position:relative;
	float:left;
	height:25px;
	-moz-box-shadow:0px 0px 5px rgba(0,0,0,0.75);
	-webkit-box-shadow:0px 0px 5px rgba(0,0,0,0.75);
	box-shadow:0px 0px 5px rgba(0,0,0,0.75);
	-ms-filter:"progid:DXImageTransform.Microsoft.Glow(Color=#ff000000,Strength=5)";
	filter:progid:DXImageTransform.Microsoft.Glow(Color=#ff000000,Strength=5);
}
footer ul.social li a span.icon {
	width:25px;
	margin:0 5px 0 0;
	background:url(../images/social_media_sprite.png) no-repeat left top;
	transition:background-position .3s ease;
}
footer ul.social li a:hover span.icon {
	background-position:left bottom;
}
footer ul.social li.go a span.icon {
	background-position:right top;
}
footer ul.social li.go a:hover span.icon {
	background-position:right bottom;
}
footer ul.social li a span.txt {
	height:20px;
	padding:3px 0 0;
	width:90px;
	font-family:'Sanford';
	font-size:14px;
	color:white;
	background:url(../images/black60.png) repeat;
	border-top:1px solid white;
	border-bottom:1px solid white;
}
footer ul.service {
	width:100%;
	margin:25px 0 0;
}
footer ul.service li {
	display:inline-block;
	border-right:1px solid white;
}
footer ul.service li:last-child { border:none; }
footer ul.service li a {
	display:block;
	padding:0 8px;
}
footer ul.service li.active a { color:#fff; }
/* Copyright*/

.copyright-wrapper{
    background-color: #F8F8F8;
    width: 100%;
    top: 0px;
    left: 0;
    padding: 0 15px;
    font-size: 0.8rem;
}

.credit{
    font-size: 0.8rem;
    text-transform: none;
    list-style: none outside none;
    display: inline-block;
    text-transform: uppercase;
}

.credit li{
    display: inline;
}

.copyright-text {
    margin-right: 40px
}

.copyright{
    padding-top: 10px;
}

/** NAVBAR BREAKPOINT **/

@media (max-width: 1400px) {
  .teasertext {
  	font-size: 14px;
  }
    .navbar-header {
        float: none;
    }
    .navbar-toggle {
        display: block;
        margin-right: -15px;
    }
    .navbar-collapse {
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin: 7.5px -15px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .navbar-default .navbar-collapse{
    	border-color: unset;
    	border: 0px;
    	background-color: #0d1d49;
    }
}


/* MEDIA QUERIES */

/* Small devices (tablets, 768px and up) */
@media (max-width: 767px) {

}

@media (min-width: 768px) {

 #top-header{
        display: block;
    }

    .header-widget{
        display: block;
    }

    .header-menu-wrapper{
        float: right;
    }

    .footer-menu-wrapper{
        float: right;
    }

    .footer-menu-wrapper ul, ol{
        margin-left: 10px;
    }
    .content {
      -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
      -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
      box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
      padding: 20px 98px;
    }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 1402px) {
    #navMain ul li:nth-of-type(3) {
    	width: 241px;
    	text-align: left;
    	margin-right: 206px;
    }
    #top-header ul,ol{
        margin-left: 10px;
    }

    .header-menu li:first-child {
        padding-left: 20px;
    }

}
