html, body {
    height: 100%;
    margin: 0;
    padding: 0;
	color: #000;
	font-size: 96%;
    -webkit-font-smoothing: antialiased !important;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.004);		
}

html, body {
    height: 100%;
    margin: 0;
    font-family: "Myriad Pro";
	text-align: center;
	background: url('../images/bg.png') #ababab;
	
}
@font-face {
    font-family: Segu;
    src: url('fonts/SEGOEUI.TTF');
}

/* ==============  Main things */

h1 {
	font-family: Segu;
  font-size: 2.2em;
  font-weight: normal;
	color: #001D67;
	padding: 5px 0 0 0;
}
h2 {
	font-family: Segu;
  font-size: 1.8em;
  font-weight: normal;
	color: #001D67;
	padding: 5px 0 0 0;
}
h3 {
	font-family: Segu;
  font-size: 1.6em;
  font-weight: normal;
	color: #001D67;
	padding: 5px 0 0 0;
}
h4 {
	font-family: Segu;
  font-size: 1.5em;
  font-weight: normal;
	color: #001D67;
	padding: 5px 0 0 0;
}
h5 {
	font-family: Segu;
  font-size: 1.3em;
  font-weight: normal;
	color: #001D67;
	padding: 5px 0 0 0;
}
h6 {
	font-family: Segu;
  font-size: 1.1em;
  font-weight: normal;
	color: #001D67;
	padding: 5px 0 0 0;
}
@media only screen and (max-width: 640px) {
  /* For mobile phones: */
  h1 {
    font-size: 1.6em;
  }
  h2 {
    font-size: 1.4em;
  }
  h3 {
    font-size: 1.2em;
  }
  h4 {
    font-size: 1em;
  }
  h5 {
    font-size: 0.8em;
  }
  h6 {
    font-size: 0.6em;
  }
}

p {
}

a {
	color: #b400ae;
}

.clear {
	clear: both;
}
/* ==============  Wrapper */

#wrapper {
	position: relative;
	width: 90%;
	margin: 0 auto;
	text-align: left;	
	box-shadow: 0px 0px 20px #333;
  margin-top: 40px; 
	background: #ababab;
}

/* ============== Menu things */
#menu {
	position: fixed;
  top: 0;
	width: 90%;
  height: 40px;
	z-index: 1000;
	font-size: 1em;
	box-shadow: 0px 0px 20px #333; 
	background: #464646;
}

#menu-inner {
  display: block;
}

#menu-inner ul, #menu-inner-small ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#menu-inner .delimeter {
	position: relative;
	height: 30px;
	border: none;
	border-right: 1px solid #4e4e4e;
	border-left: 1px solid #414141;
	margin-top: 5px;
}
#menu-inner li {
	float: left;
}

#menu-inner li a {
  display: block;
	height: 30px;
	text-decoration: none;
	color: #c9c9c9;
	background: #464646;
	padding: 10px 25px 0px 25px;
	transition: 0.5s;
	-moz-transition: 0.5s;
	-webkit-transition: 0.5s;
	-o-transition: 0.5s;
	outline: none;
}

#menu-inner li a:hover {
  display: block;
	height: 30px;
	text-decoration: none;
	color: #c9c9c9;
	padding: 16px 25px 5px 25px;
	background: #3d3d55;
	box-shadow: 0px 0px 20px #333; 	
	transition: 0.5s;
	-moz-transition: 0.5s;
	-webkit-transition: 0.5s;
	-o-transition: 0.5s;	
}
#menu-inner-tag {
  display: none;
	float: left;
	height: 30px;
	text-decoration: none;
	cursor: pointer;
	color: #c9c9c9;
	background: #464646;
	padding: 10px 15px 0px 15px;
  z-index: 1005;
}
#menu-inner-small {
	position: absolute;
	left: 0;
  top: 40px;
  display: none;
}
#menu-inner-small li a {
  display: block;
	height: 30px;
	text-decoration: none;
	color: #c9c9c9;
	background: #464646;
	padding: 10px 15px 0px 15px;
	transition: 0.5s;
	-moz-transition: 0.5s;
	-webkit-transition: 0.5s;
	-o-transition: 0.5s;
	outline: none;
}
#menu-inner-small li a:hover {
  display: block;
	height: 30px;
	text-decoration: none;
	color: #c9c9c9;
	padding: 16px 15px 5px 15px;
	background: #891872;
	box-shadow: 0px 0px 20px #333; 	
	transition: 0.5s;
	-moz-transition: 0.5s;
	-webkit-transition: 0.5s;
	-o-transition: 0.5s;	
}
@media only screen and (max-width: 640px) {
  /* For mobile phones: */
  #menu-inner {
    display: none;
  }
  #menu-inner-small {
    display: none;
  }
  #menu-inner-tag {
    display: block;
  }
}
@media only screen and (min-width: 768px) {
  /* For desktop: */
}

#languages {
    display: block;
	position: absolute;
	right: 0;
	height: 40px;
	width: 160px;
	background: #3d3d55;
	color: #c9c9c9;
	cursor: pointer;
	z-index: 1002;	
}

.languages-flag {
    display: block;
	position: relative;
	padding-top: 12px;
	float: left;
	margin: 0 10px 0 30px;
}

.languages-text {
    display: block;
	position: relative;
	padding: 11px 0 11px 0;
	float: left;
  #display: none;
}
#languages-select {
  display: none;
	position: absolute;
	right: 0;
	top: 40px;
	height: 41px;
	width: 160px;
	background: #3d3d55;
	color: #c9c9c9;
	z-index: 1001;
	box-shadow: 0px 0px 20px #333; 	
}

.languages-text a {
	color: #c9c9c9;
}

.vertical-delimeter {
	position: relative;
	height: 0px;
	border: none;
	border-bottom: 1px solid #4e4e4e;
	border-top: 1px solid #313131;
	clear: both;
}


#menu-logo {
	position: absolute;
	right: 20%;
	top: -40px;
	height: 80px;
	width: 135px;
	background: url('../images/menulogo.jpg') left bottom no-repeat;
	z-index: 1001;
}

#menu-logo a {
	position: relative;
	width: 135px;
	height: 80px;
	display: block;
}

/* ==============  Intro things */
#intro {
	position: relative;
	width: 100%;
	height: 417px;
	background: url('../images/intro.jpg') right center no-repeat #ffffff;
	box-shadow: 0px 0px 20px #666; 
	margin-bottom: 30px;
}
/* For mobile: */
#intro {
  display: none;
}
@media only screen and (min-width: 640px) {
  /* For tablets: */
  #intro {
  	display: block;
  }
}

#intro-slogan {
	position: absolute;
	width: 480px;
	left: 80px;
	top: 260px;
	font-size: 1.2em;
  color: #222222;
}
/* For mobile: */
#intro-slogan {
  display: none;
}
@media only screen and (min-width: 1024px) {
  /* For tablets: */
  #intro-slogan {
  	display: block;
  }
}

#intro-slogan span {
}

#intro-logo {
	position: absolute;
	width: 333px;
	height: 95px;
	left: 80px;
	top: 100px;
	background: url('../images/gportlogo2.png') no-repeat;	
}

/* ==============  Services things */
#services-title {
	font-size: 2.6em;
	color: #e1e1e1;
  padding-top: 0;
	padding-left: 140px;
	margin-bottom: 20px;
}
@media only screen and (max-width: 640px) {
  /* For tablets: */
  #services-title {
  	padding-top: 50px;
  	padding-left: 10px;
  }
}

.service-block {
	position: relative;
	width: 49%;
	height: 270px;
	background: #fff;
	float: left;
	margin-left: 0.5%;
	margin-bottom: 0.5%;
	box-shadow: 0px 0px 10px #333; 
}
.service-block:hover {
	box-shadow: 0px 0px 10px #fff; 
}
@media only screen and (max-width: 1280px) {
  /* For tablets: */
  .service-block {
  	width: 99%;
  }
}

.service-block-title {
	color: #666;
	font-size: 1.6em;
	position: relative;
	padding-left: 240px;
	padding-right: 20px;
	top: 20px;
}

.service-block-text {
	color: #666;
	font-size: .94em;
	position: relative;
	padding-left: 240px;
	padding-right: 20px;
	top: 20px;
}

.service-block-link {
	color: #666;
	font-size: .94em;
	position: relative;
	padding-left: 240px;
	padding-right: 20px;
	top: 50px;
}
@media only screen and (max-width: 800px) {
  /* For tablets: */
  .service-block-title, .service-block-text, .service-block-link {
    padding-left: 10px;
  }
}

.service1 {
	background: url('../images/service1.jpg') no-repeat top left #fff;	
}
.service1 {
	background: url('../images/service1.jpg') no-repeat top left #fff;	
}
.service2 {
	background: url('../images/service2.jpg') no-repeat top left #fff;	
}
.service3 {
	background: url('../images/service3.jpg') no-repeat top left #fff;	
}
.service4 {
	background: url('../images/service4.jpg') no-repeat top left #fff;	
}
.service5 {
	background: url('../images/service5.jpg') no-repeat top left #fff;	
}
.service6 {
	background: url('../images/service6.jpg') no-repeat top left #fff;	
}
@media only screen and (max-width: 800px) {
  .service1, .service2, .service3, .service4, .service5, .service6 {background: #fff}
}

/* ==============  Output */
#output {
	background: #fff;
	padding-top: 80px;
	color: #666;
}

#output-text {
	padding: 0 140px 40px 140px;
}
@media only screen and (max-width: 800px) {
  /* For tablets: */
  #output-text {
	padding: 10px 40px;
  }
}
@media only screen and (max-width: 1280px) {
  /* For tablets: */
  #output-text {
	padding: 20px 80px;
  }
}

#output #services-title {
	color: #666;
	padding: 0 100px 0 140px;
}

/* ==============  Footer things */
#footer {
	position: relative;
	width: 100%;
	#height: 260px;
	background: #e7e7e7;
	color: #555;
}

#footer a {
	color: #555;
	text-decoration: none;
	#text-transform: uppercase;
	#font-size: .8em;
}

#footer a:hover {
	color: #891872;
}

.footer-title {
	font-size: 1.4em;
	letter-spacing: -1px;
}

#footer-about,#footer-activities {
	font-family: Segu;
	position: relative;
	width: 18%;
	float: left;
	margin-top: 40px;
	padding: 0 2%;
}
/* For mobile: */
#footer-about,#footer-activities {
  display: none;
}
@media only screen and (min-width: 1024px) {
  /* For tablets: */
  #footer-about,#footer-activities {
  	display: block;
  }
}

#footer ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.delimeter-horizontal {
	position: relative;
	height: 0px;
	border: none;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #eee;
	margin: 10px 0 10px 0;
}

#footer-contacts {
	position: relative;
	font-family: Segu;
	float: left;
}
/* For mobile: */
#footer-contacts {
	border-top: 0;
  left: 0;
  width: 90%;
	margin-top: 40px;
	padding: 0 3%;
}
@media only screen and (min-width: 1024px) {
  /* For tablets: */
  #footer-contacts {
	  border-top: 14px solid #cacaca;
  	width: 50%;
  	margin-top: 0;
  	padding: 0 3%;
  }
}

.footer-div {
	font-family: Segu;
	position: relative;
	width: 33%;  
  min-width: 200px;
	float: left;
	font-size: .8em;
	padding-top: 20px;
  display: block;
}
@media only screen and (max-width: 640px) {
  #mgbaltic_img1 {
    display: none;
  }
}

.footer-copyright {
	font-family: Segu;
	width: 100%;
	position: relative;
	font-size: .8em;
	padding-top: 20px;
}
/********** MAP things ****/
#map {
	position: relative;
	width: 100%;
	height: 500px;
}
/********** editpage ****/
#editpage {
	background: #fff;
	font-size: 96%;
	color: #555;
	padding: 20px 40px;
}
#newpages {
	font-size: 96%;
	color: #555;
	padding: 20px 20px;
}


.frameimg, .blogimg
  {
  border: 0;
  background: #FFFFFF;
  margin: 0px;
  padding: 0px;
}                           
.frameimg_left
  {
  float: left;
  background: none;
  border: 1px #999999 solid;
  margin-left: 0px;
  margin-right: 20px;
  margin-top: 2px;
  margin-bottom: 5px;
  padding: 3px;
}
.frameimg_right
  {
  float: right;
  background: none;
  border: 1px #999999 solid;
  margin-left: 20px;
  margin-right: 0px;
  margin-top: 2px;
  margin-bottom: 5px;
  padding: 3px;
}
.frameimg_center
  {
  float: center;
  text-align: center; 
  background: #FFFFFF;
  border: thin #999999 solid;
  margin-left: 0px;
  margin-right: 0px;
  margin-top: 10px;
  margin-bottom: 5px;
  padding-top: 10px;
  padding-left: 0px;
  padding-right: 0px;
}
.frameimg_left:hover, .frameimg_center:hover, .frameimg_right:hover {
  border: 1px #DA862E solid;
}
.frameyotube_center
{
  float: center;
  text-align: center; 
  background: #FFFFFF;
  border: 0;
  margin-left: 0px;
  margin-right: 0px;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 0;
}
.tdform {
	font-size: 1em;
  font-family: Segu;
  font-weight: normal;
  color: #000;
  background: #EEEEEE;
  padding: 5px;
  margin: 0px;
  border-radius: 10px 10px 10px 10px;
	box-shadow: 0px 0px 10px #999; 
}
.tdform .tr_odd{
  background-color: #f8f8f8;
}
.tdform .tr_odd:hover, .tdform .tr_even:hover{
  background-color: #ffffff;
}
.tdform th{
  padding: 2px 5px 3px 10px;
  margin: 0;
  color:#000000;
  background-color: #ffffee;
  border: 1px solid #dddddd;
}
.tdform td{
  padding: 2px;
  margin: 0px;
}
.tdform input, .tdform select, .tdform textarea {
	font-size: 1em;
  padding: 2px 5px;
  border: 1px solid #ccc;
  border-radius: 5px 5px 5px 5px;
}
fieldset{
	border: 1px dotted #ccc;
  border-radius: 8px 8px 8px 8px;
}
.portlet {
    margin: 1em 0 0 0;
}
.portlet-content {
    #font-size: 96%;
    #padding: 0.4em;
}
