/*color palette 
https://colorhunt.co/palette/201413
#4e89ae - light blue
#43658b - deep blue
#ed6663 - pink salmon
#ffa372 - orange salmon*/


/*Объявления логически связанных свойств группируются в следующем порядке:

1 Позиционирование
2 Блочная модель
3 Типографика
4 Оформление
5 Анимация
6 Разное*/

body {
  min-height: 100vh;
	display: flex;
	flex-direction: column;
	background-color: #fda37263;
	font-family: 'Work Sans', "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	font-size: 1.125rem;
}

button {
  border: none;
  background-color: rgba(255,255,255, 0%)  ;
  outline: none;
}

div{
  outline: none;
}

header {
	background-color: #43658b;
	position: sticky;
	top: 0;
	left: 0;
	padding:20px;
  z-index: 100;
}

h1 {
  margin: 0;
}

.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.header h1 {
  color: #ffffff;
}

.studioBit h2 {
	margin:0;
	margin-top: 10px;
}

.header2 {
	display: none;
}

/* .menuButton {
} */

nav {
	display: none;
}

.onclickMenuBar {
  display: none;
}

.onclickMenuBarActive {
	display: inline-block;
	background-color: #43658b;
	position: absolute;
	right: 0;
	top: 91px;
  z-index: 20;
}

.onclickMenuBarActive a {
	display: block;
	text-decoration: none;
	color: #ffffff;
	padding: 25px 60px;
	border-top: 1px solid #ffe476;
	font-size: 1.5rem;
}



.onclickMenuBarActive .current {
    color: #ffe476;
    text-shadow: yellow;
    text-shadow: 2px 2px 5px red;
}

.intro {
	padding: 20px 20px 0px 20px;
}

.studioContainer {
	padding-top: 0;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
}

.studioBit {
	padding: 10px;
	margin: 2px;
	background-color: #ed6663bd;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	margin-bottom: 20px;
	width: 95%;
  z-index: 10;
}

.studioBit img {
	width: 100%;
}

.studioBit{
  position: relative;
}

.studioBit .hover {
  position: absolute;
  transform: translate(-10px, -10px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: #fdbe9c;
  opacity: 0;
  transition: 0.6s;
}

.hoverInner {
  width: 80%;
  height: 80%;
  border: 3px groove #00000024;
  box-sizing: border-box;
  padding: 0 10px;
}

.hoverInner a{
  text-align: center;
  color: #000000;
}

.hover:active {
  opacity: 1;
}

.hover:focus {
  opacity: 1;
}


/*-------styles for "events" page ---------*/

.headerEvents {
	padding-left: 20px;
  padding-bottom: 20px; 
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
  box-sizing: border-box;
}

/*.filterButton {
  transform: translateX(-20px);
}*/


.filterButton  {
width: 50px;
  height: 50px;
  background-color: #ed6663;
  
  border-radius: 0 0 0 5px;
  transition: width 0.5s;
}

.filterButton:hover {
	width: 70px;
	transition: all 0.5s ease;
}

/*.filterButton svg {
  width: 51px;*/
  /*transform: translateX(-10px);*/

/*}

.filterButton svg:hover {
width: 51px;
}*/

.filterSearch {
  display: block;
  background-color: #ffa372;
	position: fixed;
	width: 100vw;
	height:100vh;
  padding: 0;
  transform: translateX(100%);
  transition: all 2s;
}


.filterSearchActive {
  transform: translateX(0);
  transition: all 1s ease;
  

}

.filterSearchActive h2 {
	margin: 0; 
	margin-bottom: 10px;
}

.filters {
  padding: 20px 0;
}

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

.tagCloud ul {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	padding: 0;
	margin: 0;
}

.tagCloud li {
  font-size: 20pt;
	height: 30px;
	background-color: #ffffff;
	border: 1px solid #000000;
	border-radius: 5px;
	margin: 10px;
	padding: 1px 5px;
	line-height: 30px;
}

.keyRow {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.iconKey {
	width: 50px;
}

.monthRow {
	padding: 10px;
	padding-left: 20px;
  padding-bottom: 30px;
  padding-top: 0;
}

.monthRow h2 {
  margin-top: 10px;
}

.monthEventsRow {
	display: flex;
	justify-content: space-between;
	align-items: center;
/*	height: 41px;*/
}

.monthEventsIcon {
	height: 35px;
  padding: 0 20px;
}

.monthEvents li {
	padding: 10px;
	border: 1px solid #000000;
	margin: 3px;
	background-color: #ece7e770; 
	transition: background-color 0.5s;
}

.monthEvents li:hover {
	background-color: #ece7e7e3;
	transition: background-color 0.5s;
}

.monthEvents li:active {
  background-color: #ece7e7e3;
}

.googleCalendar {
display: flex;
flex-direction: row;
justify-content: center;
}

.googleCalendar iframe {
  min-width: 320px;
  width: device-width;
  min-height: 400px;
  margin-bottom: 40px; 
}
/*------------------------*/

  footer {
    color: #ffe476;
    background-color: #43658b;
    padding: 1% 3%; 
    text-align: right;
    flex: 1;
  }

 footer a {
   color: #ffe476;
   text-decoration: none;
 }






@media screen and (min-width: 700px) {
	.header1 {
	  display: none;
	}

	.header2 {
	  display: block;
	}

	.superContainer {
		display: flex;
		flex-direction: column;
	}

	.studioContainer {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		width: 100%;
		box-sizing: border-box;
	}

	.studioBit {
		width: 46%;
		margin-left: 20px;
	}

	.studioBit img {
	  width: 100%;	
	}

  /*---------events--------*/
  .googleCalendar iframe {
  min-width: 600px;
  width: device-width;
  }
}


@media screen and (min-width: 1024px) {
	.menuButton {
	 display: none;
	}

	nav {
	 display: flex;
	}

	nav a {
		background-color: #43658b;
		color: #ffffff;
		display: flex;
		text-decoration: none;
		padding: 10px;
		border-top: solid 1px #ffffff;
	}

	.onclickMenuBar {
	  display: none;
	}
	.current {
		color: #ffe476;
    text-shadow: yellow;
    text-shadow: 2px 2px 5px red;
		border-top-color: #ffe476;
	}

/*---studios page styling---*/

	.superContainer {
		display: flex;
		flex-direction: column;
	}

	.studioContainer {
		display: flex;
		flex-direction: row;
		box-sizing: border-box;
		align-content: space-around;
		flex-wrap: wrap;
	}
	.studioBit {
		/*width: 33.33333%;*/
		width: 31%;
		margin-left: 20px;
	}

	.studioBit img {
		width: 100%;
		padding: 3px;
		box-sizing: border-box;
	}

  .hover:hover {
    opacity: 1;
  }


/*events page styling*/

  .googleCalendar iframe {
    min-width: 800px;
    width: device-width;
    }


/*--------------------*/



}
