body {
	margin: 0;
	padding: 0;
    	background-image: url("../images/poza1.jpg");
    	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
}


*,
*:after,
*:before {
    box-sizing: border-box;
}

header {
	background: linear-gradient(to top left, #0a0a0a, #444f94);
    	margin-bottom: 40px;
	padding: 0;
	text-align: right;
	font-size: 1.25em;
	color: white;
}

header .header_top {
    	width: 100%;
    	display: block;
    	padding: 10px 0;
}

header .header_top .dtable {
    	height: 100px;
}

header .header_top .dtable-cell {
    	vertical-align: middle;
}

header .header_top .dtable .dbrand h1 {
    	margin: 0;
}

/*
 * Navigation list
 */

ul.topnav {
    	width: 100%;
    	display: block;
    	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background-color: #0080ff;
}

ul.topnav li {
	float: left;
}

ul.topnav li a {
	display: block;
	color: white;
	text-align: center;
	padding: 1em 2.684em;
	text-decoration: none; 
	transition: 0.3s;

}

ul.topnav li a:hover:not(.active) {
	background-color: #ffffff;
	color: #0040ff;
}


ul.topnav li.right {
	float: right;
}

@media screen and (max-width: 600px) {
	ul.topnav li.right,
	ul.topnav li {
	float: none;
	}
}

/*------Contact-----*/

#Contact {
	display: block;
	color: white;
	text-align: center;
	padding: 1em 2.684em;
	text-decoration: none;
	background-color: #ff4000;
}

#Contact:hover {
	color: #ff0000;
	background-color: #ffffff;
}

li a:hover {
	background-color: #ffffff;
	color: #0040ff;
	transition: 0.3s;
}

/*------Middle container------*/

.container {
    max-width: 1280px;
    padding: 10px;
    margin: 0 auto;
}

/*
 * Slideshow
 */

.slideshow-container {
    position: relative;
    margin: auto;
}

/*----Slideshow items-----*/

.slideshow-container .mySlides {
    display: none;
}

.slideshow-container .mySlides .slideshow-container img {
    vertical-align: middle;
}

/*----Slideshow arrows (left & right)-----*/

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: Red;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.slideshow-container .next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.slideshow-container .prev:hover,
.slideshow-container .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/*----Slideshow dots navigator----*/

.slideshow-container .slideshow-dots {
    margin-top: 20px;
    text-align: center;
}

.slideshow-container .dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: Tomato;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.slideshow-container .dot.active,
.slideshow-container .dot:hover {
    background-color: Red;
}


/*------Section------*/

.section {
    margin-top: 30px;
    background: #fff;
    padding: 20px;
}

/*-----Section about-----*/

.section-about {
    border-radius: 25px;
}

/*-----Media queries------*/

@media only screen and (max-width: 300px) {
	.prev, .next, .text {
		font-size: 11px
	}
}

#face:link {
	color: White;
	background-color: transparent;
	text-decoration: none;
}

#face:visited {
	color: White;
	background-color: transparent;
	text-decoration: none;
}

#face:hover {
	color: DarkSeaGreen;
	background-color: transparent;
	text-decoration: none;
}

#face:active {
	color: GoldenRod;
	background-color: transparent;
	text-decoration: none;
}

/* ------ Helpers ------ */

/*
 * Animations
 */

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}

/*
 * Images
 */

img {
    max-width: 100%;
    height: auto;
    border: 0;
}

/*
 * Display divs as table
 */

.dtable {
    display: table;
    width: 100%;
}

.dtable-cell {
    display: table-cell;
}

/*!
 * Clearfix: contain floats
 * https://github.com/h5bp/html5-boilerplate MIT License
 *
 * For modern browsers
 * 1. The space rwd__card__content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of rwd__card elements.
 */

.clearfix:before,
.clearfix:after {
    content: " ";
    /* 1 */
    display: table;
    /* 2 */
}

.clearfix:after {
    clear: both;
}

/*----Lightbox----*/

#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {
  opacity: 0.6;
}

.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 {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

.modal-content,
#caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {
    transform: scale(0)
  }
  to {
    transform: scale(1)
  }
}

.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;
}

@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}


/*----Fonts----*/

p, h1, h2, h3, h4, h5, h6, li {
  font-family: Tahoma, Geneva, sans-serif
}

/*----Gallery list----*/

div.gallery {
  margin: 2px;
  border-radius: 5px;
  background: #F8F8FF;
  padding: 15px;
  float: left;
  width: 230px;
}

div.gallery img {
  width: 100%;
  height: auto;
}

div.desc {
  padding: 15px;
  text-align: center;
}

* {
  box-sizing: border-box;
}

.responsive {
  padding: 0 6px;
  float: left;
  width: 24.99999%;
}

@media only screen and (max-width: 700px) {
  .responsive {
    width: 49.99999%;
    margin: 6px 0;
  }
}

@media only screen and (max-width: 500px) {
  .responsive {
    width: 100%;
  }
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}


/*------Articol------*/

* {
  box-sizing: border-box;
}

/* Create two unequal columns that floats next to each other */
/* Left column */
.leftcolumn {   
  float: left;
  width: 75%;
}

/* Right column */
.rightcolumn {
  float: left;
  width: 25%;
  padding-left: 20px;
}

#imgart {
  height: 250px;
  width: 100%;
  object-fit: cover;
  padding: 20px;
}

/* Add a card effect for articles */
.card {
   background-color: white;
   padding: 20px;
   margin-top: 20px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Footer */
.footer {
  padding: 20px;
  text-align: center;
  background: #ddd;
  margin-top: 20px;
}

/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 800px) {
  .leftcolumn, .rightcolumn {   
    width: 100%;
    padding: 0;
  }
}

/*-----Heading article------*/

#articol:link {
	color: Black;
	background-color: transparent;
	text-decoration: none;
}

#articol:visited {
	color: Black;
	background-color: transparent;
	text-decoration: none;
}

#articol:hover {
	color: Red;
	background-color: transparent;
	text-decoration: none;
}

#articol:active {
	color: GoldenRod;
	background-color: transparent;
	text-decoration: none;
}

/*-----Row (Speologie)------*/

.column {
	border-radius: 5px;
  	float: left;
 	width: 45%;
  	padding: 15px;
  	text-align:center;
  	background-color: #fff;
  	margin-left: 1.9em;
 	margin-right: 1.9em;
}

.row:after {
  	content: "";
  	display: table;
  	clear: both;
}

/*-----Tabel video------*/

table {
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
}

table caption {
  font-size: 1.5em;
  margin: .5em 0 .75em;
}

table tr {
  padding: .35em;
}

table th,
table td {
  padding: .625em;
  text-align: center;
}

table th {
  font-size: .9em;
  letter-spacing: .1em;
  text-transform: uppercase;
}

@media screen and (max-width: 600px) {
  table {
    border: 0;
  }

  table caption {
    font-size: 1.3em;
  }
  
  table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  
  table tr {
    display: block;
    margin-bottom: .625em;
  }
  
  table td {
    display: block;
    font-size: .8em;
    text-align: right;
  }
  
  table td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  table td:last-child {
    border-bottom: 0;
  }
}
