@import url('https://fonts.googleapis.com/css?family=Open+Sans|Average|Roboto:400,700');

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  margin: 0;
}

[class*='col-'] {
  float: left;
  min-height: 1px;
/*  padding-right: 20px;*/
}

.grid {
  width: 100%;
 /* min-width: 748px;  when using padded grid on ipad in portrait mode, width should be viewport-width - padding = (768 - 20) = 748. actually, it should be even smaller to allow for padding of grid containing element */
  max-width: 1920px;
  margin: 0 auto;
  overflow: hidden;
}

.grid:after { content: ""; display: table; clear: both; }

.grid-pad {
  padding-top: 20px;
  padding-left: 20px; /* grid-space to left */
  padding-right: 0; /* grid-space to right: (grid-space-left - column-space) e.g. 20px-20px=0 */
}

.push-right { float: right; }

/* Default font settings.
   The font-size percentage is of 16px. (0.75 * 16px = 12px)
-------------------------------------------------------------- */

html { font-size:100.01%; }
body {
  color: #333;
  background-color: #E0E0F8; /* F7BE81 */
  font-family: 'Roboto', 'Open Sans';
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-size: 62.5%;
}

/* Content Columns
-------------------------------------------------------------- */

.col-1-1  { width: 100%; }

.col-2-3, .col-8-12 { width: 66.66%; }
.col-1-2, .col-6-12 { width: 50%; }
.col-1-3, .col-4-12 { width: 33.33%; }
.col-1-4, .col-3-12 { width: 25%; }

.col-1-5  { width: 20%; }

.col-1-6, .col-2-12 { width: 16.667%; }

.col-1-7  { width: 14.28%; }
.col-1-8  { width: 12.5%; }
.col-1-9  { width: 11.1%; }
.col-1-10 { width: 10%; }
.col-1-11 { width: 9.09%; }
.col-1-12 { width: 8.33% }

/* Layout Columns
-------------------------------------------------------------- */

.col-11-12 { width: 91.66% }
.col-10-12 { width: 83.333%; }
.col-9-12  { width: 75%; }
.col-5-12  { width: 41.66%; }
.col-7-12  { width: 58.33% }

/* Pushing Blocks
-------------------------------------------------------------- */

.push-2-3, .push-8-12 { margin-left: 66.66%; }

.push-1-2, .push-6-12 { margin-left: 50%; }
.push-1-3, .push-4-12 { margin-left: 33.33%; }
.push-1-4, .push-3-12 { margin-left: 25%; }

.push-1-5 { margin-left: 20%; }

.push-1-6, .push-2-12 { margin-left: 16.667%; }

.push-1-7  { margin-left: 14.28%; }
.push-1-8  { margin-left: 12.5%; }
.push-1-9  { margin-left: 11.1%; }
.push-1-10 { margin-left: 10%; }
.push-1-11 { margin-left: 9.09%; }
.push-1-12 { margin-left: 8.33% }

/* Header
-------------------------------------------------------------- */

img.logo      { margin: 20px 0; max-width: 100%; height: auto; max-height: 200px; }
img.logo-menu { float: left; height: 70px; margin: 30px 20px 10px 20px; }

#header-container     { width: 100%; min-width: 748px; max-width: 1920px; margin: 0 auto; overflow: hidden; }

#header-thumbnail     { position: relative; overflow:hidden; height:300px; margin-top: 120px; }
#header-thumbnail img { width: 100%; height: auto; position: absolute; left: -100%; right: -100%; margin: auto; }

@media (max-width: 796px) {
	#header-thumbnail { height: 100px; }
}

.slide img { width: 100%; height: auto; }
.slide {
    background: no-repeat center;
    width: 100%;
    height: 300px;
    background-size: cover;
	position: relative;
	text-align: center;
}

#intro { text-align: center; padding: 30px 0px; }

/* Menu
-------------------------------------------------------------- */

.main-navigation  { }

ul.menu        { display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; -webkit-flex-direction: row; flex-direction: row; list-style-type: none; margin: 0; padding: 0; overflow: hidden; letter-spacing: 2px; font-weight: bold; font-size: 16px; padding-bottom: 0px; font-family: 'Roboto'; }
ul.sub-menu    { display: none; }


@media only screen and (min-width: 581px) {

li.pll-parent-menu-item {  border-bottom: 6px solid #45299D; display: flex; justify-content: center; width: 200px;  }
	li.pll-parent-menu-item a[href*="#pll_switcher"] {
	display: inline-block;
	background-image: url("http://dev.gladt.de/wp-content/uploads/2020/07/icon128px-exported-black.jpg");
	background-size: 25px;
	background-position: left;
	background-repeat: no-repeat;
	padding-left: 2em;
}
.page-id-951 li.pll-parent-menu-item { width: 400px; }
li.pll-parent-menu-item:hover ul { display: block;
position: absolute;
padding: 0;
font-size: 1em;
background: #fff;
margin-top: 3rem; }

li.pll-parent-menu-item:hover ul li { width: 100%; }
}

@media only screen and (max-width: 580px) {
	li.pll-parent-menu-item {  border-bottom: 6px solid #45299D; text-align: center;}
	#responsive-menu-container #responsive-menu li.responsive-menu-item.pll-parent-menu-item a[href*="#pll_switcher"] {
	display: inline-block;
	background-image: url("http://dev.gladt.de/wp-content/uploads/2020/07/icon128px-exported-black.jpg");
	background-size: 25px;
	background-position: 3%;
	background-repeat: no-repeat;
	padding-left: 3em;
}
}

li.menu-item:not(.pll-parent-menu-item)   { display: inline-block; -webkit-flex: 1 0 5%; flex: 1 0 5%; text-align: center; }
li.menu-item a { display: block; padding: 13px; color: #000; font-size: 1.25em; }

.box ul li.menu-item a { transform: skewY(2deg); text-transform: uppercase; font-size: 1.2em; }

/*.main-navigation li.current-menu-item a { text-shadow: 1px 1px #666; }*/

/** Menu Items **/

.box ul li.red    { background: #5F0C0B; }
.box ul li.orange { background: #B1541D; }
.box ul li.yellow { background: #F8A723; }
.box ul li.green  { background: #757B20; }
.box ul li.blue   { background: #6DDFF9; }
.box ul li.purple { background: #45299D; }

li.red    { border-bottom: 6px solid #5F0C0B; }
li.orange { border-bottom: 6px solid #B1541D; }
li.yellow { border-bottom: 6px solid #F8A723; }
li.green  { border-bottom: 6px solid #757B20; }
li.blue   { border-bottom: 6px solid #6DDFF9; }
li.purple { border-bottom: 6px solid #45299D; }

li.lang a { padding: 0; font-size: 3em; margin: 0; line-height: 1em; }

li.lang ul li a { display: block; padding: 13px; color: #000; font-size: 1.25em; }

/* Blog
-------------------------------------------------------------- */

#blog-container   { background-color: #1F3D00;color: #ddd; height: 300px;
  -webkit-transform: skewY(2deg);
  -moz-transform: skewY(2deg);
  -ms-transform: skewY(2deg);
  -o-transform: skewY(2deg);
   transform: skewY(2deg);
}
#blog-container a { color: #ddd; text-decoration: none; }

#blog-container .carousel-inner {
  -webkit-transform: skewY(-2deg);
  -moz-transform: skewY(-2deg);
  -ms-transform: skewY(-2deg);
  -o-transform: skewY(-2deg);
  transform: skewY(-2deg);
}
#blog-container .carousel-control.left, .carousel-control.right {
   background-image:none !important;
   filter:none !important;
}

.more-link { float: right; font-size: 1.2em; }

/* Boxen
-------------------------------------------------------------- */

#activities-intro     { padding-top: 50px; text-align: center; }
#activities-intro h3  { font-size: 3em; }

.box     { text-align: center; }
.box h3  { font-weight: bold; font-size: 1.4em; color: #fff; text-transform: uppercase; }
.box p   { color: #fff; font-size: 1em; }
.box img { float: right; width: 75px; height: auto; margin-right: 5px; }

.box ul    { display: flex; padding: 0; margin: 0; -webkit-flex-wrap: wrap; flex-wrap: wrap; -webkit-flex-direction: row; flex-direction: row; list-style-type: none; }
.box ul li { display: inline-block; -webkit-flex: 1 0 33%; min-width: 250px; flex: 1 0 33%; padding: 10px 30px; margin: 20px;
									 	   -webkit-transform: skewY(-2deg);
										   -moz-transform: skewY(-2deg);
										   -ms-transform: skewY(-2deg);
										   -o-transform: skewY(-2deg);
										   transform: skewY(-2deg);  }
.box ul li.activity { flex: 1 0 25%; -webkit-flex: 1 0 25%; }
.box ul li:hover    { box-shadow: inset 0 0 100px 100px rgba(255, 255, 255, 0.1); color: #fff; }

.box ul li:hover h3,
.box ul li:hover h4,
.box ul li:hover a  { color: #fff; }

.box ul li a, a:active, a:hover { color: #fff; text-decoration: none;  }

.box.inner {
  -webkit-transform: skewY(2deg);
  -moz-transform: skewY(2deg);
  -ms-transform: skewY(2deg);
  -o-transform: skewY(2deg);
  transform: skewY(2deg);
}
.box.inner p { font-variant: small-caps; }

li.activities-1,
li.activities-11,
li.activities-21,
li.activities-31,
li.activities-41,
li.activities-51,
li.activities-7,
li.activities-17,
li.activities-27,
li.activities-37,
li.activities-47,
li.activities-57 { background: #5F0C0B; }

li.activities-2,
li.activities-12,
li.activities-22,
li.activities-32,
li.activities-42,
li.activities-52,
li.activities-8,
li.activities-18,
li.activities-28,
li.activities-38,
li.activities-48,
li.activities-58 { background: #B1541D; }

li.activities-3,
li.activities-13,
li.activities-23,
li.activities-33,
li.activities-43,
li.activities-53,
li.activities-9,
li.activities-19,
li.activities-29,
li.activities-39,
li.activities-49,
li.activities-59 { background: #757B20; }

li.activities-4,
li.activities-14,
li.activities-24,
li.activities-34,
li.activities-44,
li.activities-54,
li.activities-0,
li.activities-10,
li.activities-20,
li.activities-30,
li.activities-40,
li.activities-50 { background: #6DDFF9; }

li.activities-5,
li.activities-15,
li.activities-25,
li.activities-35,
li.activities-45,
li.activities-55 { background: #45299D; }

li.activities-6,
li.activities-16,
li.activities-26,
li.activities-36,
li.activities-46,
li.activities-56 { background: #F8A723; }

/* Layout Div IDs
-------------------------------------------------------------- */

.post       { padding: 30px 0; float: left; }

.su-spoiler       { font-size: 1.6em; }
.su-spoiler-title { font-size: 1.2em!important; }

#maincontent { margin-top: 110px; }
#content     { margin-top: 20px; }

#container h2 { text-align: center; }

#container.members { display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; -webkit-flex-direction: row; flex-direction: row; }
#container.members .post { display: inline-block; -webkit-flex: 1 0 40%; flex: 1 0 40%; margin: 0 30px; }

.thumbnail { float: right; margin: 0 20px; }
.thumbnail img { max-width: 250px; height: auto; }

.date {
font-family: Open Sans;
font-weight: 800;
text-transform: uppercase;
}

#header {
background: #fff;
z-index: 999; }

/* Footer
-------------------------------------------------------------- */

#footer  { margin-top: 80px; padding: 30px 0; background: #363636; color: #8c919b; font-family: 'Open Sans', Arial, Verdana, 'Helvetica Neue', Helvetica, sans-serif; font-size: 1em; margin-bottom: 30px; }
#footer h3 { color: #FF8000; font-weight: bold; }
#footer a  { color: #FF8000; }

#footer-content { display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; -webkit-flex-direction: row; flex-direction: row; }
#footer-content #widget { display: inline-block; -webkit-flex: 1 0 40%; flex: 1 0 40%; margin: 0 10px; }

/* Events
-------------------------------------------------------------- */

#events       { margin-top: 50px; padding: 0; text-align: left; height: 300px; }
#events h3    { font-weight: bold; font-size: 2em; color: #fff; margin: 0; padding: 0; }

#events ul             { margin: 0; padding: 0; height: 100%; }
#events ul li          { display: inline-block; width: 100%; height: 100%;
    background: no-repeat center;
    background-size: cover;
	position: relative;
}
#events ul li:hover a  { color: #fff; text-decoration: none; }

#event-desc { height: 300px; background: #ddd; clip-path: polygon( 0% 0, 20% 0, 100% 100%, 0% 100%); padding: 50px; }

/* Search
-------------------------------------------------------------- */

#search  { float: right; margin: 5px; }
#sufu-mobile  { display: none; }

/* Pagination
-------------------------------------------------------------- */

.pagination {
    clear:both;
    position:relative;
    font-size:11px; /* Pagination text size */
    line-height:13px;
    float:right; /* Pagination float direction */
}

.pagination span, .pagination a {
    display:block;
    float:left;
    margin: 2px 2px 2px 0;
    padding:6px 9px 5px 9px;
    text-decoration:none;
    width:auto;
    color:#fff; /* Pagination text color */
    background: #555; /* Pagination non-active background color */
    -webkit-transition: background .15s ease-in-out;
    -moz-transition: background .15s ease-in-out;
    -ms-transition: background .15s ease-in-out;
    -o-transition: background .15s ease-in-out;
    transition: background .15s ease-in-out;
}

.pagination a:hover{
    color:#fff;
    background: #FF8000; /* Pagination background on hover */
}

.pagination .current{
    padding:6px 9px 5px 9px;
    background: #FF8000; /* Current page background */
    color:#fff;
}

/* Headings
-------------------------------------------------------------- */

h1,h2,h3,h4 { color: #224003; font-family: 'Roboto'; font-weight: 800; }

h1 {
    font-size: 2.5em;
    line-height: 1;
    margin-bottom: 0.5em;
    padding-top: 10px;
}

h2 { font-size: 3.5em; margin-bottom: 0.75em; }
h3 { font-size: 2.5em; line-height: 1.3; margin-bottom: 1em; }
h4 { font-size: 2em; line-height: 1.25; margin-bottom: 1.25em; }
h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
h6 { font-size: 1em; font-weight: bold; }

h1 img, h2 img, h3 img,
h4 img, h5 img, h6 img {
  margin: 0;
}

h1, h2 { color: #224003;
/* border-bottom: 2px solid #ff8000; */
padding-bottom: 5px;
margin: 8px 0 35px 0;
}

/* Text elements
-------------------------------------------------------------- */

p           { margin: 0 0 1.5em; line-height: 1.5; font-size: 1.6em; }
/*
  These can be used to pull an image at the start of a paragraph, so
  that the text flows around it (usage: <p><img class="left">Text</p>)
 */
.left       { float: left !important; }
p .left     { margin: 1.5em 1.5em 1.5em 0; padding: 0; }
.right      { float: right !important; }
p .right    { margin: 1.5em 0 1.5em 1.5em; padding: 0; }

a:focus,
a:hover     { color: rgba(34, 64, 3, 0.5); }
a           { color: rgba(34, 64, 3, 0.8); text-decoration: none; }

blockquote  { margin: 1.5em; color: #666; font-style: italic; }
strong,dfn  { font-weight: bold; }
em,dfn      { font-style: italic; }
sup, sub    { line-height: 0; }

abbr,
acronym     { border-bottom: 1px dotted #666; }
address     { margin: 0 0 1.5em; font-style: italic; }
del         { color:#666; }

pre         { margin: 1.5em 0; white-space: pre; }
pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; }

/*img	    { max-width:100%; max-height:100%; }*/

/* Lists
-------------------------------------------------------------- */

li ul,
li ol  { margin: 0; }
ul, ol { margin: 0 1.5em 1.5em 0; padding-left: 1.5em; font-size: 1.6em; }

ul     { list-style-type: disc; }
ol     { list-style-type: decimal; }

dl     { margin: 0 0 1.5em 0; }
dl dt  { font-weight: bold; }
dd     { margin-left: 1.5em;}


/* Tables
-------------------------------------------------------------- */

/*
  Because of the need for padding on TH and TD, the vertical rhythm
  on table cells has to be 27px, instead of the standard 18px or 36px
  of other elements.
 */
table         { margin-bottom: 1.4em; width:100%; }
th            { font-weight: bold; }
thead th      { background: #c3d9ff; }
th,td,caption { padding: 4px 10px 4px 5px; }
/*
  You can zebra-stripe your tables in outdated browsers by adding
  the class "even" to every other table row.
 */
tbody tr:nth-child(even) td,
tbody tr.even td  {
  background: #e5ecf9;
}
tfoot        { font-style: italic; }
caption      { background: #eee; }

/* Misc classes
-------------------------------------------------------------- */

.small     { font-size: .8em; margin-bottom: 1.875em; line-height: 1.875em; }
.large     { font-size: 1.2em; line-height: 2.5em; margin-bottom: 1.25em; }
.hide      { display: none; }

.quiet     { color: #666; }
.loud      { color: #000; }
.highlight { background:#ff0; }
.added     { background:#060; color: #fff; }
.removed   { background:#900; color: #fff; }

.first     { margin-left:0; padding-left:0; }
.last      { margin-right:0; padding-right:0; }
.top       { margin-top:0; padding-top:0; }
.bottom    { margin-bottom:0; padding-bottom:0; }

.right 	   { text-align: right; }

hr {
    display: block;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: 60px;
    margin-right: auto;
    border-style: inset;
    border-width: 1px;
}

/* Mobile Grid
-------------------------------------------------------------- */

@media all and (max-width: 1000px) {
  #projects h3 { text-align: center; color: #ff9000; font-weight: bold; }
  .block { display: none; }
}

@media all and (max-width: 1366px) {
  #projects { padding: 0; }
}

@media all and (max-width: 580px) {

  [class*='col-'] {
    margin: 0px;
    /*padding-right: 10px; /* column-space */
  }

  [class*='push-'] {
    margin-left: 0px;
  }

  /* Mobile Layout */

  [class*='mobile-col-'] {
    float: left;
    margin: 0;
  }
  .mobile-col-1-1  { width: 100%; padding: 0; }

  #footer  { padding: 30px; }
  #logo    { height: auto; padding: 30px 20px;}
  #contact { text-align: right; }
  #legend  { margin-right: 0px!important; }
  #intro,
  #container,
  #activities-intro { padding: 0 15px; }
  #blog-container { padding: 15px 15px; height: 350px; }

#widget #vsel .vsel-content { float: none; border: none; }
#widget #vsel .vsel-meta-date  { font-size: 1.2em; font-weight: bold; margin: 0; }
#sidebar {padding:0; text-align: center;}
#widget #vsel .vsel-content { padding: 10px 10px 0 10px; }

  .hide-on-mobile {
    display: none !important;
    width: 0;
    height: 0;
  }
}

/* DGS Icon Menu */
li.menu-item-911 a, li#responsive-menu-item-911 a {
  background-image: url('/wp-content/uploads/sign-language.png');
  background-repeat: no-repeat;
  background-position: right center;
  text-align: right;
  background-size: 1em;
  padding-right: 1.5em;
  margin-right: 3em;
}
@media (max-width: 580px) {
  #responsive-menu-container #responsive-menu li#responsive-menu-item-911 > .responsive-menu-item-link {
    background-color: white;
    color: black;
  }
}

li#responsive-menu-item-911 a {
  background-image: url('/wp-content/uploads/sign-language.png');
  background-repeat: no-repeat;
  background-position: 40% center;
  text-align: center;
  background-size: 1em;
  padding-right: 1.5em;
  margin-right: 3em;
}

/* Homepage-Elemente auf Onepager-Startseite ausblenden */
.page-id-951 #activities-intro, .page-id-951 #blog-container, .page-id-951 #blog-container + .col-1-1 { display: none; }
.page-id-1251 #activities-intro, .page-id-1251 #blog-container, .page-id-1251 #blog-container + .col-1-1 { display: none; }
.page-id-1271 #activities-intro, .page-id-1271 #blog-container, .page-id-1271 #blog-container + .col-1-1 { display: none; }
.page-id-1277 #activities-intro, .page-id-1277 #blog-container, .page-id-1277 #blog-container + .col-1-1 { display: none; }
.page-id-1282 #activities-intro, .page-id-1282 #blog-container, .page-id-1282 #blog-container + .col-1-1 { display: none; }
.page-id-1287 #activities-intro, .page-id-1287 #blog-container, .page-id-1287 #blog-container + .col-1-1 { display: none; }

#menu-menu-kurdish li a { text-align: left; }

/* Zitate Projekt-Seite */
blockquote {
	font-size: 1em; 
	color: #000000; 
}
#zitat-1 {
	background-color: rgba(150,168,52,0.5); 
	border-left: 5px solid rgb(150,168,52); 
}
#zitat-2 {
	background-color: rgba(216,104,30,0.5); 
	border-left: 5px solid rgb(216,104,30); 
}
#zitat-3 {
	background-color: rgba(173,63,52,0.5); 
	border-left: 5px solid rgb(173,63,52); 
}
#zitat-4 {
	background-color: rgba(234,143,0,0.5); 
	border-left: 5px solid rgb(234,143,0); 
}

.page-id-1221 .slide {
	background-size: cover; 
}
