/*
Theme Name: WP Bootstrap
Theme URI: https://www.steinbisss.bplaced.net
Author: Thomas Steinbiss
Author URI: https://www.steinbisss.bplaced.net
Description: Simple Bootstrap Workpress Theme
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: Steinbiss Networks
*/

/*
 * Globals
 */

@import url('https://fonts.googleapis.com/css2?family=Comic+Neue&display=swap');

html, body {
  overflow-x: hidden;
}
body{
  font-family: "Comic Neue", cursive;
  color: #555;
  min-width: 550px;
}
h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
  margin-top: 0;
  font-family: "Comic Neue", cursive;
  font-weight: normal;
  color: #333;
}
a:hover {
  color:#000;
}
.container {
  width:100%;
 } 
.container2 {
  max-width: 980px;
  margin: 0px auto;
  padding: 0px 10px 20px 10px;
}

.row{
  margin-top: 20px;
  padding: 5px;
}

/*
 * Masthead for nav
 */

.blog-masthead{
  background-color: #f8f8f8;
  -webkit-box-shadow: inset 0 -2px 5px rgba(0,0,0,.1);
          box-shadow: inset 0 -2px 5px rgba(0,0,0,.1);
  border-bottom: 2px solid #fff;
  font-size: 28px;
}
.blog-nav{
  float:right;
}

/* Nav links */
.blog-nav-item{
  position: relative;
  display: inline-block;
  padding: 10px;
  font-weight: 500;
  color: #cdddeb;
}
.blog-nav-item:hover,
.blog-nav-item:focus{
  color: #000;
  text-decoration: none;
}

/* Active state gets a caret at the bottom */
.blog-nav .active{
  color: #000;
}
.menu-item > .active:after{
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -5px;
  vertical-align: middle;
  content: " ";
  border-right: 5px solid transparent;
  border-bottom: 5px solid;
  border-left: 5px solid transparent;
}

/*
 * Blog name and description
 */

.blog-header{
  padding-top: 20px;
  padding-bottom: 20px;
}
.blog-title{
  margin-top: 30px;
  margin-bottom: 0;
  font-size: 60px;
  font-weight: normal;
}
.blog-description{
  margin: -20px 0px 0px 0px;
  font-size: 20px;
  color: #fff;
}

/*
 * Main column and sidebar layout
 */

.blog-main{
  font-size: 18px;
  line-height: 1.5;
}
.sidebar-module{
  padding: 15px;
  margin: 0 -15px 15px;
  border-radius: 5px;
  background: #951917;
  margin-left: 20px;
}
.sidebar-module:first-child {
  margin-top: 25px;	
}
.sidebar-module, .sidebar-module a, .sidebar-module h1, .sidebar-module h2, .sidebar-module h3, .sidebar-module h4, .sidebar-module h5 {
  color: #fff !important;
}
ul, ol {
	margin-inline-start: -1em;
	margin-bottom: 0px;
}
.sidebar-module-inset{
  padding: 15px;
  background-color: #f5f5f5;
  border-radius: 4px;
}
.sidebar-module-inset p:last-child,
.sidebar-module-inset ul:last-child,
.sidebar-module-inset ol:last-child{
  margin-bottom: 0;
}
.dropdown-menu {
  width: unset;
  font-size:20px;
}
.two-column ul.dropdown-menu {
  -webkit-columns: 2;
     -moz-columns: 2;	
          columns: 2;
  -webkit-column-rule: 1px dotted #e0e0e0;
     -moz-column-rule: 1px dotted #e0e0e0;
          column-rule: 1px dotted #e0e0e0;
}

#menu-main-menu ul.dropdown-menu a {
	padding:5px 10px 5px 5px;
	color: #000;
}

#menu-main-menu ul.dropdown-menu li {
	display: inline-block;
	padding: 5px;
	width: 100%;
}

/* Pagination */
.pager{
  margin-bottom: 60px;
  text-align: center;
}
.pager > li > a{
  width: 140px;
  padding: 10px 20px;
  text-align: center;
  border-radius: 30px;
}

/*
 * Blog posts
 */
.blog-post-title{
  margin-bottom: 5px;
  font-size: 40px;
}

.blog-post-title.page{
  margin-bottom: 20px;
}

.blog-post-meta{
  color: #000;
}

/*
 * Footer
 */

.blog-footer{
  padding: 20px 0px;
  color: #999;
  text-align: center;
  background-color: #f9f9f9;
  border-top: 1px solid #e5e5e5;
}
.blog-footer p:last-child {
  margin-bottom: 0;
}

/*
 * Custom Styles
 *
 */

.blog-post:first-child{
  padding-bottom: 100px
}
 
.blog-post:not(:first-child){
  border-top: 1px solid #ddd;
  padding: 100px 0px;
}

.showcase{
  height: 350px;
  padding: 100px 0px;
  text-align: center;
  /*border-bottom: 2px solid #3f512a; *//*#63215f */
  margin-bottom: 10px;
  color:#fff;
  background:url('img/showcase.jpg') no-repeat center center;
  background-size:cover;
  font-size: 60px;
  text-align:left;
  -webkit-box-shadow: inset 0 0 3rem 2rem rgba(0,0,0, 0.3);
  -moz-box-shadow: inset 0 0 3rem 2rem rgba(0,0,0, 0.3);
  box-shadow: inset 0 0 3rem 2rem rgba(0,0,0, 0.3);
}
.showcase h1{
  margin: 25px 0px 0px 0px;
  font-size: 65px;
  padding-bottom:20px;
  color:#f9f9f9;
}
.showcase h1,
.showcase p{
text-shadow: 2px 2px #000000;
}
.frontpage{
  height: 350px;	
}
.showcase p{
  font-size: 20px;
  margin-bottom: 50px;
}
.boxes .post-thumb{
  -webkit-mask-image: radial-gradient(ellipse 90% 1000%, black 40%, transparent 50%);
  mask-image: radial-gradient(ellipse 90% 1000%, black 40%, transparent 50%);
    overflow: hidden;
    height: 300px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.boxes .post-thumb img{
  max-width: 470px;
  min-height: 300px;
  /*background-size: cover;*/
}
.boxes{
  text-align: center;
  background: #fff;
  margin-bottom: 30px;
  min-height: 200px;
}
.boxes .more-link {
  display: none !important;
}

.fbx-desktop .fbx-prev:before, .fbx-desktop .fbx-next:before{

}
.fbx-desktop .fbx-next,  .fbx-desktop .fbx-prev{

}
.foogallery .fg-caption-title{
	margin: 5px !important;
	text-align: center !important;
}
.fg-item, .fbx-item-current{
  clip-path: inset(2px 2px 2px 2px);	
}
.box-hover .fg-item:nth-of-type(n+7){
  display: none !important;
} 
.box-hover .fg-item .fg-more {
	display: none;
}
.box-hover .fg-item:nth-of-type(6):not(:last-of-type) .fg-more{
	height: 150px;
	width: 150px;
	display: block;
}
.box-hover .fg-item:nth-of-type(6):not(:last-of-type) .fg-loader{
	display: none !important;
}
.box-hover .fg-item:nth-of-type(6):not(:last-of-type) .fg-image-wrap img{
	display:none;
}
.box-hover .fg-item:nth-of-type(6):not(:last-of-type) .fg-item-inner{
	background: transparent;
}
.box-hover .fg-more a:hover{
	color: #000 !important;
}
.box-hover .fg-more:hover .fg-caption{
	display: inline-block;
	visibility: visible;
	opacity: 1 !important;
	transition-duration: unset !important;
}
.box .fa{
  font-size: 45px !important;
  margin-bottom: 10px;
}

.box{
  padding: 5px;
  border: 2px solid #e4e4e4;
  height: 100%;
}
.box:hover {
  text-decoration: underline;
}
.nav > li > a{
  color: #000;
  border-bottom: 2px solid transparent;
}
.dropdown-menu{
  -webkit-box-shadow: unset;
  box-shadow: unset;	
}
.nav > li > a:hover{
  background: transparent;
  color: #000;
  border-bottom: 2px solid #000;

}
.nav > li > a:focus{
  text-decoration: none;
  background: #fff;
  color: #000;
}
.blog-nav .active:hover{
  color: #000;
}
.blog-nav li .active:hover{
  color: transparent;
}
.blog-nav a{
  color:#fff;
  border-left: 2px solid transparent;
  border-right: 2px solid transparent;
} 
.blog-nav a:hover{
  color:#666; 
} 
.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus{
  color: #000;
  background: #fff;
  border-left: 2px solid #eee;
  border-right: 2px solid #eee;
}
.navbar-nav > li > .dropdown-menu{
  border-top: 0px;
  border-left: 2px solid #eee;
  border-right: 2px solid#eee;
}
.open > .dropdown-menu{
	left:1px;
}
.post-thumb img{
  width: 100%;
  height: auto;
  margin: 0px 0px 20px 0px ;
}
p{
  padding:10px 0px;
} 
.comments{
  border:1px #ccc solid;
  padding:10px;
  margin: 30px 0px 20px 0px;
} 
.comments h2, .comments h3{
  background: #f4f4f4;
  color: #333;
  padding: 5px;
} 
.comments li{
  list-style:none;
}
 .comment-body{
  border: #ccc solid 1px;
  margin-bottom: 10px;
  padding: 20px 10px;
}
.comment-meta{
  background: #f5f5f5
  color: #fff;
  padding: 10px;
  overflow: auto;
}
.comment-meta a{
  color: #fff;
}
.comment-meta img{
  float: left;
  margin-right: 10px;
}
.comment-reply-link{
  background: #ddd;
  display: inline-block;
  padding: 10px 15px;
  border-radius: 4px;
}
.comment-reply-link:hover {
  background: linear-gradient(30deg, #6b110b, #9e3c20);
  color: #fff;
}
.comment-form input, .comment-form textarea{
  width: 100%;
  padding: 4px;
  border: 1px solid #ccc;
  margin-bottom: 15px;
}
.form-submit input[type="submit"]{
  border-radius: 4px;
}
.form-submit input[type="submit"]:hover{
  background: linear-gradient(30deg, #6b110b, #9e3c20);
  color: #fff;
}
.post-gallery{
  background:#ddd;
  color: #000;
  padding: 10px;
  text-align: center;
  border: 1px solid #e3e3e3;
}
.post-gallery h2{
  color:#000;
}
.blocks-gallery-item{
  border:1px solid #fff;
}
.showcase .btn-primary{
  border: 1px solid #f9f9f9;
}
.showcase .btn-primary:hover{
  border: 1px solid #fff;
  background: #555;
}
.footerbox .box{
  border: none;
  text-align: left;   
}
.wp-block-image img{
  height: auto;
}
.footerbox .box input[type="submit"]{
  background: #921a14; 
  border: 0px;
  padding: 3px 10px;
  color: #fff;
}
.footerbox .box input[type="submit"]:hover{
  background: #555; 
}

.footerbox h4{
  font-weight: 800;
  font-size: 14px;
  color: #999;   
}
.searchform{
  display: block;
  min-height: 150px;	
}
#searchform input{
  padding: 5px;
}
#searchform input[type="submit"]{
  padding: 7px;
}
.searchform #searchform label{
  display: none;
}
#myBtn{
  display: none;
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background: linear-gradient(30deg, #6b110b, #9e3c20);
  border: 1px solid #fff;
  color: white;
  cursor: pointer;
  padding: 10px 15px 15px 15px;
  border-radius: 4px;
}
#myBtn:hover{
  background-color: #555;
}
.box{
  padding: 5px;
}
.showbox-hover {
  display: none;
}
.showcase .showbox-hover{
  position: absolute;
  left: -100%;
  top: 250px;
  width: 100%;	
  height: 250px;	
  display: inline;
  background: linear-gradient(60deg, rgba(255, 255, 255, 0.3) 60%, transparent 40%);
	-webkit-animation: slide 8s forwards;
	-webkit-animation-timing-function: ease-out;
	-webkit-animation-delay: 1s;
  animation: slide 8s forwards;
	animation-timing-function: ease-out;
	animation-delay: 1s;
}
@-webkit-keyframes slide{
  100% { left: 0; }
}
@keyframes slide{
  100% { left: 0; }
}
.box:nth-of-type(odd){
  background: #f9f9f9;
  margin: 10px 0px;
}
.box1-head{
  background: #480f54;
  height: 20px;
}
.box2-head{
  background: #2c42b9;
  height: 20px;
}
.box3-head{
  background: #638bea;
  height: 20px;
}
.envirabox-arrow{
  background: rgba(0, 0, 0, 0.3) !important;
}
.envira-gallery-image:first-child{
  height:100% !important;
  width: unset !important;
}
.fbx-caption {
  background: rgba(255,255,255,.7) !important;
  color:#000 !important;
}
.fbx-caption a, .fbx-caption a:hover {
  color:#000 !important;
  text-decoration: unset !important;
  display:none;
}
.fbx-desktop a.fbx-close {
  display:none!important;
}
#wpadminbar {
  min-width: 550px !important;
}

.myFlex {
  display: flex;
}
.more-link {
	margin: 15px 0px;
	display: block;
}

.blog-sidebar:not(footer .blog-sidebar) {
  border-left: 1px solid #eee;
  flex-grow: 1;
}

.box-hover h3 {
  height: 30px;
  overflow: hidden;
  white-space: nowrap; /* Don't forget this one */	
  text-overflow: ellipsis;	
}

.fg-default.fg-gutter-5 {
  padding-left: 0px !important;
  margin: 0px auto !important;
}

.hidden {
  display: none;
}

#login {
	padding: 1% 0 0;
}

#login h1 a, .login h1 a {
  display: none;	
}

#wp-submit {
	background: #951917;
}

input[type=checkbox]:focus, input[type=color]:focus, input[type=date]:focus, input[type=datetime-local]:focus, input[type=datetime]:focus, input[type=email]:focus, input[type=month]:focus, input[type=number]:focus, input[type=password]:focus, input[type=radio]:focus, input[type=search]:focus, input[type=tel]:focus, input[type=text]:focus, input[type=time]:focus, input[type=url]:focus, input[type=week]:focus, select:focus, textarea:focus, .login .button.wp-hide-pw:focus {
	border-color: #951917;
    box-shadow: 0 0 0 1px #951917;
}

.login .button.wp-hide-pw, #rememberme  {
	color: #951917;
}

input[type=checkbox]:checked::before {
	content: 'X' !important;
    margin: 7px -4px;
}	  
  
@media screen and (max-width:750px){
  footer .blog-sidebar{
	width: 33%;
	float:left;
  }
  .showcase{
	height:300px;
  }
  .showcase h1{
	margin-top: -10px;
	margin-left: 0px;
	font-size: 60px;
  }
}

@media screen and (max-width:990px){
  .myFlex {
	display: unset;
  }
  .myFlex:not(.boxes .myFlex) {
	display: flex;  
  }
  
  input[type=checkbox]:checked::before {
    margin: 11px -3px;
  }
}

@media (min-width: 992px) {
	.col-md-12, .col-md-6, .col-md-4 {
	padding: 5px;	
	}
}
