/*--  IKB style formatting  -- */
:root {
    font-size: calc(16px + (26 - 14) * ((100vw - 300px) / (3840 - 300)));
}
body.ikb {
    font-family: "GeorgiaPro", "serif";
    line-height: 1.25;
	color: rgb(0,0.2,0.2);
}
/* Override Hamburger colors 
#menuToggle {
    background-color:beige;
}
#menuToggle span.hmb {
    background-color:gold;
}
*/
/* -------------- Page header ------------------- */
.ikb-header {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .04em;
    background-color: #c3512f;
    padding: 1rem 2.5rem;
}
.ikb-header a:link, .ikb-header a:visited, .ikb-header a:hover, .ikb-header a:active {
    color: white;
    text-decoration: none;
    cursor: pointer;
}
/* ----------- Main text container ---------------- */
/* ----------- Main text container ---------------- */
/* ----------- Main text container ---------------- */
.ikbmain {
    display: flex;
    justify-content: center;
    max-width: 960px;
    margin: 0 auto;
    overflow: hidden;
}
.main-pane {
    text-align: left;
}

@media screen and (min-width: 180px) and (max-width: 360px) {
.main-pane {
    margin-right: 3%;
    margin-left: 3%;
}
}

@media screen and (min-width: 361px) and (max-width: 480px) {
.main-pane {
    margin-right: 6%;
    margin-left: 6%;
}
}

@media screen and (min-width: 481px) and (max-width: 600px) {
.main-pane {
    margin-right: 9%;
    margin-left: 9%;
}
}

@media screen and (min-width: 601px) and (max-width: 959px) {
.main-pane {
    margin-right: 12%;
    margin-left: 12%;
}
}

@media screen and (min-width: 960px) {
.main-pane {
    margin-right: 12%;
    margin-left: 12%;
}
}
.glava {
    font-size: 1.5rem;
    font-weight: 400;
    padding: 0.5rem;
}
.ikbtext {
    text-align: left;
    text-indent: 2rem;
}
.ikbverse {
    font-style: italic;
    padding-left: 5rem;
    text-indent: 0rem;
}
.zvezdochki {
    text-align: center;
}
.fnote {
    margin-top: 5px;
    border-top-color: cadetblue;
    border-top-style: inset;
    font-style: italic;
}
a.fnotenum {
    font-size: 0.75em;
    text-decoration: none;
    line-height: 0;
    vertical-align: super;
	color:crimson;
}
/* ----------- End of Main Container formats ---------------- */
/*           */
/*           */
/*           */
/*-------- right container with photos CURRENTLY NOT DISPLAYED ------ 
.right-pane {
    display: none;
    max-width: 25%;
    padding: 0;
}
.right-pane figure {
    padding: 1em 3em 1em 3em;
}
.right-photo img {
    cursor: pointer;
    max-width: 340px;
}
.ikb-photo-caption {
    font-size: 11pt;
    text-align: left;
    text-indent: 0;
}
   ----------- End of Photo Container formats ---------------- */
/*                                                          */
/*  ----------   Navigation icons -----------------------------*/
.ikb-totop {
    position: fixed;
    bottom: 120px;
    right: 20px;
    border-radius: 0;
    height: 50px;
    width: 50px;
    text-decoration: none;
    text-align: center;
    z-index: 1000;
    margin: 0;
    padding: 0;
    line-height: 1;
}
.ikb-totop a {
    font-size: 1.125rem!important;
    display: block;
    font: normal normal normal 14px/1 FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-decoration: none;
    color: #c3512f;
    opacity: .4;
}
.ikb-totop a:hover {
    opacity: .8;
}
.hidden_link_text {
    display: none;
}
/* -------------  End of Navigation Icons------ -----------------------*/
/*                                                                                   */
/*                                                                                   */
footer {
    background-color: white;
}
/*    */
/*------------- Tooltip formatting--------------------*/
.tooltip {
    position: relative;
    display: inline;
    border-bottom: 1px dotted black;
}
.tooltip .tooltiptext {
    visibility: hidden;
    text-indent: 0;
    /*width: 300px;*/
    background-color: black;
    color: white;
    text-align: left;
    border-radius: 6px;
    padding: 0.3rem;
    position: absolute;
    z-index: 1;
    top: 1rem;
}
.tooltip:hover .tooltiptext {
    visibility: visible;
}
/*  --- End of Tooltip formats  ---------------- */
/*                                               */
/*                                               */
/*------------- Photo gallery --------------------------  */
.ikb-h1 {
    font-size: 2rem;
    font-weight: 400;
    line-height: normal;
    padding: 0.5rem 0;
    text-align: center;
}
.pg-main {
    display: flex;
    justify-content: space-between;
    flex-flow: row wrap;
    max-width: 960px;
    margin: auto;
    padding: 1rem;
}
.pg-item {
    border: none;
    margin: 0 0 1rem 0;
    text-align: center;
    overflow: hidden;
}

@media screen and (min-width: 361px) and (max-width: 480px) {
.pg-item {
    width: 40.5% !important;
}
}

@media screen and (min-width: 481px) and (max-width: 600px) {
.pg-item {
    width: 32% !important;
}
}

@media screen and (min-width: 601px) and (max-width: 959px) {
.pg-item {
    width: 22.75% !important;
}
}

@media screen and (min-width: 960px) and (max-width: 1200px) {
.pg-item {
    width: 18% !important;
}
}
@media screen and (min-width: 1201px) {
.pg-item {
    width: 14% !important;
}
}
.pg-item img {
    background-color: lightgray;
    padding: .5rem;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.pg-item:hover {
    cursor: pointer;
}
.pg-tnail {/*width:200px;*/
    width: 100%;
    height: auto;
}
.pg-photo-caption {
    display:none;
}
/* ==================  End of IKB.CSS ========================*/
/**/
/**/
/*---------   100 y banner    --------------------------------*/
.y100-bn-stage {
    position: absolute;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    z-index: 1001;
    background-color: orangered;
}
.y100-bn-text-container {
    margin: auto;
    color: white;
    text-align: center;
    opacity: 1;
}

@media screen and (min-width: 960px) {
.y100-bn-text-container {
    width: 50% !important;
    font-size: 5rem;
}
}

@media screen and (min-width: 360px) and (max-width: 959px) {
.y100-bn-text-container {
    width: 100% !important;
    font-size: 1rem;
}
}
#theImg {
    display: none;
    width: 256px;
    height: 384px;
}

@media screen and (min-height: 800px) {
theImg {
    width: 512px;
    height: 767px;
}
}

/*-------------------- End of Photo Theatre -----------------------------*/
/* */

/*--------------  Photo Theatre  formats  (prefix=pt) -----------------------------*/
/*--------------  Photo Theatre  formats  (prefix=pt) -----------------------------*/
/*--------------  Photo Theatre  formats  (prefix=pt) -----------------------------*/
/*        --  overlay mask the screen with black color background  --                */
/*       Photo theatre stage                                                        */
.pt-stage-none {
  display: none;        /* Hidden by default */
  position: fixed;      /* Stay in place */
  z-index: 1;           /* Sit on top */
  padding-top: 1rem;   
  left: 0;              /* Location of the box */
  top: 0;
  width: 100%;          /* Full width */
  height: 100%;         /* Full height */
  overflow: auto;       /* Enable scroll if needed */
  background-color: black; /* Fallback color */
}
/*    Photo theatre navigation */
.photo-theatre-close {
    align-items: flex-start;
    position: fixed;
    right: 25px;
    padding: 0.2em 1em;
    opacity: 0.4;
}
.photo-theatre-close:hover {
    cursor: pointer;
    opacity: 1.0;
}
.pt-nav {
    align-items: flex-start;
    padding: 1rem;
}
.pt-nav span {
    opacity: 0.4;
	background-color: white;
}
.pt-nav span:hover {
    cursor: pointer;
    opacity: 1.0;
}
/*  Photo theatre image */
.pt-image-wrapper {
	display: flex;
	justify-content: center;
	flex-flow: row;
	margin: auto;
}
.ikb-photo {
    display: block;
   /* margin: auto; */
	padding: 1rem;
}
.pt-caption {
	margin:auto;
    background-color: white;
    padding: 1em;
	text-align: center;
	width: 70%;
	max-width:700px;
}
/* 100% Image Width on Smaller Screens */
@media screen and (min-width: 361px) and (max-width: 480px) {
  .pt-image-wrapper {
	width:90%;
	max-width:420;
	}}
@media screen and (min-width: 481px) and (max-width: 600px) {
  .pt-image-wrapper {
	width:90%;
	max-width:540;
	}}
@media screen and (min-width: 481px) and (max-width: 960px) {
  .pt-image-wrapper {
	width:90%;
	max-width:840;
	}}
@media screen and (min-width: 961px) and (max-width: 1200px) {
  .pt-image-wrapper {
	width:80%;
	max-width:1040;
	}}
@media screen and (min-width: 1201px) {
  .pt-image-wrapper {
	width:70%;
	max-width:3200;
	}}
/*------------------- Inline photos -------------------------------------*/
/* The Modal (background) */

.picture-icon:hover {
	color:crimson;
	opacity: 0.5;
	cursor:pointer;
}
.picture-icon:before {
	/*content: "\f03e";*/
	content: "\f083";
   font-variant-ligatures: normal;
   font-variant-caps: normal;
   font-variant-numeric: normal;
   font-variant-east-asian: normal;
   font-weight: normal;
   font-stretch: normal;
   font-size: inherit;
   line-height: 1;
   font-family: FontAwesome;
	font-style: normal;
	transition: 0.3s;
}
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}
	/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
	}

/* Caption of Modal Image */
.popup-caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content, .popup-caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}
/* ================== Please dont add below this line ========*/
