/*
Theme Name: Sweden
Theme URI: http://underscores.me/
Author: Aviv Lichter
Author URI: http://avivlichter.com
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

obsessed is based on Underscores https://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

*/

/*-------------------------------# Normalize ---------------------------------------------------*/
html {-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;}
ol, ul {list-style: none;}
blockquote, q {	quotes: none;}
blockquote:before, blockquote:after,
q:before, q:after {	content: '';
	content: none;}
table {	border-collapse: collapse;
	border-spacing: 0;}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;}
body {	line-height: 1;}

/*-------------------------# Typography-------------------------*/
body,button,input,select,textarea {
	color: #000;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
	font-family: 'Heebo', sans-serif;}
.slick-prev:before, .slick-next:before {font-family:'Heebo', sans-serif !important; }
p {	margin-bottom: .5em;}
p.wp-caption-text, .note{font-size: .7rem;}
dfn, cite, em, i {font-style: italic;}
.lec-text,.hometxt, .bold  {font-size: 1.2rem;}
.more{font-size: 1.4rem;}
.lec-title, .lec-subtitle, .bold-bottom, .site-description{font-size: 1.6rem;}
.single-title{font-size: 3rem; }
.lec-name, .single-title, .lec-title, .lec-subtitle, .bold-bottom{padding:  0rem 1rem;}
.home-titles, .home-titles .lec-title, .thshrree{font-size:3rem;}
/*-------------------------# Elements-------------------------*/
html {box-sizing: border-box;}
body, .lec-name, .date , #overlay, header#masthead.site-header{background-color: #fffdc7;}
.home-titles a, .home-titles a:visited {color: #000;}
*,*:before,*:after {box-sizing: inherit;}
::selection,  .speaker p a, .editor-txt p a{background-color: #FADA0D;  }
.lec-title, .lec-subtitle, .bold p, .bold-bottom, h2.cal_title, .hours, .more, .lec-name:hover{background-color: #000; color:#fffdc7;}
.hours{padding: 0rem .5rem;}
 .single-title, .more:hover {background-color: #fffdc7; color:#000;}
.agenda-title{display: inline-block;}
#content{width: 100%; 
	padding-top: 16vh; 
	position: relative;}
.entry-content, .lectures{width: 90vw; 
	margin: auto;}
img {height: auto;
	width: 100%;}

.line{width:100%; 
	padding-bottom: 20px;
	margin: auto;}
.lectures, .contact, .logos, .site-info, .line, .entry-content, .lectures, .main-navigation, .clear:after,.entry-content:after,.comment-content:after,
.site-header:after,.site-content:after,.site-footer:after, h3.cal-month {clear: both;}
.post .container {padding-top: 2rem;}
header#masthead.site-header, .three{border-bottom: 1px solid #000;}
.tours-line{border-top: 1px solid #000; font-weight: 700;}
.lec-title, .lec-subtitle, .bold-bottom, .bold p, .bottom, .hvrbox, .single-title, .arrows, .lec-text img, .logos img, h2.cal_title, .more{display: inline;}

/*-------------------------# Header-------------------------*/
header#masthead.site-header{position: fixed; 
	z-index: 1000;
	width: 100%;}
.site-branding{text-align: center;}

.custom-logo{width: 25%;
	padding: .2rem 0rem .2rem 0rem; }
.site-description, .custom-logo{-webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;}
b, strong, .site-description{font-weight: bold;}
.walktalk{padding-top: 1rem;}
.shrink{position: sticky;}
.shrink .custom-logo{width:15%; padding: 1rem 0rem .6rem 0rem;}
.shrink .site-description, .shrink .walktalk{font-size: 0rem;}
.shrink .walktalk{padding-top: 0rem;}
.menu-item img{height: 15px; width: auto;}


iframe{max-width: 100%;
height: auto;
}
/*-------------------------# Home-------------------------*/
#content-home{max-height: 70vh;
	overflow: hidden;
	direction: ltr;}
nav#navigation.lectures{padding-top: 6rem;
border-top: 1px solid #000;}
.home-titles{position: absolute;
	top: 20vh;
	float: right;
	right: 0;
	direction: rtl;}
.welcome{padding-right: 5vw;
	padding-left: 1rem;direction: ltr;}
.lectures{display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(2,45vh);
	grid-gap: 2rem;}

.three{ text-align: center; 
	padding-top: 3rem;}
.three img{height:6vh;
	width: auto;}
.hometxt{	padding: 2rem 1rem;}
.bold p::before{content: "\A";
	  white-space: pre;}
.bold{margin-bottom: 2vh;}
.lec-name, .date {display: table;}
.about-text, .contact{display: grid; 
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 2rem;
    padding-top: 8rem;}
.welcome-qoute{
	padding: 0rem 1rem; 
	float: right;}
.tours-line{padding-top: 4rem;text-align: center; }
h4.editors{font-size: 1rem;}
.more{display: inline; padding: 0vw 5vw 0vw 1vw;}
.site-info{padding: 2rem; direction: ltr;}
/*-------------------------# Hover Box-------------------------*/

.hvrbox,.hvrbox * {	box-sizing: border-box;}
.hvrbox {overflow: hidden;
	position:relative;
	height: 38vh;
	max-width: 100%;}
.hvrbox img {width: 100%; overflow: hidden;}
.hvrbox .hvrbox-layer_bottom {
	display: block;
	padding: 30px 0px 30px 60px;
	position: absolute;
	z-index: 999;}
.hvrbox .hvrbox-layer_top , .speaker-image{
	opacity: 1;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	-moz-transition: all 0.4s ease-in-out 0s;
	-webkit-transition: all 0.4s ease-in-out 0s;
	-ms-transition: all 0.4s ease-in-out 0s;
	transition: all 0.4s ease-in-out 0s;}
.hvrbox:hover .hvrbox-layer_top, .speaker-image:hover, 
.hvrbox.active .hvrbox-layer_top {
	opacity: .8;}
.hvrbox .hvrbox-text {
	margin-top:1.2rem;}
.hvrbox .hvrbox-text_mobile {margin-top: 5px;
	padding-top: 2px;
	display: none;}
.hvrbox.active .hvrbox-text_mobile {
	display: block;}

/*-------------------------# Single-------------------------*/

.arrows{width: 50%;
	float: right;}
.prev{text-align: left;}
.next{text-align: right;}
.prev, .next{padding: 20px 40px;}

.container{width: 100%;
 height: 70vh;}
.image-col, .text-col{width: 100%;
	position: absolute;
	max-height: 70vh;
	overflow: hidden;}

.single-content{padding-top:75vh}
.speaker{width: 100%;
	display: grid;
	 grid-template-columns:25% 50%; 
	grid-gap: 2rem;
    margin-bottom: 2rem;
border-bottom: 1px solid #000;}
.text-col{padding-top: 18vh;}
.lec-text img{}
.single-image img {max-height: 50%!important;}
.single-post .slick-track, .page-id-458 .slick-track{height: 300px;}
.variable-width img,.slick-slide iframe{ height: 90%;
		margin: auto;}
.variable-width img:hover,.slick-slide iframe:hover{opacity: .8;}
.variable-width img{width: auto!important;}
#gallery .slick-slide { margin:0rem 1rem;}
#gallery{padding-bottom: 100px;
	margin-top: 10vh;}
.variable-width, .slick-initialized, .slick-slider, .slick-dotted{width: 100%;
		overflow:visible;}

.slick-list.draggable{padding-top: 15px !important;}
.slider img { padding: 2rem;}
.slick-prev, .slick-next{opacity:1!important;}
.slick-prev:hover, .slick-next:hover{color: #333;}
.slick-prev:before, .slick-next:before{color: #000!important;}
.slick-dotted.slick-slider{ margin-top: 8rem}
[dir='rtl'] .slick-prev{right: -50px !important; }
[dir='rtl'] .slick-next{left: -50px!important;}
.slick-prev, .slick-next{height: 50px; width: 50px;}
p.wp-caption-text{padding: .2rem; position: absolute;}
.speaker-image{
		height: 20vh;
		overflow: hidden;
		margin-bottom: 2rem;}

.slick-dotted.slick-slider, .speaker-col, .contact{width: 75vw; 
		margin: auto;}
.speaker-col{padding-top: 2rem;}
aside.prev-next{width: 80vw; 
	margin: auto;}

.note{padding-top: 4rem; max-width: 80%;}

/*-------------------------# Footer-------------------------*/
footer#colophon.site-footer{
	font-size: .4rem;}
.logos img{max-height: 80px;
	max-width: 140px; 
	width: auto; 
	height: auto;
	margin: 1rem;}

.contact{padding-top: 8rem;}
textarea.wpcf7-form-control.wpcf7-textarea{height: 10vh;}
#herzlya{max-width: 220px;}
/*--------------------------## Links--------------------------*/
a , .speaker a:hover{	color: #000; text-decoration: none;}
a:hover, a:focus, a:active, .speaker a , .editor-txt a{ text-decoration: underline; }

/*---------------------------## Menus--------------------------*/
.main-navigation {display: block;
	float: right;
	width: 100%;
	text-align: center;
	border-top: 1px solid #000;}

.main-navigation li {display: inline-block;
	padding: .8rem 1rem;
 -webkit-transition: height 0.3s;
  -moz-transition: height 0.3s;
  -ms-transition: height 0.3s;
  -o-transition: height 0.3s;
  transition: height 0.3s;}

.site-main .comment-navigation, .site-main
.posts-navigation, .site-main
.post-navigation {margin: 0 0 1.5em;
	overflow: hidden;}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {float: right;
	width: 50%;}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {float: right;
	text-align: right;
	width: 50%;}

button,input[type="button"],
input[type="reset"],
input[type="submit"] {
	font-size: 12px;
	font-size: 1rem;
	line-height: 1; 
	color: #fffdc7;
	background-color: #000;
	padding: .6em 1em .4em;
	border: none;}

button:hover,input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {}

button:active, button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #000;
	border: 1px solid #000;
	background-color: #fffdc7;
	width: 80%;
	margin: auto;
	padding: 3px;
text-align: right;}

form.wpcf7-form{text-align: right;}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;}


.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; }

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	right: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;}
#content[tabindex="-1"]:focus {
	outline: 0;}

/*--------------------------# Alignments---------------------------------*/

/*---------------------------# Infinite scroll--------------------------*/
.infinite-scroll .posts-navigation,.infinite-scroll.neverending .site-footer {display: none;}

.infinity-end.neverending .site-footer {display: block;}

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	display: none;}

.custom-logo-link {	display: inline-block;}

/*-------------## Captions------------------------------------*/
.wp-caption {
	max-width: 100%;}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;}

.lec-main,.lec-img{float: right;}
.lec-main{width: 50%; }
.cal-single, .lec-exc{clear: both;
	margin-bottom: 2rem;}
figure.lec-img{height: 200px; 
	width: 40%; padding-left: 10%;
	overflow: hidden;}
.cal-sub{width: 60%;
	display: inline-block;
	border-bottom: 1px solid black;
	padding-bottom: 1rem;
	margin-bottom: 1rem;}
.cal-sub p{margin-bottom: .4rem;}

h3.cal-month{padding: 4rem 0rem 2rem 0rem;
	font-weight: 700;}
@media screen and (max-width: 1600px) { 
	.exhibition-texts, .catalog-title{font-size: 1.2rem;}
	.ms-item{width: 19%;margin: 2%;}
	.home-titles, .home-titles .lec-title, .three, .single-title{font-size: 2.4rem;}
	.single-content, .speaker{width: 75vw;}
	nav#navigation.lectures{padding-top: 4rem;}
	.single-content{padding-top: 35vw;}} 
@media screen and (max-width: 1160px) {
	.ms-item{width: 25%;margin: 3%;}
	.column-wrap{padding-bottom: 60px;}
	.home-titles, .home-titles .lec-title, .three, .single-title{font-size: 2rem;}
	.lec-title, .lec-subtitle, .bold-bottom{font-size: 1.2rem;}
	.note{padding-top: 1rem;}
    .container{height: 68vh;}
	#content-home{max-height: 60vh;}
	.lec-text, .hometxt, .bold p{font-size: 1rem;}
	.about{margin-top: 2vh;}
	.single-content, .speaker{ width: 80vw;}
	.text-col{padding-top: 15vh;}}


@media screen and (max-width: 38em) { 
	.slick-list.draggable{padding-top: 0px!important; }
	.slick-prev, .slick-next{visibility: hidden;}
	.ms-container{width: 98%;
	margin-top: 40px;}
    .speaker{grid-template-columns: 100%;}
	.ms-item{width: 100%;}
	.titles, .exhibition-texts,.ms-item{width: 100%;}
	.texts{order: 1;}
	#masthead{padding:1%;}
	#content{padding-top: 0vh;}
	.main-navigation{float: none;}
	#gallery{order: 2;}
	header#masthead.site-header{position: relative;}
	.entry-content, .contact{display: flex; flex-flow: column;}
	.column-wrap{padding-top: 60px;}
	.curator{display: block;}
	.home-img img, .welcome-qoute,  .bottom, form.wpcf7-form, .image-col, .text-col, .entry-content, .lectures, .single-content, .speaker, .slick-dotted.slick-slider, .qoutes-col, .hometxt{ margin: auto;height: auto;}
	.text-col{padding:  1rem;  margin: auto;}
	.page-title{margin-top: 40px;}
	.three{padding-top: 0rem;}
	.hometxt{columns: 1;}
	.hvrbox{margin-bottom: 2rem;}
	.custom-logo{width: 80%;}
	.shrink .custom-logo{width: 50%;}
	.hvrbox .hvrbox-layer_bottom{padding: 10px;}
	.bottom{padding-right: 0rem;}
	#menu-item-14, #menu-item-79, figure.lec-img{display: none;} 
	.main-navigation li{padding: .4rem .6rem;}
	.walktalk{padding-top: .4rem;}
	#content-home{height: 70vh!important;}
	.home-titles, .lec-title, .lec-subtitle, .bold-bottom, .bold p, .single-title{font-size: 1.2rem; top: 15vh;}
	.three {font-size: 2rem;}
	.prev, .next{padding: 20px 10px;}
	.welcome{padding-right: 1vw;}
	.date{font-size: 1rem;}
	.hvrbox .hvrbox-layer_top{position: relative;
		opacity: 1;
		width: 100%;
		background-color: transparent;
		color: #000;
		text-align: right;}
	.hvrbox{height: 25vh;}
	.hvrbox img, #content-home img{
	        height:50vh;}
	.single-content{padding-top: 35vh;}
    .container{height: auto;}
	.editor{width: 100%;}
	input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea, .cal-sub{width: 100%;}
		}