/* ============================================================= */
/*                                                               */ 
/*                JJFoto - screen style definitions              */
/*                                                               */
/* ============================================================= */

/* ==================== general ==================== */
@import url(http://fonts.googleapis.com/css?family=Open+Sans);

html { 
  font-family: Open Sans, Arial CE, Helvetica CE, Arial, Helvetica, sans-serif;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  color: #ffffff;  
  background-color: #111111;
}

img {
  border: 5px solid #bbbbbb;
}

ul {
  list-style-type: square;
}

li {
  margin: 0 0 5px 0;
}

a {
  color: #999999;
  background-color: inherit; 
  text-decoration: none; 
}

a:hover {
  color: #eeeeee;
  background-color: inherit;  
  text-decoration: underline; 
}

/* ==================== page ==================== */

.pageMain {  
  margin: 30px 20px 0 20px;
  border: 3px solid #666666;
  border-radius: 20px;
}

/* ==================== footer ==================== */

footer {
  font-size: 70%;
  color: #999999;
  background-color: inherit;
  text-align: right;  
  margin: 3px 34px 0 0;
}

/* ==================== content area ==================== */

.pageMain .pageContent {
  margin: 30px 80px 60px 80px;
}

.pageMain.Index .pageContent {
  /*margin: auto;*/
}

/* ==================== header ==================== */

header {
  height: 68px;
  width: 100%; 
  text-align: right;
  margin: 0; 
}

header h1 {
  font-size: 125%;
  font-weight: normal;
  margin: 0 0 5px 0;  
  font-family: monospace, Courier CE, Courier, "Courier New";
}

header h1 img {
  display: inline-block;
  vertical-align: middle;
  border: none;
}

.pageMain.Index header {
  width: 600px;
  text-align: center;
  margin: 70px auto 100px auto;
}

.pageMain.Index header h1 {
  font-size: 188%;
  font-weight: normal;
  margin: 0 0 5px 0;  
  font-family: monospace, Courier CE, Courier, "Courier New";
}

.pageMain.Index header h1 img {
  display: inline-block;
  vertical-align: middle;
}

/* ====================main menu ==================== */

.mainMenu {
  text-align: right;
}

.mainMenu a {
  color: #999999;
}

a.actMenuItem {
  color: #ffa129;
  background-color: inherit; 
  text-decoration: none; 
}

.mainMenu a:hover {
  color: #cccccc;
  background-color: inherit; 
  text-decoration: none; 
}

a.actMenuItem:hover {
  color: #ffa129;
}

.mainSubmenu {
  text-align: right;
  margin-top: 3px;
  font-size: 90%;
}

.mainSubmenu a {
  color: #999999;
}

a.actSubmenuItem {
  color: #ffffff;
  background-color: inherit; 
  text-decoration: none; 
}

.mainSubmenu a:hover {
  color: #cccccc;
  background-color: inherit; 
  text-decoration: none; 
}

a.actSubmenuItem:hover {
  color: #ffffff;
}
/* ==================== page block ==================== */

.pageContent .pageContentWrapper section {
  margin: 15px 0 0 0;
}

section h2 {
  font-family: monospace, Courier CE, Courier, "Courier New";
  font-size: 125%;
  color: #ffa129;
  font-weight: normal;
  background-color: inherit;  
  margin: 0 0 20px 0;
}

section h3 {
  color: #999999;
  font-weight: bold;
  background-color: inherit;  
  margin: 8px 0 2px 0;
}

section p {
  padding: 0 0 10px 0;
}

/* ==================== photos ==================== */

.photosBlock {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.photosBlockNav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.photoItem {
  float: left;
  margin: 0 30px 30px 0;
}

.photoItemCaption {
  margin: 3px 0 0 0;
  font-size: 80%;
}

.photoItemCaption.Invis {
  display: none;
  visibility: hidden;
}

.photonavItem {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 150px;
  margin: 20px 0 0 0;
  text-align: center;
  cursor: pointer;
}

.photonavItemImg {
  height: 120px;
  width: 120px;
  border: 5px solid #bbbbbb;
  border-radius: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  cursor: pointer;
}

.actImg {
  border: 5px solid #dddddd;  
}

.photonavItem.Act .photonavItemImg {
  border-color: #ffa129;
}

.photonavItem.Act .photoItemCaption {
  color: #ffa129;
}

.photonavItem.Act .photonavItemOverlay {
  background-color: #ffa129;
  width: 100%;
  height: 100%;
  opacity: 0.25;
  border-radius: 50%;
}

.photonavItem .photonavItemOverlay {
  width: 0;
  height: 0;
}

.Up {
  transform: translateY(-1px);
}

.Down {
  transform: translateY(1px);
}

/* ==================== big photo popup ==================== */

#photoPopupBgr  {
  color: #ffffff;
  background: #000000;
  position:absolute;
  left: 0; 
  top: 30px; 
  width: 100%; 
  height: 100%; 
  display: none;
  opacity:0.75;
  filter:alpha(opacity=75);
}

#photoPopup  {
  color: #ffffff;
  text-align: center;
  padding: 30px 0 0 0;
  position:absolute;
  left: 0; 
  top: 0; 
  width: 100%;
  height: 100%; 
  display: none;
}

#photoPopupWrapper {
  margin:auto;
}

#photoPopupImg {
  box-shadow: 0 6px 12px rgba(200,200,200,.6);
}

#photoPopupCaption {
  text-align: left;
  margin: 1px 0 0 0;
  font-size: 90%;
  color: #bbbbbb;
  font-family: monospace, Courier CE, Courier, "Courier New";
}

#photoPopupControls {
  margin: -35px 0 0 0;
  display: flex;
  justify-content: flex-end;
}

#photoPopupControls img {
  border: none;
}

#photoPopupClose {
  cursor: pointer;
  z-index: 100;  
  background-color: #ffffff;
  width: 30px;
  height: 30px;
  background: url(../img/app/iconClose.svg) no-repeat center top;
  box-shadow: 2px 3px 4px rgba(200,200,200,.3);
  background-size: 30px 30px;
  border-radius: 50%;
}

#photoPopupPrev {
  margin: 0 5px 0 0;
  z-index: 100;  
  cursor: pointer;
  background-color: #ffffff;
  width: 30px;
  height: 30px;
  background: url(../img/app/iconPrev.svg) no-repeat center top;
  box-shadow: 2px 3px 4px rgba(200,200,200,.3);
  background-size: 30px 30px;
  border-radius: 50%;
}

#photoPopupNext {
  margin: 0 0 0 5px;
  z-index: 100;  
  cursor: pointer;
  background-color: #ffffff;
  width: 30px;
  height: 30px;
  background: url(../img/app/iconNext.svg) no-repeat center top;
  box-shadow: 2px 3px 4px rgba(200,200,200,.3);
  background-size: 30px 30px;
  border-radius: 50%;
}

#photoPopupPrev:active, #photoPopupNext:active, #photoPopupClose:active {
  box-shadow: 1px 1px 4px rgba(0,0,0,.3) !important;
  transform: translateY(3px);
}

/* ==================== miscellaneous ==================== */

img.EmlImg {
  border: none;
  margin-bottom: -3px;
}
/* ======================== END OF FILE ======================== 