@charset "utf-8";
body, div, h1, h2, h3, h4, h5, h6, p, img, form, fieldset, input, textarea, blockquote, nav {
    margin: 0;
    padding: 0;
    border: 0;
}
html {
    height: 100%;
    width: 100%;
    color: #000033;
}
body {
    min-height: 1024px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    text-align: left;
    border: none;
    margin: 0px auto 0;
    color: #000033;
    background-color: #F9F9F9;
}
/* ---  generic --- */

.hide {
    visibility: hidden;
    display: none;
}
.invisible{
	visibility: hidden;
}
.centered {
    text-align: center;
}
.bolder {
	font-weight: bold;
}
a {
    text-decoration: none;
    color: #4e84ce;
}
p {
    text-align: left;
}
abbr {
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #CCCCCC;
	cursor: help;
	background-color: inherit;
	color:inherit;
}
blockquote, em{
	text-align:center;
	margin-bottom: 8px;
	font-style:italic;
}
.margin-top-20 {
    margin-top: 20px;
}
.half {
    width: 50%;
}
.middle {
    display: block;
    float: left;
}
.fift {
    width: 21.5%;
}
.block{
	display: block;
}
.float_left{
	display:block;
	float: left;
	margin-right: 10px;
}
.float_right{
	display:block;
	float: right;
	margin-left: 10px;
}

.reportblock {
    margin: 0.3em;
    padding: 0.3em;
    border: 0.1em solid #CCCCCC;
    min-height: 1em;
    display: block;
}
address {
    font-style: normal;
    font-size: 14px;
    line-height: 18px;
}
.map {
    float: right;
	width: 410px;
	height: 405px;
	border: 0;
}
.video{
	padding-top: 0.2em;
	padding-bottom: 0.2em;
	padding-left: 0em;
	padding-right: 0.5em;
	display: block;
	height: 394px;
	width: 700px;
}
.horizontal_line{
    clear: both;
	display:block;
    padding-top: 20px;
    border-top: 1px solid #dddddd;
}
article > ul > li{
	margin-top: 5px;
}
article p{
	text-align:justify;
}
.underline {
	text-decoration:underline;
}
.credits{
	float:right;
	font-size: 10px !important;
	font-weight: bolder;
}





header {
    width: 100%;
    height: 102px;
    position: static;
    margin: auto;
}
.header_title {
    width: 730px;
    display: inline-block;
    margin-top: 15px;
    font-family: "Georgia";
}
.agiasofia_logo {
    margin-top: 15px;
    float: left;
}
.jallc_logo {
    margin-top: 6px;
    float: right;
}
.agiasofia_title, .jallc_title {
    text-transform: uppercase;
    font-size: 18px;
    font-weight: bold;
    color: #23395B;
}
.agiasofia_title {
    float: left;
    margin-top: 8px;
}
.jallc_title {
    float: right;
    margin-top: 4px;
}
.motto{
	font-style:italic;
	font-size:16px;
    color: #23395B;
    float: right;
    margin-top: 4px;
	clear:both;
}
/* --- end header --- */
/* --- navigation --- */

nav {
    width: 100%;
    background-color: #013c80;
    position: relative;
    z-index: 100;
    height: 90px;
    clear: both;
	color: #FFF;
}
.header_container, .nav_container {
    width: 978px;
    display: block;
    margin: auto;
}
nav ul ul {
    display: none;
}
nav ul li:hover > ul, nav ul li:focus > ul {
    display: block;
}
nav ul {
   background-color: #013c80;

    padding: 0;
    margin: 0;
    position: relative;
    list-style: none;
    float: left;
    display: inline-block;
}
nav ul::after {
    content: "";
    clear: both;
    display: block;
}
nav ul li {
    float: left;
}
nav ul li:hover, nav ul li:focus {
    background: #4e84ce;
}
nav ul li:hover a, nav ul li:focus a {
    color: #fff;
}
nav ul li a {
    display: block;
    padding: 0px 26px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    font-size: 16px;
    font-weight: bold;
    line-height: 30px; 
}
nav ul ul {
    background: #5690DF;
    padding: 0;
    position: absolute;
    top: 100%;
}
nav ul ul li {
    float: none;
    border-bottom: 1px solid #4e84ce;
    position: relative;
}
nav ul ul li a {
    color: #fff;
    padding: 0px 30px;
    line-height: 45px;
    white-space: nowrap;
}
nav ul ul li a:hover {
    background: #4e84ce;
}
nav ul ul ul {
    position: absolute;
    left: 100%;
    top: 0;
}
nav ul ul li a span {
	margin-left: 25px;
    line-height: 45px !important;
}
/* search form */

.search {
    float: right;
    margin-top: 8px;
    margin-bottom: 7px;
}
.googleform {
    float: right;
}
.textinput {
    width: 190px;
    height: 28px;
    text-decoration: none;
    display: inline;
    border: 1px solid #e2e2e2;
    padding: 0px 10px;
    color: #444;
    float: right;
}
.submitsearch {
    border: 0;
    text-decoration: none;
    background: #007b29;
    color: #FFF;
    font-size: 16px;
    padding: 0 17px;
    line-height: 30px;
    cursor: pointer;
    height: 30px;
    float: right;
}
.submitsearch:focus, .submitsearch:hover, .submitsearch:active {
    color: #FFFFFF;
    background: #009E35;
}






main {
    display: block;
    clear: both;
    width: 948px;
    min-height: 700px;
    background-color: #FFFFFF;
    margin: auto;
    overflow: hidden;
    padding: 20px 15px;
    color: #444;
    background: #fff;
}
main h2 {
    color: #4e84ce;
    margin-bottom: 20px;
    font-size: 16px;
}
#homenews {
    min-height: 300px;
    width: 660px;
    float: left;
    overflow: hidden;
}
#pagenewstop {
    clear: both;
}
#pagenewstop p {
    padding: 2px;
}
.home_block {
    overflow: hidden;
    float: left;
}
#homenews h2:not(:first-of-type) {
    clear: both;
    padding-top: 20px;
    border-top: 1px solid #dddddd;
}
#slide_block {
    overflow: hidden;
    float: left;
	position:relative;
	width: 1300px !important;
	-webkit-animation-name: slide; /* chrome, safary, opera */
	-webkit-animation-duration: 30s; /* chrome, safary, opera */
	-webkit-animation-delay: 5s; /* chrome, safary, opera */
	-webkit-animation-iteration-count:infinite; /* chrome, safary, opera */
	animation-name: slide;
	animation-duration: 30s;
	animation-delay: 5s;
	animation-iteration-count:infinite;
}

#slide_block:hover{
	-webkit-animation-play-state:paused;
	animation-play-state:paused;
}




@-webkit-keyframes slide{
	0% {left: 0px}
	40% {left: 0px}
	50% {left: -660px}
	90% {left: -660px}
	100% {left: 0px}
}
@keyframes slide{
	0% {left: 0px}
	40% {left: 0px}
	50% {left: -660px}
	90% {left: -660px}
	100% {left: 0px}
}
.block_size_1 article{
    width: 640px;
}
.block_size_1.block_space {
    margin-right: 20px;
}
#slide_block .block_size_1 article img {
	width: auto !important;
    height: auto;
	float: left !important;
    margin-bottom: 10px;
	margin-right: 10px;
}
#slide_block .block_size_1 article time {
	display: inline-block;
}
.fcmmd article img{
    width: 160px !important;
    height: auto;
	float: left !important;
    margin-bottom: 10px;
	margin-right: 10px;
}
.fcmmd article time, .notime article time{
    visibility: hidden !important;
    display: none !important;
}
.noh3 article h3{
    visibility: hidden;
    display: none;
}
.fcmmd article h3 {
	display:block;
}
.block_size_2 {
    width: 320px;
}
.block_size_2_3{
	width: 412px;
}
.block_size_3 {
    width: 208px;
}
.block_size_2.block_space, .block_size_2_3.block_space {
    margin-right: 20px;
}
.block_size_3.block_space {
    margin-right: 12px;
}
.home_block article {
    float: left;
    overflow: hidden;
    margin-bottom: 10px;
}
.home_block article p:not(:first-of-type), .home_block article img:not(:first-of-type){
    visibility: hidden;
    display: none;
}
.home_block article h3:not(:first-of-type), .home_block article h4{
    visibility: hidden;
    display: none;
}
.home_block.block_size_2 article {
    width: 320px;
}
.home_block.block_size_2_3 article {
    width: 412px;
}
.home_block.block_size_3 article {
    width: 208px;
}
.home_block article a.more {
    float: right;
    margin-right: 10px;
    color: #4e84ce;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
    margin-top: 10px;
}
.home_block article a:hover.more {
    color: #013c80;
}
.home_block article time {
    margin-bottom: 10px;
    display: block;
    font-size: 12px;
}
.home_block article img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}
.home_block article p, #articles article p, #contacts article p {
    font-size: 14px;
    line-height: 18px;
}
.home_block article h3, #articles article h3, #contacts article h3 {
	margin-bottom: 5px;
	color: #000066;
}
.home_block article h3 a, #articles article h3 a, #contacts article h3 a {
    color: #013c80;
}
.home_block article h4, #articles article h4, #contacts article h4 {
    margin-top: 20px;
    margin-bottom: 5px;
    color: #444;
}



#articles, #contacts {
    min-height: 300px;
    width: 100%; /* 660px */
    float: left;
}
#articles article, #contacts article {
    overflow: hidden;
    clear: both;
    border-bottom: 1px solid #dddddd;
    margin-bottom: 30px;
    padding-bottom: 10px;
}
#articles article a.more {
    visibility: hidden;
    display: none;
}
#articles a.read_more {
    text-align: right;
    background-color: #F2F1F1;
    display: block;
    line-height: 26px;
    margin-top: 5px;
    padding-right: 10px;
    color: rgb(1, 60, 128);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 10px;
    clear: both;
}
#articles a:hover.read_more {
    background-color: #4e84ce;
    color: #fff;
}
#articles .img_right {
    margin-left: 15px;
    margin-bottom: 10px;
    float: right;
}
#articles .img_left {
    margin-right: 15px;
    margin-bottom: 10px;
    float: left;
}
#articles .img_left_nb {
    margin-right: 15px;
    float: left;
}
#articles .img_wide {
    width: 100%;
    height:  auto;
	margin-top: 5px;
	margin-bottom: 5px;
}

#articles article time {
    margin-bottom: 10px;
    display: block;
    font-size: 12px;
}
#articles article p {
    margin-bottom: 10px;
}
#contacts article p {
    margin-bottom: 0px;
}
#articles h3:not(:first-of-type), #contacts h3:not(:first-of-type) {
    margin-top: 30px;
}
.othertraining ul li{
	    display: inline-block;
		list-style: none;
		width: 100px;
		line-height: 26px;
		margin-right: 5px;
		color: rgb(1,60,128);
		background-color: rgb(242,241,241);
		text-align:center;
		font-weight: bold;
}
.othertraining a{
	    display: block;
		width: 100px;
		line-height: 26px;
}
.othertraining a:hover{
    background-color: #4e84ce;
    color: #fff;
}






#botbar {
    clear: both;
    height: 50px;
	color:#000;
}
#botbar .container {
    display: block;
    width: 978px;
    margin: 0 auto;
    overflow: hidden;
    height: 30px;
    background-color: #efefef;
    padding: 10px 0px;
}
#botbar .container img {
    margin-right: 15px;
    height: 30px;
}
#botbar .container .logos {
    float: right;
	color:#000033;
}
#botbar .container .contacts {
    float: left;
    color: #013c80;
    line-height: 28px;
}
#botbar .container .contacts i {
    margin-left: 15px;
}
#botbar .container .contacts a {
    color: #013c80;
}





.gallery  ul {
	text-align: center;
}
.gallery h3:first-child {
    margin-top: 0px;
}
.gallery h3 {
    margin-top: 20px;
    margin-bottom: 12px;
    color: #4e84ce;
    clear: both;
    font-size: 16px;
}
.gallery a.more {
    margin-right: 10px;
    width: 240px;
    text-align: right;
    background-color: #F2F1F1;
    display: block;
    line-height: 26px;
    margin-top: 5px;
    padding-right: 10px;
    color: rgb(1, 60, 128);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 10px;
}
.gallery a:hover.more {
    background-color: #4e84ce;
    color: #fff;
}
.gallery ul {
    margin: 0;
    padding: 0;
    position: relative;
    list-style: none;
    overflow: hidden;
}
.gallery ul li {
    list-style: none;
    position: relative;
    display: inline-block;
    /* float: left; */
    margin-right: 8px;
}
.gallery ul li img {
/*
    width: 117px;
    height: auto;
*/	
}
.gallery ul li a {
    display: block;
    position: relative;
	vertical-align: middle;
}
.gallery ul li a img.new {
    position: absolute;
}
.gallery .badge_text, .gallery .badge_text_blue {
    width: 230px;
    margin-bottom: 5px;
    background-color: #cacaca;
    padding: 10px;
    clear: both;
    display: block;
}
.gallery a.badge_text {
    background-color: #F2F1F1;
    color: rgb(1, 60, 128);
    font-weight: bold;
}
.gallery a:hover.badge_text {
    background-color: #4e84ce;
    color: #fff;
}
.gallery .badge_img {
    width: 248px;
    margin-bottom: 5px;
    clear: both;
    display: block;
	border: 1px solid #f2f1f1;
    background-color: #F2F1F1;
}
.gallery .badge_img img {
    width: 100%;
}
.gallery a.badge_text_blue {
    background-color: #5690DF;
    color: #fff;
    font-weight: bold;
}
.gallery a:hover.badge_text_blue {
    background-color: #4e84ce;
}
.gallery .badge_img_text {
    width: 250px;
	height: 70px;
    margin-bottom: 5px;
    background-color: #F2F1F1;
    padding: 0;
    display: block;
	font-weight:bold;
	font-size:18px;
	text-align:right;
	vertical-align: middle;
}

.gallery a:hover.badge_img_text {
    background-color: #4e84ce;
    color: #fff;
}
.gallery a:hover.badge_img{
	border: 1px solid #4e84ce;
}

.gallery .badge_img_text img {
	width:auto;
	height:70px;
	margin-right: 5px;
	vertical-align: middle;
	float: left;
}
.new {

}
/* jag */
#jag{
	width: 658px;
	height: 650px;
	position:relative;
	display:block;
	margin:0;
	padding:0;
}
#jag ul{
	text-align:center;
	vertical-align:middle;
	list-style: none;
	margin:0;
	padding:0;
	display:block;
}
#jag i{
	display:block;
}
#jag div a{
	display: table-cell;
	text-align:center;
	vertical-align:middle;
	background-color: #5690DF;
	-webkit-border-radius:5px;
	border-radius: 5px;
	color: #FFF;
}
#jag div a[href]:hover{
	background-color:#4e84ce;
}
#jag0, #jag1, #jag2{
	position: absolute;
	width:657px;
	text-align: center;
	vertical-align:middle;
	display:block;
}
#jag0{
	font-size: 20px;
	top: 280px;
}
#jag0 a{
	height: 100px;
	width: 300px;

}
#jag0 span{
	margin: 10px;
}
#jag1{
	top: 180px;
}
#jag1 a{
	font-size: 18px;
	height: 70px;
	width: 150px;
}
#jag1 > ul > li{
	float: left;
	padding: 2px;
}
#jag1 ul{
	position: absolute;
	bottom: 100%;
	left: 60px;
	margin-bottom: 5px;
	width: 658px;
}
#jag1 li a{
	font-size: 15px;
	height: 80px;
	width: 85px;
}
#jag11 li{
	display:inline-block;
}
#jag11 ul{
	position: absolute;
	bottom: 100%;
	width: 450px;
	left:0;
	margin-bottom: 5px;
}
#jag11 li a{
	font-size: 15px;
	height: 60px;
	width: 75px;
	top:0;
}
#jag1 span > a{
	vertical-align:top;
}
#jag1 a > span {
	margin-top: 5px;
}
#jag2{
	bottom: 80px;
}
#jag2 a{
	font-size: 18px;
	height: 70px;
	width: 150px;
}

#jag2 li{
	display:inline-block;
}
#jag2 ul{
	margin-top: 5px;
}
#jag2 li a{
	font-size: 15px;
	height: 80px;
	width: 85px;
}
#jag2 span > a{
	vertical-align:bottom;
}
#jag2 a > span {
	margin-bottom: 5px;
}





footer {
    display: block;
    clear: both;
    width: 100%;
    background-color: #013c80;
}
.footer_container {
    width: 978px;
    margin: 0 auto;
    overflow: hidden;
    padding: 40px 0px;
}
#footer_menu {
    float: left;
    display: inline-block;
}
#footer_logo {
    float: left;
}
#footer_logo img {
    width: 200px;
    height: auto;
}
#footer_menu {
    margin-left: 50px;
	color: #fff;
}
#footer_menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
#footer_menu ul li:last-of-type {
    margin-right: 0px;
    border-left: 2px solid rgba(239, 239, 239, 0.21);
    padding-left: 16px;
    margin-left: 10px;
}
#footer_menu ul ul li:last-of-type {
    margin-right: 0px;
    border-left: none;
    padding-left: 0px;
    margin-left: 0px;
}
#footer_menu ul ul {
    margin-left: 10px;
}
#footer_menu ul ul ul {
    margin-left: 20px;
}
#footer_menu ul li {
    vertical-align: top;
    display: inline-table;
    margin-right: 17px;
}
#footer_menu li a:hover {
    color: #96DAFF;
}
#footer_menu ul ul li {
    border: none;
    padding-right: 0;
    display: list-item;
}
#footer_menu ul li a {
    font-size: 18px;
    font-weight: bold;
    color: #FFFFFF;
    text-decoration: none;
    white-space: nowrap;
    padding-bottom: 18px;
    display: block;
}
#footer_menu ul ul li a, #footer_menu ul ul ul li a {
    font-size: 14px;
    font-weight: normal;
    line-height: 28px;
    padding-bottom: 0px;
}
.footer_contacts ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.footer_contacts li {
    display: block;
    float: left;
    margin-right: 40px;
}
.footer_contacts h1 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 23px;
}
.footer_contacts h2 {
    margin-top: 10px;
    margin-bottom: 2px;
    font-size: 14px;
    color: #96DAFF;
    font-weight: normal;
    padding-left: 10px;
}
.footer_contacts p {
    color: #ffffff;
    padding-left: 20px;
    font-style: normal;
}
