body,h1,h2,h3,p,td,quote,small,form,input,ul,li,ol,label{
	margin:0px;
	padding:0px;
	font-family:Arial, Helvetica, sans-serif;
}

body{
	margin-top:20px;
	color:white;
	font-size:13px;
	background-color:#222222;
}

.clear{
	clear:both;
}

a, a:visited {
	color:#00BBFF;
	text-decoration:none;
	outline:none;
}

a:hover{
	text-decoration:underline;
}

#container{
	width:770px;

	vertical-align: top;
}

#heading,#footer{
	background-color:#2A2A2A;
	border:1px solid #444444;
	height:20px;
	padding:6px 0 25px 150px;	
	overflow:hidden;
}

#heading_iseinu{
	margin-bottom:30px;
	margin:0px 0 8px 0;
	background-color:#480b13;
	border:1px solid #444444;
	padding:7px 0 8px 15px;
	text-align:center;
}

#heading_visuomene{
	margin-bottom:30px;
	margin:0px 0 8px 0;
	background-color:#9b2227;
	border:1px solid #444444;
	padding:7px 0 8px 15px;
	text-align:center;
}

#heading_ekspedicijos{
	margin-bottom:30px;
	margin:0px 0 8px 0;
	background-color:#009889;
	border:1px solid #444444;
	padding:7px 0 8px 15px;
	text-align:center;
}

#heading_mokslas{
	margin-bottom:30px;
	margin:0px 0 8px 0;
	background-color:#a34e0d;
	border:1px solid #444444;
	padding:7px 0 8px 15px;
	text-align:center;
}

#heading_vu{
	margin-bottom:30px;
	margin:0px 0 8px 0;
	background-color:#51054d;
	border:1px solid #444444;
	padding:7px 0 8px 15px;
	text-align:center;
}

#heading_mokytojai{
	margin-bottom:30px;
	margin:0px 0 8px 0;
	background-color:#791440;
	border:1px solid #444444;
	padding:7px 0 8px 15px;
	text-align:center;
}

div.nomargin{
	margin-right:0px;
}

.pic{
	float:left;
	margin:8px 0px 0px 8px;
	border:5px solid white;
	width:110px;
	height:79px;
}

.pic:hover {opacity: 0.7;}

.pic a{
	width:110px;
	height:79px;
	text-indent:-99999px;
	display:block;
}

h1{
	font-size:28px;
	font-weight:bold;
	font-family:"Trebuchet MS",Arial, Helvetica, sans-serif;
}

h2{
	font-weight:normal;
	font-size:14px;
	
	color:white;
}
/*-----------------------------------------------------------*/
#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

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

#myImg1:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 5px; /* 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: 1024px;
    max-width: 39%;
}

/* Add Animation */
.modal-content, #caption {    
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
	-webkit-animation-fill-mode: forwards;
    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: 10px;
    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: 300px){
    .modal-content {
        width: 100%;
    }
}
