/*
 Theme Name:   Juvinale
 Theme URI:    http://www.wordpress.org
 Description:  Juvinale Theme - Sketch Child Them
 Author:       Werner Moser
 Author URI:   http://www.salzburgresearch.at
 Template:     sketch
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         Custom
 Text Domain:  grenzgang
*/
/* GOOGLE FONTS */
/* lato-300 - latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/lato-v17-latin-300.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/lato-v17-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/lato-v17-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/lato-v17-latin-300.woff') format('woff'), /* Modern Browsers */
       url('../fonts/lato-v17-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/lato-v17-latin-300.svg#Lato') format('svg'); /* Legacy iOS */
}  font-family: 'Lato';

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

/* lato-700 - latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/lato-v17-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/lato-v17-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/lato-v17-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/lato-v17-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/lato-v17-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/lato-v17-latin-700.svg#Lato') format('svg'); /* Legacy iOS */
}

body {
	font-family:"Lato", sans-serif !important;
  	font-weight:300;
}
h1, h2 {
	font-weight:700;
}
h3 {
	font-weight:400;
}
/* ENDE Google Fonts */


.has-cookie-bar #catapult-cookie-bar {
    bottom: -60px;
}

.bbp-topic-permalink{font-size: 14px;
}


.bbp-forum-title {font-size: 16px;
  font-weight: 600;
}

#bbpress-forums .bbp-forum-info .bbp-forum-content, #bbpress-forums p.bbp-topic-meta {
    font-size: 14px;
    line-height: 24px;
}

#bbpress-forums {
    background: transparent;
    clear: both;
    margin-bottom: 20px;
    overflow: hidden;
    font-size: 14px;
}


.main-navigation .nav-search .nav-search-form {
	position: absolute;
	right: 0;
	margin: 0.25em 0 0;
	padding: 1em;
	background: #fff;
	border:1px solid #9C182F !important;
	min-width: 320px;
}
.main-navigation .nav-search .nav-search-link::before {
    margin-right: 0.25em;
    font-family: "Genericons";
    font-size: 22px;
    line-height: 1;
    vertical-align: middle;
    content: '\f400';
}
body {
	font-size:110%;
}
a {
	color: #9c182f !important;
}
a:hover {
	color: #4d4d4d !important;
}

/*edit patrick*/
.main-navigation {
  margin: 0 0 -65px 0;
  padding: 50px 0 0 0;
}

/*end edit patrick*/

.main-navigation a:hover {
 background: #9c182f;
	color: white !important;
}
.page-template-frontpage-page .site-main {
	margin:0;
}
.site {
	padding:0 !important;
}
.site-header {
	padding:0 0 8px;
	border-bottom:none;
	border-bottom:none;
}
.site-branding {
    max-width: 100%;
    width: 100%;
	margin-bottom:10px;
}
.site-header, .site-content, .site-footer  {
	padding:20px 36px;
}

.footer-bottom  {
    padding: 20px 30px 50px 30px;
}

.social-links ul a::before {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    color: #4d4d4d;
    content: none;
	}
.social-links ul a:hover::before {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    color: #9c182f;
}

/*aenderung patrick von 40px auf -28px*/
.menu-sekundarmenu-container {
    clear: right;
    float: right;
	margin-top: -28px;
}
.menu-sekundarmenu-container ul {
	list-style-type:none;
}
.menu-sekundarmenu-container a {
	color: #4d4d4d !important;
	padding: 0 10px;;
}
.menu-sekundarmenu-container .current-menu-item a {
    background: none !important;
    color: #4d4d4d !important;
}
.menu-sekundarmenu-container a:hover {
	color: #4d4d4d !important;
}
.menu-sekundarmenu-container ul  li{
	display:inline;
}
.menu-toggle {
    background: #9C182F;
    color: white;
    font-weight: bold;
    width: 100%;
}
.main-navigation {
    clear: both;
    float: none;
    font-size: 0.8125em;
    line-height: 2.09231em;
    width:100%;
    max-width:100%;
    text-align: left;
}
.main-navigation a {
    color: #9c182f !important;
	font-size:1.5rem;
}
.main-navigation ul ul {
    top: 38px;
}
.main-navigation ul a {    
    margin: 0 5px;
    padding: 5px 10px;
}
.main-navigation ul ul li a {
    font-size: 95%;
}
.current-menu-item a {
    background: #9C182F;
    color: white !important;
}

.current-menu-item .submenu a {
    background: white
    color: #9C182F;
}
.current-menu-item.homeitem a {
    background-color: white;
}
.sub-menu {
	border:1px solid #9C182F !important;
}

.homeitem a {
  display: block;
  background-image:url('images/home.png');
  background-repeat: no-repeat;
  width: 50px;
  height: 50px;
  text-indent: -9000px;
}
.hentry {
	margin:0;
	padding:0;
}
.home .entry-header {
	display:none;
}

h1 {
	
	font-size: 1.75em !important;
	border-bottom:0 !important;
	color:#9c182f !important;
	font-weight:bold;
}
h2 {
	color:#9c182f;
	
}
h3, h3 a{
	color:#9c182f !important;
	text-transform:uppercase;
}
.rpwe-block h3.rpwe-title {
    	font-size:1.2em !important;
}
body .rpwe-thumb {
    border: 3px solid rgb(102,51,0) !important;
    border-radius: 5px;
    box-shadow: none !important;
    margin: 2px 10px 2px 0;
    padding: 0 !important;
}
.rpwe-time {
    font-size: 13px !important;
	color:none !important;
}
body .rpwe-block li {
	border-bottom: 2px solid #eee;
}
}
.home-left {
	
}
.home-right {
}
.site-footer {
	padding:36px;
	background:#9c182f;
	color:#fff;
	text-transform:none !important;
}
.site-footer h2 {
   color: #fff;
    font-weight: bold;
    margin: 0;
    text-transform: none;
}
.site-footer a {
    color: #ccc !important;
}
.site-footer a:hover {
    color: #fff !important;
}
.footer-left h2, .footer-right h2 {
	font-size:1rem;
}
.footer-left {
	width:45%;
	margin:0 5% 0 0;
	float:left;
	text-align:left;
}
.footer-right {
	width:50%;
	float:right;
	text-align:right;
}
.footer-bottom .textwidget img {
    margin: 0 30px 0 0;
}
.google-maps-builder-wrap {
    border: 3px solid rgb(102,51,0);
	}
.caldera-grid label {
	font-weight:normal;
}
.readmore {
    display: inline-block;
}
.film-archive {
	list-style-type:none;
  	display:flex;
    flex-wrap:wrap;
}
.film-archive li {
	flex-basis: 20%;
    margin: 0 4% 5% 0;
    text-align: center;
    width: 20%;
}
.film-archive h2{
	margin:0;
	font-size:90%;
	font-weight:bold;
}
.film-archive h2 a{
	color:#000 !important;
	text-transform:none;
}

.news {
  /*edit patrick*/

  /*end edit patrick*/
	clear:both;
}


.newsbox {
    float: left;
    margin: 0 3% 0 0;
    width: 30%;

}
.newsdate {
	clear: both;
    display: block;
    font-size: 79%;
}
.newsbox h3  {
	margin:0;
}
.newsbox h3 a {
	text-transform:none;
	color:#000;
    font-size: 23px;
}

@media screen and (min-width:1281px) {  
  .main-navigation ul ul, .main-navigation ul li:hover > ul,.main-navigation ul li:hover > ul, .main-navigation ul li.focus > ul {
  	padding:0 !important;
    margin:0 !important;
  }
  .main-navigation ul ul li {
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
  }
  .main-navigation ul ul li a {
   	margin: 0 !important;
    width:100%;
  }
}

@media screen and (max-width:1140px) {
  .menu-sekundarmenu-container {
      clear: both;
      float: none;
      margin-top: 10px;
   	 text-align: center;
    line-height:1;
  }
  body .menu-sekundarmenu-container ul {
    margin: 0 !important;
	}
 body .menu-sekundarmenu-container ul li {
     display:inline-block;
	}
}
@media screen and (max-width:750px) {  
  

		.film-archive li {
			width: 44%;
            flex-basis:44%;
		}
		.newsbox {
			width: 90%;
		}
		.newsbox img {
			width:100%;
		}
             .webbanner {
  display: none;
  }
}
@media (max-width:400px) { 

		.film-archive li {
			width: 96%;
           flex-basis::96%;
		}
        
         .webbanner {
  display: none;
  }
	
}

html, body, div, span, applet, object, iframe, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, th {
    font-size: 18px;
    line-height: 28px;
  margin-bottom: 20px;
}

ol, ul, li {
  margin-bottom: 10px;
}

ul {
  margin-bottom: 20px;
}