/*
Theme Name: Responsive - Neue Schule für Fotografie
Author: Patrik Budenz (Responsive by Georg Jaenisch, current maintainer Jakob Wierzba)
Description: (Responsive) Theme for Neue Schule für Fotografie 
Version: 1.3.2
Text Domain: neue-schule-berlin.com

*/

@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:300, 600);

html {
    padding: 0px;
    margin: 0px;
    -webkit-text-size-adjust: none;
}

body {
    padding: 0px;
    margin: 0px;
    /*text-align: center;*/
    font-family: "Source Sans Pro", helvetica, arial, sans-serif;
    font-weight: 300;
    letter-spacing: 0.5pt;
    font-size: 17px;
    background-image: url(images/floor.jpg);
    background-repeat: repeat-x;
    background-position: center bottom;
}

a {
    text-decoration: none;
}

a[name] {
    position: relative;
        top: -100px;
}

a:hover {
    text-decoration: underline;
}

.text-main-color {
    color: #589fa4;
}

.text-bigger {
    font-size:1.2em;
}

.clear {
    clear: both;
    line-height: 0px;
    height: 0px;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

.header {
    height: 60px;
    line-height: 60px;
    background-color: #589fa4;
    font-size: 16px;
    color: #fff;
}

.centercolumn {
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    padding-left:15px;
    padding-right:15px;
    max-width: 970px;
}

.header .logo {
    
}

.header .leftcolumn {
    float: left;
    position: relative;
}

.header .rightcolumn {
    text-align: right;
}

.header .menu-top-menu-container,
.header .menu-top-menu-en-container {
    display: inline;
}

.header ul.menu {
    display: inline;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.header ul.menu li { 
    display: inline; 
    margin-right: 55px;
}

.header a { 
    color: #fff; 
    cursor: pointer;
}


.header a.search {
    margin-right: 60px;
    position: relative;
}

div.search {
    height: 0px;
    margin-top: 0px;
}


div.search form {
    width: 90%;
    display: none;
    padding: 0px;
    margin: 0px 0px 0px 0px;
    white-space: nowrap;
    padding-top: 2px;
}



div.search.open form {
    display: block;
}

div.search form input[type="text"] {
    min-width: 120px;
    height: 36px;
    border: none;
    padding: 0px 15px;
    background-color: #8abcbf;
    font-family: "Source Sans Pro", helvetica, arial, sans-serif;
    font-size: 16px;
    letter-spacing: 0.5pt;
    color: #ffffff;
    float:left;
}

div.search form input[type="reset"] {
    width: 36px;
    height: 36px;
    border: none;
    background-color: #8abcbf;
    background-image: url(images/reset.png);
    background-repeat: no-repeat;
    background-position: center center;
    font-family: "Source Sans Pro", helvetica, arial, sans-serif;
    font-size: 16px;
    float:left;
}

div.search form input[type="submit"] {
    width: 36px;
    height: 36px;
    border: none;
    background-color: #589fa4;
    background-image: url(images/dosearch.png);
    background-repeat: no-repeat;
    background-position: center center;
    font-family: "Source Sans Pro", helvetica, arial, sans-serif;
    font-size: 16px;
    float:left;
}


.le-flex {
     display: flex;
}

.le-flex-1 {
     flex-grow:0;
}

.le-flex-5 {
     flex-grow:5
}

.le-angle {
    display: inline-block;
    position: absolute;
    right: 25px;
    float: right;
    top:5px;
    height: 16px;
    width: 16px;
    background:url(images/angle-down-g.png) no-repeat;
    background-size: contain;
}

/* active state */
.sidenav .menuitem.le-active .le-angle,
.le-main-menu .menuitem.le-active .le-angle {
    background: url(images/angle-up-g.png) no-repeat;
    background-size: contain;
}


.le-main-menu .le-angle {
    display:none;
}

.le-main-menu-touch {
    position:relative;
    left:-25px;
}


.le-main-menu-touch .menuitem .le-angle {
    display: inline-block;
    right: -25px;
    top:2px;
}




.mainmenu {
    position: relative;
    z-index: 10;
    margin-top: 70px;
    margin-bottom: 70px;

}

.mainmenu .leftcolumn {
    float: left;
    width: 200px;
}

.mainmenu .rightcolumn {
    text-align: right;
}

.mainmenu .menu-top-menu-container {
    display: inline;
}

.mainmenu ul.menu {
    display: inline;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.mainmenu ul.menu li { 
    display: inline; 
    position: relative;
    margin-left: 50px;
}

.mainmenu ul.menu a { 
    color: #4f4f46; 
    font-size: 24px;
    line-height: 48px;
    text-transform: uppercase;
    letter-spacing: 0pt;
}

.mainmenu ul.menu li:first-child { 
    margin-left: 0px;
}

.mainmenu ul.menu li.current-page-ancestor a,
.mainmenu ul.menu li.current-menu-item a {
    color: #589fa4;
}

.mainmenu a:active {
    color: #589fa4;
}

/* submenu ------ */
.mainmenu ul.menu li ul.submenu  {
    display: none;
    position: absolute;
    top: 18px;
    padding:15px;
    left:-14px;
    margin-left:0;
    min-width:220px;
    background:rgba(255,255,255,1);
}

/*.mainmenu ul.menu li:last-child ul.submenu { 
    left:-200px;
}*/

.mainmenu ul.menu li:hover ul.submenu,
.mainmenu ul.menu li:focus ul.submenu,
.mainmenu ul.menu li:active ul.submenu,
.mainmenu .menuitem.le-active ul.submenu
  {
    display: block;
}




.mainmenu ul.submenu li {
    display:block;
    margin-left: 0px;
    margin-bottom: 8px;
}

.mainmenu ul.menu ul li, 
.mainmenu ul.menu ul a,
.mainmenu ul.menu li.current-menu-item ul li a 
 { 
    color: #4f4f46; 
    font-size: 17px;
    line-height: 19px;
    text-transform: none;
    text-align: left;
}


.subpages {
    max-width: 975px;
    position: relative;
}

.subpages .page {
    position: relative;
    overflow: hidden;
    /*background-color: #4f4f46;*/
}

.subpages .page.noimg {
    background-color: #4f4f46;
}

.subpages .page.col1 {
    /*max-width: 300px;*/
}

.subpages .page.col2 {
    /*max-width: 620px;*/
}

.subpages .page.col3 {
    /*max-width: 940px;*/
}

.subpages .page img.pageimage {
    /*width: 100%;*/
}

.subpages .page .info {
    position: absolute;
    bottom: 20px;
    right: 20px;
}


.subpages .page.col1 .info {
        /*width: 243px;*/
        width:87%;
}

.subpages .page.col2 .info {
        width:80%;
}

.subpages .page.col3 .info {
        /*width: 440px;*/
        width:55%;
}

.subpages .page .info img {
    position: absolute;
    right: 15px;
    top: 15px;
}

.subpages .page .head {
    padding: 15px;
    background-color: #fff;
}

.subpages .page .info .category {
    font-style: italic;
    color: #589fa4;
    font-size: 18px;
    margin-bottom: 10px;
}

.subpages .page .info .title {
    color: #4f4f46;
}

.subpages .page.col3 .info .title,
.subpages .page.col2 .info .title {
    font-size: 32px;
}

.subpages .page.col1 .info .title {
    font-size: 25px;
}


.subpages .page .info .excerpt {
    margin-top: 2px;
    color: #4f4f46;
    padding: 18px;
    background-color: #fff;
    display: none;
}

.subpages .page:hover .info .excerpt {
    display: block;
}


.subpages .page .info .excerpt .more {
    color: #589fa4;
    margin-top: 5px;
}

.anchor {
    position: relative;
    top: -80px;
}

.group {
    font-size: 20px;
    font-style: italic;
    color: #589fa4;
    margin-bottom: 30px;
    margin-top: 80px;
}

.group.first {
    margin-top: 0px;
}

img.line {
    display: block;
    margin-bottom: 45px;
}

.pagecontent {
    min-height: 400px;
}

.pagecontent .leftcolumn {
    float: left;
    max-width: 300px;
    margin-right: 20px;
}

.pagecontent ul.pages {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.pagecontent ul.pages li {
    margin-bottom: 0px;
    padding: 5px 10px;
    margin-left: -10px;
    display: table;
}

.pagecontent ul.pages li a {
    color: #589fa4;
}

.pagecontent ul.pages li.current_page_item {
    /*background-color: #deeced; */
    text-decoration: underline;  
}

.pagecontent ul.pages li.pagegroup {
    color: #589fa4;
    font-style: italic;
    margin-bottom: 20px;
    margin-top: 45px;
}

.pagecontent ul.pages li.pagegroup.first {
    margin-top: 0px;
}

/* left column menu */


.leftcolumn ul.pages li.pagegroup {
    margin-bottom: 0px;
    margin-top: 25px;
}

.leftcolumn ul.pages li.pagegroup.first {
    margin-top: 0px;
}


.pagecontent .content {
    margin-left: 320px;
    color: #4f4f46;
    line-height: 1.5em;
}

.pagecontent .content *:first-child {
    margin-top: 0 !important;
}

.pagecontent .content h1 {
    font-size: 42px;
    color: #589fa4;
    font-weight: 300;
    line-height: 50px;

}

.pagecontent .content h2 {
    font-size: 32px;
    color: #589fa4;
    font-weight: 300;
    line-height: 40px;
}

.pagecontent .content h4 {
    font-size: 42px;
    color: #4f4f46;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.2em;
    margin-bottom: 20px;
}

.pagecontent .content pre {
    font-family: "Source Sans Pro", helvetica, arial, sans-serif;
    font-weight: 300;
    letter-spacing: 0.5pt;
    font-size: 17px;
    color: #ffffff;
    background-color: #589fa4;
    line-height: 1.5em;
    padding: 20px;
    white-space: pre-line;
    margin-top: 0px;
    margin-bottom: 2px;
}

.pagecontent .content pre a {
    color: #c1dddd;
}

.pagecontent .content strong {
    font-weight: 600;
}


.pagecontent .content h1 strong {
    font-weight: 300;
}


.pagecontent .content a {
    color: #589fa4;
}


.pagecontent .content table {
    width: 100%;
}

.pagecontent .content td {
    font-family: "Source Sans Pro", helvetica, arial, sans-serif;
    font-weight: 300;
    letter-spacing: 0.5pt;
    font-size: 17px;
}

.pagecontent .content td p:first-child {
    margin-top: 0px;
}

.pagecontent .content td p:last-child {
    margin-bottom: 0px;
}


.pagecontent .content table.tableteal {
    padding: 10px 20px;
    background-color: #589fa4;
}

.pagecontent .content table.tableteal td {
    color: white;
}

.pagecontent hr {
    margin-top: 40px;
    margin-bottom: 40px;
    height: 1px;
    color: transparent;
    background-color: transparent;
    border: none;
}

.pagecontent .pageinclude {
    margin-top: 70px;
}

.pagecontent .pagegallery {
    width: 100%;
    height: 400px;
    position: relative;
    cursor: pointer;
    margin-bottom: 30px;
}



.pagecontent .pagegallery .slide {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 100%;
    margin-left: 10%;
    display: none;
    text-align: center;
}

.pagecontent .pagegallery .slide img {
    max-height: 400px;
}

.pagecontent .pagegallery .slide:first-child {
    display: block;
}

.pagecontent .pagegallery .slide figure {
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    margin: 0px;
}

.pagecontent .pagegallery .slide figure figcaption {
    color: #4f4f46;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.2em;
    text-align: left;
}
    
.pagecontent .pagegallery .prev {
    position: absolute;
    width: 30px;
    height: 32px;
    background: url(images/arrowLeft.png) left no-repeat;
    top: calc(50% - 32px);
    left: 10px;
    opacity: 0.3;
}

.pagecontent .pagegallery .next {
    position: absolute;
    width: 30px;
    height: 32px;
    background: url(images/arrowRight.png) right no-repeat;
    top: calc(50% - 32px);
    right: 10px;
    opacity: 0.3;
}


.pagecontent .pagegallery .pagination {
    position: absolute;
    width: 100%;
    height: 10px;
    bottom: -10px;
    text-align: center;
}

.pagecontent .pagegallery .pagination div { 
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0px 3px;
    background: url('data:image/svg+xml;utf8,<svg width="10" height="10" viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><circle cx="5" cy="5" r="4" stroke="#888" stroke-width="1" fill="transparent"/></svg>') center no-repeat;
}

.pagecontent .pagegallery .pagination div.active {
    background: url('data:image/svg+xml;utf8,<svg width="10" height="10" viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><circle cx="5" cy="5" r="4" stroke="#888" stroke-width="1" fill="#888"/></svg>') center no-repeat;	
}


.registrationlink  {
    display: inline-block;
    color: #ffffff !important;
    background-color: #589fa4;
    padding: 10px 20px;;
    margin-top: 10px;
}

.wpcf7 {
    margin-top: 2em;
    margin-bottom: 2em;
}

.registrationdata {
    margin-bottom: 40px;
}

.registrationdata label {
    display: inline-block;
    width: 150px;
    height: 25px;
    margin-bottom: 5px;
}


.registrationdata label.inline {
    display: inline;
    width: auto;
    height: auto;
    margin-right: 30px;
    margin-left: 5px;
}

.registrationdata input[type=text], .registrationdata input[type=email], .registrationdata input[type=tel] {
    width: 270px;
    height: 20px;
    margin-bottom: 5px;
    border: solid 1px #cccccc;
    font-family: "Source Sans Pro", helvetica, arial, sans-serif;
    font-weight: 300;
    letter-spacing: 0.5pt;
    font-size: 17px;
    color: #4f4f46;
    padding: 3px;
    
}

.registrationdata input[type=checkbox], input[type=radio] {
        margin-right: 12px;

}

.registrationdata .wpcf7-list-item {
    display: block;
    margin-bottom: 0.3em;

}

.registrationdata .wpcf7-acceptance {
    display: inline-block;
    margin-bottom: 0.3em;

}

/*.wpcf7 .screen-reader-response  {
    color:#000000;
    padding:1.2em;
    margin-bottom: 2em;
    border: 1px solid #589fa4;
}*/

.wpcf7 div[role="alert"]  {
    color:red;
    padding:1.2em;
    margin-bottom: 2em;
    border: 1px solid red;
}



.wpcf7 .screen-reader-response ul  {
    display: none;
}

.wpcf7-not-valid-tip {
    color:red;
    font-size: 0.8em;
    margin-left: 1.5em;
}


.registrationdata .textarea-wide {
    width:100%;
    max-width:500px;

}

.registrationdata .text-narrow {
    max-width:400px;
    font-size: 0.9em;
    margin-bottom: 1em;

}




#registrationgender {
    display: inline-block;
    width: 278px;
}
    

#registrationtype, #seminargroup {
    margin-bottom: 40px;
}

#registrationtype input, #seminargroup input {
    vertical-align: middle;
    margin-top: 5px;
    float: left;
}

#registrationtype label, #seminargroup label {
    margin-left: 20px;
    display: inline-block;
    width: 90%;
    vertical-align: text-top;
    line-height: 1em;
    margin-bottom: 10px;
}


input.submit, .wpcf7-submit   {
    border: none;
    display: inline-block;
    color: #ffffff !important;
    background-color: #589fa4;
    padding: 10px 20px;
    margin-top: 10px;
    font-family: "Source Sans Pro",helvetica,arial,sans-serif;
    font-size: 17px;
    font-weight: 300;
    letter-spacing: 0.5pt;
    cursor: pointer;
}

#registrationgender.error,
#registrationtype.error,
.registrationdata input[type=text].error {
    background-color: #fda;
}

.nwsl {
    display: none;
}

hr {
    height: 1px;
    border: none;
    background-color: #eeeeee;  
}

.searchresults {
    min-height: 400px;
    color: #4f4f46;
    line-height: 1.5em;
}

.searchresults h1 {
    font-size: 42px;
    color: #589fa4;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 60px;
    line-height: 2em;
}

.searchresults .thumbnail {
    float: left;
    width: 180px;
    margin-bottom: 20px;
}

.searchresults .result {
    margin-left: 180px;
    margin-bottom: 20px;
}

.searchresults .result h1 {
    font-size: 24px;
    margin-bottom: 10px;
    margin-top: 0px;
    font-style: normal;
}


.searchresults .result a {
    color: #4f4f46; 
}

.searchresults .category {
    line-height: 1em;
    margin-bottom: 5px;
}

.search-highlight {
    color: #589fa4;
    background-color: #deeced;  
}

.noimage {
    background-color: #4f4f46;
    width: 150px;
    height: 150px;
    background-image: url(images/logo.png);
    background-repeat: no-repeat;
    background-position: center;
}

.page-numbers {
    color: #589fa4;
}

.page-numbers.current {
    color: #4f4f46;   
}

.footer {
    min-height: 320px;
    margin-top: 80px;
}
.footer:after {
content: "";
  display: table;
  clear: both;
}

.footer .column {
    width: 300px;;
    float: left;
    color: #807a74;
    font-size: 14px;
    margin-right: 20px;
    margin-top: 60px;
}

.footer .column a {
    color: #589fa4;
    
}

.footer .column:last-child {
    margin-right: 0px;
}




/* --- MASONRY GRID --- */

.le-grid-masonry {
    position: relative;
    left:-8px;
    width: 103%;

}

.le-grid-sz,
.le-grid-it {
    width: 33%;
    box-sizing: border-box; }


.le-grid-it {
    padding: 0 12px 12px 12px; 
}

  .le-grid-it-w2{
    width: 66%; }

  .le-grid-it-w3 {
    width: 100%; 
    padding-right: 18px;
    }

  .le-grid-it {
    margin-bottom: 10px; }



.le-hidden-mobile {
    display: block;
}


.le-show-mobile {
    display: none;
}


.btnDropdown {
    
    position: relative;
    left: -24px;
    color:#589fa4;
    margin-bottom: 18px;
    width: 100%;
    cursor: pointer;
    font-size: 22px;
}

.btnDropdown i{
    display: inline-block;
    position: relative;
    top:2px;
    left: 5px;
    width:20px;
    height: 20px;
    background: url(images/icon-plus-1.png) no-repeat;
    background-size: cover; -ms-background-size: cover; -o-background-size: cover; -moz-background-size: cover; -webkit-background-size: cover;
}

.btnDropdown.open i {
    display: inline-block;
    position: relative;
    top:2px;
    left: 5px;
    width:20px;
    height: 20px;
    background: url(images/icon-minus-1.png) no-repeat;
    background-size: cover; -ms-background-size: cover; -o-background-size: cover; -moz-background-size: cover; -webkit-background-size: cover;
}

#sideDropdown {
    margin-left: -14px;
}


/* OFF Canvas Menu */
/* The side navigation menu */

/* tinyDrawer css */

:root {
  --tdm-drawer-width: 280px;
  --tdm-drawer-speed: .2s;
  --tdm-drawer-background: rgba(255,255,255,0.85);
  --tdm-backdrop-background: rgba(0,0,0,.5); }


drawer-menu,
[data-drawer-backdrop] {
  top: 0;
  left: 0;
  position: fixed;
  display: block;
  display: none;
  height: 100%; }

[data-drawer] drawer-menu,
[data-drawer] [data-drawer-backdrop] {
  display: block; }

drawer-menu {
  z-index: 99999;
  margin-left: calc(var(--tdm-drawer-width) * -1);
  width: var(--tdm-drawer-width);
  transition: margin-left var(--tdm-drawer-speed);
  background: var(--tdm-drawer-background); 
overflow-y:auto;
}


[data-drawer-backdrop] {
  z-index: 99998;
  width: 100%;
  visibility: hidden;
  opacity: 0;
  background: var(--tdm-backdrop-background);
  transition-property: opacity, visibility;
  transition-duration: var(--tdm-drawer-speed), 0s;
  transition-delay: 0s, var(--tdm-drawer-speed); }

[data-drawer="true"] {
  height: 100%;
  width: 100%;
  overflow: hidden; }
  [data-drawer="true"] [data-drawer-backdrop] {
    visibility: visible;
    opacity: 1;
    transition-property: visibility, opacity;
    transition-duration: 0s, var(--tdm-drawer-speed);
    transition-delay: 0s, 0s; }
  [data-drawer="true"] drawer-menu {
    margin-left: 0;
    transition: margin-left var(--tdm-drawer-speed); }
/*
[data-drawer-backdrop]:before {
  content: '';
  height: 2rem;
  width: 2rem;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-x'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
  background-size: 2rem;
  display: block;
  margin-top: 1rem;
  margin-left: calc(var(--tdm-drawer-width) - 1rem);
  opacity: .5; }*/

/* // tinyDrawer css */

.sidenav {
  /*height: 100%;
  width: 0; 
  position: fixed; 
  z-index: 150; 
  top: 0;
  left: 0;
  background-color: rgba(255,255,255,0.85); 
  overflow-x: hidden; 
  padding-top: 60px; 
  transition: 0.5s; 
  font-weight: 400;*/
}


.sidenav li {
  list-style: none;
  margin-bottom: 0.4em;
}

.sidenav ul {
  padding:0 10px 12px 0px;
  margin:6px 0;
}

.sidenav .search {
  margin:10px 0;
}


.sidenav .le-menu1 {
    margin:0;
    padding: 0;
    margin-top: 30px;
}

.sidenav ul.menu{
    margin:0;
    padding: 0;
}

/* The navigation menu links */
.sidenav a,
.sidenav .menu-item  a,
.sidenav .menuitem  a {
  padding: 0px 8px 0px 12px;
  text-decoration: none;
  font-size: 21px;
  color: #555555;
  display: inline-block;
  max-width:85%;
  transition: 0.3s;
}

.sidenav .menuitem,
.sidenav .menu-item {
    position: relative;
    border-bottom: 1px solid #ACACAC;
    padding-top:3px;
    padding-bottom:6px;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: #000000;
  text-decoration: underline;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 15px;
  font-size: 36px;
  margin-left: 50px;
}


.sidenav .menuitem .submenu{
    display: none;
    margin-left:0px;
    margin-bottom: -2px;
    margin-top: 6px;
}



.sidenav .menuitem .submenu a {
    font-size: 17px;
    line-height: 26px;
}


.sidenav .menuitem.le-active .submenu {
    display: block;
}

.sidenav .menuitem:hover .submenu,
.sidenav .menuitem:focus .submenu,
.sidenav .menuitem:active .submenu,
.sidenav .menuitem.over .submenu {
    /*display: block;*/
}

/* link of active page link*/
/*.sidenav .menuitem.current-menu-item .submenu   {
    display:block;
}*/

.sidenav .menuitem.current-menu-item a span,
.sidenav .menuitem.le-active a span,
.sidenav .menuitem:hover .submenu a span,
.sidenav .menuitem:focus .submenu a span,
.sidenav .menuitem:active .submenu a span,
.sidenav .menuitem.over .submenu a span
{
    text-decoration: underline;
}

.sidenav .menuitem.current-menu-item .submenu .current-menu-item,
.sidenav .menuitem .submenu .current-menu-item {
    text-decoration: underline;
}


 img, picture {
  max-width: 100%;
  height: auto;
}


/* slider gallery */

.pagecontent .pagegallery {
    width: 100%;
    margin-left:auto;
    margin-right:auto;
}





/* responsive iframe Videos */

.video-container {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px; height: 0; overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}


.le-hide {
    display: none;
}

.le-show {
    display: block;
}


/* -------------  M E D I A   Q U E R I E S ------------------------------------------------------ */

/* for medium screens */
@media only screen and (max-width: 1100px) {
.mainmenu ul.menu li:last-child ul.submenu { 
	min-width: 120px;
    left:-50px;
}

/* in between */

 @media only screen and (max-width: 840px) {

.mainmenu ul.menu li { 
    margin-left: 30px;
}

}

}

/* for mobile */

   @media only screen and (max-width: 766px) {

/* masonry grid */

.le-grid-masonry {
    position: relative;
    left:0px;
    width: 100%;

}

    .le-grid-sz,
.le-grid-it {
    width: 100%;
    box-sizing: border-box; }


  .le-grid-it-w2{
    width: 100%; }

  .le-grid-it-w3 {
    width: 100%; 
    padding-right: 12px;
    }

  .le-grid-it {
    margin-bottom: 10px; }
 


/* info boxes */

.subpages .page .info {
    bottom: 20px;
    left: 20px;
}


.subpages .page.col1 .info,
.subpages .page.col2 .info,
.subpages .page.col3 .info   {
        width:70%;
}

.subpages .page:hover .info .excerpt {
    display: none;
}


.pagecontent .leftcolumn {
    /*display: none;*/
    float: none;
    margin-top: -10px;
    padding:0 20px 0px 25px;
}


.pagecontent ul.pages li {
    padding: 1px 10px;
}



.pagecontent .content {
    margin-left: 0;
    /*padding:0 20px;*/
}

.pagecontent #sideDropdown {
    padding-bottom:25px;
}



.footer {
    background: #EBEBEB;
    height:100%;
}

.footer .column {
    width: calc(100% - 20px);
    margin-top: 20px;
    padding-left: 20px;
}


/* header and menus */
.header .leftcolumn {
    margin-left:-15px;
}

.header .leftcolumn img {
    display: inline-block;
}

.header .leftcolumn a:hover {
    text-decoration: none;
}

.header .leftcolumn .logo2 {
    position: relative;
    top:-5px;
}

.header .leftcolumn .logo-link {
    position: relative;
    min-width: 150px;
    min-height: 60px;
    display:inline-block;
    
}


.header .rightcolumn {
    position: relative;
    right:-15px;
    max-width:40%;
    float: right;
}

.header {
    position: fixed;
    top:0;
    width:100%;
    z-index:100;
    height: 65px;
    
}

.header .menuicon {
    padding-top: 10px;
    margin-right: 15px;
    opacity: 0.7;
    width:40px;
    height: 40px;
}

.header .menuicon:hover {
    opacity: 1;
}

.pagecontent, .subpages {
    margin-top: 100px;
}

/* search form */

div.search.open  {
    height: 38px;
}


div.search form {
    position: relative;
    z-index: 99;
    top: 80px;
    left:6%;
}

div.search form input[type="text"] {
    /*width: 70%;*/
}

.sidenav .search,
.le-pointer {cursor: pointer;}

/* headings and text */

.pagecontent .content h1,
.pagecontent .content h2,
.pagecontent .content h4
 {
    word-wrap: break-word;

}

.pagecontent .content h1 {
    font-size: 36px;
}


.pagecontent .content h2 {
    font-size: 28px;
}

.pagecontent .content h4 {
    /*font-size: 36px;*/
}

.pagecontent .content h4 img {
    display: block;
    margin-bottom: 4px;
}

.subpages .page .head {
    padding: 7px 12px;
    background-color: rgba(255,255,255,0.9);
}

.pagecontent .content table td 
.pagecontent .content .tableteal td {
  padding-right: 12px;  
  word-wrap: break-word;
  word-break: break-all;
  hyphens: auto;
}


.pagecontent .content  td {
    word-wrap: break-word;
}


.subpages .page.col1 .info .category, 
.subpages .page.col3 .info .category,
.subpages .page.col2 .info .category {
    font-size: 16px;
}


.subpages .page.col1 .info .title, 
.subpages .page.col3 .info .title,
.subpages .page.col2 .info .title {
    margin-top: -11px;
    font-size: 23px;
}



/* search results */

.searchresults {
    margin-top: 60px;
}

.searchresults h1 {
    font-size: 36px;
    line-height: 1.2;
}

.searchresults .thumbnail {
    float: none;
    width: 100%;
    margin-bottom: 20px;
}

.searchresults .result {
    margin-left: 0;
    margin-bottom: 60px;
}


.pagecontent .pagegallery {
    height: 300px;
}

.pagecontent .pagegallery .slide img {
    max-height: 300px;
}



/* utilities */

.le-hidden-mobile {
    display: none;
}


.le-show-mobile {
    display: block;
}


  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}


} 







