@font-face{
  font-family: 'Raleway';
  src:url('/css/fonts/Raleway-Regular.ttf') format('truetype');
}
@font-face{
  font-family: 'Raleway';
  src:url('/css/fonts/Raleway-Bold.ttf') format('truetype');
  font-weight:bold;
}
@font-face{
  font-family: 'Raleway';
  src:url('/css/fonts/Raleway-RegularItalic.ttf') format('truetype');
  font-style:italic
}

:root{
  --base1:darkgreen;
  --base2:#FD5F00;
  --base-color-hover:rgba(253,95,0,0.7);
  background: #F9F9FA;
}

body{
  font-family: Raleway,Gill, Arial, Helvetica, sans-serif;
  font-size: 15px;
  background: #F1F1F1;
  box-sizing: border-box;
  line-height: 1.8;
  margin-left: 0px; 
  margin-top: 0px;
}

h1{
  font-size: 15px;
  font-weight:normal;
  list-style-position: inside;
}

.top{
  position: fixed;
  width: 100%;
  font-weight: bold;
  background-color: white;
  z-index: 1;
  overflow: hidden;
  top: 0;
  border-bottom: 1px solid lightgray;
  box-shadow: 0px 2px 1px 1px lightgray;
}

.top a{
  float: left;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 18px;
  line-height: 2em;
}

.top-right{
  float: right;
  font-weight: bold;
}

.top a:hover{
  background-color: #ddd;
  color: black;
  cursor: pointer;
}

.block{
  padding-top: 5em;
  padding-left: 2em;
  padding-bottom:5em;
  text-align: center;
  border-bottom: 2px dashed var(--base1);
}

.block:nth-of-type(odd){
  background: #F9F9FA;
}

.block-title{
  text-align: center;
  font-weight: bold;
  font-size: 40px;
  color: var(--base2);
  text-shadow: 1px 1px 0 black,-1px -1px 0 black,1px -1px 0 black,-1px 1px 0 black,1px 1px 0 black;
  letter-spacing: 3px;
}

.s_bo{
  color: var(--base2);
  font-weight: bold;
  font-size: 20px;
}

.top-image{
  height: 24px;
}

.nav-image{
  margin-right: 0.5em;
}

#d_images{
  display: grid;
  grid-template-columns: repeat(auto-fill,250px);
  grid-gap: 20px;
  margin-top:10px;
}

.d_imgcont{
  width: 250px;
  margin-right: 20px;
  margin-bottom: 20px;
  text-align: left;
  font-style: italic;
}
.img_thumb{
  max-width: 250px;
  margin: 0 10px 0px 0;
  border: 2px solid var(--base2);
}

.img_thumb:hover{
  cursor: pointer;
}

#register{
  display: grid;
  grid-template-columns: repeat(auto-fill,400px);
  grid-gap: 20px;
  margin-top:10px;
  padding-bottom: 50px;
}

#register div:nth-of-type(1){
  padding-right: 10px;
}

#d_c_register{
  position: relative;
  background: #F1F1F1;
  padding: 25px;
  max-width: 400px;
  border: 3px solid var(--base2);
  box-shadow: 5px 5px 2px black;
}

#d_c_register img{
  width: 90%;
  border-bottom: 3px solid var(--base2);
}

#c_agree{
  width: 10px;
  vertical-align: middle;
  margin-right: 5px;
  margin-bottom:10px;
}

fieldset{
  background: lightgrey;
  margin-bottom: 10px;
}
fieldset legend{
  font-weight: bold;
}
table{
  width: 100%;
}
input{
  width: 90%;
}

#a_login{
  font-size: 12px;
  font-style: italic;
  font-weight: bold;
  color: var(--base2);
}

#d_r_wait{
  display: none;
  background: #F1F1F1;
  position: absolute;
  top: 10;
  bottom: 10;
  width: 94%;
  height: 94%;
  font-weight: bold;
  font-size: 20px;
}

#d_r_wait img{
  width: 25px;
  margin-right: 10px;
  border-bottom: none;
  vertical-align: middle;
}

#d_r_success{
  display: none;
  background: #F1F1F1;
  position: absolute;
  width: 94%;
  height: 94%;
}

#d_r_success span{
  font-weight: bold;
  color: var(--base2);
  font-size: 20px;
}

.submit{
  width: 100%;
  height: 2em;
  background-color: #FD5F00;
  border: 1px solid black;
  color: black;
  font-weight: bold;
  padding: 5px;
  box-shadow: 1px 1px 1px;
  text-align: center;
}

.submit:hover{
  cursor: pointer;
}


#contact{
  display: grid;
  grid-template-columns: repeat(auto-fill,400px);
  grid-gap: 20px;
  margin-top:10px;
}

#d_c_form{
  padding-left:25px;
  width: 100%;
  background: #F9F9FA;
  border: 3px solid var(--base2);
  box-shadow: 5px 5px 2px black;
  font-weight:bold;
  text-align:left;
  margin-bottom:4em;
  padding-top: 20px;
  position: relative;
}

#d_c_form input:nth-of-type(1){
  width: 75%;
}

#d_c_text{
  padding-left: 25px;
}

#d_textarea{
  margin-top: 1em;
}
#d_textarea textarea{
  width: 90%;
  height: 10em;
}

#d_cont_success{
  display: none;
  text-align: center;
  background: #F9F9Fa;
  position: absolute;
  width: 94%;
  height: 90%;
  font-weight: normal;
}
#d_cont_success span{
  font-weight: bold;
  color: var(--base2);
  font-size: 20px;
}

#d_cont_wait{
  display: none;
  background: #F9F9Fa;
  position: absolute;
  top: 10;
  bottom: 10;
  width: 94%;
  height: 90%;
  font-weight: bold;
  font-size: 20px;
}

#d_cont_wait img{
  width: 25px;
  margin-right: 10px;
  border-bottom: none;
  vertical-align: middle;
}

#d_cont_error{
  display: none;
  text-align: center;
  background: #F9F9Fa;
  position: absolute;
  width: 94%;
  height: 90%;
  font-weight: normal;
  color: darkred;
  font-size: 18px;
  font-weight: bold;
}



#d_c_form .submit{
  width: 5em;
  margin-top: 2em;
}

#d_footer{
  height: 20em;
  background:linear-gradient(to left,white,darkgreen);
  position: relative;
}

#d_footer_content{
  position: absolute;
  top: 25%;
  left: 50%;
}
#d_footer a{
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
  
}
#d_footer img{
  margin-top: 25px;
  width: 10em;
  display: block;
}

#closeCursor{
  cursor: pointer;
  color: white;
  background-color: grey;
  position: absolute;
  top: 0px;
  right: 0px;
  font-size: 35px;
  font-weight: bold;
  padding-left: 15px;
  padding-right:10px;
  border-bottom: 2px solid grey;
  border-left: 2px solid grey;
}

#prevCursor,#nextCursor{
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  color: black;
  font-weight: bold;
  font-size: 35px;
  transition: 0.75s ease;
  border-radius: 0 10px 10px 0;
  margin-top: -50px;
  visibility: hidden;
}
#nextCursor{
  right: 10px;
  border-radius: 10px 0 0 10px;
}
#nextCursor:hover, #prevCursor:hover{
  background-color: rgba(0,0,0,0.8);
  color: white;
}

#dots{
  position: absolute;
  width: 100%;
  bottom: 15px;
  text-align: center;
  transition: 0.75s ease;
  visibility: hidden;
}
.dot{
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid black;
}

.popup{
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top:  0;
  width: 100%;
  height: 100%;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.8);
  
}

.popup-content{
  background-color: white;
  position: fixed;
  top: 5vh;
  left: 5vw;
  //padding: 10px;
  max-height: 90%;
  border: 3px solid var(grey);
}

#show_image-content:hover #dots,
#show_image-content:hover #prevCursor, 
#show_image-content:hover #nextCursor,
#show_image-content:hover #closeCursor{
 visibility: visible;
}
.active{
  background-color: var(--base2);
}
#img_src{
  max-height: 90vh;
  max-width: 90vw;
}

#r_error{
  font-weight: bold;
  color: darkred;
  background: lightcoral;
  margin-bottom: 3px;
}