/*
 Theme Name:   Gasthof Altes Dorf
 Description:  Gasthof Altes Dorf
 Author:       U.hackbarth
 Author URI:   https://www.altes-dorf.de
 Template:     colormag
 Version:      1.0
 Text Domain:  colormag-child
*/
@font-face {
  font-family: 'Italianno-Regular';
                src: url('./fonts/Italianno-Regular.ttf') format('truetype');
} 
          
th, td {
   padding: 3px 3px;
}

/* =GLOBAL
----------------------------------------------- */

/* Headings */
h1, h2, h3, h4, h5, h6 {
	font-family: Verdana;
}
h1 { font-size: 24px; line-height: 1.2; }
h2 { font-size: 20px; line-height: 1.2; }
h3 { font-size: 16px; line-height: 1.2; }
h4 { font-size: 12px; line-height: 1.2; }
h5 { font-size: 12px; line-height: 1.2; }
h6 { font-size: 12px; line-height: 1.2; }

/* =TEXT ELEMENTS
----------------------------------------------- */
p, td {
	font-family: Verdana;
    font-size: 13px;
}

pre, code, kbd, var, samp, tt {
	font-family:Verdana;
}

.bold { font-weight: bold; }

/* =BLOCKQUOTE
----------------------------------------------- */
blockquote p {
	font-family: Verdana;
}
/* =FORMS
----------------------------------------------- */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="submit"],
select,
textarea {
	border: 1px solid #444444;
	margin: 0 0 10px;
	background-color: #faf8e9;
    padding: 2px !important;
    font-size: 13px;
}
.colormag-button,
input[type="reset"],
input[type="button"],
input[type="submit"],
button {
   padding: 4px 10px;
   background-color: #faf8e9;
   border-color: #acac9d;
   color: #444444;
   font-size: 13px;
}
input[type="submit"] { font-size: 13px; padding: 4px !important; }

input[type="submit"]:hover {
    color: #ff0000;
    border-color: #ff0000;
    background-color: #faf8e9;    
}
/* =LINKS
----------------------------------------------- */
a {
	color: #289dcc;
}
#colophon a {
	color: #4a422a;
    text-decoration: none;
}
#colophon a span {
	color: #4a422a;
    text-decoration: none;
}

/* =ALIGNMENT
----------------------------------------------- */
.underline {
   text-decoration:underline;
}
/*****************************************************************/

/* =BODY
----------------------------------------------- */
body {
	padding-top: 0px;
	padding-bottom: 0px;
}
#page {
	max-width: 1000px;
	margin: 0 auto;
    background-image: url(img/content_background.jpg);
    background-size: 100% auto;
    background-color: #faf8e9;
}
#main, #header-text-nav-container, .footer-socket-wrapper, #secondary .widget {
    background-color: transparent !important;
}
.footer-socket-wrapper {
   border-top: 1px solid #d8d7d3 !important;
}
.footer-socket-wrapper .copyright a {
    border: 0;
}
.wide #page {
    max-width: 1000px;
}
.inner-wrap {
	max-width: 1000px;
}

#secondary { padding-top: 20px; }
/* =HEADER
----------------------------------------------- */
#header-meta {
	background-color: #faf8e9;
}
#header-text-nav-container {
	
}
#header-text-nav-wrap {
	padding: 0px;
}
#site-description {
	font-family: Verdana;
}
#header-right-section {
	float: right;
}

/* =HEADER INFO TEXT
----------------------------------------------- */
.small-info-text {
	float: left;
	max-width: 100%;
	padding-right: 15px;
	padding-top: 2px;
}
.small-info-text p {
	font-size: 12px;
	color: #555555;
	margin-bottom: 0;
}

/* =NAVIGATION
----------------------------------------------- */
#site-navigation {
	background-color: transparent !important;
	border: 0;
}
.main-navigation {
	width: 100%;
    padding: 0 30px;
}
.main-navigation li {
	font-family: Verdana;
}
.main-navigation a {
   color: #4a422a;
   font-size: 11px;
   font-weight: 200;
   padding: 7px 12px;
   text-transform: none;
}
.main-navigation a:hover,
.main-navigation ul li.current-menu-item a,
.main-navigation ul li.current_page_ancestor a,
.main-navigation ul li.current-menu-ancestor a,
.main-navigation ul li.current_page_item a,
.main-navigation ul li:hover > a {
    color: #4a422a;
}
.main-navigation a:hover,
.main-navigation ul li.current-menu-item a,
.main-navigation ul li.current-menu-item a:after,
.main-navigation ul li.current_page_ancestor a,
.main-navigation ul li.current-menu-ancestor a,
.main-navigation ul li.current_page_item a,
.main-navigation ul li:hover > a,
.main-navigation li.menu-item-has-children:hover > a:after {
	background-color: #faf8e9;
}
.main-navigation a:hover,
.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.current_page_ancestor > a,
.main-navigation ul li.current-menu-ancestor > a,
.main-navigation ul li.current_page_item > a,
.main-navigation ul li:hover > a {
   text-decoration: underline;
}
.main-navigation ul li.current_page_item > a {
    text-decoration: none;
}
.main-navigation li.menu-item-has-children > a:after,
.main-navigation li li.menu-item-has-children > a:after,
.main-navigation li.page_item_has_children > a:after,
.main-navigation li li.page_item_has_children > a:after {
   color: #4a422a;
   font-size: 11px;
}
.main-navigation li.menu-item-has-children > a:after,
.main-navigation li.page_item_has_children > a:after {
   color: #4a422a;
}
/* =DROP DOWN
----------------------------------------------- */
.main-navigation .sub-menu,
.main-navigation .children {
   background-color: transparent;
}
.main-navigation ul li ul {
	width: 100px;
	top: 22px;
    border: 0;
}
.main-navigation ul li ul li a,
.main-navigation ul li.current-menu-item ul li a,
.main-navigation ul li ul li.current-menu-item a,
.main-navigation ul li.current_page_ancestor ul li a,
.main-navigation ul li.current-menu-ancestor ul li a,
.main-navigation ul li.current_page_item ul li a {
	font-size: 12px;
	color: #4a422a;
	width: 170px;
}
.main-navigation ul li ul li a:hover,
.main-navigation ul li ul li:hover > a,
.main-navigation ul li.current-menu-item ul li a:hover {
   color: #4a422a;
   background-color: transparent;
   width: 100px;
}
/* =RESPONSIVE MENU
----------------------------------------------- */
.site-header .menu-toggle {
	color: #4a422a;
	font-family: Verdana;
}
.site-header .menu-toggle:hover  {
   background-color: #3a6b42;
   color: #FFFFFF;
}
.site-header .menu-toggle:before {
	color: #4a422a;
}
.main-small-navigation {
	float: none;
    padding-left: 30px;
}
.main-small-navigation a {
  text-decoration: none;
  text-transform: none;
}
.main-small-navigation li a:hover {
  background-color: #3a6b42;
}
.main-small-navigation .current_page_item > a,
.main-small-navigation .current-menu-item > a {
  background: #3a6b42;
}

/* =CONTENT
----------------------------------------------- */
.sticky {
}
#main {
	padding: 10px 40px 40px 40px !important;
    border-top: 1px solid #d8d7d3;
}
#content { padding-top: 20px; }
/* =FOOTER SOCKET AREA
----------------------------------------------- */
.footer-socket-wrapper {
   border-top: 1px solid #4a422a;
   padding: 5px 20px 5px 30px;
   background-color: #ffffff;
}
.footer-socket-area {
   width: 100%;
}
.footer-socket-right-section {
   float: right;
}
.footer-socket-left-section {
   float: none;
}
.footer-socket-wrapper .copyright {
   color: #4a422a;
   font-size: 13px;
   max-width: 50%;
}
.footer-socket-wrapper .impressum {
   color: #4a422a;
   float: right;
   font-size: 13px;
   padding-right: 10px;
}
.footer-socket-wrapper .impressum a:hover {
   text-decoration: underline;
}
.footer-socket-wrapper .small-menu {
   float: right;
}
.footer-socket-wrapper .small-menu a {
   padding-top: 0;
}
.footer-socket-wrapper .small-menu ul li ul {
   top: 21px;
}

/* =SCROLL UP
----------------------------------------------- */
a#scroll-up {
	opacity: 0.8;
	filter:alpha(opacity=80); /* For IE8 and earlier */
}
a#scroll-up i {
	color: #faf8e9;
}
a#scroll-up:hover {
	opacity: 1;
	filter:alpha(opacity=100); /* For IE8 and earlier */
}

/*--------------------------------------------------------------
16.0 heaader media css
--------------------------------------------------------------*/
.table_hotel { max-width: 250px; }
table td { border-bottom: 0; }
td { font-size: 13px; }
td span { padding: 0; margin: 0; width:100%;}
.td_left {
  text-align: left;
  padding: 2px 5px 2px 0;
}
.td_right {
  text-align: right;
  padding: 2px 0 2px 5px;
}
.td_titel {
  font-weight: bold;
  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  padding: 3px 0 3px 0;
}
.td_speisekarte_left {
  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  padding: 3px;
}
.td_speisekarte_right {
  min-width: 65px;
  text-align: right;
  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  padding: 3px;
  vertical-align: bottom;
}
.td_weinkarte_left {
  width: 120px;
  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  padding: 3px 0 3px 0;
  vertical-align: top;
}
.td_weinkarte_right {
  width: 420px;
  text-align: left;
  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  padding: 2px 0 2px 0;
  vertical-align: top;
}
.td_spacer {
  height:10px;
}
.wpcf7-form, .wpcf7-form p, .wpcf7-form label { font-size: 13px; }



/*---  Section auf Willkommen  ------------------------------------------------*/
.red { color: #ff0000; }
.bold { font-weight: bold; }

/*Flex items*/
.teaser--content p {
      font-size: 16px;
}
.teaser-section {
  display: flex;
  flex-wrap: wrap;
  text-align:center;
}
.teaser {
	display: flex; 
	width: 100%;
}
@media all and (min-width: 40em) {
  .teaser {
   width: calc(50% - 40px);
   margin: 10px;
  }
}
@media all and (min-width: 60em) {
  .teaser {
    width: 50%;
    width: calc(50% - 40px);
    margin: 10px;
  }
}
.teaser--content {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: center;
  padding: 0;
  margin: 0;
}

.teaser--content img {
    margin: 0 auto;
}
.teaser--content {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: center;
  background-color: #faf8e9;
}

.teaser--content p {
	flex: 1 0 auto;
    text-align: center; 
    margin: 2px 5px;
    font-size: 13px;
}
.teaser--content a { 
   color: #000000;
}
.teaser--content img {
    margin: 0 auto;
}
.teaser--content h2 {
   height: 50px;
   width: 100%;    
   text-align: center;
   background-image: linear-gradient(#ffcc99, #faf8e9); 
   color: ffffff; 
   width: 100%; 
   font-size: 45px; 
   font-family: 'Italianno-Regular';
}

.teaser-info {
    text-align: center; 
    width: 100%; 
    background-image: linear-gradient(#faf8e9, #ffcc99);
}

.teaser-overlay {
     position: absolute;
     margin-top: 120px;
	 margin-left: 15px;
     -ms-transform: rotate(-20deg); /* IE 9 */
     transform: rotate(-20deg);
     color: #ff0000;
     font-weight: bold;
     font-size: 40px;
	z-index: 100;

}
.teaser-overlay-en {
     position: absolute;
     margin-top: 120px;
	 margin-left: 50px;
     -ms-transform: rotate(-20deg); /* IE 9 */
     transform: rotate(-20deg);
     color: #ff0000;
     font-weight: bold;
     font-size: 40px;
	z-index: 100;

}
/* Weihnachten */
.teaser1 { background-image: url(../../uploads/2021/11/weihnachten.png); }
.teaser1 p { padding-top: 3px; padding-bottom: 10px;}
/* Silvester  */
.teaser2 { padding-top: 0; background-image: url(../../uploads/2020/12/silvester.png); margin: 0 auto; text-align: center; }
.teaser2 p { padding-top: 5px; }
/* Muttertag */
.teaser3 { background-image: url(../../uploads/2021/04/muttertag.jpg) }

/* Gutscheine */
.teaser4 { background-image: url(../../uploads/2020/12/silvester.png);  }
.teaser4 p { padding-top: 10px; }

.img180 { margin-left: 30px; }



/* ColorMag 3 */
#cm-primary-nav { border: 0; }
.cm-header-1 .cm-row { display: none; }
.cm-container { padding-left: 30px; }
#cm-primary-nav { background: transparent; }
.cm-primary-nav ul li ul { width: 130px !important; }
.cm-primary-nav a, .cm-primary-nav ul li ul li a { 
  color: #4a422a;
  font-size: 11px;
  font-weight: 200;
  padding: 7px 12px;
  text-transform: none;
  background: #faf8e9;
}
.cm-primary-nav a:hover, .cm-primary-nav ul li ul li a:hover { 
  color: #4a422a;
  background: #f5b97f;
  text-decoration: underline;
}
.cm-primary-nav ul li ul li:hover {
   background: #f5b97f;
   text-decoration: underline;
}
.cm-primary-nav li { font-weight: 300; padding: 0; font-family: Verdana; background: #faf8e9; }

.cm-primary-nav ul li.current-menu-item, .cm-primary-nav ul li.current_page_ancestor, .cm-primary-nav ul li.current-menu-ancestor, .cm-primary-nav ul li.current_page_item, .cm-primary-nav ul li:hover, .cm-primary-nav ul li.focus {
    background-color: #faf8e9;
}

.cm-primary-nav .sub-menu, .cm-primary-nav .children {
  background-color: transparent;
  border: 1px solid #f5b97f;
}
#menu-mainmenu li.menu-item-has-children > a::after, #menu-mainmenu li.page_item_has_children > a::after {
  content: "\f107";
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-decoration: inherit;
  font-size: inherit;
  padding-left: 6px;
}
.cm-primary-nav .cm-submenu-toggle { display: none; }
.cm-entry-title { display: none; }

.wpglobus_flag { margin-top: 7px; }

.cm-primary {
  float: left;
  width: 70.17543859%;
  padding-right: 10px;
}

.cm-secondary {
  float: right;
  width: 27.19298245%;
}

.cm-secondary .widget, #cm-tertiary .widget {
  margin-bottom: 32px;
  padding-top: 20px;
}

.cm-entry-summary p {
    font-size: 13px;
}