@import 'responsive.css';

body{

	font-family: 'Lato', sans-serif;
	margin: 0 !important;
	font-size: 20px;
	background: #ffffff;
}

::selection {
  background: #45c79c;
}

::-moz-selection {
  background: #45c79c;
}
header {
	background: #000000;
	height: 330px;
	position: relative;
	width: 100%;

}

#myname {

	font-family: 'Russo One', sans-serif;
	text-transform: uppercase;
	font-size: 40px;
	border-bottom: solid #ffffff;
	border-width: thin;
	margin-bottom: 15px;
}

#mytitle {
	font-size: 18px;
}
#language{
	width: 200px;
	text-align: center;
	position: absolute;
	top: 0px;
	right: 00px;
	background: #137554;
	padding: 5px;
}
.active_translate_btn {
	background-color: #137554;
	border: 4px solid #dcdcdc;
	display: inline-block;
	cursor: pointer;
	color: #ffffff;
	font-size: 0.75em;
	font-weight: bold;
	padding: 5px;
	text-decoration: none;
}

.translate_btn {
	background-color: #ffffff;
	border: 1px solid #dcdcdc;
	display: inline-block;
	cursor: pointer;
	color: #000000;
	font-size: 0.75em;
	font-weight: bold;
	padding: 5px;
	text-decoration: none;
}
.translate_btn:hover {
	background: #bababa;
}
.translate_btn:active {
	position:relative;
	top:1px;
}


#border {

	width: 300px;
	position: absolute;
	top: calc(50% - 95px);
	right: calc(50% - 206px);
	text-align: center;
	color: #ffffff;
	padding: 30px 50px;
	background: #111111;
	border: 3px solid #ffffff;
}

nav{
	background: #137554;
	width: calc(100% - 20px);
	padding: 10px 10px 10px 10px;
	cursor: default;
	transition: 0.25s;
}

nav ul{
	padding-left: 0px;
	list-style-type: none;
	text-align: center;
	margin: 0px;
}

nav li:first-child {
	border-left: 0px;
}

nav li{
	width: 150px;
	text-align: center;
	padding: 5px;
	text-transform: capitalize;
	border-left: 1px solid #ffffff;
}

nav a{
	margin-left: 10px;
	display: inline-block;
	text-decoration: none;
	color: #ffffff;
}

nav a:hover{
	background: #ffffff;
	color: #137554;
	border-radius: 5px;
}


.main-nav-scrolled {
	padding-top: 10px;
	transition: 0.25s;
	position: fixed;
	top: 0;
	z-index: 1;
	border-bottom: 2px solid #000000;
}
main {
	display: table;
	width: calc(80% - 20px);
	margin-left: auto;
	margin-right: auto;
	padding: 10px;
	margin-top: 30px;
	max-width: 1100px;
	min-height: 200px
}

article {
	display: table-cell;
	width: 60%;
	text-align: left;
}

aside {
	display: table-cell;
	width: 20%;
}

footer {
	margin-top: 20px;
	background: #137554;
	color: #ffffff;
	padding: 15px;
	display: block;
	width: calc(100% - 30px);
	
}

footer p {
	display: block;
	width: 60%;
	margin-left: auto;
	margin-right: auto;
	font-size: 13px;
	margin-top: 0;
	margin-bottom: 0;
	padding: 0;
	text-align: center
}

header a {
	text-decoration: none;
	color: #ffffff;
	transition: 0.25s;
	width: 100%;
	display: block;
}

header a:hover{
	color: #137554;
}

footer a {
	text-decoration: none;
	color: #ffffff;
	padding: 2px;
	transition: 0.25s;
}

footer a:hover{
	color: #000000;
	transition: 0.25s;
}

h1 {
	font-family: 'Russo One', sans-serif;
	font-size: 33px;
	position: relative;
	width: auto;
	transition: 0.25s;
}

h1:hover{
	cursor: pointer;
	color: #137554;
	transition: 0.25s;
}

.aside_title {

	color: #000000;
	text-align: center;
	padding: 3px 2px 3px 2px;
	font-size:  1.1em;
	width: calc(100% - 8px);
	margin: auto;
	font-weight: bold;
	border-bottom: 4px solid #cacad9;
}

.icon-facebook{
	display: block;
	width: 100%;
	font-size: 35px;
	background: #dbdfd2;
	color:  #000000;
	text-align: center;
        transition: 0.25s;
}
.icon-facebook:hover{
	background: #365899;
	cursor: pointer;
    color: #ffffff;
    transition: 0.25s;
}
.icon-linkedin-squared{
	display: block;
	width: 100%;
	font-size: 35px;
	background: #dbdfd2;
	color:  #000000;
	text-align: center;
        transition: 0.25s;
}
.icon-linkedin-squared:hover{
	background: #0a66c2;
	cursor: pointer;
    color: #ffffff;
    transition: 0.25s;
}
.icon-gplus{
	display: block;
	width: 100%;
	font-size: 35px;
	background: #dbdfd2;
	color: #000000;
	text-align: center;
    transition: 0.25s;
}
.icon-gplus:hover{
	background: #db4437;
	cursor: pointer;
    color: #ffffff;
    transition: 0.25s;
}
.aside_content{
	width: calc(100% - 8px);
	padding: 25px 3px 25px 3px;
	text-align: center;
}

.social {
	display: inline-block;
	width: 30%;
}

#left {
	display: block;
	font-size: 15px;
	
}

#right {
	display: block;
	font-size: 15px;
}

#aside_mail {
	color: black;
}

.icon-mail {
	font-size: 35px;
	color: #000000;
	transition: 0.5s;
	display: block;
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	border-radius: 25px;
}
.icon-mail:hover{
	color: #ffffff;
	transition: 0.25s;
	background: #137554;
}

.x2_logo {
	width: 63px;
	height: 54px;
	transition: 0.25s;
	display: inline-block;
}
.x2_logo:hover{
	opacity: 0.6;
	transition: 0.25s;
    cursor:  pointer;   
}

.icon-chart-line {
	font-size: 45px;
	transition: 0.25s;
	display: inline-block;
	margin:0;
}

.icon-chart-line:hover{
    cursor: pointer;
	color: #137554;
	transition: 0.25s;
}

.p_content{
    text-align: justify;
    padding:  0px 30px 0px 30px;
    width:  calc(100%-60px);
	line-height: 1.4em;
}

.admin-photo{
	display: block;
	width:  calc(100% - 70px);
	color:  #ffffff;

	border: 5px solid #137554;
	background: #dcdcdc;
	text-align:  center;
	margin-left: auto;
	margin-right: auto;

}

img#siteadmin {
    width: 100%;
	display: block;
}

#siteadmin:hover{
	cursor: pointer;
	opacity: 0.7;
}

.links a{
    color: #000000;
    text-decoration: none;
}
.p_content a, .project_content a{
	text-decoration: none;
	color: #137554;
	font-weight: bold;
}

.p_content a:hover, .project_content a:hover{
	color: #137554;
	text-decoration: underline;
}

#headerlogo {
	border-radius: 50%;
	width: 100px;
	position: absolute;
	bottom: -50px;
	left: calc(50% - 50px);
}

.social a {
	text-decoration: none;
}

.aside_content a {
	text-decoration: none;
}

.project_img {
	width: calc(80% - 20px);
	margin-right: auto;
	margin-left: auto;
	margin-top: 20px;
	-webkit-box-shadow: 1px 1px 15px 6px rgba(153,153,153,0.57);
	-moz-box-shadow: 1px 1px 15px 6px rgba(153,153,153,0.57);
	box-shadow: 1px 1px 15px 6px rgba(153,153,153,0.57);
	padding: 10px;
	
}

.project_img a{
	text-decoration: none;
}

.project_img a:hover{
	opacity: 0.7;
}

.project_content {
	margin-top: 10px;
	width: calc(80% - 30px);
	padding: 15px;
	margin-right: auto;
	margin-left: auto;
	text-align: justify;
	line-height: 1.4em;
	border-bottom: 4px solid #cacad9;
}

.prezentacja, .img_project{
	width: 100%;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}





#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg: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: 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 (image) */
.modal-content {
    margin: auto;
    display: block;
    width: calc(60% - 10px);
	border: 5px solid #137554;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.modal-content, #caption {    
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    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: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    width: 60px;
    height: 52px;
    text-align: center;
    border: 2px solid #137554;
}

.close:hover, .close:focus {
    background: #000000;
    color: #137554;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 80%;
    }
}