@font-face {
  font-family: 'Dorian CLM';
  src: url('/fonts/DorianCLM-BookItalic.eot');
  src: url('/fonts/DorianCLM-BookItalic.eot?#iefix') format('embedded-opentype'),
       url('/fonts/DorianCLM-BookItalic.woff2') format('woff2'),
       url('/fonts/DorianCLM-BookItalic.woff') format('woff'),
       url('/fonts/DorianCLM-BookItalic.ttf') format('truetype'),
       url('/fonts/DorianCLM-BookItalic.svg#DorianCLM-BookItalic') format('svg');
  font-weight: normal;
  font-style: italic;
}
/*
@font-face {
  font-family: 'SBL Hebrew';
  src: url('/fonts/SBL_Hbrw.eot');
  src: url('/fonts/SBL_Hbrw.eot?#iefix') format('embedded-opentype'),
       url('/fonts/SBL_Hbrw.woff2') format('woff2'),
       url('/fonts/SBL_Hbrw.woff') format('woff'),
       url('/fonts/SBL_Hbrw.ttf') format('truetype');
  font-weight: normal;
}*/
:root {
  direction: rtl;
}

/* * {
    border-style: solid;
    border-width:1px;
  }*/
html {
}
html, body {
  align-items: center;
  margin: auto;
  font-family: 'Dorian CLM'; /*Dorian CLM*/
  font-size:17pt;
  line-height: 1.4;
  text-align: justify;
  -moz-osx-font-smoothing: inherit;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
}
body {
  /*background-image: linear-gradient(to right, LightPink , #787878);*/ /* #8b8b8b);*/
  background-image: linear-gradient(to right, LightCoral , LightPink);
 /* user-select: none;*/
}

#checkbox, .btn {
  display: none;
}

.section {
  display: grid;
  grid-template-areas:
    'header header'
    'menu content';
  gap: 0;
  
  background-color: rgba(255, 255, 255, 0.70);
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 25px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2),
	      0 6px 20px 0 rgba(0, 0, 0, 0.19),
	      4px 4px 5px rgba(255, 255, 255, 0.7) inset;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  padding-inline: 1vw;
  padding-top: 1vw;
  padding-bottom:10px;
  margin-bottom:20px;
}

/*
* {
  box-sizing: border-box;
        border-style: solid;
    border-width: 1px;
    border-color: black;
}*/

.content {
  grid-area: content;
  border-color:red;
  padding-top: 0;
  margin-top: 0;
  padding-top: 0;
  padding-right: 15px;
  min-height:500px;
}

.side {
  grid-area: menu;
  border-color:blue;
  width: 260px;
  padding-right:0;
  padding-left: 0;
  margin-top: 0;
  padding-top:5px;
}

p {
  /*  margin-left: 1.1%;
    margin-right: 1.1%;
    margin-top:2.2%;
  margin-bottom: 0;*/
  margin-left: 1.1%;
  margin-right: 1.1%;
}
p.message {
  color: #6a5359;
}

.footer {
  margin-top: 3vh;
  margin-left: 3vh;
  margin-right:3vh;
  margin-bottom: 0;
  color: #767676;
  font-size:17pt;
 /* font-weight:bold;*/
}

q.message, p.title {
 /* font-family: 'Dorian CLM';*/
  text-shadow: 2px 2px 2px #ffffff, 0px 4px 3px #e2acc1 ; 
  color: #6a5359; /* #f92061  #eb4082  #ee82da;*/
  font-size: 22pt;
}
q {
 /* font-family: 'SBL Hebrew';*/
  color: #6a5359;
  font-size: 17pt; /*24pt;*/
  padding-right: 25px;
  padding-left: 25px;
  font-weight: bold;
}
.top_message {
  grid-area: header;
  width: 100%;
  padding:0;
  margin:0;
  font-size:16pt;
  border-color: brown;
  height:160px;
}

.top {
  background-color: rgba(155, 155, 255, 0.66);
  width:100%;
  height:50px;
  /*  margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    padding: 0;*/
}

.topO {
  background-color: rgba(155, 155, 255, 0.66);
  width:100%;
  height:50px;
}

.bg-image {
  animation: bgFadeIn 1s;
  left: 0;
  top: 0;
  position: absolute;
  z-index: -1;
  display: block;
  box-shadow: 0 0 5px 10px #555;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
  opacity: 0.95;
  background-image: url("/im/bg.jpg");
  margin: 0 0 0 0;
  filter: blur(6px);
  -webkit-filter: blur(6px);
  height: 100%;
  width: 100%;
  object-fit: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@keyframes bgFadeIn {
  0%   {   filter: blur(20px); opacity:0;  box-shadow: 0 0 5px 10px #555;
	   mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 100%, transparent 100%);
       }
  100% {   filter: blur(6px); opacity:0.95;  box-shadow: 0 0 5px 10px #555;
	   mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
       }
}

a.menu, a.menu:hover {
  text-decoration: none;
  color: darkslategray;
  animation: none;
  text-shadow: none;
}


a, a:hover {
  text-decoration: none;
  text-shadow: 2px 2px 3px #b4868e;
  color: #76167c;
  justify-content:  space-between;
  white-space:nowrap;
}
a:hover {
  text-shadow: 0px 0px 1px #b4868e;
  color: #76167c;
}


.box {
  grid-area: box;
  min-width:200px;
  white-space:nowrap;
  margin-right: auto;
  text-align:right;
  position: relative; 
  border-radius: 7px;
  background: linear-gradient(to right, #abbd73 35%, #d6e2ad 100%);
  margin-bottom: 20px;
  padding-top: 3px;
  padding-bottom: 3px;
  padding-left: 3px;
  padding-right: 15px;
  color: darkslategray;
  box-shadow: 1px 2px 1px -1px #777777;
  transition: background 200ms ease-in-out;
}
.box:nth-of-type(2n) {
  right:3px;
}

.box:hover {
  background: linear-gradient(to right, #abbd73 0, #abbd73 100%);
  cursor: pointer;
}

.shadow:before {
  z-index: -1;
  position: absolute;
  border-radius: 5px;
  content: "";
  bottom: 5px;
  right: 2px;
  width: 158px;
  top: 2px;
  box-shadow: 3px 10px 5px black;
  transform: rotate(3deg);
  transition: all 450ms ease-in-out;
}
.shadow:before:nth-of-type(odd){
  transform: rotate(4deg);
  box-shadow: 3px 10px 1px black;
}

.shadow:hover:before {
  transform: rotate(0deg);
  bottom: 20px;
  z-index: -10;
}

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


  .top_message {
   /* padding: 0;*/
    height: auto;
  }

  .content {
   /* padding-right: 25px;
        padding-left:25px;*/
   padding-right: 0;
  }
  
  
  .box {
    margin-left: 5px;
    margin-right: 5px;
    width: auto;
    padding-top: 25px;
    padding-bottom: 5px;
    margin-top: 0;
    margin-bottom: 0;
    height: auto;
  }
  .box:nth-of-type(odd) {
    left:0;
  }
  
  .section {
    display: grid;
    grid-template-areas:
      'header'
      'content'
      'menu';
    gap: 0;
    
    width:auto;
    margin-top:50px;
    padding-left:15px;
    padding-right:15px;
   /* padding-left:4%;
    padding-right:4%;*/
    margin-left: 15px;
    margin-right:15px;
    margin-bottom:15px;
  }

  .side {
    display: grid;
    grid-template-areas:
      'box';
    top: 0;
    left: 0;
    gap: 14px;
    width: auto;
    padding-bottom:0;
    padding-top:15px;
    /*  width:100%;*/
    /*    margin-top:20px;
      margin-bottom:20px;
      margin-left:20px;
      margin-right:20px;
      padding-left:20px;
      padding-top:20px;*/
  }

  a.menu, a.menu:hover {
    /* display:block;
    text-decoration: none;
    color: darkslategray;
    animation: none;
    text-shadow: none;
    padding: 4px;
    margin: 4px;
    white-space:normal;
  width: auto;*/
    
  }

  .footer {
    margin: auto;
  }
  .btn {
    display: block;
    position: fixed;
    right:10px;
    top:5px;

    background: linear-gradient(to right, #abbd73 0, #abbd73 100%);
    box-shadow: 1px 2px 1px -1px #777777;
    color: #fff;
    border-radius: 10px;
    width: 60px;
    height: 55px;
    line-height: 50px;
    padding: 0 20px 10px 20px;
    cursor: pointer;
    transition: width .3s ease-in-out;
  }
  .sidebar {
    margin-top:0px;
    background-color: transparent;
    position: fixed;
    width: 270px;
    height: 100%;
    z-index: 1111;
    transition: transform .3s ease-in-out;
    transform: translateX(500px);
  }
  #checkbox:checked ~ .sidebar {
    transform: translateX(0);
  }
  #checkbox:checked + .btn {
    width: 250px;
    padding: 0 20px;
  }
  #checkbox:checked + .btn span {
    display: inline;
  }
}

@media screen and (max-width: 600px) {
  .section {
    width: auto;
    padding-left:12px;
    padding-right:12px;
    padding-bottom:12px;
    margin-bottom:6px;
    margin-left:6px;
    margin-right:6px;
    
  }
  .top_message {
    height: auto;
  }
}
